/* ==========================================
   Burger Blocker — landing + legal styles
   Identity: deep red, black, white. Bold,
   heroic, "stop signal." No green anywhere.
   ========================================== */
:root {
  --red: #B10000;          /* core brand red — matches the app icon */
  --red-dark: #8A0000;     /* pressed / deep */
  --red-bright: #E11900;   /* punchy accent for hover + highlights */
  --red-soft: #FCE9E5;     /* tinted fill */
  --ink: #1A1410;          /* primary text — warm near-black */
  --ink-2: #5F6671;        /* muted captions */
  --ink-3: #9AA0AB;        /* faint */
  --black: #0C0A09;        /* hero / dramatic surfaces */
  --black-2: #1C1715;
  --bg-page: #F4F1EE;      /* warm off-white page */
  --bg-white: #FFFFFF;
  --bg-soft: #F7F4F1;
  --border: #E7E1DC;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-width: 1100px;
  --header-height: 70px;
  --radius: 40px;
  --container-gap: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-page);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Rounded section cards
   ========================================== */
.section-container {
  max-width: 1200px;
  margin: var(--container-gap) auto 0;
  padding: 0 16px;
}

.section-container > section {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-container--hero {
  margin-top: 0;
  padding-top: calc(var(--header-height) + var(--container-gap));
}

/* ==========================================
   Scroll animations
   ========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ==========================================
   Header
   ========================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,0.08); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 2px 8px rgba(177,0,0,0.28);
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.header-nav { display: flex; align-items: center; gap: 10px; }

/* "Coming soon" pill — stands in for the App Store badge pre-launch */
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 48px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.coming-soon-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(225,25,0,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225,25,0,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(225,25,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,25,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .coming-soon-pill .dot { animation: none; }
}

/* App Store badge styling (used when a real link exists) */
.app-store-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 9px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-store-link img { display: block; width: 168px; height: auto; }
.app-store-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

/* ==========================================
   Hero — dramatic black stage
   ========================================== */
.section-container > .hero {
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(177,0,0,0.55) 0%, rgba(177,0,0,0) 55%),
    radial-gradient(90% 70% at 12% 90%, rgba(225,25,0,0.30) 0%, rgba(225,25,0,0) 60%),
    linear-gradient(165deg, #14100E 0%, #0C0A09 60%, #060504 100%);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 44px 0 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 15px;
  border-radius: 48px;
  margin-bottom: 4px;
}
.hero-eyebrow .shield-i { color: var(--red-bright); }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: none;
}
.hero-headline .accent { color: var(--red-bright); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 460px;
  line-height: 1.6;
  margin: 4px 0 4px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 22px;
  font-weight: 600;
}
.hero-badge .apple {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--ink);
}
.hero-badge .badge-text { text-align: left; line-height: 1.15; }
.hero-badge .badge-small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-badge .badge-big {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-microcopy {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
}

.hero-media {
  width: 100%;
  max-width: 440px;
  margin-top: 8px;
  position: relative;
}
.hero-media img {
  width: 100%;
  display: block;
  border-radius: 24px 24px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

/* ==========================================
   Section titles
   ========================================== */
.section-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-title .accent { color: var(--red); }

.section-title--underline { width: fit-content; max-width: 100%; }
.section-title--underline::after {
  content: '';
  display: block;
  height: 6px;
  width: 64%;
  min-width: 80px;
  border-radius: 4px;
  background: var(--red);
  margin-top: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 8px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

/* ==========================================
   Problem section
   ========================================== */
.problem { padding: 52px 0; }
.problem-lead {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 760px;
}
.problem-body {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 16px;
}
.problem-body:last-child { margin-bottom: 0; }
.problem-body strong { color: var(--ink); }

/* ==========================================
   Feature rows (phone panels)
   ========================================== */
.features { padding: 44px 0; }

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
}
.feature-row:first-of-type { margin-top: 8px; }

.feature-copy { width: 100%; }
.feature-step {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.feature-text {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.65;
}
.feature-text + .feature-text { margin-top: 12px; }
.feature-text strong { color: var(--ink); }

.feature-media { width: 100%; max-width: 320px; }

/* Phone screenshot tile */
.phone-tile {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(12,10,9,0.16), 0 6px 16px rgba(12,10,9,0.10);
}
.phone-tile img { width: 100%; display: block; }

/* ==========================================
   Highlight strip (groceries)
   ========================================== */
.section-container > .highlight {
  background:
    radial-gradient(110% 130% at 90% 0%, rgba(225,25,0,0.4) 0%, rgba(225,25,0,0) 55%),
    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
}
.highlight { padding: 48px 0; }
.highlight-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.highlight-copy { width: 100%; }
.highlight .section-title { color: #fff; }
.highlight .section-title .accent { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.55); text-underline-offset: 6px; }
.highlight-text {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  max-width: 520px;
}
.highlight-media { width: 100%; max-width: 300px; }

/* ==========================================
   Setup steps
   ========================================== */
.setup { padding: 48px 0; }
.setup-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin-top: 8px;
}
.setup-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.step-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(177,0,0,0.28);
}
.setup-step-text h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.setup-step-text p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
}
.setup-step-text strong { color: var(--ink); }

/* ==========================================
   Reassurance / privacy cards
   ========================================== */
.assurance { padding: 48px 0; }
.assurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
.assurance-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
}
.assurance-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 14px;
}
.assurance-icon svg { width: 24px; height: 24px; }
.assurance-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.assurance-card p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ==========================================
   Final CTA
   ========================================== */
.section-container > .final-cta {
  background:
    radial-gradient(110% 120% at 50% 0%, rgba(177,0,0,0.5) 0%, rgba(177,0,0,0) 55%),
    linear-gradient(165deg, #14100E 0%, #0C0A09 70%);
  color: #fff;
}
.final-cta { padding: 64px 0; text-align: center; }
.final-cta .container { display: flex; flex-direction: column; align-items: center; }
.final-cta-shield {
  width: 64px; height: 64px;
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(177,0,0,0.45);
}
.final-cta-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 16px;
}
.final-cta-title .accent { color: var(--red-bright); }
.final-cta-text {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
  margin: 0 auto 26px;
  line-height: 1.55;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 40px;
  margin-top: var(--container-gap);
}
.footer-grid { display: flex; flex-direction: column; gap: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo { width: 30px; height: 30px; border-radius: 8px; }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer-tagline { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); }
.footer-al-link {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.footer-al-link:hover { color: #fff; }

.footer-columns { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.footer-col-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ==========================================
   Legal pages
   ========================================== */
.legal { padding: 44px 0 64px; }
.legal-back {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 28px;
  transition: opacity 0.2s ease;
}
.legal-back:hover { opacity: 0.7; }
.legal-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}
.legal-body { max-width: 720px; }
.legal-meta {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-body p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}
.legal-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 22px 0 10px;
}
.legal-body ul { margin: 0 0 18px 0; padding-left: 1.4em; }
.legal-body li {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 7px;
  padding-left: 0.4em;
}
.legal-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(177,0,0,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.legal-body a:hover { text-decoration-color: var(--red); }
.legal-body hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }

/* ==========================================
   Waitlist signup
   ========================================== */
/* Modal dialog */
.wl-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  color: var(--ink);
  width: min(440px, calc(100vw - 32px));
}
.wl-dialog::backdrop {
  background: rgba(12,10,9,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.wl-dialog[open] { animation: wl-dialog-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes wl-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wl-dialog[open] { animation: none; }
}

.wl-dialog-card {
  position: relative;
  width: 100%;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-white);
  border-radius: 24px;
  padding: clamp(22px, 4.5vw, 30px);
  box-shadow: 0 28px 64px rgba(12,10,9,0.34);
  text-align: left;
}

.wl-dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.wl-dialog-close:hover { background: rgba(12,10,9,0.06); color: var(--ink); }
.wl-dialog-close:disabled { opacity: 0.5; cursor: not-allowed; }

.wl-dialog-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 5px;
  padding-right: 32px;
}
.wl-dialog-sub { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-bottom: 18px; }

.wl-form { width: 100%; }

.wl-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.wl-field label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.wl-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--borderStrong, #D3D6DC);
  border-radius: 13px;
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.wl-input::placeholder { color: var(--ink-3); }
.wl-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(177,0,0,0.14);
}

.wl-fieldset { border: 0; padding: 0; margin: 16px 0 0; min-inline-size: 0; }
.wl-fieldset legend {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 0;
  margin-bottom: 9px;
}
.wl-fieldset legend span { color: var(--ink-2); font-weight: 600; }

.wl-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  user-select: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.wl-check:hover { border-color: var(--borderStrong, #D3D6DC); }
.wl-check input { width: 16px; height: 16px; margin: 0; flex-shrink: 0; accent-color: var(--red); }
.wl-check:has(input:checked) { border-color: var(--red); background: var(--red-soft); }

.wl-other { margin-top: 10px; }

.wl-submit {
  margin-top: 18px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
}
.wl-submit:hover { background: var(--red-bright); transform: translateY(-1px); }
.wl-submit:active { transform: translateY(0); }
.wl-submit:disabled { opacity: 0.62; cursor: progress; transform: none; }

/* Dialog action row: Cancel + Join side by side */
.wl-dialog-actions { display: flex; gap: 9px; margin-top: 20px; }
.wl-dialog-actions .wl-submit { margin-top: 0; flex: 1; height: 48px; }
.wl-btn-secondary {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--borderStrong, #D3D6DC);
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.wl-btn-secondary:hover { background: rgba(12,10,9,0.04); }
.wl-btn-secondary:disabled { opacity: 0.55; cursor: not-allowed; }

/* "Sounds good" button on the success panel */
.wl-done { width: auto; margin: 6px auto 2px; padding: 0 34px; height: 48px; }

.wl-message { margin: 12px 2px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.wl-message:empty { margin: 0; }
.wl-message[data-state="error"] { color: var(--red); font-weight: 600; }

/* Success state — hide the inputs, show the confirmation */
.wl-success { display: none; }
.wl-form[data-state="success"] .wl-field,
.wl-form[data-state="success"] .wl-fieldset,
.wl-form[data-state="success"] .wl-dialog-title,
.wl-form[data-state="success"] .wl-dialog-sub,
.wl-form[data-state="success"] .wl-dialog-actions,
.wl-form[data-state="success"] .wl-message { display: none; }
.wl-form[data-state="success"] .wl-success { display: block; text-align: center; padding: 8px 6px 4px; }
.wl-success::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red-soft)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23B10000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    center / 28px no-repeat;
}
.wl-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.wl-success p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* Hero/Final-CTA "Join the waitlist" button (dark surfaces) */
.btn-waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  padding: 0 30px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(177,0,0,0.4);
  transition: background 0.18s ease, transform 0.12s ease;
}
.btn-waitlist:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-waitlist:active { transform: translateY(0); }

/* Header "Join" pill */
.btn-join-header {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.12s ease;
}
.btn-join-header:hover { background: var(--red-bright); transform: translateY(-1px); }

/* ==========================================
   Mobile container rounding
   ========================================== */
@media (max-width: 767px) {
  .section-container { padding-left: 12px; padding-right: 12px; }
  .section-container > section { border-radius: 30px; }
}

/* ==========================================
   Tablet (768px+)
   ========================================== */
@media (min-width: 768px) {
  :root { --container-gap: 20px; }

  .hero-grid {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 36px;
    padding: 56px 0 0;
  }
  .hero-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
  .hero-actions { align-items: flex-start; }
  .hero-headline { font-size: 60px; }
  .hero-media { flex: 0 0 44%; max-width: 420px; align-self: flex-end; margin-top: 0; }

  .feature-row { flex-direction: row; gap: 52px; align-items: center; }
  .feature-row--reverse { flex-direction: row-reverse; }
  .feature-copy { flex: 1; }
  .feature-media { flex: 0 0 40%; max-width: 320px; }

  .highlight-inner { flex-direction: row-reverse; align-items: center; gap: 48px; }
  .highlight-copy { flex: 1; }
  .highlight-media { flex: 0 0 38%; max-width: 300px; }

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

  .section-title { font-size: 40px; }
  .problem-lead { font-size: 30px; }
  .final-cta-title { font-size: 52px; }
  .legal-title { font-size: 44px; }

  .footer-grid { flex-direction: row; justify-content: space-between; gap: 56px; }
}

/* ==========================================
   Desktop (1024px+)
   ========================================== */
@media (min-width: 1024px) {
  :root { --container-gap: 24px; }
  body { font-size: 18px; }
  .container { padding: 0 40px; }

  .hero-headline { font-size: 72px; }
  .hero-grid { padding-top: 64px; }
  .problem { padding: 72px 0; }
  .features { padding: 64px 0; }
  .feature-title { font-size: 30px; }
  .section-title { font-size: 46px; }
  .final-cta-title { font-size: 60px; }
}
