/* NullTrace — redesign v8. Palette kept from v7.2; one type family (Geist + Geist Mono), local files only. */

@font-face {
  font-family: 'Geist';
  src: url('./fonts/Geist-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('./fonts/GeistMono-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05080c;
  --surface: #0b1117;
  --surface-2: #0d151c;
  --surface-3: #111c25;
  --text: #f3f6f7;
  --muted: #9ca9b2;
  --dim: #71808b;
  --accent: #65dcef;
  --accent-strong: #a7f3fb;
  --accent-ink: #04222a;
  --accent-soft: rgba(101, 220, 239, .13);
  --accent-glow: rgba(101, 220, 239, .28);
  --warn: #f2c27b;
  --line: rgba(172, 210, 225, .15);
  --line-strong: rgba(172, 210, 225, .28);
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --body: 'Geist', 'Segoe UI', Arial, sans-serif;
  --display: 'Geist', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 14px;
  --radius-sm: 9px;
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.is-tabbing { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ===== Shared type ===== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font: 500 13px/1.4 var(--mono);
  letter-spacing: .04em;
}
.section-index {
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}
.signal-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.signal-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ring 2.4s linear infinite;
}
@keyframes ring {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.section-title {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-title .muted { color: var(--dim); }
.accent-dot { color: var(--accent); }
.section-aside,
.section-copy {
  max-width: 44ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 150px);
  border-top: 1px solid var(--line);
}
.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

/* ===== Buttons and links ===== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 320ms var(--spring), box-shadow 200ms var(--ease);
}
.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 var(--accent-glow), 0 10px 30px -12px var(--accent-glow);
}
.button-text {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.arrow-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  transition: transform 150ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 0 0 6px var(--accent-soft), 0 14px 34px -12px var(--accent-glow); }
  .button-text:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
  .button:hover .arrow-icon,
  .plan-link:hover .arrow-icon,
  .nav-cta:hover .arrow-icon { transform: translateX(3px); }
}
.button:active,
.button.is-pressed { transform: translateY(1px) scale(.95); transition-duration: 90ms; }

/* ===== Header ===== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform 240ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 8, 12, .78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font: 700 21px/1 var(--display);
  letter-spacing: -.03em;
  text-decoration: none;
}
.brand-accent { color: var(--accent); }
.brand-symbol {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 3px;
}
.brand-symbol span {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
}
.brand-symbol span:nth-child(2),
.brand-symbol span:nth-child(3) { background: var(--accent); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.primary-nav > a:not(.nav-cta) {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms var(--ease);
}
.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 150ms var(--ease);
}
.primary-nav > a:not(.nav-cta):hover { color: var(--text); }
.primary-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 320ms var(--spring), box-shadow 200ms var(--ease);
}
.nav-cta:hover { background: var(--accent-strong); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-menu { position: relative; }
.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font: 500 14px/1 var(--mono);
  list-style: none;
  cursor: pointer;
  transition: border-color 150ms var(--ease);
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover { border-color: var(--accent); }
.language-current-name { display: none; }
.language-chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}
.language-menu[open] .language-chevron { transform: rotate(180deg); }
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7);
  animation: drop 200ms var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.language-options a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}
.language-options a:hover { background: var(--accent-soft); color: var(--text); }
.language-options a[aria-current="page"] { color: var(--accent); }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--text);
  transition: transform 200ms var(--ease);
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nojs-mobile-nav { display: none; }

/* ===== 1. Hero ===== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 48px) 52px;
  overflow: hidden;
  text-align: center;
}
.hero-ground { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center -1px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -38vh;
  width: min(1400px, 150vw);
  height: 70vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(101, 220, 239, .42), rgba(101, 220, 239, .12) 55%, transparent 100%);
  filter: blur(10px);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 17, 23, .7);
  color: var(--muted);
  font: 500 13px/1.3 var(--mono);
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-question {
  display: block;
  max-width: 15ch;
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.hero-lede {
  max-width: 58ch;
  margin-top: 26px;
  color: #c4ced4;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero-fact {
  margin-top: 22px;
  color: var(--muted);
  font: 400 14px/1.5 var(--mono);
}
.hero-fact strong { color: var(--accent); font-weight: 600; }

.hero-console {
  width: min(560px, 100%);
  margin-top: 40px;
  padding: 14px 18px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 13, 18, .82);
  box-shadow: 0 30px 80px -30px rgba(101, 220, 239, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
  text-align: left;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.console-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.console-bar span,
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.console-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  color: var(--text);
  font: 500 15px/1.5 var(--mono);
  overflow: hidden;
  white-space: nowrap;
}
.console-prompt { color: var(--accent); }
.console-caret {
  width: 8px;
  height: 18px;
  margin-left: -6px;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.console-status {
  margin-top: 8px;
  color: var(--dim);
  font: 400 13px/1.5 var(--mono);
}

.editorial-detail { width: 100%; }
.editorial-detail summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font: 500 14px/1 var(--mono);
  list-style: none;
  cursor: pointer;
}
.editorial-detail summary::-webkit-details-marker { display: none; }
.editorial-detail summary::after {
  content: "+";
  font-size: 18px;
  transition: transform 200ms var(--ease);
}
.editorial-detail[open] summary::after { transform: rotate(45deg); }
/* Closed panels take no room: otherwise their hidden text still stretches the phone swipe rows. */
.editorial-detail:not([open]) > .detail-content { display: none; }
.detail-content {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.detail-content ul { display: grid; gap: 8px; }
.detail-content li { position: relative; padding-left: 18px; }
.detail-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 1px;
  background: var(--accent);
}
.detail-content strong { color: var(--text); font-weight: 600; }
.hero-detail {
  width: min(640px, 100%);
  margin-top: 18px;
  text-align: left;
}
.hero-detail summary { display: flex; justify-content: center; }

/* Hero entrance: words rise from masks, the rest fades up. Once, on load. */
.js.m-enter .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js.m-enter .hero h1 .w > span { display: inline-block; transform: translateY(105%); }
.js.m-enter .hero [data-enter-item] { opacity: 0; transform: translateY(12px); }
.js.m-enter .hero.is-entering h1 .w > span { animation: rise 700ms var(--ease-enter) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
.js.m-enter .hero.is-entering [data-enter-item] { animation: fade-up 520ms var(--ease-enter) forwards; animation-delay: calc(380ms + var(--j, 0) * 60ms); }
.js.m-enter.m-enter-done .hero:not(.is-entering) h1 .w > span,
.js.m-enter.m-enter-done .hero:not(.is-entering) [data-enter-item] { opacity: 1; transform: none; transition: opacity 400ms, transform 400ms; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* ===== 2. Threat ===== */

.threat {
  position: relative;
  padding-block: clamp(100px, 13vw, 180px);
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(101, 220, 239, .07), transparent 70%);
}
.threat-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "label label"
    "figure title"
    "figure copy"
    "figure source";
  gap: 22px 72px;
  align-items: start;
}
.threat .section-label { grid-area: label; }
.threat-figure {
  grid-area: figure;
  font-family: var(--display);
  font-size: clamp(84px, 11vw, 168px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.06em;
  background: linear-gradient(180deg, var(--text) 10%, var(--accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.threat-title {
  grid-area: title;
  font-family: var(--display);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.threat-copy {
  grid-area: copy;
  max-width: 58ch;
  color: var(--muted);
  font-size: 18px;
}
.threat-source {
  grid-area: source;
  color: var(--dim);
  font: 400 13px/1.5 var(--mono);
}

/* ===== 2b. Risk (GDPR) ===== */

.risk {
  position: relative;
  padding-block: clamp(88px, 11vw, 140px);
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 55% 60% at 15% 80%, rgba(242, 194, 123, .06), transparent 70%);
}
.risk-title { max-width: 20ch; }
.risk-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.risk-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(11, 17, 23, .5));
}
.risk-card:first-child {
  border-color: rgba(242, 194, 123, .4);
  background: radial-gradient(ellipse 80% 90% at 0% 0%, rgba(242, 194, 123, .1), transparent 70%), var(--surface);
}
.risk-figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.risk-card:first-child .risk-figure { color: var(--warn); }
.risk-number { display: inline-block; }
.risk-figure .risk-number:first-child { text-align: right; }
.risk-unit { font-size: .5em; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.risk-card:first-child .risk-unit { color: var(--warn); }
.risk-card h3 { margin-top: 22px; font-size: 18px; font-weight: 600; }
.risk-card p:not(.risk-figure) { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.risk-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 40px;
  margin-top: 28px;
}
.risk-closing { font-size: 19px; font-weight: 500; }
.risk-closing strong { color: var(--accent); }
.risk-source { max-width: 62ch; color: var(--dim); font: 400 13px/1.5 var(--mono); }

/* Swipe rows: on phones a long stack becomes one row of cards. */
.swipe-dots { display: none; }

/* ===== 3. Scan story (pinned) ===== */

.scan-story {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), #071017 50%, var(--bg));
}
.js .scan-story { height: 340vh; }
.js .scan-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.scan-sticky { padding-block: calc(var(--header-h) + 24px) 40px; }
.scan-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.scan-copy .section-title { font-size: clamp(32px, 3.6vw, 50px); }
.scan-intro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 46ch;
}
.scan-chapters {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}
.scan-chapter {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  opacity: .42;
  transition: opacity 300ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.scan-chapter.is-active {
  opacity: 1;
  border-color: var(--line-strong);
  background: rgba(101, 220, 239, .05);
}
.scan-chapter-index {
  color: var(--accent);
  font: 500 14px/1.6 var(--mono);
}
.scan-chapter-text { display: grid; gap: 2px; }
.scan-chapter-text strong { font-size: 18px; font-weight: 600; }
.scan-chapter-text span { color: var(--muted); font-size: 15px; line-height: 1.5; }

.terminal {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #060b10;
  box-shadow: 0 50px 120px -50px rgba(101, 220, 239, .4), 0 0 0 1px rgba(101, 220, 239, .04), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-title {
  color: var(--dim);
  font: 400 13px/1 var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-progress {
  position: relative;
  margin-left: auto;
  width: 90px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  flex: none;
}
.terminal-progress span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--scan-progress, 1));
}
.terminal-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .04em;
}
.terminal-head span:last-child { color: var(--accent); }
.terminal-body {
  position: relative;
  padding: 10px 22px 22px;
}
.js .terminal-body {
  height: min(470px, 58svh);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 28px), transparent);
}
.terminal-scroll { transition: transform 420ms var(--ease); }
.terminal-group + .terminal-group { margin-top: 10px; }
.terminal-chapter {
  padding: 14px 0 6px;
  color: var(--dim);
  font: 400 12px/1.4 var(--mono);
}
.terminal-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(172, 210, 225, .08);
}
.terminal-row code {
  font: 500 14px/1.5 var(--mono);
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal-plain {
  color: #d6dee2;
  font-size: 15px;
  line-height: 1.45;
}
.tone-cmd code { color: var(--accent); }
.tone-warn code { color: var(--warn); }
.tone-ok code { color: #9ff0c4; }
.js .scan-story .terminal-row { opacity: .14; transform: translateY(6px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.js .scan-story .terminal-row.is-on { opacity: 1; transform: none; }
.js .scan-story .terminal-row.is-on code { animation: type-in 520ms steps(24, end); }
.js .scan-story .terminal-row.is-current { background: linear-gradient(90deg, rgba(101, 220, 239, .07), transparent 80%); }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ===== 4. Services ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(11, 17, 23, .4));
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.service-card:hover { border-color: var(--line-strong); }
.service-visual {
  position: relative;
  height: 150px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 22px 22px,
    #070d12;
  overflow: hidden;
}
.service-number {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--muted);
  font: 500 12px/1 var(--mono);
}
.service-glyph {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(101, 220, 239, .5));
}
.service-scanline {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(101, 220, 239, .16), transparent);
  border-right: 1px solid rgba(101, 220, 239, .6);
  animation: sweep 3.2s linear infinite;
}
.services-grid .service-card:nth-child(2) .service-scanline { animation-delay: -1.06s; }
.services-grid .service-card:nth-child(3) .service-scanline { animation-delay: -2.13s; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.service-tag {
  color: var(--accent);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .06em;
}
.service-card h3 {
  margin-top: 10px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.service-description {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.service-points li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c4ced4;
  font-size: 13px;
  line-height: 1.35;
}

/* ===== 5. Process (scroll-filled line) ===== */

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-rail {
  position: absolute;
  top: 21px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--line);
  pointer-events: none;
}
.process-rail span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 16px var(--accent-glow);
  transform-origin: left;
  transform: scaleX(var(--fill, 1));
}
.process-step { position: relative; }
.process-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  font: 500 14px/1 var(--mono);
  transition: border-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease), background-color 300ms var(--ease);
}
.process-step.is-lit .process-node,
html:not(.js) .process-node {
  border-color: var(--accent);
  background: #071a20;
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.process-step h3 {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.process-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== 6. Report ===== */

.deliverables-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.deliverables-copy .section-aside { margin-top: 18px; }
.deliverables-grid {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.deliverable {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.deliverable h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.deliverable-mark {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  flex: none;
}
.report-window {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 50px 120px -50px rgba(101, 220, 239, .35);
  overflow: hidden;
}
.report-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 400 13px/1.3 var(--mono);
}
.report-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-status { display: inline-flex; align-items: center; gap: 8px; color: #9ff0c4; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9ff0c4; box-shadow: 0 0 10px #9ff0c4; }
.report-page {
  margin: 22px;
  padding: 30px;
  border-radius: 10px;
  background: #e9eef1;
  color: #0b1117;
}
.report-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.report-brand .brand-symbol span { border-color: #0e7d90; }
.report-brand .brand-symbol span:nth-child(2),
.report-brand .brand-symbol span:nth-child(3) { background: #0e7d90; }
.report-heading { margin-top: 24px; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.report-lines { display: grid; gap: 8px; margin-top: 14px; }
.report-lines span { height: 7px; border-radius: 4px; background: #c9d3d8; }
.report-lines span:nth-child(2) { width: 88%; }
.report-lines span:nth-child(3) { width: 64%; }
.report-lines.short span:first-child { width: 76%; }
.report-lines.short span:last-child { width: 48%; }
.report-severity { display: grid; gap: 12px; margin-block: 26px; }
.report-severity li {
  display: grid;
  grid-template-columns: 112px 1fr 22px;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.sev-bar { height: 10px; border-radius: 6px; background: #d7dfe3; overflow: hidden; }
.sev-bar span { display: block; height: 100%; border-radius: 6px; transform-origin: left; transform: scaleX(var(--sev, 1)); transition: transform 900ms var(--ease-enter); }
.sev-high .sev-bar span { width: 34%; background: #d9534f; }
.sev-mid .sev-bar span { width: 62%; background: #e3a33b; }
.sev-low .sev-bar span { width: 86%; background: #0e7d90; }
.sev-count { text-align: right; font-family: var(--mono); }

/* ===== 7. Black box ===== */

.black-box-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.black-box-subtitle {
  margin-top: 16px;
  color: var(--text);
  font-size: 19px;
}
.black-box-description { color: #b9c4cb; }
.black-box-benefits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.black-box-benefit {
  grid-column: span 2;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.black-box-benefit:nth-child(4),
.black-box-benefit:nth-child(5) { grid-column: span 3; }
.benefit-index { color: var(--accent); font: 500 13px/1 var(--mono); }
.black-box-benefit h3 { margin-top: 20px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.black-box-benefit p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.black-box-closing {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--muted);
  font: 400 14px/1.5 var(--mono);
}
.black-box-closing .arrow-icon { color: var(--accent); }

/* ===== 8. Snapshot ===== */

.snapshot-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px 72px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(101, 220, 239, .35);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(101, 220, 239, .16), transparent 70%),
    linear-gradient(180deg, #08141b, var(--surface));
  overflow: hidden;
}
.snapshot-copy h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.snapshot-description { margin-top: 18px; color: var(--muted); max-width: 58ch; }
.snapshot-benefits { display: grid; gap: 10px; margin-top: 24px; }
.snapshot-benefits li { position: relative; padding-left: 28px; color: #d6dee2; font-size: 16px; }
.snapshot-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.snapshot-benefits li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(.3em + 4px);
  width: 6px;
  height: 4px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.snapshot-details { margin-top: 18px; }
.snapshot-action {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}
.snapshot-closing {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.snapshot-button { align-self: flex-start; }
.snapshot-microtext { color: var(--dim); font: 400 13px/1.5 var(--mono); }

/* ===== 9. Pricing ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .9); }
}
.price-card.featured {
  border-color: rgba(101, 220, 239, .55);
  background: linear-gradient(180deg, #0a1b22, var(--surface) 60%);
  box-shadow: 0 0 0 1px rgba(101, 220, 239, .15), 0 40px 90px -50px var(--accent-glow);
}
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-heading h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.plan-recommendation {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 12px/1 var(--mono);
}
.price-offer-name { margin-top: 6px; color: var(--dim); font: 400 13px/1.4 var(--mono); }
.price-headline { margin-top: 22px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.price-description { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.price span { width: 100%; color: var(--dim); font: 400 13px/1.3 var(--mono); }
.price strong { font-size: clamp(42px, 4vw, 54px); font-weight: 650; line-height: 1; letter-spacing: -.045em; }
.price small { color: var(--muted); font-size: 14px; }
.price-delivery { margin-top: 12px; color: var(--muted); font-size: 14px; }
.price-delivery span { color: var(--accent); font-family: var(--mono); font-size: 13px; }
.plan-brief { display: grid; gap: 9px; margin-top: 20px; }
.plan-brief li { position: relative; padding-left: 20px; color: #d6dee2; font-size: 15px; line-height: 1.45; }
.plan-brief li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--accent); }
.plan-details { margin-top: 14px; }
.plan-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 320ms var(--spring), box-shadow 200ms var(--ease);
}
.plan-details + .plan-link,
.plan-brief + .plan-link { margin-top: 24px; }
.price-card .sample-link { margin-top: auto; }
.price-card .sample-link + .plan-link { margin-top: 10px; }
.price-card .plan-details { margin-bottom: 22px; }
.plan-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.featured .plan-link { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.featured .plan-link:hover { background: var(--accent-strong); }
.pricing-notes {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin-top: 36px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
}
.pricing-note { color: var(--muted); }
.pricing-conditions summary { min-height: 44px; }
.pricing-tax-note {
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
}

/* ===== 10. FAQ ===== */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: 48px 80px;
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro .section-copy { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 150ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1.5px;
  background: var(--accent);
  transition: transform 200ms var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 40px 22px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ===== 11. Close ===== */

.contact {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 120px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: radial-gradient(ellipse 50% 60% at 78% 50%, rgba(101, 220, 239, .1), transparent 70%);
}
.contact-visual {
  position: absolute;
  inset: 0 -2% 0 54%;
  z-index: -1;
}
.contact-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.contact.webgl-ready .contact-visual canvas { opacity: 1; }
.transformation-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 80%);
  transform: translate(-50%, -50%);
  opacity: .9;
}
.contact.webgl-ready .transformation-fallback { opacity: 0; }
.contact-inner { position: relative; }
.contact h2 {
  max-width: 12ch;
  margin-top: 24px;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.05em;
}
.contact h2 em { display: block; color: var(--accent); font-style: normal; }
.contact-inner > p:not(.eyebrow) { max-width: 44ch; margin-top: 24px; color: var(--muted); font-size: 19px; }
.contact-button { margin-top: 36px; }
.contact-email { margin-top: 22px; color: var(--dim); font: 400 14px/1.5 var(--mono); }
.contact-email-row { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.contact-email a { color: var(--accent); text-underline-offset: 4px; }

/* ===== Footer ===== */

.site-footer {
  padding-block: 64px 32px;
  border-top: 1px solid var(--line);
  background: #04070a;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand p { max-width: 36ch; margin-top: 16px; color: var(--muted); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-size: 15px; text-decoration: none; transition: color 150ms var(--ease); }
.footer-nav a:hover { color: var(--text); }
.footer-approved {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}
.footer-company,
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-legal a { color: var(--muted); text-underline-offset: 4px; }
.footer-legal a:hover { color: var(--accent); }
.footer-identity summary { cursor: pointer; color: var(--muted); }
.footer-identity p { margin-top: 6px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  color: var(--dim);
  font: 400 13px/1.5 var(--mono);
}

/* ===== Mobile action bar ===== */

.mobile-context-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1) inset;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 320ms var(--spring);
}
.mobile-context-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ===== Legal pages (privacy, cookie) ===== */

.legal-page { background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(101, 220, 239, .08), transparent 70%), var(--bg); }
.legal-header .header-inner { justify-content: space-between; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.legal-back:hover { border-color: var(--accent); background: var(--accent-soft); }
.legal-back:hover .arrow-icon { transform: translateX(-3px); }
.legal-main {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(64px, 9vw, 120px);
}
.legal-doc { max-width: 760px; margin-inline: auto; }
.legal-doc h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.legal-body { margin-top: 28px; color: #c9d3d8; font-size: 17px; line-height: 1.75; }
.legal-body > p:first-child {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: 400 13px/1.4 var(--mono);
}
.legal-body > p:first-child strong { font-weight: 400; color: var(--muted); }
.legal-body h2 {
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.legal-body p { margin: 0 0 14px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body ul { display: grid; gap: 12px; margin: 6px 0 18px; }
.legal-body li {
  position: relative;
  padding: 16px 18px 16px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.55em;
  width: 10px;
  height: 1.5px;
  background: var(--accent);
}
.legal-body a { color: var(--accent); text-underline-offset: 4px; }
.legal-siblings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-siblings a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.legal-siblings a:hover { border-color: var(--accent); color: var(--text); }
.legal-siblings a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.legal-footer { padding-block: 28px; }
.legal-footer .footer-bottom { margin-top: 0; }
.legal-footer a { color: var(--muted); text-underline-offset: 4px; }
@media (max-width: 699px) {
  .legal-back span { display: none; }
  .legal-back { width: 46px; padding: 0; justify-content: center; }
  .legal-body { font-size: 16px; }
  .legal-body li { padding: 14px 14px 14px 34px; font-size: 15px; }
  .legal-body li::before { left: 14px; }
}

/* ===== Staging-only markers ===== */

.staging-preview-note,
.pricing-review-note,
.staging-demo-note {
  padding: 14px 16px;
  border: 1px dashed rgba(242, 194, 123, .5);
  border-radius: var(--radius-sm);
  color: var(--warn);
  font: 400 13px/1.5 var(--mono);
}
.staging-preview-note { margin-bottom: 40px; border: 1px solid var(--line); border-style: solid; color: var(--dim); }
.legal-heading { margin-block: 28px; }
.legal-heading h1 { color: var(--text); font: 600 32px/1.2 var(--body); letter-spacing: -.02em; }
.pricing-review-note { margin-bottom: 24px; }
.staging-mode .contact-email-row > span:last-child { color: var(--text); }
.staging-legal-page { min-height: 100vh; padding-block: 60px; }
.staging-legal-page > a { color: var(--accent); text-underline-offset: 4px; }
.staging-legal-page .staging-demo-note { margin-block: 28px; }
.staging-demo-note h1 { margin-bottom: 8px; color: var(--text); font: 600 28px/1.2 var(--body); }
.staging-legal-page ul { display: grid; gap: 8px; color: var(--muted); }
.staging-privacy-draft { max-width: 70ch; margin: 2rem auto 0; color: #d4e2ed; line-height: 1.7; }
.staging-privacy-draft h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.25; margin: 2rem 0 .7rem; color: #f5faff; }
.staging-privacy-draft p { margin: 0 0 1rem; }
.staging-privacy-draft ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1rem; }
.staging-privacy-draft a { color: var(--accent); }
.staging-privacy-draft table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 15px; }
.staging-privacy-draft th,
.staging-privacy-draft td { padding: 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

/* ===== Responsive ===== */

@media (max-width: 1100px) {
  .scan-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .process-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .process-rail { display: none; }
}

@media (max-width: 1050px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
    overflow-y: auto;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s; }
  .primary-nav > a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 64px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.02em;
  }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: space-between; min-height: 56px; margin-top: 28px; font-size: 17px; }
  body.menu-open .site-header { background: var(--bg); border-bottom-color: var(--line); }
  .nojs-mobile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 0 var(--gutter) 16px;
  }
  .nojs-mobile-nav a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 900px) {
  .section-heading-row,
  .black-box-header,
  .deliverables-layout,
  .faq-grid,
  .snapshot-panel { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
  .services-grid,
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .black-box-benefits { grid-template-columns: minmax(0, 1fr); }
  .black-box-benefit,
  .black-box-benefit:nth-child(4),
  .black-box-benefit:nth-child(5) { grid-column: auto; }
  .risk-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .threat-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "figure" "title" "copy" "source";
  }
  .process-track { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .process-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 20px;
    padding-bottom: 34px;
  }
  .process-step::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--line);
  }
  .process-step:last-child::before { display: none; }
  .process-step.is-lit::before { background: var(--accent); }
  .process-node { grid-row: span 2; }
  .process-step h3 { margin-top: 10px; }
  .contact { flex-direction: column; align-items: stretch; padding-top: 72px; }
  .contact-visual { position: relative; inset: auto; z-index: 0; width: 100%; height: min(46svh, 420px); margin-bottom: 8px; }
  .contact-visual .transformation-fallback { width: min(300px, 70%); }

  /* Scan story on tablets and phones: the terminal holds the screen, chapters become a compact strip. */
  .scan-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: center; }
  .js .scan-intro { display: none; }
  .js .scan-copy .section-title { font-size: clamp(26px, 6.4vw, 36px); margin-top: 12px; }
  .js .scan-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
  .js .scan-chapter { grid-template-columns: 1fr; gap: 0; padding: 10px 10px; border-color: var(--line); }
  .js .scan-chapter-index { font-size: 12px; }
  .js .scan-chapter-text span { display: none; }
  .js .scan-chapter-text strong { font-size: 15px; }
  .js .terminal-body { height: min(380px, 44svh); }
}

@media (max-width: 699px) {
  body { font-size: 16px; }

  /* Compact phone layout */
  .section { padding-block: 72px; }
  .section-heading-row { gap: 14px; margin-bottom: 32px; }
  .section-title { font-size: clamp(30px, 8.6vw, 40px); }
  .section-aside, .section-copy { font-size: 15px; }
  .threat, .risk { padding-block: 72px; }
  .threat-copy { font-size: 16px; }
  .risk-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .risk-card { padding: 18px 16px 20px; }
  .risk-card:first-child { grid-column: 1 / -1; padding: 20px 20px 22px; }
  .risk-figure { font-size: 30px; }
  .risk-card:first-child .risk-figure { font-size: 40px; }
  .risk-card:not(:first-child) p:not(.risk-figure) { font-size: 13px; }
  .risk-card h3 { margin-top: 12px; font-size: 17px; }
  .risk-card p:not(.risk-figure) { font-size: 14px; }
  .risk-closing { font-size: 17px; }

  [data-swipe] {
    display: flex;
    gap: 12px;
    max-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .swipe-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
  .swipe-dots span {
    width: 6px;
    height: 6px;
    border-radius: 6px;
    background: rgba(172, 210, 225, .38);
    transition: width 200ms var(--ease), background-color 200ms var(--ease);
  }
  .swipe-dots span.is-active { width: 20px; background: var(--accent); }

  .service-card { padding: 14px 14px 20px; }
  .service-visual { height: 92px; margin-bottom: 18px; }
  .service-glyph { width: 46px; height: 46px; }
  .service-card h3 { font-size: 20px; }
  .service-points li { font-size: 12px; padding: 4px 9px; }
  .black-box-benefit,
  .black-box-benefit:nth-child(4),
  .black-box-benefit:nth-child(5) { padding: 20px 20px 22px; }
  .black-box-header { margin-bottom: 28px; gap: 16px; }
  .black-box-subtitle { font-size: 17px; }
  .black-box-description { font-size: 15px; }
  .black-box-closing { margin-top: 22px; font-size: 13px; align-items: flex-start; }
  .process-step { padding-bottom: 22px; }
  .process-step p { font-size: 14px; }
  .deliverables-grid { grid-template-columns: 1fr 1fr; column-gap: 14px; margin-top: 22px; }
  .deliverable { align-items: flex-start; gap: 10px; padding: 12px 0; }
  .deliverable-mark { margin-top: 5px; }
  .deliverable h3 { font-size: 14px; line-height: 1.35; }
  .report-lines { display: none; }
  .report-heading { margin-top: 16px; font-size: 18px; }
  .report-severity { margin-block: 18px 4px; }
  .snapshot-copy h2 { font-size: 28px; }
  .snapshot-panel { padding: 26px 20px; gap: 24px; }
  .snapshot-description { font-size: 15px; }
  .snapshot-benefits li { font-size: 15px; }
  .price-card { padding: 22px 20px 20px; }
  .price-headline { margin-top: 14px; font-size: 17px; }
  .price { margin-top: 16px; padding-top: 16px; }
  .price strong { font-size: 42px; }
  .plan-brief li { font-size: 14px; }
  .pricing-notes { margin-top: 24px; font-size: 13px; }
  .faq-grid { gap: 28px; }
  .faq-item summary { min-height: 56px; padding: 12px 0; }
  .mobile-context-cta { display: flex; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-question { font-size: clamp(38px, 11vw, 54px); }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-console { margin-top: 32px; }
  .console-line { font-size: 13px; }
  .console-status { font-size: 12px; }
  .terminal-head { display: none; }
  .terminal-body { padding: 4px 16px 16px; }
  .terminal-row { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 9px 0; }
  .terminal-row code { font-size: 13px; }
  .terminal-plain { font-size: 14px; color: #c4ced4; }
  .terminal-plain::before { content: "→ "; color: var(--accent); }
  .terminal-title { font-size: 12px; }
  .terminal-progress { width: 56px; }
  .js .scan-sticky { padding-top: calc(var(--header-h) + 8px); padding-bottom: 20px; }
  .report-page { margin: 14px; padding: 22px; }
  .report-severity li { grid-template-columns: 96px 1fr 18px; gap: 10px; font-size: 12px; }
  .faq-item summary { font-size: 17px; }
  .faq-answer { padding-right: 0; }
  .contact { min-height: auto; padding-block: 56px 120px; }
  .contact-button { width: 100%; }
  .snapshot-button { align-self: stretch; }
  .snapshot-button,
  .contact-button { white-space: normal; text-align: center; line-height: 1.3; padding-block: 14px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .js .scan-chapter-text strong { font-size: 13px; }
  .brand { font-size: 19px; }
}

/* ===== Scroll tape: values come from site.js as --p (0..1) and rewind on the way up ===== */

.js .is-taped .sw { opacity: .14; transition: opacity 160ms linear; }
.js .is-taped .sw.is-lit { opacity: 1; }
.js [data-tape="fade"] {
  opacity: calc(.1 + .9 * var(--p, 1));
  translate: 0 calc((1 - var(--p, 1)) * 26px);
}
.js [data-tape="pop"] {
  opacity: calc(.08 + .92 * var(--p, 1));
  scale: calc(.78 + .22 * var(--p, 1));
  transform-origin: left bottom;
}
.js [data-tape="group"] > * {
  --q: clamp(0, calc(var(--p, 1) * (var(--n, 1) + 1) - var(--i, 0)), 1);
  opacity: calc(.04 + .96 * var(--q));
  translate: 0 calc((1 - var(--q)) * 40px);
}
.js [data-tape="bars"] {
  opacity: calc(.25 + .75 * min(1, calc(var(--p, 1) * 2)));
  translate: 0 calc((1 - min(1, calc(var(--p, 1) * 2))) * 30px);
}
.js [data-tape="bars"] .sev-bar span {
  transition: none;
  transform: scaleX(clamp(0, calc(var(--p, 1) * 1.8 - .35 - var(--d, 0)), 1));
}
.report-severity li:nth-child(2) { --d: .2; }
.report-severity li:nth-child(3) { --d: .4; }
.js .hero-inner {
  opacity: calc(1 - var(--x, 0) * .6);
  translate: 0 calc(var(--x, 0) * -80px);
  scale: calc(1 - var(--x, 0) * .05);
}

/* ===== No script: everything stands, nothing pinned ===== */

@media (max-width: 1050px) {
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .menu-toggle { display: none; }
}
html:not(.js) .scan-story { height: auto; }
html:not(.js) .scan-sticky { position: static; height: auto; padding-block: 100px; }
html:not(.js) .scan-chapter { opacity: 1; }

/* ===== Tap feedback: every control answers the finger or the pointer =====
   site.js adds .is-pressed on touch (iOS skips :active), a wave from the point of contact,
   and a line under email buttons. Without JavaScript the plain :active press remains. */

.button,
.nav-cta,
.plan-link,
.menu-toggle,
.faq-item summary { position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.mobile-context-cta { overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.primary-nav > a:not(.nav-cta) .tap-ripple { display: none; }
.language-menu summary,
.editorial-detail summary { -webkit-tap-highlight-color: transparent; }
.nav-cta:active, .nav-cta.is-pressed,
.plan-link:active, .plan-link.is-pressed,
.mobile-context-cta.is-visible:active, .mobile-context-cta.is-visible.is-pressed { transform: scale(.95); transition-duration: 90ms; }
.menu-toggle { transition: transform 320ms var(--spring), border-color 150ms var(--ease); }
.menu-toggle:active, .menu-toggle.is-pressed { transform: scale(.88); transition-duration: 90ms; }
.language-menu summary { transition: transform 320ms var(--spring), border-color 150ms var(--ease); }
.language-menu summary:active, .language-menu summary.is-pressed { transform: scale(.94); transition-duration: 90ms; }
.editorial-detail summary { transition: transform 320ms var(--spring), color 150ms var(--ease); transform-origin: left center; }
.editorial-detail summary:active, .editorial-detail summary.is-pressed { transform: scale(.96); transition-duration: 90ms; }
.editorial-detail summary::after { transition: transform 360ms var(--spring); }
.faq-item summary { border-radius: 12px; }
.faq-item summary:active, .faq-item summary.is-pressed { color: var(--accent); }
.faq-icon::before, .faq-icon::after { transition: transform 360ms var(--spring); }
.button.is-pressed .arrow-icon,
.nav-cta.is-pressed .arrow-icon,
.plan-link.is-pressed .arrow-icon,
.mobile-context-cta.is-pressed .arrow-icon { transform: translateX(4px); }

.tap-ripple {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: -1;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(167, 243, 251, .32), rgba(101, 220, 239, .1) 62%, transparent);
  pointer-events: none;
  transform: scale(0);
  animation: tap-ripple 640ms var(--ease) forwards;
}
.button-primary .tap-ripple,
.featured .plan-link .tap-ripple,
.mobile-context-cta .tap-ripple,
.nav-cta .tap-ripple { background: radial-gradient(closest-side, rgba(255, 255, 255, .6), rgba(255, 255, 255, .16) 62%, transparent); }
@keyframes tap-ripple { 70% { opacity: 1; } to { transform: scale(1); opacity: 0; } }

/* Answers open the way a drawer slides: the text arrives instead of jumping in. */
.faq-item[open] .faq-answer,
.editorial-detail[open] .detail-content { animation: note-in 360ms var(--ease-enter) both; }
.faq-item[open] summary { color: var(--accent); }

/* Email buttons: the arrow leaves and comes back, and a line says what happens next. */
.is-sent { animation: sent-glow 900ms var(--ease) 1; }
.is-sent .arrow-icon { animation: arrow-out 700ms var(--ease) 1; }
@keyframes sent-glow { 0% { box-shadow: 0 0 0 0 rgba(101, 220, 239, .55); } 100% { box-shadow: 0 0 0 18px rgba(101, 220, 239, 0); } }
@keyframes arrow-out { 0% { transform: none; } 45% { transform: translateX(26px); opacity: 0; } 46% { transform: translateX(-26px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes note-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mail-feedback {
  max-width: 46ch;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(101, 220, 239, .35);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
}
.mail-feedback.is-shown { animation: note-in 380ms var(--ease-enter) forwards; }
.price-card .mail-feedback { max-width: none; margin-top: 12px; font-size: 14px; }
.mail-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 60;
  width: min(440px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(101, 220, 239, .4);
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 360ms var(--spring);
}
.mail-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* In-page links: the section number lights up once the page lands. */
.section-index.is-arrived { animation: index-arrive 1300ms var(--ease) 1; }
h2.is-arrived { animation: heading-arrive 1300ms var(--ease) 1; }
@keyframes index-arrive {
  0% { transform: scale(1); }
  18% { transform: scale(1.25); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft); }
  60% { transform: scale(1); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  100% { transform: scale(1); }
}
@keyframes heading-arrive { 0%, 30% { text-shadow: 0 0 26px var(--accent-glow); } 100% { text-shadow: none; } }

/* Phone menu: the links come in one after the other, each with a clear arrow to tap. */
@media (max-width: 1050px) {
  .js .primary-nav.is-open > a { animation: menu-link-in 420ms var(--ease-enter) both; }
  .js .primary-nav.is-open > a:nth-child(2) { animation-delay: 40ms; }
  .js .primary-nav.is-open > a:nth-child(3) { animation-delay: 80ms; }
  .js .primary-nav.is-open > a:nth-child(4) { animation-delay: 120ms; }
  .js .primary-nav.is-open > a:nth-child(5) { animation-delay: 160ms; }
  .js .primary-nav.is-open > a:nth-child(6) { animation-delay: 200ms; }
  .js .primary-nav.is-open > a:nth-child(7) { animation-delay: 240ms; }
  .primary-nav > a:not(.nav-cta) { justify-content: space-between; padding-right: 4px; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; transition: color 150ms var(--ease), padding 320ms var(--spring); }
  .primary-nav > a:not(.nav-cta) .tap-ripple { display: block; }
  .primary-nav > a:not(.nav-cta)::after {
    display: block;
    position: static;
    content: "";
    width: 9px;
    height: 9px;
    border-top: 1.6px solid var(--accent);
    border-right: 1.6px solid var(--accent);
    background: none;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 320ms var(--spring);
  }
  .primary-nav > a:not(.nav-cta):hover::after { transform: rotate(45deg); }
  .primary-nav > a:not(.nav-cta).is-pressed { padding-left: 8px; color: var(--accent); }
  .primary-nav > a:not(.nav-cta).is-pressed::after { transform: translateX(4px) rotate(45deg); }
  .primary-nav > a[aria-current="page"] { color: var(--accent); }
}
@keyframes menu-link-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Phones: the email note sits above the bottom bar, and buttons are full, easy targets. */
@media (max-width: 699px) {
  .mail-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .plan-link { min-height: 56px; font-size: 16px; }
  .editorial-detail summary { min-height: 48px; padding-right: 12px; }
  .faq-item summary { margin-inline: -10px; padding-inline: 10px; }
}

/* ===== Sample report links: what you receive, before you ask for it ===== */

.sample-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), transform 320ms var(--spring);
}
.sample-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sample-text { display: grid; gap: 3px; min-width: 0; }
.sample-title { font-size: 15px; font-weight: 600; line-height: 1.25; }
.sample-meta { color: var(--muted); font: 400 12px/1.2 var(--mono); }
.sample-arrow { width: 16px; height: 16px; margin-left: auto; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 320ms var(--spring), stroke 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .sample-link:hover { border-color: var(--accent); background: var(--accent-soft); }
  .sample-link:hover .sample-arrow { stroke: var(--accent); transform: translate(2px, -2px); }
}
.sample-link:active, .sample-link.is-pressed { transform: scale(.97); transition-duration: 90ms; }
.sample-link.is-pressed .sample-arrow { transform: translate(2px, -2px); stroke: var(--accent); }
.snapshot-action .sample-link,
.snapshot-action .snapshot-button { align-self: flex-start; width: min(100%, 340px); }
@media (max-width: 699px) {
  .snapshot-action .sample-link,
  .snapshot-action .snapshot-button { align-self: stretch; width: auto; }
  .sample-link { gap: 10px; padding: 8px 12px 8px 11px; }
  .sample-title { font-size: 14px; }
  .sample-icon { width: 20px; height: 20px; }
}

/* ===== Reduced motion: the finished frame of every moment ===== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .scan-story { height: auto; }
  .js .scan-sticky { position: static; height: auto; padding-block: 100px; }
  .js .terminal-body { height: auto; -webkit-mask-image: none; mask-image: none; }
  .js .scan-story .terminal-row { opacity: 1; transform: none; }
  .js .scan-intro, .js .scan-chapter-text span { display: grid; }
  .scan-chapter { opacity: 1; }
  .service-scanline, .console-caret, .signal-dot::after { animation: none !important; }
  .tap-ripple { display: none; }
  .is-sent, .is-sent .arrow-icon, .is-arrived, .primary-nav.is-open > a, .faq-item[open] .faq-answer, .editorial-detail[open] .detail-content { animation: none !important; }
}

@media print {
  .site-header, .mobile-context-cta, .contact-visual, .hero-ground { display: none; }
  .js .scan-story { height: auto; }
  .js .scan-sticky { position: static; height: auto; }
  .js .terminal-body { height: auto; }
  .js .scan-story .terminal-row { opacity: 1; }
}
