/* VeilGuard site: design system + components. Dark by brand (near-black + signal green). */

:root {
  --bg: #07090a;
  --bg-2: #0b0f0e;
  --bg-3: #101615;
  --bg-4: #161e1c;
  --line: rgba(214, 255, 232, .08);
  --line-2: rgba(214, 255, 232, .15);
  --text: #ecf3ef;
  --muted: #a6b3ad;
  --dim: #82918a;
  --green: #3dff95;
  --green-2: #22d677;
  --green-ink: #03150b;
  --green-soft: rgba(61, 255, 149, .09);
  --green-line: rgba(61, 255, 149, .32);
  --risk: #ff7864;
  --risk-soft: rgba(255, 120, 100, .13);
  --amber: #ffc857;

  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 9vw, 136px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-veil: cubic-bezier(.32, .72, 0, 1);

  /* z-index scale: content 0, canvas -1, nav 40, menu 50, skip 60 */
  --z-nav: 40;
  --z-menu: 50;
  --z-skip: 60;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
code, kbd, .mono { font-family: var(--f-mono); font-size: .9em; }
code { background: var(--bg-4); border: 1px solid var(--line); border-radius: 6px; padding: .08em .4em; font-size: .86em; word-break: break-word; }
strong, b { font-weight: 600; color: var(--text); }
html { scrollbar-color: #26302d var(--bg); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232c2a; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #33403c; }
input, textarea { caret-color: var(--green); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--green); color: var(--green-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.d-xxl, .d-xl, .d-l, .d-m, .d-s {
  font-family: var(--f-display);
  font-weight: 760;
  font-variation-settings: "opsz" 96;
  letter-spacing: -.034em;
  line-height: .95;
  text-wrap: balance;
}
.d-xxl { font-size: clamp(50px, 8.2vw, 122px); line-height: .9; }
.d-xl { font-size: clamp(42px, 5.8vw, 86px); }
.d-l { font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.d-m { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.06; letter-spacing: -.026em; }
.d-s { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -.018em; font-weight: 700; font-variation-settings: "opsz" 32; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.body-l { font-size: 18px; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--dim); max-width: 80ch; }
.g { color: var(--green); }
.r { color: var(--risk); }
.prose p { color: var(--muted); max-width: 64ch; }
.prose p + p { margin-top: 14px; }
.prose a, .link { color: var(--green); text-decoration: underline; text-decoration-color: var(--green-line); }
.prose a:hover, .link:hover { text-decoration-color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font: 600 15.5px/1 var(--f-body);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.975); }
.btn--icon { padding-right: 7px; }
.btn__icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: translateX(3px) rotate(-8deg); }
.btn--primary { background: var(--green); color: var(--green-ink); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .7); }
.btn--primary .btn__icon { background: rgba(3, 21, 11, .12); }
.btn--primary:hover { background: #63ffab; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .8); }
.btn--ghost { background: rgba(236, 243, 239, .04); border-color: var(--line-2); color: var(--text); }
.btn--ghost .btn__icon { background: rgba(236, 243, 239, .07); }
.btn--ghost:hover { background: rgba(236, 243, 239, .08); border-color: rgba(214, 255, 232, .26); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--sm.btn--icon { padding-right: 5px; }
.btn--sm .btn__icon { width: 30px; height: 30px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Nav island ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: var(--z-nav);
  width: min(100% - 24px, 1120px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 8px 0 18px;
  border-radius: 999px;
  background: rgba(10, 14, 13, .66);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  view-transition-name: site-nav;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 26px; height: 26px; color: var(--green); }
.brand__name { font: 760 19px/1 var(--f-display); letter-spacing: -.03em; font-variation-settings: "opsz" 32; }
.brand__by { font-size: 12.5px; color: var(--dim); margin-left: -2px; }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a {
  position: relative;
  padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(236, 243, 239, .06); }
.nav__links a[aria-current="page"] { color: var(--text); background: rgba(61, 255, 149, .1); }
.nav__cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.nav__menu {
  display: none; position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(236, 243, 239, .06); border: 1px solid var(--line-2); cursor: pointer;
}
.nav__menu span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .45s var(--ease-veil), top .45s var(--ease-veil);
}
.nav__menu span:nth-child(1) { top: 17px; }
.nav__menu span:nth-child(2) { top: 25px; }
.nav__menu[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px var(--gutter) 40px;
  background: rgba(7, 9, 10, .9);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.menu ul { display: grid; gap: 4px; }
.menu li { overflow: hidden; }
.menu a.menu__link {
  display: block; padding: 6px 0;
  font: 740 clamp(38px, 11vw, 56px)/1.05 var(--f-display); letter-spacing: -.03em; text-decoration: none;
  transform: translateY(105%);
  transition: transform .7s var(--ease-veil);
}
.menu.is-open a.menu__link { transform: none; }
.menu li:nth-child(2) a.menu__link { transition-delay: .04s; }
.menu li:nth-child(3) a.menu__link { transition-delay: .08s; }
.menu li:nth-child(4) a.menu__link { transition-delay: .12s; }
.menu li:nth-child(5) a.menu__link { transition-delay: .16s; }
.menu li:nth-child(6) a.menu__link { transition-delay: .2s; }
.menu li:nth-child(7) a.menu__link { transition-delay: .24s; }
.menu a[aria-current="page"] { color: var(--green); }
.menu__foot { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.menu-open { overflow: hidden; }

/* ---------- Page heads (subpages) ---------- */
.page-head { padding-top: clamp(140px, 18vw, 210px); padding-bottom: clamp(56px, 7vw, 96px); position: relative; }
.page-head__title { max-width: 15ch; }
.page-head .lede { margin-top: 26px; }
.page-head .actions { margin-top: 34px; }
.veil-title { position: relative; display: inline-block; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head .body-l { margin-top: 20px; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); border: 0; margin: 0; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100dvh;
  display: grid; align-items: end;
  padding: 120px 0 clamp(40px, 7vh, 84px);
  isolation: isolate; overflow: hidden;
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; object-position: 70% 50%; opacity: .95; }
.hero__canvas { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero.is-live .hero__canvas { opacity: 1; }
.hero.is-live .hero__poster { opacity: 0; transition: opacity 1.2s var(--ease) .2s; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(7, 9, 10, .94) 18%, rgba(7, 9, 10, .55) 46%, rgba(7, 9, 10, 0) 70%),
    linear-gradient(180deg, rgba(7, 9, 10, .55) 0%, rgba(7, 9, 10, 0) 22%, rgba(7, 9, 10, 0) 78%, var(--bg) 100%);
}
.hero__copy { max-width: 760px; }
.hero__title { margin-bottom: 26px; }
.hero__title em { font-style: normal; color: var(--green); }
.hero .actions { margin-top: 34px; }
.hero__legend {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 84px);
  display: grid; gap: 8px; justify-items: end;
  font: 500 12.5px/1.3 var(--f-mono); color: var(--dim);
}
.hero__legend span { display: inline-flex; align-items: center; gap: 10px; }
.hero__legend i { display: inline-block; width: 22px; height: 2px; border-radius: 2px; }
.hero__legend .k-raw i { background: var(--risk); }
.hero__legend .k-safe i { background: var(--green); }

/* ---------- Works-with strip ---------- */
.strip { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.strip__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.strip__label { font-size: 14px; color: var(--dim); margin-right: 6px; }
.strip__names { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 clamp(17px, 1.6vw, 21px)/1.3 var(--f-display); letter-spacing: -.015em; color: #c7d3cd; font-variation-settings: "opsz" 24; }
.strip__names li:last-child { color: var(--green); }
.strip__more { margin-top: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.strip__more b { color: var(--text); font-weight: 600; margin-right: 6px; }
.strip .fine { margin-top: 16px; }

/* ---------- Scroll story ---------- */
.story { position: relative; }
.story__pin { min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding-block: 110px 60px; }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__title { margin-bottom: 36px; max-width: 12ch; }
.beats { display: grid; gap: 4px; counter-reset: beat; }
.beat { position: relative; padding: 14px 0 14px 22px; border-left: 1px solid var(--line-2); transition: border-color .4s var(--ease); }
.beat::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease);
}
.beat h3 { font: 700 20px/1.2 var(--f-display); letter-spacing: -.015em; color: var(--dim); transition: color .4s var(--ease); font-variation-settings: "opsz" 24; }
.beat p { margin-top: 6px; color: var(--dim); font-size: 15.5px; max-width: 42ch; transition: color .4s var(--ease); }
.beat.is-on::before { transform: scaleY(1); }
.beat.is-on h3 { color: var(--text); }
.beat.is-on p { color: var(--muted); }
.no-story .beat h3 { color: var(--text); }
.no-story .beat p { color: var(--muted); }

/* the composer: a real, working-looking mini UI of the product flow */
.composer {
  position: relative;
  border-radius: var(--r-lg);
  padding: 8px;
  background: rgba(236, 243, 239, .03);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}
.composer__inner {
  position: relative; overflow: hidden;
  border-radius: calc(var(--r-lg) - 8px);
  background: linear-gradient(180deg, #0e1312, #0a0e0d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  min-height: 460px;
  display: flex; flex-direction: column;
}
.composer__halo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 2px var(--green); opacity: .9; }
.composer__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 12.5px var(--f-mono); color: var(--dim); }
.composer__bar .pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font: 600 12px var(--f-body); }
.composer__bar .pill svg { width: 14px; height: 14px; }
.composer__thread { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; font-size: 15px; }
.bubble { max-width: 86%; padding: 12px 14px; border-radius: 14px; line-height: 1.5; }
.bubble--ai { background: var(--bg-4); border: 1px solid var(--line); color: var(--muted); align-self: flex-start; border-top-left-radius: 4px; }
.bubble--me { background: rgba(61, 255, 149, .08); border: 1px solid rgba(61, 255, 149, .2); align-self: flex-end; border-top-right-radius: 4px; }
.composer__input { position: relative; margin: 0 14px 14px; padding: 14px 54px 14px 16px; min-height: 76px; border-radius: 14px; background: #070a09; border: 1px solid var(--line-2); font: 400 14.5px/1.55 var(--f-mono); color: var(--text); transition: border-color .4s var(--ease); }
.composer__input.is-flagged { border-color: rgba(255, 120, 100, .6); }
.composer__send { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-4); color: var(--dim); }
.composer__send svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; background: var(--green); margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tok { font-family: var(--f-mono); font-size: .93em; border-radius: 5px; padding: 1px 4px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.tok--raw { background: var(--risk-soft); color: #ffb3a6; }
.tok--flag { background: rgba(255, 120, 100, .24); color: #ffd2ca; box-shadow: 0 0 0 1px rgba(255, 120, 100, .55); }
.tok--safe { background: var(--green-soft); color: var(--green); }
.tok--restored { background: transparent; color: var(--text); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }

.alert {
  position: absolute; left: 14px; right: 14px; bottom: 102px;
  border-radius: 14px; padding: 16px;
  background: rgba(16, 22, 21, .96); border: 1px solid rgba(255, 120, 100, .4);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(12px) scale(.98); visibility: hidden;
}
.alert.is-open { opacity: 1; transform: none; visibility: visible; }
.alert__head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.alert__head svg { width: 18px; height: 18px; color: var(--risk); }
.risk-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--risk-soft); color: var(--risk); font: 600 12px var(--f-body); border: 1px solid rgba(255, 120, 100, .45); }
.alert__rows { margin-top: 10px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.alert__rows div { display: flex; justify-content: space-between; gap: 12px; }
.alert__rows .mono { color: #ffb3a6; font-size: 12.5px; }
.alert__acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-4); border: 1px solid var(--line-2); color: var(--muted); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.chip--go { background: var(--green); color: var(--green-ink); border-color: transparent; }
.chip--go.is-pressed { transform: scale(.94); background: #8bffbe; }
.chip--risk { color: #ffb3a6; }
.story__status { margin-top: 14px; font: 500 12.5px var(--f-mono); color: var(--dim); min-height: 1.4em; }

/* ---------- Everywhere (product bento) ---------- */
.everywhere { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 14px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile h3 { font: 740 clamp(24px, 2.2vw, 30px)/1.05 var(--f-display); letter-spacing: -.025em; font-variation-settings: "opsz" 48; }
.tile p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.tile__go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--green); }
.tile__go svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.tile:hover .tile__go svg { transform: translateX(4px); }
.tile__icon { width: 30px; height: 30px; color: var(--green); }
.tile--ext { grid-column: span 7; grid-row: span 2; min-height: 560px; background: radial-gradient(120% 80% at 100% 100%, rgba(61, 255, 149, .12), transparent 60%), var(--bg-2); }
.tile--ext .shot { margin-top: 18px; margin-right: calc(clamp(22px, 2.6vw, 34px) * -1); margin-bottom: calc(clamp(22px, 2.6vw, 34px) * -1); border-radius: 14px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; overflow: hidden; }
.tile--android { grid-column: span 5; grid-row: span 2; padding-bottom: 0; background: linear-gradient(180deg, var(--bg-2), #0c1411); }
.tile--android .phone { margin: 14px auto 0; width: min(250px, 70%); border-radius: 26px 26px 0 0; border: 1px solid var(--line-2); border-bottom: 0; overflow: hidden; box-shadow: 0 -20px 60px -30px rgba(61, 255, 149, .45); }
.tile--win { grid-column: span 4; }
.tile--outlook { grid-column: span 4; }
.tile--console { grid-column: span 4; background: linear-gradient(160deg, rgba(61, 255, 149, .14), rgba(61, 255, 149, 0) 55%), var(--bg-2); }

/* ---------- Halo toggle demo ---------- */
.halo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.toggle { margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 16px; color: var(--muted); }
.toggle__track { position: relative; width: 58px; height: 32px; border-radius: 999px; background: var(--green); transition: background-color .4s var(--ease); }
.toggle__thumb { position: absolute; top: 4px; left: 30px; width: 24px; height: 24px; border-radius: 50%; background: var(--green-ink); transition: left .5s var(--ease-veil); }
.toggle[aria-pressed="false"] .toggle__track { background: var(--risk); }
.toggle[aria-pressed="false"] .toggle__thumb { left: 4px; }
.toggle strong { color: var(--text); }
.frame {
  --halo: var(--green);
  position: relative; border-radius: 18px; padding: 0; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 2px var(--halo), 0 0 60px -10px color-mix(in srgb, var(--halo) 45%, transparent);
  transition: box-shadow .6s var(--ease);
  aspect-ratio: 16 / 10;
}
.frame[data-state="off"] { --halo: var(--risk); }
.frame__bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3431; }
.frame__label { margin-left: auto; font: 600 12.5px var(--f-mono); color: var(--halo); transition: color .4s var(--ease); }
.frame__body { padding: 22px; display: grid; gap: 12px; font-size: 14px; }
.frame__body .bubble { max-width: 80%; }
.frame__input { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: #070a09; border: 1px solid var(--line-2); font: 400 13.5px var(--f-mono); color: var(--muted); }

/* ---------- Ledger (privacy) ---------- */
.ledger { display: grid; border-top: 1px solid var(--line-2); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger__row dt { font-weight: 500; }
.ledger__row dd { color: var(--muted); font-size: 15px; }
.ledger__row dd .mono { color: var(--text); font-size: 13px; margin-right: 6px; }
.ledger__row--never dd .mono { color: var(--green); }

/* ---------- Regulation chips & compliance ---------- */
.regs { display: flex; flex-wrap: wrap; gap: 8px; }
.reg { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font: 600 13px/1 var(--f-mono); letter-spacing: .01em; background: var(--green-soft); color: var(--green); border: 1px solid rgba(61, 255, 149, .22); }
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ind { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.ind:nth-child(1) { background: radial-gradient(90% 80% at 100% 0%, rgba(61, 255, 149, .13), transparent 60%), var(--bg-2); }
.ind h3 { font: 740 clamp(22px, 2vw, 28px)/1.08 var(--f-display); letter-spacing: -.024em; font-variation-settings: "opsz" 40; }
.ind p { color: var(--muted); font-size: 15.5px; }
.ind__tok { margin-top: auto; padding-top: 6px; font: 500 13px/1.6 var(--f-mono); color: var(--dim); }
.ind__tok span { color: var(--green); }

.evidence { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.evlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.evlist div h3 { font: 700 18px/1.25 var(--f-display); letter-spacing: -.012em; font-variation-settings: "opsz" 24; }
.evlist div p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

.chain { display: grid; gap: 10px; }
.chain__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.chain__row.is-broken { border-color: rgba(255, 120, 100, .55); background: rgba(255, 120, 100, .06); }
.chain__n { font: 600 12px var(--f-mono); color: var(--dim); }
.chain__body { min-width: 0; }
.chain__what { font-size: 15px; }
.chain__hash { margin-top: 3px; font: 400 12px/1.4 var(--f-mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain__ok { font: 600 12px var(--f-mono); color: var(--green); }
.chain__row.is-broken .chain__ok { color: var(--risk); }
.chain__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.pack { padding: 26px 0; border-top: 1px solid var(--line); }
.pack h3 { font: 700 20px/1.2 var(--f-display); letter-spacing: -.015em; font-variation-settings: "opsz" 24; }
.pack p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { padding: 4px 10px; border-radius: 999px; font-size: 13px; color: #c3cfc9; background: rgba(236, 243, 239, .05); border: 1px solid var(--line); }
.pack__note { margin-top: 12px; font-size: 14px; color: var(--dim); }
.pack__note b { font-family: var(--f-mono); font-weight: 600; font-size: 12.5px; color: var(--green); margin-right: 6px; }

.callout { border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); background: linear-gradient(135deg, rgba(61, 255, 149, .1), rgba(61, 255, 149, .02)); border: 1px solid rgba(61, 255, 149, .22); }

/* ---------- Products ---------- */
.prod-index { position: sticky; top: 92px; z-index: 5; margin-bottom: 30px; }
.prod-index ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgba(11, 15, 14, .8); border: 1px solid var(--line); width: max-content; max-width: 100%; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.prod-index ul::-webkit-scrollbar { display: none; }
.prod-index a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.prod-index a svg { width: 16px; height: 16px; }
.prod-index a:hover, .prod-index a.is-active { color: var(--text); background: rgba(61, 255, 149, .1); }

.product { padding-block: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.product__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.product__top--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.product__top--flip .product__media { order: -1; }
.product__label { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.product__label svg { width: 22px; height: 22px; }
.product__top .lede { margin-top: 20px; }
.product__top .actions { margin-top: 28px; }
.product__media { position: relative; }
.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); background: var(--bg-2); }
.shot img { width: 100%; }
.shot--phone { width: min(300px, 78%); margin-inline: auto; border-radius: 30px; }
.shot__cap { margin-top: 12px; font-size: 13.5px; color: var(--dim); }

.feats { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
.feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat h3, .feat h4 { font: 650 16.5px/1.3 var(--f-body); color: var(--text); }
.feat p { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.layers { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 10px; }
.layer { border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s var(--ease); }
.layer[open] { border-color: var(--line-2); }
.layer summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 26px; }
.layer summary::-webkit-details-marker { display: none; }
.layer summary h3 { font: 740 clamp(21px, 2vw, 26px)/1.1 var(--f-display); letter-spacing: -.022em; font-variation-settings: "opsz" 40; }
.layer summary p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.layer__caret { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(236, 243, 239, .05); border: 1px solid var(--line); transition: transform .5s var(--ease-veil), background-color .3s var(--ease); }
.layer__caret svg { width: 16px; height: 16px; }
.layer[open] .layer__caret { transform: rotate(180deg); background: var(--green-soft); color: var(--green); }
.layer .feats { margin: 0; padding: 4px 26px 28px; }
.layer summary:hover .layer__caret { background: rgba(236, 243, 239, .1); }

.more { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.more article { grid-column: span 4; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); }
.more article.is-wide { grid-column: span 8; background: radial-gradient(100% 120% at 100% 0%, rgba(61, 255, 149, .1), transparent 60%), var(--bg-2); }
.more h3 { font: 700 19px/1.2 var(--f-display); letter-spacing: -.014em; font-variation-settings: "opsz" 24; }
.more p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.more .pack__note { margin-top: 10px; }

/* ---------- Download ---------- */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl__card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); scroll-margin-top: 110px; }
.dl__card.is-yours { border-color: var(--green-line); }
.dl__head { display: flex; align-items: center; gap: 14px; }
.dl__head svg { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.dl__head h2 { font: 740 clamp(22px, 2vw, 28px)/1.1 var(--f-display); letter-spacing: -.024em; font-variation-settings: "opsz" 40; }
.dl__meta { margin-left: auto; font: 500 12.5px var(--f-mono); color: var(--dim); white-space: nowrap; }
.yours { display: none; font: 600 12.5px var(--f-body); color: var(--green); }
.is-yours .yours { display: block; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; color: var(--muted); font-size: 15.5px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12.5px var(--f-mono); color: var(--green); background: var(--green-soft); border: 1px solid rgba(61, 255, 149, .25); }
.steps a { color: var(--green); }
.dl__card .btn { margin-top: auto; }
.dl__note { font-size: 14px; color: var(--dim); }
.dl__stores { display: grid; gap: 10px; }

/* ---------- Pricing ---------- */
.bill { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); margin-bottom: 30px; position: relative; }
.bill__btn { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .3s var(--ease), background-color .4s var(--ease); }
.bill__btn.is-on { color: var(--green-ink); background: var(--green); }
.bill__save { font-weight: 500; font-size: 12.5px; opacity: .8; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.plan h3 { font: 740 26px/1 var(--f-display); letter-spacing: -.025em; font-variation-settings: "opsz" 40; }
.plan__for { color: var(--dim); font-size: 14.5px; margin-top: 6px; }
.plan__price { margin: 26px 0 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__amt { font: 760 46px/1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 72; }
.plan__per { color: var(--dim); font-size: 14.5px; }
.plan__list { display: grid; gap: 10px; margin-bottom: 26px; font-size: 15px; color: var(--muted); }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan--pick { background: radial-gradient(120% 70% at 50% 0%, rgba(61, 255, 149, .14), transparent 65%), var(--bg-3); border-color: var(--green-line); position: relative; }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); font: 600 12px var(--f-body); }

.quote { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); scroll-margin-top: 110px; }
.quote__lead p { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.qform { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line-2); }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: #cfd9d4; }
.qform input, .qform select, .qform textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: #070a09; border: 1px solid #2a3532; color: var(--text); font-size: 15.5px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.qform select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23a6b3ad'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; padding-right: 40px; }
.qform select option { background: #0b0f0e; }
.qform textarea { resize: vertical; min-height: 96px; }
.qform input::placeholder, .qform textarea::placeholder { color: #7f8c86; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(61, 255, 149, .18); }
.qform input:user-invalid { border-color: var(--risk); }
.qform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform .btn { justify-self: start; }
.qform__status { min-height: 1.5em; font-size: 15px; color: var(--muted); }
.qform__status.is-err { color: var(--risk); }
.qform__status.is-ok { color: var(--green); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: 6px; }
.faq-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 0; }
.faq-nav a:hover { color: var(--text); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 14px; scroll-margin-top: 110px; }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 0; font: 650 18px/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .layer__caret { width: 32px; height: 32px; }
.faq details[open] summary .layer__caret { transform: rotate(180deg); background: var(--green-soft); color: var(--green); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; max-width: 70ch; }

/* ---------- Security page ---------- */
.flowmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.flow { padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.flow h3 { font: 700 20px/1.2 var(--f-display); letter-spacing: -.015em; margin-top: 16px; font-variation-settings: "opsz" 24; }
.flow p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.flow svg { width: 28px; height: 28px; color: var(--green); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* ---------- Closing CTA: the content sits inside a protected "halo" frame ---------- */
.close { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.close__frame {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 28px; padding: clamp(36px, 6vw, 88px);
  background: radial-gradient(80% 120% at 100% 100%, rgba(61, 255, 149, .12), transparent 60%), var(--bg-2);
  box-shadow: 0 0 0 2px var(--green), 0 0 80px -16px rgba(61, 255, 149, .45);
}
.close__tag { position: absolute; top: 18px; right: 22px; display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--f-mono); color: var(--green); }
.close__tag svg { width: 15px; height: 15px; }
.close h2 { max-width: 13ch; }
.close .lede { margin-top: 22px; }
.close .actions { margin-top: 34px; }
.close .fine { margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 34ch; font-size: 15px; }
.footer__h { font: 600 13.5px/1 var(--f-body); color: var(--dim); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.footer ul a:hover { color: var(--text); }
.footer ul a svg { width: 16px; height: 16px; }
.footer__mark { margin-top: 64px; font: 800 clamp(64px, 15.5vw, 230px)/.8 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(214, 255, 232, .14); font-variation-settings: "opsz" 96; user-select: none; white-space: nowrap; overflow: hidden; }
.footer__legal { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Reveal (only when motion is allowed and JS runs) ---------- */
.reveal-pending [data-reveal] { opacity: 0; }

/* ---------- Page transitions: cross-document view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .38s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .62s var(--ease-veil) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: translateY(-10px); } }
@keyframes vt-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 10px; }
  .brand__by { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__menu { display: block; }
  .nav { padding-right: 8px; }
  .nav__cta { margin-left: auto; }
  .story__grid, .halo-split, .product__top, .evidence, .quote, .faq-layout, .split { grid-template-columns: minmax(0, 1fr); }
  .product__top--flip .product__media { order: 0; }
  .faq-nav { position: static; grid-auto-flow: column; overflow-x: auto; gap: 16px; }
  .tile--ext, .tile--android { grid-column: span 12; grid-row: auto; min-height: 0; }
  .tile--win, .tile--outlook, .tile--console { grid-column: span 12; }
  .industries { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more article, .more article.is-wide { grid-column: span 12; }
  .flowmap { grid-template-columns: minmax(0, 1fr); }
  .hero__legend { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { height: 56px; top: 10px; }
  .nav__cta .btn--primary { --h: 40px; padding: 0 16px; font-size: 14px; }
  .nav__cta .btn--primary .btn__icon { display: none; }
  .dl, .plans, .packs, .evlist, .feats, .feats--2, .qform__row { grid-template-columns: minmax(0, 1fr); }
  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .composer__inner { min-height: 430px; }
  .alert { bottom: 98px; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .faq details p { padding-right: 0; }
  .btn { --h: 48px; }
  .hero { padding-top: 110px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(7, 9, 10, .5) 0%, rgba(7, 9, 10, 0) 18%, rgba(7, 9, 10, 0) 34%, rgba(7, 9, 10, .88) 56%, var(--bg) 100%); }
  .hero__poster { object-position: 62% 50%; }
  .actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .dl__head { flex-wrap: wrap; }
  .dl__meta { margin-left: 0; width: 100%; }
  
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .caret { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .menu, .prod-index ul { background: #0b0f0e; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  .nav, .menu, .hero__stage, .footer__mark { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Compare (/compare) ---------- */
.cmp-intro { margin-top: 8px; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 16px; }
.cmp-legend > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cmp-legend dt { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.cmp-legend dd { margin: 0; color: var(--dim); font-size: 14px; }
.cmp-sec { padding-block: clamp(72px, 8vw, 120px) 0; scroll-margin-top: 140px; }
.cmp-sec .body-l { margin-top: 18px; max-width: 74ch; }
.cmp-kinds { margin: 14px 0 0; display: grid; gap: 8px; color: var(--muted); max-width: 74ch; }
.cmp-kinds li { position: relative; padding-left: 20px; }
.cmp-kinds li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
.cmp-checked { margin-top: 18px; font: 500 13px/1.4 var(--f-mono); color: var(--dim); }
.cmp { position: relative; margin-top: 18px; }
.cmp__scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); scrollbar-color: #2b3532 var(--bg-2); transition: box-shadow .3s var(--ease); }
.cmp.can-scroll-right .cmp__scroll { box-shadow: inset -26px 0 22px -22px rgba(0, 0, 0, .95); }
.cmp__table { width: 100%; min-width: 880px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.4; }
.cmp__table th, .cmp__table td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp__table td { position: relative; }
.cmp__table thead th { background: var(--bg-3); font: 700 15px/1.2 var(--f-display); color: var(--text); vertical-align: bottom; padding-block: 16px 14px; border-bottom-color: var(--line-2); }
.cmp__table thead th small { display: block; margin-top: 4px; font: 500 12px/1.3 var(--f-body); color: var(--dim); }
.cmp__table .cmp__feat { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 230px; width: 28%; background: var(--bg-2); box-shadow: 1px 0 0 var(--line-2); }
.cmp__table thead .cmp__feat { z-index: 2; background: var(--bg-3); font: 600 12px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.cmp__feat b { display: block; font-weight: 600; color: var(--text); }
.cmp__feat span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--dim); }
.cmp__table .is-vg { background: rgba(61, 255, 149, .06); }
.cmp__table thead th.is-vg { color: var(--green); background: #10201a; box-shadow: inset 0 3px 0 var(--green); }
.cmp__table .cmp__gh { padding: 10px 12px; text-align: left; background: var(--bg-3); font: 600 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmp__gh span { position: sticky; left: 12px; }
.cmp__grp.is-gap .cmp__gh { color: var(--amber); background: #19170f; }
.cmp__grp:last-child tr:last-child > * { border-bottom: 0; }
.mk { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; font: 700 13px/1 var(--f-body); }
.mk--y { color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); }
.mk--p { color: var(--amber); background: rgba(255, 200, 87, .1); border: 1px solid rgba(255, 200, 87, .34); }
.mk--n { color: var(--dim); border: 1px solid var(--line-2); font-size: 11px; }
.mk--u { color: var(--muted); border: 1px dashed rgba(214, 255, 232, .3); }
.cmp__txt { display: inline-block; min-width: 9ch; max-width: 19ch; font-size: 13px; color: var(--muted); text-wrap: balance; }
.is-vg .cmp__txt { color: var(--text); font-weight: 500; }
.cmp__ref { margin-left: 3px; font-size: 11px; line-height: 0; vertical-align: super; }
.cmp__ref a { color: var(--green); text-decoration: none; padding: 2px; }
.cmp__ref a:hover { text-decoration: underline; }
.cmp__notes { margin: 14px 0 0; padding-left: 24px; display: grid; gap: 6px; max-width: 110ch; }
.cmp__notes li { scroll-margin-top: 150px; }
.cmp__notes li:target { color: var(--text); }
.cmp-sources { padding-bottom: clamp(72px, 8vw, 120px); }
.cmp-sources .fine { margin-top: 14px; }
.cmp-src { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.cmp-src h3 { font: 600 15px/1.3 var(--f-body); margin-bottom: 10px; }
.cmp-src li { font-size: 14px; color: var(--muted); }
.cmp-src li + li { margin-top: 8px; }
@media (max-width: 680px) {
  .cmp::before { content: "Swipe the table sideways to see every product."; display: block; margin-bottom: 8px; font-size: 13px; color: var(--dim); }
  .cmp__table { min-width: 760px; font-size: 14px; }
  .cmp__table .cmp__feat { min-width: 150px; width: 150px; }
  .cmp__table th, .cmp__table td { padding: 10px 8px; }
  .cmp__feat span { font-size: 12px; }
}
@media (forced-colors: active) {
  .mk { border: 1px solid CanvasText; }
  .cmp__table thead th.is-vg { box-shadow: none; border-top: 3px solid Highlight; }
}
@media print {
  .cmp__scroll { overflow: visible; border-color: #999; background: #fff; }
  .cmp__table, .cmp__table .cmp__feat, .cmp__table thead th, .cmp__table .cmp__gh, .cmp__table .is-vg { background: #fff !important; color: #000 !important; position: static; }
  .cmp__feat span, .cmp__txt { color: #333 !important; }
  .prod-index { display: none; }
}
