/* ==========================================================================
   SoundStock site — shared styles
   - Tokens + nav/footer: shared by every page
   - .doc / .legal: support & privacy pages (unchanged behaviour)
   - .home-*: landing page (index.html, en/index.html)
   ========================================================================== */
:root {
  --bg: #000;
  --surface: #161617;
  --surface-alt: #232325;
  --card: #0a0a0b;
  --border: #2c2c2e;
  --border-soft: #1f1f21;
  --text: #f5f5f7;
  --text-2: #a1a1a8;
  --text-3: #7c7c82;
  --dim: #8a8a90;
  --up: #f04452;
  --up-soft: #ff6b77;
  --down: #3182f6;
  --down-soft: #6aa5ff;
  --brand: #16be50;
  --brand-rgb: 22, 190, 80;
  --gold: #ffd84d;
  --gold-soft: #ffe58a;
  --radius: 24px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav (all pages) ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(0,0,0,.72); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: #98989f; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--text); color: #0a0a0b; font-weight: 700; transition: transform .15s, box-shadow .2s; }
.nav-links .nav-cta:hover { color: #0a0a0b; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,255,255,.14); }
.nav-links .nav-lang { font-family: var(--mono); font-size: 13px; }

/* ---------- footer (all pages) ---------- */
footer { border-top: 1px solid #1c1c1e; padding: 36px 0 56px; color: var(--text-3); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer .foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); }
footer .foot-brand img { width: 22px; height: 22px; border-radius: 6px; }
footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
footer a { transition: color .15s; }
footer a:hover { color: var(--text); }

/* ---------- doc pages (support) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.doc h1 { font-size: 36px; margin: 0 0 12px; line-height: 1.2; letter-spacing: -.03em; }
.doc h2 { font-size: 20px; margin: 40px 0 8px; }
.doc p, .doc li { color: #d1d1d6; }
.doc .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; margin: 16px 0; }
.doc a.mail { color: var(--brand); font-weight: 700; }
.doc a.link { color: var(--brand); }

/* ---------- legal documents ---------- */
.legal h2 { font-size: 20px; margin: 44px 0 10px; padding-top: 8px; }
.legal h3 { font-size: 16px; margin: 26px 0 8px; color: var(--text); }
.legal p, .legal li { color: #d1d1d6; font-size: 15px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.legal strong { color: var(--text); }
.legal a { color: var(--brand); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--surface); color: var(--text); }

/* ==========================================================================
   Landing page
   ========================================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.section { padding: 120px 0 40px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.15; letter-spacing: -.035em; font-weight: 800; }
.section-head h2 .dim { color: var(--dim); }
.section-head p { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.6; color: #98989f; }

/* buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 26px 0 20px; border-radius: 16px; transition: transform .15s ease, box-shadow .2s ease, border-color .2s, background-color .2s; }
.store svg { width: 24px; height: 24px; flex: none; }
.store .s-txt { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 11px; font-weight: 600; }
.store b { font-size: 18px; letter-spacing: -.02em; }
.store.primary { background: var(--text); color: #0a0a0b; }
.store.primary small { color: #55555a; }
.store.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.14); }
.store.ghost { border: 1px solid var(--border); background: #0e0e0f; color: var(--text); }
.store.ghost small { color: var(--brand); }
.store.ghost:hover { border-color: #48484c; background: var(--surface); transform: translateY(-1px); }
.store.soon { border-style: dashed; color: var(--text-2); cursor: default; }
.store.soon small { color: #ffb36b; }
.store.soon:hover { border-color: var(--border); background: #0e0e0f; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 20%, transparent 75%); }
.hero-beam { position: absolute; left: 0; right: 0; top: 60%; height: 1px; overflow: hidden; pointer-events: none; }
.hero-beam i { display: block; width: 280px; height: 1px; background: linear-gradient(90deg, rgba(var(--brand-rgb),0), rgba(var(--brand-rgb),.9), rgba(var(--brand-rgb),0)); animation: beam 3.6s cubic-bezier(.5,0,.5,1) infinite; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; min-height: 780px; padding-top: 40px; padding-bottom: 40px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(22,22,23,.8); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #b4b4ba; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; animation: pulse 2.2s ease-out infinite; }
.dot.red { background: var(--up); --pulse: 240, 68, 82; }
.hero h1 { margin: 26px 0 22px; font-size: clamp(40px, 6vw, 80px); line-height: 1.1; letter-spacing: -.045em; font-weight: 800; }
.hero h1 .l1 { color: var(--dim); white-space: nowrap; }
.hero h1 .l2 { white-space: nowrap; }
html[lang="en"] .hero h1 { font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -.035em; }
html[lang="en"] .hero h1 .l1 { white-space: normal; }
.hero h1 .l2 { display: inline-flex; align-items: center; gap: .2em; }
.hero h1 .l2 svg { width: 1.05em; height: .74em; flex: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.w > span { display: inline-block; animation: word .9s cubic-bezier(.2,.8,.2,1) both; }
.lead { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.65; color: var(--text-2); max-width: 520px; margin: 0 0 32px; }
.note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.note svg { width: 14px; height: 14px; flex: none; }

.hero-visual { position: relative; height: 700px; }
.hero-glow { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -300px 0 0 -280px; border-radius: 50%; background: radial-gradient(circle, rgba(0,160,56,.22) 0%, rgba(0,160,56,0) 65%); pointer-events: none; }
.hero-chart { position: absolute; left: -6%; top: 20%; width: 106%; height: auto; pointer-events: none; }
.hero-chart path { stroke-dasharray: 1400; animation: draw 5s cubic-bezier(.6,0,.2,1) infinite; filter: drop-shadow(0 0 10px rgba(var(--brand-rgb),.6)); }
.phone { position: relative; width: 300px; padding: 8px; border-radius: 44px; background: linear-gradient(160deg, #2b2b2e, #0d0d0e); box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.09); }
.phone img { width: 100%; border-radius: 36px; }
.phone .sheen { position: absolute; inset: 8px; border-radius: 36px; overflow: hidden; pointer-events: none; }
.phone .sheen i { position: absolute; top: -10%; bottom: -10%; width: 38%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.1), rgba(255,255,255,0)); animation: sheen 6s ease-in-out infinite; }
.hero-visual .phone { position: absolute; left: 50%; top: 20px; margin-left: -150px; --r: 3deg; animation: float 7s ease-in-out infinite; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(22,22,23,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; }
.chip .ic.up { background: rgba(240,68,82,.16); color: var(--up); }
.chip .ic.down { background: rgba(49,130,246,.16); color: var(--down); }
.chip-up { left: 0; top: 190px; animation: float 6s ease-in-out -2s infinite; }
.chip-down { right: 0; top: 440px; animation: float 8s ease-in-out -4s infinite; }
.price-card { position: absolute; right: -8px; top: 70px; width: 236px; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(18,18,19,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 24px 60px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 10px; animation: float 8s ease-in-out -4s infinite; }
.price-card .pc-top { display: flex; align-items: center; gap: 10px; }
.price-card .pc-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-alt); display: grid; place-items: center; flex: none; }
.price-card .pc-ic svg { width: 16px; height: 16px; }
.price-card .pc-name { display: flex; flex-direction: column; line-height: 1.3; }
.price-card .pc-name b { font-size: 14px; }
.price-card .pc-name span { font-size: 11px; color: var(--text-3); }
.price-card .pc-top .dot { margin-left: auto; width: 6px; height: 6px; }
.price-card .pc-mid { display: flex; align-items: center; justify-content: space-between; }
.price-card .pc-price { display: flex; font-family: var(--mono); font-size: 20px; font-weight: 500; line-height: 24px; letter-spacing: -.02em; }
.roll { display: inline-block; height: 24px; overflow: hidden; }
.roll span { display: block; animation: roll 2.6s steps(9, end) infinite; }
.roll.fast span { animation-duration: 1.3s; }
.price-card .pc-chg { font-family: var(--mono); font-size: 12px; color: var(--up-soft); padding: 3px 7px; border-radius: 6px; animation: flash 1.6s ease-in-out infinite; }
.price-card svg.spark { width: 100%; height: 40px; }
.price-card svg.spark path { stroke-dasharray: 600; animation: draw-s 4s cubic-bezier(.6,0,.2,1) infinite; }
.note-fx { position: absolute; width: 20px; height: 20px; color: var(--brand); pointer-events: none; animation: note 6.5s ease-out infinite; }
.note-fx svg { width: 100%; height: 100%; }

/* ---------- ticker ---------- */
.ticker { position: relative; height: 64px; border-top: 1px solid #1c1c1e; border-bottom: 1px solid #1c1c1e; background: #070708; overflow: hidden; display: flex; align-items: center; }
.ticker-live { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 0 56px 0 max(24px, calc((100vw - 1200px) / 2 + 24px)); background: linear-gradient(90deg, #070708 70%, rgba(7,7,8,0)); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.ticker-fade { position: absolute; right: 0; top: 0; bottom: 0; width: 160px; z-index: 2; background: linear-gradient(270deg, #070708, rgba(7,7,8,0)); }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; padding-left: 48px; font-family: var(--mono); font-size: 14px; color: var(--text-2); animation: marquee 90s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk { display: inline-flex; align-items: baseline; gap: 8px; }
.tk b { font-family: "Pretendard Variable", Pretendard, sans-serif; color: var(--text); }
.tk .ar { font-family: "Pretendard Variable", Pretendard, sans-serif; color: var(--text-3); }
.tk .pr { color: #c7c7cc; }
.tk .up { color: var(--up); font-weight: 500; }
.tk .down { color: var(--down); font-weight: 500; }

/* ---------- steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps-beam { position: absolute; left: 0; right: 0; top: -1px; height: 1px; overflow: hidden; }
.steps-beam i { display: block; width: 320px; height: 1px; background: linear-gradient(90deg, rgba(var(--brand-rgb),0), rgba(var(--brand-rgb),1), rgba(var(--brand-rgb),0)); animation: beam 3.6s cubic-bezier(.5,0,.5,1) infinite; }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #111112, #0a0a0b); transition: border-color .25s ease, transform .25s ease; }
.card:hover { border-color: #3a3a3e; transform: translateY(-3px); }
.step { padding: 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden; }
.step .demo { position: relative; height: 170px; border-radius: 16px; border: 1px solid var(--border-soft); background: #0b0b0c; overflow: hidden; }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--brand); }
.step h3 { margin: 8px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: #98989f; }
.demo-buy { display: flex; align-items: center; gap: 14px; padding: 20px; height: 100%; }
.demo-buy .art { width: 56px; height: 56px; border-radius: 12px; background: var(--surface-alt); display: grid; place-items: center; flex: none; }
.demo-buy .art svg { width: 24px; height: 24px; }
.demo-buy .lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skel { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #1c1c1e 0%, #2c2c2e 40%, #1c1c1e 80%); background-size: 200% 100%; animation: shimmer 2.8s linear infinite; }
.demo-buy .buy { height: 38px; padding: 0 18px; border-radius: 999px; background: var(--text); color: #0a0a0b; font-size: 14px; font-weight: 800; display: flex; align-items: center; flex: none; animation: pulse 2.2s ease-out infinite; }
.demo-chart .grid-card { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.demo-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-chart svg path { stroke-dasharray: 600; animation: draw-s 4s cubic-bezier(.6,0,.2,1) infinite; }
.demo-chart .tags { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; display: inline-flex; align-items: center; font-weight: 600; }
.tag.up { background: rgba(240,68,82,.14); color: var(--up-soft); }
.tag.down { background: rgba(49,130,246,.14); color: var(--down-soft); }
.demo-rank { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.demo-rank .row { height: 40px; border-radius: 10px; background: #141415; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.demo-rank .row .n { font-family: var(--mono); font-size: 12px; color: var(--text-3); width: 14px; }
.demo-rank .me { position: absolute; left: 14px; right: 14px; top: 14px; height: 40px; border-radius: 10px; background: #1a1a10; border: 1px solid rgba(255,216,77,.45); display: flex; align-items: center; gap: 12px; padding: 0 12px; box-shadow: 0 8px 24px rgba(0,0,0,.6); animation: climb 4.5s cubic-bezier(.6,0,.2,1) infinite alternate; }
.demo-rank .me svg { width: 16px; height: 16px; }
.demo-rank .me b { font-size: 14px; color: var(--gold-soft); }
.demo-rank .me .mono { margin-left: auto; font-size: 12px; color: var(--up); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; }
.tile.a { grid-column: span 7; height: 640px; }
.tile.b { grid-column: span 5; height: 640px; }
.tile.c { grid-column: span 5; height: 480px; }
.tile.d { grid-column: span 7; min-height: 480px; padding: 44px; display: flex; flex-direction: column; gap: 32px; }
.tile .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); }
.tile .copy { position: relative; z-index: 1; padding: 44px 44px 0; display: flex; flex-direction: column; gap: 14px; }
.tile.d .copy { padding: 0; }
.tile.a .copy { max-width: 360px; }
.label { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--text-3); }
.label .mono { font-size: 12px; }
.tile h3 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.28; letter-spacing: -.03em; font-weight: 800; }
.tile .copy p { margin: 0; font-size: 16px; line-height: 1.65; color: #98989f; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pills span { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: #111112; font-size: 13px; color: #c7c7cc; display: inline-flex; align-items: center; }
.tile .phone { width: 300px; padding: 7px; border-radius: 42px; }
.tile .phone img { border-radius: 35px; }
.tile.a .phone { position: absolute; right: 36px; top: 70px; width: 280px; }
.tile.b .phone { position: absolute; left: 50%; top: 300px; width: 280px; margin-left: -140px; }
.float-tag { position: absolute; z-index: 2; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.float-tag svg { width: 13px; height: 13px; }
.float-tag.gold { left: 40px; top: 470px; border: 1px solid rgba(255,216,77,.35); background: rgba(26,24,12,.9); color: var(--gold-soft); }
.float-tag.lock { right: 36px; top: 540px; border: 1px solid var(--border); background: rgba(22,22,23,.92); color: #c7c7cc; }
.tile.c .glow { position: absolute; left: 50%; top: 260px; width: 400px; height: 300px; margin-left: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,216,77,.16), rgba(255,216,77,0) 65%); }
.tile.c .shot { position: absolute; left: 50%; top: 270px; width: 300px; margin-left: -150px; border-radius: 20px; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 30px 70px rgba(0,0,0,.7); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; flex: 1; }
.mini { border: 1px solid var(--border-soft); border-radius: 18px; background: #0b0b0c; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mini .mi { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-alt); display: grid; place-items: center; }
.mini .mi svg { width: 20px; height: 20px; }
.mini .txt { display: flex; flex-direction: column; gap: 12px; }
.mini b { font-size: 17px; }
.mini p { margin: 0; font-size: 14px; line-height: 1.6; color: #98989f; }
.mini .fx { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; min-height: 56px; }
.bar { width: 18px; border-radius: 4px; background: var(--border); transform-origin: bottom; animation: bar 2.4s ease-in-out infinite; }
.bar.hi { background: var(--brand); }
.badge-ring { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); }
.badge-ring.spin { border: 2px dashed rgba(255,216,77,.55); animation: spin 7s linear infinite; }
.cd-mini { width: 40px; height: 40px; display: block; }
.cd-mini.spin { animation: spin 7s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cd-mini.spin { animation: none; } }
.typing { align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 15px 15px 15px 4px; background: var(--surface-alt); display: flex; align-items: center; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #98989f; animation: type 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 120px 0 56px; }
.cta-box { position: relative; border-radius: 32px; padding: 1px; overflow: hidden; background: #1c1c1e; }
.cta-box .ring { position: absolute; left: 50%; top: 50%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; background: conic-gradient(from 0deg, rgba(var(--brand-rgb),0) 0deg, rgba(var(--brand-rgb),0) 250deg, rgba(var(--brand-rgb),.9) 320deg, rgba(var(--brand-rgb),0) 360deg); animation: spin 9s linear infinite; }
.cta-inner { position: relative; border-radius: 31px; background: #050506; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 64px 24px; text-align: center; }
.cta-field { position: absolute; inset: 0; padding: 16px; font-family: var(--mono); font-size: 13px; line-height: 20px; letter-spacing: .2em; color: rgba(var(--brand-rgb),.22); word-break: break-all; overflow: hidden; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 45%, #000 0%, transparent 80%); mask-image: radial-gradient(ellipse 50% 60% at 50% 45%, #000 0%, transparent 80%); }
.vinyl-wrap { position: relative; width: 220px; height: 180px; flex: none; }
.vinyl { position: absolute; left: 20px; top: 0; width: 180px; height: 180px; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, #0e0e0f 0, #0e0e0f 3px, #1b1b1d 4px, #0e0e0f 5px); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 60px rgba(0,0,0,.7); animation: spin 4s linear infinite; }
.vinyl::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.1) 30deg, rgba(255,255,255,0) 70deg, rgba(255,255,255,0) 200deg, rgba(255,255,255,.07) 230deg, rgba(255,255,255,0) 260deg); }
.vinyl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--brand); }
.orbit { position: absolute; left: 104px; top: 84px; width: 12px; height: 12px; border-radius: 50%; background: var(--up); box-shadow: 0 0 12px rgba(240,68,82,.8); --o: 104px; animation: orbit 12s linear infinite; }
.orbit.b { background: var(--down); box-shadow: 0 0 12px rgba(49,130,246,.8); animation-delay: -6s; }
.vinyl-wrap img { position: absolute; left: 66px; top: 46px; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 16px 60px rgba(0,160,56,.55); }
.cta-inner h2 { position: relative; margin: 0; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; font-weight: 800; line-height: 1.15; }
.cta-inner p { position: relative; margin: 0; font-size: 18px; color: var(--text-2); }
.cta-inner .stores { position: relative; justify-content: center; margin-top: 8px; }
.cta-inner .store { border-radius: 999px; height: 54px; }

.disclaimer { max-width: 820px; margin: 0 auto 56px; padding: 20px 24px; border: 1px solid var(--border-soft); border-radius: 16px; background: var(--card); color: var(--dim); font-size: 14px; line-height: 1.7; text-align: center; }

/* ---------- scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d2 { animation-delay: .5s; } .rise.d3 { animation-delay: .65s; }

/* ---------- keyframes ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes draw { 0% { stroke-dashoffset: 1400; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes draw-s { 0% { stroke-dashoffset: 600; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--pulse, 22,190,80),.55); } 70% { box-shadow: 0 0 0 10px rgba(var(--pulse, 22,190,80),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--pulse, 22,190,80),0); } }
@keyframes beam { 0% { transform: translateX(-120%); } 100% { transform: translateX(420%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes climb { 0%, 20% { transform: translateY(96px); } 45%, 100% { transform: translateY(0); } }
@keyframes type { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes note { 0% { transform: translateY(0) rotate(-10deg); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-280px) rotate(14deg); opacity: 0; } }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-90%); } }
@keyframes sheen { 0%, 72% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
@keyframes flash { 0%, 100% { background-color: rgba(240,68,82,.12); } 50% { background-color: rgba(240,68,82,.34); } }
@keyframes word { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(var(--o)) rotate(0deg); } to { transform: rotate(360deg) translateX(var(--o)) rotate(-360deg); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .tile.a, .tile.b, .tile.c, .tile.d { grid-column: span 12; }
  .tile.a { height: 620px; }
  .tile.a .copy { max-width: 440px; }
  .tile.b { height: 640px; }
  .tile.b .copy, .tile.c .copy { max-width: 560px; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; gap: 12px; padding-top: 48px; }
  .hero-visual { height: 690px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-beam { display: none; }
  .hero-grid-bg { -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 70%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 70%, #000 20%, transparent 75%); }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav .wrap { height: 60px; }
  .nav-links { gap: 4px; }
  .nav-links a:not(.keep) { display: none; }
  .nav-links .nav-lang { padding: 0 10px; height: 44px; display: inline-flex; align-items: center; }
  .nav-links .nav-cta { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero h1 .l2 svg { width: .95em; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .store { height: 56px; padding: 0 12px; justify-content: center; gap: 10px; border-radius: 14px; }
  .store b { font-size: 16px; }
  .store small { font-size: 10px; }
  .store svg { width: 20px; height: 20px; }
  .hero-visual { height: 570px; }
  .hero-visual .phone { width: 250px; margin-left: -125px; padding: 7px; border-radius: 38px; }
  .hero-visual .phone img, .hero-visual .phone .sheen { border-radius: 31px; }
  .hero-visual .phone .sheen { inset: 7px; }
  .chip { padding: 9px 12px; font-size: 12px; gap: 8px; border-radius: 12px; }
  .chip .ic { width: 22px; height: 22px; font-size: 10px; }
  .chip-up { left: -4px; top: 150px; }
  .chip-down { right: -4px; top: 340px; }
  .price-card { width: 170px; padding: 11px; gap: 6px; right: -6px; top: 30px; border-radius: 14px; }
  .price-card .pc-ic { display: none; }
  .price-card .pc-name { flex-direction: row; align-items: baseline; gap: 6px; }
  .price-card .pc-name b { font-size: 12px; }
  .price-card .pc-name span { font-size: 10px; }
  .price-card .pc-price { font-size: 15px; line-height: 18px; }
  .roll { height: 18px; }
  .price-card .pc-chg { font-size: 10px; padding: 2px 5px; }
  .price-card svg.spark { height: 26px; }
  .ticker { height: 52px; }
  .ticker-live { padding: 0 28px 0 20px; font-size: 11px; }
  .ticker-fade { width: 48px; }
  .ticker-track { gap: 32px; padding-left: 32px; font-size: 13px; }
  .section { padding: 88px 0 20px; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 15px; }
  .step { padding: 18px; gap: 18px; border-radius: 22px; }
  .step .demo { height: 140px; }
  .demo-buy { padding: 16px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 14px; }
  .bento { gap: 14px; }
  .tile { border-radius: 24px; }
  .tile .copy { padding: 26px 22px 0; gap: 12px; }
  .tile .copy p { font-size: 14px; }
  .tile.a { height: 700px; }
  .tile.a .phone, .tile.b .phone { right: auto; left: 50%; width: 240px; margin-left: -120px; padding: 6px; border-radius: 36px; }
  .tile.a .phone img, .tile.b .phone img { border-radius: 30px; }
  .tile.a .phone { top: 380px; }
  .tile.b { height: 600px; }
  .tile.b .phone { top: 290px; }
  .float-tag.gold { left: 18px; top: 420px; }
  .float-tag.lock { right: 18px; top: 490px; }
  .tile.c { height: 500px; }
  .tile.c .shot { width: 280px; margin-left: -140px; top: 240px; }
  .tile.d { padding: 26px 22px 22px; gap: 20px; }
  .minis { grid-template-columns: 1fr; gap: 10px; }
  .mini { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
  .mini .mi { flex: none; }
  .mini .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
  .mini b { font-size: 16px; }
  .mini p { font-size: 13px; }
  .mini .fx { margin: 0; min-height: 0; flex: none; gap: 4px; }
  .mini .fx .bar { width: 8px; }
  .mini .fx .badge-ring:not(.spin) { display: none; }
  .mini .fx .cd-mini:not(.spin) { display: none; }
  .cta-wrap { padding: 88px 0 40px; }
  .cta-box { border-radius: 28px; }
  .cta-inner { border-radius: 27px; padding: 48px 20px; gap: 18px; }
  .cta-inner p { font-size: 15px; }
  .cta-inner .stores { grid-template-columns: 1fr; width: 100%; }
  .vinyl-wrap { width: 170px; height: 140px; }
  .vinyl { left: 15px; width: 140px; height: 140px; }
  .vinyl::after { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .orbit { --o: 80px; left: 80px; top: 65px; width: 10px; height: 10px; }
  .vinyl-wrap img { left: 49px; top: 34px; width: 72px; height: 72px; border-radius: 19px; }
  .disclaimer { font-size: 13px; padding: 16px 18px; text-align: left; margin-bottom: 40px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .doc { padding: 48px 20px 64px; }
}
@media (max-width: 380px) {
  .hero-visual { height: 540px; }
  .price-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .note-fx { display: none; }
}
