/* GamaTrace — gamatrace.com
   Scroll-told product story. No build step, no dependencies.
   Brand tokens follow brand/README.md: Ink, Paper, Teal (reserved for "now"/live), Teal 700 for teal text on light. */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #0B1220;
  --ink-2: #101a2d;
  --ink-3: #17233a;
  --ink-4: #22304b;
  --paper: #F5F6F8;
  --paper-2: #E9ECF1;
  --teal: #14B8A6;
  --teal-300: #5EEAD4;
  --teal-700: #0F766E;
  --coral: #F2836B;
  --coral-bg: #3A1A1D;
  --text: #F5F6F8;
  --muted: rgba(245, 246, 248, .62);
  --faint: rgba(245, 246, 248, .38);
  --line: rgba(245, 246, 248, .10);
  --line-2: rgba(245, 246, 248, .18);

  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow {
  font: 600 13px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.display { font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 38rem; }
.fine { font-size: 14px; color: var(--faint); }
.dim-text { color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body); white-space: nowrap;
  transition: transform .3s var(--spring), background-color .2s, box-shadow .3s;
}
.btn:active { transform: scale(.96); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-teal { background: var(--teal); color: var(--ink); box-shadow: 0 0 0 0 rgba(20, 184, 166, .5); }
.btn-teal:hover { background: var(--teal-300); box-shadow: 0 8px 30px -6px rgba(20, 184, 166, .55); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- top progress + nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: 60px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background-color .4s, color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 18, 32, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--line);
}
.nav.on-light { background: rgba(245, 246, 248, .78); color: var(--ink); border-bottom-color: rgba(11, 18, 32, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; color: currentColor; }
.brand-word { font: 400 21px/1 var(--display); letter-spacing: -.02em; }
.brand-word b { font-weight: 700; }
.nav-links { display: flex; gap: 30px; font-size: 14px; }
.nav-links a { opacity: .72; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--teal); }
.nav.on-light .nav-links a[aria-current="page"] { color: var(--teal-700); }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav { gap: 8px; }
  .nav .btn-sm { margin-left: auto; }
  .nav-toggle { display: block; position: relative; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 11px; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle span:first-child { top: 16px; }
  .nav-toggle span:last-child { top: 23px; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px var(--gutter) 20px;
    background: rgba(11, 18, 32, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    font: 600 22px/1.2 var(--display);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
  }
  .nav-links a { padding: 14px 0; opacity: 1; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav.open { background: rgba(11, 18, 32, .97); }
  .nav.on-light .nav-links, .nav.on-light.open { background: rgba(245, 246, 248, .98); }
}

/* ---------- pinned scenes ---------- */
.scene { position: relative; height: calc(var(--len, 300) * 1vh); }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* captions that swap with scroll */
.caps { position: relative; }
.cap { position: absolute; inset: 0 0 auto 0; opacity: 0; will-change: opacity, transform; }
html:not(.js) .cap { position: static; opacity: 1; margin-bottom: 24px; }
.cap h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); margin-bottom: 18px; }
.cap h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.cap p { font-size: clamp(1.02rem, 1.35vw, 1.22rem); color: var(--muted); max-width: 30rem; }

/* ---------- 0. hero ---------- */
.hero .stage { display: grid; place-items: center; text-align: center; }
.hero-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 50% 42%, rgba(20, 184, 166, .16), transparent 70%),
    radial-gradient(60% 50% at 50% 110%, rgba(34, 48, 75, .9), transparent 70%);
  pointer-events: none;
}
.hero-mark {
  position: absolute; left: 50%; top: 38%;
  --mark-w: clamp(150px, 24vmin, 250px);
  width: calc(var(--mark-w) * var(--zoom, 1)); height: auto; aspect-ratio: 1;
  translate: -50% -50%;
  overflow: visible;
}
.hero-mark .arc { fill: none; stroke: var(--paper); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.hero-mark .a2 { animation-delay: .25s; }
.hero-mark .a3 { animation-delay: .5s; }
.hero-mark .now { fill: var(--teal); transform-origin: 60px 60px; transform: scale(0); animation: pop .7s var(--spring) 1.25s forwards; }
.hero-mark .now-ring { fill: none; stroke: var(--teal); stroke-width: 2; transform-origin: 60px 60px; opacity: 0; animation: ring 2.4s var(--ease) 2s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }

.hero-copy { position: absolute; left: 0; right: 0; top: 60%; padding: 0 var(--gutter); }
.hero-copy .eyebrow { opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards; }
.hero-title { font-size: clamp(2.3rem, 6.2vw, 5.4rem); opacity: 0; animation: fadeUp 1.1s var(--ease) 1.6s forwards; }
.hero-sub { margin-top: 22px; font: 500 15px/1 var(--body); letter-spacing: .06em; color: var(--muted); opacity: 0; animation: fadeUp 1s var(--ease) 1.9s forwards; }
.hero-answer { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); pointer-events: none; }
.hero-answer-line { font: 700 clamp(2.6rem, 8vw, 7rem)/1 var(--display); letter-spacing: -.035em; opacity: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid var(--line-2); border-radius: 14px; opacity: 0; animation: fadeUp 1s var(--ease) 2.2s forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--paper); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- shared: copy column of story/report ---------- */
.story .stage, .report .stage {
  background:
    radial-gradient(50% 60% at 72% 55%, rgba(34, 48, 75, .55), transparent 70%),
    var(--ink);
}
.copy {
  position: absolute; z-index: 3;
  left: var(--gutter); top: 50%;
  width: min(27rem, 32vw);
  transform: translateY(-50%);
}
.copy .caps { min-height: 17rem; }
.clock-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; margin-bottom: 26px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font: 600 15px/1 var(--display); letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  background: rgba(16, 26, 45, .6);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); } 70% { box-shadow: 0 0 0 9px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }

/* ---------- devices ---------- */
.devices {
  --mac-w: min(52vw, 90vh);
  position: absolute; z-index: 1;
  right: calc(var(--gutter) + var(--mac-w) * .09); top: 50%;
  width: var(--mac-w);
  transform: translateY(-50%);
}
.mac { width: var(--mac-w); font-size: calc(var(--mac-w) * .0145); position: relative; will-change: transform; }
.mac-lid {
  position: relative;
  aspect-ratio: 1.56;
  padding: .9% .9% 1.2%;
  border-radius: 2.4% / 3.7%;
  background: #07090d;
  box-shadow: inset 0 0 0 1px #2a303b, 0 0 0 1.5px #59626f, 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.mac-screen { position: relative; height: 100%; border-radius: 1.6% / 2.5%; overflow: hidden; background: #000; }
.mac-base {
  position: relative;
  height: calc(var(--mac-w) * .019);
  margin: 0 -5.5%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(#d3d8e0, #9aa2b0 55%, #5f6775);
}
.mac-base span { position: absolute; left: 50%; top: 0; width: 13%; height: 34%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: rgba(0, 0, 0, .25); }

.desk {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 80% 100%, rgba(20, 184, 166, .38), transparent 60%),
    radial-gradient(60% 80% at 10% 0%, #2b3d63, transparent 70%),
    linear-gradient(160deg, #18233a, #0B1220);
  font-family: var(--body);
}
.menubar {
  position: absolute; inset: 0 0 auto; height: 2.2em; padding: 0 1.2em;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 16, 28, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .95em; color: rgba(255, 255, 255, .88); z-index: 10;
}
.mb-l, .mb-r { display: flex; align-items: center; gap: 1.4em; }
.mb-gt { width: 1.35em; height: 1.35em; color: #fff; }
[data-clock] { font-variant-numeric: tabular-nums; }

.win {
  position: absolute; border-radius: .8em; overflow: hidden;
  background: #1c2333; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 1.6em 3em -1em rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease), opacity .5s var(--ease), filter .5s;
}
.tb { height: 2.3em; display: flex; align-items: center; gap: .55em; padding: 0 .9em; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .9em; color: rgba(255, 255, 255, .6); }
.tb i { width: .85em; height: .85em; border-radius: 50%; background: #ff5f57; }
.tb i:nth-child(2) { background: #febc2e; }
.tb i:nth-child(3) { background: #28c840; }
.tb span { margin-left: .8em; flex: 1; text-align: center; padding-right: 3.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win.back { filter: brightness(.7) saturate(.8); }
.win.back .tb i { background: rgba(255, 255, 255, .2); }

.term { left: 4%; top: 11%; width: 54%; height: 54%; z-index: 3; background: #0d1322; }
.term-body { margin: 0; padding: 1em 1.2em; font: .95em/1.55 var(--mono); color: #c8d3e6; white-space: pre; overflow: hidden; }
.term-body .ok { color: var(--teal-300); }
.term-body .dim { color: rgba(200, 211, 230, .5); }

.chat { left: 36%; top: 19%; width: 58%; height: 64%; z-index: 2; }
.chat-body { display: flex; height: calc(100% - 2.3em); }
.chat-list { width: 38%; border-right: 1px solid rgba(255, 255, 255, .06); padding: .6em; display: grid; align-content: start; gap: .4em; }
.cl { display: flex; gap: .6em; align-items: center; padding: .5em; border-radius: .6em; }
.cl.on { background: rgba(255, 255, 255, .06); }
.cl b { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #3b4a66, #263148); flex: none; }
.cl span { flex: 1; display: grid; gap: .45em; }
.cl i { height: .55em; border-radius: 1em; background: rgba(255, 255, 255, .16); }
.cl i + i { background: rgba(255, 255, 255, .08); }
.chat-thread { flex: 1; position: relative; padding: 1em; display: flex; flex-direction: column; gap: .7em; background: #141b29; }
.bub { height: 2.2em; border-radius: 1em; background: #232c3f; }
.bub.out { align-self: flex-end; background: #1d4a44; }
.chat-input { position: absolute; left: 1em; right: 1em; bottom: 1em; height: 2.6em; border-radius: 1.3em; background: #232c3f; display: flex; align-items: center; padding: 0 1em; gap: .2em; }
.typed { display: flex; gap: .3em; }
.typed i { display: block; height: .6em; border-radius: 1em; background: rgba(255, 255, 255, .5); }
.caret { width: 1.5px; height: 1.2em; background: var(--teal-300); opacity: 0; }
.chat.front .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 1; } }

.finder { left: 14%; top: 27%; width: 50%; height: 56%; z-index: 1; opacity: 0; transform: scale(.94) translateY(2%); }
.finder-body { display: flex; height: calc(100% - 2.3em); }
.side { width: 28%; padding: 1em .8em; display: grid; align-content: start; gap: .9em; background: rgba(255, 255, 255, .03); border-right: 1px solid rgba(255, 255, 255, .06); }
.side i { height: .6em; border-radius: 1em; background: rgba(255, 255, 255, .14); }
.side i:nth-child(2) { width: 70%; } .side i:nth-child(3) { width: 84%; } .side i:nth-child(4) { width: 60%; }
.rows { list-style: none; margin: 0; padding: .6em; flex: 1; display: none; }
.rows.show { display: block; }
.rows li { display: flex; align-items: center; gap: .7em; padding: .48em .7em; border-radius: .45em; font-size: 1em; color: rgba(255, 255, 255, .85); }
.rows svg { width: 1.3em; height: 1.3em; color: #5aa9e6; flex: none; }
.rows li.f svg { color: rgba(255, 255, 255, .6); }
.rows li.sel.hit { background: #2563c9; color: #fff; }
.rows li.sel.hit svg { color: #fff; }

.doc { left: 50%; top: 12%; width: 34%; height: 76%; z-index: 1; opacity: 0; transform: scale(.9); background: #f4f5f7; }
.doc .tb { background: #e6e8ed; color: #4a5263; border-color: #d8dbe2; }
.doc-body { padding: 1.6em 1.8em; display: grid; gap: .75em; }
.doc-body b { height: 1.1em; width: 55%; border-radius: .3em; background: #2a3142; margin-bottom: .5em; }
.doc-body b.b2 { width: 40%; margin-top: .6em; }
.doc-body i { height: .55em; border-radius: .3em; background: #c9ced8; }

.win.front { z-index: 6; opacity: 1; transform: none; filter: none; }
.win.shown { opacity: 1; transform: none; }

.cursor { position: absolute; z-index: 12; width: 2em; height: 2em; left: 0; top: 0; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); will-change: transform; }
.dim { position: absolute; inset: 0; z-index: 11; background: #000; opacity: 0; pointer-events: none; }

.lockscreen {
  position: absolute; inset: 0; z-index: 14;
  display: flex; flex-direction: column; align-items: center; padding-top: 12%;
  background:
    radial-gradient(70% 90% at 80% 100%, rgba(20, 184, 166, .30), transparent 60%),
    linear-gradient(160deg, rgba(24, 35, 58, .92), rgba(11, 18, 32, .96));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .7s var(--ease);
}
.lockscreen.on { opacity: 1; }
.ls-date { font-size: 1.4em; color: rgba(255, 255, 255, .8); font-weight: 600; }
.ls-time { font: 700 7.5em/1 var(--display); letter-spacing: -.03em; margin: .05em 0 .35em; }
.ls-user { margin-top: auto; margin-bottom: 7%; display: grid; justify-items: center; gap: .45em; }
.ls-avatar { border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #5b6a86, #33405a); font: 600 1.7em/1 var(--body); width: 2.5em; height: 2.5em; }
.ls-user b { font-size: 1.15em; font-weight: 600; }
.ls-pass { padding: .55em 1.3em; border-radius: 2em; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .6); font-size: 1em; }

/* phone */
.phone {
  --ph-w: calc(var(--mac-w) * .3);
  width: var(--ph-w);
  font-size: calc(var(--ph-w) * .046);
  aspect-ratio: 9 / 19.5;
  padding: 1.5%;
  border-radius: 13.5% / 6.3%;
  background: #05070a;
  box-shadow: inset 0 0 0 1px #262c36, 0 0 0 1.5px #6a7382, 0 0 0 2.5px #2c323d, 0 40px 80px -20px rgba(0, 0, 0, .85);
}
.phone-screen { position: relative; height: 100%; border-radius: 12.4% / 5.8%; overflow: hidden; background: var(--ink); font-family: var(--body); }
.island { position: absolute; z-index: 5; left: 50%; top: 1.6%; width: 30%; height: 3.8%; transform: translateX(-50%); border-radius: 2em; background: #000; }

.devices .phone {
  position: absolute; right: -5%; bottom: -12%; z-index: 4;
  transform: translateY(130%); opacity: 0;
  will-change: transform, opacity;
}

.ps { position: absolute; inset: 0; padding: 18% 6% 6%; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ps-lock {
  text-align: center;
  background:
    radial-gradient(90% 60% at 50% 100%, rgba(20, 184, 166, .35), transparent 70%),
    linear-gradient(170deg, #22304b, #0B1220);
}
.pl-date { font-size: .95em; font-weight: 600; color: rgba(255, 255, 255, .85); }
.pl-time { font: 700 4.6em/1 var(--display); letter-spacing: -.03em; margin-bottom: 1.2em; }
.notif {
  display: flex; gap: .7em; text-align: left; align-items: flex-start;
  padding: .9em; border-radius: 1.3em;
  background: rgba(40, 48, 66, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  transform: translateY(-140%) scale(.9); opacity: 0;
  transition: transform .7s var(--spring), opacity .4s;
}
.notif.on { transform: none; opacity: 1; }
.notif-ic { width: 2.5em; height: 2.5em; padding: .45em; border-radius: .6em; background: var(--ink); color: #fff; flex: none; }
.notif-top { display: flex; justify-content: space-between; font-size: .78em; color: rgba(255, 255, 255, .6); }
.notif-top b { font-weight: 600; }
.notif-title { font-weight: 700; font-size: .9em; margin: .1em 0; }
.notif-text { font-size: .82em; color: rgba(255, 255, 255, .8); line-height: 1.3; }

.ps-alert { opacity: 0; transform: translateY(8%); background: var(--ink); }
.pa-head { text-align: center; font-weight: 600; font-size: .95em; margin-bottom: 1em; }
.pa-banner { display: flex; flex-direction: column; gap: .5em; padding: 1em; border-radius: 1em; border: 1.5px solid var(--coral); background: var(--coral-bg); color: var(--coral); margin-bottom: 1em; }
.pa-banner svg { width: 1.8em; height: 1.8em; }
.pa-banner b { font: 700 1.15em/1.15 var(--display); }
.pa-list { margin: 0 0 1.1em; padding: .4em 1em; border-radius: 1em; background: var(--ink-3); border: 1px solid var(--line); }
.pa-list div { display: flex; justify-content: space-between; gap: .5em; padding: .45em 0; font-size: .78em; }
.pa-list dt { color: var(--muted); }
.pa-list dd { margin: 0; font-weight: 600; text-align: right; }
.pa-btn { display: flex; align-items: center; justify-content: center; gap: .5em; height: 2.9em; border-radius: .9em; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .95em; margin-bottom: .6em; transition: transform .25s var(--spring), box-shadow .4s; }
.pa-btn svg { width: 1.1em; height: 1.1em; }
.pa-btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pa-btn.pressed { transform: scale(.93); box-shadow: 0 0 0 .5em rgba(20, 184, 166, .35); }

.ps-done { opacity: 0; transform: scale(.96); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6em; background: var(--ink); }
.pd-check { width: 4.4em; height: 4.4em; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 184, 166, .16); color: var(--teal); margin-bottom: .4em; }
.pd-check svg { width: 2em; height: 2em; }
.ps-done b { font: 700 1.6em/1 var(--display); }
.ps-done span { font-size: .85em; color: var(--muted); line-height: 1.4; }

.phone[data-state="alert"] .ps-lock, .phone[data-state="done"] .ps-lock { opacity: 0; transform: translateY(-6%); }
.phone[data-state="alert"] .ps-alert { opacity: 1; transform: none; }
.phone[data-state="done"] .ps-alert { opacity: 0; transform: scale(.96); }
.phone[data-state="done"] .ps-done { opacity: 1; transform: none; }

/* ---------- 2. away report ---------- */
.report-phone {
  position: absolute; z-index: 1;
  left: 64%; top: 50%;
  transform: translate(-50%, -50%);
}
.phone.big { --ph-w: min(25vw, 39vh, 400px); }
.rp-top { position: absolute; z-index: 4; inset: 0 0 auto; height: 13%; padding-top: 7.5%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .95em; background: var(--ink); }
.rp-top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.4em; background: linear-gradient(var(--ink), rgba(11, 18, 32, 0)); }
.rp-back { position: absolute; left: 5%; top: 52%; width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); font-size: 1.2em; line-height: 1; }
.rp-scroll { position: absolute; left: 0; right: 0; top: 13%; padding: 0 5%; will-change: transform; }
.rp-hero { padding: 1.1em; border-radius: 1.1em; border: 1.5px solid var(--coral); background: var(--coral-bg); color: var(--coral); display: grid; gap: .5em; }
.rp-hero svg { width: 2em; height: 2em; }
.rp-hero b { font: 700 1.35em/1.12 var(--display); letter-spacing: -.01em; }
.rp-hero span { color: var(--text); font-size: .8em; opacity: .9; }
.rp-scroll h4 { font-size: 1em; margin: 1.3em 0 .6em; letter-spacing: -.01em; }
.rp-card { border-radius: 1em; background: var(--ink-3); border: 1px solid var(--line); }
.rp-big { padding: 1em 1.1em; display: grid; gap: .2em; }
.rp-big b { font: 700 2.2em/1 var(--display); font-variant-numeric: tabular-nums; }
.rp-big span { font-size: .78em; color: var(--muted); }
.rp-rows { padding: .2em 1em; }
.rr { display: flex; gap: .8em; align-items: flex-start; padding: .6em 0; font-size: .8em; border-bottom: 1px solid var(--line); opacity: .12; transform: translateX(-4%); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.rr:last-child { border-bottom: 0; }
.rr.on { opacity: 1; transform: none; }
.rr time { color: var(--muted); flex: none; width: 4.6em; font-variant-numeric: tabular-nums; }
.rp-apps { padding: .9em 1em; display: grid; gap: 1em; }
.app { opacity: .15; transition: opacity .5s; }
.app.on { opacity: 1; }
.app-h { display: flex; justify-content: space-between; font-size: .85em; margin-bottom: .45em; }
.app-h span { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: .5em; border-radius: 1em; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--teal-700), var(--teal)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease); }
.app.on .bar i { transform: scaleX(1); }
.app-s { font-size: .72em; color: var(--muted); margin-top: .45em; }
.rp-files { padding: .2em 1em; }
.rp-files .rr svg { width: 1.3em; height: 1.3em; flex: none; color: #5aa9e6; }
.rp-files .rr span { flex: 1; word-break: break-word; }
.rp-files .rr time { width: auto; }
.rp-pad { height: 4em; }

/* ---------- 3. guard ---------- */
.guard { padding: clamp(100px, 16vh, 180px) 0; background: radial-gradient(60% 50% at 75% 50%, rgba(20, 184, 166, .10), transparent 70%), var(--ink); }
.guard-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 36px; display: grid; gap: 26px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font: 600 15px/1 var(--display); color: var(--teal); }
.steps b { font: 700 1.3rem/1.3 var(--display); letter-spacing: -.01em; }
.steps span { color: var(--muted); }
.guard .fine { max-width: 32rem; }
.guard .display { font-size: clamp(2.4rem, 5vw, 4.6rem); }

.guard-dial-wrap { display: grid; justify-items: center; gap: 28px; text-align: center; }
.dial { position: relative; width: clamp(220px, 30vw, 340px); aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dial-core {
  position: absolute; inset: 22%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2a3a57, var(--ink-3));
  box-shadow: inset 0 0 0 1.5px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .8);
  transition: background .6s var(--ease), box-shadow .6s var(--ease), transform .5s var(--spring);
}
.dial:active .dial-core { transform: scale(.95); }
.dial-shield { width: 34%; height: 34%; color: var(--faint); transition: color .5s, transform .6s var(--spring); }
.dial.on .dial-core { background: radial-gradient(circle at 35% 30%, #1fd1bc, var(--teal-700)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25), 0 30px 80px -14px rgba(20, 184, 166, .6); }
.dial.on .dial-shield { color: #fff; transform: scale(1.08); }
.ring { position: absolute; inset: 22%; border-radius: 50%; border: 1.5px solid var(--teal); opacity: 0; }
.dial.on .ring { animation: breathe 3.6s var(--ease) infinite; }
.dial.on .r2 { animation-delay: 1.2s; }
.dial.on .r3 { animation-delay: 2.4s; }
@keyframes breathe { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
.dial-state b { display: block; font: 700 1.7rem/1.1 var(--display); margin-bottom: 6px; }
.dial-state span { color: var(--muted); }
.dial-hint { font-size: 13px; color: var(--faint); }

/* ---------- 4. privacy (light) ---------- */
.light { background: var(--paper); color: var(--ink); --muted: rgba(11, 18, 32, .62); --faint: rgba(11, 18, 32, .45); --line: rgba(11, 18, 32, .09); --line-2: rgba(11, 18, 32, .16); color-scheme: light; }
.light .eyebrow { color: var(--teal-700); }
.privacy .stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 6vh, 64px); padding: 80px var(--gutter) 40px; text-align: center; background: var(--paper); }
.priv-head .display { font-size: clamp(2.3rem, 5.6vw, 5rem); }

.pipe { position: relative; isolation: isolate; width: min(980px, 100%); height: 210px; }
.node { position: absolute; top: 74px; width: 33%; display: grid; justify-items: center; gap: 6px; transition: opacity .4s; }
.node.n1 { left: 0; } .node.n2 { left: 33.5%; } .node.n3 { right: 0; }
.node-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 12px 30px -12px rgba(11, 18, 32, .25); transition: box-shadow .4s, transform .5s var(--spring); }
.node-ic svg { width: 28px; height: 28px; }
.node b { font: 700 17px/1.2 var(--display); }
.node small { font-size: 13px; color: var(--muted); }
.node.act .node-ic { box-shadow: 0 0 0 2px var(--teal), 0 14px 34px -10px rgba(20, 184, 166, .45); transform: scale(1.06); }
.track { position: absolute; left: 16.5%; right: 16.5%; top: 105px; height: 2px; background: var(--line-2); z-index: -1; }
.track i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.packet {
  position: absolute; top: 0; left: 0;
  display: inline-flex; align-items: center; gap: 10px;
  max-width: min(420px, 92vw);
  padding: 11px 16px 11px 12px; border-radius: 14px;
  background: var(--ink); color: var(--paper);
  font: 500 14px/1.2 var(--mono);
  box-shadow: 0 16px 36px -14px rgba(11, 18, 32, .55);
  white-space: nowrap; will-change: transform;
}
.packet::after { content: ""; position: absolute; left: var(--tip, 50%); bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.pk-lock { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex: none; transition: background .3s, color .3s; }
.pk-lock svg { width: 15px; height: 15px; }
.packet.sealed .pk-lock { background: var(--teal-700); color: #fff; }
.packet.open .pk-lock { background: var(--teal); color: var(--ink); }
.pk-text { overflow: hidden; text-overflow: clip; }
.packet.sealed .pk-text { color: var(--teal-300); letter-spacing: .02em; }

.priv-caps { position: relative; width: min(640px, 100%); min-height: 8.5rem; }
.priv-caps .cap p { margin-inline: auto; }

.never { padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 16vh, 170px); }
.never .display { font-size: clamp(2rem, 4.6vw, 4rem); max-width: 14ch; margin-bottom: 56px; }
.never-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nv { padding: 28px 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.nv b { display: block; font: 700 1.25rem/1.2 var(--display); margin-bottom: 10px; text-decoration: line-through; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.nv p { color: var(--muted); font-size: 15px; }
.sees { margin-top: 28px; padding: 28px; border-radius: 22px; background: var(--paper-2); display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.sees b { font: 700 1.1rem/1.3 var(--display); }
.sees p { color: var(--muted); }

/* ---------- 5. more (horizontal rail) ---------- */
.more .stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); background: var(--ink); }
.more-head { padding: 0 var(--gutter); }
.more-head .display { font-size: clamp(2.1rem, 5vw, 4.4rem); }
.rail { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card {
  position: relative; flex: none;
  width: clamp(270px, 28vw, 360px); min-height: clamp(360px, 50vh, 440px);
  padding: 30px 26px; border-radius: 26px;
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.card h3 { font-size: 1.75rem; margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.chip { align-self: flex-start; display: inline-block; padding: 6px 11px; border-radius: 999px; font: 600 12px/1 var(--body); letter-spacing: .03em; border: 1px solid var(--line-2); color: var(--muted); }
.chip.live { border-color: rgba(20, 184, 166, .45); color: var(--teal); background: rgba(20, 184, 166, .08); }
.card > div { margin-top: auto; padding-top: 24px; }
.mini-tl { display: grid; gap: 8px; }
.mini-tl div { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13.5px; }
.mini-tl time { color: var(--faint); width: 3em; font-variant-numeric: tabular-nums; }
.mini-tl .now { box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .5); }
.mini-tl .now time { color: var(--teal); }
.mini-tl .warn time { color: var(--coral); }
.mini-lock { display: grid; place-items: center; }
.mini-lock span { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); }
.mini-lock svg { width: 40px; height: 40px; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-tags i { font-style: normal; font-size: 13px; padding: 7px 11px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.mini-score { display: flex; align-items: baseline; gap: 12px; }
.mini-score b { font: 700 4.4rem/1 var(--display); color: var(--coral); }
.mini-score span { color: var(--muted); }
.mini-approve { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 14px; display: grid; gap: 12px; }
.mini-approve > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-approve i { font-style: normal; text-align: center; padding: 9px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.mini-approve i.ok { background: var(--paper); color: var(--ink); box-shadow: none; }
.mini-plat { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-plat span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 14px; }
.mini-plat svg { width: 22px; height: 22px; color: var(--teal); }

/* ---------- 6. plans ---------- */
.plans { padding: clamp(100px, 16vh, 170px) 0; background: linear-gradient(var(--ink), var(--ink-2)); }
.plans-head { text-align: center; display: grid; justify-items: center; margin-bottom: 64px; }
.plans-head .display { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-bottom: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; padding: 34px 30px; border-radius: 26px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.plan.featured { background: linear-gradient(170deg, #173a44, var(--ink-3) 60%); box-shadow: inset 0 0 0 1.5px rgba(20, 184, 166, .5), 0 30px 80px -30px rgba(20, 184, 166, .35); }
.plan .chip { position: absolute; top: 30px; right: 26px; }
.plan h3 { font-size: 1.5rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price b { font: 700 3.4rem/1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 15px; }
.plan-for { color: var(--muted); font-size: 15px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; }
.plan .btn { width: 100%; margin-top: 28px; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }
.plan li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: rgba(20, 184, 166, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2314B8A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- 7. CTA ---------- */
.cta { padding: clamp(110px, 18vh, 200px) 0; text-align: center; background: radial-gradient(50% 50% at 50% 30%, rgba(20, 184, 166, .14), transparent 70%), var(--ink-2); }
.cta-inner { display: grid; justify-items: center; gap: 22px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.cta-mark { width: 84px; height: 84px; color: var(--paper); margin-bottom: 10px; }
.cta .display { font-size: clamp(2.6rem, 7vw, 6rem); }
.dl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; width: min(900px, 100%); margin-top: 18px; }
/* Computers three across, phones two across. */
.dl-grid .dl { grid-column: span 2; }
.dl-grid .dl[data-os="iphone"], .dl-grid .dl[data-os="android"] { grid-column: span 3; }
.dl {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .25s, transform .3s var(--spring), box-shadow .3s;
}
.dl:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.dl:active { transform: scale(.97); }
.dl svg { width: 30px; height: 30px; flex: none; }
.dl small { display: block; font-size: 12px; color: var(--muted); }
.dl b { font: 700 19px/1.2 var(--display); }
.dl.primary { background: var(--teal); color: var(--ink); box-shadow: 0 14px 40px -12px rgba(20, 184, 166, .6); }
.dl.primary small { color: rgba(11, 18, 32, .7); }
.dl.primary:hover { background: var(--teal-300); }
.page-top { padding-top: clamp(140px, 22vh, 220px); }

/* ---------- sub-page opener ---------- */
.page-hero { padding: clamp(150px, 24vh, 240px) 0 clamp(40px, 8vh, 90px); background: radial-gradient(50% 60% at 80% 0%, rgba(20, 184, 166, .12), transparent 70%), var(--ink); }
.page-hero .display { font-size: clamp(2.6rem, 7vw, 6rem); margin-bottom: 24px; }
.guard { padding-top: clamp(60px, 10vh, 120px); }

/* ---------- home: there's more ---------- */
.explore { padding: clamp(90px, 14vh, 150px) 0; background: var(--ink); }
.explore .display { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 48px; }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xcard {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: 26px;
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2)); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--spring), box-shadow .3s;
}
.xcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .5), 0 24px 60px -30px rgba(20, 184, 166, .5); }
.xcard-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(20, 184, 166, .12); color: var(--teal); margin-bottom: 6px; }
.xcard-ic svg { width: 24px; height: 24px; }
.xcard b { font: 700 1.6rem/1.1 var(--display); }
.xcard p { color: var(--muted); flex: 1; }
.xcard-go { color: var(--teal); font-weight: 600; font-size: 15px; }
.xcard-go::after { content: " →"; transition: margin .3s var(--ease); }
.xcard:hover .xcard-go::after { margin-left: 4px; }

/* ---------- features: everything else ---------- */
.all { padding: clamp(90px, 14vh, 150px) 0; background: var(--ink); }
.all-head { margin-bottom: 64px; }
.all-head .display { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 18px; max-width: 16ch; }
.fgroup + .fgroup { margin-top: 56px; }
.fgroup-title { font-size: 1.05rem; letter-spacing: .02em; color: var(--muted); font-weight: 600; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.feat svg { width: 28px; height: 28px; color: var(--teal); margin-bottom: 14px; }
.feat b { display: block; font: 700 1.15rem/1.25 var(--display); margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- closing strip ---------- */
.strip { padding: clamp(60px, 10vh, 110px) 0; background: radial-gradient(60% 80% at 15% 50%, rgba(20, 184, 166, .14), transparent 70%), var(--ink-2); }
.strip-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.strip-mark { width: 64px; height: 64px; color: var(--paper); }
.strip h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 6px; }
.strip p { color: var(--muted); }

/* ---------- pricing: compare ---------- */
.compare { padding: 0 0 clamp(90px, 14vh, 150px); background: var(--ink-2); }
.compare h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 28px; text-align: center; }
.table-wrap { overflow-x: auto; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 1.05rem/1.2 var(--display); background: var(--ink-3); }
.compare tbody th { font-weight: 500; color: var(--text); width: 34%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { color: var(--muted); }
.compare td.y { color: var(--teal); font-weight: 600; }
.compare td.n { color: var(--faint); }
.compare .fine { margin-top: 18px; text-align: center; }
.plans { padding-top: clamp(140px, 22vh, 220px); }

/* ---------- download: setup ---------- */
.setup { padding: clamp(80px, 12vh, 140px) 0; background: var(--ink); }
.setup .display { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-bottom: 48px; text-align: center; }
.setup-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.setup-steps li { counter-increment: s; padding: 30px 26px; border-radius: 24px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.setup-steps li::before { content: counter(s); width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 184, 166, .14); color: var(--teal); font: 700 17px/1 var(--display); }
.setup-steps b { font: 700 1.25rem/1.25 var(--display); }
.setup-steps span { color: var(--muted); }

@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .explore-grid, .setup-steps { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .strip-mark { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- footer ---------- */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); background: var(--ink-2); font-size: 14px; color: var(--muted); }
.foot-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot .brand { color: var(--text); }
.foot nav { display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.foot nav a:hover { color: var(--text); }
.foot p { grid-column: 1 / -1; color: var(--faint); }
.foot p.foot-co { color: var(--muted); }
.foot p.foot-co + p { margin-top: -12px; }
.foot p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot p a:hover { color: var(--text); }

/* ---------- reveal on view ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.never-grid .reveal:nth-child(2), .plan-grid .reveal:nth-child(2) { transition-delay: .08s; }
.never-grid .reveal:nth-child(3), .plan-grid .reveal:nth-child(3) { transition-delay: .16s; }
.never-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- tune-up (features) ---------- */
.care { padding: clamp(90px, 14vh, 160px) 0; background: radial-gradient(55% 55% at 78% 50%, rgba(20, 184, 166, .08), transparent 70%), var(--ink-2); }
.care-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.care .display { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 20px; }
.care-steps { margin-bottom: 0; }
.care-panel { justify-self: center; width: min(440px, 100%); padding: 26px; border-radius: 28px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .6); }
.cp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cp-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(20, 184, 166, .12); color: var(--teal); }
.cp-ic svg { width: 24px; height: 24px; }
.cp-head b { display: block; font: 700 1.2rem/1.2 var(--display); }
.cp-head small { color: var(--faint); font-size: 13px; }
.cp-rows { list-style: none; margin: 0; padding: 0; }
.cp-rows li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 13px 2px; border-top: 1px solid var(--line); font-size: 15px; }
.cp-rows svg { width: 20px; height: 20px; color: var(--muted); }
.cp-rows em { font-style: normal; color: var(--muted); font-size: 14px; text-align: right; }
.cp-rows li.ok em { color: var(--teal); }
.cp-rows li.call em { color: var(--faint); }
.cp-fix { margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 15px; border-radius: 14px; background: var(--teal); color: var(--ink); font: 700 1rem/1 var(--display); }
.cp-fix svg { width: 18px; height: 18px; }
.cp-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--faint); }

/* ---------- billing switch and invites (pricing) ---------- */
.bill-switch { display: inline-flex; gap: 4px; padding: 4px; margin-top: 30px; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.bill-switch button { appearance: none; border: 0; background: none; cursor: pointer; padding: 11px 18px; border-radius: 999px; font: 600 14px/1 var(--body); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: background .25s var(--ease), color .25s var(--ease); }
.bill-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.bill-switch i { font-style: normal; font-size: 12px; color: var(--teal); }
.bill-switch button[aria-pressed="true"] i { color: var(--teal-700); }
.bill-switch button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.invite-sec { padding: clamp(90px, 14vh, 150px) 0; background: var(--ink); }
.invite-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.invite-sec .display { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 18px; }
.invite-cards { display: grid; gap: 14px; }
.icard { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 22px 24px; border-radius: 22px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.icard svg { grid-row: span 2; width: 28px; height: 28px; color: var(--teal); }
.icard b { font: 700 1.15rem/1.25 var(--display); margin-bottom: 4px; }
.icard p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .care-grid, .invite-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 420px) {
  .care-panel { padding: 20px 18px; }
  .cp-rows li { grid-template-columns: 20px 1fr; }
  .cp-rows em { grid-column: 2; text-align: left; margin-top: -6px; }
}

/* ---------- feature detail pages (activity, cleanup, health, protection, teams) ---------- */
.subnav { position: sticky; top: 60px; z-index: 40; background: rgba(11, 18, 32, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--body); color: var(--muted); transition: background .2s, color .2s; }
.subnav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.subnav a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.subnav .subnav-all { color: var(--faint); margin-right: 6px; }
.fd-hero { padding-top: clamp(64px, 10vh, 110px); }
.fd-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 52rem; }
.fd-index a { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: border-color .2s, color .2s; }
.fd-index a:hover { color: var(--text); border-color: var(--teal); }
.fd { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.fd:nth-of-type(even) { background: var(--ink-2); }
.fd-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.fd.flip .fd-copy { order: 2; }
.fd-eyebrow { display: flex; align-items: center; gap: 10px; }
.fd-eyebrow svg { width: 20px; height: 20px; }
.fd .display { font-size: clamp(2.1rem, 4.2vw, 3.6rem); margin-bottom: 16px; }
.fd .lede { margin-bottom: 30px; }
.fd-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 0; }
.fd-points div { padding-top: 14px; border-top: 1px solid var(--line); }
.fd-points dt { font: 700 1.02rem/1.3 var(--display); margin-bottom: 6px; }
.fd-points dd { margin: 0; color: var(--muted); font-size: 15px; }
.fd-private { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.fd-private svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--teal); }
.fd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.fd-help { font-weight: 600; color: var(--teal); }
.fd-help::after { content: " →"; }
.fd-help:hover { text-decoration: underline; text-underline-offset: 4px; }
.fd-mock { justify-self: center; width: min(420px, 100%); padding: 24px; border-radius: 28px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .6); }
.fd:nth-of-type(even) .fd-mock { background: #1b2840; }
.fd-rows li { grid-template-columns: 1fr auto; }
.fd-rows li.warn em { color: var(--coral); }

/* ---------- features overview: category cards ---------- */
.cats { padding: clamp(90px, 14vh, 150px) 0; background: var(--ink); }
.cats-head { margin-bottom: 48px; }
.cats-head .display { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: 16px; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat { grid-column: span 2; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 24px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cat:nth-child(n+4) { grid-column: span 3; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(20, 184, 166, .45), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.cat > svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 18px; }
.cat b { font: 700 1.5rem/1.2 var(--display); margin-bottom: 8px; }
.cat p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.cat-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.cat-list i { font-style: normal; font-size: 13px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.cat .xcard-go { margin-top: auto; color: var(--teal); font-weight: 600; }

@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat, .cat:nth-child(n+4) { grid-column: auto; }
  .cat:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .fd-grid { grid-template-columns: 1fr; }
  .fd.flip .fd-copy { order: 0; }
  .subnav { top: 60px; }
}
@media (max-width: 600px) {
  .fd-points { grid-template-columns: 1fr; gap: 16px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat:last-child { grid-column: auto; }
}

/* ---------- features menu in the header ---------- */
.nav-links { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { appearance: none; border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; opacity: .72; transition: opacity .2s; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { opacity: 1; }
.nav-drop-btn.current { opacity: 1; color: var(--teal); }
.nav.on-light .nav-drop-btn.current { color: var(--teal-700); }
.nav-drop-btn svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.nav-panel {
  position: absolute; top: calc(100% + 20px); left: 50%; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-radius: 20px;
  background: rgba(16, 26, 45, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0, 0, 0, .65); color: var(--text);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-drop.open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .nav-panel a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 14px; opacity: 1; color: var(--text); font: 400 14px/1.3 var(--body); transition: background .2s; }
.nav-links .nav-panel a:hover, .nav-links .nav-panel a:focus-visible { background: rgba(255, 255, 255, .06); outline: none; }
.nav-links .nav-panel a[aria-current="page"] { color: var(--text); background: rgba(20, 184, 166, .10); }
.nav-panel .np-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 184, 166, .12); color: var(--teal); }
.nav-panel .np-ic svg { width: 20px; height: 20px; }
.nav-panel b { display: block; font: 600 15px/1.2 var(--display); }
.nav-panel small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .nav-links { align-items: stretch; max-height: calc(100vh - 60px); max-height: calc(100svh - 60px); overflow-y: auto; }
  .nav-drop { border-bottom: 1px solid var(--line); }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 14px 0; opacity: 1; }
  .nav-drop-btn svg { width: 16px; height: 16px; }
  .nav-panel {
    position: static; width: auto; grid-template-columns: 1fr; gap: 2px; padding: 0 0 12px;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 0;
    transform: none; display: none; opacity: 1; visibility: visible;
  }
  .nav-panel::before { display: none; }
  .nav-drop.open .nav-panel { display: grid; transform: none; }
  .nav-links .nav-panel a { padding: 9px 6px; font-size: 15px; }
  .nav-links .nav-panel a:last-child { border-bottom: 0; }
  .nav-panel .np-ic { width: 34px; height: 34px; border-radius: 10px; }
  .nav-panel b { font-size: 16px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .never-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .copy { left: var(--gutter); right: var(--gutter); top: calc(76px + env(safe-area-inset-top)); width: auto; transform: none; }
  .copy .caps { min-height: 10rem; }
  .clock-chip { margin-bottom: 16px; font-size: 13px; padding: 6px 12px 6px 10px; }
  .cap h2 { font-size: clamp(1.6rem, 6.6vw, 2.4rem); margin-bottom: 10px; }
  .cap p { font-size: 15.5px; }
  .devices { --mac-w: min(88vw, 62vh); right: auto; left: 50%; top: max(40vh, 290px); transform: translateX(-50%); }
  .devices .phone { --ph-w: calc(var(--mac-w) * .46); right: -3%; bottom: auto; top: 40%; }
  .report .copy .caps { min-height: 9rem; }
  .report-phone { left: 50%; top: auto; bottom: 3vh; transform: translateX(-50%); }
  .phone.big { --ph-w: min(58vw, 28vh); }
  .report .eyebrow { margin-bottom: 12px; }
  .guard-grid { grid-template-columns: 1fr; gap: 72px; }
  .pipe { height: 190px; }
  .node { top: 70px; }
  .node-ic { width: 52px; height: 52px; }
  .node-ic svg { width: 24px; height: 24px; }
  .track { top: 95px; }
  .node b { font-size: 14px; }
  .node small { font-size: 11.5px; max-width: 12ch; }
  .packet { font-size: 12px; padding: 9px 12px 9px 9px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .sees { grid-template-columns: 1fr; gap: 8px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .never-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-grid .dl, .dl-grid .dl[data-os="iphone"], .dl-grid .dl[data-os="android"] { grid-column: auto; }
  .dl { padding: 14px; gap: 10px; }
  .dl svg { width: 24px; height: 24px; }
  .hero-copy { top: 58%; }
  .hero-mark { top: 36%; }
  .menubar .mb-l span { display: none; }
  .hero-title br { display: none; }
}

@media (max-width: 900px) and (max-height: 720px) {
  .devices { --mac-w: min(74vw, 56vh); top: max(42vh, 270px); }
}

/* Very small phones: a little less type so the devices get room. */
@media (max-width: 360px) {
  .cap h2 { font-size: 1.5rem; }
  .cap p { font-size: 14.5px; }
  .clock-chip { margin-bottom: 12px; }
}

/* Phones held sideways: captions left, devices right, as on a computer. */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .copy { top: calc(50% + 24px); left: var(--gutter); right: auto; width: 38vw; transform: translateY(-50%); }
  .copy .caps, .report .copy .caps { min-height: 11rem; }
  .cap h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); margin-bottom: 8px; }
  .cap p { font-size: 14px; }
  .clock-chip, .report .eyebrow { margin-bottom: 10px; }
  .devices { --mac-w: min(46vw, 92vh); left: auto; right: calc(var(--gutter) + var(--mac-w) * .09); top: calc(50% + 24px); transform: translateY(-50%); }
  .devices .phone { --ph-w: calc(var(--mac-w) * .3); right: -5%; top: auto; bottom: -12%; }
  .report-phone { left: 72%; top: calc(50% + 24px); bottom: auto; transform: translate(-50%, -50%); }
  .phone.big { --ph-w: min(24vw, 33vh); }
}

/* Large screens: scale type and the content column up a step. */
@media (min-width: 1800px) {
  html { font-size: 112.5%; }
  .wrap { width: min(1320px, 100% - 2 * var(--gutter)); }
}
@media (min-width: 2300px) {
  html { font-size: 125%; }
  .wrap { width: min(1480px, 100% - 2 * var(--gutter)); }
}

/* Phones: the comparison fits the screen, ticks instead of "Included". */
@media (max-width: 600px) {
  .compare table { min-width: 0; table-layout: fixed; font-size: 13px; }
  .compare th, .compare td { padding: 12px 6px; overflow-wrap: break-word; hyphens: auto; }
  .compare th:first-child, .compare td:first-child { padding-left: 14px; }
  .compare thead th { font-size: 13.5px; }
  .compare thead th:first-child { width: 38%; }
  .compare tbody th { font-size: 13px; }
  .compare td.y { font-size: 0; }
  .compare td.y::before { content: "\2713"; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-mark .now-ring, .ring, .live-dot { display: none; }
}
