/* Cutaway — site styles.
   One stylesheet, no framework, no build. Dark by default because the app is,
   with a light scheme honoured for anyone whose system asks for one. */

:root {
  --bg: #0b0d10;
  --surface: #14171c;
  --line: #262b33;
  --text: #eef1f5;
  --muted: #99a2ae;
  --accent: #22d3ee;
  --accent-ink: #06232a;
  --wrap: 1080px;
  --narrow: 760px;
  --radius: 12px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f5f7fa;
    --line: #e2e6ec;
    --text: #11151a;
    --muted: #5b6674;
    --accent: #0891b2;
    --accent-ink: #ffffff;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--narrow); }

/* Visible only to screen readers, and to anyone tabbing. */
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

a { color: inherit; }

/* ── bar ─────────────────────────────────────────────────────────────── */

.bar {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}
.brand { font-weight: 650; letter-spacing: -0.01em; text-decoration: none; font-size: 17px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--muted);
  padding: 8px 10px; border-radius: 8px; font-size: 14.5px;
}
.nav a:hover { color: var(--text); background: var(--surface); }

/* ── buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 999px;
  padding: 12px 22px; font-size: 15px; font-weight: 600;
  font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

/* ── hero ────────────────────────────────────────────────────────────── */

.hero { padding: 88px 0 64px; }
.eyebrow {
  margin: 0 0 14px; color: var(--accent);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1; letter-spacing: -0.025em; font-weight: 680;
}
.lede { margin: 0 0 28px; font-size: clamp(16.5px, 2.2vw, 19px); color: var(--muted); }

/* ── store buttons ───────────────────────────────────────────────────── */

.stores { margin: 28px 0 14px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 52px; padding: 8px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none;
}
.store img { display: block; height: 48px; width: auto; }
.store-plat { font-weight: 600; font-size: 15px; }
.store-note { color: var(--muted); font-size: 12.5px; }
.store-pending { opacity: 0.62; }

/* ── sections ────────────────────────────────────────────────────────── */

.section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 22px; font-size: clamp(22px, 3.4vw, 30px); letter-spacing: -0.015em; }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── waitlist ────────────────────────────────────────────────────────── */

.wl-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.wl-form input {
  flex: 1 1 240px; min-width: 0;
  padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
}
.wl-form input::placeholder { color: var(--muted); }
.wl-form input:disabled { opacity: 0.55; }

/* ── legal ───────────────────────────────────────────────────────────── */

.legal h2 { margin: 40px 0 12px; font-size: 20px; }
.legal p { margin: 0 0 14px; }
.legal strong { color: var(--text); font-weight: 640; }

/* ── footer ──────────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); padding: 30px 0 44px; }
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
.foot-links { display: flex; gap: 16px; }
.foot-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.foot-links a:hover { color: var(--text); }

.muted { color: var(--muted); }
.small { font-size: 13.5px; }
p.muted, p.small { margin: 8px 0 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
