/* gamos · marketing site. System fonts only, no external resources. */
:root {
  --bg: #070913;
  --bg2: #0c1020;
  --panel: #111630;
  --panel2: #161c3a;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #eef1ff;
  --muted: #a3acd0;
  --faint: #6f7aa3;
  --cyan: #38e1ff;
  --pink: #ff4fa3;
  --violet: #8b6bff;
  --lime: #b6ff5c;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet) 55%, var(--pink));
  --radius: 20px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --accent: #38e1ff;   /* used by the shared logo symbol */
  --a2: #ff4fa3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: .88em; }
code { background: rgba(255, 255, 255, .08); padding: .1em .4em; border-radius: 6px; }
kbd { background: rgba(255, 255, 255, .1); border: 1px solid var(--line2); border-bottom-width: 2px; padding: .05em .45em; border-radius: 6px; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; position: relative; z-index: 1; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #04101a; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }

.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.17em; }
.ic.fill { fill: currentColor; }
.ic.inl { display: inline; margin: 0 .15em; background: rgba(255, 255, 255, .1); padding: 3px; width: 1.5em; height: 1.5em; border-radius: 6px; vertical-align: -.35em; }
.mark { width: 28px; height: 28px; flex: none; }
.mark.big { width: 72px; height: 72px; margin: 0 auto 18px; filter: drop-shadow(0 0 28px rgba(56, 225, 255, .5)); }

/* ----------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--font); cursor: pointer; text-decoration: none !important; color: var(--text);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-glow { background: var(--grad); color: #060818; box-shadow: 0 10px 34px -8px rgba(139, 107, 255, .7), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.btn-glow:hover { box-shadow: 0 16px 44px -8px rgba(56, 225, 255, .65), 0 0 0 1px rgba(255, 255, 255, .25) inset; }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }

/* ----------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 9, 19, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.03em; text-decoration: none !important; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 22px; height: 22px; }

/* ----------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(1200px 600px at 75% 30%, rgba(139, 107, 255, .16), transparent 60%),
  radial-gradient(900px 500px at 10% 80%, rgba(56, 225, 255, .10), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 70%); }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .32; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--violet); left: -12vmax; top: -10vmax; }
.aurora i:nth-child(2) { background: var(--cyan); right: -14vmax; top: 18vmax; animation-delay: -7s; opacity: .22; }
.aurora i:nth-child(3) { background: var(--pink); left: 30vmax; bottom: -22vmax; animation-delay: -13s; opacity: .2; }
.aurora-soft i { opacity: .14; }
@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
.pixel-rain { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.pixel-rain i { position: absolute; top: -20px; width: 10px; height: 10px; border-radius: 2px; opacity: 0; animation: fall linear infinite; box-shadow: 0 0 14px currentColor; }
@keyframes fall { 0% { transform: translateY(-20px) rotate(0); opacity: 0; } 10% { opacity: .55; } 100% { transform: translateY(105vh) rotate(180deg); opacity: 0; } }

.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 34em; margin-top: 24px; line-height: 1.55; }
.lead em { color: var(--text); font-style: normal; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--lime); }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: rgba(17, 22, 48, .82); border: 1px solid var(--line2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.float .ic { color: var(--cyan); }
.f1 { top: 12%; left: -4%; }
.f2 { top: 46%; right: -8%; animation-delay: -2s; }
.f2 .ic { color: var(--lime); }
.f3 { bottom: 10%; left: -2%; animation-delay: -4s; }
.f3 .ic { color: var(--pink); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.dots { position: absolute; bottom: -8px; display: flex; gap: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line2); transition: width .3s, background .3s; }
.dots i.on { width: 26px; background: var(--cyan); }

/* ----------------------------------------------------- phone mockup */
.phone { position: relative; width: 300px; aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 10px; flex: none;
  background: linear-gradient(145deg, #2a3158, #0c1022 40%, #1b2142); border: 1px solid var(--line2);
  box-shadow: var(--shadow), 0 0 0 2px rgba(0, 0, 0, .5), 0 0 90px -20px rgba(139, 107, 255, .45); }
.phone-lg { width: min(320px, 78vw); }
.phone-sm { width: min(240px, 66vw); border-radius: 36px; padding: 8px; }
.phone-xs { width: 100%; max-width: 150px; border-radius: 24px; padding: 5px; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #05060e; border-radius: 99px; z-index: 3; }
.phone-sm .phone-notch { top: 14px; height: 15px; }
.phone-xs .phone-notch { display: none; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #05070f; }
.phone-sm .phone-screen { border-radius: 29px; }
.phone-xs .phone-screen { border-radius: 19px; }
.phone-screen > img, .slide { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.on { opacity: 1; }

/* ----------------------------------------------------- strip */
.strip { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.strip-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 28px 0; text-align: center; }
.strip b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip span { color: var(--muted); font-size: 14px; }

/* ----------------------------------------------------- sections */
.sec { padding: clamp(72px, 10vw, 130px) 0; position: relative; isolation: isolate; overflow: hidden; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.04em; }
.sec-head .sub { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); margin-top: 18px; }

.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.step .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-weight: 900; font-size: 20px; color: #060818; background: var(--grad); margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step p b { color: var(--text); }

/* interactive demo */
.demo { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background:
  radial-gradient(600px 300px at 90% 0, rgba(139, 107, 255, .22), transparent 70%), linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); }
.demo h3 { font-size: 28px; margin-bottom: 10px; }
.demo p { color: var(--muted); }
.demo-hint { margin-top: 22px; font-size: 20px; font-weight: 800; color: var(--text) !important; min-height: 1.6em; }
.demo-meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin-top: 14px; overflow: hidden; max-width: 340px; }
.demo-meter i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .15s ease; }
.demo-right { justify-self: center; }
.demo-screen { background: #070b1a; }

.mock-arcade, .mock-vault { position: absolute; inset: 0; padding: 22px 12px 14px; display: flex; flex-direction: column; gap: 10px; transition: opacity .5s ease, transform .5s ease; }
.mock-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; padding-top: 6px; }
.mock-logo { display: inline-flex; align-items: center; gap: 6px; }
.mock-logo .mark { width: 18px; height: 18px; }
.mock-ic { display: flex; gap: 8px; color: var(--muted); }
.mock-ic .ic { width: 15px; height: 15px; }
.mock-score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.mock-score > div, .mock-best { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 12px; padding: 6px 4px; font: inherit; color: var(--text); }
.mock-score small { display: block; font-size: 9px; letter-spacing: .12em; color: var(--faint); font-weight: 800; }
.mock-score b { font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 4px; }
.mock-score b.pink { color: var(--pink); gap: 2px; }
.mock-best { cursor: pointer; transition: transform .1s, background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; user-select: none; }
.mock-best:hover { border-color: var(--cyan); }
.mock-best:active, .mock-best.hit { transform: scale(.92); background: rgba(56, 225, 255, .18); border-color: var(--cyan); }
.mock-best b .ic { color: var(--cyan); }
.mock-board { position: relative; flex: 1; border-radius: 14px; border: 1px solid var(--line); background: #050814; padding: 8px; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 14px; gap: 4px; align-content: start; overflow: hidden; }
.mock-board i { border-radius: 3px; background: var(--c, var(--cyan)); opacity: .9; }
.mock-board i:nth-child(-n+8) { --c: #ff4fa3; }
.mock-board i:nth-child(n+9) { --c: #8b6bff; }
.mock-board .ball { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; left: 40%; bottom: 36px; animation: ball 2.6s linear infinite; }
.mock-board .paddle { position: absolute; bottom: 10px; left: 50%; width: 54px; height: 8px; margin-left: -27px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: paddle 2.6s ease-in-out infinite; }
@keyframes ball { 0% { transform: translate(0, 0); } 25% { transform: translate(40px, -120px); } 50% { transform: translate(80px, 0); } 75% { transform: translate(30px, -90px); } 100% { transform: translate(0, 0); } }
@keyframes paddle { 50% { transform: translateX(34px); } }
.mock-vault { opacity: 0; transform: scale(1.06); pointer-events: none; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, #1a1f4a, #070b1a 70%); gap: 14px; }
.mock-vault h4 { font-size: 17px; }
.mock-vault p { color: var(--muted); font-size: 12px; max-width: 14em; }
.lock-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(56, 225, 255, .12); border: 1px solid rgba(56, 225, 255, .5); color: var(--cyan); box-shadow: 0 0 40px rgba(56, 225, 255, .35); }
.lock-ring .ic { width: 28px; height: 28px; }
.pin { display: flex; gap: 12px; }
.pin i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2); }
.pin i:nth-child(1) { animation: pin 2.4s infinite; }
.pin i:nth-child(2) { animation: pin 2.4s .25s infinite; }
.pin i:nth-child(3) { animation: pin 2.4s .5s infinite; }
.pin i:nth-child(4) { animation: pin 2.4s .75s infinite; }
@keyframes pin { 0%, 15% { background: transparent; } 25%, 80% { background: var(--cyan); border-color: var(--cyan); } 100% { background: transparent; } }
.demo.open .mock-arcade { opacity: 0; transform: scale(.94); pointer-events: none; }
.demo.open .mock-vault { opacity: 1; transform: none; pointer-events: auto; }
.demo.open .demo-hint { color: var(--lime) !important; }

/* ----------------------------------------------------- arcade */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 24px 30px; border-radius: 24px; background: linear-gradient(170deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.game:hover { transform: translateY(-6px); border-color: var(--line2); }
.game h3 { font-size: 26px; margin: 26px 0 8px; }
.game p { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(56, 225, 255, .09); color: var(--cyan); border: 1px solid rgba(56, 225, 255, .22); }

.themes { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.themes h3 { font-size: 30px; margin-bottom: 12px; }
.themes p { color: var(--muted); }
.themes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.themes-row figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.themes-row figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }

/* ----------------------------------------------------- diary rail */
.rail { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.rail-list { display: grid; gap: 12px; }
.rail-item { display: flex; gap: 18px; padding: 22px 24px; border-radius: 20px; border: 1px solid transparent; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; opacity: .55; }
.rail-item:hover { opacity: .85; }
.rail-item.on { opacity: 1; background: linear-gradient(160deg, var(--panel2), var(--panel)); border-color: var(--line2); }
.ri-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; background: rgba(139, 107, 255, .16); color: var(--cyan); transition: background .3s, color .3s; }
.ri-ic .ic { width: 22px; height: 22px; }
.rail-item.on .ri-ic { background: var(--grad); color: #060818; }
.rail-item > div:not(.ri-shot) { flex: 1 1 0; min-width: 0; }
.rail-item h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -.02em; }
.rail-item p { color: var(--muted); font-size: 15.5px; }
.rail-phone { position: relative; }
.ri-shot { display: none; }
.phone.sticky { position: sticky; top: 96px; margin-inline: auto; }
#rail-img { transition: opacity .25s ease; }
#rail-img.fade { opacity: 0; }

/* ----------------------------------------------------- band */
.band { padding: clamp(64px, 8vw, 110px) 0; background: linear-gradient(120deg, #1a1450, #0d1636 55%, #0a2236); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 15% 0, rgba(255, 79, 163, .22), transparent 70%); }
.band-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.band h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; letter-spacing: -.035em; margin-bottom: 18px; }
.band-copy p:not(.eyebrow) { color: #cdd3f0; font-size: 18px; }
.band-copy b { color: #fff; }
.band-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); backdrop-filter: blur(8px); }
.mini .ic { width: 26px; height: 26px; color: var(--lime); margin-bottom: 12px; }
.mini h4 { font-size: 17px; margin-bottom: 4px; }
.mini p { color: var(--muted); font-size: 14.5px; }

/* ----------------------------------------------------- privacy */
.pipe { display: flex; align-items: stretch; justify-content: center; margin-bottom: 40px; }
.pipe-node { flex: 1; max-width: 220px; padding: 22px 14px; text-align: center; border-radius: 18px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); display: grid; gap: 4px; justify-items: center; align-content: start; }
.pipe-node .ic { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 6px; }
.pipe-node b { font-size: 16px; }
.pipe-node span { color: var(--muted); font-size: 13px; }
.pipe-link { flex: 0 0 48px; display: grid; place-items: center; position: relative; }
.pipe-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line2); }
.pipe-link i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: flow 2.4s ease-in-out infinite; }
@keyframes flow { 0% { transform: translateX(-18px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateX(18px); opacity: 0; } }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px 26px; border-radius: 20px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.card > .ic { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 14px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.callout { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px 28px; border-radius: 20px; background: linear-gradient(120deg, rgba(255, 79, 163, .16), rgba(255, 79, 163, .05)); border: 1px solid rgba(255, 79, 163, .45); }
.callout > .ic { width: 28px; height: 28px; color: var(--pink); margin-top: 2px; }
.callout p { font-size: 17px; color: #ffd6ea; }
.callout strong { color: #fff; font-weight: 900; }

/* ----------------------------------------------------- install */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 48px; }
.dl > div { padding: 34px 32px; border-radius: 24px; border: 1px solid var(--line2); background: linear-gradient(160deg, var(--panel2), var(--panel)); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dl-main { background: radial-gradient(500px 240px at 0 0, rgba(56, 225, 255, .2), transparent 70%), linear-gradient(160deg, var(--panel2), var(--panel)) !important; border-color: rgba(56, 225, 255, .4) !important; }
.dl h3 { font-size: 26px; }
.dl p { color: var(--muted); }
.dl .btn { margin-top: 6px; }
.fine { font-size: 13.5px !important; color: var(--faint) !important; }
.fine b { color: var(--muted); }

.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin: 0 auto 24px; display: flex; width: fit-content; max-width: 100%; }
.tab { padding: 10px 22px; min-height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 700 14.5px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--grad); color: #060818; }
.tabpanels { max-width: 780px; margin: 0 auto; }
.panel { display: none; }
.panel.on { display: block; animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.how li { display: flex; gap: 18px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); align-items: flex-start; }
.how .n { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; font-weight: 900; background: rgba(56, 225, 255, .14); color: var(--cyan); }
.how b { font-size: 17px; }
.how p { color: var(--muted); margin-top: 4px; font-size: 15.5px; }

.selfhost { max-width: 780px; margin: 56px auto 0; }
.selfhost h3 { font-size: 24px; margin-bottom: 8px; }
.selfhost > p { color: var(--muted); }
.code { position: relative; margin: 18px 0 14px; border-radius: 16px; background: #04060f; border: 1px solid var(--line2); overflow: hidden; }
.code pre { margin: 0; padding: 52px 22px 20px; overflow-x: auto; font: 14px/1.7 var(--mono); color: #cfe8ff; }
.code code { background: none; padding: 0; font-size: inherit; }
.copy { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); color: var(--muted); font: 700 12.5px var(--font); cursor: pointer; }
.copy:hover { color: var(--text); background: rgba(255, 255, 255, .12); }
.copy.done { color: var(--lime); border-color: rgba(182, 255, 92, .5); }
.selfhost .fine { margin-top: 6px; }

/* ----------------------------------------------------- guide */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide > * { min-width: 0; }
.gcard { padding: 28px; border-radius: 22px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.gcard:first-child, .gcard:last-child { grid-column: 1 / -1; }
.gcard h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; margin-bottom: 16px; }
.gcard h3 .ic { color: var(--cyan); width: 24px; height: 24px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 540px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--faint); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
td:first-child { font-weight: 800; white-space: nowrap; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); font-size: 15.5px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.ticks.num { counter-reset: n; }
.ticks.num li { counter-increment: n; }
.ticks.num li::before { content: counter(n); width: 20px; height: 20px; border-radius: 7px; top: .1em; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #060818; }
.ticks b { color: var(--text); }

/* ----------------------------------------------------- faq */
.faq { display: grid; gap: 10px; }
details { border-radius: 18px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: border-color .2s; }
details[open] { border-color: var(--line2); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 17px; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
summary .ic { color: var(--cyan); transition: transform .3s; width: 20px; height: 20px; }
details[open] summary .ic { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); }
details p strong { color: var(--text); }

/* ----------------------------------------------------- final + footer */
.final { position: relative; padding: clamp(80px, 11vw, 140px) 0; text-align: center; overflow: hidden; isolation: isolate; background: radial-gradient(800px 400px at 50% 100%, rgba(139, 107, 255, .25), transparent 70%); border-top: 1px solid var(--line); }
.final h2 { font-size: clamp(34px, 5.4vw, 66px); font-weight: 900; letter-spacing: -.04em; max-width: 14em; margin: 0 auto 16px; }
.final p { color: var(--muted); font-size: 20px; max-width: 28em; margin: 0 auto; }
.final .cta-row { margin-top: 34px; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; background: #05070f; }
.foot-in { display: grid; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.foot-brand span { color: var(--faint); font-size: 13px; }
.foot-note { max-width: 56em; color: var(--faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); font-weight: 600; }

/* ----------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ----------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero { padding-top: 110px; }
  .lead { margin-inline: auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-stage { min-height: 520px; margin-top: 16px; }
  .f1 { left: 4%; } .f2 { right: 2%; } .f3 { left: 6%; }
  .rail { grid-template-columns: 1fr; }
  .rail-phone { display: none; }
  .rail-item { opacity: 1; flex-wrap: wrap; cursor: default; background: linear-gradient(160deg, var(--panel2), var(--panel)); border-color: var(--line); }
  .rail-item.on { border-color: var(--line2); }
  .ri-shot { display: block; flex: 0 0 100%; margin-top: 6px; }
  .ri-shot .phone-xs { max-width: 190px; margin-inline: auto; }
  .band-in { grid-template-columns: 1fr; gap: 36px; }
  .themes { grid-template-columns: 1fr; text-align: center; }
  .demo { grid-template-columns: 1fr; text-align: center; }
  .demo-meter { margin-inline: auto; }
}
@media (max-width: 860px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: rgba(7, 9, 19, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 14px; font-size: 16px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }
  .steps, .games, .grid3, .guide, .dl { grid-template-columns: 1fr; }
  .gcard:first-child, .gcard:last-child { grid-column: auto; }
  .strip-in { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .pipe { flex-direction: column; align-items: center; }
  .pipe-node { width: 100%; max-width: 360px; }
  .pipe-link { flex-basis: 34px; width: 100%; }
  .pipe-link::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipe-link i { animation-name: flowv; }
  @keyframes flowv { 0% { transform: translateY(-12px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero-stage { min-height: 470px; }
  .phone-lg { width: min(250px, 70vw); }
  .float { font-size: 12px; padding: 8px 12px; }
  .f1 { top: 6%; left: 0; } .f2 { right: 0; top: 48%; } .f3 { left: 0; bottom: 8%; }
  .btn-lg { width: 100%; }
  .cta-row .btn { width: 100%; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip b { font-size: 28px; }
  .themes-row { grid-template-columns: repeat(2, 1fr); }
  .band-cards { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 10px 8px; font-size: 13.5px; }
  .dl > div { padding: 26px 22px; }
  .dl .btn { width: 100%; }
  .rail-item { padding: 18px; gap: 14px; }
  .callout { padding: 20px; flex-direction: column; gap: 10px; }
  summary { padding: 18px; font-size: 16px; }
  details p { padding: 0 18px 20px; }
  .gcard { padding: 22px 18px; }
  table { min-width: 0; font-size: 13.5px; }
  th, td { padding: 10px 6px; }
  td:first-child { white-space: normal; }
  .rail-phone { top: 68px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
