/* CRYME Blockchain Forensics — cryme.co.za
   Design system shared with report.cryme.co.za (OpenDocket): same palette, type and components. */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-opsz-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens (dark is the default, like report.cryme.co.za) ---------- */
:root {
  --night: #0A0A0A;
  --s1: #131313;
  --s2: #1B1B1B;
  --s3: #242424;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --line-3: rgba(255,255,255,.32);
  --text: #EFEFEF;
  --text-2: #D2D2D2;
  --muted: #A3A3A3;
  --dim: #6E6E6E;
  --heading: #FFFFFF;
  --orange: #E8610A;
  --orange-bright: #FF7722;
  --orange-ink: #140800;
  --orange-soft: rgba(232,97,10,.12);
  --orange-text: #FF7722;
  --orange-hover: #FF7722;
  --link-line: rgba(232,97,10,.7);
  --verified: #4CC38A;
  --verified-text: #DCEFE4;
  --verified-soft: rgba(76,195,138,.1);
  --warn: #F0756B;
  --warn-text: #E6CCC8;
  --warn-surface: #1F1211;
  --warn-line: #6B2A24;
  --bar-bg: #050505;
  --header-bg: rgba(10,10,10,.8);
  --foot-bg: #070707;
  --panel-top: #171717;
  --panel-bot: #111111;
  --inset-bg: #0F0F0F;
  --tint: rgba(255,255,255,.035);
  --control-line: #5E5E5E;
  --shadow-c: rgba(0,0,0,.9);
  --grid-line: rgba(255,255,255,.035);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 16px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --night: #F6F5F2;
  --s1: #FFFFFF;
  --s2: #EFEDE8;
  --s3: #E4E1DA;
  --line: rgba(28,26,23,.11);
  --line-2: rgba(28,26,23,.2);
  --line-3: rgba(28,26,23,.38);
  --text: #26231F;
  --text-2: #3D3934;
  --muted: #5C574F;
  --dim: #8A847B;
  --heading: #14120F;
  --orange-text: #B04608;
  --orange-hover: #F27A2A;
  --orange-soft: rgba(232,97,10,.09);
  --link-line: rgba(176,70,8,.55);
  --verified: #1C7A4F;
  --verified-text: #1E5E40;
  --verified-soft: rgba(28,122,79,.08);
  --warn: #B3261E;
  --warn-text: #5A1C17;
  --warn-surface: #FDECE9;
  --warn-line: #F0C4BD;
  --bar-bg: #ECEAE5;
  --header-bg: rgba(246,245,242,.86);
  --foot-bg: #EEECE7;
  --panel-top: #FFFFFF;
  --panel-bot: #FBFAF8;
  --inset-bg: #F7F6F3;
  --tint: rgba(28,26,23,.035);
  --control-line: #9A948A;
  --shadow-c: rgba(40,30,20,.18);
  --grid-line: rgba(28,26,23,.05);
  color-scheme: light;
}
/* No-JS fallback: follow the device */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not(.js) {
    --night: #F6F5F2; --s1: #FFFFFF; --s2: #EFEDE8; --s3: #E4E1DA;
    --line: rgba(28,26,23,.11); --line-2: rgba(28,26,23,.2); --line-3: rgba(28,26,23,.38);
    --text: #26231F; --text-2: #3D3934; --muted: #5C574F; --dim: #8A847B; --heading: #14120F;
    --orange-text: #B04608; --orange-hover: #F27A2A; --orange-soft: rgba(232,97,10,.09); --link-line: rgba(176,70,8,.55);
    --verified: #1C7A4F; --verified-text: #1E5E40; --verified-soft: rgba(28,122,79,.08);
    --warn: #B3261E; --warn-text: #5A1C17; --warn-surface: #FDECE9; --warn-line: #F0C4BD;
    --bar-bg: #ECEAE5; --header-bg: rgba(246,245,242,.86); --foot-bg: #EEECE7;
    --panel-top: #FFFFFF; --panel-bot: #FBFAF8; --inset-bg: #F7F6F3; --tint: rgba(28,26,23,.035);
    --control-line: #9A948A; --shadow-c: rgba(40,30,20,.18); --grid-line: rgba(28,26,23,.05);
    color-scheme: light;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--link-line); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--heading); text-decoration-color: var(--orange-text); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
strong { font-weight: 600; color: var(--heading); }
code, .mono { font-family: var(--mono); font-size: .88em; letter-spacing: 0; }
::selection { background: var(--orange); color: var(--orange-ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--orange-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 66ch; }
.section { padding: var(--section) 0; position: relative; }
.section--rule { border-top: 1px solid var(--line); }
.section--tint { background: linear-gradient(180deg, var(--s1), var(--night)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.012em; color: var(--heading); }
.display em, .h2 em { font-style: italic; color: var(--orange-text); }
.h1-hero { font-size: clamp(2.8rem, 5.8vw, 5.1rem); max-width: 13ch; }
.h1-page { font-size: clamp(2.6rem, 5.2vw, 4.5rem); max-width: 17ch; }
.h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.07; color: var(--heading); max-width: 22ch; letter-spacing: -.008em; }
.h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; line-height: 1.35; color: var(--heading); letter-spacing: -.005em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.55; }
.kicker { font-size: .78rem; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 18px; display: flex; gap: 12px; align-items: center; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--orange); }
.center .kicker { justify-content: center; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p:not(.kicker) { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.05rem; }
.section-head--split { gap: 18px 64px; }
@media (min-width: 960px) { .section-head--split { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: end; } }
.center .section-head, .section-head.center { justify-items: center; text-align: center; }
.center .h2, .section-head.center .h2 { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--orange); color: var(--orange-ink); box-shadow: 0 10px 30px -12px rgba(232,97,10,.65); }
.btn--primary:hover { background: var(--orange-hover); color: var(--orange-ink); transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(232,97,10,.8); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--line-3); color: var(--heading); background: var(--tint); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .95rem; border-radius: 9px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--heading); border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Notice bar ---------- */
.notice-bar { background: var(--bar-bg); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.notice-bar .wrap { display: flex; gap: 10px; align-items: center; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.notice-bar svg { flex: none; width: 15px; height: 15px; color: var(--verified); }
.notice-bar a { color: var(--text); white-space: nowrap; }
.notice-bar .nb-long { display: none; }
@media (min-width: 760px) { .notice-bar .nb-long { display: inline; } .notice-bar .nb-short { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--heading); flex: none; }
.brand svg { height: 32px; width: auto; }
.nav { margin-left: auto; display: none; align-items: center; gap: 2px; }
.nav > a, .nav-drop > button { text-decoration: none; color: var(--text-2); font: 400 .95rem var(--sans); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { color: var(--heading); background: var(--tint); }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--heading); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 10px; height: 10px; opacity: .6; transition: transform .2s; }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 10px); left: -12px; width: 360px; padding: 8px; border-radius: 14px; background: var(--panel-top); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px var(--shadow-c); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop.is-open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text-2); }
.drop-panel a:hover { background: var(--tint); }
.drop-panel a[aria-current="page"] { background: var(--orange-soft); }
.drop-panel b { display: block; color: var(--heading); font-weight: 600; font-size: .95rem; }
.drop-panel small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.drop-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-text); }
.drop-ico svg { width: 18px; height: 18px; }
.header-cta { display: none; }
.theme-btn { margin-left: auto; flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.theme-btn:hover { border-color: var(--line-3); background: var(--tint); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
.menu-btn { margin-left: 4px; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; background: transparent; color: var(--heading); border: 1px solid var(--line-2); border-radius: 10px; font: 500 .95rem var(--sans); cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
.header-report { display: inline-flex; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 10px; }
  .site-header .theme-btn { display: none; }
  .header-report { margin-left: auto; padding: 0 14px; }
  .site-header .menu-btn { padding: 0 11px; }
  .site-header .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand svg { height: 28px; }
}
@media (max-width: 340px) { .header-report { display: none; } .site-header .theme-btn { display: inline-grid; } }
@media (min-width: 1160px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: 8px; }
  .theme-btn { margin-left: 10px; }
  .menu-btn, .header-report { display: none; }
}

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--night); display: none; flex-direction: column; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-menu nav { padding: 12px var(--gutter) 8px; display: grid; }
.mobile-menu nav a { font-family: var(--serif); font-size: 1.8rem; color: var(--heading); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a.mm-sub { font-family: var(--sans); font-size: 1.05rem; color: var(--text-2); padding: 10px 0 10px 18px; }
.mobile-menu nav a[aria-current="page"] { color: var(--orange-text); }
.mobile-menu .mm-foot { padding: 20px var(--gutter) 40px; display: grid; gap: 12px; }
.mobile-menu .mm-foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -340px; background: radial-gradient(closest-side, rgba(232,97,10,.16), rgba(232,97,10,0)); pointer-events: none; }
:root[data-theme="light"] .hero-glow { opacity: .6; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, rgba(0,0,0,.55) 42%, #000 58%); mask-image: linear-gradient(90deg, transparent 26%, rgba(0,0,0,.55) 42%, #000 58%); }
@media (max-width: 900px) { .hero-canvas { opacity: .7; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), #000 85%); mask-image: linear-gradient(180deg, rgba(0,0,0,.5), #000 85%); } }
.hero .wrap { position: relative; display: grid; gap: clamp(48px, 6vw, 80px); }
@media (min-width: 1060px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; } }
.hero-copy .lede { margin: 28px 0 36px; }
.hero-copy .btn-row .btn { flex: 0 0 auto; }
@media (max-width: 560px) { .hero-copy .btn-row .btn { flex: 1 1 100%; } }
.hero-proof { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .92rem; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof svg { width: 16px; height: 16px; color: var(--verified); }

/* Trace card (hero visual) */
.trace { position: relative; background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 50px 120px -40px var(--shadow-c), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; }
:root[data-theme="light"] .trace { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 40px 80px -40px rgba(40,30,20,.35); }
.trace-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .78rem var(--mono); color: var(--muted); letter-spacing: .04em; }
.trace-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--s3); }
.trace-bar .live { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--verified); }
.trace-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verified); box-shadow: 0 0 0 0 rgba(76,195,138,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76,195,138,.55); } 70% { box-shadow: 0 0 0 9px rgba(76,195,138,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,138,0); } }
.trace-body { padding: 22px 22px 8px; }
.trace-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.trace-step { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 14px; align-items: start; padding-bottom: 20px; }
.trace-step::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: linear-gradient(var(--orange), rgba(232,97,10,.25)); transform-origin: top; }
.trace-step:last-child::after { display: none; }
.trace-node { width: 34px; height: 34px; border-radius: 50%; border: 1.6px solid var(--orange); background: var(--night); display: grid; place-items: center; color: var(--orange-text); position: relative; z-index: 1; }
.trace-node svg { width: 16px; height: 16px; }
.trace-step:last-child .trace-node { background: var(--orange); color: var(--orange-ink); box-shadow: 0 0 0 6px rgba(232,97,10,.14); }
.trace-step b { display: block; color: var(--heading); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.trace-step span { display: block; color: var(--muted); font-size: .86rem; margin-top: 3px; }
.trace-step code { color: var(--text-2); font-size: .8rem; }
.trace-amt { font: 500 .82rem var(--mono); color: var(--text-2); text-align: right; white-space: nowrap; padding-top: 6px; }
.trace-foot { display: grid; gap: 10px; padding: 16px 22px 20px; border-top: 1px solid var(--line); background: var(--inset-bg); }
@media (min-width: 560px) { .trace-foot { grid-template-columns: 1fr 1fr; } }
.tag { display: inline-flex; gap: 8px; align-items: flex-start; font-size: .84rem; line-height: 1.4; color: var(--text-2); }
.tag svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.tag--ok svg { color: var(--verified); }
.tag--assess svg { color: var(--orange-text); }
.trace-note { position: absolute; right: 18px; bottom: -34px; font-size: .78rem; color: var(--dim); }
.js .trace-step { opacity: 0; transform: translateY(8px); }
.js .trace.is-live .trace-step { animation: stepIn .55s cubic-bezier(.2,.7,.2,1) both; }
.js .trace.is-live .trace-step:nth-child(2) { animation-delay: .35s; }
.js .trace.is-live .trace-step:nth-child(3) { animation-delay: .7s; }
.js .trace.is-live .trace-step:nth-child(4) { animation-delay: 1.05s; }
.js .trace.is-live .trace-step::after { animation: grow .5s ease both; animation-delay: inherit; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Report strip ---------- */
.report-strip { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--orange-soft), transparent 70%); }
.report-strip .wrap { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 26px; align-items: center; }
@media (min-width: 900px) { .report-strip .wrap { grid-template-columns: auto minmax(0,1fr) auto; gap: 28px; } }
.report-strip .rs-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: var(--orange-ink); }
.report-strip .rs-ico svg { width: 24px; height: 24px; }
.report-strip p { margin: 0; color: var(--text-2); }
.report-strip p strong { display: block; font-size: 1.12rem; margin-bottom: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .hero-glow { right: -320px; top: -420px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--heading); }
.page-hero .lede { margin: 26px 0 0; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero--split .wrap { display: grid; gap: 48px; }
@media (min-width: 1060px) { .page-hero--split .wrap { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; color: var(--text-2); background: var(--tint); }
.chip svg { width: 14px; height: 14px; color: var(--orange-text); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); transition: border-color .25s, transform .25s, box-shadow .25s; }
.card p:not(.kicker) { margin: 0; color: var(--muted); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--line-3); transform: translateY(-3px); box-shadow: 0 30px 60px -36px var(--shadow-c); }
a.card:hover .link-arrow svg { transform: translateX(3px); }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.card-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-text); border: 1px solid rgba(232,97,10,.25); margin-bottom: 6px; }
.card-ico svg { width: 22px; height: 22px; }
.card-num { font: 500 .8rem var(--mono); color: var(--orange-text); letter-spacing: .08em; }
.card--feature { padding-top: 30px; }
.card-meta { font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* Service cards (home) */
.svc { min-height: 100%; }
.svc .h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.svc ul { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 6px; }
.svc li { color: var(--text-2); font-size: .95rem; display: flex; gap: 10px; }
.svc li::before { content: ""; width: 5px; height: 5px; margin-top: .62em; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- Statement ---------- */
.statement { display: grid; gap: 28px; }
@media (min-width: 960px) { .statement { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 72px; align-items: end; } }
.statement .h2 { max-width: 18ch; font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.statement p:not(.kicker) { color: var(--text-2); font-size: 1.12rem; max-width: 52ch; }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.principle { padding: 28px 24px 8px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .principle { border-bottom: 0; padding: 32px 28px 0 0; } .principle + .principle { padding-left: 28px; border-left: 1px solid var(--line); } }
.principle .card-num { display: block; margin-bottom: 14px; }
.principle p { color: var(--muted); font-size: .97rem; }

/* ---------- Product blocks ---------- */
.product { display: grid; gap: 32px; padding: clamp(28px, 4vw, 56px); border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--panel-top), var(--panel-bot)); position: relative; overflow: hidden; }
.product + .product { margin-top: 20px; }
@media (min-width: 980px) { .product { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 56px; } }
.product::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; background: radial-gradient(closest-side, rgba(232,97,10,.13), transparent); pointer-events: none; }
.product-name { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 600 1.05rem var(--sans); color: var(--heading); }
.product-name svg { width: 30px; height: 30px; }
.product .h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.product p.lede { font-size: 1.08rem; margin: 18px 0 24px; }
.product .ticks { margin-bottom: 28px; }

/* ---------- Ticks ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; color: var(--text-2); }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--verified); }
.ticks--x svg { color: var(--warn); }
.ticks b { color: var(--heading); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat { background: var(--night); padding: 24px clamp(18px, 2.4vw, 30px); }
.product .stat { background: var(--panel-bot); }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--heading); display: block; }
.stat-num small { font-size: .55em; color: var(--orange-text); margin-left: 2px; }
.stat-label { display: block; color: var(--muted); font-size: .9rem; margin-top: 10px; line-height: 1.4; }
.stats--sm .stat { padding: 18px; }
.stats--sm .stat-num { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
@media (min-width: 900px) { .stats--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .stats--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.stats-note { margin: 12px 0 0; font-size: .82rem; color: var(--dim); }

/* ---------- Crime list ---------- */
.crimes { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .crimes { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 48px; } }
.crime { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text-2); transition: color .2s, padding .25s; }
.crime .card-num { font-size: .78rem; }
.crime b { display: block; color: var(--heading); font-weight: 600; font-size: 1.08rem; }
.crime small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.crime > svg { width: 16px; height: 16px; color: var(--dim); transition: transform .2s, color .2s; }
.crime:hover { color: var(--heading); }
.crime:hover > svg { color: var(--orange-text); transform: translateX(4px); }

/* ---------- Clients ---------- */
.client { border-top: 1px solid var(--line-2); padding-top: 22px; }
.client .h3 { margin-bottom: 10px; }
.client p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Press ---------- */
.press { display: flex; flex-direction: column; gap: 14px; }
.press-src { font: 500 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.press .h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }

/* ---------- Steps / process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
@media (min-width: 960px) { .process:not(.process--v) { grid-template-columns: repeat(var(--n, 4), minmax(0,1fr)); } }
.process li { counter-increment: p; position: relative; padding: 0 0 34px 56px; }
.process li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--orange-text); font: 500 .8rem/35px var(--mono); text-align: center; background: var(--night); z-index: 1; }
.process li::after { content: ""; position: absolute; left: 18.5px; top: 40px; bottom: 0; width: 1.5px; background: linear-gradient(var(--orange), rgba(232,97,10,.15)); }
.process li:last-child::after { display: none; }
.process li:last-child::before { background: var(--orange); color: var(--orange-ink); }
@media (min-width: 960px) {
  .process:not(.process--v) li { padding: 60px 28px 0 0; }
  .process:not(.process--v) li::after { left: 42px; right: 0; top: 18.5px; bottom: auto; width: auto; height: 1.5px; background: linear-gradient(90deg, var(--orange), rgba(232,97,10,.2)); }
}
.process b { display: block; color: var(--heading); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.process p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Detail blocks (service pages) ---------- */
.detail { display: grid; gap: 28px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.detail:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 64px; } }
.detail-head .card-meta { display: block; margin-bottom: 14px; }
.detail-head .h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.detail-head p { color: var(--muted); margin: 16px 0 0; max-width: 46ch; }
.detail-head .badge { display: inline-block; margin-top: 18px; }
.modules { display: grid; gap: 12px; }
@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.modules--3 { }
@media (min-width: 1100px) { .modules--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.module { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); }
.module .card-num { display: block; margin-bottom: 10px; }
.module b { display: block; color: var(--heading); font-weight: 600; margin-bottom: 6px; line-height: 1.35; }
.module p { margin: 0; color: var(--muted); font-size: .94rem; }
.badge { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: var(--orange-soft); color: var(--orange-text); border: 1px solid rgba(232,97,10,.25); }

/* Sticky in-page index */
.toc { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; text-decoration: none; font-size: .9rem; color: var(--text-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color .2s, color .2s, background .2s; }
.toc a:hover, .toc a.is-active { border-color: var(--orange); color: var(--heading); background: var(--orange-soft); }
.toc-bar { position: sticky; top: 72px; z-index: 30; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }

/* ---------- Callouts ---------- */
.callout { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--tint); }
.callout--accent { border-color: rgba(232,97,10,.45); background: var(--orange-soft); }
.callout .h3 { margin-bottom: 8px; }
.callout p:not(.kicker) { color: var(--text-2); }
.callout p:last-child { margin-bottom: 0; }
.warning { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--warn-surface); border: 1px solid var(--warn-line); }
@media (min-width: 860px) { .warning { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 24px; } }
.warning-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,117,107,.14); color: var(--warn); }
.warning-icon svg { width: 22px; height: 22px; }
.warning .h3 { margin-bottom: 4px; }
.warning p { margin: 0; color: var(--warn-text); }

.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; } .split--top { align-items: start; } .split--center { align-items: center; } }
.split-sticky { }
@media (min-width: 960px) { .split-sticky { position: sticky; top: 110px; align-self: start; } }

.dodont { display: grid; gap: 16px; }
@media (min-width: 860px) { .dodont { grid-template-columns: 1fr 1fr; } }
.dodont .card .h3 { margin-bottom: 8px; }

/* Code/sample block */
.sample { border-radius: 14px; border: 1px solid var(--line-2); background: var(--inset-bg); overflow: hidden; }
.sample-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 .76rem var(--mono); color: var(--muted); letter-spacing: .04em; }
.sample pre { margin: 0; padding: 16px; overflow-x: auto; font: 400 .8rem/1.75 var(--mono); color: var(--text-2); }
.sample .k { color: var(--orange-text); }
.sample .c { color: var(--dim); }
.sample .g { color: var(--verified); }

/* Category bar */
.catbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 18px 0 16px; }
.catbar span { display: block; height: 100%; }
.catlegend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); font-size: .9rem; color: var(--text-2); }
.catlegend li { display: flex; align-items: center; gap: 8px; }
.catlegend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.catlegend em { font-style: normal; color: var(--muted); font-family: var(--mono); font-size: .8rem; margin-left: auto; }
.chainlist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chainlist span { font: 500 .78rem var(--mono); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }

/* Mock portal */
.portal { border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); box-shadow: 0 50px 120px -50px var(--shadow-c); overflow: hidden; }
:root[data-theme="light"] .portal { box-shadow: 0 40px 80px -40px rgba(40,30,20,.35); }
.portal-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .78rem var(--mono); color: var(--muted); }
.portal-head i { width: 9px; height: 9px; border-radius: 50%; background: var(--s3); }
.portal-head span { margin-left: 8px; }
.portal-body { padding: 20px; display: grid; gap: 14px; }
.p-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--inset-bg); font: 400 .82rem var(--mono); color: var(--text-2); overflow: hidden; white-space: nowrap; }
.p-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.p-hit { border-radius: 12px; border: 1px solid rgba(240,117,107,.45); background: var(--warn-surface); padding: 16px; }
.p-hit-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.p-flag { display: inline-flex; align-items: center; gap: 8px; color: var(--warn); font-weight: 600; font-size: .95rem; }
.p-flag svg { width: 16px; height: 16px; }
.p-conf { font: 500 .78rem var(--mono); color: var(--warn-text); }
.p-rows { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.p-rows div { font-size: .78rem; color: var(--muted); }
.p-rows b { display: block; font: 500 .84rem var(--mono); color: var(--heading); margin-top: 2px; }
.p-ev { border-radius: 12px; border: 1px solid var(--line); padding: 14px 16px; background: var(--tint); font-size: .86rem; color: var(--text-2); }
.p-ev b { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.p-btn { font-size: .82rem; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.p-btn--on { border-color: var(--orange); color: var(--heading); background: var(--orange-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; color: var(--heading); font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.6px solid var(--orange-text); border-bottom: 1.6px solid var(--orange-text); transform: rotate(45deg) translate(-3px,-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px,-3px); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 70ch; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 3.4vw, 40px); border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); box-shadow: 0 40px 100px -50px var(--shadow-c); }
.form-card .h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: 6px; }
.form-card .form-intro p { color: var(--muted); margin-bottom: 26px; }
.fields { display: grid; gap: 16px; }
@media (min-width: 620px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font-size: .88rem; font-weight: 600; color: var(--text-2); }
.field .opt { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--inset-bg); color: var(--heading); font: 400 1rem var(--sans); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23E8610A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.field select option { background: var(--s1); color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,97,10,.16); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--warn); }
.field .err { font-size: .82rem; color: var(--warn); display: none; }
.field.is-invalid .err { display: block; }
.check-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); }
.form-foot { display: grid; gap: 14px; margin-top: 22px; }
.form-foot .small { color: var(--dim); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: .92rem; }
.form-status.is-error { display: block; background: var(--warn-surface); border: 1px solid var(--warn-line); color: var(--warn-text); }
.form-done { display: none; text-align: center; padding: 24px 8px; }
.form-done .done-ico { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--verified-soft); color: var(--verified); border: 1px solid rgba(76,195,138,.35); }
.form-done .done-ico svg { width: 28px; height: 28px; }
.form-done p { color: var(--muted); max-width: 42ch; margin: 8px auto 0; }
form.is-done .fields, form.is-done .form-foot, form.is-done .form-intro { display: none; }
form.is-done .form-done { display: block; }
.btn[disabled] { opacity: .65; cursor: progress; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .card-ico { width: 44px; height: 44px; margin: 0; }
.contact-list b { display: block; color: var(--heading); font-weight: 600; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .95rem; }
.contact-list a { color: var(--text-2); }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 28px; padding: clamp(26px, 3.4vw, 44px); border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--panel-top), var(--panel-bot)); }
@media (min-width: 860px) { .founder { grid-template-columns: 240px minmax(0,1fr); gap: 44px; align-items: start; } }
.founder-photo { display: block; width: 100%; max-width: 240px; height: auto; aspect-ratio: 611 / 640; object-fit: cover; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--orange-soft); }
.founder .h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.founder .role { color: var(--orange-text); font-size: .95rem; margin: 4px 0 18px; }
.founder p { color: var(--text-2); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 6vw, 80px); border: 1px solid rgba(232,97,10,.35); background: radial-gradient(120% 140% at 100% 0%, rgba(232,97,10,.22), transparent 55%), linear-gradient(180deg, var(--panel-top), var(--panel-bot)); display: grid; gap: 28px; isolation: isolate; }
@media (min-width: 960px) { .cta-band { grid-template-columns: minmax(0,1.3fr) auto; align-items: end; } }
.cta-band .h2 { max-width: 18ch; }
.cta-band p:not(.kicker) { color: var(--text-2); margin: 16px 0 0; max-width: 52ch; }
.cta-band svg.net { position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 460px; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--foot-bg); border-top: 1px solid var(--line); margin-top: 0; padding: clamp(48px, 6vw, 80px) 0 32px; font-size: .95rem; }
.site-footer.flush { margin-top: 0; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 48px; } }
.foot-brand svg { height: 34px; width: auto; color: var(--heading); }
.foot-brand .tagline { font: 500 .72rem var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 14px 0 18px; }
.foot-brand p { color: var(--muted); max-width: 40ch; }
.foot-col h2 { font: 500 .76rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--text-2); text-decoration: none; }
.foot-col a:hover { color: var(--heading); text-decoration: underline; text-decoration-color: var(--orange); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .86rem; }
.foot-bottom a { color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .h1-page { margin: 0 auto; }

@media print {
  .notice-bar, .site-header, .mobile-menu, .site-footer, .toc-bar, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
