:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0b0b0b;
  --surface-2: #121212;
  --line: #222;
  --text: #fff;
  --muted: #a3a3a3;
  --dim: #6f6f6f;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: .98rem; transition: transform .15s ease, background .15s ease, border-color .15s ease; border: 1px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8e8; }
.btn-ghost { border-color: #333; color: #fff; }
.btn-ghost:hover { border-color: #777; }
.btn svg { width: 18px; height: 18px; }

/* Nav */
.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 #141414; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
.links { display: flex; gap: 32px; align-items: center; }
.links a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.links a:hover, .links a[aria-current="page"] { color: #fff; }
.links .btn { padding: 9px 16px; font-size: .9rem; color: #000; }
.menu-toggle { display: none; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: transform .2s, top .2s; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
@media (max-width: 760px) {
  .burger { display: flex; }
  .links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #000; border-bottom: 1px solid #1a1a1a; padding: 8px 24px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
  .links a { padding: 14px 0; border-bottom: 1px solid #141414; font-size: 1.05rem; }
  .links .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
  .menu-toggle:checked ~ .links { opacity: 1; transform: none; pointer-events: auto; }
  .menu-toggle:checked ~ .burger span { background: transparent; }
  .menu-toggle:checked ~ .burger span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle:checked ~ .burger span::after { top: 0; transform: rotate(-45deg); }
}

/* Hero */
.hero { position: relative; padding: 120px 0 96px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.14), rgba(255,255,255,.04) 45%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .mark { width: 96px; height: 96px; margin: 0 auto 36px; filter: drop-shadow(0 0 12px rgba(255,255,255,.8)) drop-shadow(0 0 40px rgba(255,255,255,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); letter-spacing: -0.035em; max-width: 17ch; margin: 0 auto; }
.hero h1 .thin { font-weight: 300; color: var(--muted); }
.hero .lede { margin: 28px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.platforms { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 72px; color: var(--dim); font-size: .85rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.platforms span { display: flex; align-items: center; gap: 10px; }
.platforms svg { width: 18px; height: 18px; }

/* Sections */
.section { padding: 96px 0; border-top: 1px solid #111; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lede { margin-top: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #3a3a3a; transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .num { font-size: .78rem; letter-spacing: 2px; color: var(--dim); font-weight: 600; margin-bottom: 18px; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid #2a2a2a; display: grid; place-items: center; margin-bottom: 22px; }
.card .icon svg { width: 20px; height: 20px; }

/* App cards */
.app { display: flex; flex-direction: column; gap: 14px; }
.app .tag { font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.app h3 { font-size: 1.35rem; }
.app .store { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.store a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid #2a2a2a; font-size: .85rem; font-weight: 500; text-decoration: none; color: #fff; transition: border-color .15s, background .15s; }
.store a:hover { border-color: #666; background: #141414; }
.store svg { width: 14px; height: 14px; }
.app.featured { grid-column: span 2; background: radial-gradient(ellipse at top left, #161616, #0b0b0b 60%); }
@media (max-width: 600px) { .app.featured { grid-column: auto; } }

/* Stats strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.strip div { padding: 28px; border-right: 1px solid var(--line); }
.strip div:last-child { border-right: 0; }
.strip b { display: block; font-size: 2rem; letter-spacing: -0.03em; }
.strip span { color: var(--muted); font-size: .92rem; }
@media (max-width: 600px) { .strip { grid-template-columns: 1fr; } .strip div { border-right: 0; border-bottom: 1px solid var(--line); } .strip div:last-child { border-bottom: 0; } }

/* Quote band */
.band { position: relative; text-align: center; padding: 110px 0; border-top: 1px solid #111; overflow: hidden; }
.band::before { content: ""; position: absolute; left: 50%; bottom: -300px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 70%); pointer-events: none; }
.band .wrap { position: relative; }
.band h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; margin: 0 auto; }
.band .lede { margin: 22px auto 36px; }

/* Page header (inner pages) */
.page-head { padding: 88px 0 56px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 16ch; }
.page-head .lede { margin-top: 20px; }

/* Prose */
.prose { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.prose p + p { margin-top: 20px; }
.prose strong { color: #fff; font-weight: 600; }
.prose h2 { color: #fff; font-size: 1.5rem; margin: 48px 0 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.contact .card a.mail { font-size: clamp(1rem, 4.6vw, 1.3rem); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 8px; border-bottom: 1px solid #444; padding-bottom: 2px; overflow-wrap: anywhere; max-width: 100%; }
.contact .card a.mail:hover { border-bottom-color: #fff; }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list a { color: var(--muted); text-decoration: none; }
.list a:hover { color: #fff; }

/* Footer */
footer { border-top: 1px solid #141414; padding: 48px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .links { gap: 24px; }
footer .links a { color: var(--dim); font-size: .9rem; }
footer .copy { color: var(--dim); font-size: .88rem; }
@media (max-width: 760px) { footer .links { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; opacity: 1; transform: none; pointer-events: auto; background: none; border: 0; padding: 0; } footer .links a { padding: 0; border: 0; font-size: .9rem; } }

/* Reveal on scroll */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .mark { animation: none; } }
