/* FaceLock — facelock.io
   One stylesheet for every page. Dark first; light follows prefers-color-scheme.
   No external requests: fonts are self-hosted (SIL OFL). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: dark light;
  --bg: #07080B;
  --bg-elev: #0B0C11;
  --surface: #0F1117;
  --surface-2: #151823;
  --surface-3: #1B1F2C;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #EDEFF5;
  --text-2: #C4C8D4;
  --muted: #8A90A2;
  --teal: #5EEAD4;
  --indigo: #818CF8;
  --link: #8FE9DB;
  --success: #34D399;
  --danger: #F87171;
  --grad: linear-gradient(120deg, var(--teal), var(--indigo));
  --grad-text: linear-gradient(100deg, #7BF1DE 0%, #A5B4FC 70%, #C4B5FD 100%);
  --on-grad: #050A10;
  --glow-teal: rgba(94, 234, 212, 0.16);
  --glow-indigo: rgba(129, 140, 248, 0.18);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  --ill-stroke: rgba(237, 239, 245, 0.22);
  --ill-fill: rgba(237, 239, 245, 0.06);
  --ill-fill-2: rgba(237, 239, 245, 0.12);
  --ill-screen: #0A0C12;
  --grid-line: rgba(255, 255, 255, 0.035);
  --header-bg: rgba(7, 8, 11, 0.72);
  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F6F7FA;
    --bg-elev: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #F0F2F7;
    --surface-3: #E7EAF1;
    --border: rgba(14, 18, 32, 0.08);
    --border-strong: rgba(14, 18, 32, 0.15);
    --text: #0B0D12;
    --text-2: #2E3341;
    --muted: #545B6E;
    --teal: #0FA594;
    --indigo: #5B5BEA;
    --link: #3F3FD0;
    --success: #079669;
    --danger: #D93636;
    --grad-text: linear-gradient(100deg, #0B9384 0%, #4F46E5 75%, #6D3FE0 100%);
    --on-grad: #04090F;
    --glow-teal: rgba(15, 165, 148, 0.13);
    --glow-indigo: rgba(91, 91, 234, 0.12);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 50px -24px rgba(20, 24, 40, 0.28);
    --card-bg: linear-gradient(180deg, #FFFFFF, #FBFCFE);
    --ill-stroke: rgba(14, 18, 32, 0.22);
    --ill-fill: rgba(14, 18, 32, 0.045);
    --ill-fill-2: rgba(14, 18, 32, 0.09);
    --ill-screen: #EEF1F6;
    --grid-line: rgba(14, 18, 32, 0.045);
    --header-bg: rgba(246, 247, 250, 0.78);
  }
}
/* the button gradient keeps its bright brand colours in both themes */
.btn-primary, .grad-fill { --g1: #5EEAD4; --g2: #818CF8; }

/* Product UI (the lock cover) is always dark, like the app itself. */
.force-dark {
  --surface: #0F1117;
  --surface-2: #151823;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #EDEFF5;
  --muted: #8A90A2;
  --teal: #5EEAD4;
  --indigo: #818CF8;
  --success: #34D399;
  color: var(--text);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; color: var(--text); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }
strong { color: var(--text); font-weight: 600; }
code, kbd { font-family: var(--mono); font-size: 0.9em; }
::selection { background: rgba(94, 234, 212, 0.3); color: var(--text); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--border-strong);
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; opacity: 0.8; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 0.98rem/1 var(--font); letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: var(--on-grad);
  background: linear-gradient(120deg, var(--g1), var(--g2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 10px 30px -10px rgba(94, 234, 212, 0.55), 0 8px 24px -12px rgba(129, 140, 248, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 36px -10px rgba(94, 234, 212, 0.65), 0 10px 30px -12px rgba(129, 140, 248, 0.7); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--text); background: var(--surface-2); border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; height: 66px; gap: 28px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important;
  font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em;
  text-decoration: none !important;
}
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  color: var(--muted); font-size: 0.93rem; font-weight: 500; padding: 8px 12px; border-radius: 10px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; background: var(--ill-fill); }
.nav-cta { margin-left: auto; }
.menu-btn {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu {
  border-top: 1px solid var(--border);
  padding: 10px 16px 18px;
  background: var(--bg);
}
.mobile-menu a { display: block; padding: 13px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { text-decoration: none; color: var(--teal); }
.mobile-menu a.btn { display: flex; margin-top: 16px; width: 100%; border-bottom: 0; color: var(--on-grad); padding: 0 22px; }
.mobile-menu[hidden] { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 881px) { .mobile-menu { display: none !important; } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; opacity: 0.8; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 7vw, 84px) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: -10% -10% 0;
  background:
    radial-gradient(38% 42% at 72% 38%, var(--glow-indigo), transparent 70%),
    radial-gradient(30% 36% at 58% 52%, var(--glow-teal), transparent 70%),
    radial-gradient(40% 30% at 15% 0%, rgba(129, 140, 248, 0.07), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.15rem);
  line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 24px; font-weight: 600;
  text-wrap: balance;
}
.hero h1 .rest { color: var(--text); }
.hero .lede { margin-bottom: 34px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--ill-fill);
  font-size: 0.86rem; color: var(--text-2); margin-bottom: 26px; max-width: 100%;
}
.pill b {
  font-weight: 600; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(120deg, #5EEAD4, #818CF8); color: var(--on-grad); padding: 3px 9px; border-radius: 999px;
}

/* OS-aware download block. html[data-os] is set by os.js before first paint. */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-sub { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); }
.cta-sub a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border-strong); }
.cta-sub a:hover { color: var(--text); text-decoration-color: currentColor; }
.cta [data-dl="mac"] { color: var(--text); background: var(--surface-2); border-color: var(--border-strong); box-shadow: none; }
.alt-for { display: none; }
.mobile-note { display: none; }
html[data-os="win"] .cta [data-dl="mac"],
html[data-os="mac"] .cta [data-dl="win"] { display: none; }
html[data-os="mac"] .cta [data-dl="mac"] {
  color: var(--on-grad); background: linear-gradient(120deg, var(--g1), var(--g2)); border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 10px 30px -10px rgba(94, 234, 212, 0.55), 0 8px 24px -12px rgba(129, 140, 248, 0.6);
}
html[data-os="win"] .alt-for.for-win,
html[data-os="mac"] .alt-for.for-mac { display: inline; }
html[data-os="mobile"] .dl-cta, html[data-os="mobile"] .cta-sub { display: none; }
html[data-os="mobile"] .mobile-note { display: block; }
.mobile-note {
  border: 1px solid var(--border-strong); background: var(--card-bg); border-radius: var(--radius);
  padding: 18px 18px 18px; box-shadow: var(--shadow); max-width: 460px;
}
.mobile-note p { margin: 0 0 14px; color: var(--text-2); font-size: 0.98rem; }
.mobile-note p strong { display: block; font-family: var(--display); font-size: 1.08rem; margin-bottom: 4px; }
.mobile-note .btn { width: 100%; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 34px; padding: 0; list-style: none; color: var(--muted); font-size: 0.88rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; }
.hero-chips svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- the face-scan cover ---------- */
.cover-wrap { position: relative; justify-self: center; width: 100%; max-width: 470px; }
.cover-wrap::before {
  content: ""; position: absolute; inset: 8% 4% -4%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(94, 234, 212, 0.28), transparent 70%), radial-gradient(60% 60% at 60% 60%, rgba(129, 140, 248, 0.32), transparent 72%);
  filter: blur(30px); opacity: 0.85;
}
.cover {
  position: relative; border-radius: 30px; padding: 18px 18px 20px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(129, 140, 248, 0.10), transparent 60%),
    linear-gradient(180deg, #11131B, #0A0B10);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.cover-top { display: flex; align-items: center; justify-content: space-between; color: #8A90A2; font-size: 0.78rem; padding: 2px 6px 0; }
.cover-top .who { display: inline-flex; align-items: center; gap: 8px; color: #C4C8D4; font-weight: 600; }
.cover-top .who svg { width: 18px; height: 18px; }
.cover-top .dots { display: inline-flex; gap: 6px; }
.cover-top .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.scan { width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 6px auto 0; max-width: 360px; overflow: visible; }
.status { position: relative; height: 30px; text-align: center; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.status span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; }
.status .s1 { color: #C4C8D4; }
.status .s2 { color: #C4C8D4; }
.status .s3 { color: #34D399; }
.status .s3 svg { width: 18px; height: 18px; }
.cover-sub { text-align: center; color: #8A90A2; font-size: 0.82rem; margin: 2px 0 16px; min-height: 1.4em; }
.cover-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cover-actions span {
  font-size: 0.78rem; color: #C4C8D4; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03);
}

/* SVG parts */
.scan .face { fill: url(#faceFill); stroke: rgba(165, 180, 252, 0.28); stroke-width: 1.2; }
.scan .mesh { fill: none; stroke: rgba(94, 234, 212, 0.22); stroke-width: 0.9; }
.scan .lm { fill: #5EEAD4; opacity: 0.3; }
.scan .br { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.scan .br-grad { stroke: url(#brGrad); }
.scan .br-ok { stroke: #34D399; }
.scan .br-ok-g { opacity: 0; }
.scan .ring-glow { fill: rgba(52, 211, 153, 0.12); opacity: 0; }
.scan .check { fill: none; stroke: #34D399; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.scan .beam { opacity: 0; }

/* 8-second loop. Every keyframe below shares the cycle so nothing drifts. */
.cover.play .br-grad, .cover.play .br-ok { animation-duration: 8s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.65,0,.35,1); }
.cover.play .tl { animation-name: m-tl; }
.cover.play .tr { animation-name: m-tr; }
.cover.play .brr { animation-name: m-br; }
.cover.play .bl { animation-name: m-bl; }
.cover.play .br-grad-g { animation: grad-op 8s infinite linear; }
.cover.play .br-ok-g { animation: ok-op 8s infinite linear; }
.cover.play .face-g { animation: face-op 8s infinite ease; transform-origin: 160px 150px; }
.cover.play .beam { animation: beam 8s infinite cubic-bezier(.45,0,.55,1); }
.cover.play .lm { animation: lm 8s infinite linear; animation-delay: calc(var(--y, 0) * 0.01277s); }
.cover.play .eyes { animation: blink 8s infinite ease; transform-box: fill-box; transform-origin: center; }
.cover.play .ring-glow { animation: ring 8s infinite ease; transform-origin: 160px 150px; }
.cover.play .check { animation: check 8s infinite cubic-bezier(.65,0,.35,1); }
.cover.play .status .s1 { animation: st1 8s infinite; }
.cover.play .status .s2 { animation: st2 8s infinite; }
.cover.play .status .s3 { animation: st3 8s infinite; }
.cover.play .cover-sub .c1 { animation: st1 8s infinite; }
.cover.play .cover-sub .c3 { animation: st3 8s infinite; }
.cover-sub { position: relative; }
.cover-sub span { position: absolute; inset: 0; opacity: 0; }
.cover:not(.play) .status .s3, .cover:not(.play) .cover-sub .c3 { opacity: 1; }
.cover:not(.play) .br-ok-g { opacity: 1; }
.cover:not(.play) .br-grad-g { opacity: 0; }
.cover:not(.play) .check { stroke-dashoffset: 0; }
.cover:not(.play) .ring-glow { opacity: 1; }
.cover:not(.play) .face-g { opacity: 0.35; }

@keyframes m-tl {
  0%, 1% { d: path("M66 76 L66 52 A16 16 0 0 1 82 36 L106 36"); }
  11%, 49% { d: path("M78 88 L78 64 A16 16 0 0 1 94 48 L118 48"); }
  58%, 95% { d: path("M108 150 L108 150 A52 52 0 0 1 160 98 L160 98"); }
  96%, 100% { d: path("M66 76 L66 52 A16 16 0 0 1 82 36 L106 36"); }
}
@keyframes m-tr {
  0%, 1% { d: path("M214 36 L238 36 A16 16 0 0 1 254 52 L254 76"); }
  11%, 49% { d: path("M202 48 L226 48 A16 16 0 0 1 242 64 L242 88"); }
  58%, 95% { d: path("M160 98 L160 98 A52 52 0 0 1 212 150 L212 150"); }
  96%, 100% { d: path("M214 36 L238 36 A16 16 0 0 1 254 52 L254 76"); }
}
@keyframes m-br {
  0%, 1% { d: path("M254 224 L254 248 A16 16 0 0 1 238 264 L214 264"); }
  11%, 49% { d: path("M242 212 L242 236 A16 16 0 0 1 226 252 L202 252"); }
  58%, 95% { d: path("M212 150 L212 150 A52 52 0 0 1 160 202 L160 202"); }
  96%, 100% { d: path("M254 224 L254 248 A16 16 0 0 1 238 264 L214 264"); }
}
@keyframes m-bl {
  0%, 1% { d: path("M106 264 L82 264 A16 16 0 0 1 66 248 L66 224"); }
  11%, 49% { d: path("M118 252 L94 252 A16 16 0 0 1 78 236 L78 212"); }
  58%, 95% { d: path("M160 202 L160 202 A52 52 0 0 1 108 150 L108 150"); }
  96%, 100% { d: path("M106 264 L82 264 A16 16 0 0 1 66 248 L66 224"); }
}
@keyframes grad-op { 0% { opacity: 0.3; } 4% { opacity: 0.45; } 7% { opacity: 0.3; } 11%, 50% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes ok-op { 0%, 50% { opacity: 0; } 57%, 89% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes face-op { 0% { opacity: 0.55; } 10%, 50% { opacity: 1; transform: scale(1); } 58%, 90% { opacity: 0.16; transform: scale(0.96); } 100% { opacity: 0.55; transform: scale(1); } }
@keyframes beam {
  0%, 11% { transform: translateY(52px); opacity: 0; }
  13% { opacity: 1; }
  40% { opacity: 1; }
  42% { transform: translateY(246px); opacity: 0; }
  100% { transform: translateY(246px); opacity: 0; }
}
@keyframes lm {
  0%, 11.5% { opacity: 0.25; fill: #5EEAD4; }
  12.5% { opacity: 1; fill: #FFFFFF; }
  17% { opacity: 0.85; fill: #5EEAD4; }
  45% { opacity: 0.85; }
  52%, 100% { opacity: 0.25; }
}
@keyframes blink { 0%, 44% { transform: scaleY(1); } 45.5% { transform: scaleY(0.1); } 47%, 100% { transform: scaleY(1); } }
@keyframes ring { 0%, 55% { opacity: 0; transform: scale(0.7); } 62%, 89% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(1); } }
@keyframes check { 0%, 58% { stroke-dashoffset: 80; } 66%, 100% { stroke-dashoffset: 0; } }
@keyframes st1 { 0%, 41% { opacity: 1; } 43%, 96% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes st2 { 0%, 42% { opacity: 0; } 44%, 52% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes st3 { 0%, 55% { opacity: 0; transform: translateY(4px); } 59%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* ---------- trust strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elev); }
.strip ul { list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.strip li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 0.93rem; line-height: 1.35; }
.strip li svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.strip li span { color: var(--muted); display: block; font-size: 0.82rem; }
@media (max-width: 880px) { .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .strip ul { grid-template-columns: 1fr; } }

/* ---------- feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--card-bg); box-shadow: var(--shadow); overflow: hidden;
}
.feat { padding: 26px 26px 28px; display: flex; flex-direction: column; }
.feat h3 { margin: 18px 0 8px; }
.feat p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.feat .ill {
  border-radius: 16px; border: 1px solid var(--border); background:
    radial-gradient(80% 90% at 50% 100%, var(--glow-teal), transparent 70%),
    var(--ill-fill);
  aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
}
.feat .ill svg { width: 100%; height: 100%; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.feat.wide { flex-direction: row; gap: 28px; align-items: center; }
.feat.wide > div:first-child { flex: 1 1 42%; }
.feat.wide .ill { flex: 1 1 58%; }
.feat.wide h3 { margin-top: 0; font-size: 1.4rem; }
.tag { align-self: flex-start; display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 9px; margin-top: 14px; }
.tag.opt { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.fallbacks { padding: 28px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 28px; align-items: center; }
.fallbacks h3 { font-size: 1.4rem; margin: 0 0 8px; }
.fallbacks p { color: var(--muted); margin: 0; }
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fb-list li { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--ill-fill); font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.fb-list li b { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 4px; }
.fb-list svg { width: 22px; height: 22px; color: var(--teal); margin-bottom: 10px; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3 { grid-column: span 1; }
  .span-4, .span-6 { grid-column: span 2; }
  .fallbacks { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; }
  .feat.wide { flex-direction: column; align-items: stretch; }
  .feat.wide .ill { order: -1; }
  .fb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { padding: 20px 20px 24px; }
}

/* feature illustrations — shared parts */
.ill .s { stroke: var(--ill-stroke); fill: none; stroke-width: 1.5; }
.ill .f { fill: var(--ill-fill-2); }
.ill .scr { fill: var(--ill-screen); stroke: var(--ill-stroke); stroke-width: 1.5; }
.ill .t { fill: var(--ill-stroke); }
.ill .acc { stroke: url(#accGrad); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .accf { fill: url(#accGrad); }
.ill .ok { stroke: var(--success); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .okf { fill: var(--success); }
.ill .bad { fill: var(--danger); }
.ill text { font-family: var(--font); fill: var(--muted); }
.ill .lbl { font-size: 11px; font-weight: 600; fill: var(--text-2); }
.ill .mono { font-family: var(--mono); font-size: 10px; fill: var(--muted); }

/* animations only run while their card is on screen (site.js adds .in-view) */
.anim * { animation-play-state: paused !important; }
.anim.in-view * { animation-play-state: running !important; }

/* 1. lid lock */
.lid { transform-origin: 160px 138px; animation: lid 5s infinite cubic-bezier(.6,0,.3,1); }
.lid-cover { animation: lid-cover 5s infinite ease; }
.lid-ok { opacity: 0; animation: lid-ok 5s infinite ease; }
.lid-br { animation: lid-br 5s infinite ease; }
@keyframes lid { 0%, 6% { transform: scaleY(0.04); } 26%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0.04); } }
@keyframes lid-cover { 0%, 22% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes lid-br { 0%, 58% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes lid-ok { 0%, 60% { opacity: 0; } 68%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* 2. app lock */
.app-hl { transform-box: fill-box; transform-origin: center; animation: app-press 5s infinite ease; }
.app-veil { opacity: 0; animation: app-veil 5s infinite ease; }
.app-lock { opacity: 0; transform-box: fill-box; transform-origin: center; animation: app-lock 5s infinite cubic-bezier(.3,1.4,.5,1); }
.app-ok { opacity: 0; animation: app-ok 5s infinite ease; }
.app-pause { opacity: 0; animation: app-pause 5s infinite ease; }
@keyframes app-press { 0%, 8% { transform: scale(1); } 12% { transform: scale(0.9); } 16%, 100% { transform: scale(1); } }
@keyframes app-veil { 0%, 14% { opacity: 0; } 20%, 70% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes app-lock { 0%, 18% { opacity: 0; transform: scale(0.4); } 26%, 52% { opacity: 1; transform: scale(1); } 58%, 100% { opacity: 0; transform: scale(1); } }
@keyframes app-ok { 0%, 56% { opacity: 0; } 62%, 72% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes app-pause { 0%, 18% { opacity: 0; } 24%, 54% { opacity: 1; } 60%, 100% { opacity: 0; } }

/* 3. file encryption */
.enc-plain { animation: enc-plain 6s infinite ease; }
.enc-cipher { opacity: 0; animation: enc-cipher 6s infinite ease; }
.enc-sweep { animation: enc-sweep 6s infinite cubic-bezier(.5,0,.5,1); opacity: 0; }
.enc-name1 { animation: enc-plain 6s infinite ease; }
.enc-name2 { opacity: 0; animation: enc-cipher 6s infinite ease; }
.enc-lock { opacity: 0; transform-box: fill-box; transform-origin: center; animation: enc-lock 6s infinite cubic-bezier(.3,1.5,.5,1); }
.enc-cipher rect { animation: flick 1.2s infinite steps(2); }
.enc-cipher rect:nth-child(3n) { animation-delay: -0.4s; }
.enc-cipher rect:nth-child(4n+1) { animation-delay: -0.8s; }
@keyframes enc-sweep { 0%, 14% { transform: translateX(0); opacity: 0; } 16% { opacity: 1; } 40% { transform: translateX(88px); opacity: 1; } 42%, 100% { transform: translateX(88px); opacity: 0; } }
@keyframes enc-plain { 0%, 22% { opacity: 1; } 34%, 90% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes enc-cipher { 0%, 24% { opacity: 0; } 36%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes enc-lock { 0%, 38% { opacity: 0; transform: scale(0.3); } 46%, 88% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes flick { 0% { opacity: 0.35; } 50% { opacity: 1; } 100% { opacity: 0.35; } }

/* 4. intruder */
.int-flash { opacity: 0; animation: int-flash 5s infinite ease-out; }
.int-card { animation: int-card 5s infinite cubic-bezier(.2,.9,.3,1.1); }
.int-x { animation: int-x 5s infinite steps(1); }
@keyframes int-flash { 0%, 24% { opacity: 0; } 25% { opacity: 0.85; } 34%, 100% { opacity: 0; } }
@keyframes int-card { 0%, 26% { transform: translateY(-70px); opacity: 0; } 40%, 88% { transform: translateY(0); opacity: 1; } 96%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes int-x { 0%, 6% { opacity: 0; } 7%, 12% { opacity: 1; } 13%, 15% { opacity: 0; } 16%, 22% { opacity: 1; } 23%, 100% { opacity: 0; } }

/* 5. walk-away */
.walk-person { animation: walk 6s infinite cubic-bezier(.5,0,.5,1); }
.walk-cone { animation: walk-cone 6s infinite ease; }
.walk-lock { opacity: 0; animation: walk-lock 6s infinite ease; }
.walk-dim { opacity: 0; animation: walk-dim 6s infinite ease; }
@keyframes walk { 0%, 18% { transform: translateX(0); } 50%, 82% { transform: translateX(118px); } 100% { transform: translateX(0); } }
@keyframes walk-cone { 0%, 42% { opacity: 1; } 50%, 86% { opacity: 0.25; } 96%, 100% { opacity: 1; } }
@keyframes walk-dim { 0%, 52% { opacity: 0; } 58%, 86% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes walk-lock { 0%, 54% { opacity: 0; } 60%, 86% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* 6. shoulder surfer */
.sh-sharp { animation: sh-sharp 6s infinite ease; }
.sh-blur { opacity: 0; animation: sh-blur 6s infinite ease; }
.sh-peek { animation: sh-peek 6s infinite cubic-bezier(.4,0,.2,1); }
.sh-badge { opacity: 0; animation: sh-badge 6s infinite ease; }
@keyframes sh-peek { 0%, 16% { transform: translateX(46px); } 30%, 72% { transform: translateX(0); } 84%, 100% { transform: translateX(46px); } }
@keyframes sh-sharp { 0%, 32% { opacity: 1; } 38%, 74% { opacity: 0; } 82%, 100% { opacity: 1; } }
@keyframes sh-blur { 0%, 32% { opacity: 0; } 38%, 74% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes sh-badge { 0%, 34% { opacity: 0; } 40%, 72% { opacity: 1; } 78%, 100% { opacity: 0; } }

/* 7. panic hotkey */
.key { animation: key 4.5s infinite ease; transform-box: fill-box; transform-origin: center; }
.key.k2 { animation-name: key2; }
.key.k3 { animation-name: key3; }
.pk-lock { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pk-lock 4.5s infinite cubic-bezier(.3,1.5,.5,1); }
.pk-text { opacity: 0; animation: pk-text 4.5s infinite ease; }
@keyframes key { 0%, 10% { transform: translateY(0); } 14%, 46% { transform: translateY(3px); } 52%, 100% { transform: translateY(0); } }
@keyframes key2 { 0%, 18% { transform: translateY(0); } 22%, 46% { transform: translateY(3px); } 52%, 100% { transform: translateY(0); } }
@keyframes key3 { 0%, 26% { transform: translateY(0); } 30%, 46% { transform: translateY(3px); } 52%, 100% { transform: translateY(0); } }
@keyframes pk-lock { 0%, 32% { opacity: 0; transform: scale(0.3); } 40%, 84% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1); } }
@keyframes pk-text { 0%, 36% { opacity: 0; } 44%, 84% { opacity: 1; } 92%, 100% { opacity: 0; } }
.key rect.cap { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 1.5; }
.key text { font-size: 13px; font-weight: 600; fill: var(--text); text-anchor: middle; }
.k-pressed { fill: url(#accGrad); opacity: 0; animation: kp 4.5s infinite ease; }
.k2 .k-pressed { animation-name: kp2; }
.k3 .k-pressed { animation-name: kp3; }
@keyframes kp { 0%, 10% { opacity: 0; } 14%, 46% { opacity: 0.22; } 52%, 100% { opacity: 0; } }
@keyframes kp2 { 0%, 18% { opacity: 0; } 22%, 46% { opacity: 0.22; } 52%, 100% { opacity: 0; } }
@keyframes kp3 { 0%, 26% { opacity: 0; } 30%, 46% { opacity: 0.22; } 52%, 100% { opacity: 0; } }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.step { padding: 28px; }
.step-n {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--on-grad);
  background: linear-gradient(135deg, #5EEAD4, #818CF8); margin-bottom: 22px;
  box-shadow: 0 8px 24px -10px rgba(129, 140, 248, 0.7);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.step .meta { margin-top: 16px; font-size: 0.84rem; color: var(--text-2); display: flex; gap: 8px; align-items: center; }
.step .meta svg { width: 16px; height: 16px; color: var(--teal); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- honest security ---------- */
.honest { background:
  radial-gradient(50% 50% at 85% 15%, var(--glow-indigo), transparent 70%),
  radial-gradient(35% 35% at 5% 55%, var(--glow-teal), transparent 70%); }
.honest-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.honest-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.quote {
  margin: 28px 0 0; padding: 18px 20px; border-left: 2px solid var(--teal); background: var(--ill-fill);
  border-radius: 0 14px 14px 0; color: var(--text-2); font-size: 0.98rem;
}
.truths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.truth { padding: 24px; }
.truth .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ill-fill-2); color: var(--teal); margin-bottom: 16px; }
.truth .ico svg { width: 20px; height: 20px; }
.truth h3 { font-size: 1.08rem; margin-bottom: 8px; }
.truth p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.verdicts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.verdict { padding: 22px 24px; }
.verdict h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font); font-weight: 600; margin-bottom: 12px; }
.verdict.yes h3 { color: var(--success); }
.verdict.no h3 { color: var(--danger); }
.verdict ul { list-style: none; margin: 0; padding: 0; }
.verdict li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 0.93rem; color: var(--text-2); line-height: 1.45; }
.verdict li svg { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; }
.verdict.yes li svg { color: var(--success); }
.verdict.no li svg { color: var(--danger); }
@media (max-width: 960px) {
  .honest-grid { grid-template-columns: 1fr; }
  .honest-grid .section-head { position: static; }
}
@media (max-width: 640px) { .truths, .verdicts { grid-template-columns: 1fr; } }

/* ---------- privacy ---------- */
.privacy-panel { padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center;
  background: radial-gradient(70% 90% at 0% 0%, var(--glow-teal), transparent 60%), var(--card-bg); }
.privacy-panel h2 { margin-bottom: 16px; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy-list li { display: flex; gap: 16px; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--ill-fill); }
.privacy-list svg { width: 24px; height: 24px; flex: none; color: var(--teal); margin-top: 2px; }
.privacy-list b { display: block; margin-bottom: 2px; }
.privacy-list span { color: var(--muted); font-size: 0.94rem; }
.site-note { margin-top: 22px; font-size: 0.92rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.site-note svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .privacy-panel { grid-template-columns: 1fr; } }

/* ---------- comparison ---------- */
.table-wrap { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card-bg); box-shadow: var(--shadow); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.93rem; }
.compare caption { text-align: left; padding: 0; }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.compare thead th { font-size: 0.84rem; font-weight: 600; color: var(--muted); vertical-align: bottom; line-height: 1.3; padding-top: 22px; }
.compare thead th.us { color: var(--text); }
.compare thead th.us span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1rem; }
.compare thead th.us svg { width: 22px; height: 22px; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--muted); }
.compare td.us, .compare th.us { background: linear-gradient(180deg, rgba(94, 234, 212, 0.07), rgba(129, 140, 248, 0.07)); }
.compare thead th.us { border-radius: 0; }
.compare svg.y { width: 20px; height: 20px; color: var(--success); margin: 0 auto; }
.compare svg.n { width: 18px; height: 18px; color: var(--muted); opacity: 0.6; margin: 0 auto; }
.compare .partial { font-size: 0.82rem; color: var(--muted); }
.table-note { margin-top: 16px; color: var(--muted); font-size: 0.86rem; max-width: 80ch; }
.scroll-hint { display: none; font-size: 0.82rem; color: var(--muted); margin: 0 0 10px; }
@media (max-width: 780px) { .scroll-hint { display: block; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 2px; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--teal); }
.faq .a { padding: 0 2px 24px; color: var(--muted); max-width: 72ch; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- final CTA ---------- */
.final { text-align: center; padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 60px); overflow: hidden;
  background:
    radial-gradient(50% 80% at 50% 0%, var(--glow-indigo), transparent 70%),
    radial-gradient(40% 70% at 50% 100%, var(--glow-teal), transparent 70%),
    var(--card-bg); }
.final .mark-big { width: 72px; height: 72px; margin: 0 auto 26px; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final .lede { margin: 0 auto 32px; }
.final .cta { justify-content: center; }
.final .mobile-note { margin: 0 auto; text-align: left; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 36px; margin-top: clamp(60px, 8vw, 100px); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid p { color: var(--muted); max-width: 34ch; margin-top: 14px; }
.footer-grid h2 { font-family: var(--font); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 6px 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 9px 0; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; background: linear-gradient(var(--border), var(--border)) top center / calc(100% - 48px) 1px no-repeat; color: var(--muted); font-size: 0.86rem; }
.footer-base a { color: var(--text-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1.05; text-wrap: balance; }
.page-hero .lede { margin-bottom: 0; }

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-card { padding: clamp(24px, 3.5vw, 36px); display: flex; flex-direction: column; }
.dl-card .os { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl-card .os-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--ill-fill-2); display: grid; place-items: center; color: var(--text); }
.dl-card .os-ico svg { width: 26px; height: 26px; }
.dl-card h2 { font-size: 1.6rem; margin: 0; }
.dl-card .ver { color: var(--muted); font-size: 0.88rem; }
.dl-card .btn { align-self: flex-start; margin: 4px 0 14px; }
.dl-card .files { list-style: none; margin: 0 0 22px; padding: 0; font-size: 0.88rem; color: var(--muted); }
.dl-card .files li { margin: 6px 0; overflow-wrap: anywhere; }
.dl-card .files a { font-family: var(--mono); font-size: 0.84rem; }
.dl-card h3 { font-size: 0.82rem; font-family: var(--font); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 18px 0 10px; }
.dl-card ul.req { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 0.94rem; }
.dl-card ul.req li { margin: 5px 0; }
html[data-os="win"] .dl-card.win, html[data-os="mac"] .dl-card.mac { border-color: color-mix(in srgb, var(--teal) 45%, transparent); }
.yours { display: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-left: auto; align-self: flex-start; border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent); padding: 3px 9px; border-radius: 999px; }
html[data-os="win"] .dl-card.win .yours, html[data-os="mac"] .dl-card.mac .yours { display: inline-block; }
html[data-os="mac"] .dl-grid .dl-card.mac { order: -1; }
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }

.install { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.install .card { padding: clamp(24px, 3.5vw, 34px); }
.install h2 { font-size: 1.4rem; }
.install ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.install ol > li { counter-increment: s; position: relative; padding: 0 0 18px 42px; color: var(--text-2); font-size: 0.96rem; }
.install ol > li::before {
  content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; font-size: 0.82rem; font-weight: 600; color: var(--text);
  background: var(--ill-fill-2); border: 1px solid var(--border);
}
.install ol > li:last-child { padding-bottom: 0; }
.install ol ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.install ol ul li { margin: 4px 0; }
.note {
  margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--indigo) 35%, transparent);
  background: color-mix(in srgb, var(--indigo) 8%, transparent); color: var(--text-2); font-size: 0.92rem;
}
.note strong { display: block; margin-bottom: 4px; }
.note p:last-child { margin: 0; }
kbd, .ui {
  font-family: var(--font); font-size: 0.86em; font-weight: 600; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px; white-space: nowrap;
}
.ui { border-bottom-width: 1px; font-weight: 600; }
@media (max-width: 820px) { .install { grid-template-columns: 1fr; } }

/* long-form documents (privacy, terms, security) */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 96px; font-size: 0.88rem; }
.toc h2 { font-family: var(--font); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--teal); text-decoration: none; }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h2 { font-size: 1.55rem; letter-spacing: -0.025em; margin: 2.4em 0 0.6em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); }
.prose .updated { color: var(--muted); font-size: 0.9rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1em 0 1.4em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose .tldr { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--border); background: var(--card-bg); box-shadow: var(--shadow); margin-bottom: 2em; }
.prose .tldr h2 { margin: 0 0 10px; font-size: 1.05rem; font-family: var(--font); text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); }
.prose .tldr ul { margin: 0; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.sec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.sec-cards .card { padding: 22px; }
.sec-cards h3 { font-size: 1.02rem; margin-bottom: 6px; }
.sec-cards p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.sec-cards .k { font-family: var(--mono); font-size: 0.8rem; color: var(--teal); display: block; margin-bottom: 10px; }
@media (max-width: 860px) { .sec-cards { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .code { font-family: var(--display); font-size: clamp(4.5rem, 14vw, 9rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; margin-bottom: 12px; }
.nf svg.mark { width: 84px; height: 84px; margin: 0 auto 24px; }
.nf .cta { justify-content: center; margin-top: 28px; }

/* reveal on scroll (only when JS is running; html.js is set by os.js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* the cover shows its final, unlocked frame */
  .cover .status .s1, .cover .status .s2, .cover .cover-sub .c1 { opacity: 0 !important; }
  .cover .status .s3, .cover .cover-sub .c3 { opacity: 1 !important; }
  .cover .br-ok-g { opacity: 1 !important; }
  .cover .br-grad-g { opacity: 0 !important; }
  .cover .check { stroke-dashoffset: 0 !important; }
  .cover .ring-glow { opacity: 1 !important; }
  .cover .face-g { opacity: 0.35 !important; }
  /* each illustration shows its "locked" frame */
  .lid-cover, .app-veil, .app-lock, .app-pause, .enc-cipher, .enc-name2, .enc-lock, .int-card, .walk-dim, .walk-lock, .sh-blur, .sh-badge, .pk-lock, .pk-text { opacity: 1 !important; }
  .enc-plain, .enc-name1, .sh-sharp, .lid-ok, .int-flash, .app-ok, .enc-sweep, .int-x { opacity: 0 !important; }
  .walk-person { transform: translateX(118px); }
  .walk-cone { opacity: 0.25; }
}

@media print {
  .site-header, .site-footer, .hero-bg, .cover-wrap { display: none; }
  body { background: #fff; color: #000; }
}
.cover.paused * { animation-play-state: paused !important; }

/* brand mark gradient follows the theme */
.g1 { stop-color: var(--teal); }
.g2 { stop-color: var(--indigo); }

/* ---------- pricing ---------- */
.price-card { max-width: 980px; margin: 0 auto; padding: clamp(28px, 4.5vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center;
  background: radial-gradient(70% 80% at 100% 0%, var(--glow-indigo), transparent 65%), radial-gradient(60% 70% at 0% 100%, var(--glow-teal), transparent 65%), var(--card-bg);
  border-color: var(--border-strong); }
.price-main h3 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 10px; }
.price-inr { color: var(--text-2); font-size: 1.05rem; margin: 0 0 4px; }
.price-meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 26px; }
.price-ctas { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.price-ctas .cta { gap: 10px; }
.price-ctas .mobile-note { margin-bottom: 4px; }
.price-renew { color: var(--muted); font-size: 0.9rem; margin: 18px 0 0; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; color: var(--text-2); font-size: 0.97rem; line-height: 1.45; }
.price-list svg { width: 20px; height: 20px; flex: none; color: var(--success); margin-top: 1px; }
.price-list .promise { margin-top: 8px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--ill-fill); font-size: 0.92rem; }
.price-list .promise svg { color: var(--teal); }
.price-list .promise b { color: var(--text); }
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; } }

/* ---------- forms (buy / renew) ---------- */
.form-card { max-width: 560px; padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--text); }
.field .hint { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 6px; }
.field input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; font: 500 1rem var(--font); color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-strong); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input.mono-in { font-family: var(--mono); letter-spacing: 0.02em; }
.field input::placeholder { color: var(--muted); opacity: 0.8; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-fine { color: var(--muted); font-size: 0.84rem; margin: 14px 0 0; text-align: center; }
.alert { border-radius: 14px; padding: 14px 16px; font-size: 0.93rem; margin: 0 0 18px; border: 1px solid; }
.alert[hidden] { display: none; }
.alert.err { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 9%, transparent); color: var(--text); }
.alert.info { border-color: color-mix(in srgb, var(--indigo) 40%, transparent); background: color-mix(in srgb, var(--indigo) 9%, transparent); color: var(--text); }
.alert.ok { border-color: color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 9%, transparent); color: var(--text); }
.alert strong { display: block; margin-bottom: 2px; }
.alert p { margin: 0; color: var(--text-2); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.summary { padding: clamp(22px, 3.5vw, 32px); }
.summary h2 { font-size: 1.1rem; margin-bottom: 16px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 0.95rem; }
.summary .line:last-of-type { border-bottom: 0; }
.summary .line b { color: var(--text); white-space: nowrap; }
.summary ul { margin: 16px 0 0; padding: 0; list-style: none; }
.summary li { display: flex; gap: 10px; color: var(--muted); font-size: 0.9rem; margin: 8px 0; }
.summary li svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } }
.status-card { max-width: 560px; margin: 0 0 18px; padding: 18px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--ill-fill); }
.status-card[hidden] { display: none; }
.status-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 0.95rem; }
.status-card dt { color: var(--muted); }
.status-card dd { margin: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.badge { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.badge.on { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.badge.off { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.keybox { display: flex; gap: 10px; align-items: stretch; margin: 6px 0 22px; flex-wrap: wrap; }
.keybox output, .keybox code.key {
  flex: 1 1 260px; min-width: 0; display: flex; align-items: center; padding: 14px 18px; border-radius: 14px;
  font: 600 clamp(1rem, 2.6vw, 1.25rem) var(--mono); letter-spacing: 0.04em; color: var(--text);
  background: var(--surface-2); border: 1px dashed color-mix(in srgb, var(--teal) 55%, transparent); overflow-wrap: anywhere; word-break: break-all;
}
.keybox .btn { height: auto; min-height: 50px; }
.result-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; }
.result-icon svg { width: 30px; height: 30px; }
.result-icon.ok { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.result-icon.bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.steps-mini { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.steps-mini li { margin: 8px 0; }

@media (max-width: 600px) { .footer-base { background-size: calc(100% - 32px) 1px; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .cover-wrap { max-width: 440px; } }
.thanks-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 0.92rem; margin: 14px 0 22px; }
.thanks-meta:empty { display: none; }
.thanks-meta [hidden] { display: none; }
.thanks-meta strong { color: var(--text); }
.thanks-meta code { color: var(--text-2); }
