@import url('../fonts/fonts.css');

:root {
  --bg: #161618; --bg2: #1A1A1D; --s1: #1F1F22; --s2: #26262A; --s3: #323236;
  --line: rgba(237, 237, 235, .08); --line2: rgba(237, 237, 235, .14);
  --text: #EEEDEA; --muted: #A7A6A1; --faint: #75736E;
  --accent: #EDEDEB; --accent-ink: #141414; --accent-soft: rgba(237, 237, 235, .08);
  --agent: #D9C3A0; --agent-soft: rgba(217, 195, 160, .12);
  --ok: #5BC48A; --err: #F0776B;
  --display: 'Inter Display', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px; --r-lg: 22px; --pill: 999px;
  --wrap: 1200px; --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --t-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --t-h3: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  --t-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* type */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-hero); letter-spacing: -.035em; line-height: 1.0; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.em { color: var(--muted); }
.lead { font-size: var(--t-lead); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: var(--pill); border: 1px solid var(--line2); background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease), color .2s; white-space: nowrap; }
.btn:hover { border-color: rgba(237, 237, 235, .35); background: rgba(237, 237, 235, .04); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #F2B456; border-color: #F2B456; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.link:hover { background-size: 100% 1px; }
.tlink { color: var(--accent); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlink svg { width: 16px; height: 16px; flex: none; }
.prose svg, .card p svg { width: 16px; height: 16px; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(11, 12, 15, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { background: rgba(237, 237, 235, .05); }
.hdr .cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg); padding: 24px var(--gut) 40px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.mnav a:not(.btn) { font: 800 30px/1.25 var(--display); letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 24px; }
body.menu-open .mnav { display: flex; animation: fadeUp .3s var(--ease); }
body.menu-open { overflow: hidden; }
@media (max-width: 960px) { .nav, .hdr .cta .hide-m { display: none; } .menu-btn { display: inline-flex; } }

/* sections */
section { position: relative; }
.sec { padding: var(--sec) 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line2) 20%, var(--line2) 80%, transparent); }

/* hero */
.hero { padding: 148px 0 0; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(50% 45% at 50% 30%, rgba(130, 169, 217, .10), transparent 70%), radial-gradient(35% 35% at 85% 55%, rgba(139, 151, 255, .10), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; display: grid; justify-items: center; text-align: center; gap: 24px; }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 58ch; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--pill); border: 1px solid var(--line2); background: rgba(21, 23, 29, .7); font-size: 13px; color: var(--muted); }
.chip b { background: var(--agent-soft); color: var(--agent); border-radius: var(--pill); padding: 3px 9px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--faint); }
.hero-meta span { display: inline-flex; gap: 7px; align-items: center; }
.hero-meta svg { width: 14px; height: 14px; color: var(--ok); }
.stage { position: relative; margin-top: clamp(48px, 7vw, 80px); perspective: 1600px; }
.stage .frame { transform-origin: 50% 0; transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, .94)); transition: transform .1s linear; will-change: transform; }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: var(--bg2); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), 0 -1px 0 rgba(255, 255, 255, .06) inset; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.callout { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(21, 23, 29, .92); border: 1px solid var(--line2); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); font-size: 13px; backdrop-filter: blur(10px); }
.callout i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; font-style: normal; }
.callout i svg { width: 16px; height: 16px; }
.callout b { display: block; font-size: 13.5px; }
.callout small { color: var(--muted); font-size: 12px; }
.callout.c1 { left: -2%; top: 22%; } .callout.c1 i { background: var(--accent-soft); color: var(--accent); }
.callout.c2 { right: -2%; top: 52%; } .callout.c2 i { background: rgba(91, 196, 138, .14); color: var(--ok); }
@media (max-width: 1100px) { .callout { display: none; } }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg2); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marq 48s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font: 700 clamp(18px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; color: var(--muted); }
.marquee span::after { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); opacity: .8; }
.marquee span em { font-style: normal; color: var(--text); }
@keyframes marq { to { transform: translateX(-50%); } }

/* sticky steps (signature) */
.flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.flow-steps { display: grid; gap: 0; }
.fstep { padding: 34vh 0; min-height: 60vh; display: grid; align-content: center; gap: 14px; opacity: .3; transition: opacity .45s var(--ease); }
.fstep:first-child { padding-top: 12vh; } .fstep:last-child { padding-bottom: 22vh; }
.fstep.on { opacity: 1; }
.fstep .n { font: 700 13px/1 var(--body); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.fstep h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; }
.fstep p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.fstep .say { font-family: var(--display); font-weight: 700; color: var(--text); background: var(--s1); border: 1px solid var(--line2); border-radius: 16px 16px 4px 16px; padding: 12px 16px; justify-self: start; font-size: 16px; max-width: 40ch; }
.flow-vis { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.flow-vis .frame { position: absolute; width: 100%; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.flow-vis .frame.on { opacity: 1; transform: none; }
.flow-vis .frame img { aspect-ratio: 16 / 10; }
.prog { position: absolute; left: -28px; top: 15%; bottom: 15%; width: 2px; background: var(--line2); border-radius: 2px; }
.prog i { position: absolute; inset: 0 0 auto; height: var(--p, 0%); background: var(--accent); border-radius: 2px; transition: height .2s linear; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow-vis { display: none; }
  .fstep { padding: 28px 0; min-height: 0; opacity: 1; }
  .fstep:first-child { padding-top: 0; } .fstep:last-child { padding-bottom: 0; }
  .fstep .mshot { display: block !important; }
}
.fstep .mshot { display: none; margin-top: 8px; }

/* phone mock */
.phone { width: min(300px, 78%); aspect-ratio: 9 / 19; border-radius: 42px; background: #050506; border: 1px solid var(--line2); padding: 12px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 6px #111318, 0 0 80px -10px rgba(237, 237, 235, 0.15); position: relative; }
.phone .scr { height: 100%; border-radius: 32px; background: linear-gradient(180deg, #161616, #0F0F0F); overflow: hidden; display: flex; flex-direction: column; padding: 34px 18px 22px; gap: 12px; position: relative; }
.phone .scr::before { content: ''; position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; background: #000; border-radius: 12px; transform: translateX(-50%); }
.phone .ap { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.phone .ap svg { width: 18px; height: 18px; color: var(--accent); }
.phone .t { font: 800 21px/1.15 var(--display); letter-spacing: -.02em; }
.phone .amt { font: 800 36px/1 var(--display); color: var(--accent); letter-spacing: -.03em; }
.phone .row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.phone .row b { color: var(--text); font-weight: 600; }
.phone .fp { margin-top: auto; display: grid; justify-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.phone .fp span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(237, 237, 235, 0.27); color: var(--accent); background: var(--accent-soft); position: relative; }
.phone .fp span::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(237, 237, 235, 0.15); animation: ring 2.2s var(--ease) infinite; }
.phone .fp svg { width: 32px; height: 32px; }
.phone .acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.phone .acts div { height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 13px; border: 1px solid var(--line2); }
.phone .acts div:last-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.phone-wrap { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.phone-wrap.on { opacity: 1; transform: none; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev { grid-template-columns: 1.25fr 1fr; }
.split.rev > :first-child { order: 2; }
.split .copy { display: grid; gap: 22px; align-content: start; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 700; }
.ticks svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.path { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--text); background: var(--s1); border: 1px solid var(--line2); padding: 9px 12px; border-radius: 10px; }
.path svg { width: 15px; height: 15px; color: var(--accent); }

/* tools grid */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tool { background: var(--bg); padding: 32px 28px; display: grid; gap: 12px; align-content: start; transition: background .3s; position: relative; }
.tool:hover { background: var(--bg2); }
.tool .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--s1); border: 1px solid var(--line2); color: var(--accent); transition: transform .3s var(--ease), border-color .3s; }
.tool:hover .ic { transform: translateY(-3px); border-color: rgba(237, 237, 235, 0.24); }
.tool .ic svg { width: 21px; height: 21px; }
.tool p { color: var(--muted); font-size: 15px; }
.tool kbd { position: absolute; top: 28px; right: 24px; font: 600 11px/1 var(--body); color: var(--faint); border: 1px solid var(--line2); border-radius: 6px; padding: 5px 7px; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } }

/* security band */
.band { background: var(--bg2); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); }
.card .ic { color: var(--accent); width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* models */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.model { border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 30px; display: grid; gap: 16px; background: linear-gradient(160deg, var(--s1), var(--bg)); }
.model .top { display: flex; justify-content: space-between; align-items: center; }
.model .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.model ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.model li { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.model li span:first-child { color: var(--muted); }
.model code { font: 500 13px/1.3 ui-monospace, Menlo, monospace; color: var(--text); text-align: right; word-break: break-all; }
@media (max-width: 800px) { .models { grid-template-columns: 1fr; } }

/* compare table */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl td:first-child { color: var(--text); font-weight: 600; }
.tbl td { color: var(--muted); }
.tbl .y { color: var(--ok); font-weight: 700; } .tbl .n { color: var(--faint); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.tbl-wrap .tbl th:first-child, .tbl-wrap .tbl td:first-child { padding-left: 24px; }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 700 clamp(17px, 1.6vw, 20px)/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .a { overflow: hidden; color: var(--muted); max-width: 72ch; }
.faq .a > div { padding: 0 0 24px; }

/* closer */
.closer { text-align: center; padding: clamp(96px, 14vw, 180px) 0; overflow: hidden; }
.closer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 50% at 50% 60%, rgba(130, 169, 217, .09), transparent 70%); pointer-events: none; }
.closer .mark { width: clamp(72px, 9vw, 112px); height: auto; color: var(--accent); margin: 0 auto 32px; filter: drop-shadow(0 0 40px rgba(237, 237, 235, 0.21)); }
.closer h2 { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.4rem); letter-spacing: -.035em; max-width: 14ch; margin: 0 auto 22px; }
.closer .btns { justify-content: center; margin-top: 34px; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 64px 0 40px; background: #08090B; }
.ftr .grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.ftr h4 { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.ftr ul a:hover { color: var(--text); }
.ftr .about p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 14px; }
.ftr .base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .ftr .grid { grid-template-columns: 1fr 1fr; } .ftr .about { grid-column: 1 / -1; } }

/* subpages */
.page-hero { padding: 152px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(40% 45% at 30% 40%, rgba(130, 169, 217, .07), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem); max-width: 18ch; }
.prose { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--text); margin: 56px 0 16px; letter-spacing: -.02em; }
.prose h3 { color: var(--text); margin: 32px 0 10px; font-size: 1.15rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose code { font: 500 14px ui-monospace, Menlo, monospace; background: var(--s1); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 700; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 14px; }
.toc a { color: var(--faint); padding: 6px 0 6px 14px; border-left: 1px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--text); border-color: var(--accent); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { display: none; } }
.meta-line { color: var(--faint); font-size: 14px; }

/* download */
.dl-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .dl-hero { grid-template-columns: 1fr; } }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl { border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; align-content: start; background: var(--s1); transition: border-color .3s, transform .3s var(--ease); }
.dl:hover { transform: translateY(-3px); }
.dl.mine { border-color: rgba(237, 237, 235, 0.33); box-shadow: 0 0 0 1px rgba(237, 237, 235, 0.15), 0 20px 50px -20px rgba(237, 237, 235, 0.15); }
.dl .os { display: flex; align-items: center; gap: 12px; font: 800 20px/1 var(--display); }
.dl .os svg { width: 26px; height: 26px; }
.dl .req { color: var(--muted); font-size: 14px; }
.dl .files { display: grid; gap: 8px; margin-top: 4px; }
.dl .files a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line2); font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.dl .files a:hover { background: rgba(237, 237, 235, .04); border-color: rgba(237, 237, 235, .3); }
.dl .files a small { color: var(--faint); font-weight: 500; }
.dl .yours { display: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.dl.mine .yours { display: block; }
@media (max-width: 1000px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; } }
.steps-n { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps-n > div { counter-increment: s; border-top: 1px solid var(--line2); padding-top: 22px; display: grid; gap: 10px; }
.steps-n > div::before { content: counter(s, decimal-leading-zero); font: 800 14px/1 var(--display); color: var(--accent); letter-spacing: .06em; }
.steps-n p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .steps-n { grid-template-columns: 1fr; } }
.hash { font: 500 12px/1.5 ui-monospace, Menlo, monospace; color: var(--faint); word-break: break-all; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 20px; align-content: start; background: var(--s1); position: relative; }
.plan.feat { border-color: rgba(237, 237, 235, 0.33); background: linear-gradient(180deg, rgba(237, 237, 235, 0.04), var(--s1) 40%); }
.plan .badge { position: absolute; top: -12px; left: 32px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); }
.plan .price { font: 800 48px/1 var(--display); letter-spacing: -.03em; }
.plan .price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.plan .ticks li { font-size: 15px; }
.plan .btn { width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* forms */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 16px; }
textarea.input { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(237, 237, 235, 0.07); }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }
.inline-form { display: flex; gap: 10px; max-width: 480px; }
.inline-form .input { flex: 1; border-radius: var(--pill); padding: 0 20px; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }

/* changelog */
.log { display: grid; gap: 0; }
.log article { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.log .ver { font: 800 26px/1 var(--display); letter-spacing: -.02em; }
.log time { display: block; color: var(--faint); font-size: 14px; margin-top: 10px; }
.log .tag { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); }
@media (max-width: 760px) { .log article { grid-template-columns: 1fr; gap: 16px; } }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gut) 80px; position: relative; overflow: hidden; }
.nf .big { font: 800 clamp(120px, 26vw, 280px)/.9 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line2); }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 32px 24px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats b { font: 800 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; padding-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.notice { border: 1px solid var(--line2); background: var(--s1); border-radius: var(--r); padding: 16px 18px; font-size: 14.5px; color: var(--muted); display: flex; gap: 12px; }
.notice svg { width: 18px; height: 18px; color: var(--agent); flex: none; margin-top: 2px; }
.notice b { color: var(--text); }
.mshot.mphone { padding: 16px 0 8px; } .mshot.mphone .phone { margin: 0 auto; width: min(260px, 74%); }

/* Android phone shots */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 20px); align-items: center; }
.phones .ph { margin: 0; border-radius: 28px; padding: 6px; background: #0A0A0A; border: 1px solid var(--line2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); overflow: hidden; }
.phones .ph img { width: 100%; height: auto; border-radius: 22px; }
.phones .ph.mid { transform: translateY(-18px); }
@media (max-width: 860px) { .phones { max-width: 560px; margin: 0 auto; } }

/* v3.0 hero: APK button, demo phone, demo section */
.btn .bsub { font-weight: 600; font-size: 12.5px; opacity: .62; margin-left: 6px; }
.hero-link { display: inline-flex; gap: 8px; align-items: center; color: var(--agent); font-weight: 600; font-size: 14.5px; }
.hero-link svg { width: 15px; height: 15px; }
.phone-demo { position: absolute; z-index: 3; right: 3%; top: 6%; width: clamp(150px, 17vw, 230px); aspect-ratio: 9 / 16; border-radius: 28px; padding: 6px; background: #0b0b0c; border: 1px solid var(--line2); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(217, 195, 160, .18); overflow: hidden; }
.phone-demo video, .phone-v video { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; background: #111; }
@media (max-width: 900px) { .phone-demo { position: relative; right: auto; top: auto; margin: 0 auto 24px; width: min(62vw, 260px); } }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: 48px; }
.demo-grid figure { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.phone-v { width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; padding: 7px; background: #0b0b0c; border: 1px solid var(--line2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.demo-grid figcaption b { display: block; font-size: 16px; } .demo-grid figcaption span { color: var(--muted); font-size: 14px; }
.btns.center { justify-content: center; margin-top: 40px; }
@media (max-width: 640px) { .demo-grid { grid-template-columns: minmax(0, 300px); } }
