:root {
  --white: #ffffff;
  --sand: #F6EFE4;
  --ink: #121826;
  --amber: #E0892B;
  --amber-light: #F2A33A;
  --amber-deep: #B8661A;
  --teal: #0E7C86;
  --teal-ink: #0A5F67;
  --red: #B42318;
  --line: rgba(18, 24, 38, 0.12);
  --shadow: 0 20px 60px rgba(18, 24, 38, 0.08);
  --display: "Familjen Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Onest", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 16px;
  /* one spacing scale: 8 / 16 / 24 / 32 / 48 / 64 / 96 / 128 */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a, a:hover { text-decoration: none; }
a { color: var(--teal-ink); font-weight: 500; }
a:hover { color: var(--teal); }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--s2); top: var(--s2); z-index: 100; background: var(--white); padding: var(--s1) var(--s2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s3); }
.wrap.narrow { max-width: 860px; }

/* Top bar and nav */
.topbar { background: var(--ink); color: var(--white); text-align: center; padding: var(--s1) var(--s2); font-size: 16px; }
.topbar a { color: var(--amber-light); }
.topbar a:hover { color: var(--white); }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: var(--s4); height: 72px; }
.logo { display: inline-flex; align-items: center; gap: var(--s1); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 22px; }
.logo:hover { color: var(--ink); }
.nav-links { display: flex; gap: var(--s4); margin-left: auto; }
.nav-links a { color: var(--ink); font-size: 17px; }
.nav-links a:hover { color: var(--teal-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 var(--s4); border-radius: 14px;
  font-family: var(--body); font-size: 18px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 0 var(--amber-deep); }
.btn-primary:hover { background: var(--amber-light); color: var(--ink); }
.btn-primary:active { box-shadow: 0 3px 0 var(--amber-deep); transform: translateY(3px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }
.btn-small { min-height: 48px; padding: 0 var(--s3); font-size: 17px; box-shadow: 0 4px 0 var(--amber-deep); }

/* Hero */
.hero { padding: var(--s6) 0 var(--s7); background: linear-gradient(180deg, var(--white) 0%, var(--white) 55%, var(--sand) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: var(--s4); align-items: center; }
.hero-copy h1 { max-width: none; font-size: clamp(38px, 3.6vw, 56px); line-height: 1.1; }
.lead { font-size: 24px; line-height: 1.45; margin-top: var(--s3); }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-stat { margin-top: var(--s4); max-width: 34em; }

.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Stage: static composition by default (no JS, reduced motion) */
.stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 600px; margin: 0 auto; }
.notif {
  position: absolute; top: 0; right: 0; width: 82%; z-index: 3;
  display: flex; align-items: center; gap: var(--s2); padding: var(--s2);
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 24, 38, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.3;
  opacity: 0; visibility: hidden;
}
.notif-icon svg { display: block; }
.notif-text { display: flex; flex-direction: column; min-width: 0; }
.notif-text strong { font-weight: 600; }
.notif-time { margin-left: auto; align-self: flex-start; }

.mail {
  position: absolute; top: 4%; left: 0; width: 92%; z-index: 1;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(18, 24, 38, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.45;
  overflow: hidden; transform-origin: 70% 10%;
}
.mail-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--s2); background: #F3F3F5; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: var(--s1); }
.lights i { width: 13px; height: 13px; border-radius: 50%; background: #FF5F57; display: block; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.mail-tools { display: flex; gap: var(--s2); color: var(--ink); }
.mail-tools svg { display: block; }
.mail-head { display: flex; gap: var(--s2); padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.mail-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(160deg, #2A3142 0%, #0B0F18 100%); color: #FFFFFF; display: grid; place-items: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 20px; font-weight: 600; flex: none; }
.mail-meta { min-width: 0; }
.mail-from { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s2); }
.mail-from strong { font-weight: 600; font-size: 17px; }
.mail-subject { font-weight: 600; font-size: 18px; }
.mail-body { padding: var(--s2) var(--s3) var(--s3); display: grid; gap: var(--s2); font-size: 17px; }

.pounce {
  position: absolute; z-index: 2; width: 70%; right: -4%; bottom: -6%;
  filter: drop-shadow(0 24px 30px rgba(18, 24, 38, 0.18));
  transform-origin: 50% 80%;
}

/* Hero story (app.js): Email (notif, ransom mail) -> Lynx (pounce) -> the same lynx in a hoodie,
   coding on the laptop forever. Default (no JS / reduced motion) is the static final frame. */
.hero-visual { min-width: 0; }
.notif, .mail, .pounce { visibility: hidden; }

.hack { position: absolute; inset: 0; z-index: 4; }
.hack-art { position: absolute; width: 100%; right: -6%; bottom: -3%; aspect-ratio: 851 / 944; transform-origin: 55% 75%; }
.hack-lynx { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(18, 24, 38, 0.18)); }
/* Laptop screen: app.js sizes this box to the screen and maps it onto the lid with matrix3d */
.scr { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; visibility: hidden; background: #0F1420;
  font: 500 11px/13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #C9D2E0; }
.scr.ready { visibility: visible; }
.scr-lines { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 6px; }
.scr-lines p { margin: 0; white-space: pre; overflow: hidden; }
.scr-lines.shift { transition: transform .22s ease; transform: translateY(calc(-1 * var(--lh, 13px))); }
.scr .c-cmd { color: #7FD8C8; }
.scr .c-hit { color: #F2A33A; font-weight: 700; }
.scr .c-ok { color: #5BD68A; font-weight: 700; }
.scr .c-dim { color: #7A8599; }
.caret { display: inline-block; width: 6px; height: 11px; margin-left: 1px; vertical-align: -1px; background: #E8ECF3; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.stage.paused *, .stage.paused .caret { animation-play-state: paused !important; }

.mini {
  position: absolute; bottom: 4%; left: -4%; width: 46%; z-index: 5;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(18, 24, 38, 0.16); font-size: 14px;
}
.mini-bar { display: flex; align-items: center; gap: var(--s1); padding: 6px var(--s1); background: #F3F3F5; border-bottom: 1px solid var(--line); }
.mini-dots { display: flex; gap: 5px; }
.mini-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D9D4CC; }
.mini-url { display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; justify-content: center; padding: 1px 6px; background: var(--white); border-radius: 8px; font-weight: 500; font-size: 13px; }
.lock { color: var(--red); display: block; flex: none; }
.lock .crack { opacity: 1; }
.mini-body { padding: var(--s1) 12px 12px; display: grid; gap: 6px; }
.mini-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.mini-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-log .hit { color: var(--red); font-weight: 600; }
.mini-log .ok { color: var(--teal-ink); font-weight: 600; }
.found { font-weight: 600; color: var(--red); font-size: 14px; line-height: 1.3; }

/* Animated version (JS adds .anim and steps the s-* classes) */
.stage.anim .notif { visibility: visible; opacity: 0; transform: translateX(40px) translateY(-12px); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .45s ease; }
.stage.anim .mail { visibility: visible; opacity: 0; transform: translateY(-24px) scale(.9); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .45s ease; }
.stage.anim .pounce { visibility: visible; opacity: 0; transform: translate(70%, -70%) rotate(16deg) scale(.5); }
.stage.anim .hack { opacity: 0; visibility: hidden; }
.stage.anim.s-banner .notif { opacity: 1; transform: none; }
.stage.anim.s-open .notif { opacity: 0; transform: translateY(-16px) scale(.96); }
.stage.anim.s-open .mail { opacity: 1; transform: none; }
.stage.anim.s-pounce .pounce { animation: pounce .9s cubic-bezier(.3, .6, .25, 1) forwards; }
.stage.anim.s-pounce .mail { animation: mailClose .55s .45s cubic-bezier(.5, 0, .75, 0) forwards; }
.stage.anim.s-pounce .trash { color: var(--red); }
/* Pounce -> laptop: one 380ms move. The landing lynx shrinks into the seated pose while the
   hooded lynx grows out of the same spot, so there is never an empty frame. */
.stage.anim.s-hack .pounce { animation: pounceOut .38s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes pounceOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(-2%, 6%) scale(.94); } }
.stage.anim.s-hack .hack { opacity: 1; visibility: visible; }
.stage.anim .hack-art { opacity: 0; transform: translate(4%, -6%) scale(1.06); }
.stage.anim.s-hack .hack-art { opacity: 1; transform: none; transition: opacity .38s ease, transform .38s cubic-bezier(.2, .8, .2, 1); }
.stage.anim .mini { opacity: 0; transform: translateY(12px) scale(.98); }
.stage.anim.s-hack .mini { opacity: 1; transform: none; transition: opacity .4s .35s ease, transform .5s .35s cubic-bezier(.2, .8, .2, 1); }
.stage.anim .mini-log li, .stage.anim .found { opacity: 0; }
.stage.anim.s-hack .mini-log li, .stage.anim.s-hack .found { animation: flash .4s ease both; }
.stage.anim.s-hack .mini-log li:nth-child(1) { animation-delay: .7s; }
.stage.anim.s-hack .mini-log li:nth-child(2) { animation-delay: 1.1s; }
.stage.anim.s-hack .mini-log li:nth-child(3) { animation-delay: 1.5s; }
.stage.anim.s-hack .found { animation-delay: 2s; }
.stage.anim.s-hack.live .mini-log li { animation: none; opacity: 1; }
.stage.anim.s-hack.live .mini-log li.new { animation: flash .4s ease both; }
.stage.anim .lock { color: var(--ink); }
.stage.anim .lock .crack { opacity: 0; }
.stage.anim.s-hack .lock { animation: lockRed .4s 1.7s both; }
.stage.anim.s-hack .lock .crack { animation: crack .3s 1.7s both; }

@keyframes pounce {
  0% { opacity: 0; transform: translate(70%, -70%) rotate(16deg) scale(.5); }
  15% { opacity: 1; }
  58% { opacity: 1; transform: translate(-3%, 4%) rotate(-5deg) scale(1.02); }
  74% { opacity: 1; transform: translate(0, 3%) rotate(0) scale(1.05, .94); }
  100% { opacity: 1; transform: none; }
}
@keyframes mailClose {
  0% { opacity: 1; transform: none; }
  40% { opacity: 1; transform: translateY(6%) scale(.92, .86) rotate(-2deg); }
  100% { opacity: 0; transform: translate(-6%, 48%) scale(.12) rotate(-12deg); }
}
@keyframes flash { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes lockRed { from { color: var(--ink); } to { color: var(--red); } }
@keyframes crack { from { opacity: 0; } to { opacity: 1; } }

/* Restart: a quiet text button, centred under the animation, shown only once the story has ended */
.story-restart { all: unset; box-sizing: border-box; display: block; width: max-content; margin: var(--s1) auto 0; padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 14px; color: rgba(18, 24, 38, 0.55);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.story-restart.show { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.story-restart[hidden] { display: block; }
.story-restart:hover { color: var(--ink); }
.story-restart:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Sections: title -> 24 -> sub -> 48 -> visual -> 32 -> source line */
.section { padding: var(--s8) 0; }
.section.sand { background: var(--sand); }
.section h2 { max-width: 20ch; }
.sub { font-size: 22px; line-height: 1.45; margin-top: var(--s3); max-width: 40em; }
.prose { font-size: 22px; line-height: 1.5; margin-top: var(--s3); max-width: 40em; }
.source-line { margin-top: var(--s4); font-size: 16px; }
.source-line a + a::before { content: ", "; color: var(--ink); font-weight: 400; }

/* Country */
.threat-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.threat-top .prose { margin-top: var(--s2); }
.threat-ai { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.threat-ai h3 { font-size: 22px; line-height: 1.25; }
.ai-rows { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; }
.ai-rows li { display: grid; grid-template-columns: 4.6em 1fr; gap: var(--s2); align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.ai-rows li:first-child { border-top: 0; }
.ai-rows strong { font-weight: 700; color: var(--ink); white-space: nowrap; }
.threat-ai .source-line { margin-top: var(--s1); font-size: 14px; }
.incidents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s5); }
.incident { background: var(--white); border-radius: var(--radius); padding: var(--s4); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s2); }
.incident .when { font-size: 16px; font-weight: 500; }
.incident dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.incident dt { font-weight: 600; }
.incident dd { margin: 0; }
.incident .src { font-size: 16px; margin-top: auto; }
.eu { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.eu p { font-size: 20px; font-family: var(--display); font-weight: 500; line-height: 1.35; max-width: 46em; }
.eu strong { color: var(--teal-ink); }

/* Finding: sample report viewer (ported from v5) */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.rv { margin-top: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(18, 24, 38, 0.10), 0 2px 6px rgba(18, 24, 38, 0.04); overflow: hidden; }
.rv-bar { display: flex; align-items: center; gap: var(--s2); padding: 12px var(--s2); background: #F4F3F1; border-bottom: 1px solid var(--line); font-size: 16px; }
.rv-bar-title { display: flex; align-items: center; gap: var(--s1); font-weight: 500; min-width: 0; }
.rv-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 640px; }
.rv-rail { list-style: none; margin: 0; padding: var(--s1); border-right: 1px solid var(--line); background: #FBFAF7; }
.rv-item { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; font: 16px/1.35 var(--body); color: var(--ink); }
.rv-item:hover { background: rgba(18, 24, 38, 0.04); }
.rv-item[aria-selected="true"] { background: rgba(14, 124, 134, 0.09); }
.rv-item:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.rv-item-text { display: grid; gap: 4px; min-width: 0; }
.rv-item-title { font-weight: 500; }
.rv-item-path { font: 16px/1.35 var(--mono); overflow-wrap: anywhere; }
.rv-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.rv-dot.sev-critical { background: #7A1F7A; }
.rv-dot.sev-high { background: var(--red); }
.rv-dot.sev-medium { background: #B45309; }
.rv-pane { padding: var(--s4); min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); align-content: start; }
.rv-pane:focus-visible { outline-offset: -4px; }
.rv-head { display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; flex-wrap: wrap; }
.rv-head h3 { font-size: 26px; line-height: 1.25; }
.rv-sev { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 600; }
.rv-sev .rv-dot { margin-top: 0; }
.rv-sev.sev-critical { color: #7A1F7A; }
.rv-sev.sev-high { color: var(--red); }
.rv-sev.sev-medium { color: #B45309; }
.rv-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.rv-meta dt { font-weight: 600; font-size: 16px; }
.rv-meta dd { margin: 4px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.rv-meta code, .rv-label code { font: 16px/1.4 var(--mono); }
.rv-impact { max-width: 52em; }
.rv-proof { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.rv-proof > div { min-width: 0; }
.rv-label { font-weight: 600; font-size: 16px; margin-bottom: var(--s1); }
.rv-code { margin: 0; padding: var(--s2); background: #10151F; color: #E6E8EC; border-radius: 12px; font: 16px/1.55 var(--mono); overflow-x: auto; white-space: pre; }
.rv-code .hl { background: rgba(127, 216, 200, 0.28); color: #9FF0E2; border-radius: 4px; padding: 0 2px; }
.rv-code .redact { color: #8A93A6; letter-spacing: 0; }
.rv-time { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s4); flex-wrap: wrap; position: relative; }
.rv-time li { display: flex; align-items: center; gap: var(--s1); font-size: 16px; }
.rv-time li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--teal); }
.rv-time li:last-child::before { background: var(--teal); }
.rv-time span { font-weight: 600; }
.rv-fix-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s1); }
.rv-fix-head .rv-label { margin: 0; }
.rv-actions { display: flex; gap: var(--s1); flex-wrap: wrap; }
.rv-btn { font: inherit; font-size: 16px; font-weight: 600; min-height: 44px; padding: 0 var(--s2); border-radius: 10px; border: 1.5px solid rgba(18, 24, 38, 0.2); background: var(--white); color: var(--ink); cursor: pointer; }
.rv-btn:hover { border-color: var(--ink); }
.rv-btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rv-btn-primary:hover { background: #222B3D; }
.rv-diff { background: #FBFAF7; color: var(--ink); border: 1px solid var(--line); padding: var(--s2) 0; }
.rv-diff span { display: inline-block; min-width: 100%; padding: 0 var(--s2); }
.rv-diff .d-add { background: rgba(40, 200, 64, 0.12); color: #145A23; }
.rv-diff .d-del { background: rgba(180, 35, 24, 0.09); color: #8A1C13; }

/* Shared small pieces */
.center { margin-top: var(--s5); display: flex; justify-content: center; }
.text-link { display: inline-flex; align-items: center; min-height: 56px; font-weight: 500; font-size: 18px; color: var(--teal-ink); }
.text-link::after { content: "\2192"; margin-left: var(--s1); }


/* What we test */
.coverage { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.cov { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.cov h3 { font-size: 24px; }
.cov ul { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: var(--s1); }
.cov li { position: relative; padding-left: var(--s3); }
.cov li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); }

/* Your data and our AI */
.data-ai { margin-top: var(--s5); padding: var(--s4); background: var(--sand); border-radius: var(--radius); }
.data-ai h3 { font-size: 24px; }
.data-ai p { margin-top: var(--s2); }

/* For your auditor */
.audit { margin: var(--s5) 0 0; border-top: 1px solid var(--line); }
.audit > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.audit dt { font-family: var(--display); font-weight: 600; font-size: 22px; }
.audit dd { margin: 0; max-width: 46em; }

/* Pricing teaser */
.teaser { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.teaser-actions { display: flex; align-items: center; gap: var(--s4); flex: none; }

/* From the lab */
.lab { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.post { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.post:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.post h3 { font-size: 24px; }
.post p { margin: 0; }

/* Monogram for quotes without a photo */
.portrait.mono { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: var(--white); font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }

/* How it works: one horizontal timeline */
.how-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.how-lynx { width: 200px; flex: none; }
.timeline { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 9px; right: 9px; height: 1px; background: rgba(14, 124, 134, 0.4); }
.timeline li { position: relative; padding-top: var(--s5); }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); box-sizing: border-box; }
.timeline h3 { font-size: 30px; }
.timeline p { margin-top: var(--s2); font-size: 20px; max-width: 20em; }

/* Split layouts with one lynx */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s6); align-items: center; }
.split-rev > img { order: 2; }
.pose { width: 100%; max-width: 480px; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); }
.checks li { position: relative; padding-left: var(--s5); font-size: 20px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Comparison */
.table-wrap { margin-top: var(--s5); overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 18px; }
.compare th, .compare td { padding: var(--s3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--display); font-weight: 600; font-size: 20px; }
.compare tbody th { font-weight: 600; width: 24%; }
.compare .us { background: rgba(224, 137, 43, 0.10); }
.compare .src { display: block; margin-top: var(--s1); font-size: 16px; }

/* Quotes carousel */
.quotes-section .marquee { margin-top: var(--s5); }
.marquee {
  overflow-x: auto; overflow-y: hidden; padding: var(--s1) 0 var(--s3);
  scrollbar-width: none; cursor: grab; outline-offset: -3px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging { cursor: grabbing; user-select: none; }
.track { display: flex; gap: var(--s3); width: max-content; padding: 0 var(--s3); align-items: flex-start; }
.track-set { display: flex; gap: var(--s3); align-items: flex-start; }
.qcard {
  flex: none; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2);
}
.qcard.short { width: 300px; }
.qcard.medium { width: 380px; }
.qcard.long { width: 460px; }
.qcard:nth-child(3n+2) { margin-top: var(--s5); }
.qcard:nth-child(3n) { margin-top: var(--s3); }
.qcard blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.qcard figcaption { display: flex; align-items: center; gap: var(--s2); }
.qcard .who { display: grid; font-size: 16px; line-height: 1.4; }
.qcard .who strong { font-weight: 600; font-size: 17px; }
.portrait { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand); }
@media (prefers-reduced-motion: reduce) {
  .marquee { cursor: auto; }
}
@media (max-width: 560px) {
  .qcard.short { width: 260px; }
  .qcard.medium { width: 290px; }
  .qcard.long { width: 320px; }
}

/* Pricing page: equal list gaps everywhere, button pinned with margin-top:auto only */
.pricing-top { padding-top: var(--s7); }
.plans { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: var(--s3); margin-top: var(--s5); align-items: stretch; }
.plan { background: var(--white); border-radius: var(--radius); padding: var(--s4); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.plan-name { font-size: 28px; line-height: 1.2; max-width: none; }
.plan .price { margin-top: var(--s2); font-size: 18px; }
.price span { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; margin-right: var(--s1); }
.plan-group { font-family: var(--body); font-size: 18px; font-weight: 600; margin-top: var(--s4); }
.plan-list { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: var(--s2); }
.plan .price + .plan-list { margin-top: var(--s4); }
.plan-list li { position: relative; padding-left: var(--s3); }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); }
.plan-foot { margin-top: auto; padding-top: var(--s4); }
.plan-foot .btn { width: 100%; }
.plan-main { border: 2px solid var(--amber); box-shadow: var(--shadow); background: linear-gradient(180deg, #FFF8EE 0%, var(--white) 40%); }
.mini-finding { margin-top: var(--s4); padding: var(--s3); border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: grid; gap: var(--s1); font-size: 16px; }
.mf-title { font-weight: 600; font-size: 18px; }
.mini-finding code { font: 16px/1.4 var(--mono); overflow-wrap: anywhere; }
.anatomy { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.anatomy h3 { font-size: 22px; }
.anatomy p { margin-top: var(--s1); }

/* FAQ */
.faq { margin-top: var(--s5); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s3) var(--s5) var(--s3) 0; position: relative; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: var(--s1); top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 var(--s3); max-width: 62ch; }

/* Final CTA */
.start-form { margin-top: var(--s4); display: grid; gap: var(--s1); max-width: 460px; }
.start-form label { font-weight: 500; margin-top: var(--s2); }
.start-form label:first-child { margin-top: 0; }
.start-form input { font: inherit; font-size: 18px; color: var(--ink); background: var(--white); border: 2px solid rgba(18, 24, 38, 0.2); border-radius: 12px; padding: var(--s2); min-height: 56px; }
.start-form input::placeholder { color: rgba(18, 24, 38, 0.6); }
.start-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.18); }
.start-form .btn { margin-top: var(--s3); }
.final-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s6); align-items: center; }
.final-lynx { width: 100%; max-width: 420px; margin: 0 auto; }
.form-msg { margin: var(--s2) 0 0; font-weight: 500; }
.form-msg:empty { display: none; }
.form-done { margin-top: var(--s2); padding: var(--s3); background: var(--white); border-radius: 12px; border: 2px solid var(--teal); display: grid; gap: var(--s1); }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: var(--s5) 0; font-size: 16px; }
.footer-inner { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.country { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.country select { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid rgba(18, 24, 38, 0.25); border-radius: 10px; padding: var(--s1) var(--s2); }

/* Responsive */
@media (max-width: 1000px) {
  .incidents { grid-template-columns: 1fr; }
  .threat-top { grid-template-columns: 1fr; gap: var(--s3); }
  .coverage, .lab { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 620px; }
  .anatomy { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding: var(--s3) 0 var(--s6); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .stage { max-width: 460px; }
  .section { padding: var(--s7) 0; }
  .split { grid-template-columns: 1fr; gap: var(--s4); }
  .split-rev > img { order: 0; }
  .pose { max-width: 300px; }
  .eu { flex-direction: column; align-items: flex-start; }
  .rv-body { grid-template-columns: 1fr; min-height: 0; }
  .rv-rail { display: flex; overflow-x: auto; gap: var(--s1); border-right: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x proximity; }
  .rv-rail li { flex: none; width: 260px; scroll-snap-align: start; }
  .rv-proof { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .final-lynx { max-width: 260px; }
  .teaser { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .audit > div { grid-template-columns: 1fr; gap: var(--s1); }
  .timeline { grid-template-columns: 1fr; gap: var(--s4); padding-left: var(--s5); }
  .timeline::before { top: 9px; bottom: 9px; left: 9px; right: auto; width: 1px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: calc(-1 * var(--s5)); top: 8px; }
  .how-lynx { width: 140px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 var(--s2); }
  .btn-small { display: none; }
  .ctas .btn { width: 100%; }
  .lead { font-size: 20px; margin-top: var(--s2); }
  .sub, .prose { font-size: 20px; }
  .section { padding: var(--s6) 0; }
  .rv-pane { padding: var(--s3) var(--s2); }
  .rv-meta { grid-template-columns: 1fr; }
  .rv-bar .lights { display: none; }
  .rv-time { gap: var(--s2); }
  .coverage, .lab { grid-template-columns: 1fr; }
  .cov, .post, .data-ai { padding: var(--s3); }
  .teaser-actions { flex-direction: column; align-items: stretch; width: 100%; gap: var(--s1); }
  .teaser-actions .btn, .final .btn { width: 100%; }
  .teaser-actions .text-link { justify-content: center; }
  .ctas { flex-direction: column; align-items: stretch; }
  .ctas .text-link { justify-content: center; }
  .how-head { flex-direction: column-reverse; align-items: flex-start; gap: var(--s2); }
  .how-lynx { width: 120px; }
  .timeline h3 { font-size: 26px; }
  .compare th, .compare td { padding: var(--s2); }
  .compare thead th { font-size: 18px; }

  /* Mobile hero: email first and fully readable, small lynx, headline near the fold */
  .stage { aspect-ratio: auto; height: 380px; }
  .mail { width: 100%; top: 0; }
  .mail-bar { padding: var(--s1) var(--s2); }
  .mail-tools { gap: var(--s2); }
  .mail-tools svg { width: 20px; height: 20px; }
  .mail-head { padding: var(--s2); gap: var(--s2); }
  .mail-body { padding: var(--s2); gap: var(--s1); font-size: 16px; }
  .mail-avatar { width: 40px; height: 40px; font-size: 18px; }
  .notif { width: 94%; }
  .pounce { width: 46%; right: -2%; bottom: -4%; }
  .stage.anim .pounce { width: 62%; right: 19%; bottom: 0; }
  .hack-art { width: 88%; right: -2%; bottom: 0; }
  .mini { display: none; }
  .scr { font-size: 9.5px; line-height: 11px; }
  .scr-lines { padding: 4px 5px; }
  .caret { width: 5px; height: 9px; }
  .country { margin-left: 0; }
  .plan { padding: var(--s3); }
  .anatomy { grid-template-columns: 1fr; }
  .pricing-top { padding-top: var(--s5); }
}

/* ---------- Homepage additions (Mykyta, 2026-11-24) ---------- */
.more { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.more-center { justify-content: center; }
.center { gap: var(--s4); flex-wrap: wrap; align-items: center; }
.local-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.local-head .country { margin-left: 0; }

/* Capability grid: 3-column bento on cream */
.section.dark { background: var(--ink); color: var(--white); }
.section.dark h2 { color: var(--white); max-width: 24ch; }
.bento { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--s2); }
.tile { position: relative; display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); border-color: var(--amber); background: var(--white); color: var(--ink); box-shadow: 0 14px 30px rgba(18, 24, 38, 0.08); }
.tile:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.tile h3 { font-size: 22px; color: var(--ink); }
.tile p { margin: 0; font-size: 17px; color: rgba(18, 24, 38, 0.74); }
.tile .tile-more { margin-top: auto; padding-top: var(--s2); font-size: 18px; max-width: 30em; }
.tile-big { grid-column: span 2; grid-row: span 2; padding: var(--s4); }
.tile-big h3 { font-size: 32px; }
.tile-wide { grid-column: span 2; }
.tile-big { border: 2px solid var(--ink); background: var(--white); }
.tile-big:hover { border-color: var(--amber); background: var(--white); }
.tile-n { font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; color: var(--teal-ink); margin-bottom: 2px; }
.tile-big .tile-n { font-size: 15px; margin-bottom: var(--s1); }

/* Use-case tabs: compact vertical tabs left, evidence panel right (Horizon3-style) */
.uc { position: relative; margin-top: var(--s4); display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); grid-template-rows: repeat(7, auto) 1fr; column-gap: var(--s4); border-radius: var(--radius); background: var(--sand); padding: var(--s3); }
.uc-item { display: contents; }
.uc-tab { grid-column: 1; z-index: 1; margin: 0; font: inherit; font-weight: 600; font-size: 17px; line-height: 1.3; text-align: left; padding: 12px var(--s2); border: 0; border-left: 3px solid rgba(18, 24, 38, 0.14); border-radius: 0 10px 10px 0; background: transparent; color: rgba(18, 24, 38, 0.72); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.uc-item:nth-child(1) .uc-tab { grid-row: 1; }
.uc-item:nth-child(2) .uc-tab { grid-row: 2; }
.uc-item:nth-child(3) .uc-tab { grid-row: 3; }
.uc-item:nth-child(4) .uc-tab { grid-row: 4; }
.uc-item:nth-child(5) .uc-tab { grid-row: 5; }
.uc-item:nth-child(6) .uc-tab { grid-row: 6; }
.uc-item:nth-child(7) .uc-tab { grid-row: 7; }
.uc-tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.uc-tab[aria-selected="true"] { color: var(--ink); background: var(--white); border-left-color: var(--amber); }
.uc-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.uc-panel { grid-column: 2; grid-row: 1 / -1; z-index: 1; padding: var(--s4); background: var(--white); border-radius: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); grid-template-rows: auto auto 1fr auto; column-gap: var(--s4); align-content: start; }
.uc-panel[hidden] { display: none; }
.uc-panel h3 { grid-column: 1 / -1; font-size: 28px; line-height: 1.15; }
.uc-panel p { grid-column: 1; margin-top: var(--s2); font-size: 18px; line-height: 1.5; }
.uc-points { grid-column: 1; list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 10px; }
.uc-points li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.45; }
.uc-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.uc-panel .text-link { grid-column: 1; margin-top: var(--s1); justify-self: start; }
.uc-proof { grid-column: 2; grid-row: 2 / span 3; align-self: start; margin-top: var(--s2); padding: 12px 14px; border-radius: 10px; background: #0F1420; color: #C9D2E0; font: 500 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.uc-proof-h { display: block; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #7A8599; }
.uc-panel .uc-proof p { grid-column: auto; margin: 0; padding: 6px 0; font-size: inherit; line-height: inherit; display: flex; flex-direction: column; gap: 1px; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); }
.uc-panel .uc-proof p:last-child { border-bottom: 0; }
.uc-proof b { font-weight: 700; }
.uc-proof b.ok { color: #5BD68A; }
.uc-proof b.hit { color: #F2A33A; }
.uc-panel:focus-visible { outline: 3px solid var(--teal); outline-offset: -6px; }

/* Comparison with named competitors */
.compare-wide { min-width: 1080px; font-size: 16px; }
.compare-wide th, .compare-wide td { padding: var(--s2); }
.compare-wide thead th { font-size: 17px; }
.compare thead th { line-height: 1.2; padding-top: 14px; padding-bottom: 14px; vertical-align: bottom; overflow: visible; white-space: normal; height: auto; }
.compare-wide thead th:not(:first-child) { min-width: 120px; }
.compare-wide tbody th { width: 15%; }
.compare-wide .us { width: 16%; }
.full-compare { margin-top: var(--s4); }
.full-compare h3 { font-size: 22px; }
.full-compare ul { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }

/* Trust seals: our own monochrome drawings */
.seals-wrap { text-align: center; }
.seals-wrap .sub { margin-left: auto; margin-right: auto; }
.statement { font-size: clamp(40px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }
.section .statement { max-width: 18ch; }
.seals { list-style: none; margin: var(--s6) 0 0; padding: 0; display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.seal { position: relative; display: block; width: 104px; height: 104px; color: var(--ink); filter: grayscale(1); opacity: 0.72; transition: opacity .2s ease, transform .2s ease; }
.seal:hover, .seal:focus-visible { opacity: 1; transform: translateY(-3px); color: var(--ink); }
.seal:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 50%; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal .s-line { fill: none; stroke: currentColor; stroke-width: 3; }
.seal .s-thin { fill: none; stroke: currentColor; stroke-width: 1.2; }
.seal .s-fill { fill: currentColor; }
.seal text { fill: currentColor; font-family: var(--display); }
.seal .s-name { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; }
.seal .s-sub { font-weight: 600; font-size: 11px; letter-spacing: 0.04em; }
.seal .s-ring { font-weight: 600; font-size: 7.5px; letter-spacing: 0.18em; }
.seal::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px); width: max-content; max-width: 260px; padding: var(--s1) var(--s2); border-radius: 10px; background: var(--ink); color: var(--white); font-size: 16px; line-height: 1.35; text-align: left; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 5; }
.seal:hover::after, .seal:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); column-gap: var(--s3); }
  .uc-panel { grid-template-columns: 1fr; padding: var(--s3); }
  .uc-proof { grid-column: 1; grid-row: auto; }
}
@media (max-width: 860px) {
  /* Use cases become an accordion: each panel opens under its button */
  .uc { display: block; padding: var(--s1); }
  .uc-item { display: block; }
  .uc-item + .uc-item { margin-top: 4px; }
  .uc-tab { width: 100%; position: relative; padding: 14px var(--s5) 14px var(--s2); border-radius: 10px; border-left: 0; background: rgba(255, 255, 255, 0.55); }
  .uc-tab[aria-selected="true"] { border-radius: 10px 10px 0 0; }
  .uc-tab::after { content: "+"; position: absolute; right: var(--s2); top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; }
  .uc-tab[aria-selected="true"]::after { content: "\2013"; }
  .uc-panel { display: block; padding: 4px var(--s2) var(--s2); border-radius: 0 0 10px 10px; }
  .uc-panel h3 { display: none; }
  .uc-panel p { font-size: 17px; margin-top: var(--s1); }
  .uc-proof { margin-top: var(--s2); }
  .seals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; gap: var(--s4) var(--s2); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-big, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-big { padding: var(--s3); }
  .tile-big h3 { font-size: 26px; }
  .seal { width: 72px; height: 72px; }
  .seal::after { max-width: 200px; }
  .seals li:nth-child(4n+1) .seal::after { left: 0; transform: translate(0, 4px); }
  .seals li:nth-child(4n+1) .seal:hover::after, .seals li:nth-child(4n+1) .seal:focus-visible::after { transform: translate(0, 0); }
  .seals li:nth-child(4n) .seal::after { left: auto; right: 0; transform: translate(0, 4px); }
  .seals li:nth-child(4n) .seal:hover::after, .seals li:nth-child(4n) .seal:focus-visible::after { transform: translate(0, 0); }
  .local-head { align-items: flex-start; flex-direction: column; }
}

/* Expand your knowledge: resource cards on white */
.res-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--sand); border-color: var(--ink); color: var(--ink); }
.resources { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.res { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s2) var(--s2) var(--s3); border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.res:hover, .res:focus-visible { transform: translateY(-4px); border-color: var(--amber); color: var(--ink); }
.res:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.res-cover { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #1D3B47, var(--teal) 55%, var(--amber-deep)); }
.res-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-cat { display: inline-flex; align-items: center; gap: var(--s1); font-size: 16px; font-weight: 600; color: rgba(18, 24, 38, 0.72); padding: 0 var(--s1); }
.res-cat::before { content: ""; width: 8px; height: 8px; background: var(--amber); }
.res h3 { font-size: 24px; line-height: 1.25; color: var(--ink); padding: 0 var(--s1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.res-go { margin-top: auto; padding: 0 var(--s1); font-weight: 600; color: var(--teal-ink); }
.res-go::after { content: " \2192"; }
@media (max-width: 1000px) { .resources { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .resources { grid-template-columns: 1fr; } .res-head .btn { width: 100%; } }

/* Personas: cream band, three photo cards */
.personas-title { text-align: center; margin: 0 auto; max-width: 20ch; }
.section.dark .personas-title { max-width: 20ch; }
.personas { margin-top: var(--s6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.persona { display: flex; flex-direction: column; gap: var(--s2); }
.persona-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #2A3346, #141A26); }
.persona-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.persona-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 14, 22, 0.78), rgba(10, 14, 22, 0) 55%); }
.persona-role { position: absolute; left: var(--s3); bottom: var(--s3); z-index: 1; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--white); }
.persona h3 { margin-top: var(--s1); font-size: 24px; color: var(--ink); }
.persona p { margin: 0; font-size: 18px; color: rgba(18, 24, 38, 0.8); }
.persona .text-link { margin-top: auto; color: var(--teal-ink); }
@media (max-width: 1000px) { .personas { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* Trust block (#standards): official marks in grayscale, methods row, data-handling line */
.trust-wrap { text-align: center; }
.trust-wrap .sub { margin-left: auto; margin-right: auto; }
.trust-logos { list-style: none; margin: var(--s5) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: var(--s3) var(--s5); max-width: 1080px; }
.trust-logos li { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 64px; }
.trust-logos img { height: 52px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .62; transition: opacity .2s ease, filter .2s ease; }
.trust-logos img.is-wide { height: 40px; }
.trust-logos li:hover img { opacity: .9; }
.trust-logos span { font-size: 14px; font-weight: 500; color: rgba(18, 24, 38, 0.66); white-space: nowrap; }
.trust-methods { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); gap: var(--s2) var(--s5); }
.trust-methods img { height: 32px; max-width: 120px; }
.trust-methods img.is-wide { height: 26px; }
.trust-methods span { font-size: 13px; }
.trust-notes { list-style: none; margin: var(--s4) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s4); font-size: 15px; color: rgba(18, 24, 38, 0.72); }
.trust-notes li { display: inline-flex; align-items: center; gap: 8px; }
.trust-notes svg { flex: none; color: var(--teal-ink); }
@media (max-width: 560px) {
  .trust-logos { gap: var(--s3) var(--s3); }
  .trust-logos li { width: calc(25% - 18px); min-width: 0; }
  .trust-logos img { height: 40px; max-width: 100%; }
  .trust-logos img.is-wide { height: 26px; }
  .trust-logos span { font-size: 12px; white-space: normal; text-align: center; }
  .trust-methods li { width: calc(33.3% - 16px); }
  .trust-notes { flex-direction: column; align-items: center; }
}

/* Sign-off sub-part inside #auditor */
.signoff { margin-top: var(--s5); padding: var(--s3) var(--s4); background: var(--sand); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s4); align-items: center; }
.signoff h3 { font-size: 22px; grid-column: 1 / -1; }
.signoff p { max-width: 46em; }
.signoff-certs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.signoff-certs li { padding: 4px 12px; border: 1px solid rgba(18, 24, 38, 0.18); border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--white); white-space: nowrap; }
@media (max-width: 860px) { .signoff { grid-template-columns: 1fr; padding: var(--s3); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Spacing pass (Mykyta 2026-11-24): sections 72px desktop, 64px tablet, 48px phone; tighter heading-to-content gaps */
.section { padding: 72px 0; }
.sub { margin-top: var(--s2); }
.incidents, .rv, .center, .coverage, .lab, .table-wrap, .quotes-section .marquee, .plans, .faq, .bento, .resources, .trust-logos, .signoff { margin-top: var(--s4); }
.personas { margin-top: var(--s5); }
.data-ai { margin-top: var(--s4); }
@media (max-width: 1000px) { .section { padding: 64px 0; } }
@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .incidents, .rv, .center, .coverage, .lab, .table-wrap, .bento, .resources, .trust-logos, .signoff, .personas, .uc { margin-top: var(--s3); }
}
/* #inside only wraps the cream gallery partial, which carries its own padding: no white strips around it */
.section.section-flush { padding: 0; }
.uc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.uc-head-lynx { width: 150px; height: auto; flex: none; margin-bottom: -28px; position: relative; z-index: 2; pointer-events: none; }
@media (max-width: 560px) { .uc-head-lynx { width: 96px; margin-bottom: -18px; } }

.hero { overflow-x: clip; }
.local-head { display: block; }

/* The faded pounce image must never catch clicks (it sat over Restart) */
.stage .pounce { pointer-events: none; }
.story-restart { position: relative; z-index: 5; }

/* All-light homepage: where two white sections meet (UI partials are white), a hairline keeps them apart */
#local, #use-cases { border-top: 1px solid var(--line); }

/* Safety net: nothing may widen the page sideways on phones (overflow-x: clip keeps sticky working) */
html { overflow-x: clip; }

/* Pricing: each plan's button stays pinned to the bottom of the viewport until the card is scrolled to its end */
.plan-foot { position: sticky; bottom: 0; z-index: 2; margin: auto calc(-1 * var(--s4)) calc(-1 * var(--s4)); padding: var(--s4) var(--s4) var(--s4); background: linear-gradient(180deg, rgba(255,255,255,0) 0, #fff var(--s3)); border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 560px) { .plan-foot { margin: auto calc(-1 * var(--s3)) calc(-1 * var(--s3)); padding: var(--s3); } }

/* One divider between sections: the integrations section already ends on its own border-bottom */
.ui-integ + #use-cases, .ui-integ + #local { border-top: 0; }
