:root {
  --bg: #07090b;
  --bg-2: #0c0f12;
  --panel: #12161a;
  --panel-2: #1a1f25;
  --line: rgb(255 255 255 / 8%);
  --line-2: rgb(255 255 255 / 14%);
  --text: #f3f5f0;
  --muted: #9aa29b;
  --dim: #6b736d;
  --lime: #cdf76d;
  --lime-2: #a6dc47;
  --lime-glow: rgb(205 247 109 / 22%);
  --red: #ff5e57;
  --green: #8fe39b;
  --navy: #141b33;
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* language switching */
:root[data-lang="zh"] [data-l="en"],
:root[data-lang="en"] [data-l="zh"] { display: none !important; }
:root[data-lang="zh"] { --tracking-title: -0.01em; }
:root[data-lang="en"] { --tracking-title: -0.045em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.eyebrow { color: var(--lime); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s var(--ease), opacity .3s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lime { background: linear-gradient(100deg, #dcff86, var(--lime-2)); color: #0b1004; box-shadow: 0 0 0 0 var(--lime-glow); }
.btn-lime:hover { box-shadow: 0 10px 40px -8px rgb(205 247 109 / 55%); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgb(255 255 255 / 8%); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgb(255 255 255 / 14%); }
.btn-store { background: #fff; color: #000; padding: 0 22px 0 18px; min-height: 54px; }
.btn-store:hover { box-shadow: 0 10px 40px -10px rgb(255 255 255 / 45%); }
.store-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-text small { font-size: 11px; font-weight: 500; }
.store-text b { font-size: 19px; letter-spacing: -0.02em; }
.btn-store-lg { min-height: 62px; padding: 0 28px 0 22px; }
.btn-store-lg .store-text b { font-size: 22px; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(180deg, rgb(7 9 11 / 60%), transparent); pointer-events: none; transition: opacity .4s; }
.nav.scrolled::before { opacity: 0; }
.nav.scrolled { background: rgb(7 9 11 / 72%); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav-inner { width: min(100% - 32px, 1280px); margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 370px) { .brand span { display: none; } .nav-inner { gap: 10px; } .lang-opt { padding: 4px 8px; } }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / 6%); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: flex; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 8%); border: 1px solid var(--line); cursor: pointer; }
.lang-opt { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--muted); transition: all .3s var(--ease); }
:root[data-lang="zh"] .lang-opt[data-v="zh"], :root[data-lang="en"] .lang-opt[data-v="en"] { background: var(--text); color: #000; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }

/* HERO */
.hero { position: relative; height: 260vh; height: 260svh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #1b1d1a; }
.hero-canvas, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { opacity: 0; transition: opacity .6s; }
.hero.ready .hero-canvas { opacity: 1; }
.hero.ready .hero-poster { opacity: 0; transition: opacity .6s; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(7 9 11 / 88%) 0%, rgb(7 9 11 / 55%) 38%, rgb(7 9 11 / 0%) 65%),
    linear-gradient(0deg, var(--bg) 0%, rgb(7 9 11 / 0%) 30%);
}
.hero-slash {
  position: absolute; left: 50%; top: 50%; width: 170vmax; height: 3px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 90%) 45%, #fff 50%, rgb(255 255 255 / 90%) 55%, transparent);
  box-shadow: 0 0 24px 4px rgb(255 255 255 / 55%), 0 0 80px 10px var(--lime-glow);
  transform: translate(-50%, -50%) rotate(-38deg) scaleX(var(--slash, 0));
  opacity: var(--slash-o, 0); pointer-events: none; mix-blend-mode: screen;
}
.ai-tag { position: absolute; right: 16px; bottom: 16px; font-size: 11px; color: rgb(255 255 255 / 70%); background: rgb(0 0 0 / 35%); border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; padding: 2px 8px; backdrop-filter: blur(6px); }
.hero-copy {
  position: absolute; left: max(20px, calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(calc(-50% + var(--copy-y, 0px)));
  width: min(760px, calc(100% - 40px)); opacity: var(--copy-o, 1);
}
.hero-title { font-size: clamp(46px, 7.6vw, 116px); font-weight: 800; letter-spacing: var(--tracking-title); line-height: .98; margin-bottom: 26px; }
.hero-title .line { display: block; }
.hero-title .l2 { color: rgb(255 255 255 / 28%); transition: color .5s var(--ease), text-shadow .5s; }
.hero-title .l2.lit { color: var(--lime); text-shadow: 0 0 60px rgb(205 247 109 / 35%); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: rgb(243 245 240 / 78%); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.hero-facts li::before { content: "✓"; color: var(--lime); margin-right: 6px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; border: 2px solid rgb(255 255 255 / 35%); border-radius: 14px; transform: translateX(-50%); opacity: var(--cue-o, 1); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgb(7 9 11 / 88%) 34%, rgb(7 9 11 / 10%) 64%, rgb(7 9 11 / 30%) 100%); }
  .hero-copy { top: auto; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateY(var(--copy-y, 0px)); left: 20px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 20px; font-size: 15.5px; }
  .hero-sub br { display: none; }
  .hero-cta { margin-bottom: 16px; }
  .hero-cta .btn-ghost { display: none; }
  .scroll-cue { display: none; }
  .ai-tag { top: calc(var(--nav-h) + env(safe-area-inset-top) + 10px); bottom: auto; }
}

/* STORY / timeline */
.story { position: relative; height: 300vh; height: 300svh; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-sticky .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.story-copy { position: relative; min-width: 0; }
.story-title, .story-sub { display: grid; }
.story-title > .st, .story-sub > .st { grid-area: 1 / 1; min-width: 0; transition: opacity .22s ease-out, transform .22s ease-out; opacity: 0; transform: translateY(-14px); }
.story[data-stage="0"] .st-0, .story[data-stage="1"] .st-1, .story[data-stage="2"] .st-2 { opacity: 1; transform: none; transition: opacity .6s var(--ease) .22s, transform .7s var(--ease) .22s; }
.story-title { font-size: clamp(36px, 5vw, 68px); font-weight: 800; letter-spacing: var(--tracking-title); margin-bottom: 24px; }
.story-sub { color: var(--muted); font-size: 18px; max-width: 460px; }

.timeline { min-width: 0; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: 0 40px 120px -40px rgb(0 0 0 / 80%); }
.tl-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.tl-file::before { content: "▶"; color: var(--lime); margin-right: 8px; font-size: 10px; }
.tl-bars { display: flex; align-items: center; gap: 2px; height: 150px; }
.tl-bars i { flex: 1 1 0; min-width: 0; border-radius: 2px; background: rgb(255 255 255 / 16%); height: var(--h); transition: height .8s var(--ease), background .5s, flex-grow .9s var(--ease), opacity .6s, margin .9s var(--ease); }
.story[data-stage="1"] .tl-bars i.hit, .story[data-stage="2"] .tl-bars i.hit { background: var(--lime); box-shadow: 0 0 14px var(--lime-glow); }
.story[data-stage="1"] .tl-bars i:not(.hit) { height: calc(var(--h) * .6); }
.story[data-stage="2"] .tl-bars i:not(.hit) { flex-grow: 0; opacity: 0; margin: 0 -1px; }
.story[data-stage="2"] .tl-bars i.hit { flex-grow: 6; height: 130px; }
.tl-clips { display: flex; gap: 6px; margin-top: 16px; min-height: 30px; }
.tl-clips span { flex: 1; min-width: 0; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 8px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms + 300ms); }
.story[data-stage="2"] .tl-clips span { opacity: 1; transform: none; }
.tl-foot { display: flex; gap: 18px; align-items: center; margin-top: 18px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.dot-wait { background: rgb(255 255 255 / 25%); }
.dot-hit { background: var(--lime); }
.tl-note { margin-left: auto; border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; }

@media (max-width: 900px) {
  .story-sticky .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .story-title { margin-bottom: 14px; }
  .story-sub { font-size: 16px; }
  .tl-bars { height: 110px; }
  .story[data-stage="2"] .tl-bars i.hit { height: 96px; }
  .timeline { padding: 18px; border-radius: 22px; }
}

@media (max-width: 370px) {
  .tl-clips { gap: 3px; }
  .tl-clips span { font-size: 10px; }
}

/* sections */
.section { padding: clamp(90px, 13vw, 170px) 0; position: relative; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 800; letter-spacing: var(--tracking-title); }
.sec-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin-top: 20px; max-width: 640px; }
.center { text-align: center; }
.fine { color: var(--dim); font-size: 13px; line-height: 1.6; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* SIMULATOR */
.try { background: radial-gradient(ellipse 60% 50% at 30% 40%, rgb(205 247 109 / 7%), transparent 70%); }
.sim { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.sim > * { min-width: 0; }
.sim-device { position: relative; border-radius: 48px; padding: 12px; background: linear-gradient(145deg, #2a2f35, #0e1114); box-shadow: 0 0 0 1px rgb(255 255 255 / 8%) inset, 0 60px 120px -40px rgb(0 0 0 / 90%), 0 0 120px -40px var(--lime-glow); }
.sim-screen { background: #0a0d10; border-radius: 38px; padding: 16px 14px 18px; overflow: hidden; }
.sim-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sim-top img { border-radius: 7px; }
.sim-steps { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.sim-steps i { height: 3px; border-radius: 2px; background: rgb(255 255 255 / 14%); transition: background .4s; }
.sim-steps i.on { background: var(--lime); }
.sim-sound { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; cursor: pointer; color: var(--muted); }
.sim-sound .wave { opacity: .25; }
.sim-sound[aria-pressed="true"] { color: var(--lime); border-color: rgb(205 247 109 / 40%); }
.sim-sound[aria-pressed="true"] .wave { opacity: 1; }
.sim-stage-label { font-size: 13px; font-weight: 600; margin: 0 2px 8px; color: var(--text); }
.sim-video { position: relative; border-radius: 18px; overflow: hidden; background: #1b1d1a; aspect-ratio: 640 / 1136; max-height: 36vh; max-height: 36svh; margin: 0 auto 12px; }
.sim-video video { width: 100%; height: 100%; object-fit: cover; }
.sim-clock { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-variant-numeric: tabular-nums; background: rgb(0 0 0 / 70%); color: #fff; padding: 2px 8px; border-radius: 6px; }
@media (min-width: 900px) { .sim-video { max-height: 330px; aspect-ratio: auto; height: 330px; width: 186px; } }

.sim-panel { background: var(--panel); border: 1px solid rgb(205 247 109 / 22%); border-radius: 20px; padding: 14px; }
.sim-panel[hidden] { display: none; }
.rv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.rv-time { display: flex; align-items: center; gap: 6px; font-size: 18px; font-variant-numeric: tabular-nums; }
.rv-count { font-size: 12px; color: var(--muted); }
.pill { margin-left: auto; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.pill::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px dashed currentColor; }
.pill[data-s="kept"] { color: var(--green); }
.pill[data-s="kept"]::before { border-style: solid; background: currentColor; }
.pill[data-s="discarded"] { color: var(--red); }
.pill[data-s="discarded"]::before { border-style: solid; }
.pill.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

.trim { position: relative; height: 54px; margin: 6px 10px 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.trim-track { position: absolute; left: 0; right: 0; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: rgb(255 255 255 / 10%); }
.trim-sel { position: absolute; top: 50%; height: 8px; margin-top: -4px; background: #9fcf55; border-radius: 4px; }
.trim-play { position: absolute; top: 50%; width: 2px; height: 22px; margin: -11px 0 0 -1px; background: #fff; opacity: .5; border-radius: 1px; pointer-events: none; }
.trim-impact { position: absolute; top: 50%; width: 3px; height: 26px; margin: -13px 0 0 -1.5px; background: #fff; border-radius: 2px; pointer-events: none; }
.trim-impact::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; }
.trim-h { position: absolute; top: 50%; width: 22px; height: 40px; margin: -20px 0 0 -11px; border-radius: 8px; border: 0; cursor: grab; padding: 0; touch-action: none; }
.trim-h::before { content: ""; position: absolute; left: -12px; right: -12px; top: -8px; bottom: -8px; }
.trim-h::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: rgb(0 0 0 / 30%); border-radius: 1px; }
.trim-h-start { background: #fff; }
.trim-h-end { background: var(--lime); }
.trim-h:active, .trim-h.drag { cursor: grabbing; transform: scale(1.08); }
.rv-times { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin: 2px 0 12px; }
.rv-times #rvDur { color: var(--text); }
.rv-actions { display: grid; grid-template-columns: 34px 1fr 1fr 1fr 34px; gap: 6px; }
.ab, .ib { min-height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; transition: transform .2s, background .2s; display: inline-flex; align-items: center; justify-content: center; gap: 4px; -webkit-tap-highlight-color: transparent; padding: 0 6px; }
.ab:active, .ib:active { transform: scale(.95); }
.ib { font-size: 22px; border: 0; color: var(--muted); }
.ib:hover { color: var(--text); }
.ib:disabled { opacity: .3; cursor: default; }
.ab-discard { background: rgb(255 94 87 / 14%); border-color: transparent; color: var(--red); }
.ab-keep { background: rgb(143 227 155 / 14%); border-color: transparent; color: var(--green); }
.ab:hover { background: rgb(255 255 255 / 6%); }
.ab-discard:hover { background: rgb(255 94 87 / 22%); }
.ab-keep:hover { background: rgb(143 227 155 / 22%); }
.rv-chips { display: flex; gap: 6px; justify-content: center; margin: 12px 0 4px; }
.chip { font-size: 12px; font-variant-numeric: tabular-nums; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--muted); }
.chip.cur { border-color: var(--text); color: var(--text); }
.chip[data-s="kept"] { color: var(--green); border-color: rgb(143 227 155 / 50%); }
.chip[data-s="discarded"] { color: var(--red); border-color: rgb(255 94 87 / 40%); text-decoration: line-through; }
.continue { width: 100%; margin-top: 8px; min-height: 44px; border: 0; background: transparent; color: var(--dim); font-weight: 600; font-size: 15px; cursor: not-allowed; border-radius: 14px; }
.continue.ok { color: #0b1004; background: linear-gradient(100deg, #dcff86, var(--lime-2)); cursor: pointer; }

.out-head { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ok { color: var(--lime); font-weight: 600; font-size: 15px; }
.link-btn { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgb(255 255 255 / 6%); margin-bottom: 10px; }
.seg-b { border: 0; background: transparent; border-radius: 10px; padding: 9px 4px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); transition: background .3s var(--ease), color .3s; }
.seg-b[aria-checked="true"] { background: #3a4047; color: var(--text); }
.seg-b:disabled { opacity: .6; cursor: default; }
.out-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; min-height: 2.6em; }
.progress { height: 6px; border-radius: 3px; background: rgb(255 255 255 / 10%); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 3px; }
.progress.run i { width: 100%; transition: width 1.4s cubic-bezier(.4, 0, .2, 1); }

.ready-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.ready-head b { display: block; font-size: 17px; }
.ready-head small { display: block; color: var(--muted); font-size: 13px; }
.ring { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--lime); flex: none; position: relative; transition: background .4s; }
.ring::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--lime); font-weight: 700; }
.ring.full { background: var(--lime); }
.ring.full::after { color: #000; }
.ready-files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ready-files span { font-size: 12px; background: var(--panel-2); border-radius: 8px; padding: 4px 9px; color: var(--muted); font-variant-numeric: tabular-nums; }
#bSave[disabled] { background: #3a4047; color: var(--muted); cursor: default; box-shadow: none; }
.ready-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

.sim-side { position: relative; padding-top: 10px; }
.sim-side h3 { font-size: 22px; margin-bottom: 20px; }
.rules { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color .5s, background .5s; }
.rules li > i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px dashed var(--line-2); margin-top: 1px; position: relative; transition: all .5s var(--ease); }
.rules li.done { border-color: rgb(205 247 109 / 35%); background: linear-gradient(90deg, rgb(205 247 109 / 7%), var(--panel)); }
.rules li.done > i { border: 0; background: var(--lime); }
.rules li.done > i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #000; font-size: 13px; font-weight: 800; }
.rules b { display: block; font-size: 16px; margin-bottom: 2px; }
.rules div > span { color: var(--muted); font-size: 14px; }
.toast { min-height: 52px; margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: rgb(205 247 109 / 10%); border: 1px solid rgb(205 247 109 / 30%); color: var(--lime); font-size: 15px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .sim { grid-template-columns: minmax(0, 1fr); }
  .sim-device { max-width: 420px; margin: 0 auto; width: 100%; border-radius: 40px; }
  .sim-screen { border-radius: 30px; }
  .sim-side { padding-top: 0; }
  .toast {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; margin: 0;
    min-height: 0; font-size: 14px; pointer-events: none;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgb(20 26 12 / 94%);
    box-shadow: 0 20px 50px -10px rgb(0 0 0 / 70%);
  }
}

@media (max-width: 480px) {
  .sim-device { padding: 10px; }
  .sim-screen { padding: 14px 10px 16px; }
  .sim-panel { padding: 12px; }
  .rv-head { gap: 6px; }
  .rv-actions { grid-template-columns: 30px repeat(3, minmax(0, 1fr)) 30px; gap: 4px; }
  .rv-actions .ab { min-width: 0; min-height: 52px; flex-direction: column; gap: 0; padding: 4px 0; font-size: 12px; }
  .continue { padding: 8px 6px; line-height: 1.35; }
  .ready-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ready-row .ab { min-width: 0; flex-wrap: wrap; padding: 6px; font-size: 12px; }
}

/* HOW */
.how-grid { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: clamp(30px, 7vw, 110px); }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-left: 70px; opacity: .3; transition: opacity .5s var(--ease); }
.step.active { opacity: 1; }
.step-n { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 700; color: var(--muted); transition: all .5s var(--ease); }
.step.active .step-n { background: var(--lime); color: #000; border-color: var(--lime); }
.step h3 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-bottom: 14px; letter-spacing: var(--tracking-title); }
.step p { color: var(--muted); font-size: 18px; max-width: 460px; }
.step-shot { display: none; }
.how-phone { position: sticky; top: calc(50vh - min(37vh, 390px)); height: fit-content; }
.phone { position: relative; border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #30353b, #0b0d10); box-shadow: 0 0 0 1px rgb(255 255 255 / 9%) inset, 0 60px 120px -40px #000; aspect-ratio: 1206 / 2622; max-height: 74vh; margin-inline: auto; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #0a0d10; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.phone-screen img.on { opacity: 1; transform: none; }
.cap { text-align: center; color: var(--dim); font-size: 12px; margin-top: 16px; }

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-phone { display: none; }
  .step { min-height: 0; opacity: 1; padding: 0 0 70px; }
  .step-n { position: static; transform: none; margin-bottom: 18px; background: var(--lime); color: #000; border-color: var(--lime); }
  .step p { font-size: 16px; }
  .step-shot { display: block; width: min(300px, 78%); margin: 28px auto 0; border-radius: 34px; border: 8px solid #1c2024; box-shadow: 0 40px 80px -30px #000; }
}

/* BENTO */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(205 247 109 / 10%), transparent 60%); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.c-wide { grid-column: span 2; }
.wave-viz { position: absolute; inset: 26px 26px auto; height: 100px; display: flex; align-items: center; gap: 3px; }
.wave-viz i { flex: 1; border-radius: 2px; background: rgb(255 255 255 / 18%); height: var(--h); }
.wave-viz i.hit { background: var(--lime); box-shadow: 0 0 12px var(--lime-glow); }
.in .wave-viz i { animation: wv 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -70ms); }
@keyframes wv { 50% { transform: scaleY(.55); } }
.mini-seg { position: absolute; top: 26px; left: 26px; right: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; font-size: 11px; font-weight: 600; }
.mini-seg span { text-align: center; padding: 9px 2px; border-radius: 9px; background: var(--panel-2); color: var(--muted); }
.mini-seg span.on { background: var(--lime); color: #000; }
.big-num { position: absolute; top: 20px; left: 26px; font-size: 64px; font-weight: 800; letter-spacing: -0.05em; color: var(--lime); line-height: 1; }
.big-num small { font-size: 30px; color: var(--muted); margin-left: 2px; }
.mini-trim { position: absolute; top: 50px; left: 26px; right: 26px; height: 8px; border-radius: 4px; background: rgb(255 255 255 / 10%); }
.mini-trim b { position: absolute; left: 22%; right: 26%; top: 0; bottom: 0; background: #9fcf55; border-radius: 4px; }
.mini-trim i { position: absolute; top: -14px; width: 14px; height: 36px; border-radius: 6px; background: #fff; left: calc(22% - 7px); }
.mini-trim i + b + i { left: auto; right: calc(26% - 7px); background: var(--lime); }
.in .mini-trim b { animation: mt 3.2s var(--ease) infinite alternate; }
.in .mini-trim i:first-child { animation: mti 3.2s var(--ease) infinite alternate; }
@keyframes mt { to { left: 34%; } }
@keyframes mti { to { left: calc(34% - 7px); } }
.mini-play { position: absolute; top: 26px; left: 26px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #000; font-size: 20px; padding-left: 4px; }
.out-viz { position: absolute; top: 30px; left: 26px; right: 26px; height: 70px; }
.out-viz span { position: absolute; top: 0; height: 30px; border-radius: 8px; background: var(--lime); transition: all .9s var(--ease); }
.out-viz .ov-a { left: 0; width: 26%; }
.out-viz .ov-b { left: 26%; width: 30%; background: #b5e45e; }
.out-viz .ov-c { left: 56%; width: 22%; background: #9fcf55; }
.c-out:hover .ov-a, .c-out.flip .ov-a { left: 0; top: 36px; }
.c-out:hover .ov-b, .c-out.flip .ov-b { left: 30%; top: 36px; }
.c-out:hover .ov-c, .c-out.flip .ov-c { left: 64%; top: 36px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .c-wide { grid-column: auto; } .card { min-height: 220px; } }

/* PRIVACY */
.privacy { background: linear-gradient(180deg, var(--bg), #0b1020 50%, var(--bg)); }
.privacy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.giant { font-size: clamp(42px, 6.4vw, 92px); font-weight: 800; letter-spacing: var(--tracking-title); line-height: 1.02; }
.priv-list { list-style: none; margin: 0; padding: 0; }
.priv-list li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.priv-list li:first-child { padding-top: 6px; }
.priv-list b { display: block; color: var(--text); font-size: 19px; margin-bottom: 4px; }
.priv-list .muted-li { font-size: 14px; color: var(--dim); border: 0; }
.priv-list a { color: var(--lime); text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; } }

/* HONEST */
.nots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.not { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 30px 22px; text-align: center; font-size: 19px; font-weight: 700; color: var(--muted); }
.not s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.honest-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; color: var(--muted); font-size: 16px; max-width: 980px; }
.honest-notes b { color: var(--text); }
@media (max-width: 800px) { .nots { grid-template-columns: 1fr 1fr; } .honest-notes { grid-template-columns: 1fr; } .not { font-size: 16px; padding: 22px 12px; } }

/* WHO / TIPS */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 90px; }
.who-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.who-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); color: var(--lime); font-size: 20px; margin-bottom: 40px; }
.who-grid h3 { font-size: 20px; margin-bottom: 8px; }
.who-grid p { color: var(--muted); font-size: 15px; }
.tips h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 26px; }
.tips ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: t; border-top: 1px solid var(--line); }
.tips li { counter-increment: t; padding: 24px 24px 0 0; color: var(--muted); font-size: 15px; }
.tips li::before { content: "0" counter(t); display: block; color: var(--lime); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.tips b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }
@media (max-width: 900px) { .who-grid, .tips ol { grid-template-columns: 1fr 1fr; } .tips li { padding-bottom: 10px; } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } .who-ic { margin-bottom: 20px; } }

/* PRICING */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto 28px; }
.plan { min-width: 0; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 34px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; color: var(--muted); margin-bottom: 14px; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 26px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; display: inline-block; white-space: nowrap; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; color: rgb(243 245 240 / 85%); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.plan-pro { border-color: rgb(205 247 109 / 40%); background: radial-gradient(ellipse at 80% 0%, rgb(205 247 109 / 12%), transparent 60%), var(--panel); }
.plan-pro h3 { color: var(--lime); }
.badge { position: absolute; top: 30px; right: 30px; font-size: 12px; font-weight: 700; background: var(--lime); color: #000; border-radius: 999px; padding: 4px 12px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { padding: 28px; } .price { font-size: 46px; } }
@media (max-width: 480px) {
  .plan .btn { white-space: normal; padding-inline: 16px; line-height: 1.35; text-align: center; }
  .badge { position: static; align-self: flex-start; margin-bottom: 16px; }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--lime), var(--lime)) center / 14px 2px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 2px 14px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; font-size: 16px; }
.faq .more { margin-top: 32px; }
.faq .more a { color: var(--lime); text-decoration: none; font-weight: 600; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; text-align: center; background: #e9ebed; color: #0a0d10; }
.cta-ball { position: absolute; inset: 0; display: grid; place-items: center; }
.cta-ball img { width: min(900px, 120vw); opacity: .55; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); transform: translateY(var(--ball-y, 0)) rotate(var(--ball-r, 0deg)); }
.cta-inner { position: relative; }
.cta-icon { margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 20px 50px -14px rgb(10 20 50 / 50%); }
.cta h2 { font-size: clamp(42px, 7vw, 100px); font-weight: 800; letter-spacing: var(--tracking-title); margin-bottom: 18px; }
.cta p { color: #3d4550; font-size: 18px; margin-bottom: 34px; }
.cta .btn-store { background: #000; color: #fff; }

/* FOOTER */
.footer { padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 26px 40px; align-items: center; }
.f-brand { display: flex; gap: 12px; align-items: center; }
.f-brand img { border-radius: 7px; }
.f-brand small { display: block; color: var(--muted); font-size: 13px; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.f-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.f-links a:hover { color: var(--text); }
.f-fine { grid-column: 1 / -1; color: var(--dim); font-size: 12px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } .f-links { justify-content: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero, .story { height: auto; }
  .hero-slash { display: none; }
  .hero-sticky { height: 100vh; height: 100svh; }
  .story-sticky { position: relative; height: auto; padding: 120px 0; }
}
.sim-ai { position: absolute; right: 8px; top: 8px; font-size: 10px; color: rgb(255 255 255 / 80%); background: rgb(0 0 0 / 40%); border: 1px solid rgb(255 255 255 / 22%); border-radius: 5px; padding: 1px 6px; }
