/* getusta.com v4. One dark page: a scroll-scrubbed film, then plain sections. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0e1118;
  --night-2: #161b26;
  --night-3: #1f2533;
  --ink: #ebe8e0;
  --ink-soft: #a4a9b6;
  --rule: rgba(235, 232, 224, 0.13);
  --lamp: #ffc75e;
  --lamp-ink: #1c1406;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --text: "Geist", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 64px;
  --r-s: 10px;
  --r-m: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 30;
  background: var(--lamp); color: var(--lamp-ink); padding: 10px 14px; border-radius: var(--r-s);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons: one primary style, the lamp. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 600 0.975rem/1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms ease-out, background-color 140ms ease-out;
}
.btn--lamp { background: var(--lamp); color: var(--lamp-ink); }
.btn--lamp:hover { background: #ffd47f; }
.btn--lamp:active { transform: translateY(1px) scale(0.98); }

/* ---------- Nav (z 20) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  background: linear-gradient(rgba(14, 17, 24, 0.72), rgba(14, 17, 24, 0));
  transition: background-color 200ms ease-out;
}
.nav.is-solid { background: rgba(14, 17, 24, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-right: 6px; text-decoration: none; font: 700 1.25rem/1 var(--display); letter-spacing: -0.01em; }
.nav__brand img { width: 32px; height: 32px; border-radius: 50%; background: var(--night-3); }
.nav__links { display: flex; gap: 14px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; transition: color 140ms ease-out; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: 0.925rem; }
/* Log in: a quiet secondary action for people who already have an account. Its own dark fill keeps the
   label legible over any film frame; the waitlist stays the one lamp button. */
.nav__login {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 16px;
  margin-right: -14px; border-radius: 999px; border: 1px solid rgba(235, 232, 224, 0.24);
  background: rgba(14, 17, 24, 0.72); color: var(--ink); font: 500 0.925rem/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}
.nav__login:hover { background: var(--night-3); border-color: rgba(235, 232, 224, 0.4); }
/* Phones: the sections live in a small menu (native details, no script). */
.nav__menu { display: none; position: relative; margin-left: auto; }
.nav__menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--rule); color: var(--ink); font: 500 0.925rem/1 var(--text);
}
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu[open] summary { background: var(--night-3); }
.nav__menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 12rem; padding: 6px;
  background: var(--night-2); border: 1px solid var(--rule); border-radius: var(--r-s); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.nav__menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; }
.nav__menu nav a:hover { background: var(--night-3); }
.nav__menu nav .nav__menu-login { margin-top: 6px; border-top: 1px solid var(--rule); border-radius: 0 0 8px 8px; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.nav__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--lamp); opacity: 0.85; }
.film-static .nav__progress { display: none; }

/* ---------- Film ---------- */
.film { position: relative; background: var(--night); }
.film__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.film-live .film__stage { position: sticky; top: 0; }
.film__poster, .film__poster img, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__mark { position: absolute; left: 0; width: 1px; pointer-events: none; visibility: hidden; }
.film__poster img { object-fit: cover; object-position: 50% 50%; }
.film__canvas { display: none; }
.film-live .film__canvas { display: block; opacity: 0; transition: opacity 400ms ease-out; }
.film-live.film-painted .film__canvas { opacity: 1; }
.film__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 12, 18, 0.88) 0%, rgba(10, 12, 18, 0.55) 26%, rgba(10, 12, 18, 0) 52%),
    linear-gradient(to right, rgba(10, 12, 18, 0.78) 0%, rgba(10, 12, 18, 0.5) 34%, rgba(10, 12, 18, 0) 62%);
  transition: opacity 300ms ease-out;
}
/* Once the film rolls, captions sit top left, so the shade moves up with them. */
.film__shade--top {
  opacity: 0;
  background:
    linear-gradient(to bottom, rgba(10, 12, 18, 0.9) 0%, rgba(10, 12, 18, 0.66) 24%, rgba(10, 12, 18, 0) 46%),
    radial-gradient(64% 60% at 0% 0%, rgba(10, 12, 18, 0.88), rgba(10, 12, 18, 0.58) 55%, rgba(10, 12, 18, 0) 100%);
}
.film-live .film.is-rolling .film__shade { opacity: 0; }
.film-live .film.is-rolling .film__shade--top { opacity: 1; }

/* The hero sits over the first screen of the film and scrolls away with the page. */
.hero {
  position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(40px, 8vh, 88px);
  pointer-events: none;
}
.hero > * { pointer-events: auto; max-width: 40rem; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96; max-width: 11.5em;
}
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: #d9d6ce; max-width: 34rem; line-height: 1.5; }
.hero__act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.hero__act span { color: #bfc3cd; font-size: 0.925rem; text-shadow: 0 1px 12px rgba(8, 10, 14, 0.7); }
/* A quiet cue that scrolling plays the film; it goes as soon as the film moves. */
.hero__cue { display: none; }
.film-live .hero__cue {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  color: var(--ink-soft); font: 500 0.875rem/1 var(--text); letter-spacing: 0.01em;
  transition: opacity 240ms ease-out;
}
.film-live .hero__cue::after { content: ""; width: 1px; height: 22px; background: linear-gradient(var(--lamp), rgba(255, 199, 94, 0)); }
.film-live .film.is-rolling .hero__cue { opacity: 0; }

/* Chapter rail, left, like a table of contents that follows the film. */
.film__rail { display: none; }
/* A row along the bottom edge, clear of the captions (top left) and the hero.
   Hidden, and out of the tab order, until the hero has scrolled away. */
.film-live .film__rail {
  display: flex; flex-direction: row; gap: 0;
  position: absolute; left: calc(var(--gutter) - 10px); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 4;
  list-style: none; margin: 0; padding: 0 6px;
  border-radius: 14px; background: rgba(10, 12, 18, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  visibility: hidden; opacity: 0; transition: opacity 300ms ease-out, visibility 0s linear 300ms;
}
.film-live .film.is-rolling .film__rail { visibility: visible; opacity: 1; transition: opacity 300ms ease-out; }
.film__rail li { position: relative; }
.film__rail button {
  display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none;
  color: #c9ccd5; font: 500 0.8125rem/1 var(--text); cursor: pointer;
}
.film__rail i { display: block; width: 14px; height: 3px; border-radius: 2px; background: rgba(235, 232, 224, 0.4); transition: width 220ms ease-out, background-color 220ms ease-out; }
/* The chapter name appears above its mark on hover or keyboard focus. */
.film__rail span {
  position: absolute; bottom: calc(100% + 6px); left: 50%; white-space: nowrap; pointer-events: none;
  padding: 6px 10px; border-radius: 8px; background: rgba(10, 12, 18, 0.9); color: var(--ink);
  opacity: 0; transform: translate(-50%, 4px); transition: opacity 160ms ease-out, transform 160ms ease-out;
}
.film__rail button:hover span, .film__rail button:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.film__rail button[aria-current="step"] { color: var(--ink); }
.film__rail button[aria-current="step"] i { width: 28px; background: var(--c); }

/* Captions: one line per chapter, bottom left, over the shade. */
.film__caps { display: none; }
.film-live .film__caps {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + clamp(28px, 6vh, 64px)); z-index: 3;
  pointer-events: none;
}
.cap {
  position: absolute; left: 0; top: 0; max-width: 21ch; visibility: hidden; opacity: 0;
  font: 500 clamp(1.5rem, 2.5vw, 2.35rem)/1.12 var(--display); letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48; text-wrap: balance;
  text-shadow: 0 1px 24px rgba(8, 10, 14, 0.55);
}
/* Captions switch at once, with no fade: a fade would leave two half-visible
   after a fast jump. Hidden captions also carry opacity 0 for tools that read it. */
.cap.is-on { visibility: visible; opacity: 1; }
/* The opening ends on the bright phone screen, right behind its caption. A soft
   local backdrop keeps that caption readable; it is a sibling of the captions,
   so it is part of the background they are read against. */
.film-live .film__caps::before {
  content: ""; position: absolute; left: -56px; top: -64px; width: min(40rem, 50vw); height: 24rem;
  border-radius: 50%; background: rgba(10, 12, 18, 0.82); filter: blur(34px); opacity: 0;
}
.film-live .film__caps:has(.cap--lead.is-on)::before { opacity: 1; }
.cap small, .board__scene small {
  display: block; margin-top: 14px; max-width: 34ch;
  font: 500 1rem/1.45 var(--text); letter-spacing: 0; color: #e2dfd7;
}
.cap b, .board__scene b {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font: 600 0.95rem/1 var(--text); letter-spacing: 0;
  color: color-mix(in oklab, var(--c, var(--ink)) 72%, white);
}
.cap b::before, .board__scene b::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--c, var(--ink)); }

/* The film is an illustration; say so while it plays. And let readers skip it. */
.film__label, .film__skip { display: none; }
.film-live .film__label {
  display: block; position: absolute; z-index: 4; right: var(--gutter); top: calc(var(--nav-h) + 14px);
  padding: 7px 12px; border-radius: 999px; background: rgba(10, 12, 18, 0.78);
  color: var(--ink); font: 500 0.8125rem/1.2 var(--text);
  opacity: 0; transition: opacity 300ms ease-out;
}
.film-live .film__skip {
  display: inline-flex; align-items: center; position: absolute; z-index: 4; right: var(--gutter); bottom: max(20px, env(safe-area-inset-bottom));
  min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(10, 12, 18, 0.78); border: 1px solid var(--rule);
  color: var(--ink); font: 500 0.875rem/1 var(--text); text-decoration: none;
  opacity: 0; transition: opacity 300ms ease-out;
}
.film-live .film.is-settled .film__label, .film-live .film.is-settled .film__skip, .film-live .film__skip:focus-visible { opacity: 1; }
.film-live .film:not(.is-settled) .film__skip:not(:focus-visible) { pointer-events: none; }

/* Static storyboard: shown without JS or WebGL and under reduced motion. While the
   film plays it stays in the accessibility tree as the film's text alternative. */
.board__wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(40px, 8vh, 96px) var(--gutter) 0; }
.board__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; }
.board__alt { display: none; }
.film-live .board picture { display: none; }
.film-live .board__alt { display: block; }
.film-live .board__wrap {
  position: absolute; bottom: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.board { list-style: none; margin: 0; padding: clamp(28px, 5vh, 56px) 0 24px; display: grid; gap: clamp(28px, 5vh, 56px); }
.board__scene { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.board__scene img { border-radius: var(--r-m); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--night-2); }
.board__scene p { font: 500 clamp(1.25rem, 2vw, 1.75rem)/1.2 var(--display); letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance; }
/* Every static scene carries the development label next to its caption. */
.board__scene .board__dev { font: 500 0.875rem/1.4 var(--text); letter-spacing: 0.01em; color: var(--ink-soft); max-width: none; margin-bottom: 10px; }
/* While the film plays, the storyboard is its text alternative: say it once. */
.film-live .board__scene:not(:first-child) .board__dev { display: none; }
.film-static .film__stage { height: 100vh; height: 100svh; }

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 10vh, 120px) 0 0; position: relative; z-index: 1; background: var(--night); }
.how h2, .approval h2, .faq h2, .join h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; font-variation-settings: "opsz" 96; }
.lead { margin-top: 18px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #d4d1c9; max-width: 38rem; }
.steps__label { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }
.steps { list-style: none; counter-reset: step; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
/* Each step shows the shift sheet at that point; the number sits under the picture. */
.steps__art {
  display: block; width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 18px;
  border-radius: var(--r-m); background: var(--night-2); border: 1px solid var(--rule);
}
.steps li:has(.steps__art) { padding-top: 0; }
.steps li:has(.steps__art)::before { position: static; display: block; margin-bottom: 12px; font-size: 2rem; }
.steps li:has(.steps__art)::after { display: none; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font: 600 2.75rem/1 var(--display); color: var(--lamp); font-variation-settings: "opsz" 96;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: -12px; height: 1px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* The team, standing on one floor. */
.cast { margin-top: clamp(96px, 14vh, 160px); padding-bottom: clamp(80px, 12vh, 140px); background: radial-gradient(60% 70% at 50% 100%, rgba(255, 199, 94, 0.10), rgba(255, 199, 94, 0) 70%); }
.cast__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; }
.cast__lead { margin-top: 10px; color: var(--ink-soft); max-width: 36rem; }
.lineup {
  list-style: none; margin: clamp(40px, 6vh, 64px) auto 0; padding: 0 var(--gutter);
  width: min(1320px, 100%);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 20px); align-items: end;
}
.lineup__member { text-align: center; }
.lineup__art { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 150px; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.lineup__art img { width: auto; height: 118px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.lineup__art .lineup__kid { position: absolute; height: 44px; right: 4%; bottom: 2px; }
.lineup__member--usta .lineup__art { height: 250px; }
.lineup__member--usta .lineup__art img { height: 236px; }
.lineup__member h4 { margin-top: 16px; font-size: 1.1rem; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.lineup__member h4::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.lineup__member--usta h4::before { background: var(--lamp); }
.lineup__member p { margin: 6px auto 0; color: var(--ink-soft); font-size: 0.925rem; line-height: 1.45; max-width: 16ch; }
.lineup__member--usta p { max-width: 22ch; color: var(--ink); }

/* ---------- Approval ---------- */
.approval { padding: clamp(96px, 16vh, 180px) 0; background: var(--night-2); border-top: 1px solid var(--rule); }
.approval__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.approval__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.approval__head h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.approval__head p { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; }
.rules { margin: 0; display: grid; gap: 0; }
.rules > div { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.rules > div:first-child { padding-top: 6px; }
.rules dt { font: 600 1.3rem/1.2 var(--display); letter-spacing: -0.01em; }
.rules dd { margin: 8px 0 0; color: var(--ink-soft); max-width: 34rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(96px, 16vh, 180px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--rule); }
.faq__list details:first-child { border-top: 1px solid var(--rule); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 16px 0; font: 600 1.15rem/1.3 var(--display); letter-spacing: -0.005em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--text); color: var(--lamp); transition: transform 180ms ease-out; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 44rem; }

/* ---------- Waitlist ---------- */
.join { padding: 0 0 clamp(96px, 14vh, 160px); }
.join__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px;
  background: radial-gradient(80% 90% at 0% 100%, rgba(255, 199, 94, 0.16), rgba(255, 199, 94, 0) 60%), var(--night-2);
  border: 1px solid var(--rule);
}
.join__usta { width: 112px; height: auto; margin-bottom: 20px; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5)); }
.join__copy p { margin-top: 16px; color: #d4d1c9; max-width: 30rem; }
.join__form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.925rem; font-weight: 500; color: var(--ink); }
.field input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #7d828d; background: var(--night); color: var(--ink);
  font: 400 1rem/1.3 var(--text);
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.field input:hover { border-color: #a3a8b3; }
.field input:focus { outline: none; border-color: var(--lamp); box-shadow: 0 0 0 3px rgba(255, 199, 94, 0.25); }
.field input[aria-invalid="true"] { border-color: #ff8a7a; }
.field__error { color: #ffb0a4; font-size: 0.875rem; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join__form .btn { justify-self: start; min-height: 50px; padding: 0 26px; font-size: 1rem; }
.join__form .btn[disabled] { opacity: 0.6; cursor: progress; }
.join__note { font-size: 0.875rem; color: var(--ink-soft); }
.join__note + .join__note { margin-top: -12px; }
.join__privacy { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-left: -6px; padding: 0 6px; }
.join__status { min-height: 1.5em; font-weight: 500; }
.join__status.is-ok { color: #b9e7a5; }
.join__status.is-error { color: #ffb0a4; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: 32px 0 40px; color: var(--ink-soft); font-size: 0.925rem; }
.foot__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot__row .nav__brand { color: var(--ink); margin-right: auto; }
.foot__row a:not(.nav__brand) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }

/* ---------- Privacy page ---------- */
.doc { padding: calc(var(--nav-h) + 64px) 0 120px; }
.doc .wrap { max-width: 44rem; }
.doc h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.05; }
.doc h2 { font-size: 1.4rem; margin: 44px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #d4d1c9; }
.doc p + p { margin-top: 12px; }
.doc__mail { display: inline-flex; align-items: center; min-height: 44px; }
.doc ul { padding-left: 1.2em; margin: 12px 0 0; }
.doc li + li { margin-top: 6px; }
.doc .doc__meta { margin-top: 14px; color: var(--ink-soft); }
.nav--doc { background: rgba(14, 17, 24, 0.94); border-bottom: 1px solid var(--rule); }

/* ---------- Phones and narrow screens ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps li:nth-child(2)::after { display: none; }
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .lineup__member--usta { grid-column: 1 / -1; order: -1; }
  .approval__grid, .faq__grid, .join__grid { grid-template-columns: minmax(0, 1fr); }
  .approval__head { position: static; }
}
@media (max-width: 820px) {
  :root { --nav-h: 56px; }
  .nav { gap: 14px; }
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav__cta { min-height: 44px; padding: 0 14px; font-size: 0.875rem; }
  .nav__login { display: none; }
  /* The privacy page has no menu, so its Log in stays in the bar. */
  .nav--doc .nav__login { display: inline-flex; margin-left: auto; margin-right: -4px; padding: 0 12px; font-size: 0.875rem; }
  .film-live .film__rail { display: none; }
  .board__scene { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .board__scene img { aspect-ratio: 4 / 5; }
}
@media (max-width: 820px) and (orientation: portrait) {
  /* The film plays in a 4:5 band under the nav; words live in the dark below it. */
  .film-live.film-painted .film__poster { display: none; }
  .film__shade { background: linear-gradient(to bottom, var(--night) 0%, var(--night) 50%, rgba(10, 12, 18, 0) 62%); }
  .film-live .film__shade { background: none; }
  .film-live .film__caps::before { content: none; }   /* phone captions sit on the dark below the band */
  /* The words come first on a phone; the film sits below them, then rises. */
  .hero { justify-content: flex-start; gap: 14px; padding-top: calc(var(--nav-h) + 32px); }
  .film__poster { top: 50%; height: 50%; }
  .film__poster img { object-position: 50% 30%; }
  .film-live .film__label { top: auto; bottom: calc(100% - var(--band-b, 60vh) + 12px); right: var(--gutter); }
  .film-live .film__skip { bottom: max(16px, env(safe-area-inset-bottom)); }
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .hero__sub { font-size: 1.02rem; }
  .film-live .film__caps { left: var(--gutter); top: calc(var(--band-b, 60vh) + 22px); }
  .film-live .film.is-rolling .film__shade--top { opacity: 0; }
  .cap { max-width: none; font-size: clamp(1.35rem, 6vw, 1.7rem); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  /* On a phone each step is a row: the picture beside its words. */
  .steps li:has(.steps__art) { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .steps li:has(.steps__art)::before { grid-column: 2; margin-bottom: 6px; font-size: 1.5rem; }
  .steps__art { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; }
  .steps li:has(.steps__art) h3, .steps li:has(.steps__art) p { grid-column: 2; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup__art { height: 130px; }
  .lineup__art img { height: 100px; }
  .lineup__member--usta .lineup__art { height: 210px; }
  .lineup__member--usta .lineup__art img { height: 196px; }
  .foot__row { gap: 16px; }
}
/* Under 360px the header keeps the logo mark and drops the wordmark, so Menu or Log in never runs into it
   (the link keeps its accessible name). */
@media (max-width: 359px) {
  header.nav .nav__brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
