/* SafeLynk — marketing site. No third-party fonts, scripts or trackers.
   Brand palette from the app's default "Arctic White" theme (lib/core/theme/color_schemes.dart). */

:root {
  --brand: #2196f3;
  --sky: #03a9f4;
  --deep: #1565c0;
  --navy: #0d47a1;
  --b200: #bbdefb;
  --b100: #e3f2fd;
  --b50: #f2f8fe;
  --read: #00c853;
  --danger: #d32f2f;
  --ok: #2e7d32;

  --bg: #f6f8fb;
  --bg-2: #eef2f7;
  --paper: #ffffff;
  --text: #0b1220;
  --text-2: #4a5568;
  --text-3: #8792a6;
  --line: rgba(11, 18, 32, 0.09);
  --line-2: rgba(11, 18, 32, 0.15);

  --dark: #0a1220;
  --dark-2: #111b2e;
  --d-text: #eaf0f9;
  --d-text-2: #9aa8bf;
  --d-text-3: #66758f;
  --d-line: rgba(255, 255, 255, 0.09);
  --d-line-2: rgba(255, 255, 255, 0.16);

  --ink: #0a1628;
  --ink-2: #0f2038;
  --ink-line: rgba(255, 255, 255, 0.09);
  --ink-text: #e7eef9;
  --ink-text-2: #9fb3cf;
  --ink-text-3: #6c82a3;

  --accent-soft: rgba(33, 150, 243, 0.16);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 1px 3px rgba(11, 18, 32, 0.06), 0 14px 34px -14px rgba(11, 18, 32, 0.18);
  --shadow-lg: 0 2px 6px rgba(11, 18, 32, 0.05), 0 40px 80px -30px rgba(13, 71, 161, 0.35);
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --container: 1320px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--b200); color: var(--navy); }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: fixed; left: -999px; top: 12px; z-index: 200; padding: 10px 16px; background: var(--text); color: #fff; border-radius: 999px; font-weight: 600; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.aurora, .grid-bg { display: none; }

/* ---------- Ambient layers ---------- */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 120; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sky), var(--brand), var(--navy)); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: rgba(246, 248, 251, .8); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom-color: var(--line); }
.nav.on-dark { background: rgba(10, 18, 32, .72); border-bottom-color: var(--d-line); color: var(--d-text); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; }
.brand img { width: auto; height: 28px; border-radius: 0; }
.brand span b { color: var(--brand); font-weight: 700; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: 8px 12px; font-size: .88rem; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav.on-dark .nav-links a { color: var(--d-text-2); }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--brand)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav.on-dark .nav-links a:hover, .nav.on-dark .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.nav.on-dark .menu-btn { border-color: var(--d-line-2); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .2s; content: ""; }
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons (pills) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; letter-spacing: -0.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-blue { background: var(--brand); color: #fff; }
.btn-blue:hover { background: var(--deep); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--b100); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .86rem; }
.nav.on-dark .btn-primary { background: #fff; color: var(--text); }
.nav.on-dark .btn-ghost { border-color: var(--d-line-2); color: var(--d-text); }

/* ---------- Labels ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); font-size: .78rem; font-weight: 600; color: var(--text-2); }
.label b { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--b100); color: var(--navy); font-family: var(--mono); font-size: .7rem; font-weight: 600; }
.label i { display: none; }
.dark .label { border-color: var(--d-line-2); background: rgba(255, 255, 255, .04); color: var(--d-text-2); }
.dark .label b { background: rgba(33, 150, 243, .18); color: #9cc7ff; }
.dot { color: var(--brand); }
.dot.sky { color: var(--sky); }
.dot.deep { color: var(--navy); }

/* ---------- Sections ---------- */
/* clip (not hidden) so decorative glows can't widen the page while sticky still works */
main { overflow-x: clip; }
section { position: relative; }
.section { padding: 140px 0; }
.soft { background: var(--bg-2); }
.dark { background: var(--dark); color: var(--d-text); }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.head.single { grid-template-columns: 1fr; max-width: 820px; }
.head h2, .h2 { font-family: var(--display); font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -0.055em; font-weight: 700; margin: 22px 0 0; }
.head p { margin: 0; color: var(--text-2); font-size: 1.04rem; line-height: 1.65; max-width: 460px; justify-self: end; }
.dark .head p { color: var(--d-text-2); }
.muted { color: var(--text-3); }
.dark .muted { color: var(--d-text-3); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 76px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: 4%; width: 70vw; height: 90vh; pointer-events: none; background: radial-gradient(closest-side, rgba(33, 150, 243, .22), rgba(3, 169, 244, .08) 55%, transparent 75%); filter: blur(10px); }
.hero .beam { position: absolute; right: -4%; top: 30%; width: 62vw; height: 260px; pointer-events: none; transform: rotate(-9deg); transform-origin: 100% 50%;
  background: repeating-linear-gradient(180deg, rgba(3, 169, 244, 0) 0 9px, rgba(3, 169, 244, .26) 9px 10px, rgba(33, 150, 243, 0) 10px 17px, rgba(21, 101, 192, .22) 17px 18px);
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, #000 70%, transparent); }
.hero-main { position: relative; flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 48px 0 32px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 600; color: var(--text-2); }
.hero-tag svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; color: #fff; background: linear-gradient(140deg, var(--sky), var(--brand), var(--navy)); }
.hero h1 { font-family: var(--display); font-size: clamp(2.9rem, 6.2vw, 5.9rem); line-height: 1.08; letter-spacing: -0.055em; font-weight: 800; margin: 26px 0 28px; }
.hero h1 .accent { color: var(--brand); }
/* Each word wipes in from below and settles, one after another (layout never changes). */
.hero h1 .wd > span { display: inline-block; opacity: 0; transform: translateY(.28em); clip-path: inset(0 0 100% 0); animation: word-up .95s cubic-bezier(.16, 1, .3, 1) forwards; }
.hero h1 .wd:nth-child(1) > span { animation-delay: .35s; }
.hero h1 .wd:nth-child(2) > span { animation-delay: .47s; }
.hero h1 .wd:nth-child(3) > span { animation-delay: .59s; }
@keyframes word-up { to { opacity: 1; transform: none; clip-path: inset(-20% -10% -25% -10%); } }
@media (prefers-reduced-motion: reduce) { .hero h1 .wd > span { opacity: 1; transform: none; clip-path: none; animation: none; } }
.hero .lead { max-width: 480px; margin: 0 0 34px; font-size: 1.06rem; line-height: 1.65; color: var(--text-2); }
.hero .lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats div { padding: 18px 22px; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); }
.hero-stats span { font-size: .82rem; color: var(--text-3); }

/* Hero device: the app's Arctic White chat screen */
.device-stage { position: relative; display: grid; place-items: center; }
.phone-wrap { position: relative; }
.phone { position: relative; width: 300px; height: 612px; border-radius: 48px; padding: 11px; background: linear-gradient(160deg, #1b2a40, #0b1626 70%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.phone-screen { text-align: left; position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fafafa; display: flex; flex-direction: column; color: #212121; }
.notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 88px; height: 24px; border-radius: 20px; background: #0b1626; z-index: 3; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 44px 14px 12px; border-bottom: 1px solid #eceff1; background: #fff; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; }
.chat-head .who { flex: 1; line-height: 1.25; }
.chat-head .who b { display: block; font-size: .92rem; font-weight: 600; }
.chat-head .who small { color: #2e7d32; font-size: .72rem; }
.e2e-chip { display: inline-flex; align-items: center; gap: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; color: var(--navy); background: var(--b100); }
.e2e-chip svg { width: 10px; height: 10px; }
.chat-body { flex: 1; padding: 14px 12px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.sys-note { align-self: center; text-align: center; font-size: .64rem; line-height: 1.5; color: #8d6e00; background: #fff8e1; padding: 6px 10px; border-radius: 8px; margin-bottom: auto; max-width: 92%; }
.bubble { max-width: 80%; padding: 8px 12px 6px; border-radius: 16px; font-size: .84rem; line-height: 1.4; animation: rise .35s var(--ease) both; position: relative; }
.bubble.in { align-self: flex-start; background: var(--b200); color: var(--navy); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.bubble .meta { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 3px; font-size: .62rem; opacity: .8; font-variant-numeric: tabular-nums; }
.bubble .meta .tk { width: 16px; height: 11px; }
.bubble .cdh { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 3px; font-size: .66rem; font-variant-numeric: tabular-nums; opacity: .9; }
.bubble .cdh svg { width: 11px; height: 11px; }
.bubble .cdh.urgent { color: #ffd6d6; font-weight: 700; opacity: 1; }
.bubble-expired { align-self: flex-end; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 16px; border-bottom-right-radius: 4px; background: #fafafa; border: 1px solid rgba(189, 189, 189, .7); color: rgba(33, 33, 33, .45); font-size: .78rem; animation: rise .3s var(--ease) both; }
.bubble-expired svg { width: 14px; height: 14px; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; background: var(--b200); border-radius: 16px; border-bottom-left-radius: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); opacity: .5; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: .8; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-input { display: flex; align-items: center; gap: 8px; margin: 8px 10px 14px; padding: 7px 7px 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #e0e0e0; color: #9e9e9e; font-size: .78rem; }
.chat-input .ph { flex: 1; }
.chat-input .send { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.chat-input .send svg { width: 13px; height: 13px; color: #fff; }
.relay { position: absolute; left: -190px; bottom: 40px; z-index: 2; width: 276px; background: var(--ink); border: 1px solid #1d3352; border-radius: 14px; color: var(--ink-text); box-shadow: 0 30px 60px -24px rgba(10, 22, 40, .55); font-family: var(--mono); font-size: .68rem; }
.relay-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border-bottom: 1px solid var(--ink-line); color: var(--ink-text-3); letter-spacing: .08em; text-transform: uppercase; font-size: .6rem; }
.relay-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-text-2); }
.relay-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.relay-log { list-style: none; margin: 0; padding: 9px 13px 11px; display: grid; gap: 5px; min-height: 94px; }
.relay-log li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; animation: rise .3s var(--ease) both; }
.relay-log li .d { color: var(--brand); }
.relay-log li .c { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #9cc7ff; }
.relay-log li .s { color: var(--ink-text-3); }
.relay-log li.wiped .c { color: var(--ink-text-3); text-decoration: line-through; }
.relay-log li.wiped .s { color: #34d399; }
.relay-log li.empty { display: block; color: var(--ink-text-3); }

/* ---------- Intro: statement fills in as you scroll ---------- */
.intro { padding: 150px 0 120px; }
.statement { font-family: var(--display); font-size: clamp(2.1rem, 4.6vw, 4.3rem); line-height: 1.06; letter-spacing: -0.045em; font-weight: 600; margin: 34px 0 96px; max-width: 1120px; }
/* Real word keeps the layout; its ciphertext is drawn over it until it decrypts. */
.statement .w { position: relative; color: transparent; transition: color .35s var(--ease); }
.statement .w::after { content: attr(data-c); position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; max-width: 100%; color: rgba(11, 18, 32, .18); font-family: var(--mono); font-size: .62em; font-weight: 500; letter-spacing: 0; line-height: 1.75; transition: opacity .3s var(--ease); }
.statement .w.on { color: var(--text); }
.statement .w.on::after { opacity: 0; }
.statement .w.hl.on { color: var(--brand); }
.no-js .statement .w { color: var(--text); }
.intro-foot { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.intro-foot > p { margin: 0; font-size: 1.06rem; line-height: 1.7; color: var(--text-2); max-width: 440px; }
.meta-table { border-top: 1px solid var(--line-2); }
.meta-table div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.meta-table dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.meta-table dd { margin: 0; color: var(--text); }

/* ---------- Pillars: pinned emblem + changing copy ---------- */
.pillars { height: 300vh; }
.pillars .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pl-visual { position: relative; width: min(440px, 100%); aspect-ratio: 1; justify-self: center; }
.pl-visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(33, 150, 243, .2), transparent); }
.pl-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-arc { transition: stroke-dashoffset .2s linear; }
.pl-orbit { position: absolute; inset: 0; transition: transform .2s linear; }
.pl-orbit i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(33, 150, 243, .14); }
.pl-orbit i:nth-child(1) { left: 50%; top: 2.5%; }
.pl-orbit i:nth-child(2) { left: 91%; top: 72%; background: var(--sky); }
.pl-orbit i:nth-child(3) { left: 9%; top: 72%; background: var(--navy); }
.pl-core { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px; border-radius: 36px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--sky), var(--brand) 45%, var(--navy)); box-shadow: 0 30px 60px -20px rgba(13, 71, 161, .65), inset 0 1px 0 rgba(255, 255, 255, .3); }
.pl-core svg { position: absolute; width: 56px; height: 56px; opacity: 0; transform: scale(.6) rotate(-12deg); transition: opacity .45s var(--ease), transform .45s var(--ease-out); }
.pl-core svg.on { opacity: 1; transform: none; }
.pl-steps { display: flex; gap: 8px; margin-bottom: 34px; }
.pl-steps i { width: 32px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .4s, width .4s var(--ease); }
.pl-steps i.on { width: 56px; background: linear-gradient(90deg, var(--sky), var(--brand)); }
.pl-panels { position: relative; min-height: 340px; }
.pl-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.pl-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.pl-panel.past { transform: translateY(-26px); }
.pl-kick { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.pl-panel h2 { margin: 16px 0 18px; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.05em; font-weight: 700; }
.pl-panel p { margin: 0; max-width: 460px; color: var(--text-2); font-size: 1.08rem; line-height: 1.65; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pl-chips span { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--navy); }

/* ---------- Disappearing-message scroll story ---------- */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 6vh 0 34vh; }
.life-step { min-height: 62vh; display: flex; align-items: center; opacity: .25; transition: opacity .4s var(--ease); cursor: pointer; }
.life-step > div { position: relative; padding: 4px 0 4px 28px; border-left: 1px solid var(--line-2); transition: border-color .4s; }
.life-step > div::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--brand); transform: scaleY(0); transform-origin: 50% 0; transition: transform .5s var(--ease-out); }
.life-step.active { opacity: 1; }
.life-step.active > div::before { transform: scaleY(1); }
.life-step.done { opacity: .4; }
.life-step .kick { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.life-step h4 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.life-step p { margin: 0; color: var(--text-2); font-size: 1.04rem; line-height: 1.65; max-width: 440px; }
.glyph { display: inline-flex; align-items: center; gap: 3px; padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.glyph svg { width: 18px; height: 12px; }
.glyph.green { color: var(--read); border-color: rgba(0, 200, 83, .25); }
.glyph.red { color: var(--danger); border-color: rgba(211, 47, 47, .25); }
.story-stage { position: relative; align-self: stretch; }
.life-stage { position: sticky; top: calc(50vh - 270px); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow-lg); }
.life-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chips { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-2); flex-wrap: wrap; }
.chip { padding: 6px 13px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font-size: .8rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.life-progress { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); min-width: 220px; }
.life-progress span { white-space: nowrap; min-width: 110px; text-align: right; }
.life-progress i { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.life-progress i b { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--sky), var(--brand)); transition: width .15s linear; }
.life-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px 22px 22px; background: linear-gradient(180deg, var(--b50), #fff); }
.mini { border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #1b2a40, #0b1626 70%); box-shadow: 0 24px 48px -24px rgba(13, 71, 161, .45); }
.mini-screen { border-radius: 24px; overflow: hidden; background: #fafafa; color: #212121; height: 380px; display: flex; flex-direction: column; text-align: left; }
.mini-head { display: flex; align-items: center; gap: 9px; padding: 12px 12px 10px; background: #fff; border-bottom: 1px solid #eceff1; }
.mini-head img { width: 30px; height: 30px; border-radius: 50%; }
.mini-head b { display: block; font-size: .82rem; line-height: 1.2; font-weight: 600; }
.mini-head small { font-size: .68rem; color: #9e9e9e; }
.mini-head small.on { color: #2e7d32; }
.mini-role { margin-left: auto; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--b100); padding: 3px 7px; border-radius: 999px; }
.mini-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; }
.mini-note { align-self: center; font-size: .64rem; color: #9e9e9e; margin-bottom: auto; text-align: center; }
.mb { max-width: 82%; padding: 8px 12px; border-radius: 16px; font-size: .8rem; line-height: 1.4; animation: rise .3s var(--ease) both; }
.mb.out { align-self: flex-end; background: #2196f3; color: #fff; border-bottom-right-radius: 4px; }
.mb.in { align-self: flex-start; background: #bbdefb; color: #0d47a1; border-bottom-left-radius: 4px; }
.mb .row { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 4px; font-size: .64rem; opacity: .85; font-variant-numeric: tabular-nums; }
.mb .cd { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 4px; font-size: .66rem; font-variant-numeric: tabular-nums; opacity: .85; }
.mb .cd svg { width: 11px; height: 11px; }
.mb .cd.urgent { color: #ff5252; opacity: 1; font-weight: 700; }
.mb.out .cd.urgent { color: #ffd6d6; }
.tk { display: inline-flex; width: 16px; height: 11px; position: relative; color: rgba(255, 255, 255, .75); }
.tk svg { width: 16px; height: 11px; position: absolute; inset: 0; }
.tk.read svg.fg { color: var(--read); }
.tk.read svg.bg { color: rgba(255, 255, 255, .75); transform: scale(1.18); }
.mb-media { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.mb-media .pl { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); flex: none; }
.mb.in .mb-media .pl { background: rgba(13, 71, 161, .12); }
.mb-media .pl svg { width: 12px; height: 12px; }
.mb-media .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.mb.in .mb-media .bar { background: rgba(13, 71, 161, .15); }
.mb-media .bar i { display: block; height: 100%; width: 0; background: currentColor; border-radius: 4px; }
.mb-media .len { font-size: .64rem; font-variant-numeric: tabular-nums; opacity: .8; }
.mb-photo { width: 150px; height: 96px; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(160deg, #e3f2fd 0%, #90caf9 55%, #42a5f5 100%); }
.mb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(15deg, rgba(13, 71, 161, .45) 0 30%, transparent 30%), linear-gradient(-20deg, rgba(21, 101, 192, .35) 0 38%, transparent 38%); }
.mb-photo .play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.mb-photo .play svg { width: 28px; height: 28px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.mb-expired { max-width: 82%; padding: 9px 13px; border-radius: 16px; background: #fafafa; border: 1px solid rgba(189, 189, 189, .6); color: rgba(33, 33, 33, .45); font-style: italic; font-size: .78rem; display: inline-flex; align-items: center; gap: 7px; animation: rise .3s var(--ease) both; }
.mb-expired.out { align-self: flex-end; border-bottom-right-radius: 4px; }
.mb-expired.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.mb-expired svg { width: 15px; height: 15px; flex: none; }
.mini-input { margin: 6px 10px 10px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid #e0e0e0; font-size: .72rem; color: #9e9e9e; }
.life-server { display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: var(--ink); font-family: var(--mono); font-size: .72rem; color: var(--ink-text-2); min-height: 48px; }
.life-server .lbl { color: var(--ink-text-3); white-space: nowrap; text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; }
.life-server .val { color: #9cc7ff; word-break: break-all; transition: color .3s; }
.life-server .val.erased { color: #34d399; }

/* ---------- No phone number ---------- */
.nophone { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: center; }
.signup { position: relative; max-width: 420px; width: 100%; }
.signup::before { content: ""; position: absolute; inset: -60px -60px auto auto; width: 90%; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(33, 150, 243, .22), transparent); z-index: 0; }
.signup-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px 28px; box-shadow: var(--shadow-lg); }
.signup-card h3 { margin: 0 0 4px; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; }
.signup-card > p { margin: 0 0 22px; color: var(--text-3); font-size: .86rem; }
.sf { margin-bottom: 14px; }
.sf label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.sf .in { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid #bdbdbd; color: #212121; font-size: .92rem; background: #fff; }
.sf .in svg { width: 18px; height: 18px; color: #757575; flex: none; }
.sf .in.focus { border: 1.6px solid var(--brand); }
.sf small { display: block; margin-top: 5px; font-size: .72rem; color: var(--text-3); }
.sf.missing .in { border-style: dashed; border-color: #f2b8b5; background: #fff8f7; color: #c62828; text-decoration: line-through; text-decoration-color: rgba(198, 40, 40, .5); }
.sf.missing .in svg { color: #e57373; }
.sf.missing label { color: #c62828; text-decoration: line-through; }
.signup-card .btn { width: 100%; margin-top: 8px; border-radius: 14px; }
.ticks-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.ticks-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 1rem; line-height: 1.6; }
.ticks-list li > span:first-child { font-family: var(--mono); font-size: .7rem; color: var(--text-3); padding-top: 4px; }
.ticks-list li b { display: block; color: var(--text); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 2px; }

/* ---------- Encryption lab (on dark) ---------- */
.lab { border: 1px solid #1d3352; border-radius: 22px; background: var(--ink); overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); }
.lab .console-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--ink-line); background: var(--ink-2); flex-wrap: wrap; font-family: var(--mono); font-size: .72rem; color: var(--ink-text-3); }
.lab .console-bar .title { display: inline-flex; align-items: center; gap: 10px; }
.lab .console-bar .title b { color: var(--ink-text-2); font-weight: 500; }
.badge-sm { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
.badge-sm::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { color: #34d399; background: rgba(52, 211, 153, .12); }
.badge-warn { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.lab-col { padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; color: var(--ink-text); }
.lab-col + .lab-col { border-left: 1px solid var(--ink-line); }
.lab-col .role { font-family: var(--mono); font-size: .66rem; color: var(--ink-text-3); text-transform: uppercase; letter-spacing: .12em; }
.lab-col h3 { margin: -6px 0 0; font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.lab textarea { width: 100%; min-height: 140px; resize: vertical; padding: 14px; border-radius: 12px; background: #0b1b31; border: 1px solid #22395a; color: var(--ink-text); font: inherit; font-size: .95rem; line-height: 1.55; transition: border-color .15s, box-shadow .15s; }
.lab textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(33, 150, 243, .25); }
.cipher-box { flex: 1; min-height: 140px; max-height: 220px; overflow: hidden; padding: 14px; border-radius: 12px; background: #0b1b31; border: 1px dashed #2a4670; font-family: var(--mono); font-size: .74rem; line-height: 1.6; color: #9cc7ff; word-break: break-all; }
.plain-box { flex: 1; min-height: 140px; padding: 14px; border-radius: 12px; background: #0b1b31; border: 1px solid #22395a; font-size: .95rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.kv { font-family: var(--mono); font-size: .7rem; color: var(--ink-text-3); display: grid; gap: 4px; }
.kv span { color: var(--ink-text-2); }
.lab-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding: 15px 20px; border-top: 1px solid var(--ink-line); font-size: .84rem; color: var(--ink-text-3); }
.lab-foot b { color: var(--ink-text); font-weight: 600; }
.lab-foot .algo { font-family: var(--mono); font-size: .72rem; }

/* ---------- Capability cards (on dark) ---------- */
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rows li { position: relative; display: flex; flex-direction: column; padding: 26px 26px 28px; border-radius: 22px; border: 1px solid var(--d-line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); transition: border-color .3s, transform .3s var(--ease), background .3s; outline: none; }
.rows li:hover, .rows li:focus-visible { border-color: rgba(33, 150, 243, .45); transform: translateY(-3px); background: linear-gradient(180deg, rgba(33, 150, 243, .09), rgba(255, 255, 255, .01)); }
.rows .r { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rows .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--mono); font-size: .74rem; font-weight: 600; color: #9cc7ff; background: rgba(33, 150, 243, .14); border: 1px solid rgba(33, 150, 243, .25); }
.rows h3 { margin: 6px 0 0; font-family: var(--display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--d-text); }
.rows .tg { order: 3; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #7cb8f5; }
.rows .ar { display: none; }
.rows .desc p { margin: 12px 0 0; color: var(--d-text-2); font-size: .94rem; line-height: 1.6; }

/* ---------- Protocol: pinned timeline ---------- */
.proto { height: 340vh; }
.proto .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.proto .pin > .container { padding-top: 40px; }
.proto .head { margin-bottom: 64px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 34px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.timeline .fill { position: absolute; left: 0; top: 7px; height: 1px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sky), var(--brand), var(--navy)); }
.t-step { position: relative; }
.t-step::before { content: ""; position: absolute; left: 0; top: -35px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.t-step.done::before { background: var(--brand); border-color: var(--brand); }
.t-step.on::before { background: #fff; border: 5px solid var(--brand); transform: scale(1.25); box-shadow: 0 0 0 7px rgba(33, 150, 243, .14); }
.timeline .packet { position: absolute; top: 3px; left: 0; width: 22px; height: 10px; margin-left: -11px; border-radius: 6px; background: var(--navy); box-shadow: 0 0 14px rgba(33, 150, 243, .8); transition: left .2s linear; }
.timeline .packet::after { content: ""; position: absolute; inset: 3px 5px; border-radius: 2px; background: repeating-linear-gradient(90deg, #9cc7ff 0 2px, transparent 2px 4px); }
.t-step .n { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: var(--text-3); }
.t-step h3 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -0.045em; color: var(--text-3); transition: color .4s; }
.t-step.on h3, .t-step.done h3 { color: var(--text); }
.t-detail { position: relative; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); min-height: 120px; }
.t-detail > div { position: absolute; inset: 30px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.t-detail > div.on { opacity: 1; transform: none; }
.t-detail p { margin: 0; max-width: 560px; font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pills span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; font-weight: 500; color: var(--text-2); background: var(--paper); }

/* ---------- Transparency (on dark): sticky heading + card grid ---------- */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.why-head { position: sticky; top: 130px; }
.why-head .h2 { margin-bottom: 26px; }
.why-head p { margin: 0 0 28px; max-width: 380px; color: var(--d-text-2); font-size: 1.02rem; line-height: 1.65; }
.legend { display: grid; gap: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--d-text-2); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--d-text-3); }
.legend .sealed i { background: var(--brand); border-color: var(--brand); }
.cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--d-line); border-left: 1px solid var(--d-line); }
.card { position: relative; min-height: 230px; padding: 26px 26px 30px; border-right: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); transition: background .3s; }
.card:hover { background: rgba(255, 255, 255, .025); }
.card .top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--d-text-3); }
.card .top i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--d-text-3); }
.card.sealed .top i { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 12px rgba(33, 150, 243, .6); }
.card.sealed .top em { color: #7cc0ff; font-style: normal; }
.card .top em { font-style: normal; }
.card h3 { margin: 46px 0 10px; font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.card p { margin: 0; color: var(--d-text-2); font-size: .93rem; line-height: 1.6; }

/* ---------- Specifications: tabs + radial ---------- */
.tech { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 36px; }
.tab { padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; font-size: .86rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.tab[aria-selected="true"] { background: var(--text); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 18, 32, .5); }
.tab-intro { margin: 0 0 22px; color: var(--text-2); font-size: 1.02rem; max-width: 460px; min-height: 3.3em; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.spec-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); animation: rise .45s var(--ease) both; }
.spec-list li b { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.035em; }
.spec-list li span { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); text-align: right; }
.radial { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; }
.radial svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.radial .core { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--brand) 50%, var(--navy)); box-shadow: 0 0 0 14px rgba(33, 150, 243, .08), 0 0 0 30px rgba(33, 150, 243, .05), 0 24px 50px -10px rgba(21, 101, 192, .6); display: grid; place-items: center; }
.radial .core span { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; color: #fff; text-transform: uppercase; text-align: center; line-height: 1.3; }
.radial .node { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid var(--brand); background: var(--bg); transition: left .6s var(--ease), top .6s var(--ease); }
.radial .node-label { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; transition: left .6s var(--ease), top .6s var(--ease), opacity .3s; }
.radial line { stroke: rgba(33, 150, 243, .45); stroke-width: 1; transition: all .6s var(--ease); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-wrap .head { position: sticky; top: 120px; margin: 0; }
.faq-wrap .head p { justify-self: start; margin-top: 22px; }
.faq-wrap .head a { color: var(--brand); font-weight: 600; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 50px 1fr 44px; gap: 12px; align-items: center; padding: 24px 0; font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; color: var(--text-3); }
.faq summary .pm { position: relative; justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--text); border-color: var(--text); color: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 56px 26px 62px; color: var(--text-2); font-size: 1rem; line-height: 1.7; }
.faq .ans p { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-info .h2 { margin-bottom: 26px; }
.contact-info > p { margin: 0 0 30px; color: var(--text-2); font-size: 1.04rem; max-width: 440px; }
.contact-info .pt { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--text-2); }
.contact-info .pt:last-child { border-bottom: 1px solid var(--line); }
.contact-info .pt span:first-child { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.contact-info a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 4px; }
.form { position: relative; border-radius: 24px; border: 1px solid var(--line); background: var(--paper); padding: 34px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brand); box-shadow: 0 1px 0 var(--brand); }
.field .hint { font-family: var(--mono); font-size: .66rem; color: var(--text-3); justify-self: end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .9rem; padding: 12px 14px; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: #e8f5e9; border: 1px solid #c8e6c9; color: #1b5e20; }
.form-status.err { display: block; background: #fdecea; border: 1px solid #f5c6c2; color: #b71c1c; }
.form .btn { justify-self: start; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Closing CTA: brand panel with drifting ciphertext ---------- */
.cta { padding: 60px 0 120px; }
.cta-panel { position: relative; overflow: hidden; padding: 96px 64px; border-radius: 36px; color: #fff; background: linear-gradient(135deg, #2196f3 0%, #1565c0 55%, #0d47a1 100%); box-shadow: 0 50px 100px -50px rgba(13, 71, 161, .8); }
.cta-panel > * { position: relative; }
.cipher-stream { position: absolute !important; inset: 0; overflow: hidden; pointer-events: none; font-family: var(--mono); font-size: .78rem; line-height: 1.9; color: rgba(255, 255, 255, .16); white-space: nowrap; mask-image: linear-gradient(90deg, transparent 30%, #000 75%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
.cipher-stream div { animation: drift 38s linear infinite; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.cta .label { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #e3f2fd; padding: 6px 14px; }
.cta h2 { margin: 24px 0 22px; font-family: var(--display); font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: .96; letter-spacing: -0.055em; font-weight: 800; }
.cta p { margin: 0 0 34px; max-width: 480px; color: #d6e9fc; font-size: 1.08rem; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 18px; border-radius: 999px; background: #0a1220; color: #fff; min-width: 196px; }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--d-text-2); }
.store b { font-size: .98rem; font-weight: 600; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Footer ---------- */
footer { position: relative; padding: 72px 0 28px; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; color: var(--text-2); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; position: relative; z-index: 1; }
.foot-about .brand { color: var(--text); }
.foot-about p { margin: 22px 0 22px; font-size: 1.15rem; line-height: 1.5; color: var(--text-2); max-width: 300px; }
.foot-about a.mail { color: var(--text); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--text); padding-bottom: 2px; }
.foot-grid h4 { margin: 4px 0 18px; font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { transition: color .2s; }
.foot-grid a:hover, .foot-bottom a:hover { color: var(--brand); }
.foot-bottom { position: relative; z-index: 1; margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.no-track { display: inline-flex; align-items: center; gap: 8px; }
.no-track svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 60px; }
.legal-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 80px; align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 1px; font-size: .86rem; border-left: 1px solid var(--line-2); }
.toc a { padding: 5px 0 5px 16px; margin-left: -1px; color: var(--text-3); border-left: 1px solid transparent; transition: color .15s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left: 2px solid var(--brand); font-weight: 600; }
.legal h1 { color: var(--text); font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.06em; line-height: .95; margin: 0 0 16px; }
.legal .updated { color: var(--text-3); font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 40px; }
.prose { max-width: 760px; color: var(--text-2); font-size: 1.02rem; }
.prose h2 { color: var(--text); font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.035em; margin: 64px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.prose h3 { color: var(--text); font-size: 1.08rem; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { line-height: 1.78; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .86em; color: var(--navy); background: var(--b100); padding: 1px 5px; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; display: block; overflow-x: auto; border-top: 1px solid var(--line-2); }
.prose th, .prose td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.callout { padding: 20px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brand); color: var(--text-2); margin: 22px 0; }
.callout strong { color: var(--text); }
.legal + footer, main.legal ~ footer { padding-top: 32px; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf .code { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.nf .code::before { content: "Error "; }
.nf .h2 { margin: 18px 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 24px; }
  .hero-main { grid-template-columns: 1fr; gap: 64px; padding-top: 40px; }
  .hero .beam { display: none; }
  .head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 56px; }
  .head p { justify-self: start; }
  .intro-foot, .nophone, .why, .tech, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 48px; }
  .why-head, .faq-wrap .head { position: static; }
  .pl-grid { grid-template-columns: 1fr; gap: 24px; }
  .pl-visual { width: min(240px, 62vw); }
  .pl-core { width: 92px; height: 92px; margin: -46px; border-radius: 26px; }
  .pl-core svg { width: 40px; height: 40px; }
  .pl-panels { min-height: 300px; }
  .pl-steps { margin-bottom: 18px; }
  .rows { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-panel { padding: 64px 32px; border-radius: 28px; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-col + .lab-col { border-left: 0; border-top: 1px solid var(--ink-line); }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { order: -1; position: sticky; top: 76px; z-index: 3; padding: 10px 0 12px; background: linear-gradient(var(--bg-2) 85%, rgba(238, 242, 247, 0)); }
  .life-stage { position: static; }
  .story .life-phones { gap: 10px; padding: 12px 10px 10px; }
  .story .mini-screen { height: 220px; }
  .story .mini-input { display: none; }
  .life-controls { padding: 8px 10px; }
  .life-progress { min-width: 0; flex: 1 1 100%; }
  .story-steps { padding: 4vh 0 20vh; }
  .life-step { min-height: 48vh; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .t-step h3 { font-size: 1.15rem; }
  .t-detail > div { grid-template-columns: 1fr; gap: 18px; }
  .pills { justify-content: flex-start; }
  .t-detail { min-height: 190px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links { display: grid; position: absolute; top: 76px; left: 0; right: 0; padding: 8px var(--gutter) 18px; background: rgba(246, 248, 251, .98); border-bottom: 1px solid var(--line); }
  .nav.on-dark.open .nav-links { background: rgba(10, 18, 32, .98); }
  .nav.open .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a::after { display: none; }
  .section { padding: 104px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 30px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .phone { width: 280px; height: 572px; }
  .relay { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .pl-panel h2 { font-size: 2.3rem; }
  .cta-panel { padding: 48px 22px; }
  .meta-table div { grid-template-columns: 1fr; gap: 4px; }
  .story .mini-screen { height: 200px; }
  .story .mini-head { padding: 8px 8px 7px; }
  .story .mini-head img { width: 22px; height: 22px; }
  .story .mini-role { display: none; }
  .story .mb, .story .mb-expired { font-size: .7rem; padding: 6px 9px; }
  .story .mb-photo { width: 110px; height: 70px; }
  .story .mb-media { min-width: 110px; }
  .chip { padding: 5px 10px; font-size: .76rem; }
  .rows { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 54px; }
  .timeline::before, .timeline .fill { display: none; }
  .proto .head { margin-bottom: 36px; }
  .proto .head h2 { font-size: 2.4rem; }
  .t-detail { margin-top: 30px; min-height: 230px; }
  .faq summary { grid-template-columns: 1fr 40px; font-size: 1.1rem; }
  .faq summary .n { display: none; }
  .faq .ans { padding: 0 0 22px; }
  .form { padding: 22px; }
  .form .two { grid-template-columns: 1fr; }
  .contact-info .pt { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
  .store { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
