/* staircaseradio.co - the look every page shares.
   White page, near-black ink, one grey panel colour, and the brand's indigo
   to pink kept for the mark and a few moments. Hanken Grotesk carries
   everything; Unbounded is the wordmark and nothing else. */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --grey: #6e6e73;
  --faint: #86868b;
  --page: #ffffff;
  --panel: #f5f5f7;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --indigo: #5b4dff;
  --pink: #ff4d9e;
  --link: #4a3cf0;
  --ok: #1d8a4a;
  --bad: #d0342c;
  --grad: linear-gradient(135deg, #5b4dff, #ff4d9e);
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --brand: "Unbounded", var(--font);
  --nav-h: 52px;
  --r: 28px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 44px);
  --shadow: 0 50px 100px -40px rgba(29, 29, 31, .38), 0 12px 30px -18px rgba(29, 29, 31, .25);
  color-scheme: light;
}
:root[data-theme="dark"], .dark {
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --grey: #a1a1a6;
  --faint: #86868b;
  --page: #000000;
  --panel: #161617;
  --line: #424245;
  --line-soft: #2a2a2d;
  --link: #a79fff;
  --shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--page); color: var(--ink);
  font: 400 17px/1.47 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

/* Two wordings for one place: before stations open, and after. */
html[data-launch="prelaunch"] [data-when="live"],
html[data-launch="live"] [data-when="prelaunch"] { display: none !important; }

/* ── Type ─────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.03; }
h2 { font-size: clamp(32px, 4.8vw, 64px); line-height: 1.05; }
h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.14; letter-spacing: -.02em; font-weight: 600; }
p { text-wrap: pretty; }
.giant { font-size: clamp(52px, 10vw, 136px); line-height: .96; letter-spacing: -.045em; font-weight: 700; }
.eyebrow { font-size: clamp(16px, 1.4vw, 21px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.lead { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.34; font-weight: 500; letter-spacing: -.018em; color: var(--grey); }
.lead strong, .lead b { color: var(--ink); font-weight: 600; }
.small { font-size: 14px; line-height: 1.43; color: var(--grey); letter-spacing: -.006em; }
.fine { font-size: 12px; line-height: 1.4; color: var(--faint); letter-spacing: 0; }
.center { text-align: center; }
.measure { max-width: 34em; }
.center .measure, .measure.center { margin-inline: auto; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(760px + var(--gutter) * 2); }
.wrap.mid { max-width: calc(980px + var(--gutter) * 2); }
section { position: relative; }
.band { padding-block: clamp(80px, 11vw, 168px); }
.band.tight { padding-block: clamp(56px, 7vw, 104px); }
.panel-bg { background: var(--panel); }

/* ── Buttons and links ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: var(--page); font-size: 17px; line-height: 1.2; font-weight: 500;
  letter-spacing: -.015em; cursor: pointer; text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--page); }
.btn-white { background: #fff; color: #1d1d1f; }
.btn-white:hover { background: #f0f0f3; }
.btn-brand { background: var(--indigo); color: #fff; }
.btn-brand:hover { background: #4a3cf0; }
.btn-small { min-height: 30px; padding: 6px 14px; font-size: 13px; letter-spacing: -.005em; }
.btn-big { min-height: 52px; padding: 14px 30px; font-size: 19px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btns { justify-content: center; }

.more { color: var(--link); font-weight: 500; display: inline-flex; align-items: baseline; }
.more::after {
  content: ""; width: .42em; height: .42em; margin-left: .38em; flex: none;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: translateY(-.08em) rotate(45deg); transition: transform .25s;
}
a.more:hover::after, a:hover > .more::after { transform: translate(.2em, -.08em) rotate(45deg); }
a.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 90; height: var(--nav-h);
  background: color-mix(in srgb, var(--page) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
}
.nav-in { height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 700 11px/1 var(--brand); letter-spacing: .09em; white-space: nowrap; }
.wordmark svg { flex: none; border-radius: 6px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); font-size: 13px; letter-spacing: -.003em; }
.nav-links a { color: var(--ink); opacity: .78; transition: opacity .2s; white-space: nowrap; }
.nav-links a:hover { opacity: 1; }
.nav-menu { display: none; width: 44px; height: 44px; margin-right: -12px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-menu i { position: absolute; left: 13px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s, top .3s; }
.nav-menu i:first-child { top: 18px; }
.nav-menu i:last-child { top: 25px; }
.nav-menu[aria-expanded="true"] i:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] i:last-child { top: 21.5px; transform: rotate(-45deg); }
.nav-cta { white-space: nowrap; flex: none; }
@media (max-width: 420px) { .wordmark span { display: none; } }
@media (max-width: 860px) {
  .nav-cta { margin-left: auto; }
  .nav-menu { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0; padding: 12px var(--gutter) 28px;
    flex-direction: column; align-items: stretch; gap: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em;
    background: var(--page); border-bottom: 1px solid var(--line-soft);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links a { opacity: 1; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; }
}
/* A page's own bar, under the nav: the page's name and its places. */
.subnav { position: sticky; top: var(--nav-h); z-index: 80; background: color-mix(in srgb, var(--page) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.subnav-in { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter); min-height: 52px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.subnav-name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-right: auto; }
.subnav a { font-size: 12px; color: var(--ink); opacity: .8; }
.subnav a:hover { opacity: 1; }

/* ── Pictures and videos ──────────────────────────────────────────────────── */
.slot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--panel); aspect-ratio: 16 / 10; isolation: isolate; }
.slot[data-shape="16:9"] { aspect-ratio: 16 / 9; }
.slot[data-shape="4:3"] { aspect-ratio: 4 / 3; }
.slot[data-shape="1:1"] { aspect-ratio: 1; }
.slot[data-shape="3:4"] { aspect-ratio: 3 / 4; }
.slot[data-shape="9:19.5"] { aspect-ratio: 9 / 19.5; }
.slot > img, .slot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot.free { aspect-ratio: auto; background: none; }
.slot.free > img { position: static; height: auto; }
.slot-empty {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 8%; text-align: center;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(91, 77, 255, .2), transparent 62%),
    radial-gradient(80% 70% at 100% 100%, rgba(255, 77, 158, .2), transparent 62%),
    var(--panel);
}
.slot-empty svg { width: clamp(28px, 12%, 64px); fill: var(--ink); opacity: .12; }
.slot-empty span { font-size: 13px; font-weight: 600; color: var(--grey); max-width: 22em; line-height: 1.3; }
.dark .slot-empty, :root[data-theme="dark"] .slot-empty {
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(91, 77, 255, .34), transparent 62%),
    radial-gradient(80% 70% at 100% 100%, rgba(255, 77, 158, .3), transparent 62%),
    #161617;
}
.dark .slot-empty svg, :root[data-theme="dark"] .slot-empty svg { fill: #fff; opacity: .16; }

/* A screen and a phone, drawn thin so the picture is the thing. */
.screen { border-radius: clamp(14px, 1.8vw, 26px); box-shadow: var(--shadow); background: #0b0b0d; padding: clamp(4px, .6vw, 9px); }
.screen > .slot { --r: clamp(10px, 1.3vw, 18px); }
.phone { border-radius: clamp(28px, 3.4vw, 50px); box-shadow: var(--shadow); background: #0b0b0d; padding: clamp(6px, .8vw, 11px); }
.phone > .slot { --r: clamp(22px, 2.7vw, 40px); }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card { background: var(--panel); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.story { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border-radius: var(--r); padding: clamp(26px, 3vw, 38px); transition: transform .45s cubic-bezier(.2, .7, .2, 1), background .3s; }
.story:hover { transform: translateY(-6px); }
.story-k { font-size: 14px; font-weight: 600; color: var(--grey); }
.story h3 { font-size: clamp(22px, 2.1vw, 28px); }
.story p { color: var(--grey); flex: 1; }
.story .more { margin-top: 8px; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Questions ────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details > p { padding: 0 48px 30px 0; color: var(--grey); max-width: 46em; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 6px; max-width: 480px; margin-inline: auto; text-align: left; }
.form label { font-size: 14px; font-weight: 600; margin-top: 14px; }
.form input, .form textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--page); font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder { color: var(--faint); }
.form input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(91, 77, 255, .16); }
.form .btn { margin-top: 18px; width: 100%; }
.form-row { display: flex; align-items: center; gap: 10px; }
.form-row span { color: var(--grey); white-space: nowrap; }
.form-err { color: var(--bad); font-size: 14px; min-height: 1.4em; margin-top: 8px; }
.form-ok { color: var(--ok); font-weight: 600; margin-top: 8px; }
.form-note { font-size: 14px; min-height: 1.4em; color: var(--grey); }
.form-note.ok { color: var(--ok); } .form-note.bad { color: var(--bad); }

/* ── Reading pages: stories, the small print, support ─────────────────────── */
.page-head { padding: clamp(64px, 9vw, 128px) 0 clamp(28px, 4vw, 56px); }
.page-head .eyebrow { color: var(--grey); margin-bottom: 14px; }
.page-head h1 { font-size: clamp(40px, 6vw, 76px); }
.page-head .lead { margin-top: 20px; max-width: 30em; }
.page-head .standfirst, .standfirst { margin-top: 18px; color: var(--grey); font-size: 15px; }
.prose { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.58; color: var(--ink-2); padding-bottom: clamp(72px, 9vw, 128px); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.12; letter-spacing: -.025em; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 21px; color: var(--ink); margin-top: 1.7em; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a.btn { color: var(--page); text-decoration: none; }
.prose a.more { text-decoration: none; }
.post-back { margin-top: clamp(40px, 5vw, 64px) !important; }
.prose a.btn-line { color: var(--ink); }
.prose a.btn-line:hover { color: var(--page); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose code { font: 500 .88em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--panel); border-radius: 7px; padding: .2em .45em; }
.prose blockquote { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.16; font-weight: 600; letter-spacing: -.028em; color: var(--ink); margin-block: 1.6em; text-wrap: balance; }
.prose figure { margin-block: 2em; }
.prose figure .slot, .prose figure img { border-radius: 20px; }
.prose figcaption { font-size: 14px; color: var(--grey); margin-top: 10px; }
.prose figcaption:empty { display: none; }
.prose .card { margin-top: 1.4em; }
.prose .card > * + * { margin-top: .7em; }
.prose .card h2, .prose .card h3 { margin-top: 0; font-size: 21px; letter-spacing: -.02em; }
.post-cta { background: var(--panel); border-radius: var(--r); padding: clamp(30px, 4vw, 52px); margin-top: clamp(48px, 6vw, 80px) !important; text-align: center; }
.post-cta h2 { margin-top: 0; font-size: clamp(26px, 3vw, 38px); }
.post-cta p { color: var(--grey); margin-top: 10px; }
.post-cta .btns { justify-content: center; margin-top: 24px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.foot { background: var(--panel); color: var(--grey); font-size: 12px; line-height: 1.35; letter-spacing: 0; padding: clamp(40px, 5vw, 64px) 0 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-cols h2 { font-size: 12px; line-height: 1.35; letter-spacing: 0; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.foot-cols a { display: block; padding: 4px 0; color: var(--ink-2); }
.foot-cols a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; }
.foot-legal { display: inline-flex; gap: 20px; margin-left: auto; }
.foot-legal a { color: var(--ink-2); }
.foot-legal a:hover { text-decoration: underline; }
@media (max-width: 720px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-legal { margin-left: 0; } }

/* ── Motion, the shared part ──────────────────────────────────────────────── */
/* [data-rise] comes up once as it is scrolled to. It is only ever hidden
   while the scripts that will show it again are known to be on the way. */
html.motion:not(.motion-ready) [data-intro] { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
