:root {
  color-scheme: dark;
  --bg: #0b0b0c; --surface: #141416; --raised: #1c1c1f; --text: #f2f0ec; --muted: #8d8a85;
  --border: #242428; --brand: #ffb547; --brand-strong: #ffc670; --on-brand: #140d02;
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
::selection { background: var(--brand); color: var(--on-brand); }

header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgb(11 11 12 / .8); border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; }
.logo svg { color: var(--brand); }
header nav { margin-left: auto; display: flex; gap: 20px; align-items: center; font-size: 14px; color: var(--muted); }
header nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 24px; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 6px 16px; font-size: 14px; }

.hero { padding: 96px 0 72px; background: radial-gradient(80% 60% at 70% 0%, #2a1f10 0%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
h1 em { font-style: normal; color: var(--brand); }
.lead { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 520px; }
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* A small playable soundboard as the hero picture. */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 40px 80px -30px rgb(255 181 71 / .25); }
.pad { position: relative; aspect-ratio: 1; border-radius: 16px; border: 1px solid rgb(255 255 255 / .06); cursor: pointer; overflow: hidden; display: flex; align-items: flex-end; padding: 10px; font-size: 13px; font-weight: 600; color: #fff; user-select: none; transition: transform .08s; }
.pad::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .35s; }
.pad.hit { transform: scale(.95); }
.pad.hit::after { opacity: .35; transition: none; }
.pad span { position: relative; z-index: 1; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.board-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
.sub { margin-top: 12px; color: var(--muted); max-width: 640px; }
.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: #2a1f10; color: var(--brand); display: grid; place-items: center; font-size: 20px; }
.card h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding-top: 20px; border-top: 2px solid var(--border); }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 13px/1 Inter; color: var(--brand); letter-spacing: .1em; }
.step h3 { margin-top: 12px; font-size: 18px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.banner { border-radius: 28px; padding: 56px 32px; text-align: center; background: linear-gradient(135deg, #2a1f10, #141416 60%); border: 1px solid var(--border); }
.banner .cta { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 20px; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero .wrap, .grid, .steps { grid-template-columns: 1fr; }
  header nav .hide-sm { display: none; }
}

/* Page sections */
.eyebrow { font: 600 13px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.big { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.list { margin-top: 24px; display: grid; gap: 14px; padding: 0; list-style: none; }
.list li { padding-left: 28px; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); }
.list li b { color: var(--text); font-weight: 600; }
.tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile { aspect-ratio: 1; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgb(255 255 255 / .06); }
.tile b { font-size: 16px; }
.tile span { font-size: 13px; color: rgb(255 255 255 / .75); margin-top: 4px; }
.quote { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -.01em; font-weight: 600; max-width: 820px; }
.badge { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.badge a { color: var(--brand); }

/* Team */
.team { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.person h3 { font-size: 18px; }
.person .role { color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 2px; }
.person p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Legal documents */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 16px 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); }
.doc .updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 22px; letter-spacing: -.01em; }
.doc p, .doc li { margin-top: 12px; color: #c9c6c0; }
.doc ul { padding-left: 22px; }
.doc .toc { margin-top: 28px; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); columns: 2; column-gap: 32px; font-size: 14px; }
.doc .toc a { color: var(--muted); display: block; padding: 3px 0; break-inside: avoid; }
.doc .toc a:hover { color: var(--brand); }
.doc .pdf { margin-top: 48px; font-size: 14px; color: var(--muted); }
.doc .pdf a { color: var(--brand); }

@media (max-width: 860px) {
  .split, .tiles { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .doc .toc { columns: 1; }
}

/* Screenshots and placeholders */
.shot { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgb(0 0 0 / .5)); }
.placeholder { aspect-ratio: 16 / 10; border-radius: 20px; border: 2px dashed #3a3a40; background: repeating-linear-gradient(135deg, var(--surface) 0 14px, #17171a 14px 28px); display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; }
.placeholder b { display: block; color: var(--text); font-size: 15px; }
.placeholder code { font-size: 12px; color: var(--brand); }
.feature { padding: 56px 0; border-top: 1px solid var(--border); }
.feature:first-of-type { border-top: 0; }
.feature .split { gap: 56px; }
.feature.flip .split > :first-child { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.15; margin-top: 12px; }
.feature p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.gallery { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.platforms-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform { display: block; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); transition: border-color .15s, transform .15s; }
.platform:hover { border-color: var(--brand); transform: translateY(-2px); }
.platform h3 { font-size: 22px; }
.platform p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.platform .go { margin-top: 18px; color: var(--brand); font-weight: 600; font-size: 14px; }
.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.founder { margin-top: 40px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.founder img { width: 100%; border-radius: 24px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); border: 1px solid var(--border); }
.founder h3 { font-size: 28px; letter-spacing: -.02em; }
.founder .role { color: var(--brand); font-weight: 600; margin-top: 4px; }
.founder p { margin-top: 14px; color: var(--muted); font-size: 17px; }
@media (max-width: 860px) {
  .gallery, .platforms-grid, .founder { grid-template-columns: 1fr; }
  .feature.flip .split > :first-child { order: 0; }
  .founder img { max-width: 260px; }
}

/* Soundboard tiles: buttons with a peek at the UI */
button.tile { position: relative; overflow: hidden; cursor: pointer; text-align: left; color: #fff; font: inherit; transition: transform .2s, box-shadow .2s; }
button.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgb(0 0 0 / .8); }
button.tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.tile-ui { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .18; transform: scale(1.6); transition: opacity .3s, transform .5s; }
button.tile:hover .tile-ui { opacity: .45; transform: scale(1.35); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .65), transparent 60%); }
.tile-icon { position: absolute; top: 18px; left: 50%; width: 58%; max-height: 46%; object-fit: contain; transform: translateX(-50%); opacity: .95; transition: transform .3s; z-index: 1; filter: drop-shadow(0 6px 12px rgb(0 0 0 / .35)); }
button.tile:hover .tile-icon { transform: translateX(-50%) scale(1.08) rotate(-3deg); }
.tile b, .tile span { position: relative; z-index: 1; }
.tile-eye { position: absolute; top: 12px; right: 12px; z-index: 1; font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .2s; }
button.tile:hover .tile-eye, button.tile:focus-visible .tile-eye { opacity: 1; }

/* Gallery popup */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgb(5 5 6 / .92); backdrop-filter: blur(8px); padding: 24px; }
.lightbox.open { display: flex; animation: fade .2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 72vh; object-fit: contain; filter: drop-shadow(0 30px 60px rgb(0 0 0 / .6)); }
.lightbox figcaption { margin-top: 18px; }
.lightbox figcaption b { font-size: 22px; letter-spacing: -.01em; }
.lightbox figcaption span { display: block; color: var(--muted); margin-top: 2px; }
.lightbox .count { margin-top: 10px; font-size: 13px; color: var(--muted); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border); background: rgb(20 20 22 / .8); color: var(--text); font-size: 22px; cursor: pointer; transition: border-color .15s, color .15s; }
.lb-btn:hover { border-color: var(--brand); color: var(--brand); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; }
@media (max-width: 860px) { .lb-btn { top: auto; bottom: 20px; transform: none; } }

/* Beta sign-up form */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; background: rgb(5 5 6 / .88); backdrop-filter: blur(8px); padding: 40px 16px; }
.modal.open { display: flex; animation: fade .2s ease-out; }
.modal-card { position: relative; width: 100%; max-width: 640px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); padding: 36px 32px; box-shadow: 0 40px 80px -30px rgb(255 181 71 / .2); }
.modal-card h2 { font-size: 30px; }
.modal-card .sub { margin-top: 8px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text); font-size: 18px; cursor: pointer; }
.form { margin-top: 28px; display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.form input[type=text], .form input[type=email], .form input[type=number], .form select, .form textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text);
  padding: 12px 14px; font: inherit; font-size: 15px; outline: none; transition: border-color .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); }
.form textarea { min-height: 96px; resize: vertical; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.tag span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; user-select: none; }
.tag input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.tag input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 4px; background: var(--bg); }
.seg label { position: relative; margin: 0; }
.seg span { display: block; padding: 8px 18px; border-radius: 999px; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--raised); color: var(--text); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; width: 16px; height: 16px; }
.check a { color: var(--brand); }
.form-error { color: #ff8a7a; font-size: 14px; min-height: 1em; }
.form .hp { position: absolute; left: -9999px; }
.done { text-align: center; padding: 24px 0 8px; }
.done .big-emoji { font-size: 56px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } .modal-card { padding: 28px 20px; } }
