/*
 * Creator marketing pages (index, creators). Palette and type come from
 * tokens.css; this file is layout and components only.
 *
 * Brand (1.7.0): black ground, graphite cards, one champagne accent, bone
 * for alternating sections. Archivo 900 sets every headline (never under
 * 22px); Inter sets body, labels and buttons. Flat: the only shadow is the
 * soft drop under device mockups.
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Page-to-page fade (Chrome, Edge, Safari 18.2+; others just navigate). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--on-surface);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Short pages (the Apply confirmation) keep the footer at the bottom. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* A creator's color, used for the glow behind each app capture. */
:root { --brand: #FF4D5E; }

.sec--light { background: var(--background); color: var(--on-surface); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Black ink on champagne, always. */
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--on-surface); border-color: var(--border); }
.btn-dark { background: var(--black); color: var(--white); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled { background: var(--background); border-bottom-color: var(--divider); }

/* 32px keeps the RACKD. letters at the logo's 20px minimum type height. */
.nav-logo { display: block; height: 20px; width: auto; aspect-ratio: 603.69 / 110; }

.nav-right { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.6rem); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.6rem); }
.nav-links a {
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-surface); }
.nav .btn { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: -0.5rem;
  background: none; border: 0; color: var(--on-surface); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Full-height sheet on phones. z-index must beat .nav (100), or the bar
   paints over the close button. */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 0.8rem clamp(1rem, 4vw, 2rem) 2rem;
  background: var(--background);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-menu[data-open="true"] { display: flex; }
.nav-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--divider);
}
.nav-menu-links { display: flex; flex-direction: column; gap: 0.25rem; padding-top: 1.5rem; }
.nav-menu-links a {
  padding: 0.8rem 0;
  color: var(--on-surface); font-size: 1.3rem; font-weight: 700; text-decoration: none;
}
.nav-menu-links a.is-cta { color: var(--accent-ink); }
.nav-menu[data-open="true"] .nav-menu-head,
.nav-menu[data-open="true"] .nav-menu-links { animation: sheet-in 0.26s ease both; }
.nav-menu[data-open="true"] .nav-menu-links a { animation: sheet-in 0.3s ease both; }
.nav-menu[data-open="true"] .nav-menu-links a:nth-child(2) { animation-delay: 0.03s; }
.nav-menu[data-open="true"] .nav-menu-links a:nth-child(3) { animation-delay: 0.06s; }
.nav-menu[data-open="true"] .nav-menu-links a:nth-child(4) { animation-delay: 0.09s; }
.nav-menu[data-open="true"] .nav-menu-links a:nth-child(5) { animation-delay: 0.12s; }
.nav-menu[data-open="true"] .nav-menu-links a:nth-child(6) { animation-delay: 0.15s; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body[data-menu-open="true"] { overflow: hidden; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-right { display: none; }
}
@media (min-width: 900px) {
  .nav-menu { display: none !important; }
}

/* ── Section scaffolding ─────────────────────────────────────────────── */
.sec { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.sec--tight-top { padding-top: 0; }

.eyebrow {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow--muted { color: var(--muted); }

/* Archivo. Archivo Expanded Black sets ~1.3x wider than the Inter Bold these
   layouts were drawn in, so each size is the original divided by 1.3: the
   same line breaks, never a size below the brand's 22px floor. */
.h-display, .h-section {
  font-family: var(--font-display);
  font-weight: 900;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(2.05rem, 4.9vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h-section {
  font-size: clamp(1.65rem, 3.7vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.accent { color: var(--accent-ink); }
.muted-head { color: var(--muted); }
/* web-lead (26) on desktop. */
.lede { font-size: clamp(1.125rem, 2vw, 1.625rem); line-height: 1.45; color: var(--body); max-width: 620px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
/* web-headline (60) in the half-width hero column: Archivo is expanded, and
   at 72 each line ("Your audience.") breaks in two. */
.hero .h-display { margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: 2rem; }
.hero .lede strong { color: var(--on-surface); font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.875rem; color: var(--muted); }
.hero-note a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }
.hero-note a:hover { color: var(--on-surface); }

.hero-media { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.hero-photo {
  position: absolute;
  left: 0;
  top: 8%;
  width: 46%;
  height: 84%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* A real app capture in a device frame. The glow in the creator's color is
   what lifts it off the photo behind it: the one place the site uses a
   shadow (the soft drop under device mockups). */
:root { --glow: #D8BF8A; }
.device {
  position: relative;
  z-index: 1;
  border: 6px solid var(--graphite);
  border-radius: 34px;
  overflow: hidden;
  background: var(--black);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 90px -10px color-mix(in srgb, var(--brand, var(--glow)) 55%, transparent),
    0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.device img { width: 100%; }
.device--hero { width: min(290px, 64%); --brand: #FF4D5E; }

/* The hero fills the first screen; the arrow says there is more. */
.hero--full {
  min-height: calc(100vh - 60px);
  min-height: calc(100svh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scroll-hint {
  display: flex;
  width: 44px; height: 44px;
  margin: clamp(1.5rem, 4vh, 2.5rem) auto 0;
  align-items: center; justify-content: center;
  color: var(--body);
  border-radius: 50%;
  transition: color 0.2s;
}
.scroll-hint:hover { color: var(--on-surface); }
.scroll-hint svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}
/* ── Stats ───────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.stat {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
}
.stat dt { font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 1.6rem); font-weight: 900; letter-spacing: -0.015em; line-height: 1.15; }
.stat dd { margin-top: 0.4rem; font-size: 0.875rem; color: var(--body); line-height: 1.4; }

/* ── Statement + photo band ──────────────────────────────────────────── */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement .h-section { margin-bottom: 1.25rem; }
.statement .lede { margin: 0 auto; }

.band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(320px, 48vw, 520px);
  display: flex;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-copy { position: relative; padding: clamp(1.5rem, 5vw, 3rem); }

.band--split::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, 0.6) 100%);
}
.band--split { flex-direction: column; justify-content: space-between; }
.band--split .band-copy { z-index: 1; font-family: var(--font-display); font-size: clamp(1.375rem, 3.4vw, 2.15rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; color: var(--white); }
.band--split .band-copy + .band-copy { text-align: right; }

.band-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #E4DCD2;
}
.band-photo img { width: 100%; }
.band-photo .band-copy {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 4.5% 1.5rem 0;
  text-align: center;
  color: #5B4034;
}
/* The copy colors are sampled from the photo's backdrop, not the palette. */
.band-photo h2 { max-width: 24ch; margin: 0 auto; font-family: var(--font-display); font-size: 1.375rem; font-weight: 900; letter-spacing: -0.015em; line-height: 1.15; }
.band-photo p { max-width: 36ch; margin: 0.5rem auto 0; font-size: clamp(0.72rem, 1.15vw, 0.92rem); font-weight: 600; color: #7A5E51; }
@media (max-width: 700px) {
  /* Too narrow for copy over the photo, so it sits on the photo's own
     backdrop color above it, and the photo fades up into it: one surface,
     no seam. */
  .band-photo { display: flex; flex-direction: column-reverse; background: #E2D4CA; }
  .band-photo img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
    margin-top: -12%;
  }
  .band-photo .band-copy { position: relative; z-index: 1; padding: 2rem 1.5rem 0; }
  .band-photo h2 { font-size: 1.375rem; }
  .band-photo p { font-size: 0.9rem; }
}

/* ── Cards ───────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.55rem; }
.card p { font-size: 0.95rem; color: var(--body); }
.card-icon { width: 24px; height: 24px; margin-bottom: 1rem; stroke: var(--accent-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.own-question { max-width: 860px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }

/* Followers vs Members: the problem muted on the left, the answer lit on
   the right. The right side is the one that carries the action. */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.versus-side { border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); }
.versus-side--rented { border: 1px dashed var(--border); }
.versus-side--yours {
  background: var(--surface);
  border: 1px solid var(--accent-line);
}
.versus-side h3 { font-family: var(--font-display); font-size: clamp(1.375rem, 2.8vw, 1.85rem); font-weight: 900; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 1.5rem; }
.versus-side--yours h3 { color: var(--on-surface); }
.versus-side--rented h3 { color: var(--muted); }
.versus-side ul { list-style: none; display: grid; gap: 1.1rem; }
.versus-side li { position: relative; padding-left: 2rem; font-size: 1rem; color: var(--body); }
.versus-side li strong { display: block; color: var(--on-surface); font-weight: 600; margin-bottom: 0.15rem; }
.versus-side li::before {
  content: ''; position: absolute; left: 0; top: 0.3rem;
  width: 18px; height: 18px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
/* An x on the rented side, a check on yours. */
.versus-side--rented li::before {
  border: 1.5px solid var(--border);
  /* Data URIs cannot read custom properties: white at 60% is --muted. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-opacity='0.6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.versus-side--yours li::before {
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BF8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.versus-side--yours .btn { margin-top: 2rem; }
@media (max-width: 760px) {
  .versus { grid-template-columns: 1fr; }
}

/* ── "Built for you" examples ────────────────────────────────────────── */
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 2.5rem;
}
.example { position: relative; padding: 0 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.example .device { max-width: 240px; margin: 0 auto; }
.example-portrait {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 2.4rem;
  width: 40%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
}
.example-caption { margin-top: 0.9rem; text-align: center; font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
.examples-note { font-size: 0.8125rem; color: var(--muted); margin-top: 1rem; }

/* ── Steps ───────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  list-style: none;
  counter-reset: step;
}
.step { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--background);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
/* The rule joining one number to the next. */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 54px;
  right: -1rem;
  height: 2px;
  background: var(--accent-line);
}
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: var(--body); }

.features .h-section { margin-bottom: 2.5rem; }

/* ── Members ─────────────────────────────────────────────────────────── */
.members .h-section { margin-bottom: 2.5rem; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.pillar { border-top: 3px solid var(--accent-line); padding-top: 1rem; }
.pillar-num { font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.pillar h3 { font-size: 1.125rem; font-weight: 700; margin: 0.3rem 0 0.5rem; }
.pillar p { font-size: 0.95rem; color: var(--body); }
.members-foot { margin-top: 2.5rem; font-size: 1.125rem; font-weight: 600; }
.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--on-surface);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-ink);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--accent-ink); }

/* ── Earnings ────────────────────────────────────────────────────────── */
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.earn-big { font-family: var(--font-display); font-size: clamp(3.65rem, 8.5vw, 5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.05em; margin-bottom: 1.5rem; }
.earn-copy .lede { margin-bottom: 1rem; }
.earn-copy .lede strong { color: var(--on-surface); font-weight: 600; }
.earn-fine { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.75rem; max-width: 520px; }

.calc {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3.5vw, 2rem);
}
.calc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.calc-top label { font-size: 0.9rem; font-weight: 600; }
.calc-top output { font-size: 1.35rem; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent) var(--fill, 25%), var(--smoke) var(--fill, 25%));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--accent); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--accent); cursor: grab;
}
input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }

.calc-field { margin-bottom: 1.4rem; }
.calc-field .calc-top { margin-bottom: 0.7rem; }
.calc-hint { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
.calc-divider { border: 0; border-top: 1px solid var(--divider); margin: 1.5rem 0 0; }

/* Segmented control: the selected segment is the accent, as in the app. */
.rail { display: flex; gap: 0.3rem; padding: 0.3rem; background: var(--background); border-radius: var(--radius-md); margin-bottom: 0.5rem; }
.rail button {
  flex: 1; min-height: 40px; border: 0; border-radius: 9px;
  background: transparent; color: var(--body);
  font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.rail button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rail button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
fieldset.calc-field { border: 0; }
fieldset.calc-field legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.7rem; }

.breakdown { margin-top: 1.25rem; border-top: 1px solid var(--divider); padding-top: 0.9rem; }
.breakdown div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; font-size: 0.9375rem; }
.breakdown dt { color: var(--body); }
.breakdown dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.breakdown .deduct dd { color: var(--body); font-weight: 500; }
.breakdown .total { border-top: 1px solid var(--divider); margin-top: 0.4rem; padding-top: 0.75rem; }
.breakdown .total dt, .breakdown .total dd { color: var(--on-surface); font-weight: 700; }
.per-sub { margin-top: 0.8rem; font-size: 0.875rem; font-weight: 600; color: var(--accent-ink); }
[data-rail="store"] .link-only, [data-rail="link"] .store-only { display: none; }

.calc-label { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--body); }
.calc-year { margin: 0.4rem 0 0.55rem; font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-month { font-size: 0.875rem; color: var(--body); margin-bottom: 1.25rem; }
.calc-note { background: var(--background); border-radius: var(--radius-md); padding: 0.9rem 1rem; font-size: 0.875rem; color: var(--body); }
.calc-note strong { display: block; color: var(--on-surface); font-weight: 600; margin-bottom: 0.2rem; }
.calc-disclaimer { margin-top: 1rem; font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* ── Results split ───────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-xl); }
.split .h-section { margin-bottom: 1.1rem; }

/* ── Launch kit ──────────────────────────────────────────────────────── */
.kit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 900px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}
/* 9:16 story ads, finished art from the design. */
.story-ad {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ── Apply ───────────────────────────────────────────────────────────── */
.apply .h-display { font-size: clamp(1.7rem, 4.6vw, 3.1rem); margin-bottom: 1rem; }
.apply .lede { margin-bottom: 2.5rem; }
.apply-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--on-surface);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  min-height: 44px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--focus);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: 0.9375rem; color: var(--body); }
.form-status[data-kind="ok"] { color: var(--success); }
.form-status[data-kind="error"] { color: var(--error); }
.form-fine { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); }
.form-fine a { color: var(--body); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--divider); }
.faq details:first-of-type { border-top: 1px solid var(--divider); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0.4rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); border-color: var(--accent-ink); }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.faq-body { padding: 0 1rem 1.25rem 0; color: var(--body); font-size: 1rem; }
.faq-body p + p { margin-top: 0.75rem; }
.faq-body strong { color: var(--on-surface); font-weight: 600; }

/* ── Detailed steps (earnings page) ──────────────────────────────────── */
.steps-list { list-style: none; display: grid; gap: 1.75rem; max-width: 720px; }
.steps-list li { display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; }
.steps-list h3 { font-size: 1.125rem; font-weight: 700; margin: 0.55rem 0 0.35rem; }
.steps-list p { color: var(--body); font-size: 1rem; }
.steps-list p + p { margin-top: 0.6rem; }
.steps-list strong { color: var(--on-surface); }
.steps-list .step-num { background: var(--black); color: var(--white); border-color: var(--black); margin: 0; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--divider); padding: 2.25rem 0; font-size: 0.875rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 20px; width: auto; aspect-ratio: 603.69 / 110; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--body); text-decoration: none; }
.footer-links a:hover { color: var(--on-surface); }

/* ── Scroll reveal (JS-gated so content shows without JS) ────────────── */
.js .reveal > * { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in-view > * { opacity: 1; transform: none; }
.js .reveal.in-view > *:nth-child(2) { transition-delay: 0.07s; }
.js .reveal.in-view > *:nth-child(3) { transition-delay: 0.14s; }
.js .reveal.in-view > *:nth-child(4) { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
  .btn, .nav { transition: none; }
  .nav-menu * { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .scroll-hint svg { animation: none; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .cards, .examples { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.25rem; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 820px) {
  .hero-grid, .earn, .split { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero--full { min-height: 0; }
  /* ── Stats ───────────────────────────────────────────────────────────── */
.stats { grid-template-columns: 1fr 1fr; }
  .kit { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cards, .examples, .kit { grid-template-columns: 1fr; }
  .examples { max-width: 340px; margin-left: auto; margin-right: auto; }
  .kit { max-width: 300px; }
  .steps { grid-template-columns: 1fr; }
  .apply-form { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .footer-brand { flex-direction: column; gap: 0.5rem; }
  .footer-brand img { height: 20px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2.5rem; width: 100%; max-width: 280px; }
}

.calc-more { display: inline-block; margin-top: 0.5rem; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.calc-more:hover { text-decoration: underline; }

/* ── Apply page ──────────────────────────────────────────────────────── */
.apply-page { padding-top: clamp(2rem, 6vw, 4rem); }
.apply-page .h-display { font-size: clamp(1.7rem, 4.6vw, 2.75rem); margin-bottom: 1rem; }
.apply-page .lede { margin-bottom: 2.25rem; }
.apply-sent { display: none; max-width: 640px; margin: 0 auto; text-align: center; outline: none; }
.apply-sent h2 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 900; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 0.5rem; }
.apply-sent p { color: var(--body); }
.apply-page[data-sent="true"] .apply-form { display: none; }
.apply-page[data-sent="true"] .apply-sent { display: block; }

/* ── Phone layouts ───────────────────────────────────────────────────────
   Keep the desktop look instead of stacking everything full width. */
@media (max-width: 600px) {
  /* Members: a swipeable row of the same columns desktop shows. */
  .pillars {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
    padding: 0 clamp(1rem, 4vw, 2rem) 0.75rem;
    scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar {
    scroll-snap-align: start;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--divider);
    border-top: 3px solid var(--accent-ink);
    padding: 1.25rem 1.25rem 1.4rem;
  }
  .members-swipe { display: block; }

  /* Features: two compact columns, icon above a short title. */
  .features .cards { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .features .card { padding: 1.1rem 1rem; }
  .features .card h3 { font-size: 0.95rem; }
  .features .card p { font-size: 0.82rem; line-height: 1.5; }
  .features .card-icon { margin-bottom: 0.75rem; }

  /* Steps: a vertical timeline, the desktop connector turned on its side. */
  .steps { gap: 0; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; padding-bottom: 1.75rem; }
  .step .step-num { grid-row: 1 / span 2; margin-bottom: 0; }
  .step h3 { margin-top: 0.6rem; }
  .step:not(:last-child)::after {
    display: block;
    top: 50px; bottom: 4px;
    left: 22px; right: auto;
    width: 2px; height: auto;
  }
}
.members-swipe { display: none; margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted); }

/* ── Phone polish (2026-09-30) ───────────────────────────────────────── */
@media (max-width: 600px) {
  /* Wordmark stays at its 32px floor in the bar (20px type height). */
  .nav-logo { height: 20px; }
  .nav { padding-top: 1rem; padding-bottom: 1rem; }

  /* Hero: copy gets room to breathe, one full-width action per line, then
     the phone centered over the photo instead of squeezed beside it. */
  .hero { padding-top: 1.5rem; }
  .hero .pill { margin-bottom: 1.25rem; }
  .hero .h-display { margin-bottom: 1.25rem; }
  .hero .lede { margin-bottom: 1.75rem; }
  .hero .btn-row { flex-wrap: nowrap; gap: 0.6rem; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0.7rem 0.5rem; font-size: 1rem; }
  .hero-note { margin-top: 1.25rem; line-height: 1.6; }
  .hero-media { margin-top: 2.5rem; }
  .hero-photo { top: 9%; width: 52%; height: 82%; }
  .device--hero { width: 60%; }

  /* The tagline breaks at the accent, never orphaning "living." */
  .tagline-head .accent { display: block; }
  .apply .lede, .apply-page .lede { font-size: 1.0625rem; }

  /* Footer: bigger mark, links in two tidy left-aligned columns. */
  .footer { padding: 2.75rem 0 2.5rem; }
  .footer-brand img { height: 20px; }
  .footer-links {
    width: auto;
    max-width: none;
    margin: 0 auto;
    grid-template-columns: repeat(2, max-content);
    gap: 1rem 3.5rem;
    justify-items: start;
    text-align: left;
  }
}
