:root {
  --bg: #0d1014;
  --surface: #14181e;
  --surface-2: #1a1f28;
  --ink: #f3f5f8;
  --body: #a9b1bd;
  --muted: #6f7784;
  --line: #21262f;
  --line-2: #2c323d;
  --accent: #4c9dff;
  --accent-soft: rgba(76, 157, 255, 0.14);
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 16, 20, 0.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; }
.nav-cta { font-size: 0.9rem; font-weight: 500; color: var(--body); display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color 0.15s, color 0.15s; }
.nav-cta:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 0.98rem; padding: 14px 26px; border-radius: 12px; border: none; cursor: pointer; transition: transform 0.14s, background 0.14s, border-color 0.14s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #62a9ff; }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 40px; text-align: center; }
.hero h1 { margin: 18px auto 0; font-size: clamp(2.6rem, 6.6vw, 4.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.03; color: var(--ink); max-width: 15ch; }
.hero .sub { margin: 20px auto 0; max-width: 40ch; font-size: clamp(1.08rem, 2.2vw, 1.35rem); color: var(--body); }
.hero .cta { margin-top: 30px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }

/* ---------- scanning animation (the signature) ---------- */
.scan { position: relative; width: min(440px, 84vw); aspect-ratio: 1; margin: 52px auto 8px; }
.scan .guide { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 50%; }
.scan .g1 { width: 33%; height: 33%; }
.scan .g2 { width: 63%; height: 63%; }
.scan .g3 { width: 100%; height: 100%; }
.scan .ping { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 1.5px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%) scale(0.16); opacity: 0; animation: ping 3.6s cubic-bezier(0, 0, 0.25, 1) infinite; }
.scan .ping:nth-child(2) { animation-delay: 1.2s; }
.scan .ping:nth-child(3) { animation-delay: 2.4s; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(0.16); opacity: 0.55; } 78% { opacity: 0.06; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.scan .core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 12px 40px -8px rgba(76, 157, 255, 0.5); }
.scan .node { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); animation: node 3.6s ease-in-out infinite; }
.scan .node.n1 { top: 20%; left: 71%; animation-delay: 0.5s; }
.scan .node.n2 { top: 67%; left: 24%; animation-delay: 1.7s; }
.scan .node.n3 { top: 76%; left: 72%; animation-delay: 2.7s; }
.scan .node.n4 { top: 32%; left: 15%; animation-delay: 3.1s; }
@keyframes node { 0%, 100% { opacity: 0.28; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .scan .ping { animation: none; opacity: 0.14; transform: translate(-50%, -50%) scale(0.63); } .scan .node { animation: none; opacity: 0.9; } }

/* mono spec strip */
.spec { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-in { display: flex; flex-wrap: wrap; }
.spec span { flex: 1 1 auto; padding: 16px 8px; text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body); border-left: 1px solid var(--line); }
.spec span:first-child { border-left: none; }
@media (max-width: 620px) { .spec span { flex-basis: 50%; } .spec span:nth-child(odd) { border-left: none; } }

/* ---------- section head ---------- */
section { padding: 84px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 46ch; }
.section-head .eyebrow { color: var(--accent); }
.section-head h2 { margin-top: 14px; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -0.028em; color: var(--ink); line-height: 1.1; }
.section-head p { margin-top: 14px; color: var(--body); font-size: 1.08rem; }

/* ---------- steps (a real sequence: find, join, listen) ---------- */
.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { border-top: 1px solid var(--line-2); padding-top: 22px; }
.step .num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.step h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 650; color: var(--ink); }
.step p { margin-top: 10px; color: var(--body); font-size: 1rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- screenshot showcase (one deliberate place) ---------- */
.showcase { margin-top: 48px; display: flex; gap: 20px; justify-content: flex-start; overflow-x: auto; padding: 6px 0 14px; scroll-snap-type: x mandatory; }
.showcase::-webkit-scrollbar { height: 0; }
.showcase figure { flex: none; scroll-snap-align: center; text-align: center; }
.showcase img { height: 540px; width: auto; border-radius: 32px; border: 1px solid var(--line-2); box-shadow: 0 34px 80px -40px rgba(0, 0, 0, 0.8); }
.showcase figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 620px) { .showcase img { height: 440px; } }

/* ---------- download ---------- */
.download { text-align: center; }
.download h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.download p { margin: 16px auto 0; max-width: 44ch; color: var(--body); font-size: 1.1rem; }
.download .cta { margin-top: 28px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.download .soon { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 0.9rem; }
.foot-links a:hover { color: var(--ink); }
.foot-note { color: var(--muted); font-size: 0.85rem; }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 60px 28px 60px; }
.legal .back { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.legal .back:hover { color: var(--ink); }
.legal h1 { margin-top: 26px; font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.legal .updated { margin-top: 8px; color: var(--muted); font-size: 0.88rem; }
.legal .lead { margin-top: 24px; font-size: 1.15rem; color: var(--ink); }
.legal h2 { margin-top: 38px; font-size: 1.18rem; font-weight: 650; color: var(--ink); }
.legal p { margin-top: 10px; color: var(--body); }
.legal ul { margin-top: 12px; list-style: none; }
.legal li { color: var(--body); padding: 6px 0 6px 22px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal a { color: var(--accent); }
