/* GHOST LINK - public site. Black ground, white type, JetBrains Mono. Colour only when it means something. */
@font-face { font-family: "JetBrains Mono"; src: url(JetBrainsMono_400Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(JetBrainsMono_600SemiBold.ttf); font-weight: 600; font-display: swap; }

:root { --bg: #000; --fg: #fff; --grey: #9a9a9a; --dim: #555; --line: #222; --air: #ff2a2a; --warn: #ffb000; color-scheme: dark; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-variant-numeric: tabular-nums; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
a { color: var(--fg); }
b, strong { font-weight: 600; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.grey { color: var(--grey); }
.amber { color: var(--warn); }
.red { color: var(--air); }

/* ---- top bar ---- */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.top .mark { font-weight: 600; letter-spacing: .12em; text-decoration: none; font-size: 14px; }
.top nav { display: flex; gap: 20px; font-size: 13px; letter-spacing: .08em; }
.top nav a { color: var(--grey); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
.top nav a.wl { color: var(--fg); }
@media (max-width: 640px) { .top nav a:not(.wl) { display: none; } }

/* ---- the ghost ---- */
.ghost { margin: 0; font: inherit; white-space: pre; line-height: 1; animation: float 4s ease-in-out infinite; }
.ghost.amber { color: var(--warn); animation: none; transform: translateX(3px); }
.ghost.asleep { color: var(--grey); }
@keyframes float { 50% { transform: translateY(-4px); } }

/* ---- hero ---- */
.hero { padding: 56px 0 48px; }
.hero .ghost { font-size: clamp(30px, 9vw, 56px); margin-bottom: 28px; }
@keyframes float-big { 50% { transform: translateY(-7px); } }
.hero .ghost { animation-name: float-big; }
.hero h1 { margin: 0 0 22px; font-size: clamp(34px, 10.5vw, 88px); line-height: 1; font-weight: 600; letter-spacing: .08em; }
.hero .line { font-size: clamp(22px, 5.4vw, 40px); line-height: 1.2; font-weight: 600; margin: 0 0 16px; max-width: 26ch; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 88px; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; }
  .hero .wrap > * { grid-column: 1; }
  .hero .wrap > .ghost { grid-column: 2; grid-row: 1 / span 6; align-self: center; font-size: 76px; margin: 0 24px 0 0; }
  .hero h1 { font-size: 76px; white-space: nowrap; }
}
.hero .sub { color: var(--grey); max-width: 56ch; font-size: 17px; margin-bottom: 28px; }
.hero .status { margin-top: 28px; font-size: 13px; letter-spacing: .08em; color: var(--grey); }
.hero .status b { color: var(--fg); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 15px 20px; border: 1px solid var(--fg); background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 600; letter-spacing: .1em; text-decoration: none; cursor: pointer; border-radius: 0; text-align: center; }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: var(--bg); color: var(--fg); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (max-width: 420px) { .buttons .btn { flex: 1 1 100%; } }

/* ---- sections ---- */
section { border-top: 1px solid var(--line); padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }
.label { font-size: 12px; letter-spacing: .14em; color: var(--grey); margin: 0 0 14px; }
h2 { margin: 0 0 14px; font-size: clamp(24px, 5.4vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: .02em; max-width: 24ch; }
.lead { color: var(--grey); max-width: 60ch; margin-bottom: 32px; }
h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; letter-spacing: .08em; }

.grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cell { border: 1px solid var(--line); padding: 18px; min-width: 0; }
.cell p { margin: 0; color: var(--grey); font-size: 15px; }
.cell small { display: block; font-size: 11px; letter-spacing: .12em; color: var(--grey); margin-bottom: 8px; }

/* ---- live demo (looks like the product's DECKS tab) ---- */
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px;
  font-size: 12px; letter-spacing: .12em; color: var(--grey); }
.demo-head .live::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--air); margin-right: 8px; vertical-align: 0; }
.decks { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .decks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .decks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .decks .deck.d3 { display: none; } }
@media (min-width: 760px) and (max-width: 1059px) { .decks .deck.d3 { display: none; } }
.deck { border: 1px solid var(--line); padding: 12px; display: grid; gap: 10px; min-width: 0; align-content: start; }
.deck.air { border-color: var(--air); }
.deck .dtop { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.deck .num { font-size: 28px; font-weight: 600; line-height: 1; min-width: 1.2ch; }
.deck .model { color: var(--grey); font-size: 13px; flex: 1; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 3px 6px; line-height: 1.3; }
.tag.air { background: var(--air); color: #000; }
.tag.master { border: 1px solid var(--fg); }
.tag.plain { border: 1px solid var(--dim); color: var(--grey); }
.deck .track { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; }
.deck .art { width: 64px; height: 64px; display: block; background: #111; }
.deck .title { font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck .artist { color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck .meta { color: var(--grey); font-size: 13px; display: flex; gap: 12px; }
.deck .nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.deck .nums div { display: grid; min-width: 0; }
.deck .nums small { color: var(--grey); font-size: 11px; letter-spacing: .08em; }
.deck .nums span { font-size: clamp(18px, 5.4vw, 24px); font-weight: 600; white-space: nowrap; }
.deck .nums .r { text-align: right; }
.deck canvas { width: 100%; display: block; background: #050505; }
.deck canvas.detail { height: 128px; }
.deck canvas.overview { height: 44px; }
.deck .phrase { font-size: 13px; color: var(--grey); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.deck .phrase b { color: var(--fg); font-weight: 600; }
.deck .phrase .next.soon { color: var(--warn); }
.deck.paused .detail, .deck.paused .nums span { opacity: .55; }
.beats { display: flex; gap: 4px; }
.beats i { width: 10px; height: 10px; border: 1px solid var(--dim); display: inline-block; }
.beats i.on { background: var(--grey); border-color: var(--grey); }
.beats i.one.on { background: var(--fg); border-color: var(--fg); }
.demo-note { margin-top: 12px; font-size: 13px; color: var(--grey); }

/* ---- feature list ---- */
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.feat li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 15ch minmax(0, 1fr); gap: 12px; }
.feat li b { letter-spacing: .06em; font-size: 14px; }
.feat li span { color: var(--grey); font-size: 15px; }
@media (max-width: 420px) { .feat li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---- screenshots ---- */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding-bottom: 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; scrollbar-color: #333 #000; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; display: block; border: 1px solid var(--line); aspect-ratio: 390 / 844; }
.shots figcaption { margin-top: 10px; font-size: 13px; color: var(--grey); }
.shots figcaption b { color: var(--fg); display: block; letter-spacing: .08em; font-size: 13px; }
@media (min-width: 900px) {
  .shots { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 32px 24px; }
}
@media (min-width: 1100px) { .shots { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.scroll-hint { font-size: 12px; color: var(--grey); letter-spacing: .08em; margin-top: 4px; }
@media (min-width: 900px) { .scroll-hint { display: none; } }

/* ---- roles ---- */
.role h3 { font-size: 18px; letter-spacing: .1em; }

/* ---- steps ---- */
.lead + .steps, h2 + .steps { margin-top: 24px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: s; border: 1px solid var(--line); padding: 18px; }
.steps li::before { content: counter(s); display: block; font-size: 40px; font-weight: 600; line-height: 1; margin-bottom: 14px; }
.steps li p { color: var(--grey); margin: 0; font-size: 15px; }
.after { margin-top: 18px; color: var(--grey); font-size: 15px; max-width: 70ch; }

/* ---- alerts (as they look on the phones) ---- */
.alerts { display: grid; gap: 8px; margin-top: 8px; }
.alerts div { padding: 10px 12px; border: 1px solid var(--warn); color: var(--warn); font-size: 14px; }
.alerts div b { display: block; letter-spacing: .06em; font-size: 15px; }
.alerts div.fill { background: var(--warn); color: #000; }

/* ---- safety ---- */
.safety .cell .ghost { font-size: 13px; margin-bottom: 16px; animation: none; }
.states { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.states figure { margin: 0; }
.states .ghost { font-size: 14px; }
.states figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .08em; color: var(--grey); }
.states .ghost.still { animation: none; }

/* ---- faq ---- */
.faq > * { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--grey); }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--grey); margin: 0 0 16px; max-width: 64ch; }

/* ---- waitlist ---- */
.waitlist > * { max-width: 640px; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 12px; letter-spacing: .12em; color: var(--grey); }
.field label .req { color: var(--fg); }
input[type=text], input[type=email], select, textarea { font: inherit; font-size: 16px; width: 100%; background: var(--bg); color: var(--fg);
  border: 1px solid var(--dim); border-radius: 0; padding: 12px; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fg); }
textarea { resize: vertical; min-height: 110px; }
.row2 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.count { font-size: 12px; color: var(--grey); text-align: right; margin-top: -2px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--grey); font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #fff; flex: 0 0 auto; }
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-size: 15px; margin: 0; }
.form-msg.warn { color: var(--warn); }
.form-msg a { color: var(--warn); }
.done { border: 1px solid var(--fg); padding: 28px 22px; }
.done h3 { font-size: clamp(22px, 5vw, 32px); letter-spacing: .04em; margin-bottom: 10px; }
.done p { color: var(--grey); margin: 0; }

/* ---- dashboard link ---- */
.venue-link { padding: 28px 0; border-top: 1px solid var(--line); }
.venue-link a { font-size: 14px; letter-spacing: .1em; color: var(--grey); text-decoration: none; }
.venue-link a:hover { color: var(--fg); }
.venue-link a span { color: var(--fg); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 13px; color: var(--grey); }
footer .tpa { display: inline-block; margin-bottom: 18px; }
footer .tpa img { height: 22px; width: auto; display: block; }
footer p { margin: 0 0 8px; max-width: 72ch; }
footer a { color: var(--grey); }
footer a:hover { color: var(--fg); }
footer .main { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ghost { animation: none !important; }
}
