:root {
    --navy: #0b1530;
    --navy-2: #111c3d;
    --ink: #0f172a;
    --text: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --blue: #2563eb;
    --blue-2: #1d4ed8;
    --cyan: #22d3ee;
    --ok: #16a34a;
    --bad: #dc2626;
    --radius: 14px;
    --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(11, 21, 48, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand-logo { height: 24px; width: auto; display: block; }
.brand small { margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.18); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #0ea5e9); display: grid; place-items: center; font-size: .8rem; letter-spacing: .02em; }
.brand small { display: block; color: #94a3b8; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: #cbd5e1; text-decoration: none; font-size: .93rem; }
.nav a:hover { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: .98rem; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { color: #e2e8f0; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(37, 99, 235, .45), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(34, 211, 238, .18), transparent 60%), var(--navy); color: #cbd5e1; padding: 84px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #93c5fd; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin: 18px 0 20px; }
.hero h1 span { background: linear-gradient(90deg, #93c5fd, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .88rem; color: #94a3b8; }

.trust { background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.trust li { color: #cbd5e1; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: #60a5fa; flex: none; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { color: var(--blue); }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.card h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eff6ff; color: var(--blue); }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks strong { color: var(--ink); }
.checks span { color: var(--muted); display: block; font-size: .95rem; }

.phone-art { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(15, 23, 42, .28)); }

/* security */
.security { background: var(--navy); color: #cbd5e1; }
.security .section-head h2 { color: #fff; }
.security .section-head p { color: #94a3b8; }
.security .section-head .eyebrow { color: #93c5fd; }
.sec-item { border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); border-radius: var(--radius); padding: 24px; }
.sec-item .icon { background: rgba(37, 99, 235, .18); color: #93c5fd; }
.sec-item h3 { color: #fff; font-size: 1.02rem; margin: 16px 0 6px; }
.sec-item p { color: #94a3b8; font-size: .92rem; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* cta */
.cta { background: linear-gradient(120deg, var(--blue-2), #0891b2); color: #e0f2fe; border-radius: 22px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cta p { margin-top: 10px; }

/* footer */
.site-foot { background: var(--navy); color: #94a3b8; padding: 44px 0; font-size: .9rem; margin-top: 96px; }
.site-foot a { color: #cbd5e1; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1.1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-grid h4 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.foot-grid > div > a { display: block; margin: 0 0 8px; }
.foot-grid address { font-style: normal; line-height: 1.7; }
.foot-brand p { max-width: 320px; line-height: 1.6; margin: 14px 0 0; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: .82rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot.flush { margin-top: 0; }

/* forms */
.page-hero { background: var(--navy); color: #cbd5e1; padding: 64px 0 120px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 14px 0 12px; }
.form-shell { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: -84px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 30px 60px rgba(15, 23, 42, .1); }
.panel h2 { font-size: 1.35rem; margin-bottom: 6px; }
.panel .sub { color: var(--muted); margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .97rem; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(37, 99, 235, .2); border-color: var(--blue); }
.field textarea { min-height: 96px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-top: 6px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.errors ul { margin: 0; padding-left: 18px; }
.notice { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.aside { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.aside h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside .checks { margin-top: 0; }
.submit-row { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fine { font-size: .82rem; color: var(--muted); }

.center-panel { max-width: 620px; margin: -84px auto 0; text-align: center; }
.big-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.big-icon.warn { background: #fef3c7; color: #b45309; }
.big-icon svg { width: 30px; height: 30px; }
.file-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 24px 0; background: var(--soft); }
.ai-note { margin-top: 18px; font-size: .92rem; }
.file-box code { font-size: .78rem; color: var(--muted); word-break: break-all; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p, .prose li { color: #334155; }
.prose p + p { margin-top: 12px; }

/* admin */
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 30px 0 18px; flex-wrap: wrap; }
.admin-bar form { display: flex; gap: 8px; }
.admin-bar input { font: inherit; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 8px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .9rem; }
.table th { text-align: left; background: var(--soft); color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; }
.table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #e2e8f0; color: #334155; }
.pill.Sent { background: #dcfce7; color: #166534; }
.pill.AwaitingKey { background: #fef3c7; color: #92400e; }
.pill.EmailFailed, .pill.Rejected { background: #fee2e2; color: #991b1b; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.row-actions form { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions input { font: inherit; font-size: .85rem; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; }
.muted { color: var(--muted); }
.mono { font-family: Consolas, "Cascadia Mono", monospace; }
.admin-main { padding-bottom: 60px; }
.admin-bar select { font: inherit; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.stat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 18px 0; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat-tile span { color: var(--muted); font-size: .8rem; }
.stat-tile strong { font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.stat-tile small { color: var(--muted); font-size: .78rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.stat-block h3 { font-size: 1rem; margin: 0 0 10px; }
.stat-block > p { font-size: .85rem; margin-bottom: 10px; }
.stat-wide { grid-column: 1 / -1; }
.stat-table td { padding: 8px 12px; }
.num { text-align: right !important; white-space: nowrap; }
.bar { display: block; width: 100%; height: 4px; margin-top: 4px; }
.bar rect { fill: var(--blue); }
.bar.heat { display: inline-block; width: 70%; height: 12px; margin: 0 8px 0 0; vertical-align: middle; background: var(--soft); border-radius: 3px; }
.bar.heat rect { fill: #f97316; }
.heat-cell { white-space: nowrap; }
.day-chart { display: block; width: 100%; height: 140px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.day-chart rect { fill: var(--blue); }
.day-chart rect:hover { fill: var(--blue-2); }
.day-axis { display: flex; justify-content: space-between; font-size: .8rem; margin-top: 6px; }
.table tr.selected td { background: #eff6ff; }
.journey { margin: 0; padding-left: 18px; font-size: .85rem; }
@media (max-width: 960px) { .stat-tiles { grid-template-columns: repeat(3, 1fr); } .stat-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }

/* pricing */
.pricing-hero { padding-bottom: 8px; }
.pricing-section { padding-top: 28px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 20px 50px rgba(37, 99, 235, .15); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.price-tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.price-blurb { color: var(--muted); font-size: .94rem; min-height: 62px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 6px; }
.price-amount .currency { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.price-amount .value { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.price-amount .period { font-size: .82rem; color: var(--muted); line-height: 1.2; margin-left: 4px; }
.price-range { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: .92rem; margin-bottom: 22px; }
.price-range svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.price-cta { width: 100%; }
.price-features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.price-features li { position: relative; padding-left: 28px; color: var(--text); font-size: .93rem; }
.price-features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.price-foot { max-width: 760px; margin: 40px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }

@media (max-width: 960px) {
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .price-blurb { min-height: 0; }
    .hero .wrap, .split, .split.reverse, .form-shell { grid-template-columns: 1fr; }
    .grid-3, .steps { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .site-head .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 10px; row-gap: 10px; }
    .nav { width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .nav a { white-space: nowrap; }
    .nav .btn { margin-left: auto; }
    .cta { flex-direction: column; align-items: flex-start; padding: 40px; }
}

@media (max-width: 620px) {
    .grid-3, .grid-4, .steps, .fields { grid-template-columns: 1fr; }
    .section { padding: 68px 0; }
    .hero { padding: 56px 0 64px; }
    .panel { padding: 24px; }
    .wrap { padding: 0 16px; }
    .table { display: block; overflow-x: auto; }
}

/* Page helpers (About, Privacy): the CSP blocks inline style attributes. */
.panel-narrow { max-width: 820px; }
.panel-spaced { margin: 28px auto 0; }
.prose-wide { max-width: none; text-align: left; }
.grid-tight { gap: 18px; }
.address-block { font-style: normal; line-height: 1.7; color: var(--muted); }
.fine-print { font-size: .86rem; }

/* System requirements table */
.req-table-wrap { overflow-x: auto; margin: .6rem 0 1rem; }
.req-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.req-table th, .req-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.req-table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.req-table td:first-child { font-weight: 600; color: var(--ink); }

/* pricing: trial link, volume strip, compare table, FAQ */
.price-range { color: var(--muted); font-weight: 500; }
.price-trial { display: block; text-align: center; margin-top: 10px; font-size: .88rem; color: var(--muted); text-decoration: none; }
.price-trial:hover { color: var(--blue); }
.volume-strip { margin: 40px auto 0; max-width: 980px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; background: var(--soft); }
.volume-strip > div strong { display: block; color: var(--ink); }
.volume-strip > div span { color: var(--muted); font-size: .9rem; }
.volume-strip ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.volume-strip li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 16px; text-align: center; min-width: 104px; }
.volume-strip li b { display: block; color: var(--ink); font-size: .95rem; }
.volume-strip li span { color: var(--blue); font-size: .85rem; font-weight: 600; }
.compare-wrap { overflow-x: auto; max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .94rem; }
.compare th, .compare td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { position: sticky; top: 0; background: #fff; color: var(--ink); font-size: 1rem; text-align: center; }
.compare thead th small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare td { text-align: center; width: 18%; }
.compare .compare-group th { background: var(--soft); color: var(--muted); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 10px 18px; }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: var(--ok); }
.compare .yes svg { width: 14px; height: 14px; stroke-width: 3; }
.compare .no { color: #cbd5e1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin-top: 10px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* purchase */
.form-step { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.purchase .panel h2 { margin-bottom: 16px; }
.plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-option { position: relative; cursor: pointer; }
.plan-option input, .pay-option input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.plan-body { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; height: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.plan-body strong { color: var(--ink); font-size: 1.05rem; }
.plan-price { color: var(--ink); font-weight: 700; }
.plan-price small { color: var(--muted); font-weight: 500; }
.plan-tag { color: var(--muted); font-size: .85rem; }
.plan-option input:checked + .plan-body, .pay-option input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.plan-option input:focus-visible + .plan-body, .pay-option input:focus-visible + span, .segmented input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .35); }
.plan-compare { margin-top: 10px; }
.field-label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field-check { justify-content: flex-end; }
.segmented { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 10px; padding: 3px; gap: 3px; }
.segmented label { cursor: pointer; }
.segmented span { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 8px; font-size: .93rem; color: var(--muted); }
.segmented input:checked + span { background: var(--blue); color: #fff; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pay-option { cursor: pointer; position: relative; }
.pay-option > span { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; height: 100%; }
.pay-option strong { color: var(--ink); }
.pay-option .muted { font-size: .88rem; }
.order-summary { position: sticky; top: 92px; background: #fff; box-shadow: 0 30px 60px rgba(15, 23, 42, .1); }
.order-summary dl { margin: 0 0 6px; }
.order-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; }
.order-total span { color: var(--ink); font-weight: 600; }
.order-total strong { font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; }
.order-summary .checks { margin-bottom: 18px; }

/* home: outcomes band and replaces-tools section */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 3px solid var(--blue); padding: 4px 0 4px 18px; }
.stat b { display: block; font-size: 2rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .94rem; }
.replace-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.replace-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.replace-item .icon { width: 38px; height: 38px; flex: none; }
.replace-item .icon svg { width: 20px; height: 20px; }
.replace-item strong { display: block; color: var(--ink); }
.replace-item span { color: var(--muted); font-size: .9rem; }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); background: #fff; }

@media (max-width: 960px) {
    .plan-picker, .replace-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .order-summary { position: static; }
}
@media (max-width: 620px) {
    .pay-options, .stats { grid-template-columns: 1fr; }
    .volume-strip { padding: 18px; }
}
.section.tight { padding: 56px 0; }

/* feature pages */
.feature-hero { padding: 72px 0 80px; background: radial-gradient(900px 420px at 90% -20%, rgba(37, 99, 235, .4), transparent 60%), var(--navy); }
.feature-hero h1 { max-width: 760px; }
.feature-hero p { max-width: 680px; font-size: 1.1rem; }
.feature-hero .hero-note { font-size: .88rem; color: #94a3b8; }
.crumbs { font-size: .85rem; color: #94a3b8; margin-bottom: 18px; }
.crumbs a { color: #cbd5e1; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.card-title { font-size: 1.12rem; margin: 18px 0 8px; }
.split-narrow { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split-narrow .section-head { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link .more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.card-link .more::after { content: " \2192"; }
.cta-spaced { margin-top: 64px; }
.feature-list { display: grid; gap: 16px; }
.feature-row { display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 24px; align-items: start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.feature-row:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); border-color: #bfdbfe; }
.feature-row h2 { font-size: 1.3rem; margin: 6px 0 4px; }
.feature-row p { color: var(--muted); }
.feature-row .feature-headline { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.feature-plan { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.feature-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feature-row li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--text); }
.feature-row li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* home: advanced spotlight */
.spotlight { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spot { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.spot:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.spot .icon { flex: none; }
.spot h3 { font-size: 1.1rem; margin-bottom: 6px; }
.spot p { color: var(--muted); font-size: .95rem; }
.spot .more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; font-size: .9rem; }
.spot .more::after { content: " \2192"; }
.spot.wide { grid-column: 1 / -1; background: linear-gradient(120deg, #eff6ff, #ecfeff); border-color: #bfdbfe; }

@media (max-width: 960px) {
    .feature-row { grid-template-columns: auto 1fr; }
    .feature-row ul { grid-column: 2; }
    .split-narrow, .spotlight { grid-template-columns: 1fr; }
}

/* test-client download page (/download/r/...) and its admin page: forest instead of navy */
.theme-forest .site-head { background: rgba(15, 61, 50, .95); }
.theme-forest .site-foot, .theme-forest .page-hero { background: #0f3d32; }
.theme-forest .page-hero { color: #e3efe9; }
.theme-forest .eyebrow { color: #6ee7b7; }
.theme-forest .btn-primary { background: #047857; box-shadow: 0 8px 24px rgba(4, 120, 87, .3); }
.theme-forest .btn-primary:hover { background: #065f46; }
.theme-forest .big-icon { background: #d1fae5; color: #047857; }
.btn-forest { background: #047857; color: #fff; }
.btn-forest:hover { background: #065f46; }
.client-panel { max-width: 760px; text-align: left; }
.client-panel > h2, .client-panel > .sub { text-align: center; }
.client-file { margin: 16px 0; }
.client-file-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #d1fae5; color: #047857; display: grid; place-items: center; }
.client-file-icon svg { width: 22px; height: 22px; }
.client-file-body { flex: 1; min-width: 0; }
.client-file .btn { flex: none; }
.client-steps { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.client-steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.client-steps ol { margin: 0; padding-left: 20px; color: var(--text); }
.client-steps li { margin-bottom: 8px; }
.client-expiry { margin: 18px 0 0 !important; font-size: .92rem; }
@media (max-width: 600px) {
    .client-file { flex-wrap: wrap; }
    .client-file .btn { width: 100%; }
    .center-panel { padding: 24px 18px; }
}
.link-once { border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; }
.link-once input { width: 100%; font: inherit; font-family: Consolas, "Cascadia Mono", monospace; font-size: .85rem; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.link-once .row-actions { align-items: center; }
.link-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 26px; }
.link-form label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.link-form input, .link-form select { font: inherit; font-size: .92rem; font-weight: 400; color: var(--text); padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.link-form .wide { grid-column: span 2; }
@media (max-width: 760px) { .link-form { grid-template-columns: 1fr; } .link-form .wide { grid-column: auto; } }
.pill.Active { background: #d1fae5; color: #065f46; }
.pill.Expired, .pill.Used-up { background: #fef3c7; color: #92400e; }
.pill.Revoked { background: #fee2e2; color: #991b1b; }
.client-panel > .sub .mono { white-space: nowrap; }
