/* Moonrobin design system. One file for every marketing page, the scan page, the sample report and the product mockups.
   Tokens from 02_brand/BRAND.md. Light is primary; dark follows prefers-color-scheme.
   Type: Sora only. IBM Plex Mono only inside product surfaces for quoted evidence, URLs and figures. */

:root{
  --paper:#FBF8F1; --white:#FFFFFF; --ink:#171B34; --petrol:#B64019; --petrol-deep:#B64019; --mint:#8ED3CF;
  --panel:#171B34; --panel-2:#202641; --panel-3:#282F4D;
  --sage:#F6EFDF; --sage-2:#EDE4D2; --line:#E4DECF; --line-dark:#343B59;
  --muted:#555B72; --muted-dark:#B6BACB; --paper-text:#F6EFDF;
  --amber:#B0731A; --amber-text:#8A5A12; --red:#B3261E; --amber-soft:#F6EEDF; --red-soft:#FBEDEB; --petrol-soft:#F6EFDF;
  /* semantic */
  --bg:var(--paper); --bg-2:var(--white); --fg:var(--ink); --fg-2:var(--muted); --rule:var(--line); --accent:var(--petrol); --accent-fg:var(--paper); --tint:var(--sage);
  --ease:cubic-bezier(0.32,0.72,0,1);
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:24px;
  --shadow:0 24px 48px -32px rgba(23,27,52,.35);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:var(--panel); --bg-2:var(--panel-2); --fg:var(--paper-text); --fg-2:var(--muted-dark); --rule:var(--line-dark); --accent:var(--mint); --accent-fg:var(--ink); --tint:#282F4D;
    --amber-soft:#2A2114; --red-soft:#2B1614; --petrol-soft:#282F4D;
    --shadow:0 24px 48px -32px rgba(0,0,0,.7);
    color-scheme:dark;
  }
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--fg);font-family:"Sora","Avenir Next",system-ui,sans-serif;font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased;text-wrap:pretty}
a{color:inherit}
img,svg,video{max-width:100%;display:block}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.03em;text-wrap:balance}
p,ul,ol{margin:0}
b,strong{font-weight:600}
[hidden]{display:none!important}
.skip{position:absolute;left:16px;top:-64px;background:var(--fg);color:var(--bg);padding:8px 12px;border-radius:9999px;z-index:100;transition:top .7s var(--ease)}
.skip:focus{top:16px}

/* layout */
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.wrap-narrow{max-width:800px;margin:0 auto;padding:0 24px}
.sec{padding:96px 0}
.sec-tight{padding:64px 0}
@media (max-width:768px){.sec{padding:64px 0}.sec-tight{padding:48px 0}}
.band{background:var(--bg-2)}
.dark{background:var(--panel);color:var(--paper-text);--bg:var(--panel);--bg-2:var(--panel-2);--fg:var(--paper-text);--fg-2:var(--muted-dark);--rule:var(--line-dark);--accent:var(--mint);--accent-fg:var(--ink);--tint:#282F4D;--petrol-soft:#282F4D;--amber-soft:#2A2114;--red-soft:#2B1614;color-scheme:dark}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.grid-2.top{align-items:start}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media (max-width:960px){.grid-2{grid-template-columns:1fr}.grid-4{grid-template-columns:1fr 1fr}}
@media (max-width:860px){.grid-3{grid-template-columns:1fr}}
@media (max-width:600px){.grid-4{grid-template-columns:1fr}}

/* type scale (Tailwind steps) */
.t-xs{font-size:12px;line-height:16px}.t-sm{font-size:14px;line-height:20px}.t-lg{font-size:18px;line-height:28px}.t-xl{font-size:20px;line-height:28px}.t-2xl{font-size:24px;line-height:32px}
.h1{font-size:36px;line-height:40px;letter-spacing:-.035em}
@media (min-width:768px){.h1{font-size:48px;line-height:1}}
@media (min-width:1100px){.h1{font-size:60px;line-height:1}}
.h1.hero-h{max-width:680px;background:linear-gradient(90deg,#000,#666);-webkit-background-clip:text;background-clip:text;color:transparent}
@media (prefers-color-scheme:dark){.h1.hero-h{background:linear-gradient(90deg,#fff,#9B9B9B);-webkit-background-clip:text;background-clip:text}}
.dark .h1.hero-h{background:linear-gradient(90deg,#fff,#9B9B9B);-webkit-background-clip:text;background-clip:text}
.h2{font-size:30px;line-height:36px}
@media (min-width:768px){.h2{font-size:36px;line-height:40px}}
@media (min-width:1100px){.h2{font-size:48px;line-height:1}}
.h3{font-size:24px;line-height:32px;letter-spacing:-.02em}
.h4{font-size:20px;line-height:28px;letter-spacing:-.02em}
.lead{font-size:18px;line-height:28px;color:var(--fg-2);max-width:680px}
.label{display:block;font-size:14px;line-height:20px;font-weight:600;color:var(--accent)}
.muted{color:var(--fg-2)}
.mono{font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;line-height:20px}
.num{font-variant-numeric:tabular-nums}
.stack{display:grid;gap:16px}
.stack-sm{display:grid;gap:8px}
.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}.mt-12{margin-top:48px}
.pt-8{padding-top:32px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;min-height:44px;border-radius:9999px;font:inherit;font-weight:600;font-size:16px;line-height:24px;text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:transform .7s var(--ease),background .7s var(--ease),border-color .7s var(--ease),color .7s var(--ease)}
.btn:active{transform:scale(.98)}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.btn[disabled]{opacity:.6;cursor:progress}
.btn-primary{background:var(--accent);color:var(--accent-fg)}
.btn-primary:hover{background:var(--petrol-deep);transform:translateY(-1px)}
@media (prefers-color-scheme:dark){.btn-primary:hover{background:#A8DFDB}}
.dark .btn-primary:hover{background:#A8DFDB}
.btn-ghost{background:transparent;color:var(--fg);border-color:var(--rule)}
.btn-ghost:hover{border-color:var(--fg)}
.btn-sm{font-size:14px;line-height:20px;padding:8px 12px;min-height:36px}
.btn svg{width:16px;height:16px;flex:0 0 16px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.after{font-size:14px;line-height:20px;color:var(--fg-2)}
.after a{color:var(--accent)}

/* island nav */
.nav{position:fixed;top:24px;left:50%;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:24px;padding:8px 8px 8px 16px;border-radius:9999px;background:color-mix(in srgb,var(--bg) 78%,transparent);border:1px solid var(--rule);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);max-width:calc(100% - 32px)}
.nav .wm{display:flex;align-items:center;text-decoration:none;font-weight:600;font-size:20px;line-height:28px;letter-spacing:-.035em;color:var(--fg)}
.wm b{color:var(--accent);font-weight:600}
.nav ul{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.nav ul a{display:block;white-space:nowrap;text-decoration:none;font-size:14px;line-height:20px;font-weight:600;color:var(--fg-2);padding:8px 10px;border-radius:9999px;transition:color .7s var(--ease),background .7s var(--ease)}
.nav ul a:hover,.nav ul a[aria-current="page"]{color:var(--fg)}
.nav ul a[aria-current="page"]{background:var(--tint)}
.nav ul a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.burger{display:none;position:relative;width:40px;height:40px;border-radius:9999px;border:1px solid var(--rule);background:transparent;cursor:pointer;flex:0 0 40px}
.burger span{position:absolute;left:11px;width:18px;height:2px;background:var(--fg);border-radius:2px;transition:transform .7s var(--ease),top .7s var(--ease),opacity .7s var(--ease)}
.burger span:nth-child(1){top:14px}.burger span:nth-child(2){top:19px}.burger span:nth-child(3){top:24px}
.burger[aria-expanded="true"] span:nth-child(1){top:19px;transform:rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){top:19px;transform:rotate(-45deg)}
.burger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.overlay{position:fixed;inset:0;z-index:40;background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:blur(48px);-webkit-backdrop-filter:blur(48px);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .7s var(--ease),visibility 0s .7s}
.overlay.on{opacity:1;visibility:visible;transition:opacity .7s var(--ease),visibility 0s}
.overlay ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;text-align:center}
.overlay a{text-decoration:none;font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.03em;display:inline-block;color:var(--fg);opacity:0;transform:translateY(48px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.overlay.on a{opacity:1;transform:translateY(0)}
.overlay li:nth-child(1) a{transition-delay:.05s}.overlay li:nth-child(2) a{transition-delay:.1s}.overlay li:nth-child(3) a{transition-delay:.15s}.overlay li:nth-child(4) a{transition-delay:.2s}.overlay li:nth-child(5) a{transition-delay:.25s}.overlay li:nth-child(6) a{transition-delay:.3s}.overlay li:nth-child(7) a{transition-delay:.35s}.overlay li:nth-child(8) a{transition-delay:.4s}
.overlay a[aria-current="page"]{color:var(--accent)}
@media (max-width:1000px){.nav ul,.nav .btn{display:none}.burger{display:block}}
.hero-pad{padding:144px 0 80px}
@media (max-width:768px){.hero-pad{padding:112px 0 48px}}
.page-head{padding:144px 0 48px}
@media (max-width:768px){.page-head{padding:112px 0 32px}}

/* reveal: one gentle entrance per block, off with reduced motion */
.rv{opacity:0;transform:translateY(24px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

/* tagline reveal */
.tagline p{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.03em;max-width:900px}
@media (min-width:768px){.tagline p{font-size:48px;line-height:1}}
@media (min-width:1100px){.tagline p{font-size:60px;line-height:1}}
.tagline .w{display:inline-block;color:color-mix(in srgb,var(--fg) 30%,transparent);transition:color .7s var(--ease);margin-right:.24em}
.tagline .w.on{color:var(--fg)}
.tagline .w.acc.on{color:var(--accent)}

/* cards */
.card{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column;gap:12px}
.card p{color:var(--fg-2)}
.card .h3,.card .h4{color:var(--fg)}
.card-accent{background:var(--petrol);color:var(--paper);border-color:var(--petrol)}
.card-accent p{color:var(--paper)}
.card-accent .h3,.card-accent .h4{color:var(--paper)}
.steps-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media (max-width:960px){.steps-4{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.steps-4{grid-template-columns:1fr}}
.step{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column;gap:12px}
.step .n{width:32px;height:32px;border-radius:9999px;background:var(--accent);color:var(--accent-fg);display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}
.step p{color:var(--fg-2)}
.list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.list li{position:relative;padding-left:24px}
.list li::before{content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:9999px;background:var(--accent)}
.list.check li::before{top:4px;width:16px;height:16px;border-radius:4px;background:var(--accent);-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>") center/contain no-repeat}
.list li b{display:block}
.list li span{color:var(--fg-2)}

/* evidence ledger: the recurring device */
.ledger{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-lg);overflow:hidden}
.ledger .row{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:16px 20px;border-top:1px solid var(--rule);align-items:start}
.ledger .row:first-child{border-top:0}
.ledger .k{font-size:14px;line-height:20px;font-weight:600;color:var(--fg-2)}
.ledger .v{font-size:16px;line-height:24px}
.ledger .v.mono{font-size:14px;line-height:20px}
.ledger .src{color:var(--accent);font-size:14px;line-height:20px}
@media (max-width:600px){.ledger .row{grid-template-columns:1fr;gap:4px}}
.quote{background:var(--tint);border-radius:var(--r-sm);padding:8px 12px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:14px;line-height:20px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:9999px;font-size:12px;line-height:16px;font-weight:600;white-space:nowrap;border:1px solid transparent}
.chip-red{background:var(--red-soft);color:var(--red)}
.chip-amber{background:var(--amber-soft);color:var(--amber-text)}
.chip-petrol{background:var(--petrol-soft);color:var(--accent)}
.chip-line{border-color:var(--rule);color:var(--fg-2)}
.chip-fill{background:var(--accent);color:var(--accent-fg)}
.dot{width:8px;height:8px;border-radius:9999px;background:currentColor;display:inline-block}

/* product surfaces (drawn in code) */
.surface{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-xl);box-shadow:var(--shadow);overflow:hidden;font-size:14px;line-height:20px}
.surface .bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid var(--rule);background:var(--bg)}
.surface .bar .wm{font-size:16px;line-height:24px;font-weight:600;letter-spacing:-.035em;text-decoration:none;color:var(--fg)}
.surface .bar .t{color:var(--fg-2);font-size:14px}
.surface .body{padding:16px 20px 20px;display:grid;gap:10px}
.surface .ledger .row{grid-template-columns:110px 1fr;padding:12px 16px}
.surface .ledger .v{font-size:14px;line-height:20px}
.surface .head-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
@media (max-width:520px){.surface .head-row{grid-template-columns:1fr}}
@media (max-width:600px){.surface .body{padding:16px}}
.fix{border:1px solid var(--rule);border-radius:var(--r-md);padding:12px 14px;display:grid;gap:8px;background:var(--bg-2);transition:border-color .7s var(--ease),background .7s var(--ease)}
.fix .head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.fix .head b{font-size:16px;line-height:24px}
.fix .why{color:var(--fg-2)}
.fix .cp{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:520px){.fix .cp{grid-template-columns:1fr}}
.fix .cp > div{border-radius:var(--r-sm);padding:8px 12px;display:grid;gap:2px;align-content:start}
.fix .cur{background:var(--tint)}
.fix .pro{background:var(--petrol-soft)}
.fix .cp .k{font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2)}
.fix .pro .k{color:var(--accent)}
.fix .cp .v{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:13px;line-height:18px;overflow-wrap:anywhere}
.fix .ev{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;color:var(--fg-2);font-size:13px;line-height:18px}
.fix .ev a{color:var(--accent);text-decoration:none;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}
.fix .acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.fix .state{margin-left:auto;font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2);display:inline-flex;align-items:center;gap:6px}
.fix.approved{border-color:var(--accent)}
.fix.applied{background:var(--petrol-soft);border-color:var(--accent)}
.fix.applied .acts .btn{display:none}
.fix.rejected{opacity:.6}
.btn-xs{font-size:12px;line-height:16px;padding:6px 10px;min-height:28px;gap:4px}
.btn-xs svg{width:12px;height:12px;flex:0 0 12px}

.score{background:var(--panel);color:var(--paper-text);border-radius:var(--r-md);padding:10px 14px;display:grid;gap:0;min-width:120px}
.score .k{font-size:12px;line-height:16px;color:var(--muted-dark)}
.score .n{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.score .n small{font-size:14px;color:var(--muted-dark);letter-spacing:0;font-weight:400}
.score .sband{font-size:12px;line-height:16px;font-weight:600;display:flex;align-items:center;gap:6px}
.score .sband::before{content:"";width:6px;height:6px;border-radius:9999px;background:var(--bd,var(--mint))}
.pbars{display:grid;gap:8px}
.pbars > div{display:grid;grid-template-columns:1fr 96px 28px;gap:12px;align-items:center;font-size:13px;line-height:18px;color:var(--fg-2)}
@media (max-width:600px){.pbars > div{grid-template-columns:1fr 64px 28px}}
.pbars i{display:block;height:6px;background:var(--tint);border-radius:3px;position:relative;overflow:hidden}
.pbars i::after{content:"";position:absolute;inset:0;width:var(--w);background:var(--accent);border-radius:3px}
.pbars em{font-style:normal;font-weight:600;color:var(--fg);text-align:right;font-variant-numeric:tabular-nums}

/* delta */
.delta{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.delta .side{border:1px solid var(--rule);border-radius:var(--r-md);padding:12px 16px;display:grid;gap:2px}
.delta .side .k{font-size:12px;line-height:16px;color:var(--fg-2);font-weight:600}
.delta .side .n{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.delta .side.after{border-color:var(--accent);background:var(--petrol-soft)}
.delta .arrow{color:var(--accent)}
.delta .arrow svg{width:24px;height:24px}
.dbar{display:grid;grid-template-columns:1fr;gap:6px;font-size:13px;line-height:18px}
.dbar .track{position:relative;height:8px;border-radius:4px;background:var(--tint);overflow:hidden}
.dbar .track i{position:absolute;left:0;top:0;bottom:0;border-radius:4px}
.dbar .track .b{width:var(--b);background:var(--sage-2)}
.dbar .track .a{width:var(--a);background:var(--accent);transition:width 1.2s var(--ease)}
@media (prefers-color-scheme:dark){.dbar .track .b{background:#313131}}
.dark .dbar .track .b{background:#313131}
.dbar .lbl{display:flex;justify-content:space-between;gap:12px;color:var(--fg-2)}
.dbar .lbl em{font-style:normal;color:var(--fg);font-weight:600;font-variant-numeric:tabular-nums}

/* AI answer pair */
.answer{border:1px solid var(--rule);border-radius:var(--r-md);padding:12px 16px;display:grid;gap:8px;background:var(--bg-2)}
.answer .who{display:flex;justify-content:space-between;gap:12px;align-items:center}
.answer .who b{font-size:14px}
.answer .said{font-size:15px;line-height:22px}
.answer .said q{quotes:"\201C" "\201D"}
.answer .truth{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:18px;color:var(--fg-2)}
.answer .truth b{color:var(--fg)}
.answer .truth::before{content:"";flex:0 0 3px;width:3px;align-self:stretch;border-radius:2px;background:var(--accent)}

/* pricing */
.tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:stretch}
@media (max-width:1100px){.tiers{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.tiers{grid-template-columns:1fr}}
.tier{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-xl);padding:24px;display:flex;flex-direction:column;gap:16px}
.tier.hot{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}
.tier .name{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.02em;display:flex;justify-content:space-between;align-items:center;gap:8px}
.tier .price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.tier .price .n{font-size:48px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.tier .price .n.small{font-size:30px;line-height:36px}
.tier .price .per{color:var(--fg-2);font-size:14px;line-height:20px}
.tier .for{color:var(--fg-2)}
.tier .list{gap:8px;font-size:14px;line-height:20px}
.tier .list li{padding-left:24px}
.tier .list li::before{top:2px}
.tier .btn{margin-top:auto}
.tier .plus{font-size:14px;line-height:20px;font-weight:600;color:var(--fg-2)}

/* comparison table */
.tbl{overflow-x:auto;border:1px solid var(--rule);border-radius:var(--r-lg);background:var(--bg-2)}
.tbl table{width:100%;border-collapse:collapse;font-size:14px;line-height:20px;min-width:640px}
.tbl th,.tbl td{text-align:left;padding:12px 16px;border-top:1px solid var(--rule);vertical-align:top}
.tbl thead th{border-top:0;color:var(--fg-2);font-weight:600;background:var(--bg)}
.tbl th[scope="row"]{font-weight:600;width:34%}
.tbl td.y{color:var(--accent);font-weight:600}
.tbl td.n{color:var(--fg-2)}
.tbl .group td,.tbl .group th{background:var(--bg);color:var(--fg-2);font-weight:600;font-size:12px;line-height:16px;padding:8px 16px}
.tbl .hl{background:var(--petrol-soft)}
.tbl .note{color:var(--fg-2);font-size:12px;line-height:16px}

/* faq */
.faq{max-width:800px}
.faq details{border-top:1px solid var(--rule);padding:16px 0}
.faq details:last-child{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:18px;line-height:28px;font-weight:600}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent);font-weight:400;font-size:24px;line-height:1;transition:transform .7s var(--ease);flex:0 0 auto}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.faq details p{margin-top:12px;color:var(--fg-2);max-width:680px}
.faq details p + p{margin-top:8px}
.faq details a{color:var(--accent)}

/* forms */
.form{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-xl);padding:24px;display:grid;gap:16px}
@media (min-width:600px){.form{padding:32px}}
.f2{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:600px){.f2{grid-template-columns:1fr 1fr}}
.field{display:grid;gap:4px}
.field label{font-size:14px;line-height:20px;font-weight:600}
.field label .opt{color:var(--fg-2);font-weight:400}
.field .hint{color:var(--fg-2);font-size:14px;line-height:20px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;line-height:24px;font-weight:400;color:var(--fg);background:var(--bg);border:1px solid var(--rule);border-radius:var(--r-sm);padding:8px 12px;min-height:44px;width:100%;transition:border-color .7s var(--ease),box-shadow .7s var(--ease)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:var(--red)}
.ferr{color:var(--red);font-size:14px;line-height:20px}
.ferr:empty{display:none}
.note{color:var(--fg-2);font-size:14px;line-height:20px}
.note a{color:var(--accent)}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}

/* proof tiles */
.proof{background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column;gap:12px}
.proof .big{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums}
.proof p{color:var(--fg-2)}
.proof .src{color:var(--fg-2);font-size:12px;line-height:16px}

/* stat with citation */
.stat{display:grid;gap:4px;border:1px solid var(--rule);border-radius:var(--r-lg);padding:24px;background:var(--bg-2)}
.stat .n{font-size:48px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--accent)}
.stat .what{font-size:16px;line-height:24px}
.stat .cite{color:var(--fg-2);font-size:12px;line-height:16px}
.stat .cite a{color:inherit}

/* footer */
.foot{padding:64px 0 32px;border-top:1px solid var(--rule)}
.foot .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
@media (max-width:860px){.foot .cols{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.foot .cols{grid-template-columns:1fr}}
.foot .wm{font-weight:600;font-size:24px;line-height:32px;letter-spacing:-.035em;text-decoration:none;color:var(--fg)}
.foot small{display:block;color:var(--fg-2);font-size:14px;line-height:20px;margin-top:8px;max-width:360px}
.foot .h{font-size:14px;line-height:20px;font-weight:600;margin-bottom:8px}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.foot ul a{text-decoration:none;font-size:14px;line-height:20px;color:var(--fg-2)}
.foot ul a:hover{color:var(--fg)}
.foot .legal{margin-top:48px;padding-top:24px;border-top:1px solid var(--rule);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--fg-2);font-size:14px;line-height:20px}
.foot .legal a{color:inherit;text-decoration:none}
.foot .legal a:hover{color:var(--fg)}
.signal{margin-top:48px;width:min(360px,60%)}
.signal .live{stroke-dasharray:560;stroke-dashoffset:560;transition:stroke-dashoffset 2.6s var(--ease)}
.signal.in .live{stroke-dashoffset:0}
@media (prefers-reduced-motion:reduce){.signal .live{stroke-dashoffset:0;transition:none}}

/* misc */
.cite{color:var(--fg-2);font-size:12px;line-height:16px}
.divider{height:1px;background:var(--rule);border:0;margin:0}
.kbd{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;background:var(--tint);padding:1px 6px;border-radius:4px}
.two-col{columns:2;column-gap:48px}
@media (max-width:760px){.two-col{columns:1}}
.avoid{break-inside:avoid}
.logos{display:flex;flex-wrap:wrap;gap:8px}
.logos span{border:1px solid var(--rule);border-radius:9999px;padding:6px 12px;font-size:14px;line-height:20px;font-weight:600;background:var(--bg-2)}
.logos span.on{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}
.callout{border:1px solid var(--rule);border-radius:var(--r-lg);padding:24px;background:var(--petrol-soft);display:grid;gap:8px}
.callout .h4{color:var(--fg)}
.callout p{color:var(--fg-2)}
@media print{.nav,.overlay,.skip,.foot .signal{display:none!important}body{background:#fff;color:#000}.hero-pad,.page-head{padding-top:24px}}

/* ===== v2: single-product components (rebuilt from the component catalog, in our tokens) ===== */
:root{--nav-h:88px}

/* 1. scan input with suggestions listbox */
.field.has-list{position:relative}
.listbox{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;margin:0;padding:4px;list-style:none;background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-md);box-shadow:var(--shadow);max-height:240px;overflow:auto}
.listbox[hidden]{display:none}
.listbox li{padding:8px 12px;border-radius:var(--r-sm);cursor:pointer;font-size:16px;line-height:24px;display:flex;justify-content:space-between;gap:12px}
.listbox li span{color:var(--fg-2);font-size:14px;line-height:24px}
.listbox li[aria-selected="true"],.listbox li:hover{background:var(--tint)}
.scan-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}
@media (max-width:700px){.scan-row{grid-template-columns:1fr}}

/* 2 + 12. the approvals card cycling through its states */
.stages{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:0;padding:0;list-style:none}
.stages li{font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2);padding:6px 0 0;border-top:2px solid var(--rule);transition:color .7s var(--ease),border-color .7s var(--ease)}
.stages li.on{color:var(--fg);border-color:var(--accent)}
.stages li.now{color:var(--accent)}
.cyc .fix .pro,.cyc .fix .acts,.cyc .fix .log{transition:opacity .7s var(--ease),transform .7s var(--ease)}
.cyc[data-stage="0"] .fix .pro,.cyc[data-stage="0"] .fix .acts{opacity:.25}
.cyc[data-stage="0"] .fix .ev{color:var(--fg);font-weight:600}
.cyc .fix .log{display:grid;gap:4px;border-top:1px solid var(--rule);padding-top:8px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:18px;color:var(--fg-2)}
.cyc .fix .log span{display:none}
.cyc .fix .log span.on{display:block}
.cyc .fix .log b{color:var(--fg);font-weight:500}
.cyc[data-stage="2"] .fix{border-color:var(--accent)}
.cyc[data-stage="3"] .fix,.cyc[data-stage="4"] .fix{background:var(--petrol-soft);border-color:var(--accent)}
.cyc[data-stage="3"] .fix .acts .btn,.cyc[data-stage="4"] .fix .acts .btn{display:none}
.cyc .ctl{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;line-height:16px;color:var(--fg-2)}
.cyc .ctl button{font:inherit;font-weight:600;color:var(--fg-2);background:none;border:1px solid var(--rule);border-radius:9999px;padding:4px 10px;cursor:pointer}
.cyc .ctl button:hover{color:var(--fg);border-color:var(--fg)}
.cyc .ctl button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* 3. issue rows */
.issues{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.issues li{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:start;padding:10px 12px;border:1px solid var(--rule);border-radius:var(--r-md);background:var(--bg-2)}
.issues li i{width:24px;height:24px;border-radius:9999px;display:grid;place-items:center;background:var(--red-soft);color:var(--red)}
.issues li i.amber{background:var(--amber-soft);color:var(--amber-text)}
.issues li i.ok{background:var(--petrol-soft);color:var(--accent)}
.issues li i svg{width:12px;height:12px}
.issues li b{display:block;font-size:14px;line-height:20px}
.issues li span{display:block;font-size:13px;line-height:18px;color:var(--fg-2)}

/* 4. report preview */
.preview{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:700px){.preview{grid-template-columns:1fr}}
.preview .surface{box-shadow:none;border-radius:var(--r-lg)}
.preview .span{grid-column:1/-1}
.preview .body{gap:8px}
.preview .cap{font-size:12px;line-height:16px;color:var(--fg-2)}

/* 5. before / after table */
.ba{overflow-x:auto;border:1px solid var(--rule);border-radius:var(--r-lg);background:var(--bg-2)}
.ba table{width:100%;border-collapse:collapse;min-width:560px;font-size:14px;line-height:20px}
.ba th,.ba td{text-align:left;padding:12px 16px;border-top:1px solid var(--rule);vertical-align:top}
.ba thead th{border-top:0;color:var(--fg-2);background:var(--bg)}
.ba thead th.aft{color:var(--accent)}
.ba th[scope="row"]{font-weight:600;width:24%;position:sticky;left:0;background:var(--bg-2)}
.ba td.bef{color:var(--fg-2)}
.ba td.aft{background:var(--petrol-soft)}
.ba td.aft b{color:var(--accent)}
.ba .ic{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:9999px;vertical-align:-4px;margin-right:6px}
.ba .ic svg{width:10px;height:10px}
.ba .ic.x{background:var(--red-soft);color:var(--red)}
.ba .ic.ok{background:var(--accent);color:var(--accent-fg)}
.ba .ex{font-size:12px;line-height:16px;color:var(--fg-2);display:block}

/* 6. included list with proof */
.incl{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;margin:0}
@media (max-width:760px){.incl{grid-template-columns:1fr}}
.incl > div{display:grid;grid-template-columns:20px 1fr;gap:12px;padding:12px 0;border-top:1px solid var(--rule)}
.incl dt{font-weight:600;grid-column:2}
.incl dd{margin:0;grid-column:2;color:var(--fg-2);font-size:14px;line-height:20px}
.incl > div::before{content:"";grid-row:1/3;width:16px;height:16px;margin-top:4px;border-radius:4px;background:var(--accent);-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>") center/contain no-repeat}

/* 7. single price card */
.price-one{background:var(--bg-2);border:1px solid var(--accent);box-shadow:0 0 0 1px var(--accent) inset;border-radius:var(--r-xl);padding:32px;display:grid;gap:16px;max-width:520px}
.price-one .name{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.02em;display:flex;justify-content:space-between;align-items:center;gap:8px}
.price-one .desc{color:var(--fg-2)}
.price-one .price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.price-one .price .n{font-size:60px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.price-one .price .per{color:var(--fg-2);font-size:14px;line-height:20px}
.price-one .terms{display:flex;flex-wrap:wrap;gap:8px}
.more{border:1px solid var(--rule);border-radius:var(--r-lg);padding:20px 24px;display:grid;gap:12px;background:var(--bg)}
.more .row{display:grid;grid-template-columns:96px 1fr auto;gap:16px;align-items:baseline;font-size:14px;line-height:20px}
@media (max-width:600px){.more .row{grid-template-columns:1fr}}
.more .row b{font-size:16px;line-height:24px}
.more .row span{color:var(--fg-2)}
.more .row a{color:var(--accent);font-weight:600;text-decoration:none;white-space:nowrap}

/* 8 + 9 + 19. capability table, tool-cost table, sticky headers */
.tbl.cap table{min-width:760px}
.tbl.cap td{font-size:14px;line-height:20px}
.tbl .cell{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start}
.tbl .cell i{width:18px;height:18px;border-radius:9999px;display:grid;place-items:center;margin-top:1px}
.tbl .cell i svg{width:10px;height:10px}
.tbl .cell.y i{background:var(--accent);color:var(--accent-fg)}
.tbl .cell.n i{background:var(--red-soft);color:var(--red)}
.tbl .cell.p i{background:var(--amber-soft);color:var(--amber-text)}
.tbl .cell.n{color:var(--fg-2)}
.tbl tfoot td,.tbl tfoot th{border-top:2px solid var(--rule);font-weight:600;background:var(--bg)}
.tbl .cost-n{font-variant-numeric:tabular-nums;white-space:nowrap}
@media (min-width:1000px){.tbl.stick{overflow:visible}.tbl.stick thead th{position:sticky;top:var(--nav-h);z-index:2;box-shadow:0 1px 0 var(--rule)}.tbl.stick thead th:first-child{border-top-left-radius:var(--r-lg)}.tbl.stick thead th:last-child{border-top-right-radius:var(--r-lg)}}

/* 10. the cycle ring */
.cycle{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
@media (max-width:960px){.cycle{grid-template-columns:1fr;gap:24px}}
.ring{position:relative;max-width:420px;margin:0 auto;width:100%}
.ring svg{width:100%;height:auto;overflow:visible}
.ring .track{stroke:var(--rule);stroke-width:2;fill:none}
.ring .arc{stroke:var(--accent);stroke-width:3;fill:none;stroke-linecap:round;stroke-dasharray:283 1200;stroke-dashoffset:0;transform:rotate(-180deg);transform-origin:50% 50%;transition:transform .9s var(--ease)}
.ring .node{fill:var(--bg-2);stroke:var(--rule);stroke-width:2;transition:stroke .7s var(--ease),fill .7s var(--ease)}
.ring .node.on{stroke:var(--accent);fill:var(--petrol-soft)}
.ring .ico{fill:none;stroke:var(--fg-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .7s var(--ease)}
.ring .node.on + .ico{stroke:var(--accent)}
.ring .ctr{position:absolute;inset:0;display:grid;place-items:center;text-align:center;pointer-events:none}
.ring .ctr b{font-size:36px;line-height:40px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ring .ctr b small{font-size:14px;color:var(--fg-2);letter-spacing:0;font-weight:400}
.ring .ctr span{font-size:14px;line-height:20px;color:var(--fg-2)}
.cycle .cards{display:grid;gap:8px}
.cycle .cards button{display:grid;grid-template-columns:32px 1fr auto;gap:12px;align-items:center;text-align:left;font:inherit;color:var(--fg);background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-lg);padding:16px;cursor:pointer;transition:border-color .7s var(--ease),background .7s var(--ease)}
.cycle .cards button:hover{border-color:var(--fg)}
.cycle .cards button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cycle .cards button[aria-expanded="true"]{border-color:var(--accent);background:var(--petrol-soft)}
.cycle .cards button .i{width:32px;height:32px;border-radius:9999px;background:var(--tint);display:grid;place-items:center;color:var(--fg-2)}
.cycle .cards button[aria-expanded="true"] .i{background:var(--accent);color:var(--accent-fg)}
.cycle .cards button .i svg{width:16px;height:16px}
.cycle .cards button b{font-size:18px;line-height:28px}
.cycle .cards button .idx{font-size:12px;line-height:16px;color:var(--fg-2);font-variant-numeric:tabular-nums}
.cycle .cards .pane{grid-column:1/-1;display:grid;gap:8px;overflow:hidden;max-height:0;opacity:0;transition:max-height .7s var(--ease),opacity .7s var(--ease)}
.cycle .cards button[aria-expanded="true"] .pane{max-height:240px;opacity:1}
.cycle .cards .pane p{color:var(--fg-2);font-size:14px;line-height:20px}
.cycle .cards .pane .chips{display:flex;flex-wrap:wrap;gap:6px}
.cycle .foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}
.cycle .dots{display:flex;gap:6px}
.cycle .dots i{width:20px;height:4px;border-radius:2px;background:var(--rule);transition:background .7s var(--ease),width .7s var(--ease)}
.cycle .dots i.on{background:var(--accent);width:32px}
.cycle .pause{font:inherit;font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2);background:none;border:1px solid var(--rule);border-radius:9999px;padding:4px 10px;cursor:pointer}
.cycle .pause:hover{color:var(--fg);border-color:var(--fg)}
.cycle .pause:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* 11. insight cards as findings, with a tablist */
.tabs{display:flex;gap:4px;flex-wrap:wrap}
.tabs button{font:inherit;font-size:14px;line-height:20px;font-weight:600;color:var(--fg-2);background:none;border:1px solid var(--rule);border-radius:9999px;padding:6px 12px;cursor:pointer;transition:color .7s var(--ease),background .7s var(--ease),border-color .7s var(--ease)}
.tabs button[aria-selected="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.insights{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width:860px){.insights{grid-template-columns:1fr}}
.insight{border:1px solid var(--rule);border-radius:var(--r-lg);padding:20px;background:var(--bg-2);display:grid;gap:8px;align-content:start}
.insight .tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:16px;font-weight:600;color:var(--accent)}
.insight .tag::before{content:"";width:6px;height:6px;border-radius:9999px;background:currentColor}
.insight p{font-size:16px;line-height:24px}
.insight .src{font-size:12px;line-height:16px;color:var(--fg-2)}
.insight .fixline{font-size:14px;line-height:20px;color:var(--fg-2)}
.insight .fixline b{color:var(--fg)}
[role="tabpanel"][hidden]{display:none}

/* 13. win rate vs competitors */
.winrate{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start}
@media (max-width:520px){.winrate{grid-template-columns:1fr}}
.winrate .big{font-size:48px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.winrate .big small{display:block;font-size:12px;line-height:16px;color:var(--fg-2);letter-spacing:0;font-weight:400;margin-top:4px}
.winrate ol{margin:0;padding:0;list-style:none;display:grid;gap:4px;font-size:13px;line-height:18px}
.winrate ol li{display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:center}
.winrate ol li i{font-style:normal;color:var(--fg-2);font-variant-numeric:tabular-nums}
.winrate ol li em{font-style:normal;font-weight:600;font-variant-numeric:tabular-nums}
.winrate ol li.you{color:var(--accent)}

/* 17. demo choice pair */
.choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:700px){.choice{grid-template-columns:1fr}}
.choice a{display:grid;gap:8px;text-decoration:none;color:var(--fg);background:var(--bg-2);border:1px solid var(--rule);border-radius:var(--r-lg);padding:20px;transition:border-color .7s var(--ease),transform .7s var(--ease)}
.choice a:hover{border-color:var(--fg);transform:translateY(-1px)}
.choice a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.choice a.on{border-color:var(--accent);background:var(--petrol-soft)}
.choice a b{font-size:18px;line-height:28px}
.choice a span{color:var(--fg-2);font-size:14px;line-height:20px}
.choice a .go{color:var(--accent);font-weight:600;font-size:14px}

/* 18. outcome pill row */
.pills{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:16px 20px;border-radius:var(--r-lg);background:var(--tint)}
.pills .k{font-size:14px;line-height:20px;font-weight:600;color:var(--fg-2);margin-right:4px}
.pills span:not(.k){border:1px solid var(--rule);background:var(--bg-2);border-radius:9999px;padding:4px 12px;font-size:14px;line-height:20px;font-weight:600}

/* 20. step strip with jump buttons */
.strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0;padding:0;list-style:none}
@media (max-width:700px){.strip{grid-template-columns:1fr 1fr}}
.strip a{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;text-decoration:none;color:var(--fg);border:1px solid var(--rule);border-radius:var(--r-md);padding:10px 12px;font-size:14px;line-height:20px;font-weight:600;background:var(--bg-2);transition:border-color .7s var(--ease)}
.strip a:hover{border-color:var(--fg)}
.strip a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.strip a i{width:28px;height:28px;border-radius:9999px;background:var(--accent);color:var(--accent-fg);display:grid;place-items:center;font-style:normal;font-size:12px}
.strip a small{display:block;font-weight:400;color:var(--fg-2);font-size:12px;line-height:16px}
[data-jump]{scroll-margin-top:calc(var(--nav-h) + 16px)}

/* 21. one-line feature accordion */
.acc{display:grid;gap:0;border-top:1px solid var(--rule)}
.acc details{border-bottom:1px solid var(--rule)}
.acc summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:12px 0;font-size:16px;line-height:24px;font-weight:600}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"+";color:var(--accent);font-weight:400;font-size:20px;line-height:1;transition:transform .7s var(--ease)}
.acc details[open] summary::after{transform:rotate(45deg)}
.acc summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.acc summary .how{font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2);margin-left:8px}
.acc summary .how.api{color:var(--accent)}
.acc details p{padding:0 0 12px;color:var(--fg-2);font-size:14px;line-height:20px;max-width:680px}

/* 22. product UI cropped off the frame */
.bleed{position:relative;overflow:hidden;border-radius:var(--r-xl) 0 0 var(--r-xl)}
.bleed .surface{width:130%;max-width:none;border-radius:var(--r-xl);transform-origin:left top}
@media (max-width:960px){.bleed{border-radius:var(--r-xl)}.bleed .surface{width:100%}}
.bleed::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 70%,var(--bg) 100%)}

/* 25. typing agent card */
.typing{border:1px solid var(--line-dark);border-radius:var(--r-md);padding:12px 14px;background:var(--panel-2);font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:18px;color:var(--muted-dark);display:grid;gap:4px;min-height:96px}
.typing .who{display:flex;align-items:center;gap:8px;font-family:"Sora",system-ui,sans-serif;font-weight:600;color:#fff;font-size:12px;line-height:16px}
.typing .who i{width:8px;height:8px;border-radius:9999px;background:var(--mint);animation:pulse 1.4s var(--ease) infinite}
@media (prefers-reduced-motion:reduce){.typing .who i{animation:none}}
.typing .line{color:var(--paper-text);overflow-wrap:anywhere}
.typing .line.done{color:var(--muted-dark)}
.typing .line.cur::after{content:"";display:inline-block;width:7px;height:13px;vertical-align:-2px;margin-left:2px;background:var(--mint);animation:blink 1s steps(2) infinite}
@keyframes blink{to{opacity:0}}
@media (prefers-reduced-motion:reduce){.typing .line.cur::after{animation:none}}

/* mobile sticky bottom CTA */
.sticky-cta{display:none}
@media (max-width:768px){
  .sticky-cta{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:45;justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 16px;border-radius:9999px;background:color-mix(in srgb,var(--bg) 84%,transparent);border:1px solid var(--rule);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);transform:translateY(0);transition:transform .7s var(--ease),opacity .7s var(--ease)}
  .sticky-cta.off{transform:translateY(120%);opacity:0;pointer-events:none}
  .sticky-cta span{font-size:14px;line-height:20px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.has-sticky{padding-bottom:80px}
}

/* month in the life */
.life{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--rule);border-radius:var(--r-lg);overflow:hidden;background:var(--bg-2)}
@media (max-width:960px){.life{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.life{grid-template-columns:1fr}}
.life > div{padding:20px;border-left:1px solid var(--rule);display:grid;gap:8px;align-content:start}
.life > div:first-child{border-left:0}
@media (max-width:960px){.life > div:nth-child(3){border-left:0}.life > div:nth-child(n+3){border-top:1px solid var(--rule)}}
@media (max-width:600px){.life > div{border-left:0;border-top:1px solid var(--rule)}.life > div:first-child{border-top:0}}
.life .day{font-size:12px;line-height:16px;font-weight:600;color:var(--accent)}
.life h3{font-size:18px;line-height:28px}
.life p{font-size:14px;line-height:20px;color:var(--fg-2)}
.life .mini{border:1px solid var(--rule);border-radius:var(--r-sm);padding:8px 10px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11px;line-height:16px;color:var(--fg-2);background:var(--bg)}
.life .mini b{color:var(--fg);font-weight:500;display:block}

/* rules tiles */
.rules-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width:860px){.rules-3{grid-template-columns:1fr}}
.rule{border:1px solid var(--rule);border-radius:var(--r-lg);padding:24px;background:var(--bg-2);display:grid;gap:8px;align-content:start}
.rule .n{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums}
.rule h3{font-size:20px;line-height:28px}
.rule p{color:var(--fg-2);font-size:14px;line-height:20px}

/* surfaces grid (everywhere it fixes) */
.surfaces{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media (max-width:960px){.surfaces{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.surfaces{grid-template-columns:1fr}}
.sf{border:1px solid var(--rule);border-radius:var(--r-lg);padding:16px;background:var(--bg-2);display:grid;gap:8px;align-content:start}
.sf .top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.sf .top b{font-size:16px;line-height:24px}
.sf p{font-size:13px;line-height:18px;color:var(--fg-2)}
.sf .chip{align-self:start}

/* ===== v3: home page devices (additive) ===== */
/* segmented control */
.seg{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--rule);border-radius:9999px;background:var(--bg)}
.seg button{font:inherit;font-size:13px;line-height:18px;font-weight:600;color:var(--fg-2);background:none;border:0;border-radius:9999px;padding:5px 12px;cursor:pointer;transition:background .7s var(--ease),color .7s var(--ease)}
.seg button[aria-selected="true"]{background:var(--fg);color:var(--bg)}
.seg button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* the phone: three scan screens for the example restaurant */
.hpn{display:grid;gap:12px;justify-items:center}
.hp-top{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:520px}
.hp-top .cap{font-size:12px;line-height:16px;color:var(--fg-2)}
.phone{position:relative;width:min(100%,320px);aspect-ratio:9/15;border-radius:40px;background:var(--panel);padding:10px;box-shadow:var(--shadow),0 0 0 1px var(--line-dark) inset}
@media (prefers-color-scheme:dark){.phone{background:#050505;box-shadow:var(--shadow),0 0 0 1px #3A3A3A inset}}
.dark .phone{background:#050505;box-shadow:var(--shadow),0 0 0 1px #3A3A3A inset}
.phone::before{content:"";position:absolute;left:50%;top:18px;transform:translateX(-50%);width:84px;height:22px;border-radius:9999px;background:#000;z-index:3}
.phone .screen{position:relative;height:100%;border-radius:32px;overflow:hidden;background:var(--bg);color:var(--fg)}
.phone .scr{position:absolute;inset:0;padding:52px 16px 16px;display:grid;align-content:start;gap:10px;opacity:0;transform:translateX(24px);transition:opacity .7s var(--ease),transform .7s var(--ease);pointer-events:none}
.phone .scr.on{opacity:1;transform:none;pointer-events:auto;z-index:2}
.phone .scr .t{font-size:12px;line-height:16px;color:var(--fg-2)}
.phone .scr h3{font-size:16px;line-height:22px;letter-spacing:-.02em}
.gauge{position:relative;width:180px;margin:0 auto}
.gauge svg{width:100%;height:auto;overflow:visible}
.gauge .tr{stroke:var(--tint);stroke-width:12;fill:none;stroke-linecap:round}
.gauge .va{stroke:var(--amber);stroke-width:12;fill:none;stroke-linecap:round;stroke-dasharray:var(--v,0) 1000;transition:stroke-dasharray 1.2s var(--ease)}
.gauge .n{position:absolute;left:0;right:0;bottom:26px;text-align:center;font-size:40px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.gauge .n small{font-size:13px;color:var(--fg-2);letter-spacing:0;font-weight:400}
.gauge .band{display:flex;justify-content:center;gap:6px;align-items:center;font-size:12px;line-height:16px;font-weight:600;color:var(--amber-text);margin-top:6px}
.gauge .band::before{content:"";width:6px;height:6px;border-radius:9999px;background:currentColor}
.phone .rows{display:grid;gap:6px;font-size:13px;line-height:18px}
.phone .rows div{display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 10px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--bg-2)}
.phone .rows em{font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;color:var(--red)}
.rank{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.rank li{display:grid;grid-template-columns:18px 1fr 32px;gap:8px;align-items:center;font-size:13px;line-height:18px;padding:6px 8px;border-radius:var(--r-sm);border:1px solid var(--rule);background:var(--bg-2)}
.rank li i{font-style:normal;color:var(--fg-2);font-variant-numeric:tabular-nums;font-size:12px}
.rank li b{font-weight:600;display:block}
.rank li span{display:block;height:4px;border-radius:2px;background:var(--tint);margin-top:4px;position:relative;overflow:hidden}
.rank li span::after{content:"";position:absolute;inset:0;width:var(--w);background:var(--fg-2);border-radius:2px}
.rank li em{font-style:normal;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.rank li.you{border-color:var(--amber-text);background:var(--amber-soft)}
.rank li.you span::after{background:var(--amber)}
.rank li.you em,.rank li.you i{color:var(--amber-text)}
.cost{display:grid;gap:8px}
.cost .step{padding:8px 10px;gap:2px;border-radius:var(--r-sm);font-size:13px;line-height:18px}
.cost .step b{font-size:14px;line-height:20px}
.cost .step small{font-size:11px;line-height:14px;color:var(--fg-2)}
.cost .big{font-size:34px;line-height:1;font-weight:600;letter-spacing:-.04em;color:var(--red);font-variant-numeric:tabular-nums}
.cost .math{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11px;line-height:16px;color:var(--fg-2)}
.hp-dots{display:flex;gap:6px;justify-content:center;align-items:center}
.hp-dots button{width:24px;height:16px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.hp-dots button i{display:block;width:20px;height:4px;border-radius:2px;background:var(--rule);transition:background .7s var(--ease),width .7s var(--ease)}
.hp-dots button[aria-current="true"] i{background:var(--accent)}
.hp-dots button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.hp-ctl{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:520px;font-size:12px;line-height:16px;color:var(--fg-2)}
.hp-ctl > button{font:inherit;font-weight:600;color:var(--fg-2);background:none;border:1px solid var(--rule);border-radius:9999px;padding:4px 10px;cursor:pointer}
.hp-ctl > button:hover{color:var(--fg);border-color:var(--fg)}
.hp-ctl > button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* the interactive approval demo */
.demo .fix textarea{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:13px;line-height:18px;width:100%;min-height:64px;border:1px solid var(--accent);border-radius:var(--r-sm);padding:8px 10px;background:var(--bg);color:var(--fg);resize:vertical}
.demo .fix textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
.demo .fix .edit,.demo .fix .why-box{display:grid;gap:8px}
.demo .fix .edit .row,.demo .fix .why-box .row{display:flex;gap:8px;flex-wrap:wrap}
.demo .fix .log{display:grid;gap:4px;border-top:1px solid var(--rule);padding-top:8px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:18px;color:var(--fg-2);min-height:26px}
.demo .fix .log b{color:var(--fg);font-weight:500}
.demo .fix .log .cur::after{content:"";display:inline-block;width:6px;height:12px;vertical-align:-2px;margin-left:2px;background:var(--accent);animation:blink 1s steps(2) infinite}
@media (prefers-reduced-motion:reduce){.demo .fix .log .cur::after{animation:none}}
.demo .fix.approved{border-color:var(--accent)}
.demo .fix.applied,.demo .fix.verified{background:var(--petrol-soft);border-color:var(--accent)}
.demo .fix.rejected{opacity:.7}
.demo .fix.done .acts .btn-xs{display:none}
.demo .reset{font:inherit;font-size:12px;line-height:16px;font-weight:600;color:var(--accent);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}
.demo .reset:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.demo .stages li.ok{color:var(--accent);border-color:var(--accent)}

/* before / after slider: one range input, two layers, clip-path */
.wipe{position:relative;border:1px solid var(--rule);border-radius:var(--r-md);background:var(--bg-2);overflow:hidden;--p:50%}
.wipe .lay{padding:12px 16px;display:grid;gap:8px}
.wipe .lay.now{position:absolute;inset:0;background:var(--petrol-soft);clip-path:inset(0 0 0 var(--p))}
.wipe .lay .who{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2)}
.wipe .lay .said{font-size:15px;line-height:22px}
.wipe .lay q{quotes:"\201C" "\201D"}
.wipe mark{background:var(--red-soft);color:var(--red);padding:0 3px;border-radius:3px;text-decoration:underline wavy var(--red);text-underline-offset:3px}
.wipe .lay.now mark{background:var(--petrol-soft);color:var(--accent);text-decoration-color:var(--accent);border:1px solid var(--accent)}
.wipe .lay .src{font-size:12px;line-height:16px;color:var(--fg-2)}
.wipe .lay .src b{color:var(--fg)}
.wipe .hand{position:absolute;top:0;bottom:0;left:var(--p);width:2px;background:var(--accent);pointer-events:none;transform:translateX(-1px)}
.wipe .hand::after{content:"";position:absolute;left:50%;top:50%;width:28px;height:28px;border-radius:9999px;transform:translate(-50%,-50%);box-shadow:0 0 0 4px var(--bg-2);background:var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M9 8l-4 4 4 4M15 8l4 4-4 4'/></svg>") center/16px no-repeat}
@media (prefers-color-scheme:dark){.wipe .hand::after{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141B18' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M9 8l-4 4 4 4M15 8l4 4-4 4'/></svg>")}}
.wipe .lay .said{min-height:66px}
.wipe-ctl{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;font-size:12px;line-height:16px;font-weight:600;color:var(--fg-2);margin-top:8px}
.wipe-ctl input[type="range"]{width:100%;accent-color:var(--accent);margin:0;cursor:ew-resize}
.wipe-ctl input[type="range"]:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.wipe-ctl .now{color:var(--accent)}

/* the ring, driven by scroll */
.cycle.drive{grid-template-columns:1fr 1.1fr;align-items:start}
.cycle.drive .stick{position:sticky;top:calc(var(--nav-h) + 24px);display:grid;gap:16px}
.cycle.drive .ring{max-width:300px}
.cycle.drive .mini-stack{position:relative;min-height:88px}
.cycle.drive .mini-stack .mini{position:absolute;inset:0;border:1px solid var(--rule);border-radius:var(--r-md);padding:12px 14px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:18px;color:var(--fg-2);background:var(--bg-2);opacity:0;transform:translateY(8px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.cycle.drive .mini-stack .mini.on{opacity:1;transform:none}
.cycle.drive .mini-stack .mini b{color:var(--fg);font-weight:500;display:block}
.cycle.drive .mini-stack .mini .day{display:block;font-family:"Sora",system-ui,sans-serif;font-size:12px;font-weight:600;color:var(--accent);margin-bottom:2px}
.cycle.drive .cards{gap:12px}
.cycle.drive .foot{padding:0;border-top:0;margin-top:0}
.cycle.drive .cards button{scroll-margin-top:calc(var(--nav-h) + 24px)}
.cycle.drive .cards button[aria-expanded="true"] .pane{max-height:320px}
@media (max-width:960px){.cycle.drive{grid-template-columns:1fr}.cycle.drive .stick{position:static}.cycle.drive .ring{max-width:260px}}
@media (prefers-reduced-motion:reduce){.cycle.drive .cards button .pane{max-height:none;opacity:1}.cycle.drive .cards button{border-color:var(--rule);background:var(--bg-2)}.cycle.drive .ring .arc{display:none}.cycle.drive .ring .node{stroke:var(--accent);fill:var(--petrol-soft)}.cycle.drive .mini-stack{display:grid;gap:8px;min-height:0}.cycle.drive .mini-stack .mini{position:static;opacity:1;transform:none}}

/* rules row, delta strip, calculator */
.rules-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width:860px){.rules-row{grid-template-columns:1fr}}
.rules-row .rule{padding:16px 20px;grid-template-columns:auto 1fr;gap:4px 12px}
.rules-row .rule .n{font-size:20px;line-height:28px;grid-row:1/3}
.rules-row .rule h3{font-size:16px;line-height:24px}
.rules-row .rule p{font-size:13px;line-height:18px}
.dstrip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width:600px){.dstrip{grid-template-columns:1fr}}
.dstrip > div{border:1px solid var(--rule);border-radius:var(--r-md);padding:14px 16px;background:var(--bg-2);display:grid;gap:2px}
.dstrip .n{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--accent)}
.dstrip .n small{font-size:14px;color:var(--fg-2);letter-spacing:0;font-weight:400}
.dstrip .k{font-size:13px;line-height:18px;color:var(--fg-2)}
.calc{border:1px solid var(--rule);border-radius:var(--r-lg);padding:20px 24px;background:var(--bg-2);display:grid;gap:12px}
.calc .chips{display:flex;flex-wrap:wrap;gap:6px}
.calc .chips button{font:inherit;font-size:13px;line-height:18px;font-weight:600;color:var(--fg-2);background:none;border:1px solid var(--rule);border-radius:9999px;padding:4px 12px;cursor:pointer;transition:color .7s var(--ease),background .7s var(--ease),border-color .7s var(--ease)}
.calc .chips button[aria-pressed="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.calc .chips button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.calc .in{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:520px){.calc .in{grid-template-columns:1fr}}
.calc .in input{min-height:40px}
.calc .out{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.02em}
.calc .math{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:18px;color:var(--fg-2)}
.calc .fine{font-size:12px;line-height:16px;color:var(--fg-2)}

/* audit log rows (Run page) */
.log-rows{display:grid;gap:0;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:18px}
.log-rows div{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:8px 0;border-top:1px solid var(--rule)}
.log-rows div:first-child{border-top:0}
.log-rows .t{color:var(--fg-2);white-space:nowrap}
.log-rows b{font-weight:500}
@media (max-width:520px){.log-rows div{grid-template-columns:1fr;gap:2px}}

/* QA: notes on dark bands meet 4.5:1 */
.dark .note,.dark .note a{color:#D6CEBC}

/* hero demo: the connected step above the stages */
.demo .conn{display:flex;gap:8px;align-items:center;font-size:12px;line-height:16px;color:var(--fg-2)}
.demo .conn i{width:18px;height:18px;flex:none;border-radius:9999px;display:grid;place-items:center;background:var(--petrol-soft);color:var(--accent)}
.demo .conn i svg{width:11px;height:11px}
.demo .conn b{color:var(--fg);font-weight:600}

/* product-run: the three onboarding screens */
.onb{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}
@media (max-width:960px){.onb{grid-template-columns:1fr}}
.onb .surface .bar .t{font-weight:600;color:var(--fg)}
.onb .step-n{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:16px;color:var(--fg-2)}
.onb .gbtn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 16px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--bg-2);font-weight:600;font-size:14px;line-height:20px}
.onb .gbtn i{width:20px;height:20px;border-radius:9999px;border:2px solid var(--accent);display:grid;place-items:center;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;line-height:1;font-weight:500;color:var(--accent);font-style:normal}
.onb .scope{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:start;font-size:13px;line-height:18px;color:var(--fg)}
.onb .scope i{width:20px;height:20px;border-radius:9999px;display:grid;place-items:center;background:var(--petrol-soft);color:var(--accent)}
.onb .scope i svg{width:12px;height:12px}
.onb .rows{display:grid;gap:6px}
.onb .rows > div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;font-size:13px;line-height:18px;padding:8px 10px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--bg-2)}
.onb .rows > div b{font-weight:600;display:block}
.onb .rows > div span.s{font-size:12px;line-height:16px;color:var(--fg-2)}
.onb .rows .ok{color:var(--accent);font-weight:600;font-size:12px;line-height:16px}
.onb .fine{font-size:12px;line-height:16px;color:var(--fg-2)}
.onb-after{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:860px){.onb-after{grid-template-columns:1fr}}
