/* =====================================================================
   CORE product site (Company Operations & Reporting Engine). Uses the app.css tokens (--brand-*, --ink-*, --glass-*).
   Classes are prefixed pr- so nothing leaks into the application styles.
   ===================================================================== */
:root {
    --pr-bg: #faf8f4;
    --pr-surface: #ffffff;
    --pr-surface-solid: #ffffff;
    --pr-line: #e8e4dc;
    --pr-head: #0b0f1a;
    --pr-text: #323642;
    --pr-muted: #545a6b;
    --pr-warm: #f4f1ea;
    --pr-tint: #f8f1fb;
    --pr-max: 1180px;
}
[data-bs-theme="dark"] {
    --pr-bg: #1b1a19;
    --pr-surface: #292827;
    --pr-surface-solid: #292827;
    --pr-line: #3b3a39;
    --pr-head: #f3f2f1;
    --pr-text: #d2d0ce;
    --pr-muted: #a19f9d;
    --pr-warm: #232221;
    --pr-tint: rgba(126, 58, 153, .22);
}

html { scroll-behavior: smooth; height: auto; }
.pr-body {
    height: auto; min-height: 100%;
    color: var(--pr-text);
    font-family: var(--bs-body-font-family);
    background: radial-gradient(900px 420px at 0% -6%, rgba(126, 58, 153, .08), transparent 60%), var(--pr-bg);
}
[data-bs-theme="dark"] .pr-body { background: radial-gradient(900px 420px at 0% -6%, rgba(126, 58, 153, .16), transparent 60%), var(--pr-bg); }
.pr-body h1, .pr-body h2, .pr-body h3, .pr-body h4, .pr-body h5 { color: var(--pr-head); letter-spacing: -.02em; font-family: var(--font-display); }
.pr-body a { text-decoration: none; }
.pr-container { width: 100%; max-width: var(--pr-max); margin: 0 auto; padding: 0 20px; }
.pr-skip { position: absolute; left: -999px; top: 8px; background: var(--brand-600); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.pr-skip:focus { left: 8px; color: #fff; }
.pr-section { padding: 84px 0; }
.pr-section-tight { padding: 56px 0; }
.pr-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); background: var(--pr-tint); padding: 5px 11px; border-radius: 4px; }
.pr-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.15; margin: 14px 0 12px; }
.pr-lead { font-size: 1.08rem; line-height: 1.65; color: var(--pr-text); max-width: 680px; }
.pr-center { text-align: center; }
.pr-center .pr-lead { margin-left: auto; margin-right: auto; }
.pr-gradient-text { background: var(--brand-gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Hero brand line: "CORE" chip + the full form, in sentence case so it reads clearly. */
.pr-eyebrow-brand { margin: 0; gap: 10px; padding: 5px 12px 5px 5px; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; color: var(--pr-head); }
.pr-eyebrow-brand b { font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .02em; color: #fff; background: var(--brand-gradient-hero); padding: 3px 9px; border-radius: 3px; }
@media (max-width: 420px) { .pr-eyebrow-brand { font-size: .78rem; gap: 8px; padding-right: 10px; } .pr-eyebrow-brand b { font-size: .74rem; padding: 3px 7px; } }

/* ---------- header ---------- */
.pr-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--pr-surface-solid) 92%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--pr-line); transition: box-shadow .2s; }
.pr-header.is-scrolled { box-shadow: var(--shadow-md); }
.pr-header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.pr-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--pr-head); }
.pr-logo:hover { color: var(--pr-head); }
.pr-logo-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-gradient-hero); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.pr-logo-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.05; letter-spacing: -.02em; }
.pr-logo-text small { font-size: .62rem; font-weight: 600; letter-spacing: .04em; color: var(--pr-muted); text-transform: uppercase; margin-top: 2px; }
.pr-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1; }
.pr-footer .pr-logo-text small { text-transform: none; letter-spacing: 0; font-size: .74rem; }
.pr-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pr-nav > a { padding: 8px 13px; border-radius: 4px; font-weight: 600; font-size: .92rem; color: var(--pr-text); }
.pr-nav > a:hover, .pr-nav > a.is-active { color: var(--brand-600); background: var(--pr-tint); }
.pr-nav-cta { display: flex; gap: 8px; margin-left: 12px; }
.pr-header-tools { display: flex; gap: 6px; align-items: center; }
.pr-icon-btn { width: 36px; height: 36px; border-radius: 4px; border: 1px solid var(--pr-line); background: var(--pr-surface); color: var(--pr-head); display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; }
.pr-icon-btn:hover { background: var(--pr-tint); color: var(--brand-600); }
.pr-burger { display: none; }

@media (max-width: 991.98px) {
    .pr-burger { display: grid; }
    .pr-header-row { gap: 12px; }
    .pr-header-tools { margin-left: auto; }
    .pr-nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 16px 18px; margin: 0; background: var(--pr-surface-solid); border-bottom: 1px solid var(--pr-line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .18s; max-height: calc(100vh - 68px); overflow: auto; }
    .pr-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .pr-nav > a { padding: 12px 14px; font-size: 1rem; }
    .pr-nav-cta { margin: 10px 0 0; flex-direction: column; }
    .pr-nav-cta .btn { width: 100%; padding: 11px; }
    .pr-section { padding: 56px 0; }
}

/* ---------- buttons ---------- */
.pr-btn-xl { padding: 12px 24px; font-size: 1rem; font-weight: 600; border-radius: 4px; }
.pr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-primary { --bs-btn-color: var(--brand-600); --bs-btn-border-color: rgba(126, 58, 153, .45); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-hover-color: #fff; background: var(--pr-surface); }

/* ---------- hero ---------- */
.pr-hero { padding: 76px 0 40px; }
.pr-hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 48px; align-items: center; }
.pr-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.07; margin: 18px 0 18px; }
.pr-hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--pr-muted); font-size: .9rem; font-weight: 500; }
.pr-hero-points i { color: var(--success); margin-right: 5px; }
@media (max-width: 991.98px) { .pr-hero { padding: 40px 0 24px; } .pr-hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* product mock (pure HTML/CSS) */
.pr-mock { position: relative; background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pr-mock::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(126, 58, 153, .22), transparent); pointer-events: none; }
.pr-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--pr-line); background: rgba(127, 127, 160, .06); }
.pr-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.pr-mock-bar i:nth-child(2) { background: #fbbf24; } .pr-mock-bar i:nth-child(3) { background: #34d399; }
.pr-mock-bar span { margin-left: 10px; font-size: .72rem; color: var(--pr-muted); background: var(--pr-surface); border: 1px solid var(--pr-line); padding: 3px 12px; border-radius: 8px; }
.pr-mock-body { display: grid; grid-template-columns: 54px 1fr; min-height: 340px; }
.pr-mock-side { border-right: 1px solid var(--pr-line); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--pr-muted); background: rgba(15, 23, 42, .03); }
[data-bs-theme="dark"] .pr-mock-side { background: rgba(255, 255, 255, .02); }
.pr-mock-side i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; font-size: .95rem; }
.pr-mock-side i.on { background: var(--brand-600); color: #fff; }
.pr-mock-main { padding: 16px; position: relative; }
.pr-mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pr-mock-head b { color: var(--pr-head); font-size: .95rem; }
.pr-mock-head span { font-size: .7rem; color: var(--pr-muted); }
.pr-mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pr-kpi { background: var(--pr-surface-solid); border: 1px solid var(--pr-line); border-radius: 6px; padding: 10px 11px; }
.pr-kpi small { display: block; font-size: .62rem; color: var(--pr-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pr-kpi strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--pr-head); line-height: 1.3; }
.pr-kpi em { font-style: normal; font-size: .65rem; font-weight: 700; color: var(--success-ink); }
[data-bs-theme="dark"] .pr-kpi em { color: #34d399; }
.pr-mock-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; margin-top: 8px; }
.pr-panel { background: var(--pr-surface-solid); border: 1px solid var(--pr-line); border-radius: 6px; padding: 11px 12px; }
.pr-panel h6 { font-size: .72rem; font-weight: 700; color: var(--pr-head); margin: 0 0 9px; letter-spacing: 0; }
.pr-bars { display: flex; align-items: flex-end; gap: 7px; height: 86px; }
.pr-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--brand-600); opacity: .9; }
.pr-bars i:nth-child(even) { background: #0f766e; }
.pr-row { display: flex; align-items: center; gap: 8px; font-size: .7rem; padding: 5px 0; border-bottom: 1px dashed var(--pr-line); color: var(--pr-text); }
.pr-row:last-child { border: 0; }
.pr-row .av { width: 20px; height: 20px; border-radius: 50%; background: var(--pr-tint); color: var(--brand-600); display: grid; place-items: center; font-size: .6rem; font-weight: 700; }
.pr-row .nm { flex: 1; font-weight: 600; color: var(--pr-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-pill { font-size: .6rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pr-pill.ok { background: rgba(16, 185, 129, .15); color: #059669; } .pr-pill.wait { background: rgba(245, 158, 11, .17); color: #b45309; } .pr-pill.rev { background: rgba(126, 58, 153, .15); color: #602874; }
[data-bs-theme="dark"] .pr-pill.ok { color: #34d399; } [data-bs-theme="dark"] .pr-pill.wait { color: #fbbf24; } [data-bs-theme="dark"] .pr-pill.rev { color: #c9a6dc; }
.pr-float { position: absolute; background: var(--pr-surface-solid); border: 1px solid var(--pr-line); border-radius: 8px; box-shadow: var(--shadow-md); padding: 10px 13px; font-size: .74rem; display: flex; align-items: center; gap: 10px; }
.pr-float i { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: rgba(16, 185, 129, .15); color: #059669; }
.pr-float b { display: block; color: var(--pr-head); }
.pr-float.f1 { left: -18px; bottom: 34px; }
@media (max-width: 575.98px) {
    .pr-mock-kpis { grid-template-columns: repeat(2, 1fr); }
    .pr-mock-grid { grid-template-columns: 1fr; }
    .pr-float.f1 { display: none; }
    .pr-mock-body { grid-template-columns: 40px 1fr; }
}

/* ---------- trust strip ---------- */
.pr-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.pr-strip div { text-align: center; padding: 18px 10px; border-radius: 8px; background: var(--pr-surface); border: 1px solid var(--pr-line); }
.pr-strip strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--pr-head); }
.pr-strip span { font-size: .82rem; color: var(--pr-muted); }
@media (max-width: 767.98px) { .pr-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cards & grids ---------- */
.pr-grid { display: grid; gap: 20px; margin-top: 40px; }
.pr-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.pr-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.pr-grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .pr-grid.c3, .pr-grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639.98px) { .pr-grid.c2, .pr-grid.c3, .pr-grid.c4 { grid-template-columns: 1fr; } }
.pr-card { background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; height: 100%; }
a.pr-card { display: block; color: inherit; }
a.pr-card:hover, .pr-card.hover:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); border-color: var(--brand-400); }
.pr-card h3, .pr-card h4 { font-size: 1.12rem; font-weight: 700; margin: 16px 0 8px; }
.pr-card p { margin: 0; line-height: 1.6; font-size: .94rem; }
.pr-ico { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-size: 1.3rem; color: var(--brand-600); background: var(--pr-tint); }
.tone-indigo { color: #602874; background: rgba(126, 58, 153, .14); } .tone-cyan { color: #0d6b63; background: rgba(15, 118, 110, .15); }
.tone-violet { color: #a21caf; background: rgba(162, 28, 175, .12); } .tone-rose { color: #e11d48; background: rgba(244, 63, 94, .13); }
.tone-emerald { color: #059669; background: rgba(16, 185, 129, .15); } .tone-amber { color: #d97706; background: rgba(245, 158, 11, .17); }
.tone-sky { color: #0d6b63; background: rgba(15, 118, 110, .15); } .tone-slate { color: #475569; background: rgba(100, 116, 139, .17); }
[data-bs-theme="dark"] .tone-indigo { color: #c9a6dc; } [data-bs-theme="dark"] .tone-cyan { color: #5eead4; } [data-bs-theme="dark"] .tone-violet { color: #d8b4fe; }
[data-bs-theme="dark"] .tone-rose { color: #fda4af; } [data-bs-theme="dark"] .tone-emerald { color: #6ee7b7; } [data-bs-theme="dark"] .tone-amber { color: #fcd34d; }
[data-bs-theme="dark"] .tone-sky { color: #5eead4; } [data-bs-theme="dark"] .tone-slate { color: #cbd5e1; }
.pr-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--brand-600); }

/* ---------- steps ---------- */
.pr-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.pr-step { position: relative; background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; padding: 26px 22px; }
.pr-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-family: var(--font-display); background: var(--brand-600); color: #fff; font-weight: 700; margin-bottom: 14px; }
.pr-step h4 { font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; }
.pr-step p { margin: 0; font-size: .9rem; line-height: 1.55; }
@media (max-width: 991.98px) { .pr-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .pr-steps { grid-template-columns: 1fr; } }

/* ---------- flow (report approval) ---------- */
.pr-flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.pr-flow > div { flex: 1 1 150px; background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; padding: 18px; text-align: center; }
.pr-flow > div b { display: block; color: var(--pr-head); margin: 8px 0 2px; }
.pr-flow > div span { font-size: .82rem; color: var(--pr-muted); }
.pr-flow > i { align-self: center; color: var(--brand-400); font-size: 1.3rem; }
@media (max-width: 767.98px) { .pr-flow > i { display: none; } }

/* ---------- split rows ---------- */
.pr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pr-split + .pr-split { margin-top: 72px; }
.pr-split.rev > :first-child { order: 2; }
@media (max-width: 991.98px) { .pr-split { grid-template-columns: 1fr; gap: 26px; } .pr-split.rev > :first-child { order: 0; } }
.pr-check { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.pr-check li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.5; }
.pr-check li::before { content: '\F26A'; font-family: 'bootstrap-icons'; color: var(--success); font-size: 1.05rem; line-height: 1.4; flex: none; }
.pr-visual { background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; padding: 22px; box-shadow: var(--shadow-md); }

/* ---------- quotes ---------- */
.pr-quote { position: relative; }
.pr-quote > i { color: var(--brand-400); font-size: 1.6rem; opacity: .7; }
.pr-quote p { font-size: 1rem; line-height: 1.65; color: var(--pr-head); margin: 10px 0 18px; font-weight: 500; }
.pr-quote footer { display: flex; align-items: center; gap: 11px; font-size: .84rem; color: var(--pr-muted); }
.pr-quote footer b { display: block; color: var(--pr-head); }
.pr-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

/* ---------- CTA ---------- */
.pr-cta { position: relative; overflow: hidden; text-align: center; padding: 60px 28px; border-radius: 8px; color: #fff; background: var(--brand-gradient-hero); box-shadow: var(--shadow-lg); }
.pr-cta::after { content: ''; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.pr-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; position: relative; }
.pr-cta p { max-width: 560px; margin: 10px auto 26px; position: relative; font-size: 1.04rem; }
.pr-cta .pr-actions { justify-content: center; position: relative; z-index: 1; }
.pr-cta .btn-light { color: var(--brand-700); font-weight: 700; }
.pr-cta .btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); font-weight: 600; }
.pr-cta .btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- page hero (inner pages) ---------- */
.pr-pagehead { padding: 64px 0 28px; }
.pr-pagehead h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; margin: 14px 0 12px; }
.pr-crumbs { font-size: .84rem; color: var(--pr-muted); }
.pr-crumbs a { color: var(--brand-600); font-weight: 600; }

/* ---------- pricing ---------- */
.pr-toggle { display: inline-flex; padding: 4px; border-radius: 6px; background: var(--pr-surface); border: 1px solid var(--pr-line); margin-top: 22px; }
.pr-toggle button { border: 0; background: transparent; color: var(--pr-text); font-weight: 700; font-size: .9rem; padding: 9px 22px; border-radius: 4px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.pr-toggle button.on { background: var(--brand-600); color: #fff; }
.pr-toggle .save { font-size: .68rem; background: rgba(16, 185, 129, .18); color: #047857; padding: 2px 8px; border-radius: 999px; }
.pr-toggle button.on .save { background: rgba(255, 255, 255, .25); color: #fff; }
.pr-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 22px; margin-top: 38px; align-items: stretch; }
.pr-plan { position: relative; display: flex; flex-direction: column; background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; padding: 30px 26px; box-shadow: var(--shadow-sm); }
.pr-plan.popular { border: 2px solid var(--brand-500); box-shadow: var(--shadow-lg); }
.pr-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; white-space: nowrap; }
.pr-plan h3 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.pr-plan .desc { color: var(--pr-muted); font-size: .88rem; min-height: 2.6em; margin: 6px 0 0; }
.pr-price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.pr-price strong { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--pr-head); letter-spacing: -.03em; line-height: 1; }
.pr-price span { color: var(--pr-muted); font-size: .9rem; }
.pr-price-note { font-size: .8rem; color: var(--pr-muted); min-height: 1.3em; }
.pr-plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.pr-plan li { display: flex; gap: 9px; font-size: .92rem; line-height: 1.45; }
.pr-plan li::before { content: '\F26A'; font-family: 'bootstrap-icons'; color: var(--success); }
.pr-plan .btn { width: 100%; padding: 12px; font-weight: 600; border-radius: 4px; }
[data-period="yearly"] .pr-only-monthly, [data-period="monthly"] .pr-only-yearly { display: none; }

/* compare table */
.pr-table-wrap { overflow-x: auto; border: 1px solid var(--pr-line); border-radius: 8px; background: var(--pr-surface); }
.pr-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pr-table th, .pr-table td { padding: 14px 18px; border-bottom: 1px solid var(--pr-line); text-align: left; font-size: .92rem; }
.pr-table th { color: var(--pr-head); font-weight: 700; }
.pr-table tr:last-child td { border: 0; }
.pr-table td.yes { color: var(--success); font-weight: 700; }

/* ---------- FAQ ---------- */
.pr-faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; }
.pr-faq details { background: var(--pr-surface); border: 1px solid var(--pr-line); border-radius: 8px; padding: 0 22px; transition: border-color .15s; }
.pr-faq details[open] { border-color: rgba(126, 58, 153, .4); box-shadow: var(--shadow-sm); }
.pr-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--pr-head); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: '\F282'; font-family: 'bootstrap-icons'; color: var(--brand-500); transition: transform .2s; flex: none; }
.pr-faq details[open] summary::after { transform: rotate(180deg); }
.pr-faq details p { margin: 0 0 20px; line-height: 1.7; }

/* ---------- forms ---------- */
.pr-form-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .pr-form-wrap { grid-template-columns: 1fr; } }
.pr-form .form-label { font-weight: 600; color: var(--pr-head); font-size: .88rem; }
.pr-form .form-control, .pr-form .form-select { border-radius: 4px; padding: 10px 14px; background: var(--pr-surface-solid); border-color: var(--pr-line); color: var(--pr-head); }
.pr-form .form-control:focus, .pr-form .form-select:focus { border-color: var(--brand-500); box-shadow: none; border-bottom: 2px solid var(--brand-600); }
.pr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pr-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.pr-side-list li { display: flex; gap: 14px; }
.pr-side-list b { color: var(--pr-head); display: block; }
.pr-side-list span { font-size: .88rem; }
.pr-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 6px; background: var(--pr-surface); border: 1px solid var(--pr-line); margin-bottom: 22px; flex-wrap: wrap; }
.pr-tabs a { padding: 9px 16px; border-radius: 4px; font-weight: 600; font-size: .9rem; color: var(--pr-text); }
.pr-tabs a.on { background: var(--brand-600); color: #fff; }

/* sign-in */
.pr-narrow { max-width: 520px; margin: 0 auto; }
.pr-ws-list { display: grid; gap: 10px; margin-top: 18px; }
.pr-ws { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--pr-line); border-radius: 6px; background: var(--pr-surface-solid); color: var(--pr-head); font-weight: 600; }
.pr-ws:hover { border-color: var(--brand-500); color: var(--brand-600); }
.pr-ws small { display: block; font-weight: 500; color: var(--pr-muted); }
.pr-addon { display: flex; align-items: stretch; }
.pr-addon .form-control { border-radius: 4px 0 0 4px; }
.pr-addon span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--pr-line); border-left: 0; border-radius: 0 4px 4px 0; background: rgba(126, 58, 153, .08); color: var(--pr-muted); font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* legal prose */
.pr-prose { max-width: 780px; margin: 0 auto; line-height: 1.75; }
.pr-prose h2 { font-size: 1.3rem; font-weight: 700; margin: 34px 0 10px; }
.pr-prose ul { padding-left: 1.2rem; }

/* 404 + thanks */
.pr-big { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.pr-thanks-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-size: 2.4rem; color: #059669; background: rgba(16, 185, 129, .16); }

/* ---------- footer ---------- */
.pr-footer { margin-top: 40px; background: var(--pr-warm); border-top: 1px solid var(--pr-line); padding: 52px 0 24px; }
.pr-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.pr-footer-brand p { margin: 14px 0 0; max-width: 320px; font-size: .9rem; line-height: 1.6; }
.pr-footer h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pr-head); margin-bottom: 14px; }
.pr-footer-grid a:not(.pr-logo) { display: block; padding: 4px 0; color: var(--pr-text); font-size: .92rem; }
.pr-footer-grid a:not(.pr-logo):hover { color: var(--brand-600); }
.pr-footer-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--pr-line); font-size: .84rem; color: var(--pr-muted); }
.pr-footer-bar a { color: var(--pr-muted); }
@media (max-width: 767.98px) { .pr-footer-grid { grid-template-columns: 1fr 1fr; } .pr-footer-brand { grid-column: 1 / -1; } }

/* reveal on scroll */
.pr-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.pr-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pr-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* offers */
.pr-offer { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .74rem; font-weight: 700; color: #b45309; background: rgba(245, 158, 11, .16); padding: 4px 10px; border-radius: 999px; }
[data-bs-theme="dark"] .pr-offer { color: #fcd34d; }
.pr-was { margin-top: 8px; font-size: 1.05rem; color: var(--pr-muted); text-decoration: line-through; }
.pr-offer + .pr-was + .pr-price, .pr-was + .pr-price { margin-top: 0; }
.pr-save-text { color: var(--success-ink); }
[data-bs-theme="dark"] .pr-save-text { color: #34d399; }

/* ---------- DV SOFT finish: flat plum buttons, warm paper bands ---------- */
.pr-body .btn { border-radius: 4px; font-weight: 600; }
.pr-body .btn-primary { background-image: none; box-shadow: none; }
.pr-body .btn-outline-primary { background: var(--pr-surface-solid); --bs-btn-border-color: var(--brand-600); }
.pr-body .btn-outline-primary:hover { background: var(--brand-600); }
.pr-cta .btn-light:hover { color: var(--brand-700); background: #fff; transform: translateY(-1px); }
.pr-cta::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); }
.pr-warm { background: var(--pr-warm); border-block: 1px solid var(--pr-line); }
.pr-body .alert { border-radius: 6px; }
.pr-cta .btn-light, [data-bs-theme="dark"] .pr-cta .btn-light { background: #fff; border-color: #fff; color: #4a1d58; }
.pr-cta .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }
[data-bs-theme="dark"] .pr-toggle .save { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
[data-bs-theme="dark"] .pr-toggle button.on { background: var(--brand-500); color: #1b1a19; }
[data-bs-theme="dark"] .pr-plan.popular { border-color: var(--brand-500); }
[data-bs-theme="dark"] .pr-badge, [data-bs-theme="dark"] .pr-tabs a.on { background: #7e3a99; color: #fff; }
[data-bs-theme="dark"] .pr-nav > a:hover, [data-bs-theme="dark"] .pr-nav > a.is-active { color: #e3cdee; }
