/*
VOICE   confident, technical, honest: a gaming tool that shows its work
IDEA    the site behaves like the app's own dashboard: a live frametime graph, health ring, before/after bars
PICTURE an app window mock-up with a live animated frametime trace and FPS counter
COLOUR  night black #07080C, SpecX cyan #00E0FF to violet #8B5CF6, success green #22E39A for gains
TYPE    Sora 700 for headings, Manrope for body, JetBrains Mono only for numbers
LAYOUT  sticky nav, full-bleed hero, bento features, proof band, safety, pricing, FAQ, CTA, footer
*/
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg2: #0a0c12;
  --surface: #0e1118;
  --surface2: #151a24;
  --hover: #1b2230;
  --line: #222a38;
  --line2: #34405a;
  --ink: #e8ecf4;
  --muted: #8a93a6;
  --dim: #5a6377;
  --cyan: #00e0ff;
  --violet: #8b5cf6;
  --green: #22e39a;
  --amber: #ffb020;
  --red: #ff4d6d;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --radius: 18px;
  --head: "Sora", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6.2vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1240px, 100% - 2 * max(5vw, 16px)); margin-inline: auto; }
.band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cyan); margin-bottom: 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px/1 var(--body); cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary { background: var(--grad); color: #04060a; box-shadow: 0 8px 30px -8px rgba(0, 224, 255, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(0, 224, 255, .7), 0 0 0 1px rgba(255,255,255,.15) inset; }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--muted); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 8, 12, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--head); letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; filter: drop-shadow(0 0 10px rgba(0,224,255,.45)); }
.brand small { font: 600 12px/1 var(--body); color: var(--muted); margin-left: 2px; }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a { padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; }
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: grid; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(7,8,12,.97); border-bottom: 1px solid var(--line); padding: 12px max(5vw,16px) 20px; margin: 0;
  }
  .nav.open .nav-links a { padding: 14px 12px; font-size: 17px; }
}
@media (max-width: 520px) { .nav-cta .btn-primary span.long { display: none; } }

/* ---------- background fx ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; opacity: .55; }
.glow.c { background: var(--cyan); }
.glow.v { background: var(--violet); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.hero .glow.c { width: 520px; height: 420px; top: -180px; left: 8%; opacity: .28; }
.hero .glow.v { width: 560px; height: 460px; top: -120px; right: 4%; opacity: .32; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(14,17,24,.7); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 24px;
}
.pill b { background: var(--grad); color: #04060a; border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--green); width: 18px; height: 18px; }

/* app window mock-up */
.app {
  position: relative; border-radius: 20px; background: linear-gradient(180deg, #10141d, #0a0c12);
  border: 1px solid var(--line2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 80px -20px rgba(139,92,246,.35);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.app:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 600; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.app-bar .t { margin-left: 8px; }
.app-bar .pbadge { margin-left: auto; font: 700 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--grad); color: #04060a; }
.app-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; background: rgba(0,0,0,.2); }
.app-side span { padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.app-side span.on { background: rgba(0,224,255,.1); color: var(--ink); box-shadow: inset 2px 0 0 var(--cyan); }
.app-side span i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .7; }
.app-main { padding: 18px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.tile .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.tile .big { font: 700 30px/1.1 var(--mono); margin-top: 6px; }
.tile .delta { font: 700 12px/1 var(--mono); color: var(--green); margin-top: 6px; }
.tile.wide { grid-column: 1 / -1; }
.ring { display: flex; align-items: center; gap: 14px; }
.ring svg { width: 74px; height: 74px; flex: none; }
.graph { position: relative; height: 120px; margin-top: 10px; }
.graph canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tw-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 7px 0; border-top: 1px solid var(--line); }
.tw-row:first-of-type { border-top: 0; }
.tw-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }
.tw-row .st { margin-left: auto; font: 600 11px/1 var(--mono); color: var(--green); }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .app { transform: none; }
}
@media (max-width: 560px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .app-main { padding: 12px; gap: 10px; }
  .tile .big { font-size: 24px; }
  .ring { gap: 10px; }
  .ring svg { width: 52px; height: 52px; }
}

/* ---------- trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg2); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip div.s { padding: 26px 20px; border-left: 1px solid var(--line); }
.strip div.s:first-child { border-left: 0; }
.strip b { display: block; font: 700 28px/1.1 var(--head); }
.strip span { color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip div.s:nth-child(3) { border-left: 0; } .strip div.s:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 40%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .3s;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0,224,255,.12), transparent 60%);
}
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card p { color: var(--muted); margin-top: 10px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(0,224,255,.08); border: 1px solid rgba(0,224,255,.25); color: var(--cyan); }
.card .ico.v { background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.35); color: #b49bff; }
.card .ico svg { width: 22px; height: 22px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.tag-pro { display: inline-block; margin-left: 8px; font: 700 10px/1 var(--mono); padding: 4px 7px; border-radius: 5px; background: var(--grad); color: #04060a; vertical-align: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); color: var(--ink); }
.undo-demo { margin-top: 18px; display: grid; gap: 8px; }
.undo-demo div { display: flex; align-items: center; gap: 10px; background: var(--surface2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.undo-demo div button { margin-left: auto; font: 700 12px/1 var(--body); color: var(--cyan); background: rgba(0,224,255,.08); border: 1px solid rgba(0,224,255,.3); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.undo-demo div.reverted { opacity: .55; }
.undo-demo div.reverted button { color: var(--muted); border-color: var(--line2); background: transparent; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2, .span-3 { grid-column: span 1; } .span-4 { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .span-2, .span-3, .span-4 { grid-column: auto; } }

/* ---------- proof (benchmark) ---------- */
.proof { background: radial-gradient(800px 400px at 85% 20%, rgba(139,92,246,.12), transparent 70%), var(--bg2); border-block: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.proof-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.steps { display: grid; gap: 14px; margin-top: 30px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 700 15px/1 var(--mono); background: var(--surface2); border: 1px solid var(--line2); color: var(--cyan); }
.step b { display: block; font-family: var(--head); font-weight: 600; }
.step span { color: var(--muted); font-size: 15px; }
.bench { background: var(--surface); border: 1px solid var(--line2); border-radius: 20px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.bench-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.bench-head h3 { font-size: 18px; }
.bench-head small { color: var(--dim); font-size: 13px; }
.bar-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 16px; }
.bar-row > span { color: var(--muted); font-size: 14px; font-weight: 600; }
.bars { display: grid; gap: 6px; }
.bar { position: relative; height: 30px; border-radius: 8px; background: rgba(255,255,255,.03); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 8px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.bar.before i { background: #2a3242; }
.bar.after i { background: var(--grad); box-shadow: 0 0 24px rgba(0,224,255,.35); }
.bar em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 700 13px/1 var(--mono); font-style: normal; white-space: nowrap; }
.bar.before em { color: var(--muted); }
.bench-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.bench-legend span { display: inline-flex; align-items: center; gap: 8px; }
.bench-legend i { width: 14px; height: 8px; border-radius: 3px; background: #2a3242; }
.bench-legend i.a { background: var(--grad); }
.bench-note { margin-top: 14px; font-size: 13px; color: var(--dim); }
@media (max-width: 980px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- safety ---------- */
.safe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.safe-col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.safe-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.safe-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.safe-col li { display: flex; gap: 12px; color: var(--muted); }
.safe-col li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.safe-col.yes li svg { color: var(--green); }
.safe-col.no { background: linear-gradient(180deg, rgba(255,77,109,.05), transparent 50%), var(--surface); }
.safe-col.no li svg { color: var(--red); }
.safe-col li b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .safe-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- games marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-top: 8px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.game { flex: none; padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font: 600 15px/1 var(--head); display: flex; align-items: center; gap: 10px; }
.game i { width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- pricing ---------- */
.toggle { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); gap: 4px; margin: 0 auto 40px; }
.toggle button { min-height: 42px; padding: 0 18px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: 700 14px/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.toggle button.on { background: var(--surface2); color: var(--ink); box-shadow: 0 0 0 1px var(--line2) inset; }
.toggle button small { color: var(--green); margin-left: 6px; font-weight: 700; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin-inline: auto; }
.plan { border-radius: 22px; padding: 32px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; position: relative; }
.plan.pro { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 30px 90px -30px rgba(0,224,255,.35); }
.plan .badge { position: absolute; top: -13px; right: 24px; font: 700 12px/1 var(--body); padding: 7px 12px; border-radius: 999px; background: var(--grad); color: #04060a; }
.plan h3 { font-size: 22px; }
.plan .desc { color: var(--muted); margin-top: 6px; min-height: 52px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 6px; }
.price b { font: 800 52px/1 var(--head); letter-spacing: -0.03em; }
.price span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.price-sub { font-size: 14px; color: var(--green); font-weight: 600; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--cyan); margin-top: 1px; }
.plan li.off { color: var(--dim); }
.plan li.off svg { color: var(--dim); }
.plan .btn { margin-top: auto; }
.guarantee { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--line2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font: 600 17px/1.35 var(--head); display: flex; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA / footer ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; border: 1px solid var(--line2); padding: clamp(36px, 6vw, 72px); text-align: center; background: radial-gradient(600px 300px at 20% 0%, rgba(0,224,255,.16), transparent 70%), radial-gradient(600px 300px at 80% 100%, rgba(139,92,246,.22), transparent 70%), var(--surface); }
.cta p { color: var(--muted); font-size: 18px; margin: 16px auto 30px; max-width: 560px; }
.cta .hero-actions { justify-content: center; margin-top: 0; }
.cta .small { font-size: 13px; margin: 18px 0 0; color: var(--dim); }
footer { border-top: 1px solid var(--line); margin-top: clamp(64px, 8vw, 110px); padding: 48px 0 36px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { margin: 0 0 14px; color: var(--ink); font: 600 14px/1 var(--head); }
.foot a { display: block; padding: 5px 0; transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot .about { max-width: 320px; margin-top: 14px; }
.legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--dim); font-size: 13px; }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- auth + account ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; position: relative; isolation: isolate; }
.auth-page .glow.c { width: 420px; height: 420px; top: 10%; left: -120px; opacity: .22; }
.auth-page .glow.v { width: 480px; height: 480px; bottom: -80px; right: -120px; opacity: .25; }
.auth-wrap { display: grid; place-items: center; padding: 40px 16px 80px; }
.auth-card { width: min(440px, 100%); background: rgba(14,17,24,.85); backdrop-filter: blur(10px); border: 1px solid var(--line2); border-radius: 24px; padding: clamp(24px, 5vw, 40px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-card > p { color: var(--muted); margin-bottom: 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 14px/1 var(--body); cursor: pointer; }
.tabs button.on { background: var(--surface2); color: var(--ink); box-shadow: 0 0 0 1px var(--line2) inset; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); font: 16px var(--body); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,224,255,.12); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; margin: -4px 0 18px; }
.row-between a, .link { color: var(--cyan); font-weight: 600; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.oauth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msg { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255,77,109,.08); border: 1px solid rgba(255,77,109,.35); color: #ffb3c1; }
.msg.ok { background: rgba(34,227,154,.08); border: 1px solid rgba(34,227,154,.35); color: #a6f5d4; }
.demo-note { margin-top: 22px; font-size: 13px; color: var(--dim); text-align: center; }

.acct { padding: 40px 0 80px; }
.acct-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.acct-head h1 { font-size: clamp(28px, 4vw, 40px); }
.acct-head p { color: var(--muted); margin-top: 6px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.panel h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.panel .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.plan-state { margin: 20px 0; display: flex; align-items: center; gap: 14px; }
.plan-state .tag { font: 700 13px/1 var(--mono); padding: 8px 12px; border-radius: 8px; }
.tag.pro { background: var(--grad); color: #04060a; }
.tag.free { background: var(--surface2); border: 1px solid var(--line2); color: var(--muted); }
.kv { display: grid; gap: 10px; font-size: 14px; margin-bottom: 20px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.kv span { color: var(--muted); }
.stack-btns { display: grid; gap: 10px; }
.slots { display: flex; gap: 6px; margin-top: 14px; }
.slots i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface2); }
.slots i.used { background: var(--grad); }
.device { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); margin-top: 12px; }
.device .pc { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(0,224,255,.08); color: var(--cyan); border: 1px solid rgba(0,224,255,.25); }
.device b { display: block; font-family: var(--head); font-weight: 600; overflow-wrap: anywhere; }
.device small { color: var(--muted); }
.device .btn { margin-left: auto; }
.device.empty { border-style: dashed; color: var(--dim); justify-content: center; text-align: center; font-size: 14px; }
.confirm { display: none; margin-top: 10px; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,77,109,.35); background: rgba(255,77,109,.06); font-size: 14px; }
.confirm.show { display: block; }
.confirm .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.btn-danger { background: var(--red); color: #fff; }
.how-list { color: var(--muted); font-size: 14px; padding-left: 18px; margin: 14px 0 0; display: grid; gap: 6px; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .device { flex-wrap: wrap; } .device .btn { margin-left: 58px; } .oauth { grid-template-columns: 1fr; } }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .app, .card, .btn { transition: none; }
}
