/* ==========================================================================
   Streek — waitlist site
   Light board built around the logo gray (#424242) + white.
   ========================================================================== */

:root {
  --bg: #eceeef;
  --bg-deep: #e2e5e7;
  --ink: #424242;
  --ink-soft: #424242;
  --muted: rgba(66, 66, 66, 0.62);
  --faint: rgba(66, 66, 66, 0.12);
  --line: rgba(66, 66, 66, 0.16);
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.65);
  --accent: #424242;
  --accent-deep: #333333;
  --accent-ink: #ffffff;
  --on-dark: #f5f5f5;
  --danger: #b42318;
  --font: 'Outfit', 'Avenir Next', 'Segoe UI', sans-serif;
  --shell: 1120px;
  --gutter: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Clip sideways spill so 100vw / transforms never create a horizontal gutter */
  overflow-x: clip;
  /* Stop reveal/layout shifts from yanking the viewport on first paint */
  overflow-anchor: none;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  background: linear-gradient(180deg, #f5f6f7 0%, var(--bg) 42%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Fine grain so the ground isn't a flat wash */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Slow ambient drift for pages without the hero atmosphere layer */
body::after {
  content: '';
  position: fixed;
  inset: -15%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(42% 36% at 18% 22%, rgba(66, 66, 66, 0.07), transparent 70%),
    radial-gradient(38% 32% at 82% 18%, rgba(255, 255, 255, 0.7), transparent 68%),
    radial-gradient(46% 40% at 70% 78%, rgba(66, 66, 66, 0.05), transparent 72%);
  animation: ambientDrift 26s ease-in-out infinite alternate;
}

body > *:not(.atmosphere) {
  position: relative;
  z-index: 1;
}

::selection { background: rgba(66, 66, 66, 0.18); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.72; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Atmosphere — soft orbs + icon streak path
   -------------------------------------------------------------------------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  will-change: transform;
}

.atmosphere__orb--a {
  width: min(52vw, 480px);
  aspect-ratio: 1;
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(66, 66, 66, 0.11), transparent 68%);
  animation: orbFloatA 22s ease-in-out infinite alternate;
}

.atmosphere__orb--b {
  width: min(48vw, 420px);
  aspect-ratio: 1;
  top: 28%;
  left: -14%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 70%);
  animation: orbFloatB 28s ease-in-out infinite alternate;
}

.atmosphere__orb--c {
  width: min(40vw, 360px);
  aspect-ratio: 1;
  bottom: 8%;
  right: 18%;
  background: radial-gradient(circle, rgba(66, 66, 66, 0.07), transparent 70%);
  animation: orbFloatC 24s ease-in-out infinite alternate;
}

.atmosphere__path {
  position: absolute;
  right: -8%;
  top: -4%;
  width: min(62vw, 720px);
  height: auto;
  opacity: 0.5;
  animation: pathBreathe 10s ease-in-out 2.6s infinite;
}

.atmosphere__stroke {
  stroke: rgba(66, 66, 66, 0.14);
  stroke-width: 22;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawPath 2.4s var(--ease) 0.2s forwards;
}

.atmosphere__node {
  fill: rgba(66, 66, 66, 0.12);
  opacity: 0;
  animation: fadeNode 0.6s var(--ease) forwards;
}
.atmosphere__node:nth-child(2) { animation-delay: 0.9s; }
.atmosphere__node:nth-child(3) { animation-delay: 1.15s; }
.atmosphere__node:nth-child(4) { animation-delay: 1.4s; }
.atmosphere__node:nth-child(5) { animation-delay: 1.65s; }

.atmosphere__wash {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(226, 229, 231, 0.88));
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeNode {
  to { opacity: 1; }
}

@keyframes ambientDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 1.8%, 0) scale(1.04); }
}

@keyframes orbFloatA {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-4%, 6%, 0); }
}

@keyframes orbFloatB {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(5%, -4%, 0); }
}

@keyframes orbFloatC {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-3%, -5%, 0); }
}

@keyframes pathBreathe {
  0%, 100% { opacity: 0.42; transform: translate3d(0, 0, 0); }
  50% { opacity: 0.58; transform: translate3d(-1.2%, 1%, 0); }
}

/* --------------------------------------------------------------------------
   Motion — reveals
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  overflow-anchor: none;
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    filter 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}

/*
  Intro choreography — transform/filter only (no layout), so scroll
  anchoring stays calm. Each step has a distinct entrance for hierarchy.
*/
.reveal[data-intro] {
  filter: none;
}

/* Topbar settles in from above */
.reveal[data-intro="1"] {
  transform: translate3d(0, -14px, 0);
  transition-duration: 0.7s;
}

/* Title: rise + soft deblur — the hero beat */
.reveal[data-intro="2"] {
  transform: translate3d(0, 40px, 0) scale(0.972);
  filter: blur(10px);
  transition-duration: 1.05s;
}

/* Lede follows the title */
.reveal[data-intro="3"] {
  transform: translate3d(0, 26px, 0);
  transition-duration: 0.9s;
}

/* CTA lifts in last */
.reveal[data-intro="4"] {
  transform: translate3d(0, 32px, 0) scale(0.97);
  transition-duration: 0.95s;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Brand mark pops after the topbar lands */
.reveal[data-intro="1"].is-in .brand__mark {
  animation: brandPop 0.7s var(--ease) 0.15s both;
}

@keyframes brandPop {
  0% { transform: scale(0.82); opacity: 0.4; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float {
  animation: floatY 5.8s var(--ease) infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal[data-intro],
  .reveal[data-intro="1"],
  .reveal[data-intro="2"],
  .reveal[data-intro="3"],
  .reveal[data-intro="4"] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .float,
  .atmosphere__stroke,
  .atmosphere__node,
  .atmosphere__path,
  .atmosphere__orb,
  .btn-spinner,
  .proof__live,
  body::after { animation: none; }
  .atmosphere__stroke { stroke-dashoffset: 0; }
  .atmosphere__node { opacity: 1; }
  .atmosphere__path { opacity: 0.5; }
  .hero__mark::after {
    transform: scaleX(1);
    transition: none;
  }
  .reveal[data-intro="1"].is-in .brand__mark {
    animation: none;
  }
  /* Static disc still signals “working” without spinning */
  .btn-spinner {
    border-color: rgba(255, 255, 255, 0.55);
    opacity: 0.85;
  }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

/* Padding-based shell — more reliable than width: 100% - gutters on mobile */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Brand / header
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { opacity: 1; color: var(--ink); }
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.topbar__links a {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

.topbar__links a:hover {
  color: var(--ink);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Hero — one composition: brand, line, sentence, CTA
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(20px, 5vh, 48px) clamp(36px, 7vh, 64px);
}

.hero__copy {
  min-width: 0;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto 18px;
  max-width: 14ch;
}

/* Brand punchline — soft marker underline draws in after the title lands */
.hero__mark {
  position: relative;
  display: inline-block;
}

.hero__mark::after {
  content: '';
  position: absolute;
  left: 0.01em;
  right: 0.01em;
  bottom: 0.02em;
  height: 0.11em;
  background: linear-gradient(
    90deg,
    transparent 0%,
    currentColor 10%,
    currentColor 90%,
    transparent 100%
  );
  opacity: 0.88;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 280ms);
}

.reveal.is-in .hero__mark::after {
  transform: scaleX(1);
}

.hero__lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 30px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Waitlist
   -------------------------------------------------------------------------- */

.waitlist {
  max-width: 520px;
  margin-inline: auto;
}

.waitlist__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(66, 66, 66, 0.08);
}

.waitlist__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 12px;
  caret-color: var(--ink);
}
.waitlist__input::placeholder { color: rgba(66, 66, 66, 0.4); }
.waitlist__input:focus { outline: none; }
.waitlist__input[aria-invalid="true"] {
  color: var(--danger);
}

.waitlist__submit {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, opacity 0.2s ease;
}
.waitlist__submit:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}
.waitlist__submit:active { transform: none; }
.waitlist__submit[disabled] { opacity: 0.72; cursor: progress; transform: none; }

/* Compact spinner used on waitlist + survey primary actions */
.btn-spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  flex: none;
}

.is-loading {
  cursor: progress;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.waitlist__fineprint {
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(66, 66, 66, 0.72);
}

.waitlist__emphasis {
  font-weight: 700;
  color: var(--ink);
}

.waitlist__error {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--danger);
}
.waitlist__error:empty { display: none; }

.waitlist__done {
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(66, 66, 66, 0.08);
}

.waitlist__done-message {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.waitlist__note {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.waitlist__note span {
  font-weight: 600;
  color: var(--ink);
}

.waitlist__reset {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 0 0 2px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
.waitlist__reset:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

/* --------------------------------------------------------------------------
   Post-signup survey (interactive surface — card treatment ok)
   -------------------------------------------------------------------------- */

.survey {
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow:
    0 24px 70px rgba(66, 66, 66, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  /* Options stay left-aligned inside the centered hero */
  text-align: left;
}

.survey__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.survey__eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.survey__progress {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  padding: 5px 10px;
  background: rgba(66, 66, 66, 0.08);
  border-radius: 999px;
}

.survey__progress-track {
  width: 100%;
  height: 5px;
  margin-bottom: 24px;
  overflow: hidden;
  background: rgba(66, 66, 66, 0.1);
  border-radius: 999px;
}

.survey__progress-bar {
  display: block;
  width: 11.111%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.survey__prompt {
  font-size: clamp(1.25rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 18px;
  text-wrap: pretty;
}

.survey__hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: -10px 0 16px;
}

.survey__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.survey__option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 11px 13px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(66, 66, 66, 0.03);
  cursor: pointer;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s var(--ease);
}
.survey__option:hover {
  border-color: rgba(66, 66, 66, 0.35);
  box-shadow: 0 8px 18px rgba(66, 66, 66, 0.08);
  transform: translateY(-1px);
}
.survey__option:has(input:checked) {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(66, 66, 66, 0.18);
}
.survey__option input {
  appearance: none;
  width: 19px;
  height: 19px;
  flex: none;
  background: #ffffff;
  border: 1.5px solid rgba(66, 66, 66, 0.36);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #ffffff;
  cursor: pointer;
}
.survey__option input[type="checkbox"] {
  border-radius: 6px;
}
.survey__option input:checked {
  background: var(--ink);
  border-color: #ffffff;
}
.survey__option input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.survey__other,
.survey__open {
  margin-top: 10px;
}

.survey__text,
.survey__textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  caret-color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.survey__text { height: 48px; }
.survey__textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.45;
}
.survey__text:focus,
.survey__textarea:focus {
  outline: none;
  border-color: rgba(66, 66, 66, 0.5);
  box-shadow: 0 0 0 3px rgba(66, 66, 66, 0.08);
}
.survey__text[aria-invalid="true"],
.survey__textarea[aria-invalid="true"] {
  border-color: rgba(180, 35, 24, 0.55);
}

.survey__meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(66, 66, 66, 0.42);
  font-variant-numeric: tabular-nums;
}

.survey__error {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--danger);
}
.survey__error:empty { display: none; }

.survey__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.survey__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    opacity 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.survey__btn--primary {
  flex: 1;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  box-shadow: 0 8px 18px rgba(66, 66, 66, 0.16);
}
.survey__btn--primary:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
  box-shadow: 0 12px 24px rgba(66, 66, 66, 0.2);
}
.survey__btn--primary[disabled] {
  opacity: 0.72;
  cursor: progress;
  transform: none;
}
.survey__btn--ghost {
  flex: 0 0 auto;
  min-width: 108px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.survey__btn--ghost:hover { background: rgba(66, 66, 66, 0.05); }
.survey__btn--ghost[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.survey__skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
.survey__skip:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.survey__skip[disabled] {
  opacity: 0.55;
  cursor: progress;
  border-bottom-color: transparent;
}
.survey__skip .btn-spinner {
  border-color: rgba(66, 66, 66, 0.2);
  border-top-color: var(--ink);
}

.survey.is-busy {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Proof / sections
   -------------------------------------------------------------------------- */

.proof {
  display: flex;
  justify-content: center;
  padding-block: 10px 22px;
}

/* Live waitlist count — distinct from the launch fineprint */
.proof__line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.proof__line::before,
.proof__line::after {
  content: '';
  width: clamp(28px, 6vw, 48px);
  height: 1px;
  background: var(--line);
}

.proof__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(66, 66, 66, 0.35);
  animation: proofPulse 2.2s ease-out infinite;
}

.proof__num {
  font-size: clamp(1.55rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.proof__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(66, 66, 66, 0.58);
}

@keyframes proofPulse {
  0% { box-shadow: 0 0 0 0 rgba(66, 66, 66, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(66, 66, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 66, 66, 0); }
}

.section {
  padding-block: clamp(56px, 9vw, 100px);
}

.section__head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.section__head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 48ch;
}

/* Steps — streak spine */
.steps {
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(66, 66, 66, 0.14));
  border-radius: 2px;
}

.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--faint);
}
.step:last-child { border-bottom: 0; }

.step__n {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 50%;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

/* Examples — challenge ledger, stake as the punchline */
.examples {
  display: flex;
  flex-direction: column;
}

.example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s var(--ease);
}

.example:hover {
  background: rgba(66, 66, 66, 0.04);
  padding-inline: 16px;
  margin-inline: -16px;
  border-radius: 12px;
}

.example__main h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  line-height: 1.15;
}

.example__main > p:not(.example__facts) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.example__facts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  color: rgba(66, 66, 66, 0.55);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Schedule / proof rows share the same labeled chip UI */
.example__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 600;
}

.example__meta-label {
  display: inline-block;
  padding: 3px 7px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 4px;
}

.example__stake {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.example__stake small {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(66, 66, 66, 0.52);
}

/* --------------------------------------------------------------------------
   Principles — same section rhythm as "How it works", with informative art.
   -------------------------------------------------------------------------- */

.principles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principle {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 34px) 0;
  border-bottom: 1px solid var(--faint);
}

.principle:last-child { border-bottom: 0; }

/* Blend the studio-white artwork into the page instead of framing it. */
.principle__art {
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 280px;
  background: transparent;
}

.principle__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(66, 66, 66, 0.14);
  mix-blend-mode: multiply;
}

.principle__copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.principle__copy p {
  margin: 0;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

/* FAQ */
.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.faq summary::after {
  content: '+';
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.faq[open] summary::after {
  content: '–';
  background: var(--accent-deep);
  color: var(--accent-ink);
  transform: rotate(180deg);
}

.faq p {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 58ch;
  text-wrap: pretty;
}

.faq p:has(+ ul) {
  padding-bottom: 10px;
}

.faq ul {
  margin: 0 0 14px;
  padding: 0 0 0 1.25em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 58ch;
  list-style: disc;
}

.faq li + li {
  margin-top: 0.35em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px 48px;
}

.site-footer__links {
  display: flex;
  gap: 22px;
}

.site-footer__links a {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}
.site-footer__links a:hover { color: var(--ink); opacity: 1; }
.site-footer .brand {
  color: var(--ink);
}
.site-footer .brand:hover {
  opacity: 1;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Privacy page
   -------------------------------------------------------------------------- */

.policy {
  max-width: 640px;
  padding-block: clamp(40px, 7vh, 72px) clamp(48px, 8vw, 80px);
}

.policy__date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.policy h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.policy p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.15em;
  text-wrap: pretty;
}

.policy p:last-child { margin-bottom: 0; }

.policy a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.policy a:hover { opacity: 0.7; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
  max-width: 520px;
  padding-block: clamp(56px, 12vh, 120px) clamp(48px, 8vw, 80px);
}

.not-found__code {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
}

.not-found h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.not-found p {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  text-wrap: pretty;
}

.not-found__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  transition: transform 0.2s var(--ease), background 0.2s ease, opacity 0.2s ease;
}

.not-found__cta:hover {
  background: var(--accent-deep);
  opacity: 1;
  transform: translateY(-1px);
}

.not-found__cta:active { transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .atmosphere__path {
    right: -28%;
    width: min(92%, 560px);
    opacity: 0.28;
  }

  .atmosphere__orb--a,
  .atmosphere__orb--b,
  .atmosphere__orb--c {
    opacity: 0.85;
  }

  .hero {
    padding-block: 8px clamp(28px, 6vh, 48px);
  }

  .hero__title {
    max-width: 12ch;
  }

  .hero__lede { max-width: none; }

  .waitlist { max-width: none; width: 100%; }

  .steps::before { left: 14px; }

  .example {
    gap: 16px 28px;
    align-items: start;
  }

  .example__stake {
    padding-top: 2px;
  }

  .principle {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .topbar {
    gap: 10px;
    padding-block: 14px;
    padding-top: max(14px, env(safe-area-inset-top, 0px));
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .hero__title {
    font-size: clamp(2rem, 8.2vw, 2.45rem);
    max-width: 11ch;
    margin-bottom: 14px;
  }

  .hero__lede {
    font-size: 1.08rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  .waitlist__row {
    flex-direction: column;
    border-radius: 16px;
    padding: 10px;
    gap: 8px;
  }

  .waitlist__submit,
  .waitlist__input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
  }

  .waitlist__input {
    padding: 0 14px;
  }

  .waitlist__fineprint {
    margin-top: 10px;
    line-height: 1.4;
  }

  .proof {
    padding-block: 6px 16px;
  }

  .proof__line {
    gap: 8px;
  }

  .proof__text {
    font-size: 0.68rem;
  }

  .section {
    padding-block: clamp(44px, 10vw, 72px);
  }

  .section__head {
    margin-bottom: 24px;
    max-width: none;
  }

  .section__head h2 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .principle {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
    padding: 22px 0;
  }

  .principle__art {
    width: min(100%, 360px);
    max-width: none;
  }

  .principle__copy h3 {
    font-size: 1.25rem;
  }

  .principle__copy p {
    font-size: 0.98rem;
  }

  .waitlist__done {
    padding: 22px 18px;
  }

  .survey {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .survey__progress-track {
    margin-bottom: 20px;
  }

  .survey__prompt {
    font-size: 1.22rem;
  }

  .survey__options {
    grid-template-columns: 1fr;
  }

  .survey__actions {
    flex-direction: column-reverse;
  }

  .survey__btn {
    width: 100%;
    min-width: 0;
  }

  .step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .step__n {
    width: 36px;
    height: 36px;
    font-size: 0.68rem;
  }

  .step h3 { font-size: 1.08rem; }

  .step p { font-size: 0.95rem; }

  .example {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    padding-block: 22px;
    align-items: start;
  }

  .example:hover {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .example__main h3 {
    font-size: 1.22rem;
  }

  .example__main > p:not(.example__facts) {
    font-size: 0.95rem;
  }

  .example__facts {
    margin-top: 10px;
    font-size: 0.82rem;
  }

  .example__stake {
    font-size: 1.45rem;
  }

  .faq summary {
    font-size: 1rem;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
  }

  .faq summary::after {
    width: 28px;
    height: 28px;
    margin-top: 1px;
  }

  .faq p {
    font-size: 0.95rem;
    padding-bottom: 16px;
  }

  .faq ul {
    font-size: 0.95rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-block: 28px max(36px, env(safe-area-inset-bottom, 0px));
  }

  .site-footer__links {
    gap: 18px;
  }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }

  .hero__title {
    font-size: clamp(1.85rem, 9vw, 2.15rem);
  }

  .hero__lede {
    font-size: 1.02rem;
  }

  .proof__line::before,
  .proof__line::after {
    width: 22px;
  }

  .proof__num {
    font-size: 1.4rem;
  }

  .proof__text {
    font-size: 0.64rem;
  }
}

/* Only shrink the mark on very narrow screens */
@media (max-width: 340px) {
  .brand__mark {
    width: 38px;
    height: 38px;
  }
}
