/* Syne website. Afterglow: charcoal, magenta, amber; the gradient only in the logo.
   One family (Figtree). The song-section colours are the site's one structural motif:
   they mean the same thing here as in the app (intro, build, drop, breakdown, outro). */
@font-face { font-family: "Figtree"; src: url("Figtree-Variable.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121014; --raise: #19151a; --surf: #221c21; --line: #2e272c; --line2: #3d3439;
  --ink: #f6efe9; --dim: #a69ba1; --faint: #74696f;
  --mag: #ff3d8b; --amb: #ffb347; --amb-ink: #1c1208;
  --intro: #22c55e; --build: #f59e0b; --drop: #ff3d8b; --breakdown: #8b5cf6; --bridge: #06b6d4; --lightdrop: #3b82f6; --outro: #64748b;
  --wrap: 1180px; --pad: clamp(20px, 4vw, 48px);
  --measure: 64ch;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Figtree", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--amb); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amb); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mag); color: #fff; }
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--dim); max-width: 46ch; line-height: 1.5; }
.dim { color: var(--dim); }
code { font: .9em/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--surf); padding: .1em .35em; border-radius: 5px; }
kbd { font: 600 .82em "Figtree", sans-serif; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; padding: .05em .4em; background: var(--raise); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--amb); color: var(--amb-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid var(--amb); background: var(--amb); color: var(--amb-ink); font: 600 16px/1 "Figtree", sans-serif;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .12s, background .12s; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { background: var(--surf); filter: none; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn:disabled, .btn[aria-disabled=true] { opacity: .4; cursor: not-allowed; filter: none; pointer-events: none; }
.btn .sub { font-weight: 400; opacity: .75; font-size: 14px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { height: 30px; width: 30px; }
.brand span { font-weight: 600; letter-spacing: .26em; font-size: 17px; }
#nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
#nav a:not(.btn) { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
#nav a:not(.btn):hover, #nav a[aria-current=page]:not(.btn) { color: var(--ink); }
#nav a[aria-current=page]:not(.btn) { box-shadow: inset 0 -2px 0 var(--amb); border-radius: 0; }
#nav .btn { margin-left: 10px; }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--ink); border-radius: 8px;
  font: 600 14px "Figtree", sans-serif; padding: 8px 14px; cursor: pointer; }
@media (max-width: 760px) {
  .menu { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; gap: 0; }
  #nav.open { display: flex; }
  #nav a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  #nav a[aria-current=page]:not(.btn) { box-shadow: none; color: var(--amb); }
  #nav .btn { margin: 16px 0 0; min-height: 48px; }
}

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.band { padding: clamp(72px, 10vw, 136px) 0; }
.band + .band { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > :first-child { position: sticky; top: 110px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } }

/* ---------- hero: the live rig ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 0; }
.hero-text { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end; }
.hero-text h1 { margin: 0; }
.hero-text .lede { margin: 0 0 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .hero-text { grid-template-columns: 1fr; } }
.rig { position: relative; max-width: 1400px; margin: clamp(32px, 5vw, 56px) auto 0; padding: 0 var(--pad); }
.rig canvas { width: 100%; height: clamp(280px, 36vw, 480px); border-radius: 18px; background: #0b090c; }
.timeline { position: relative; margin-top: 14px; }
.timeline .bars { display: flex; gap: 3px; height: 34px; }
.timeline .seg { position: relative; border-radius: 6px; background: var(--c); opacity: .38; transition: opacity .25s; overflow: hidden; }
.timeline .seg.now { opacity: 1; }
.timeline .seg span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: #120d10; white-space: nowrap; }
.timeline .head { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); border-radius: 2px; left: 0; box-shadow: 0 0 10px rgba(255,255,255,.6); }
.rig-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; color: var(--dim); font-size: 14px; }
.rig-meta button { background: none; border: 1px solid var(--line2); color: var(--ink); border-radius: 8px; padding: 6px 12px; font: 600 13px "Figtree", sans-serif; cursor: pointer; }
.rig-meta button:hover { background: var(--surf); }
.rig-meta .track { font-variant-numeric: tabular-nums; }

/* ---------- home sections ---------- */
.kicker { color: var(--dim); font-weight: 600; font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--c, var(--amb)); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 40px 64px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line2); display: grid; place-items: center; font-weight: 600; color: var(--amb); }
.steps > li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-top: 6px; }
.steps p { color: var(--dim); max-width: var(--measure); }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.modes > div { padding: 32px 32px 8px 0; }
.modes > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.modes p { color: var(--dim); }
.modes .tag { font-size: 13.5px; color: var(--faint); }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } .modes > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* section legend: what the show does in each part */
.parts { margin: 40px 0 0; display: grid; gap: 2px; }
.parts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.parts dt { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.parts dt::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c); flex: none; }
.parts dd { margin: 0; color: var(--dim); }
@media (max-width: 600px) { .parts > div { grid-template-columns: 1fr; gap: 4px; } }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; margin-top: 8px; }
.facts h3 { margin-bottom: 6px; }
.facts p { color: var(--dim); margin: 0; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

.safety { background: var(--raise); }
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 18ch; margin: 0; }

/* ---------- documents (quick start, download, faq, legal) ---------- */
.doc { max-width: calc(var(--measure) + 2 * var(--pad)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad) clamp(72px, 9vw, 120px); }
.doc h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.doc h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 2.2em; }
.doc h3 { margin-top: 1.8em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: var(--faint); }
.doc .meta { color: var(--faint); font-size: 15px; }
.doc.wide { max-width: calc(980px + 2 * var(--pad)); }
.legal { font-size: 16px; }
.legal h2 { font-size: 1.3rem; }
.draft { border: 1px solid color-mix(in srgb, var(--amb) 50%, transparent); background: color-mix(in srgb, var(--amb) 8%, transparent);
  border-radius: 12px; padding: 16px 20px; margin: 24px 0 8px; font-size: 15.5px; }
mark.ph { background: color-mix(in srgb, var(--amb) 22%, transparent); color: var(--ink); border-radius: 4px; padding: 0 .3em; }
.note { border-left: 3px solid var(--c, var(--amb)); padding: 4px 0 4px 18px; margin: 1.4em 0; color: var(--dim); }
.note strong { color: var(--ink); }

/* numbered guide steps (quick start / install): a real sequence */
.guide { list-style: none; padding: 0 !important; counter-reset: g; margin: 1.5em 0; }
.guide > li { counter-increment: g; position: relative; padding: 0 0 22px 52px; margin: 0; }
.guide > li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surf); color: var(--amb); font-weight: 600; font-size: 15px; display: grid; place-items: center; }
.guide strong { color: var(--ink); }

/* download */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 36px 0 12px; }
.platform { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--raise); display: flex; flex-direction: column; gap: 6px; }
.platform h2 { margin: 0; font-size: 1.6rem; }
.platform .req { color: var(--dim); font-size: 15px; margin: 0 0 18px; }
.platform .btn { align-self: flex-start; margin-top: auto; }
.platform .file { font-size: 13px; color: var(--faint); margin-top: 10px; word-break: break-all; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line2); background: var(--raise); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amb); flex: none; }
.tabs { display: flex; gap: 6px; margin: 2em 0 0; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; color: var(--dim); font: 600 16px "Figtree", sans-serif; padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--amb); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--dim); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--dim); }
.faq h2 { margin-top: 2em; }

/* forms */
.form { display: grid; gap: 22px; margin-top: 32px; }
.field { display: grid; gap: 7px; }
.field > label, .field > legend, .field > .lab { font-weight: 600; font-size: 15.5px; }
.field .hint { color: var(--faint); font-size: 14px; font-weight: 400; }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--raise); color: var(--ink);
  font: 400 16px "Figtree", sans-serif; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amb); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--amb) 25%, transparent); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line2); border-radius: 999px; cursor: pointer; font-size: 15px; background: var(--raise); }
.chips input { accent-color: var(--amb); margin: 0; }
.chips label:has(input:checked) { border-color: var(--amb); background: color-mix(in srgb, var(--amb) 12%, var(--raise)); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--amb); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--dim); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amb); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { border-radius: 12px; padding: 16px 20px; font-size: 15.5px; }
.msg.err { border: 1px solid #ef4444; background: rgba(239, 68, 68, .1); }
.msg.ok { border: 1px solid var(--intro); background: rgba(34, 197, 94, .08); }
.err-text { color: #ff7b7b; font-size: 14px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 0; }
.strip { display: flex; height: 4px; }
.strip i { flex: 1; } .strip i:nth-child(3), .strip i:nth-child(6) { flex: 2; }
.s-intro { background: var(--intro); } .s-build { background: var(--build); } .s-drop { background: var(--drop); }
.s-breakdown { background: var(--breakdown); } .s-outro { background: var(--outro); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--pad) 24px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-in p { color: var(--dim); font-size: 15px; margin: 14px 0 0; }
.foot nav.cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; align-content: start; }
.foot nav.cols > div { display: grid; gap: 8px; align-content: start; }
.foot nav.cols h2 { font-size: 14px; letter-spacing: 0; color: var(--ink); margin: 0 0 4px; }
@media (max-width: 640px) { .foot nav.cols { grid-template-columns: 1fr 1fr; } }
.foot nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--ink); }
.fine { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 40px; color: var(--faint); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 640px) { .timeline .seg span { display: none; } .timeline .bars { height: 18px; } }

/* tables: hardware specs, plan comparison */
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: 14px; color: var(--dim); font-weight: 600; background: var(--raise); }
tbody th { font-weight: 600; }
.spec td { color: var(--dim); }
.compare td, .compare thead th:not(:first-child) { text-align: center; width: 14%; }
.compare td { color: var(--ink); font-weight: 600; }
.compare tbody th { font-weight: 400; }
.compare .grp th { background: var(--raise); font-weight: 600; color: var(--amb); font-size: 14px; padding-top: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 8px; }
.plans section { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--raise); display: flex; flex-direction: column; }
.plans section.pick { border-color: var(--amb); }
.plans h2 { margin: 0 0 8px; font-size: 1.5rem; }
.plans p { color: var(--dim); font-size: 15.5px; }
.plans .price { margin: auto 0 0; color: var(--ink); font-weight: 600; padding-top: 12px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.soon { border: 1px dashed var(--line2); border-radius: 12px; padding: 16px 20px; color: var(--dim); }
.soon strong { color: var(--ink); }
