  :root {
    /* Warm cream + near-black base, energetic accent (per variation) */
    --cream: #f6f1e7;
    --cream-2: #efe7d6;
    --ink: #1a1815;
    --ink-2: #3a352c;
    --muted: #6b6558;
    --line: rgba(26, 24, 21, 0.12);
    --line-2: rgba(26, 24, 21, 0.2);
    --accent: #ff5a1f;         /* sunset orange */
    --accent-ink: #1a1815;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --font-serif: 'Instrument Serif', Georgia, serif;
  }
  * { box-sizing: border-box; }
  html, body {
    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.5;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  .grain::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
    opacity: 0.06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }

  /* utility */
  .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
  @media (min-width: 768px) { .container { padding: 0 32px; } }
  @media (min-width: 1200px) { .container { padding: 0 40px; } }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
  }
  .btn.ink { background: var(--ink); color: var(--cream); }
  .btn .arrow { display: inline-block; transition: transform .2s ease; }
  .btn:hover .arrow { transform: translateX(3px); }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* Logo */
  .wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
  }
  .logomark {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: var(--accent);
    display: inline-grid; place-items: center;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.03em;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
  }
  .wordmark .dot { color: var(--accent); }

  /* NAV */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: color-mix(in oklab, var(--cream) 78%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-links { display: none; gap: 28px; }
  .nav-links a {
    font-size: 14px; color: var(--ink-2);
    transition: color .15s ease;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; align-items: center; gap: 12px; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
  @media (min-width: 900px) {
    .nav-links { display: flex; }
  }

  /* ============================================
     HERO — Variant A (Sunlit)
     ============================================ */
  .hero {
    padding: 40px 0 20px;
  }
  .hero-inner { display: grid; gap: 32px; }
  .hero-copy .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    background: color-mix(in oklab, var(--accent) 14%, var(--cream));
    color: var(--ink);
    border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .hero-copy .kicker .pulse {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent);
    animation: pulse 1.8s infinite;
  }
  @keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent); }
    50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 0%, transparent); }
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 10vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin: 0 0 24px;
    color: var(--ink);
    text-wrap: balance;
  }
  .hero h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  .hero .lede {
    font-size: clamp(17px, 2.4vw, 20px);
    line-height: 1.45;
    color: var(--ink-2);
    max-width: 34ch;
    margin: 0 0 32px;
    text-wrap: pretty;
  }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .hero-meta {
    margin-top: 28px;
    display: flex; gap: 20px; flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .hero-meta span::before { content: "→ "; color: var(--accent); }

  .hero-photo {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #ddd;
  }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
  .hero-photo .tag {
    position: absolute; bottom: 16px; left: 16px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .hero-photo .tag::before { content: "◉ "; color: var(--accent); }

  .hero-stat {
    position: absolute; top: 16px; right: 16px;
    background: color-mix(in oklab, var(--ink) 88%, transparent);
    color: var(--cream);
    padding: 14px 16px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    min-width: 150px;
  }
  .hero-stat .num {
    font-size: 24px; font-weight: 700; letter-spacing: -0.03em;
    display: block;
  }
  .hero-stat .lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
  }

  @media (min-width: 900px) {
    .hero { padding: 60px 0 40px; }
    .hero-inner {
      grid-template-columns: 1.05fr 0.95fr;
      gap: 48px;
      align-items: center;
    }
    .hero-photo { aspect-ratio: 4/5; }
  }
  @media (min-width: 1200px) {
    .hero { padding: 80px 0 60px; }
  }

  /* Marquee under hero */
  .marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    overflow: hidden;
    margin-top: 32px;
    background: var(--cream);
  }
  .marquee-track {
    display: flex; gap: 40px;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
  .marquee-track span::after { content: "★"; color: var(--accent); }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ============================================
     FEATURES
     ============================================ */
  .features { padding: 80px 0; }
  .section-head { max-width: 640px; margin-bottom: 40px; }
  .section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 12px 0 20px;
    font-weight: 700;
    text-wrap: balance;
  }
  .section-head h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
  }
  .section-head p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 52ch;
    margin: 0;
    text-wrap: pretty;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
  }
  .feature-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
  .feature-card .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--ink);
  }
  .feature-card.accent { background: var(--accent); color: var(--ink); border-color: transparent; }
  .feature-card.accent .icon { background: var(--ink); color: var(--accent); border-color: transparent; }
  .feature-card.dark { background: var(--ink); color: var(--cream); border-color: transparent; }
  .feature-card.dark .icon { background: transparent; border-color: var(--cream); color: var(--cream); }
  .feature-card.dark .desc { color: color-mix(in oklab, var(--cream) 75%, transparent); }
  .feature-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.15;
  }
  .feature-card .desc {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    max-width: 32ch;
  }
  .feature-card .num-badge {
    position: absolute; top: 20px; right: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    opacity: 0.5;
    letter-spacing: 0.05em;
  }

  @media (min-width: 640px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (min-width: 1024px) {
    .feature-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .feature-card { min-height: 300px; }
  }

  /* ============================================
     ANYWHERE (park / beach / garage)
     ============================================ */
  .anywhere {
    padding: 80px 0;
    background: var(--ink);
    color: var(--cream);
    position: relative;
  }
  .anywhere .section-head h2 { color: var(--cream); }
  .anywhere .section-head p { color: color-mix(in oklab, var(--cream) 75%, transparent); }
  .anywhere .eyebrow { color: color-mix(in oklab, var(--cream) 60%, transparent); }

  .places {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .place {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #333;
  }
  .place img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
  }
  .place:hover img { transform: scale(1.03); }
  .place::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 55%);
  }
  .place .label {
    position: absolute; left: 20px; bottom: 20px; right: 20px;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    color: white;
  }
  .place .label h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 4px;
  }
  .place .label .sub {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
  }
  .place .badge {
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  @media (min-width: 700px) {
    .places { grid-template-columns: 1fr 1fr 1fr; }
    .place { aspect-ratio: 3/4; }
  }

  /* ============================================
     WAITLIST
     ============================================ */
  .waitlist { padding: 100px 0; }
  .waitlist-card {
    background: var(--accent);
    color: var(--ink);
    border-radius: 28px;
    padding: 48px 28px;
    position: relative;
    overflow: hidden;
  }
  .waitlist-card::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--ink) 90%, transparent);
    opacity: 0.08;
  }
  .waitlist-card h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 60px);
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 0 0 16px;
    font-weight: 700;
    text-wrap: balance;
    max-width: 14ch;
  }
  .waitlist-card h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
  }
  .waitlist-card p {
    max-width: 40ch;
    color: var(--ink-2);
    font-size: 16px;
    margin: 0 0 28px;
    position: relative;
    z-index: 1;
  }
  .waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 460px;
    position: relative; z-index: 1;
  }
  .waitlist-form input {
    background: var(--cream);
    border: 1px solid transparent;
    padding: 14px 18px;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease;
  }
  .waitlist-form input:focus { border-color: var(--ink); }
  .waitlist-form input::placeholder { color: var(--muted); }
  .waitlist-form button {
    background: var(--ink);
    color: var(--cream);
    border: 0;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  }
  .waitlist-note {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--ink-2);
    text-transform: uppercase;
    opacity: 0.8;
  }
  @media (min-width: 640px) {
    .waitlist-card { padding: 64px 56px; }
    .waitlist-form { flex-direction: row; }
    .waitlist-form input { flex: 1; }
  }

  /* ============================================
     FOOTER
     ============================================ */
  footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-brand { max-width: 360px; }
  .footer-brand p {
    color: var(--ink-2);
    font-size: 14px;
    margin: 16px 0 20px;
    line-height: 1.5;
  }
  .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 14px;
    font-weight: 500;
  }
  .footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .footer-col a {
    font-size: 15px;
    color: var(--ink);
    transition: color .15s ease;
  }
  .footer-col a:hover { color: var(--accent); }

  .footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-transform: uppercase;
  }
  @media (min-width: 800px) {
    .footer-inner {
      grid-template-columns: 1.2fr 2fr;
      gap: 60px;
    }
    .footer-cols { grid-template-columns: repeat(4, 1fr); }
    .footer-bottom { flex-direction: row; align-items: center; }
  }

  /* Giant ufit type at bottom */
  .footer-word {
    font-family: var(--font-display);
    font-size: clamp(120px, 30vw, 380px);
    letter-spacing: -0.06em;
    line-height: 0.85;
    font-weight: 700;
    color: var(--ink);
    margin-top: 32px;
    text-align: center;
    overflow: hidden;
  }
  .footer-word .dot { color: var(--accent); }

  /* =========================================
     VARIANT B — Field Notes
     — magazine-y, mono captions, lime, asymmetric
     ========================================= */
  body[data-variant="B"] {
    --accent: #c8ff3d;         /* electric lime */
    --cream: #f2ede2;
    --cream-2: #e6dfce;
  }
  body[data-variant="B"] .hero-inner {
    display: grid;
    gap: 24px;
  }
  body[data-variant="B"] .hero h1 { letter-spacing: -0.05em; }
  body[data-variant="B"] .hero-photo { border-radius: 8px; aspect-ratio: 4/3; }
  body[data-variant="B"] .feature-card { border-radius: 4px; }
  body[data-variant="B"] .waitlist-card { border-radius: 8px; }
  body[data-variant="B"] .place { border-radius: 8px; }
  body[data-variant="B"] .btn { border-radius: 6px; }
  body[data-variant="B"] .waitlist-form input,
  body[data-variant="B"] .waitlist-form button { border-radius: 6px; }
  body[data-variant="B"] .logomark { border-radius: 4px; }

  /* Field notes: mono annotation callouts */
  body[data-variant="B"] .hero-copy .kicker { border-radius: 4px; }

  @media (min-width: 900px) {
    body[data-variant="B"] .hero-inner {
      grid-template-columns: 1fr 1fr;
      align-items: end;
    }
    body[data-variant="B"] .hero-photo { aspect-ratio: 3/4; }
  }

  /* =========================================
     VARIANT C — Sunrise Grid
     — deep, geometric, blue accent, big stats
     ========================================= */
  body[data-variant="C"] {
    --accent: #3d7bff;
    --cream: #efe9dc;
    --cream-2: #e5ddc9;
    --ink: #14120e;
  }
  body[data-variant="C"] .hero h1 {
    font-size: clamp(52px, 12vw, 140px);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }
  body[data-variant="C"] .hero-inner {
    display: grid;
    gap: 32px;
  }
  body[data-variant="C"] .feature-card {
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line-2);
    background: transparent;
    padding: 32px 0;
  }
  body[data-variant="C"] .feature-card:hover { transform: none; }
  body[data-variant="C"] .feature-card.accent { background: transparent; color: inherit; }
  body[data-variant="C"] .feature-card.accent .icon { background: var(--accent); color: white; }
  body[data-variant="C"] .feature-card.dark { background: transparent; color: inherit; }
  body[data-variant="C"] .feature-card.dark .icon { background: transparent; border-color: var(--line-2); color: var(--ink); }
  body[data-variant="C"] .feature-card.dark .desc { color: var(--ink-2); }

  @media (min-width: 900px) {
    body[data-variant="C"] .hero-inner {
      grid-template-columns: 1.4fr 0.6fr;
    }
    body[data-variant="C"] .hero-photo { aspect-ratio: 3/4; }
  }

  /* =========================================
     Font-family variants
     ========================================= */
  body[data-font="dm"] { --font-display: 'DM Sans', system-ui, sans-serif; --font-body: 'DM Sans', system-ui, sans-serif; }
  body[data-font="serif-mix"] { --font-display: 'Instrument Serif', Georgia, serif; }
  body[data-font="serif-mix"] .hero h1 { letter-spacing: -0.02em; font-weight: 400; }
  body[data-font="serif-mix"] .section-head h2 { letter-spacing: -0.02em; font-weight: 400; }
  body[data-font="serif-mix"] .waitlist-card h2 { letter-spacing: -0.02em; font-weight: 400; }
  body[data-font="serif-mix"] .footer-word { letter-spacing: -0.03em; font-weight: 400; }

  /* App root */
  #tweaks-root > * { pointer-events: auto; }

/* ---------- appended from design/overrides.css ---------- */
/* ufit — production additions layered on top of the designer's CSS.
 *
 * The handoff stylesheet is copied verbatim by scripts/build-site.py, so it
 * stays diffable against future designer exports. Anything we add for the
 * real build lives here and is appended during the build.
 */

/* Sticky-nav elevation, toggled by main.js on scroll. The handoff had no
   scrolled state because the design tool renders a static viewport. */
.nav {
  transition: box-shadow .2s ease, background-color .2s ease;
}

.nav.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(26, 24, 21, 0.06);
}

/* Visible keyboard focus. The handoff relied on default focus rings, which
   the pill buttons and cream background render nearly invisible. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Invalid email state for the waitlist input. */
.waitlist-form input[aria-invalid="true"] {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
}

.waitlist-form button[disabled] {
  opacity: .75;
  cursor: default;
}

.waitlist-note {
  transition: color .2s ease;
  min-height: 1.4em;
}

/* Respect reduced-motion for the marquee ticker, which otherwise animates
   indefinitely. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
    transform: none !important;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* Screen-reader-only helper for the skip link. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 0 0 8px 0;
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  left: 0;
}

/* ============================================
   SIGNUP FORM
   The handoff shipped an email-only stub. These styles extend the
   designer's .waitlist-form language (cream pill inputs on the dark card,
   999px radius, mono uppercase micro-labels) to the fuller field set:
   role choice, name, email, city, activities, goals.
   ============================================ */

.signup-form {
  max-width: 560px;
  gap: 18px;
}

/* The designer's rule sets .waitlist-form to row at >=640px, which would
   lay these stacked fields out side by side. Keep it a column. */
@media (min-width: 640px) {
  .signup-form { flex-direction: column; }
}

.signup-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.signup-form label,
.signup-form legend {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  /* The card background is var(--accent) with var(--ink) text, so labels
     must be dark ink -- cream here is nearly invisible on orange. */
  color: var(--ink);
  opacity: 0.85;
}

.signup-form .field-hint {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
  font-size: 11px;
  margin-left: 6px;
}

.signup-form .field-hint-block {
  margin-left: 0;
  margin-top: 2px;
}

/* Inherit the designer's pill input treatment, then adapt per control. */
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form select,
.signup-form textarea {
  background: var(--cream);
  border: 1px solid transparent;
  padding: 14px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s ease;
}

/* Multi-line and list controls get a rounded rectangle -- a 999px radius
   would clip the first and last rows of a multi-select. */
.signup-form textarea {
  border-radius: 14px;
  padding: 12px 14px;
}

/* The multi-select gets horizontal padding only. Vertical padding on a
   scroll container is transparent, so a scrolled-under row shows THROUGH
   it -- which looks like a clipped row no matter what height is set. With
   0 vertical padding the container edge is the clip edge. */
.signup-form select[multiple] {
  border-radius: 14px;
  padding: 0;
}


.signup-form select[multiple] {
  appearance: none;
  overflow-y: auto;
  /* Height = whole rows only. Measured, not guessed: option row = 32px,
     border 1+1, no vertical padding (see above).
       5 rows -> 32*5 + 2 = 162px
     A height that does not land on a row boundary leaves a sliver of the
     next row showing, which reads as a rendering bug. */
  height: 162px;
}

.signup-form select[multiple] option {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
}

/* Selected options: use the brand accent rather than the UA's blue. */
.signup-form select[multiple] option:checked {
  background: var(--ink) linear-gradient(0deg, var(--ink), var(--ink));
  color: var(--cream);
  font-weight: 600;
}

.signup-form textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--ink);
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: var(--muted);
}

/* ---------- Role choice ---------- */

.signup-form .role-choice {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.role-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .role-options { grid-template-columns: 1fr 1fr; }
}

/* Card-style radio: the whole card is the label, so the entire area is a
   click target rather than just the 13px dot. */
.role-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(26, 24, 21, 0.06);
  border: 1px solid rgba(26, 24, 21, 0.22);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
}

.role-option:hover {
  background: rgba(26, 24, 21, 0.11);
}

/* Hide the native dot but keep it focusable and screen-reader visible. */
.role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.role-option .role-title {
  font-family: var(--font-sans, inherit);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.role-option .role-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  opacity: 0.85;
  text-transform: none;
  letter-spacing: 0;
}

.role-option:has(input[type="radio"]:checked) {
  /* Selected state must contrast with an ORANGE card, so the accent
     colour is useless here -- invert to dark ink instead. */
  background: var(--ink);
  border-color: var(--ink);
}

.role-option:has(input[type="radio"]:checked) .role-title { color: var(--cream); }
.role-option:has(input[type="radio"]:checked) .role-desc  { color: var(--cream); opacity: 0.7; }

/* :has() is widely supported but not universal; this fallback class is
   toggled by main.js so the selected state is never invisible. */
.role-option.is-selected {
  background: var(--ink);
  border-color: var(--ink);
}

.role-option.is-selected .role-title { color: var(--cream); }
.role-option.is-selected .role-desc  { color: var(--cream); opacity: 0.7; }

.role-option:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Validation + submit states ---------- */

.signup-form [aria-invalid="true"] {
  border-color: #6b0f08;
  box-shadow: 0 0 0 3px rgba(107, 15, 8, 0.35);
}

.signup-form button[type="submit"] {
  align-self: flex-start;
  cursor: pointer;
  padding: 15px 26px;
}

.signup-form button[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.waitlist-note.is-error {
  /* Dark red reads on orange; a light red does not. */
  color: #6b0f08;
  opacity: 1;
  font-weight: 600;
}

.waitlist-note.is-success {
  color: var(--ink);
  opacity: 1;
  font-weight: 600;
}

/* Success panel replacing the form after submit. */
.signup-done {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--ink);
  border: 1px solid var(--ink);
  max-width: 560px;
}

.signup-done h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--cream);
}

.signup-done p {
  margin: 0;
  font-size: 14px;
  color: var(--cream);
  opacity: 0.85;
}

/* ---------- Honeypot ----------
   A field real visitors never see, but naive form bots fill in because it
   looks like a normal input in the DOM.

   Deliberately NOT `display:none` or `visibility:hidden`: the better spam
   bots skip those precisely because they are the obvious honeypot pattern.
   Pushing it off-canvas keeps it "present and fillable" to a script while
   being invisible on screen.

   aria-hidden + tabindex="-1" in the markup keep it out of the accessibility
   tree and the tab order, so screen-reader and keyboard users never meet a
   mystery field asking for their website. A honeypot that traps disabled
   users instead of bots is a bug, not a defence. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
