:root {
  --premium-coral-start: #C84F36;
  --premium-coral-end: #A83B28;
}

html { scroll-behavior: smooth; }
*, body { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
body { background: #FAFAF8; margin: 0; line-height: 1.5; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 72px; height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #EBEBEB;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 5px;
  font-size: 20px; font-weight: 800; color: #111;
  text-decoration: none; letter-spacing: -0.2px;
}
.nav-logo img {
  height: 32px; width: auto; object-fit: contain;
}
.wordmark { display: inline-flex; align-items: baseline; line-height: 1; }
.tm-mark {
  font-size: 0.43em; font-weight: 700; letter-spacing: 0;
  position: relative; top: -0.42em; margin-left: 2px; opacity: 0.72;
}
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 600; color: #676767;
  text-decoration: none; transition: color 0.15s ease;
}
.nav-links a:hover { color: #1A1A1A; }
@media (max-width: 900px) { .nav-links { display: none; } }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.btn-ghost {
  background: none; border: none; color: #666666;
  font-size: 14px; font-weight: 500; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1), background 0.2s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none; font-family: inherit;
}
.btn-ghost:hover { color: #1A1A1A; background: rgba(0,0,0,0.05); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 700; cursor: pointer;
  border: none; text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary {
  background: #E8735A; color: white;
  border-radius: 100px; padding: 12px 26px; font-size: 14px;
}
/* Hover shadows are kept near the 1px lift on purpose. A button that rises 1px
   under a shadow that drops 6px is read as two movements — the shadow wins the
   eye, and it is still growing after the button has stopped. Keep the delta
   within a couple of px of the travel and the two resolve as one motion. */
.btn-primary:hover {
  background: #D45E45;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(232,115,90,0.32);
}
.btn-primary:active { transform: scale(0.97); box-shadow: none; }
.btn-outline:active { transform: scale(0.97); box-shadow: none; }
.btn-outline {
  background: transparent; color: #1A1A1A;
  border-radius: 100px; padding: 11px 26px; font-size: 14px;
  border: 1.5px solid #E0E0E0;
}
.btn-outline:hover {
  background: rgba(0,0,0,0.03);
  border-color: #BBB;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.btn-lg { padding: 14px 30px; font-size: 15px; }

/* ── HERO ── */
.hero-wrap {
  background: #FAF9F7;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}
/* Subtle centered glow */
.hero-wrap::before {
  content: '';
  position: absolute;
  top: 6%; left: 50%; transform: translateX(-50%);
  width: 78%; height: 62%;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(245,196,184,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* The stack above the card is deliberately tight: the plan card is the proof,
   and on a 1280x800 laptop every 10px spent here is 10px of the itinerary the
   visitor never sees without scrolling. */
.hero {
  text-align: center;
  padding: 34px 72px 0;
  max-width: 820px; margin: 0 auto;
  position: relative; z-index: 2;
}
.hero h1 {
  font-size: 64px; font-weight: 700; line-height: 1.04;
  letter-spacing: -1.4px; margin: 0 0 16px; color: #1A1A1A;
  font-family: 'Fraunces', serif;
  text-wrap: balance;
}
.hero-highlight {
  color: #B83417;
  -webkit-text-fill-color: #B83417;
  position: relative; display: inline-block;
}
/* Hand-drawn scribble underline — the hero's one decorative flourish.
   Entry-only: it draws once and stops. Nothing in this hero loops. */
@keyframes scribble-draw {
  from { clip-path: inset(-4px 100% -4px 0); }
  to   { clip-path: inset(-4px 0 -4px 0); }
}
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 3%; right: 3%; bottom: -4px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 3, 62 3, 117 7' stroke='%23E8735A' stroke-opacity='0.5' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
  animation: scribble-draw 0.5s cubic-bezier(0.16,1,0.3,1) 0.55s both;
}
.hero-sub {
  font-size: 18px; color: #676767; line-height: 1.55;
  margin: 0 auto 22px; max-width: 540px;
  letter-spacing: -0.1px;
}
.hero-actions {
  display: flex; gap: 10px; align-items: center;
  justify-content: center;
  margin-bottom: 12px; flex-wrap: wrap;
}

/* ── AUTH STATE ──
   Which chrome a visitor sees is decided by CSS off the `datezy-authed` class
   that public/auth-state.js stamps on <html> before first paint, NOT by JS
   toggling inline styles after DOMContentLoaded. The browser routinely paints
   before that event, so the old approach showed signed-in users the visitor
   homepage for a frame or more.

   Default (class absent) is the logged-out page: that is also the correct
   fail-open if storage throws or the script is blocked. */
#nav-user { display: none; align-items: center; gap: 16px; }
#hero-loggedin { display: none; }
.datezy-authed #nav-login,
.datezy-authed #nav-signup,
.datezy-authed #hero-loggedout,
.datezy-authed #hero-trust { display: none; }
.datezy-authed #nav-user { display: flex; }
/* `contents`, matching #hero-loggedout — the button stays a direct flex item
   of .hero-actions rather than gaining a wrapper. */
.datezy-authed #hero-loggedin { display: contents; }
/* The only coral fill above the fold — the nav CTA is an outline button so
   this one reads as the single primary action. */
.hero-actions .btn-primary {
  box-shadow: 0 8px 28px rgba(232,115,90,0.28);
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 10px 32px rgba(232,115,90,0.42);
}
/* Must follow the base and :hover rules — box-shadow is a single property, so
   an earlier-but-more-specific shadow replaces the ring outright and the
   control ends up with no focus cue at all. This is the primary conversion
   control on the page. */
.hero-actions .btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #B83417;
}
/* Secondary, low-commitment path: view the demo result page */
.hero-trust {
  font-size: 13px; font-weight: 500; color: #666666;
  letter-spacing: 0.3px; margin: 0;
}

/* ── HERO SHOWPIECE — the real product artifact ──
   One plan card carrying the actual timed itinerary, because the itinerary is
   the thing only Datezy can show. Stock couples photography is table stakes;
   the schedule is the product. Mirrors the result page's card structure. */
.hero-stage {
  max-width: 1010px;
  margin: 26px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
  position: relative; z-index: 2;
}

.hero-plan {
  display: grid;
  /* The body column is sized so no itinerary label wraps — a wrapped step
     reads as a paragraph, and the whole point of the artifact is that it
     scans as a schedule. */
  grid-template-columns: 0.72fr 1fr;
  background: #FFFFFF;
  border: 1px solid #EFE9E5;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  text-align: left;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 14px rgba(0,0,0,0.05);
  /* 0.2s on the site's standard curve, NOT the 0.35s expo this used to carry.
     cubic-bezier(0.16,1,0.3,1) covers 73% of the travel in 58ms and then
     spends 250ms creeping the last 10% — a snap followed by a slow crawl,
     which reads as the card lifting twice. Expo tails are for entrances,
     where nothing is waiting on them; a hover has to arrive and stop. */
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
}
/* Shadow growth stays close to the lift. At +8px of shadow offset for 3px of
   travel the shadow was moving nearly three times as far as the card, and
   since the shadow is the ground cue, that separation reads as a second,
   later movement. */
.hero-plan-photo {
  position: relative;
  overflow: hidden;
  min-height: 348px;
}
/* Absolute so the photo is cropped BY the card instead of setting its height:
   height:100% can't resolve against a min-height-only parent, and this is a
   portrait source (800x1200) that would otherwise force a ~555px card. */
.hero-plan-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  display: block;
  filter: saturate(1.06) contrast(1.02);
}
/* Scrim: the chips are white-on-photo at the top and the location pill sits on
   the bottom edge — both need a guaranteed ground, and this photo is a night
   shot whose brightness varies wildly across the frame. */
.hero-plan-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,10,6,0.34) 0%, rgba(20,10,6,0) 32%),
    linear-gradient(to top, rgba(20,10,6,0.40) 0%, rgba(20,10,6,0) 26%);
  pointer-events: none;
}
/* Chips over the photo, mirroring the result card's .card-scene-top. Stacked
   rather than split left/right: the vibe string is a full sentence and this
   column is ~390px, so side-by-side would wrap into the same two rows anyway —
   this way the wrap is a decision instead of an accident. */
.hero-plan-scene {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 7px;
  z-index: 1;
}
.hero-plan-chip,
.hero-plan-vibe {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 100px;
  font-size: 10px; font-weight: 700;
  padding: 6px 11px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(20,10,6,0.22);
}
.hero-plan-chip {
  letter-spacing: 0.1em; text-transform: uppercase; color: #1A1A1A;
}
.hero-plan-chip::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #E8735A; flex-shrink: 0;
}
.hero-plan-vibe {
  letter-spacing: 0.02em; color: #A74C36;
}
.hero-plan-vibe::before {
  content: '♥'; font-size: 8px; line-height: 1; color: #B83417;
}
/* Location pill — the result card's .card-scene-loc, same solid treatment.
   Depicted here (the whole hero card is one link), a real Maps link over
   there. A solid pill rather than white-on-photo: over a night shot whose
   brightness varies frame to frame, text on a scrim has no contrast anyone
   can promise, and this is the one label naming a real place. */
.hero-plan-loc {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  max-width: calc(100% - 28px);
  padding: 6px 11px;
  border-radius: 100px;
  background: rgba(255,255,255,0.94);
  color: #4E4039;
  font-size: 11px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(60,30,15,0.18);
  z-index: 1;
}
.hero-plan-loc svg { flex-shrink: 0; color: #B83417; }
.hero-plan-body {
  padding: 22px 28px 20px;
  display: flex; flex-direction: column;
  min-width: 0;
}
/* The brief — the "you tell us" half of the loop, kept inside the artifact so
   the card reads as one before/after object instead of two floating groups.
   These four values are the same facts the result page prints as its
   Length / Budget / Vibe meta row. */
.hero-plan-brief {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid #F2ECE8;
}
.hero-brief-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #666666;
  margin-right: 2px;
}
.hero-brief-pill {
  font-size: 11.5px; font-weight: 600; color: #4A4A4A;
  background: #FAF8F6;
  border: 1px solid #EDE6E1;
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}
.hero-plan-title {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 700; line-height: 1.18;
  letter-spacing: -0.4px; color: #1A1A1A;
  margin: 0 0 5px;
  text-wrap: balance;
}
.hero-plan-match {
  font-size: 13px; font-weight: 500; font-style: italic; color: #676767;
  margin: 0 0 16px;
}

/* The itinerary — what "planned down to the minute" actually looks like.
   Head row mirrors the result card's .card-itinerary-head: label left, total
   right. The total lives here rather than under the list precisely so it can
   never drift out of alignment with the step labels. */
.hero-itin-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px; margin-bottom: 12px;
  border-bottom: 1px solid #F2ECE8;
}
.hero-itin-heading {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #666666;
}
.hero-itin-total {
  font-size: 11.5px; font-weight: 700; color: #B83417;
  white-space: nowrap;
}
.hero-itinerary {
  list-style: none; margin: 0 0 18px; padding: 0;
}
.hero-itin-step {
  display: grid;
  grid-template-columns: 58px 14px minmax(0, 1fr) auto;
  gap: 0 10px;
  align-items: start;
  padding-bottom: 14px;
}
.hero-itin-step:last-child { padding-bottom: 0; }
.hero-itin-time {
  font-size: 12px; font-weight: 700; color: #676767;
  font-variant-numeric: tabular-nums;
  line-height: 1.45; padding-top: 2px;
  white-space: nowrap;
}
/* Rail stretches the full row so the connector can flex-fill the gap
   between this stop's dot and the next one. Negative bottom margin must
   match .hero-itin-step's padding-bottom or the line stops short. */
.hero-itin-rail {
  display: flex; flex-direction: column; align-items: center;
  align-self: stretch;
}
.hero-itin-node {
  width: 9px; height: 9px; border-radius: 50%;
  background: #E8735A; margin-top: 6px; flex-shrink: 0;
}
.hero-itin-step:not(:last-child) .hero-itin-rail::after {
  content: '';
  width: 1.5px; flex: 1;
  background: #F0DBD4;
  margin: 3px 0 -14px;
}
/* The money shot — sized to lead the card, not to sit under it */
.hero-itin-label {
  font-size: 14.5px; font-weight: 600; color: #1A1A1A;
  line-height: 1.45;
}
.hero-itin-mins {
  font-size: 11.5px; font-weight: 600; color: #666666;
  font-variant-numeric: tabular-nums;
  line-height: 1.45; padding-top: 2px;
  white-space: nowrap;
}
.hero-plan-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
/* Depicted product UI, not a competing action — the whole card is the link. */
.hero-plan-sample {
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #666666;
}
/* On main this slot swapped "+N alternates" for a "See this plan" link on
   hover. The card does not link anywhere here, so the swap is gone and the
   batch promise simply stays put. */
.hero-plan-foot-note { margin-left: auto; }
.hero-plan-alts {
  font-size: 12.5px;
  white-space: nowrap;
  font-weight: 600;
  color: #666666;
}

/* Post-card CTA — the itinerary is where intent peaks, and without this the
   nearest action is scrolling back up to the headline. */

/* ── HERO TESTIMONIAL ── */

/* ── HERO ANIMATIONS ──
   Entry stagger only. Nothing in the hero loops: perpetual motion reads as
   effort, and the premium reference set (Stripe, Linear) is static at rest. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1      { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0s both; }
.hero-sub     { animation: fadeUp 0.55s cubic-bezier(0.16,1,0.3,1) 0.06s both; }
.hero-actions { animation: fadeUp 0.55s cubic-bezier(0.16,1,0.3,1) 0.12s both; }
.hero-trust   { animation: fadeUp 0.55s cubic-bezier(0.16,1,0.3,1) 0.16s both; }
.hero-stage   { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.2s both; }

/* Reduced motion — respect OS accessibility preference */
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-sub, .hero-actions, .hero-trust,
  .hero-stage, .waitlist-form,
  .hero-highlight::after { animation: none !important; }
  .hero-plan { transition: none !important; }
  .hiw-card,
  .hiw-card-num,
  .hiw-chip,
  .hiw-detail,
  .hiw-memory-tag {
    transition: none !important;
    transform: none !important;
  }
}

/* Focus rings */
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #B83417;
  border-radius: 4px;
}
.btn-primary:focus-visible, .btn-outline:focus-visible { border-radius: 100px; }
.btn-ghost:focus-visible { border-radius: 999px; }
/* ── SHARED SECTION ── */
.section { padding: 96px 72px; }
.section-eyebrow {
  color: #B83417; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
h2.section-title {
  font-size: 48px; font-weight: 700; letter-spacing: -0.8px;
  line-height: 1.12; margin-bottom: 16px; color: #0F0F0F;
  font-family: 'Fraunces', serif;
  text-wrap: balance;
}
p.section-lead { font-size: 17px; color: #676767; line-height: 1.7; }
.section-center { text-align: center; max-width: 580px; margin: 0 auto 60px; }

/* ── WAVE DIVIDERS ── */
.wave-divider { line-height: 0; display: block; }
.wave-divider svg { width: 100%; height: 72px; display: block; }
.section .wave-divider { margin: 0 -72px; }

/* ── HOW IT WORKS ── */
.hiw-wrap {
  /* Warm band — carries the hero's cream into the brand's light coral */
  background: linear-gradient(180deg, #FAF9F7 0%, #FDF0ED 100%);
  overflow: hidden; padding-bottom: 96px; position: relative;
}
.hiw-header {
  max-width: 1100px; margin: 0 auto 56px;
  text-align: center;
}
/* Three connected step cards joined by a dashed path visible in the gaps */
.hiw-steps {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 58px; left: 10%; right: 10%;
  border-top: 2px dashed rgba(232,115,90,0.4);
  z-index: 0;
}
.hiw-card {
  position: relative; z-index: 1;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hiw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.hiw-card-num {
  font-family: 'Fraunces', serif;
  font-size: 44px; font-weight: 800; line-height: 1;
  color: #BB3A1A;
  margin-bottom: 16px;
  transition: color 0.15s ease;
}
.hiw-card:hover .hiw-card-num { color: #B83417; }
.hiw-step-title {
  font-size: 20px; font-weight: 700; color: #1A1A1A;
  letter-spacing: -0.3px; margin: 0 0 8px;
}
.hiw-step-desc {
  font-size: 15px; color: #5C5C5C; line-height: 1.65; margin: 0 0 22px;
}
/* Consistent vignette card pinned to each step card's bottom */
.hiw-vignette {
  margin-top: auto;
  width: 100%; box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FAFAF8;
  border: 1px solid rgba(232,115,90,0.16);
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
}
.hiw-idea-pick { display: flex; flex-direction: column; gap: 3px; }
.hiw-idea-pick strong { font-size: 15px; line-height: 1.25; color: #1A1A1A; }
.hiw-idea-pick span { font-size: 12px; font-weight: 600; color: #666666; }
/* Dimmed alternates behind the pick — shows every batch comes with options */
.hiw-idea-alts { display: flex; flex-wrap: wrap; gap: 6px; }
.hiw-idea-alts span {
  font-size: 11px; font-weight: 600; color: #666666;
  background: #FFFFFF; border: 1px dashed #E0E0E0;
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.hiw-vignette-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: #B83417;
}
.hiw-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hiw-vignette .hiw-chip { background: #F5F5F5; }
.hiw-vignette .hiw-chip-on { background: #E8735A; }
.hiw-vignette .hiw-detail { background: #F5F5F5; }
.hiw-vignette .hiw-memory-tag { white-space: normal; padding: 8px 14px; align-self: flex-start; }
.hiw-vignette-stars { font-size: 13px; color: #B83417; letter-spacing: 1px; }
.hiw-vignette-stars em { font-size: 12px; font-weight: 600; font-style: normal; color: #666666; letter-spacing: 0; margin-left: 4px; }
.hiw-chip {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: #FFFFFF; color: #666666;
  white-space: nowrap;
  transition: background-color 0.16s, color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.hiw-chip-on {
  background: #E8735A; color: white;
}
.hiw-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #666666;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
  transition: background-color 0.16s, color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.hiw-memory-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: #985643;
  font-style: italic;
  background: #FDF0ED;
  border: 1px solid rgba(232,115,90,0.25); border-radius: 999px;
  padding: 8px 18px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(232,115,90,0.10);
  transition: background-color 0.16s, box-shadow 0.16s, transform 0.16s;
}

/* ── SOCIAL PROOF ── */

/* ── DESIGNED AROUND YOU — the page's dark moment ── */
.day-wrap {
  background: #261C18;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}
.day-wrap .section-eyebrow { color: #F0937B; } /* light-on-dark: .day-wrap is #261C18 */
.day-wrap .section-title { color: #FAF6F3; } /* light-on-dark: .day-wrap is #261C18 */

/* Section header */
.day-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

/* Cinematic editorial image */
.day-cinema {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.25);
  position: relative; z-index: 1;
}
.day-cinema img {
  width: 100%; height: 500px;
  object-fit: cover; display: block;
}

/* Vignette panel — overlaps the image to unify composition */
.day-vignettes-panel {
  box-sizing: border-box;
  max-width: 720px;
  margin: -70px auto 0;
  position: relative; z-index: 2;
  background: rgba(254, 252, 251, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 42px 48px 40px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.05), 0 3px 12px rgba(0,0,0,0.03);
}

/* Personalization vignettes */
.day-vignettes {
  display: flex; flex-direction: column;
  gap: 0;
}
.day-vignette {
  padding-bottom: 28px;
}
.day-vignette:last-child {
  padding-bottom: 0;
}
.day-vignette + .day-vignette {
  border-top: 1px solid rgba(232,115,90,0.14);
  padding-top: 28px;
}
.day-vignette-body { flex: 1; }
.day-vignette-label {
  font-size: 11px;
  font-weight: 800;
  color: #B83417;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.day-vignette-quote {
  font-size: 21px; font-weight: 600;
  color: #1A1A1A; line-height: 1.38;
  letter-spacing: -0.2px;
  margin: 0 0 9px;
  font-family: 'Fraunces', serif;
}
.day-vignette-sub {
  font-size: 15px; font-weight: 500;
  color: #676767; line-height: 1.65; margin: 0;
}
.day-diff {
  text-align: center; max-width: 600px; margin: 48px auto 0;
  font-size: 22px; font-weight: 600; color: rgba(250,246,243,0.9); line-height: 1.55;
  letter-spacing: -0.2px;
  font-family: 'Fraunces', serif;
}

/* ── MEMORIES ── */
.mem-wrap { background: #FFFFFF; padding-bottom: 96px; position: relative; }
.mem-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.mem-copy .section-eyebrow { color: #B83417; }
.mem-copy .section-title { color: #0F0F0F; line-height: 1.1; }
.mem-body { color: #666666; font-size: 15px; line-height: 1.75; margin: 16px 0 32px; }
.mem-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.mem-feature { display: flex; gap: 14px; align-items: flex-start; }
.mem-feat-icon { font-size: 20px; min-width: 36px; height: 36px; background: #FEF0EC; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mem-feature strong { display: block; font-size: 14px; font-weight: 700; color: #111; margin-bottom: 2px; }
.mem-feature span { font-size: 13px; color: #666666; line-height: 1.5; }

/* Scrapbook card mockup */
.mem-card-wrap { display: flex; justify-content: center; }
.mem-card {
  background: white; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 6px 20px rgba(0,0,0,0.06);
  width: 100%; max-width: 380px;
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.mem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 68px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
}
.mem-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 20px 16px;
}
.mem-card-name { font-size: 15px; font-weight: 700; color: #0F0F0F; margin-bottom: 4px; }
.mem-card-meta { font-size: 12px; color: #666666; }
.mem-card-private { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #666666; background: #F5F5F5; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mem-card-photo-wrap { width: 100%; height: 220px; overflow: hidden; }
.mem-card-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.mem-card-body { padding: 16px 20px 20px; }
.mem-card-stars { font-size: 14px; color: #B83417; margin-bottom: 10px; }
.mem-card-stars-label { font-size: 12px; font-weight: 600; color: #666666; margin-left: 6px; }
.mem-card-note { font-size: 13px; color: #676767; line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.aside-note { font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600; font-style: italic; color: #6F6660; margin-top: 20px; margin-bottom: 0; letter-spacing: 0.1px; line-height: 1.4; }
.mem-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mem-tag { font-size: 12px; color: #666666; background: #F5F5F5; border-radius: 999px; padding: 5px 12px; font-weight: 500; }

/* ── PRICING ── */
/* Duo strip — the partner-included story gets first-class visual weight */

/* ── MORE TO LOVE ── */
.extras-wrap {
  background: #FFFFFF;
}
.extras-header {
  text-align: center; margin-bottom: 48px;
}
.extras-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 1100px; margin: 0 auto;
}
/* Subgrid shares the mockup row and the caption row across both cards, so
   "Your Scrapbook" / "Your Calendar" start on the same line no matter how
   tall each mockup or description is. Non-subgrid browsers fall back to
   plain rows (minor misalignment only). */
.extras-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 24px;
}
.extras-card .mem-card,
.extras-card .plan-ahead-card {
  max-width: 100%;
  align-self: start;
}
/* Tinted stage behind each mockup — stretches to the shared row height so
   both stages match no matter which mockup runs taller */
.extras-stage {
  background: #FDF0ED;
  border-radius: 28px;
  padding: 32px;
  align-self: stretch;
  display: flex; flex-direction: column;
}
.extras-stage .mem-card,
.extras-stage .plan-ahead-card {
  flex: 1;
}
/* Calendar mockup absorbs extra height by spacing its entries evenly */
.extras-stage .plan-ahead-card { display: flex; flex-direction: column; }
.extras-stage .plan-ahead-entries { flex: 1; justify-content: space-evenly; }
.mem-card-photo-wrap { position: relative; }
.extras-card-copy {
  text-align: center; padding: 0 12px;
  align-self: start;
}
.extras-card-title {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 700; color: #1A1A1A;
  margin: 0 0 8px; letter-spacing: -0.3px;
}
.extras-card-benefit {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.5;
  margin: 0 0 7px;
}
.extras-card-desc {
  font-size: 15px; font-weight: 500; color: #676767;
  line-height: 1.7; margin: 0;
}

/* ── MID-PAGE CTA BANNER ── */
.cta-banner-wrap { background: #FDF0ED; padding: 80px 72px; }
/* Full-volume brand moment — solid coral, white type */
.cta-banner {
  max-width: 920px; margin: 0 auto;
  background: linear-gradient(160deg, #E8735A 0%, #D45E45 100%);
  border: none;
  border-radius: 28px; padding: 76px 64px;
  text-align: center;
  box-shadow: 0 28px 72px rgba(212,94,69,0.35), 0 8px 24px rgba(212,94,69,0.20);
  position: relative; overflow: hidden;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-icon {
  width: 72px; height: 72px; border-radius: 22px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(232,115,90,0.18);
}
.cta-banner-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.75); margin-bottom: 16px;
}
.cta-banner-heading {
  font-size: 48px; font-weight: 700; letter-spacing: -0.8px;
  color: #FFFFFF; margin-bottom: 14px; line-height: 1.12;
  font-family: 'Fraunces', serif;
  text-wrap: balance;
}
.cta-banner-heading span {
  color: inherit;
}
.cta-banner-sub {
  font-size: 17px; color: rgba(255,255,255,0.88);
  margin: 0 auto 36px; line-height: 1.6; max-width: 560px;
}
.cta-banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-banner-btn {
  background: #FFFFFF; color: #B83417;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 12px 28px rgba(126,52,35,0.22);
}
.cta-banner-btn:hover {
  background: #FDEAE4; color: #A82F14; transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(126,52,35,0.28);
}
.cta-banner-btn:active { transform: scale(0.97); }
.cta-banner-ghost {
  background: transparent; color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.55); border-radius: 100px;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; font-family: inherit; cursor: pointer;
}
.cta-banner-ghost:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #B83417;
  transform: translateY(-1px);
}
.cta-trust {
  margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.cta-trust-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); }

/* ── FAQ ── */
.faq-wrap { background: #F5F5F5; margin-bottom: 0; padding-top: 96px; padding-bottom: 96px; }
.faq-wrap h2.section-title { font-size: 36px; }
.faq-wrap .section-center { margin-bottom: 42px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E0E0E0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: left;
  font-size: 16px; font-weight: 600; cursor: pointer;
  background: none; border: none; color: #1A1A1A; padding: 22px 4px;
  font-family: inherit; letter-spacing: -0.1px;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1);
}
.faq-q:hover { color: #B83417; }
.faq-q .icon {
  color: #666666; transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), color 0.2s; font-size: 22px;
  font-weight: 300; line-height: 1; flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-q { color: #1A1A1A; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); color: #B83417; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 800px; }
.faq-a p { color: #5C5C5C; font-size: 15px; line-height: 1.8; padding-bottom: 22px; font-weight: 400; }
.faq-item.faq-hidden { display: none; }
.faq-more-row { text-align: center; margin-top: 28px; }
.faq-more-btn {
  background: transparent;
  border: 1.5px solid #E0E0E0;
  color: #676767;
  font-family: inherit; font-size: 14px; font-weight: 600;
  border-radius: 100px; padding: 11px 26px; cursor: pointer;
  transition: all 0.15s ease;
}
.faq-more-btn:hover { border-color: #E8735A; color: #B83417; background: #FDF0ED; }

/* ── FOOTER ── */
.footer-light {
  /* Warm espresso — harmonizes with the coral brand instead of the old cold navy */
  background: #261C18; border-radius: 0;
  padding: 48px 72px 32px; box-shadow: none;
  margin-top: 0;
  border-top: 1px solid rgba(38,28,24,0.15);
}
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { display: flex; align-items: center; gap: 7px; font-size: 22px; font-weight: 800; color: #FFFFFF; text-decoration: none; }
.footer-logo img { height: 36px; width: auto; filter: brightness(1.12) saturate(1.06); }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.66); margin: 0; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 14px; color: rgba(255,255,255,0.66); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.66); text-decoration: none; transition: color 0.2s cubic-bezier(0.4,0,0.2,1); }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-cta { padding: 13px 28px; font-size: 15px; }
.footer-cols { display: flex; gap: 64px; align-items: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.66); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.66); text-decoration: none; transition: color 0.2s cubic-bezier(0.4,0,0.2,1); }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-col-muted { font-size: 13px; color: rgba(255,255,255,0.3); font-style: italic; }

/* ── STAY ON TOP (Plan Ahead) ── */
.plan-ahead-wrap { background: #FFFFFF; padding-top: 72px; padding-bottom: 96px; position: relative; border-top: 1px solid #EBEBEB; }
.plan-ahead-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.plan-ahead-mockup { display: flex; justify-content: center; }
.plan-ahead-card {
  background: white; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 6px 20px rgba(0,0,0,0.06);
  width: 100%; max-width: 380px;
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.plan-ahead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 68px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
}
.plan-ahead-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 20px 16px; border-bottom: 1px solid #EBEBEB;
}
.plan-ahead-card-title { font-size: 13px; font-weight: 700; color: #0F0F0F; }
.plan-ahead-dot { width: 8px; height: 8px; border-radius: 50%; background: #E8735A; }
.plan-ahead-entries { display: flex; flex-direction: column; }
.plan-ahead-entry {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid #F0F0F0;
}
.plan-ahead-entry:last-child { border-bottom: none; }
.plan-ahead-date-badge { width: 42px; flex-shrink: 0; text-align: center; }
.badge-day { font-size: 18px; font-weight: 800; color: #B83417; line-height: 1; }
.badge-month { font-size: 10px; font-weight: 600; color: #B83417; text-transform: uppercase; letter-spacing: 1px; }
.plan-ahead-entry-info { flex: 1; }
.plan-ahead-entry-name { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 3px; }
.plan-ahead-entry-chip {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: #666666; background: #F5F5F5; border-radius: 999px; padding: 3px 10px;
}
.plan-ahead-entry-chip.chip-soon {
  color: #B83417; background: #FDF0ED;
}
.plan-ahead-body { color: #666666; font-size: 15px; line-height: 1.75; margin: 16px 0 32px; }
.plan-ahead-copy .section-eyebrow { color: #B83417; }
.plan-ahead-copy .section-title { color: #0F0F0F; line-height: 1.1; }

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 768px) {
  .nav { padding: 0 28px; }
  .hero-wrap { padding-bottom: 56px; }
  .hero { padding: 44px 28px 0; }
  .hero h1 { font-size: 44px; letter-spacing: -1px; }
  .hero-sub { font-size: 17px; max-width: 100%; margin-bottom: 22px; }
  .hero-stage { padding: 0 28px; margin-top: 30px; }
  /* Stack the artifact: photo becomes a banner above the itinerary */
  .hero-plan { grid-template-columns: 1fr; }
  .hero-plan-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .hero-plan-body { padding: 20px 24px 18px; }
  .hero-plan-title { font-size: 22px; }
  .section { padding: 72px 28px; }
  h2.section-title { font-size: 34px; }
  .extras-stage { padding: 20px; }
  .hiw-steps { grid-template-columns: 1fr; max-width: 480px; }
  .hiw-steps::before { display: none; }
  .day-cinema img { height: 340px; }
  .day-vignettes-panel { margin: -48px auto 0; padding: 34px 32px 32px; }
  .day-vignette-quote { font-size: 20px; }
  .cta-banner-heading { font-size: 34px; }
  .mem-layout { grid-template-columns: 1fr; }
  .mem-card { max-width: 100%; }
  .plan-ahead-layout { grid-template-columns: 1fr; }
  .plan-ahead-copy { order: -1; }
  .plan-ahead-card { max-width: 100%; }
  .cta-banner-wrap { padding: 48px 28px 64px; }
  .cta-banner { padding: 48px 32px; border-radius: 24px; }
  .extras-grid { grid-template-columns: 1fr; max-width: 420px; }
  .cta-banner-heading { font-size: 32px; }
  .footer-light { padding: 40px 28px 32px; }
  .footer-cols { flex-wrap: wrap; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 480px) {
  .nav { padding: 0 20px; height: 60px; }
  .nav-logo { font-size: 18px; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 13px; }
  .hero-wrap { padding-bottom: 44px; }
  .hero { padding: 34px 20px 0; }
  .hero h1 { font-size: 36px; letter-spacing: -0.6px; line-height: 1.08; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .hero-stage { padding: 0 16px; margin-top: 26px; }
  .hero-plan-photo { aspect-ratio: 3 / 2; }
  .hero-plan-scene { top: 10px; left: 10px; right: 10px; }
  .hero-plan-loc { left: 10px; bottom: 10px; }
  .hero-plan-body { padding: 18px 18px 16px; }
  .hero-plan-brief { padding-bottom: 12px; margin-bottom: 12px; }
  .hero-plan-title { font-size: 20px; }
  .hero-plan-match { font-size: 12.5px; margin-bottom: 14px; }
  /* The per-step duration is the first thing to go: the clock times already
     carry the pacing, and four columns will not fit a 320px card. */
  .hero-itin-step { grid-template-columns: 54px 14px minmax(0, 1fr); }
  .hero-itin-mins { display: none; }
  .hero-itin-label { font-size: 13.5px; }
  .section { padding: 56px 20px; }
  .hiw-card { padding: 22px 20px; }
  .hiw-card-num { font-size: 36px; margin-bottom: 12px; }
  .hiw-step-title { font-size: 17px; }
  .day-cinema { border-radius: 16px; }
  .day-cinema img { height: 240px; }
  .day-vignettes-panel { margin: -28px 12px 0; padding: 30px 24px 28px; border-radius: 16px; }
  .day-vignette-quote { font-size: 18px; letter-spacing: -0.3px; }
  .mem-layout, .plan-ahead-layout { gap: 40px; }
  .mem-card-meta { color: #666666; }
  .mem-card-stars-label { color: #666666; }
  .plan-ahead-entry-chip { font-size: 12px; color: #666666; }
  .cta-banner { padding: 36px 24px; }
  .cta-banner-heading { font-size: 26px; }
  .cta-banner-wrap { padding: 40px 20px 48px; }
  .cta-banner-sub { margin-bottom: 24px; }
  .cta-banner-ghost { padding: 10px 28px; font-size: 14px; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-btn, .cta-banner-ghost { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
  .cta-trust { flex-direction: column; gap: 6px; margin-top: 16px; }
  .cta-trust-dot { display: none; }
  .footer-light { padding: 40px 20px 28px; }
  .footer-links { flex-wrap: wrap; justify-content: flex-start; }

  .aside-note { font-size: 13px; margin-top: 16px; }
  .section-center { margin-bottom: 40px; }
  .footer-col { flex: 1 1 140px; min-width: 0; }
  .cta-banner { padding: 36px 20px; }
}

/* ── WAITLIST CAPTURE ──────────────────────────────────────────────
   datezy.co is the public waitlist surface; these rules have no
   counterpart on main, which ships auth CTAs instead. */
.waitlist-form {
  width: min(100%, 700px);
  margin: 0 auto;
}

#waitlist { scroll-margin-top: 100px; }

.waitlist-fields {
  display: flex;
  gap: 10px;
  align-items: center;
}

.waitlist-input {
  flex: 1 1 75%;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1.5px solid #E0E0E0;
  border-radius: 100px;
  background: #FFFFFF;
  color: #1A1A1A;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0 18px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist-input::placeholder { color: #767676; }

.waitlist-input:focus-visible {
  outline: none;
  border-color: #B83417;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #B83417;
}

.waitlist-form .btn-primary {
  flex: 0 0 25%;
  width: auto;
  max-width: 172px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
}

.waitlist-form .btn-primary:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.waitlist-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: #6B6B6B;
  font-size: 13px;
  font-weight: 600;
}

.waitlist-message.success { color: #256B48; }
.waitlist-message.error { color: #A63D2F; }

.cta-waitlist-form { margin-top: 4px; }
.cta-waitlist-form .waitlist-message { color: #6B6B6B; }
.cta-waitlist-form .waitlist-message.success { color: #256B48; }
.cta-waitlist-form .waitlist-message.error { color: #A63D2F; }

/* ── WAITLIST BUTTON + A11Y UTILITIES ─────────────────────────────
   Carried from the waitlist homepage: main styles an auth CTA instead,
   so none of these have a counterpart there. .sr-only is load-bearing —
   the email field's label is screen-reader-only. */
.btn-shimmer {
  --spread: 90deg;
  --shimmer-color: rgba(255,255,255,0.95);
  --radius: 100px;
  --speed: 3s;
  --cut: 1.5px;
  --bg: #E8735A;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--bg);
}
.btn-shimmer-label {
  position: relative;
  z-index: 3;
}
.btn-shimmer-spark-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  filter: blur(2px);
  pointer-events: none;
  container-type: size;
}
.btn-shimmer-sweep {
  position: absolute;
  inset: 0;
  height: 100cqh;
  aspect-ratio: 1;
  animation: shimmer-slide var(--speed) ease-in-out infinite alternate;
}
.btn-shimmer-spark {
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from calc(270deg - (var(--spread) * 0.5)),
    transparent 0,
    var(--shimmer-color) var(--spread),
    transparent var(--spread)
  );
  animation: spin-around calc(var(--speed) * 2) infinite linear;
}
.btn-shimmer-highlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: inset 0 -8px 10px rgba(255,255,255,0.12);
  transition: box-shadow 0.3s ease-in-out;
  pointer-events: none;
}
.btn-shimmer-backdrop {
  position: absolute;
  inset: var(--cut);
  z-index: 1;
  border-radius: calc(var(--radius) - var(--cut));
  background: var(--bg);
  pointer-events: none;
}
.btn-shimmer:hover .btn-shimmer-highlight {
  box-shadow: inset 0 -6px 10px rgba(255,255,255,0.24);
}
.btn-shimmer:active .btn-shimmer-highlight {
  box-shadow: inset 0 -10px 10px rgba(255,255,255,0.24);
}
@keyframes shimmer-slide {
  to {
    transform: translate(calc(100cqw - 100%), 0);
  }
}
@keyframes spin-around {
  0% {
    transform: translateZ(0) rotate(0);
  }
  15%, 35% {
    transform: translateZ(0) rotate(90deg);
  }
  65%, 85% {
    transform: translateZ(0) rotate(270deg);
  }
  100% {
    transform: translateZ(0) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shimmer-sweep,
  .btn-shimmer-spark { animation: none !important; }
}
.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;
}

/* Stack the capture form on narrow viewports. Lost in the port from main,
   which ships auth CTAs and has no waitlist form; without it the input and
   button stay side by side and the button sits flush to the screen edge. */
@media (max-width: 640px) {
  .waitlist-fields { flex-direction: column; max-width: 420px; margin: 0 auto; }
  .waitlist-input,
  .waitlist-form .btn-primary { flex-basis: auto; width: 100%; max-width: none; }
}
