/* --- assets/fonts/fonts.css --- */
/* Self-hosted fonts, SIL Open Font License 1.1 (OFL-*.txt beside each file). Files from Fontsource 5.2.5. */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

/* --- assets/kit/tokens.css --- */
/* Generated by tools/tokens.py from brand/tokens/tokens.json. Do not edit by hand. */
:root, .night {
  --bg: #0B0A17;
  --bg-raised: #141329;
  --bg-sunken: #07060F;
  --bg-hover: #1D1B38;
  --line: #2B2950;
  --line-strong: #6B6799;
  --ink: #F5F3FC;
  --text: #CAC7DE;
  --muted: #A29EBD;
  --action: #CDB6FF;
  --on-action: #160C33;
  --link: #D6C4FF;
  --focus: #E5D9FF;
  --ai-1: #9440FF;
  --ai-2: #C2459C;
  --ai-3: #F2825A;
  --human: #F4C552;
  --pass: #4AD9A2;
  --fail: #FF7A90;
  --paper: #FBF5E4;
  --on-paper: #1D1930;
  --on-paper-muted: #5A5470;
  --spectrum: linear-gradient(115deg, var(--ai-1), var(--ai-2) 55%, var(--ai-3));
  color: var(--text);
}
.day {
  --bg: #F7F6FB;
  --bg-raised: #FFFFFF;
  --bg-sunken: #EEECF6;
  --bg-hover: #E9E6F4;
  --line: #DCD9EA;
  --line-strong: #8A86A6;
  --ink: #13112A;
  --text: #3A3755;
  --muted: #5E5A7A;
  --action: #5A10C4;
  --on-action: #FFFFFF;
  --link: #5A10C4;
  --focus: #5A10C4;
  --ai-1: #7500CF;
  --ai-2: #A92F86;
  --ai-3: #D0603A;
  --human: #8A6200;
  --pass: #0B7A50;
  --fail: #B4233F;
  --paper: #FBF5E4;
  --on-paper: #1D1930;
  --on-paper-muted: #5A5470;
  --spectrum: linear-gradient(115deg, var(--ai-1), var(--ai-2) 55%, var(--ai-3));
  color: var(--text);
}
:root {
  --mark-tile-1: #7A0BDD;
  --mark-tile-2: #B23A9A;
  --mark-tile-3: #E0663E;
  --mark-spark: #FFFFFF;
  --font-display: 'Schibsted Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.25,1,.5,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --radius: 14px;
  --radius-sm: 9px;
}

/* --- assets/site.css --- */
/* Wise Agents site. Roles only (assets/kit/tokens.css); no hex values below except pure white/black in the mark.
   Motion: only transform, opacity and stroke-dashoffset are animated. Reduce motion shows the final frame. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -.022em; line-height: 1.08; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--action); color: var(--on-action); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }

/* surfaces */
.night { background: var(--bg); color: var(--text); }
.day { background: var(--bg); color: var(--text); }
.day.raised { background: var(--bg-raised); }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: var(--spectrum); flex: none; }
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.35rem); font-weight: 680; letter-spacing: -.035em; line-height: 1.02; }
.h1.sm { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -.03em; }
.h3 { font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.25; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--text); max-width: 62ch; }
.small { font-size: .925rem; line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-weight: 500; }
.stack > * + * { margin-top: 18px; }
.stack-sm > * + * { margin-top: 10px; }
.ref { display: inline-flex; align-items: center; gap: 6px; font: 500 .72rem/1 var(--font-mono); letter-spacing: .02em; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 9px; white-space: nowrap; background: var(--bg-raised); }
.ref.gdpr { border-style: dashed; }
.refs { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-sample { display: inline-flex; gap: 6px; align-items: center; font: 500 .7rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 5px 9px; }
.spectrum-text { color: var(--ink); }

/* buttons: one action colour; gold only for a person's decision */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s var(--ease-out), opacity .12s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-human { background: var(--human); color: var(--bg-sunken); }
.day .btn-human { color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .925rem; border-radius: 10px; }
.btn .arrow { transition: transform .15s var(--ease-out); }
.btn:hover .arrow, .tlink:hover .arrow { transform: translateX(3px); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }
.tlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.tlink .arrow { display: inline-block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* preview note and header */
.preview-note { background: var(--bg-sunken); color: var(--muted); font-size: .82rem; border-bottom: 1px solid var(--line); }
.preview-note .wrap { display: flex; gap: 10px; padding-top: 7px; padding-bottom: 7px; align-items: baseline; }
.preview-note .short { display: none; }
@media (max-width: 640px) { .preview-note .long { display: none; } .preview-note .short { display: inline; } }
.preview-note b { color: var(--human); font: 500 .7rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.top-bar { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 650 1.13rem/1 var(--font-display); letter-spacing: -.02em; flex: none; }
.brand:hover { text-decoration: none; }
.brand .wa-mark { width: 30px; height: 30px; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 500; padding: 8px 11px; border-radius: 9px; }
.nav a:hover { color: var(--ink); background: var(--bg-hover); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.lang a { font: 500 .75rem/1 var(--font-mono); color: var(--muted); text-decoration: none; padding: 7px 8px; border-radius: 7px; }
.lang a[aria-current="true"] { background: var(--bg-hover); color: var(--ink); }
.top .btn-sm { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--ink); }
.menu-btn .bars { width: 16px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease-out); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-4px) rotate(-45deg); }
.menu { padding-bottom: 18px; display: grid; gap: 2px; }
.menu[hidden] { display: none; }
.menu a { color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.menu .menu-cta { margin-top: 14px; border: 0; }
@media (min-width: 560px) { .top .btn-sm { display: inline-flex; } .lang { display: inline-flex; } }
@media (min-width: 1080px) { .nav { display: flex; } .menu-btn, .menu { display: none !important; } }

/* the mark (inline SVG): .wa-rule is the boundary, .wa-spark the AI. States in brand/MOTION.md */
.wa-mark { overflow: visible; }
.wa-mark .wa-spark { transform-box: view-box; transform-origin: 16px 16px; }
.wa-mark .wa-rule-line { fill: none; stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 0; }
.wa-mark .wa-fill { transition: opacity .3s; }
html:not([data-revealed]) .top .wa-mark.reveal .wa-fill { animation: wa-fill-in .45s .55s var(--ease-out) both; }
html:not([data-revealed]) .top .wa-mark.reveal .wa-rule-line { animation: wa-draw .7s var(--ease-out) both; }
html:not([data-revealed]) .top .wa-mark.reveal .wa-spark { animation: wa-spark-in .6s .62s var(--ease-spring) both; }
@keyframes wa-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes wa-fill-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wa-spark-in { from { opacity: 0; transform: scale(.2) rotate(-90deg); } to { opacity: 1; transform: none; } }
.wa-mark[data-state="thinking"] .wa-spark { animation: wa-think 1.4s var(--ease-out) infinite; }
@keyframes wa-think { 0% { transform: rotate(0); } 50% { transform: rotate(45deg) scale(.82); } 100% { transform: rotate(90deg); } }
.wa-mark[data-state="speaking"] .wa-spark { animation: wa-speak .9s ease-in-out infinite; }
@keyframes wa-speak { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.16); } 55% { transform: scale(.94); } }
.wa-mark[data-state="done"] .wa-spark { animation: wa-done .6s var(--ease-spring) both; }
@keyframes wa-done { 0% { transform: scale(1); } 45% { transform: scale(1.28) rotate(45deg); } 100% { transform: scale(1) rotate(90deg); } }
.wa-mark[data-state="idle"] .wa-spark { animation: wa-idle 3s ease-in-out infinite; }
@keyframes wa-idle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.9); opacity: .86; } }
a:hover > .wa-mark .wa-spark, button:hover > .wa-mark .wa-spark { transform: rotate(45deg); transition: transform .12s cubic-bezier(.25,1,.5,1); }

/* sections */
.sec { padding: 84px 0; position: relative; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-head .lede { color: var(--text); }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; position: relative; }
.card .h3 + p { color: var(--text); }
a.card { text-decoration: none; color: var(--text); transition: transform .18s var(--ease-out); }
a.card:hover { transform: translateY(-3px); }
a.card:hover .tlink .arrow { transform: translateX(3px); }
.card .k { font: 500 .72rem/1.2 var(--font-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.card ul.ticks, ul.ticks { list-style: none; display: grid; gap: 9px; }
ul.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: .96rem; }
ul.ticks li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; transform: rotate(45deg); border: 1.5px solid var(--muted); border-radius: 2px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* night backdrop: the rule lattice (45-degree hairlines) and one spectral glow; static */
.backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.backdrop::before { content: ""; position: absolute; inset: -20%; opacity: .5;
  background: repeating-linear-gradient(45deg, transparent 0 47px, color-mix(in srgb, var(--line-strong) 34%, transparent) 47px 48px),
              repeating-linear-gradient(-45deg, transparent 0 47px, color-mix(in srgb, var(--line-strong) 34%, transparent) 47px 48px);
  -webkit-mask: radial-gradient(60% 55% at 70% 40%, #000 0, transparent 75%); mask: radial-gradient(60% 55% at 70% 40%, #000 0, transparent 75%); }
.backdrop::after { content: ""; position: absolute; width: 1100px; height: 900px; right: -320px; top: -360px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ai-1) 34%, transparent), color-mix(in srgb, var(--ai-3) 10%, transparent) 60%, transparent); filter: blur(10px); }
.backdrop.left::after { left: -380px; right: auto; top: -260px; }
.sec > .wrap, .hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }

/* hero */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; }
@media (min-width: 1000px) { .hero { padding: 56px 0 88px; } }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero h1 { max-width: 14ch; }
.hero .lede { max-width: 54ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .88rem; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--pass); border-radius: 1px; }

/* hero panel: "The rule around the spark" */
.guard { background: color-mix(in srgb, var(--bg-raised) 92%, transparent); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--ai-1) 60%, transparent); }
.guard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.guard-title { font: 600 .95rem/1.3 var(--font-display); color: var(--ink); }
.guard-title span { display: block; font: 500 .72rem/1.4 var(--font-mono); color: var(--muted); letter-spacing: .02em; }
.guard-body { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
@media (min-width: 480px) { .guard-body { grid-template-columns: 168px 1fr; gap: 20px; } }
.rule-fig { width: 100%; aspect-ratio: 1; }
.rule-fig .side { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease-out), opacity .3s; }
.rule-fig .side.on { stroke: var(--pass); }
.rule-fig .side.off { stroke: var(--fail); stroke-dasharray: .04 .05; opacity: .9; }
.rule-fig .ghost { fill: none; stroke: var(--line); stroke-width: 1; }
.rule-fig .core { transform-box: view-box; transform-origin: 50px 50px; transition: transform .4s var(--ease-spring), opacity .3s; }
.rule-fig .core-off { opacity: 0; transition: opacity .3s; }
.guard[data-open="true"] .rule-fig .core { transform: scale(.82); opacity: .55; }
.guard[data-open="true"] .rule-fig .core-off { opacity: 1; }
.switches { display: grid; gap: 6px; list-style: none; }
.sw { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; cursor: pointer; min-height: 48px; }
.sw:hover { background: var(--bg-hover); }
.sw .track { width: 34px; height: 20px; border-radius: 999px; background: var(--bg-sunken); border: 1px solid var(--line-strong); position: relative; }
.sw .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .18s var(--ease-out), opacity .18s; }
.sw[aria-checked="true"] .track { border-color: var(--pass); }
.sw[aria-checked="true"] .track::after { transform: translateX(14px); background: var(--pass); }
.sw b { display: block; font: 600 .88rem/1.2 var(--font-body); color: var(--ink); }
.sw small { display: block; font: 500 .68rem/1.3 var(--font-mono); color: var(--muted); margin-top: 2px; }
.case { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 6px; }
.case .msg { font-size: .86rem; color: var(--muted); }
.case .msg b { color: var(--text); font-weight: 600; }
.fx { position: relative; display: grid; font-size: .84rem; line-height: 1.35; border-radius: 9px; background: var(--bg-sunken); border: 1px solid var(--line); min-height: 36px; }
.fx > span { grid-area: 1 / 1; padding: 7px 10px 7px 28px; transition: opacity .25s; position: relative; }
.fx > span::before { content: ""; position: absolute; left: 11px; top: 12px; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; }
.fx .on::before { background: var(--pass); }
.fx .off { opacity: 0; color: var(--ink); }
.fx .off::before { background: var(--fail); }
.fx[data-on="false"] .on { opacity: 0; }
.fx[data-on="false"] .off { opacity: 1; }
.fx .lab { font: 500 .66rem/1 var(--font-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-right: 6px; }
.fx mark { background: transparent; color: var(--human); font-weight: 600; }
.verdict { display: grid; margin-top: 10px; }
.verdict > div { grid-area: 1 / 1; display: flex; gap: 10px; align-items: center; justify-content: space-between; border-radius: 11px; padding: 9px 12px; transition: opacity .3s; font-size: .86rem; line-height: 1.35; }
.verdict .mini-btn { flex: none; }
.verdict .ok { background: color-mix(in srgb, var(--human) 12%, transparent); border: 1px solid color-mix(in srgb, var(--human) 55%, transparent); color: var(--ink); }
.verdict .ok b { color: var(--human); }
.verdict .no { background: color-mix(in srgb, var(--fail) 10%, transparent); border: 1px solid color-mix(in srgb, var(--fail) 50%, transparent); color: var(--ink); opacity: 0; }
.verdict .no b { color: var(--fail); }
.guard[data-open="true"] .verdict .ok { opacity: 0; }
.guard[data-open="true"] .verdict .no { opacity: 1; }
.guard-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.mini-btn { font: 600 .8rem/1 var(--font-body); color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 9px; padding: 0 12px; min-height: 36px; cursor: pointer; }
.mini-btn:hover { background: var(--bg-hover); }
.mini-btn[aria-disabled="true"] { opacity: .5; cursor: default; }
/* intro: each side draws, then the spark arrives (JS sets data-intro on first visit only) */
html[data-hero="play"] .guard:not([data-intro]) .side { stroke-dashoffset: 1; }
html[data-hero="play"] .guard:not([data-intro]) .fx, html[data-hero="play"] .guard:not([data-intro]) .fx *, .guard .fx.hold, .guard .fx.hold * { visibility: hidden !important; }
html[data-hero="play"] .guard:not([data-intro]) .sw .track::after { transform: none; background: var(--muted); }
html[data-hero="play"] .guard .rule-fig .spark-g { opacity: 0; transform: scale(.3) rotate(-90deg); }
html[data-hero="play"] .guard .verdict, html[data-hero="play"] .guard .verdict * { visibility: hidden !important; }
.rule-fig .spark-g { transform-box: view-box; transform-origin: 50px 50px; transition: transform .6s var(--ease-spring), opacity .4s; }

/* proof strip */
.proofs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .proofs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .proofs { grid-template-columns: repeat(4, 1fr); } }
.proof { background: var(--bg-raised); padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--text); }
.proof:hover { background: var(--bg-hover); text-decoration: none; }
.proof .k { font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.proof b { font: 650 1.12rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -.015em; }
.proof p { font-size: .92rem; }

/* agent cards (what we build) */
.agent-card .icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-sunken); border: 1px solid var(--line); color: var(--ink); }
.agent-card .icon svg { width: 22px; height: 22px; }
.loop { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.loop::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; transform: rotate(45deg); background: var(--human); border-radius: 1px; }

/* platform demo: the product window */
.demo { border: 1px solid var(--line); border-radius: 20px; background: var(--bg-sunken); overflow: hidden; box-shadow: 0 40px 120px -60px color-mix(in srgb, var(--ai-1) 70%, transparent); }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-raised); flex-wrap: wrap; }
.demo-bar .who { display: flex; gap: 10px; align-items: center; font: 600 .9rem/1.2 var(--font-display); color: var(--ink); }
.demo-bar .who .wa-mark { width: 22px; height: 22px; }
.demo-bar .ctrl { display: flex; gap: 8px; align-items: center; }
.rail { position: relative; padding: 18px 16px 10px; border-bottom: 1px solid var(--line); }
.rail-track { position: absolute; left: calc(16px + (100% - 32px) / 12); right: calc(16px + (100% - 32px) / 12); top: 24px; height: 2px; background: var(--line); }
.rail-fill { position: absolute; inset: 0; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); transition: transform .5s var(--ease-out); }
.rail-spark { position: absolute; top: 16px; left: calc(16px + (100% - 32px) / 12); width: 18px; height: 18px; margin-left: -9px; transform: translateX(var(--x, 0px)); transition: transform .5s var(--ease-out); z-index: 2; }
.rail-spark svg { width: 18px; height: 18px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; }
.step-tab { width: 100%; background: transparent; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 8px; padding: 0 2px 6px; color: var(--muted); font: 600 .76rem/1.2 var(--font-body); }
.step-tab .dot { width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); border: 2px solid var(--line-strong); background: var(--bg-sunken); position: relative; z-index: 1; }
.step-tab[data-done="true"] .dot { border-color: var(--pass); background: var(--pass); }
.step-tab[aria-selected="true"] { color: var(--ink); }
.step-tab[aria-selected="true"] .dot { border-color: var(--ink); }
.step-tab .n { display: none; }
@media (min-width: 640px) { .step-tab { font-size: .84rem; } .step-tab .n { display: inline; color: var(--muted); font: 500 .68rem/1 var(--font-mono); } }
.stage { position: relative; display: grid; min-height: 430px; }
@media (min-width: 900px) { .stage { min-height: 400px; } }
.panel { grid-area: 1 / 1; padding: 20px 16px 22px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
@media (min-width: 640px) { .panel { padding: 24px 26px; } }
.panel.on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
.panel-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .panel-grid { grid-template-columns: 1.1fr .9fr; gap: 22px; } }
.pn-k { font: 500 .7rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; display: block; }
.pn-h { font: 650 1.15rem/1.3 var(--font-display); color: var(--ink); margin-bottom: 8px; }
.box { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.brief-text { font-size: .95rem; line-height: 1.6; color: var(--ink); }
.brief-text span { transition: opacity .4s; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink); background: var(--bg-raised); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; text-decoration: none; transition: opacity .35s, transform .35s var(--ease-out); }
a.chip:hover { border-color: var(--line-strong); text-decoration: none; }
a.chip[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-n { font: 500 .7rem/1 var(--font-mono); color: var(--muted); }
.chip .d { width: 7px; height: 7px; transform: rotate(45deg); border-radius: 1px; background: var(--muted); }
.chip.pass .d { background: var(--pass); } .chip.human .d { background: var(--human); } .chip.ai .d { background: var(--spectrum); }
.kv { display: grid; gap: 8px; font-size: .88rem; }
.kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.kv dt, .kv .k2 { color: var(--muted); }
.kv dd, .kv .v2 { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.reveal-row { transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.reveal-row.pre { opacity: 0; transform: translateY(6px); }
.wall { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.cell { aspect-ratio: 1; border-radius: 4px; background: var(--bg-raised); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cell i { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.cell .p { background: var(--pass); } .cell .f { background: var(--fail); }
.cell.safety { border-color: var(--human); }
.cell[data-r="p"] .p, .cell[data-r="f"] .f { opacity: 1; }
.score { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.score .big { font: 650 2.6rem/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 99px; background: var(--bg-raised); border: 1px solid var(--line); position: relative; overflow: visible; }
.bar .fillx { position: absolute; inset: 0; border-radius: 99px; background: var(--pass); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform .5s var(--ease-out); }
.bar .mark-bar { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--human); left: var(--at, 90%); }
.bar .mark-bar::after { content: attr(data-l); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 500 .66rem/1 var(--font-mono); color: var(--human); white-space: nowrap; }
.status { display: grid; }
.status > div { grid-area: 1 / 1; transition: opacity .3s; font-size: .9rem; border-radius: 10px; padding: 10px 12px; }
.status .s-fail { background: color-mix(in srgb, var(--fail) 10%, transparent); border: 1px solid color-mix(in srgb, var(--fail) 45%, transparent); color: var(--ink); }
.status .s-pass { background: color-mix(in srgb, var(--pass) 10%, transparent); border: 1px solid color-mix(in srgb, var(--pass) 45%, transparent); color: var(--ink); }
.status .s-wait { background: var(--bg-raised); border: 1px solid var(--line); color: var(--muted); }
.status [hidden] { display: block !important; opacity: 0; pointer-events: none; }
.approve-card { background: var(--paper); color: var(--on-paper); border-radius: 14px; padding: 18px; display: grid; gap: 12px; position: relative; }
.approve-card .pn-k { color: var(--on-paper-muted); margin: 0; }
.approve-card h4 { font: 650 1.15rem/1.25 var(--font-display); color: var(--on-paper); }
.approve-card .kv div { border-color: color-mix(in srgb, var(--on-paper) 18%, transparent); }
.approve-card .kv .k2 { color: var(--on-paper-muted); } .approve-card .kv .v2 { color: var(--on-paper); }
.approve-card .btn-ghost { color: var(--on-paper); border-color: var(--on-paper-muted); }
.seal { position: absolute; right: 14px; top: 14px; width: 64px; height: 64px; opacity: 0; transform: scale(1.5) rotate(-20deg); transition: opacity .3s, transform .45s var(--ease-spring); }
.seal.on { opacity: 1; transform: none; }
.mon { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .mon { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.tile .k { font: 500 .66rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tile .v { font: 650 1.5rem/1.1 var(--font-display); color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.tile .s { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.spark-line { width: 100%; height: 56px; }
.spark-line path { fill: none; stroke: var(--pass); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: var(--d, 0); }
.held { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; border: 1px solid color-mix(in srgb, var(--human) 55%, transparent); background: color-mix(in srgb, var(--human) 9%, transparent); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--ink); }
.held b { color: var(--human); }
.demo-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg-raised); flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.log { font: 500 .74rem/1.55 var(--font-mono); color: var(--muted); background: var(--bg-raised); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; overflow: hidden; }
.log b { color: var(--text); font-weight: 500; }
.log .g { color: var(--pass); } .log .h { color: var(--human); }

/* sample runs (industries page): static step lists, no motion. Spectrum = the agent, gold = a person decides,
   cream = the record, rose = flagged. Without script every run is shown and the tabs are hidden. */
.runs { border: 1px solid var(--line); border-radius: 20px; background: var(--bg); overflow: hidden; }
.runs-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.runs-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); letter-spacing: .02em; }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; background: var(--muted); }
.lg.ai::before { background: var(--spectrum); } .lg.flag::before { background: var(--fail); } .lg.human::before { background: var(--human); }
.lg.rec::before { background: var(--paper); box-shadow: 0 0 0 1px var(--line-strong); }
.runs-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .runs-tabs { grid-template-columns: repeat(4, 1fr); } }
html:not(.js) .runs-tabs { display: none; }
.run-tab { -webkit-tap-highlight-color: transparent; min-height: 48px; padding: 8px 12px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 .88rem/1.25 var(--font-body); cursor: pointer; text-align: left; }
.run-tab:hover { background: var(--bg-hover); }
.run-tab[aria-selected="true"] { background: var(--bg-raised); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.run { display: grid; gap: 22px; padding: 22px 16px 24px; }
@media (min-width: 640px) { .run { padding: 26px; } }
@media (min-width: 960px) { .run { grid-template-columns: .8fr 1.2fr; gap: 36px; } }
.js .run:not(.on) { display: none; }
html:not(.js) .run + .run { border-top: 1px solid var(--line); }
.run-head { display: grid; gap: 12px; align-content: start; }
.run-head .kv { margin-top: 4px; }
.run-steps { list-style: none; display: grid; gap: 8px; position: relative; }
.run-steps::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.rs { display: grid; grid-template-columns: 16px 1fr; gap: 6px 14px; align-items: start; position: relative; padding: 8px 0; }
@media (min-width: 560px) { .rs { grid-template-columns: 16px 1fr auto; } }
.rs-dot { width: 12px; height: 12px; margin: 5px 0 0 2px; transform: rotate(45deg); border-radius: 2px; background: var(--muted); position: relative; z-index: 1; }
.rs.ai .rs-dot { background: var(--spectrum); }
.rs.flag .rs-dot { background: var(--fail); }
.rs.human .rs-dot { background: var(--human); }
.rs.rec .rs-dot { background: var(--paper); box-shadow: 0 0 0 1px var(--line-strong); }
.rs.next .rs-dot { background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-strong); }
.rs-body { display: grid; gap: 4px; min-width: 0; }
.rs-body b { color: var(--ink); font-weight: 600; font-size: .95rem; }
.rs-d { font-size: .9rem; color: var(--text); }
.rs-body .refs { margin-top: 4px; }
.rs-st { grid-column: 2; justify-self: start; font: 500 .68rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
@media (min-width: 560px) { .rs-st { grid-column: 3; grid-row: 1; margin-top: 1px; } }
.rs.flag .rs-st { color: var(--fail); border-color: color-mix(in srgb, var(--fail) 45%, transparent); }
.rs.human { background: color-mix(in srgb, var(--human) 9%, transparent); border: 1px solid color-mix(in srgb, var(--human) 55%, transparent); border-radius: 12px; padding: 12px 12px 12px 0; margin-left: -12px; padding-left: 12px; }
.rs.human .rs-st { color: var(--human); border-color: color-mix(in srgb, var(--human) 55%, transparent); }
.rs.next .rs-body b, .rs.next .rs-d { color: var(--muted); }
.rs.rec .rs-st { background: var(--paper); color: var(--on-paper); border-color: var(--paper); }
.rs-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rs-opts span { font-size: .82rem; font-weight: 600; color: var(--ink); border: 1px solid color-mix(in srgb, var(--human) 60%, transparent); border-radius: 9px; padding: 5px 10px; }
.runs-foot { padding: 14px 16px; border-top: 1px solid var(--line); background: var(--bg-raised); color: var(--muted); }

/* works-with strip: text only, labelled examples, no logos */
.works { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.works-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.works-list { display: grid; gap: 0; }
.works-list div { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
@media (min-width: 720px) { .works-list div { grid-template-columns: 180px 1fr; gap: 18px; } }
.works-list dt { font: 500 .72rem/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.works-list dd { margin: 0; color: var(--ink); font-size: .95rem; }
.works > p { max-width: 80ch; }
.foot-sister { margin-top: 36px; color: var(--muted); }

/* controls grid (safety section) */
.ctl { display: grid; gap: 10px; }
.ctl .refs { margin-top: 2px; }
.ctl p { font-size: .95rem; }
.ctl .ours { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.ctl .ours b { color: var(--ink); font-weight: 600; }

/* timeline */
.tl { list-style: none; display: grid; gap: 0; position: relative; margin-top: 8px; }
.tl li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.tl li::before { content: ""; position: absolute; left: 10px; top: 16px; bottom: -4px; width: 1px; background: var(--line-strong); }
.tl li:last-child::before { display: none; }
.tl .nd { width: 13px; height: 13px; margin: 5px 0 0 4px; transform: rotate(45deg); border-radius: 3px; border: 2px solid var(--line-strong); background: var(--bg); }
.tl .past .nd { background: var(--pass); border-color: var(--pass); }
.tl .now .nd { background: var(--human); border-color: var(--human); }
.tl time { font: 500 .78rem/1.3 var(--font-mono); color: var(--muted); display: block; }
.tl b { color: var(--ink); font-weight: 600; }
@media (min-width: 980px) {
  .tl.h { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .tl.h li { grid-template-columns: 1fr; padding: 0; gap: 12px; }
  .tl.h li::before { left: 18px; right: -14px; top: 11px; bottom: auto; width: auto; height: 1px; }
  .tl.h .nd { margin: 4px 0 0 4px; }
}

/* steps (how we work) */
.method { counter-reset: m; display: grid; gap: 14px; list-style: none; }
@media (min-width: 760px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .method { grid-template-columns: repeat(3, 1fr); } }
.method li { counter-increment: m; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.method li::before { content: "0" counter(m); font: 500 .8rem/1 var(--font-mono); color: var(--muted); }
.method .out { font-size: .88rem; border-top: 1px solid var(--line); padding-top: 10px; color: var(--muted); }
.method .out b { color: var(--ink); font-weight: 600; }

/* plans */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1160px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.plan.feature { border-color: var(--line-strong); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai-1) 40%, transparent); }
.plan .price { font: 650 1.9rem/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.plan .price small { font: 500 .8rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.plan .price-cta small { font: 500 .8rem/1.3 var(--font-body); color: var(--muted); }
.plan .from { font: 500 .72rem/1 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.plan .when { font-size: .88rem; color: var(--muted); }

/* data path */
.path-fig { width: 100%; height: auto; }
.path-fig text { font-family: var(--font-body); fill: var(--text); font-size: 12.5px; }
.path-fig .t-h { font: 650 15px var(--font-display); fill: var(--ink); }
.path-fig .t-m { font: 500 10.5px var(--font-mono); fill: var(--muted); letter-spacing: .04em; }
.path-fig .node { fill: var(--bg-raised); stroke: var(--line-strong); }
.path-fig .node.eu { stroke: var(--pass); }
.path-fig .node.human { stroke: var(--human); }
.path-fig .flow { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.path-fig .flow.min { stroke: var(--pass); stroke-dasharray: 5 5; }
.path-fig .zone { fill: none; stroke: var(--pass); stroke-dasharray: 3 5; }
.path-fig .zone-t { fill: var(--pass); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; font: 600 1.02rem/1.35 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; width: 12px; height: 12px; margin-top: 5px; position: relative; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--muted); border-radius: 2px; transition: transform .2s var(--ease-out); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 20px 20px; color: var(--text); font-size: .98rem; }
.faq .ans p + p { margin-top: 10px; }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
@media (min-width: 900px) { .page-hero { padding: 84px 0 92px; } }
.page-hero h1 { max-width: 22ch; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font: 500 .74rem/1.3 var(--font-mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* tables and prose */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raised); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .8rem/1.3 var(--font-body); color: var(--ink); background: var(--bg-sunken); }
tr:last-child td { border-bottom: 0; }
td .ref { margin: 0 4px 4px 0; }
.prose { max-width: 72ch; font-size: 1.06rem; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.22rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-strong); color: var(--ink); }
.prose code { font: 500 .88em var(--font-mono); background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.prose pre { background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
.prose pre code { border: 0; padding: 0; background: none; }
.prose hr { border: 0; height: 1px; background: var(--line); }
.note { border: 1px solid var(--line); border-left: 3px solid var(--human); background: var(--bg-raised); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.note b { color: var(--ink); }
.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .split.r { grid-template-columns: 1.15fr .85fr; } }
.side-list { display: grid; gap: 14px; list-style: none; }
.side-list li { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-list b { color: var(--ink); font: 600 1.02rem/1.3 var(--font-display); }

/* blog */
.post-grid { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid.three { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: grid; grid-template-rows: auto 1fr; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .18s var(--ease-out); }
.post-card:hover { transform: translateY(-3px); text-decoration: none; }
.post-card__body { padding: 20px 22px 22px; display: grid; gap: 10px; align-content: start; }
.post-card__meta { font: 500 .7rem/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post-card__foot { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--muted); margin-top: 6px; }
.post-card__foot .more { color: var(--link); font-weight: 600; }
.post-lead .post-card { grid-template-rows: auto; }
@media (min-width: 900px) { .post-lead .post-card { grid-template-columns: 1.1fr 1fr; } }
.cover-drawn { position: relative; aspect-ratio: 1200 / 630; background: var(--bg-sunken); overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.cover-drawn.night { background: var(--bg-sunken); }
.cover-drawn::before { content: ""; position: absolute; inset: -30%; opacity: .55;
  background: repeating-linear-gradient(45deg, transparent 0 29px, color-mix(in srgb, var(--line-strong) 40%, transparent) 29px 30px), repeating-linear-gradient(-45deg, transparent 0 29px, color-mix(in srgb, var(--line-strong) 40%, transparent) 29px 30px);
  -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
.cover-drawn::after { content: ""; position: absolute; width: 70%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ai-1) 40%, transparent), transparent); }
.cover-drawn .wa-mark { width: 26%; max-width: 120px; height: auto; position: relative; z-index: 1; }
.cover-drawn__tag { position: absolute; left: 14px; bottom: 12px; z-index: 1; font: 500 .68rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: #CAC7DE; }
.cover-drawn__ref { position: absolute; right: 14px; top: 12px; z-index: 1; font: 500 .68rem/1 var(--font-mono); color: #CAC7DE; border: 1px solid #6B6799; border-radius: 99px; padding: 5px 8px; }
.post-hero-grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .post-hero-grid { grid-template-columns: 1.25fr .75fr; align-items: center; } }
.post-hero-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-hero-cover .cover-drawn { border: 0; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); align-items: center; }
.byline .wa-mark { width: 20px; height: 20px; }
.article-grid { display: grid; gap: 40px; }
@media (min-width: 1040px) { .article-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; } }
.aside-stack { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1040px) { .aside-stack { position: sticky; top: 90px; } }
.toc ol { list-style: none; display: grid; gap: 8px; margin-top: 10px; font-size: .92rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.label-k { font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.aside-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 10px; }
.sources { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 2.2em; }
.sources h2 { font-size: 1.15rem; margin: 0 0 10px; }
.sources ol { padding-left: 1.2em; display: grid; gap: 6px; font-size: .9rem; }
.sources .src-path { display: block; color: var(--muted); font: 500 .74rem/1.4 var(--font-mono); word-break: break-all; }
.post-nav { display: grid; gap: 12px; margin-top: 48px; }
@media (min-width: 760px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__link { border: 1px solid var(--line); background: var(--bg-raised); border-radius: 12px; padding: 16px 18px; text-decoration: none; display: grid; gap: 6px; color: var(--ink); }
.post-nav__link .k { font: 500 .7rem/1 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post-nav__link.newer { text-align: right; }

/* forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); }
.form-msg, .form-err { display: none; }
.form-msg.on, .form-err.on { display: block; }
.form-err { border-color: var(--fail); }
.field [aria-invalid="true"] { border-color: var(--fail); box-shadow: 0 0 0 1px var(--fail); }
.field label .req { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: 6px; }
.form-alt { margin: 0; }

/* CTA band, footer */
.cta-band { position: relative; overflow: hidden; padding: 96px 0; text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 20px; }
.cta-band h2 { max-width: 20ch; }
.cta-band .lede { margin: 0 auto; }
.cta-band .wa-mark { width: 56px; height: 56px; }
.foot { background: var(--bg-sunken); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-h { font: 500 .72rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .84rem; }
.foot-bottom a { color: var(--muted); }

/* reduce motion: the final frame, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .wa-mark .wa-spark { animation: none !important; }
}

/* demo reveals: JS toggles .pre; the transition does the motion (opacity and transform only) */
.brief-text span, .brief-chips .chip, .approve-card, .mon-held, .fix-line { transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.pre { opacity: 0 !important; transform: translateY(6px); }
.gate-note[hidden] { display: none; }
.path-tall { display: block; max-width: 420px; margin: 0 auto; }
.path-wide { display: none; }
@media (min-width: 760px) { .path-tall { display: none; } .path-wide { display: block; } }

/* phones: the hero panel stays compact under the text */
@media (max-width: 559px) {
  .guard { padding: 14px; border-radius: 16px; }
  .guard-top { margin-bottom: 10px; }
  .guard-top .tag-sample { display: none; }
  .guard-body { grid-template-columns: 92px 1fr; gap: 12px; }
  .switches { gap: 5px; }
  .sw { grid-template-columns: 30px 1fr; gap: 8px; padding: 6px 8px; min-height: 44px; border-radius: 10px; }
  .sw .track { width: 30px; height: 18px; }
  .sw .track::after { width: 12px; height: 12px; }
  .sw[aria-checked="true"] .track::after { transform: translateX(12px); }
  .sw b { font-size: .82rem; }
  .sw small { font-size: .6rem; }
  .case { gap: 5px; }
  .case .msg { font-size: .8rem; }
  .fx { font-size: .78rem; min-height: 32px; }
  .fx > span { padding: 6px 8px 6px 24px; }
  .fx > span::before { left: 9px; top: 11px; width: 7px; height: 7px; }
  .verdict > div { font-size: .8rem; padding: 8px 10px; }
}

/* hidden cross-fade layers are also invisible to the accessibility tree and contrast checks */
.fx > span { transition: opacity .25s, visibility 0s; }
.fx .off, .fx[data-on="false"] .on { visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.fx[data-on="false"] .off { visibility: visible; transition: opacity .25s, visibility 0s; }
.verdict .no { visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.guard[data-open="true"] .verdict .no { visibility: visible; transition: opacity .3s, visibility 0s; }
.guard[data-open="true"] .verdict .ok { visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.status [hidden] { visibility: hidden; }

/* explainer scenes (trust layers, home journey). JS animates opacity, transform and stroke-dashoffset only; the HTML is the final frame */
.sc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene { margin: 0; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.scene .sc { width: 100%; height: auto; }
.sc text { font-family: var(--font-body); font-size: 12px; fill: var(--text); }
.sc .h { font: 650 13px var(--font-display); fill: var(--ink); }
.sc .h-sm { font: 600 12px var(--font-body); fill: var(--ink); }
.sc .m { font: 500 9.6px var(--font-mono); fill: var(--muted); letter-spacing: .04em; }
.sc .box { fill: var(--bg-raised); stroke: var(--line-strong); }
.sc .box.ok { stroke: var(--pass); }
.sc .box.human, .sc .ln.human { stroke: var(--human); }
.sc .box.no { stroke: var(--fail); fill: none; }
.sc .dash { stroke-dasharray: 4 4; }
.sc .dim { opacity: .45; }
.sc .gone { opacity: .4; }
.sc .zone { fill: none; stroke: var(--pass); stroke-dasharray: 3 5; }
.sc .ln { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.sc .ln.ok { stroke: var(--pass); }
.sc .ln.faint { stroke: var(--line); }
.sc .ai-ln { fill: none; stroke: url(#sc-spec); stroke-width: 1.8; }
.sc [data-draw] { stroke-dasharray: 1; }
.sc .ok-t { fill: var(--pass); }
.sc .no-t { fill: var(--fail); }
.sc .human-t { fill: var(--human); }
.sc .rec { fill: var(--paper); stroke: var(--paper); }
.sc .rec-t { fill: var(--on-paper); }
.sc .m.rec-m, .sc .rec-m { fill: var(--on-paper-muted); }
.sc .m.rec-t { fill: var(--on-paper); }
.sc .x { fill: none; stroke: var(--fail); stroke-width: 2; stroke-linecap: round; }
.sc .v { fill: none; stroke: var(--pass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc .lock { fill: none; stroke: var(--pass); stroke-width: 1.4; }
.sc .lock-b { fill: none; stroke: var(--pass); stroke-width: 1.4; }
.sc .dot rect { fill: var(--line-strong); }
.sc .dot-h { fill: var(--human); }
.sc .btn-h { fill: var(--human); }
.sc .btn-h-t { font: 600 12px var(--font-body); fill: var(--bg-sunken); }
.sc .btn-o { fill: none; stroke: var(--human); }
.sc-spark { fill: url(#sc-spec); }
.scene-foot { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.scene-foot p { font-size: .86rem; color: var(--muted); }
.scene-foot .mini-btn { flex: none; }
html:not(.js) [data-scene-replay] { display: none; }

/* layer explorer (trust page): a tab per layer; without script every layer shows and the tabs are hidden */
.layers { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); overflow: hidden; }
@media (min-width: 980px) { .js .layers { grid-template-columns: 280px minmax(0, 1fr); } }
.layer-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); align-content: start; }
@media (min-width: 980px) { .layer-tabs { grid-template-columns: 1fr; border-bottom: 0; border-right: 1px solid var(--line); padding: 14px; } }
html:not(.js) .layer-tabs { display: none; }
.layer-tab { -webkit-tap-highlight-color: transparent; min-height: 48px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 6px; text-align: left; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 .86rem/1.25 var(--font-body); cursor: pointer; }
.layer-tab .n { font: 500 .7rem/1 var(--font-mono); color: var(--muted); }
.layer-tab:hover { background: var(--bg-hover); }
.layer-tab[aria-selected="true"] { background: var(--bg); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.layer-panel { padding: 22px 16px 26px; display: grid; gap: 20px; align-content: start; min-width: 0; }
@media (min-width: 640px) { .layer-panel { padding: 28px; } }
.js .layer-panel:not(.on) { display: none; }
html:not(.js) .layer-panel + .layer-panel { border-top: 1px solid var(--line); }
.layer-head { display: grid; gap: 10px; }
.layer-head .k { font: 500 .72rem/1.2 var(--font-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.layer-head p { max-width: 70ch; }
.layer-body { display: grid; gap: 22px; }
@media (min-width: 1120px) { .layer-body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.layer-status { display: grid; gap: 16px; }
.ls h4 { font: 500 .72rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.ls h4::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; flex: none; }
.ls.today h4::before { background: var(--pass); }
.ls.partial h4::before { background: linear-gradient(135deg, var(--line-strong) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ls.next h4::before { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ls ul { list-style: none; display: grid; gap: 6px; font-size: .93rem; }
.ls li { padding-left: 14px; position: relative; }
.ls li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.ls.partial li { color: var(--ink); }

/* home: security and privacy, the lead section next to the AI Act story */
.sec-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .sec-grid { grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; } }
.sec-grid .grid { gap: 14px; }
.layer-card { display: grid; gap: 8px; align-content: start; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.layer-card .k { font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.layer-card p { font-size: .93rem; }
.dont { margin-top: 26px; }

/* trust page: holdings, roadmap, breach timeline, the pack */
.hold { display: grid; gap: 14px; }
.hold li { list-style: none; display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.hold li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; transform: rotate(45deg); border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.hold li.has::before { background: var(--pass); box-shadow: none; }
.roadmap { list-style: none; display: grid; gap: 12px; counter-reset: r; }
.roadmap li { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 16px 18px; display: grid; gap: 6px; }
.roadmap .when { font: 500 .72rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.roadmap b { color: var(--ink); }
.dpa { list-style: none; display: grid; gap: 10px; }
@media (min-width: 820px) { .dpa { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; } }
.dpa li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; font-size: .96rem; }
.dpa .pt { font: 500 .78rem/1.6 var(--font-mono); color: var(--muted); }
.pack-list { display: grid; gap: 8px; }
.pack-list label { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: .95rem; color: var(--text); font-weight: 400; min-height: 32px; }
.pack-list input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--action); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 8px; padding: 0; }

/* ---------- round 3: deep industry and service pages, tools, case studies, blog template ---------- */
.problem { display: grid; gap: 8px; align-content: start; }
.agent-def { display: grid; gap: 10px; align-content: start; }
.ad { display: grid; gap: 8px; margin: 4px 0 0; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 10px; }
.ad div { display: grid; gap: 2px; }
.ad dt { font: 500 .68rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ad dd { margin: 0; color: var(--text); }
.runs-foot { margin: 0; }
table.rules td:first-child { min-width: 150px; }
table.rules .read { display: block; margin-top: 6px; font: 500 .68rem/1.3 var(--font-mono); color: var(--muted); }
.layer-list { list-style: none; display: grid; gap: 0; }
.layer-list li { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.layer-list b { color: var(--ink); font-weight: 600; }
.layer-list .partial { color: var(--muted); font-size: .86rem; }
.layer-list .partial .k { font: 500 .64rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--line-strong); border-radius: 5px; padding: 2px 5px; margin-right: 4px; }
.link-list { list-style: none; display: grid; gap: 10px; }
.link-list li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.link-list a { font-weight: 600; }
.cite-list { list-style: none; display: grid; gap: 14px; max-width: 900px; }
.cite-list li { display: grid; gap: 8px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cite-list .ref { justify-self: start; }
.start-grid .plan { gap: 10px; }
.illus-label { border: 1px dashed var(--line-strong); background: var(--bg-raised); border-radius: 12px; padding: 12px 14px; font-size: .92rem; max-width: 70ch; }
.illus-label b { color: var(--ink); }
.illus-tag { justify-self: start; font: 500 .66rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); border: 1px dashed var(--line-strong); border-radius: 6px; padding: 4px 7px; }
ul.ticks.nots li::before { transform: none; width: 11px; height: 2px; margin-top: 12px; border-radius: 1px; background: var(--muted); }
.modules .ctl { align-content: start; }

/* the dashboard mock-up (consumer lending): static, no motion */
.dash { margin: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-sunken); padding: 16px; display: grid; gap: 14px; }
.dash-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-bar .pn-k { margin: 0; }
.dash-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .dash-grid { grid-template-columns: 1.3fr 1fr; } }
.hbars { list-style: none; display: grid; gap: 9px; margin-top: 10px; }
.hbars li { display: grid; grid-template-columns: 1fr 44px; gap: 4px 10px; align-items: center; font-size: .86rem; }
.hbars .lbl { grid-column: 1 / -1; color: var(--text); }
.hbars .bar-h { height: 8px; border-radius: 99px; background: var(--bg-raised); border: 1px solid var(--line); overflow: hidden; }
.hbars .bar-h i { display: block; height: 100%; width: calc(var(--v) * 2.5%); background: var(--muted); border-radius: 99px; }
.hbars .val { font: 500 .78rem/1 var(--font-mono); color: var(--ink); text-align: right; }

/* free tools */
.tool-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .tool-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; } .tool-result { position: sticky; top: 90px; } }
.tool-form { display: grid; gap: 16px; }
.tool-form .q { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raised); padding: 16px; display: block; min-width: 0; }
.tool-form .q[hidden] { display: none; }
.tool-form legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font: 600 1rem/1.4 var(--font-display); color: var(--ink); }
.tool-form legend + * { clear: both; }
.tool-form .q > * + * { margin-top: 6px; }
.tool-form .q > .field + .field { margin-top: 14px; }
.tool-form legend .ref { margin-left: 6px; vertical-align: 2px; }
.qn { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 7px; border: 1px solid var(--line-strong); font: 500 .78rem/1 var(--font-mono); color: var(--ink); }
.tool-form .hint { font-size: .84rem; color: var(--muted); }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; min-height: 44px; padding: 10px 10px; border-radius: 10px; cursor: pointer; font-size: .94rem; color: var(--text); }
.opt:hover { background: var(--bg-hover); }
.opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--action); }
.opt:has(input:checked) { background: var(--bg-hover); color: var(--ink); }
.result-card { background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px; display: grid; gap: 12px; }
.result-card .ticks { margin: 0; }
.result-card[data-level="prohibited"], .result-card[data-level="high"] { border-color: var(--fail); }
.result-card[data-level="prohibited"] h2, .result-card[data-level="high"] h2 { color: var(--fail); }
.result-card[data-level="minimal"] { border-color: var(--pass); }
.big-kv dd { font: 650 1.05rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.big-kv .total { border-bottom: 0; padding-top: 6px; }
.big-kv .total dt { color: var(--ink); font-weight: 600; }
.big-kv .total dd { font-size: 1.35rem; }
.big-kv div[hidden] { display: none; }
.result-mini { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-raised); border: 1px solid var(--line-strong); box-shadow: 0 8px 28px rgb(0 0 0 / .28); font: 600 .9rem/1.3 var(--font-display); color: var(--ink); }
.result-mini[hidden] { display: none; }
@media (min-width: 980px) { .result-mini { display: none; } }
.rule-steps { padding-left: 1.3em; display: grid; gap: 12px; font-size: .98rem; }
.rule-steps b { color: var(--ink); }

/* blog template */
.summary-box { border: 1px solid var(--line-strong); background: var(--bg-raised); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.summary-box p { font-size: 1.02rem; color: var(--ink); }
.post-faq { margin-top: 2.2em; }
.post-faq h2 { margin-bottom: 14px; }
.author-box { margin-top: 2em; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; border: 1px solid var(--line); background: var(--bg-raised); border-radius: 14px; padding: 18px; }
.author-box .wa-mark { width: 40px; height: 40px; }
.author-box h2 { margin: 0; font-size: 1.1rem; }
.aside-link { text-decoration: none; display: block; }
.aside-link:hover { text-decoration: underline; }
.related-posts { margin-top: 48px; }
.related-posts .post-grid { margin-top: 14px; }

