/* ===== Theme tokens ===== warm cinematic charcoal (default) + [data-theme="light"] cream. */
:root {
  /* matte charcoal / graphite — neutral, cinematic; warmth comes ONLY from the amber lighting */
  --bg: #141416;
  --bg-2: #191a1c;
  --panel: #1d1e21;
  --panel-2: #242528;
  --ink: #f3f1ec;
  --muted: #9b9a9e;
  --line: rgba(243, 241, 236, 0.08);
  --line-strong: rgba(243, 241, 236, 0.15);
  --field: #101012;

  --red: #ef5a3f;
  --red-deep: #cc3f28;
  --gold: #e7b23c;
  --green: #6bb07a;
  --teal: #3f8f88;

  --avatar: linear-gradient(180deg, #33261d, #271d16);
  --on-accent: #1a120c;

  --radius: 11px;
  --radius-lg: 18px;
  --max: 1180px;
  --shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.42);

  --glow-warm: rgba(239, 90, 63, 0.22);
  --glow-amber: rgba(231, 178, 60, 0.14);
  --grain-opacity: 0.045;
}

[data-theme="light"] {
  --bg: #f6f1e8;
  --bg-2: #efe8da;
  --panel: #fffaf1;
  --panel-2: #fdf6e9;
  --ink: #1b1712;
  --muted: #6a6156;
  --line: rgba(27, 23, 18, 0.12);
  --line-strong: rgba(27, 23, 18, 0.2);
  --field: #fffdf8;

  --red: #d8402e;
  --red-deep: #a82c1e;
  --gold: #b0791a;
  --green: #4f8b5a;
  --teal: #2b6f6a;

  --avatar: linear-gradient(180deg, #efe6d6, #e5dac6);
  --on-accent: #ffffff;

  --shadow: 0 28px 90px rgba(27, 23, 18, 0.16);
  --shadow-soft: 0 18px 50px rgba(27, 23, 18, 0.1);

  --glow-warm: rgba(216, 64, 46, 0.1);
  --glow-amber: rgba(176, 121, 26, 0.1);
  --grain-opacity: 0.03;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  transition: background 240ms ease, color 240ms ease;
}

img { max-width: 100%; }

a { color: inherit; }
button, input { font: inherit; }

/* ===== grain + vignette ===== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  background: radial-gradient(135% 100% at 50% 26%, transparent 54%, rgba(0, 0, 0, 0.46));
}

[data-theme="light"] body::after {
  background: radial-gradient(135% 100% at 50% 26%, transparent 64%, rgba(27, 23, 18, 0.08));
}

.hero, .problem, .waitlist, .how, .footer {
  padding-right: clamp(18px, 5vw, 64px);
  padding-left: clamp(18px, 5vw, 64px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(86% 66% at 84% -8%, var(--glow-warm), transparent 46%),
    radial-gradient(70% 60% at 4% 110%, var(--glow-amber), transparent 52%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 64%);
}

.nav, .hero__grid, .problem, .waitlist, .how, .footer {
  position: relative;
  z-index: 1;
}

.nav {
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 20px 0;
}

.nav__right { display: flex; align-items: center; gap: 14px; }
.brand, .nav__link { text-decoration: none; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; }

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 0.82rem;
}

.nav__link { color: var(--ink); font-size: 0.95rem; font-weight: 760; }

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover { transform: translateY(-1px); border-color: var(--gold); }

.theme-toggle__icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset -5px -4px 0 0 var(--panel);
}

[data-theme="light"] .theme-toggle__icon {
  background: transparent;
  box-shadow: 0 0 0 2px var(--gold);
  position: relative;
}
[data-theme="light"] .theme-toggle__icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__grid {
  width: min(var(--max), 100%);
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.76fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin: 0 auto;
  padding-bottom: 20px;
}

.hero__copy { max-width: 620px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 600px;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  line-height: 0.99;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 { margin-bottom: 8px; font-size: 1.05rem; }

.lede {
  max-width: 540px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 820;
  transition: transform 160ms ease, box-shadow 200ms ease, border-color 160ms ease;
}

.button--primary {
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 14px 34px rgba(239, 90, 63, 0.3);
}
.button--primary:hover { transform: translateY(-1px); }

.button--secondary {
  border-color: var(--line-strong);
  background: var(--panel);
  color: var(--ink);
}
.button--secondary:hover { transform: translateY(-1px); border-color: var(--gold); }

.button--full { width: 100%; }

/* ===== momentum ===== */
.momentum {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.momentum__stat { display: flex; flex-direction: column; line-height: 1.05; }

.count {
  font-size: 1.7rem;
  font-weight: 860;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.momentum__stat span { color: var(--muted); font-size: 0.82rem; font-weight: 640; }

.momentum__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 760;
}

.momentum__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(107, 176, 122, 0.16);
}

/* ===== Hero illustration: "in the warm light" — a few students become a crew ===== */
.hero-scene { display: flex; align-items: center; justify-content: center; padding: 8px 0; }

.conv {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  overflow: visible;
}

.conv__glow, .conv__savedhalo { transform-box: fill-box; transform-origin: center; }
.conv__savedhalo { opacity: 0.75; }

/* cinema seats (line-art; warmth = stroke colour) */
.seat { color: #565047; }
.seat--dim, .seat--join { color: #4e4841; }
.seat--warm { color: #cf8c48; filter: drop-shadow(0 0 4px rgba(207, 140, 72, 0.28)); }
.seat--lit { color: #f7c66d; filter: drop-shadow(0 0 8px rgba(247, 198, 109, 0.55)); }

/* ===== shared people-marks (used by the problem-section crew card) ===== */

.avatars { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.avatar {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--avatar);
  border: 1px solid var(--line-strong);
}
.avatar::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.85;
}
.avatar::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 22px;
  border-radius: 14px 14px 0 0;
  background: var(--muted);
  opacity: 0.85;
}
.avatars .avatar:nth-child(1) { --tint: var(--gold); }
.avatars .avatar:nth-child(2) { --tint: var(--teal); }
.avatars .avatar:nth-child(3) { --tint: var(--red); }
.avatars .avatar:nth-child(1)::before,
.avatars .avatar:nth-child(2)::before,
.avatars .avatar:nth-child(3)::before { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tint) 45%, transparent); }

.avatars--sm { margin-bottom: 14px; }
.avatars--sm .avatar { width: 34px; height: 34px; }
.avatars--sm .avatar::before { top: 7px; width: 11px; height: 11px; }
.avatars--sm .avatar::after { bottom: -7px; width: 22px; height: 17px; }

/* ===== Section shells ===== */
.problem, .waitlist, .how {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: clamp(76px, 9vw, 128px);
  padding-bottom: clamp(76px, 9vw, 128px);
}

.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }

/* ===== Problem = emotional center (two equal phones, fits one screen) ===== */
.problem {
  text-align: center;
  padding-top: clamp(28px, 3.6vw, 48px);
  padding-bottom: clamp(28px, 3.6vw, 48px);
}
.problem .section-heading { margin-bottom: clamp(16px, 2vw, 24px); }
.problem h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 2.4vw, 40px);
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

/* --- shared phone frame (both the chat and the app live in this same handset) --- */
.device {
  position: relative;
  align-self: stretch;
  display: flex;
  width: 100%;
  max-width: 322px;
  margin: 0;
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(165deg, #35373c, #161719);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.device--chat { justify-self: end; }
.device--app { justify-self: start; }
.device__notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 104px; height: 20px;
  border-radius: 0 0 13px 13px;
  background: #000;
  z-index: 3;
}
.device__screen {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
}

/* --- WhatsApp group chat screen (authentic dark skin, compact) --- */
.wa {
  --wa-bg: #0b141a;
  --wa-head: #202c33;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-ink: #e9edef;
  --wa-sub: #8696a0;
  background: var(--wa-bg);
  color: var(--wa-ink);
  font-size: 0.82rem;
  line-height: 1.3;
}

.wa__head { display: flex; align-items: center; gap: 9px; padding: 22px 11px 8px; background: var(--wa-head); }
.wa__back { color: var(--wa-sub); font-size: 1.3rem; line-height: 1; }
.wa__gav {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #6a7d89;
  font-size: 0.95rem;
}
.wa__meta { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; min-width: 0; overflow: hidden; }
.wa__meta b { font-weight: 700; font-size: 0.9rem; }
.wa__meta i { font-style: normal; color: var(--wa-sub); font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa__dots { display: flex; flex-direction: column; gap: 3px; }
.wa__dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--wa-sub); }

.wa__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 4%, rgba(255, 255, 255, 0.02), transparent 46%),
    var(--wa-bg);
}

.wa__day { text-align: center; margin: 1px 0 3px; }
.wa__day span {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 8px;
  background: #182229;
  color: var(--wa-sub);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.wa__msg {
  max-width: 86%;
  padding: 5px 8px 6px;
  border-radius: 8px;
  background: var(--wa-in);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}
.wa__msg--in { align-self: flex-start; border-top-left-radius: 2px; }
.wa__msg--out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }

.wa__name { display: block; margin-bottom: 0; color: var(--c, #e2955a); font-size: 0.75rem; font-weight: 700; }
.wa__time { float: right; margin: 4px 0 -2px 10px; color: var(--wa-sub); font-size: 0.58rem; white-space: nowrap; }
.wa__msg--out .wa__time { color: rgba(233, 237, 239, 0.6); }
.wa__ticks { color: #53bdeb; font-size: 0.66rem; letter-spacing: -1px; }

.wa__sticker { align-self: flex-start; display: flex; flex-direction: column; }
.wa__sticker .wa__name { margin-bottom: 2px; }
.wa__stickimg { width: 104px; max-width: 56%; max-height: 104px; height: auto; display: block; border-radius: 10px; object-fit: contain; }
.wa__stickfallback {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 12px;
  background: #202c33;
  color: var(--wa-ink);
  font-size: 0.94rem;
  font-weight: 800;
}
.wa__stickfallback[hidden] { display: none; }
.wa__sticker .wa__time { float: none; margin: 2px 0 0; }

.wa__bar { display: flex; align-items: center; gap: 8px; padding: 7px 9px 9px; background: var(--wa-bg); }
.wa__field {
  flex: 1;
  padding: 8px 13px;
  border-radius: 20px;
  background: #202c33;
  color: var(--wa-sub);
  font-size: 0.8rem;
}
.wa__send {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #00a884;
  color: #0b141a;
  font-size: 0.85rem;
}

/* --- one tap connector (centered between the phones) --- */
.compare__link { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.compare__arrow {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 850;
}
.compare__tap { color: var(--muted); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.compare__booked {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(107, 176, 122, 0.42);
  background: rgba(107, 176, 122, 0.12);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
}

/* --- RowBuds app screen (fixed dark app skin, filled to match the chat's height) --- */
.rb {
  --p-bg: #141416;
  --p-panel: #1d1e21;
  --p-panel2: #242528;
  --p-ink: #f3f1ec;
  --p-sub: #9b9a9e;
  --p-line: rgba(243, 241, 236, 0.1);
  --p-red: #ef5a3f;
  --p-red-deep: #cc3f28;
  --p-green: #6bb07a;
  --p-gold: #e7b23c;
  color: var(--p-ink);
  background:
    radial-gradient(96% 46% at 82% 0%, rgba(239, 90, 63, 0.16), transparent 56%),
    var(--p-bg);
}
.rb__top { display: flex; align-items: center; gap: 8px; padding: 22px 14px 12px; font-size: 0.9rem; }
.rb__top b { font-weight: 800; }
.rb__logo {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--p-red), var(--p-red-deep));
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
}
.rb__me {
  margin-left: auto;
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #3a2c20;
  color: var(--p-gold);
  font-size: 0.6rem;
  font-weight: 800;
}

.rb__scroll { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 14px 12px; }

.crew { margin-bottom: 12px; padding: 12px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-panel); }
.crew__label { margin: 0 0 10px; color: var(--p-red); font-size: 0.6rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.crew__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.crew__list li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; }
.crew__av {
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #12100e;
  font-size: 0.56rem;
  font-weight: 800;
}
.crew__av--you { background: #3f8f88; }
.crew__av--a { background: #d9a441; }
.crew__av--s { background: #d76a8f; }
.crew__av--r { background: #e2955a; }
.crew__tag { margin-left: auto; color: var(--p-green); font-size: 0.68rem; font-weight: 800; }

.setcard { margin-bottom: 12px; padding: 12px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-panel2); }
.setcard__title { margin: 0 0 8px; font-size: 0.92rem; font-weight: 850; }
.setcard__when { margin: 0 0 2px; font-size: 0.82rem; font-weight: 750; }
.setcard__where { margin: 0 0 6px; color: var(--p-sub); font-size: 0.77rem; }
.setcard__who { margin: 0; color: var(--p-sub); font-size: 0.72rem; }

.rb__cta {
  display: block;
  margin-top: auto;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(180deg, var(--p-red), var(--p-red-deep));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(239, 90, 63, 0.3);
}

.rb__tabs {
  display: flex;
  justify-content: space-around;
  padding: 9px 6px 10px;
  border-top: 1px solid var(--p-line);
  background: rgba(0, 0, 0, 0.22);
}
.rb__tab { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--p-sub); font-size: 0.58rem; font-weight: 750; }
.rb__tab.is-active { color: var(--p-red); }
.rb__ico { width: 16px; height: 16px; background: currentColor; opacity: 0.9; }
.rb__ico--home { border-radius: 4px; }
.rb__ico--plans { border-radius: 3px; clip-path: polygon(0 0, 100% 0, 100% 72%, 0 72%, 0 100%); }
.rb__ico--chat { border-radius: 8px 8px 8px 2px; }

/* ===== Waitlist — one centered focus ===== */
.waitlist {
  max-width: 540px;
  text-align: center;
}

.waitlist__lead { margin-bottom: 26px; }
.waitlist__lead .eyebrow { margin-bottom: 12px; }
.waitlist__lead h2 { margin-bottom: 12px; }
.waitlist__sub { margin: 0 auto; max-width: 440px; color: var(--muted); }
.waitlist__proof { margin: 16px auto 0; color: var(--ink); font-weight: 680; }
.waitlist__proof .count { font-size: 1.15rem; color: var(--gold); }

/* the card keeps its own left-aligned form layout */
.waitlist .signup { text-align: left; }

.signup {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.signup__header { margin-bottom: 20px; }
.signup__sub { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }
.signup__time {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  font-size: 0.76rem;
  font-weight: 780;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(239, 90, 63, 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(239, 90, 63, 0.1);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 780;
}
.signup__header h3 { margin: 0; font-size: 1.5rem; }

.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.field { margin-bottom: 18px; }

label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 0.92rem; font-weight: 720; line-height: 1.35; }

input[type="text"], input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--field);
  color: var(--ink);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
input::placeholder { color: var(--muted); }
input[type="text"]:focus, input[type="email"]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 90, 63, 0.16);
}

.field-note, .signup__fineprint { margin: 7px 0 0; color: var(--muted); font-size: 0.86rem; }

.formerror {
  margin-top: 14px;
  border: 1px solid rgba(239, 90, 63, 0.4);
  border-radius: 12px;
  padding: 12px;
  background: rgba(239, 90, 63, 0.12);
  color: var(--red);
  font-weight: 700;
}

/* chips (movie suggestions) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 7px 13px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 680;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease;
}
.chip:hover { transform: translateY(-1px); border-color: var(--gold); }

.linkbtn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: none;
  border: 0;
  color: var(--muted);
  font-weight: 720;
  cursor: pointer;
}
.linkbtn:hover { color: var(--ink); }

/* celebrate + share */
.celebrate { text-align: center; margin-bottom: 20px; }
.celebrate__badge { display: block; margin-bottom: 8px; font-size: 2rem; }
.celebrate h3 { margin: 0; font-size: 1.5rem; }
.share__ask { margin: 0 0 12px; text-align: center; color: var(--muted); }
.share__copied { margin: 10px 0 0; text-align: center; color: var(--green); font-weight: 720; }

/* ===== How — filmstrip flow ===== */
.how { border-top: 1px solid var(--line); }

.flowline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.flowline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
  opacity: 0.4;
}
.flowline li { position: relative; padding-top: 66px; }
.flowline__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--gold);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.flowline strong { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.flowline p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ===== Footer ===== */
.footer {
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer .brand__mark { width: 30px; height: 30px; }

/* ===== Thanks page ===== */
.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(rgba(23, 18, 14, 0.86), rgba(23, 18, 14, 0.95)), url("./assets/campus-movie-night.png") center / cover;
}
.thanks-card {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 46px);
  background: rgba(23, 18, 14, 0.9);
  color: #f5efe6;
  box-shadow: var(--shadow);
}
.thanks-card h1 { font-size: clamp(2.8rem, 8vw, 5rem); }

/* ===== reveals + motion ===== */
.js .reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

@media (prefers-reduced-motion: no-preference) {
  .button--primary { animation: ctaGlow 3.6s ease-in-out infinite; }
  .momentum__status i { animation: livePulse 2.6s ease-in-out infinite; }

  /* the warm screen-light gently breathes across the row */
  .conv__glow { animation: glowLoop 9s ease-in-out infinite; }
  /* the lit seat's halo softly pulses — a seat kept for you */
  .conv__savedhalo { animation: savedPulse 4.6s ease-in-out infinite; }
  /* a neighbouring seat occasionally warms — someone else joining */
  .seat--join { animation: seatJoin 9s ease-in-out infinite; }

  @keyframes ctaGlow {
    0%, 100% { box-shadow: 0 14px 34px rgba(239, 90, 63, 0.28); }
    50% { box-shadow: 0 18px 48px rgba(239, 90, 63, 0.46); }
  }
  @keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(107, 176, 122, 0.16); }
    50% { box-shadow: 0 0 0 6px rgba(107, 176, 122, 0.04); }
  }
  @keyframes glowLoop {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.82; transform: scale(1.04); }
  }
  @keyframes savedPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.06); }
  }
  @keyframes seatJoin {
    0%, 42% { color: #4e4841; }
    58% { color: #cf8c48; }
    78%, 100% { color: #4e4841; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero { height: auto; min-height: 100svh; overflow: visible; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 42px; }
  .conv { max-width: 380px; margin: 0 auto; }

  .compare { grid-template-columns: 1fr; justify-items: center; align-items: center; gap: 18px; max-width: 360px; }
  .device { justify-self: center; }
  .device--chat, .device--app { justify-self: center; }
  .compare__link { flex-direction: row; }
  .compare__arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .flowline { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .flowline::before { display: none; }
}

@media (max-width: 560px) {
  .hero, .problem, .waitlist, .how, .footer { padding-right: 16px; padding-left: 16px; }
  .nav__link { display: none; }
  .hero { height: auto; }
  .hero__grid { min-height: auto; padding-top: 6px; padding-bottom: 34px; }
  h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero__copy, .lede { max-width: 100%; }
  .conv { max-width: 300px; }
  .hero__actions, .button { width: 100%; }
  .momentum { gap: 12px 22px; }
  .momentum__status { margin-left: 0; width: 100%; }

  /* comparison: full-width centered phones, comfortable margins */
  .compare { max-width: 100%; gap: 14px; }
  .device { max-width: min(340px, 100%); }

  /* email card fills the screen width */
  .waitlist { max-width: 100%; }
  .signup { padding: 20px 16px; }

  .flowline { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; }
}

/* small phones — trim the handset chrome so the screen keeps its content */
@media (max-width: 380px) {
  .device { padding: 8px; border-radius: 34px; }
  .device__notch { width: 88px; height: 18px; }
  .device__screen { border-radius: 27px; }
  .wa { font-size: 0.8rem; }
}
