/* AgileArchive — shared styles (Azure Static Web Apps POC) */
:root {
  --bg: #eef2f8; --surface: #ffffff; --surface-2: #f5f8fc;
  --ink: #14202e; --ink-soft: #38455a; --muted: #61708a;
  --line: #d8e0ec; --line-soft: #e6ebf3;
  --accent: #2b5da8; --accent-deep: #1b3e73; --accent-soft: #e7eef9;
  --verify: #2e7d5b; --verify-soft: #e6f1ea;
  --shadow: 0 1px 2px rgba(20,32,46,.04), 0 12px 30px rgba(20,32,46,.06);
  --radius: 14px;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", ui-monospace, "SF Mono", "JetBrains Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b121c; --surface: #121c2a; --surface-2: #17222f;
    --ink: #e9eff7; --ink-soft: #bcc7d6; --muted: #8494a9;
    --line: #243040; --line-soft: #1c2837;
    --accent: #6fa0e6; --accent-deep: #a9c6f0; --accent-soft: #172740;
    --verify: #5fbe90; --verify-soft: #14261e;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px rgba(0,0,0,.34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
body :where(h1,h2,h3,p,ul,ol) { margin: 0; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.018em; line-height: 1.14; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; font-size: .96rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-ghost:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- site nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 750; letter-spacing: -.02em; font-size: 1.12rem; }
.brand .mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(150deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; flex: none; }
.brand b { color: var(--accent); font-weight: 750; }
.brand img { height: 32px; width: auto; display: block; border-radius: 6px; }
.foot .brand img { height: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 4px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; font-weight: 550; padding: 7px 11px; border-radius: 8px; }
.nav-links a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-cta { margin-left: 6px; padding: 9px 15px; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; align-items: center; justify-content: center; width: 42px; height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; color: var(--ink); cursor: pointer; }
.nav-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
}

/* ---- home hero ---- */
.home-hero { position: relative; padding: clamp(60px, 9vw, 110px) 0 clamp(48px, 7vw, 78px); background: radial-gradient(115% 90% at 85% -10%, var(--accent-soft) 0%, transparent 55%), linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.home-hero .in { max-width: none; }
.home-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.8rem); font-weight: 760; margin-top: 16px; max-width: 20ch; }
.home-hero h1 .em { color: var(--accent); }
.home-hero .lede { font-size: clamp(1.06rem, 1.9vw, 1.3rem); color: var(--ink-soft); margin-top: 20px; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-line { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verify); }

/* ---- generic bands ---- */
.band { padding: clamp(48px, 7vw, 82px) 0; }
.band + .band { border-top: 1px solid var(--line-soft); }
.band-head { max-width: 68ch; }
.band-head h2 { font-size: clamp(1.55rem, 3.1vw, 2.15rem); font-weight: 730; margin-top: 12px; }
.band-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.06rem; }
.tinted { background: var(--surface-2); }

/* problem callout */
.problem { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.problem p { color: var(--ink-soft); font-size: 1.08rem; max-width: 74ch; }

/* value cards */
.value-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.vcard .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.vcard h3 { font-size: 1.16rem; font-weight: 700; }
.vcard p { color: var(--ink-soft); font-size: .97rem; margin-top: 8px; }

/* CTA band */
.cta-band { text-align: left; padding: clamp(56px, 8vw, 92px) 0; background: linear-gradient(180deg, var(--bg), var(--surface-2)); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 750; max-width: 22ch; margin-inline: 0; }
.cta-band p { color: var(--ink-soft); margin-top: 14px; max-width: 56ch; margin-inline: 0; }
.cta-band .hero-actions { justify-content: flex-start; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 44px 0 26px; }
.foot .desc { color: var(--ink-soft); font-size: .94rem; margin-top: 12px; max-width: 40ch; }
.foot h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot a, .foot .li { display: block; color: var(--ink-soft); text-decoration: none; font-size: .94rem; padding: 3px 0; }
.foot a:hover { color: var(--accent); }
.foot .social { display: flex; gap: 10px; }
.foot .social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.foot .social a:hover { border-color: var(--accent); color: var(--accent); }
.foot-bar { border-top: 1px solid var(--line-soft); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.foot-bar .wm { font-weight: 750; letter-spacing: .04em; color: var(--ink-soft); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } .value-grid { grid-template-columns: 1fr; } }

/* ---- POC ribbon ---- */

/* ================= security page sections ================= */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); box-shadow: var(--shadow); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verify); box-shadow: 0 0 0 3px var(--verify-soft); flex: none; }
.sec-hero { padding: clamp(52px, 8vw, 96px) 0 clamp(38px, 6vw, 60px); background: radial-gradient(120% 90% at 82% -10%, var(--accent-soft) 0%, transparent 55%), linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.sec-hero .in { max-width: none; }
.sec-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 750; margin-top: 18px; max-width: 16ch; }
.sec-hero h1 .em { color: var(--accent); }
.sec-hero .lede { font-size: clamp(1.05rem, 1.9vw, 1.26rem); color: var(--ink-soft); margin-top: 20px; max-width: 62ch; }
.foundation { margin-top: 30px; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.foundation .copy { padding: clamp(24px, 3.4vw, 40px); }
.foundation .copy h3 { font-size: 1.28rem; font-weight: 700; }
.foundation .copy p { color: var(--ink-soft); margin-top: 12px; }
.foundation .aside { background: linear-gradient(160deg, var(--accent-deep), var(--accent)); color: #fff; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.foundation .aside .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.foundation .aside .step { display: flex; align-items: center; gap: 11px; font-size: .96rem; }
.foundation .aside .step .n { font-family: var(--font-mono); font-size: 12px; width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.foundation .aside .note { font-size: .82rem; opacity: .78; border-top: 1px solid rgba(255,255,255,.22); padding-top: 13px; }
.grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 9px; }
.card .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 1.12rem; font-weight: 700; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .value { margin-top: auto; padding-top: 12px; font-size: .9rem; display: flex; gap: 9px; align-items: flex-start; border-top: 1px dashed var(--line); }
.card .value svg { flex: none; margin-top: 2px; color: var(--verify); }
.proof-panel { margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.proof-rows { display: grid; grid-template-columns: 1fr 1fr; }
.proof-cell { padding: clamp(24px, 3vw, 34px); }
.proof-cell + .proof-cell { border-left: 1px solid var(--line-soft); }
.proof-cell h3 { font-size: 1.16rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.proof-cell h3 svg { color: var(--verify); flex: none; }
.proof-cell p { color: var(--ink-soft); margin-top: 12px; font-size: .98rem; }
.evidence { margin-top: 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.9; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--ink-soft); overflow-x: auto; }
.evidence .ok { color: var(--verify); font-weight: 600; } .evidence .mut { color: var(--muted); }
.proof-foot { border-top: 1px solid var(--line-soft); padding: 20px clamp(24px, 3vw, 34px); font-size: .96rem; color: var(--ink-soft); background: var(--accent-soft); }
.proof-foot b { color: var(--ink); }
.harden { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.harden .item { display: flex; gap: 13px; align-items: flex-start; }
.harden .item svg { flex: none; margin-top: 3px; color: var(--accent); }
.harden .item h3 { font-size: 1.02rem; font-weight: 660; }
.harden .item p { color: var(--ink-soft); font-size: .93rem; margin-top: 3px; }
.platform { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 38px); box-shadow: var(--shadow); display: grid; gap: 14px; }
.platform p { color: var(--ink-soft); max-width: 74ch; }
.platform .microline { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } .foundation, .proof-rows { grid-template-columns: 1fr; } .proof-cell + .proof-cell { border-left: 0; border-top: 1px solid var(--line-soft); } .harden { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---- left-justified text, anchored to the centered content column ---- */
.home-hero .in, .sec-hero .in { text-align: left; }
.home-hero h1, .home-hero .lede, .sec-hero h1, .sec-hero .lede { margin-inline: 0; }
.hero-actions, .trust-line, .chips { justify-content: flex-start; }
.band-head { margin-inline: 0; text-align: left; }
.vcard { text-align: left; }
.vcard .ic { margin-inline: 0; }

/* ================= product page components ================= */
.stats { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.stat { border-left: 3px solid var(--accent); padding-left: 16px; }
.stat .n { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 780; letter-spacing: -.02em; color: var(--ink); }
.stat .l { color: var(--muted); font-size: .92rem; margin-top: 3px; }

.steps { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.step-card .num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; }
.step-card h3 { font-size: 1.06rem; font-weight: 700; }
.step-card p { color: var(--ink-soft); font-size: .93rem; margin-top: 7px; }

.compare { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.compare .col { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.compare .them { background: var(--surface-2); }
.compare .us { background: var(--surface); border-color: var(--accent); border-width: 1.5px; }
.compare .col .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare .us .lbl { color: var(--accent); }
.compare h3 { font-size: 1.16rem; font-weight: 720; margin: 6px 0 16px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; color: var(--ink-soft); line-height: 1.5; }
.compare li svg { flex: none; margin-top: 3px; }
.compare .them li svg { color: var(--muted); }
.compare .us li svg { color: var(--verify); }
.compare .us li { color: var(--ink); }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- product hero (2-column with diagram) ---- */
.product-hero { position: relative; padding: clamp(52px,8vw,100px) 0 clamp(44px,6vw,72px); background: radial-gradient(120% 95% at 92% -10%, var(--accent-soft) 0%, transparent 58%), linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.product-hero .in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.product-hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.25rem); font-weight: 760; margin-top: 14px; }
.product-hero h1 .em { color: var(--accent); }
.product-hero .lede { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--ink-soft); margin-top: 18px; max-width: 54ch; }
.hero-figure { width: 100%; }
@media (max-width: 880px) { .product-hero .in { grid-template-columns: 1fr; gap: 30px; } .hero-figure { max-width: 540px; } }

/* ---- inline SVG diagram theming (adapts to light/dark) ---- */
.dgm { width: 100%; height: auto; display: block; }
.dgm .d-surface { fill: var(--surface); }
.dgm .d-line { stroke: var(--line); }
.dgm .d-accent { fill: var(--accent); }
.dgm .d-accentline { stroke: var(--accent); }
.dgm .d-soft { fill: var(--accent-soft); }
.dgm .d-deep { fill: var(--accent-deep); }
.dgm .d-ink { fill: var(--ink); }
.dgm .d-muted { fill: var(--muted); }
.dgm .d-verify { fill: var(--verify); }
.dgm .d-verifyline { stroke: var(--verify); }
.dgm .d-title { fill: var(--ink); font-weight: 700; }
.dgm .d-label { fill: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; }

/* small savings bar visual */
.figrow { margin-top: 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .figrow { grid-template-columns: 1fr; } }

/* ================= home page: differentiator feature cards ================= */
.feature-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--verify); }
.feature-card .top { display: flex; align-items: center; gap: 13px; }
.feature-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.feature-card h3 { font-size: 1.16rem; font-weight: 730; }
.feature-card p { color: var(--ink-soft); font-size: .97rem; margin-top: 13px; }
.feature-card .badge { display: inline-block; margin-top: 15px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--verify); background: var(--verify-soft); padding: 5px 10px; border-radius: 999px; font-weight: 600; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

/* bigger, bolder stat treatment for the home hero */
.product-hero .stats .stat .n { font-weight: 800; }

/* ================= how-it-works: vertical flow timeline ================= */
.flow { margin-top: 38px; }
.flow .node { display: grid; grid-template-columns: 56px 1fr; gap: 22px; position: relative; padding-bottom: 34px; }
.flow .node:last-child { padding-bottom: 0; }
.flow .node::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: -2px; width: 2px; background: var(--line); }
.flow .node:last-child::before { display: none; }
.flow .marker { width: 56px; height: 56px; border-radius: 16px; background: var(--verify-soft); color: var(--verify); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 16px; border: 1px solid var(--line); position: relative; z-index: 1; }
.flow .marker.v { background: var(--verify-soft); color: var(--verify); }
.flow .body { padding-top: 3px; }
.flow .body h3 { font-size: 1.2rem; font-weight: 720; }
.flow .body p { color: var(--ink-soft); margin-top: 8px; max-width: 66ch; }
.flow .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.flow .tags span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
@media (max-width: 520px) { .flow .node { grid-template-columns: 46px 1fr; gap: 16px; } .flow .marker { width: 46px; height: 46px; border-radius: 13px; } .flow .node::before { left: 22px; } }

/* ================= FAQ ================= */
.faq-jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-jump a { font-size: .86rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; box-shadow: var(--shadow); }
.faq-jump a:hover { border-color: var(--accent); color: var(--accent); }
.faq-search { margin: 4px 0 6px; position: relative; }
.faq-search input { width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 46px; box-shadow: var(--shadow); }
.faq-search input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.faq-search .si { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.faq-group { margin-top: 42px; scroll-margin-top: 88px; }
.faq-group > h2 { font-size: 1.3rem; font-weight: 730; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--accent-soft); }
.faq-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
details.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 17px 20px; font-weight: 640; font-size: 1.04rem; color: var(--ink); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--accent); }
details.qa summary .chev { margin-left: auto; flex: none; color: var(--muted); transition: transform .2s ease; }
details.qa[open] summary { color: var(--accent); }
details.qa[open] summary .chev { transform: rotate(180deg); color: var(--accent); }
details.qa .a { padding: 0 20px 19px; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
details.qa .a p + p { margin-top: 12px; }
details.qa .a a { font-weight: 600; }
.faq-empty { margin-top: 24px; color: var(--muted); font-style: italic; display: none; }
@media (prefers-reduced-motion: reduce) { details.qa summary .chev { transition: none; } }

/* ================= pricing page ================= */
.tiers { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier.feat { border-color: var(--accent); border-width: 1.5px; position: relative; }
.tier .flag { position: absolute; top: -11px; left: 26px; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.tier .name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tier.feat .name { color: var(--accent); }
.tier .price { margin-top: 14px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.tier .price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.tier .price .per { color: var(--muted); font-size: .92rem; }
.tier .sub { color: var(--ink-soft); font-size: .92rem; margin-top: 10px; }
.tier .cap { margin-top: 18px; padding: 12px 14px; background: var(--accent-soft); border-radius: 10px; font-weight: 700; color: var(--accent-deep); font-size: 1rem; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 11px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); line-height: 1.5; }
.tier li svg { flex: none; margin-top: 3px; color: var(--verify); }
.tier .go { margin-top: auto; padding-top: 24px; }
.tier .go .btn { width: 100%; justify-content: center; }
.tier .btn-soft { background: var(--surface); color: var(--accent); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tier .btn-soft:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.cmp-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 660px; background: var(--surface); }
.cmp caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--muted); font-size: .82rem; font-style: italic; }
.cmp th, .cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); font-size: .94rem; vertical-align: top; }
.cmp thead th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.cmp thead th.us { color: var(--accent); }
.cmp tbody th { font-weight: 640; color: var(--ink); width: 26%; }
.cmp td.us { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

/* ================= features page ================= */
.feat-list { margin-top: 4px; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: clamp(38px, 5vw, 62px) 0; border-top: 1px solid var(--line-soft); }
.feat-row:first-child { border-top: 0; padding-top: 10px; }
.feat-row > * { min-width: 0; }
.feat-row.rev .feat-copy { order: 2; }
.feat-copy .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.feat-copy .only { display: inline-block; margin-left: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--verify); background: var(--verify-soft); padding: 3px 9px; border-radius: 999px; font-weight: 600; vertical-align: middle; }
.feat-copy h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 730; margin-top: 9px; letter-spacing: -.02em; }
.feat-copy p { color: var(--ink-soft); margin-top: 12px; font-size: 1.03rem; max-width: 48ch; }
.shot { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.shot .bar .u { margin-left: 10px; flex: 1; height: 18px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: auto; }
.shot.tall img { max-height: 600px; object-fit: cover; object-position: top; }
.shot.tall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, color-mix(in srgb, var(--surface) 92%, transparent)); pointer-events: none; }
@media (max-width: 820px) {
  .feat-row { grid-template-columns: 1fr; gap: 20px; padding: 38px 0; }
  .feat-row.rev .feat-copy { order: 0; }
}

/* ================= free download / registration ================= */
.dl { padding: clamp(46px, 7vw, 88px) 0; background: radial-gradient(120% 90% at 88% -10%, var(--accent-soft) 0%, transparent 55%), linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.dl .in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: start; }
.dl-copy h1 { font-size: clamp(1.95rem, 4.2vw, 2.95rem); font-weight: 760; margin-top: 14px; }
.dl-copy h1 .em { color: var(--accent); }
.dl-copy .lede { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--ink-soft); margin-top: 18px; max-width: 52ch; }
.dl-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.dl-steps .s { display: flex; gap: 13px; align-items: flex-start; }
.dl-steps .s .n { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--verify-soft); color: var(--verify); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.dl-steps .s h3 { font-size: 1.01rem; font-weight: 660; }
.dl-steps .s p { color: var(--ink-soft); font-size: .93rem; margin-top: 2px; max-width: 46ch; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.35rem; font-weight: 730; }
.form-card .fc-sub { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
.field { margin-top: 15px; }
.field > label { display: block; font-size: .82rem; font-weight: 640; color: var(--ink); }
.field input, .field select { width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: var(--font-sans); color: var(--ink); background: var(--surface); }
.field input::placeholder { color: var(--muted); }
.field input:focus, .field select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field.bad input, .field.bad select { border-color: #d9534f; }
.field.bad .check { color: #c0271c; }
.field .err { display: none; color: #c0271c; font-size: .8rem; margin-top: 5px; }
.field.bad .err { display: block; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-soft); font-weight: 400; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.check a { color: var(--accent); font-weight: 600; }
.field.terms { margin-top: 20px; }
.dl-submit { width: 100%; margin-top: 20px; justify-content: center; }
.form-msg { margin-top: 14px; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: var(--verify); font-weight: 600; }
.form-msg.err { color: #c0271c; font-weight: 600; }
.form-note { margin-top: 16px; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; line-height: 1.6; }
@media (max-width: 860px) { .dl .in { grid-template-columns: 1fr; gap: 30px; } }

/* ---- legal / long-form documents (privacy, terms) ---- */
.legal-hero { padding: clamp(46px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: radial-gradient(115% 90% at 85% -10%, var(--accent-soft) 0%, transparent 55%), linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 760; margin-top: 14px; max-width: 26ch; }
.legal-hero .updated { color: var(--muted); font-family: var(--font-mono); font-size: 13px; margin-top: 16px; }
.legal { max-width: 78ch; }
.legal .lead { font-size: 1.1rem; color: var(--ink); }
.legal h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; margin-top: 2.1em; scroll-margin-top: 84px; }
.legal p, .legal li { color: var(--ink-soft); margin-top: .9em; }
.legal ul { margin-top: .7em; padding-left: 1.35em; }
.legal li { margin-top: .5em; }
.legal strong, .legal b { color: var(--ink); font-weight: 650; }
.legal a { color: var(--accent); }
.legal .table-wrap { overflow-x: auto; margin: 1.3em 0; }
.legal table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .96rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal th { background: var(--surface-2); color: var(--ink); font-weight: 650; }
.legal .ph { background: var(--accent-soft); color: var(--accent-deep); padding: 0 5px; border-radius: 4px; font-family: var(--font-mono); font-size: .82em; white-space: normal; }
