/* ==========================================================================
   Focant — landing page styles
   Design tokens first, then layout, then components, then states.
   ========================================================================== */

:root {
  /* Color — light, warm-off-white theme */
  --bg: #FAFAF8;
  --bg-raised: #FFFFFF;
  --bg-raised-2: #F5F1E7;
  --bg-recessed: #EFEEEA;
  --fg: #111111;
  --fg-muted: #52534C;
  --fg-subtle: #6B6C65;
  --border: #E4E3DE;
  --border-strong: #D4D2CB;
  --amber: #E2A038;
  --amber-text: #8C5B11;
  --amber-ink: #1A1200;
  --red: #C1453D;
  --focus-ring: #9C6414;
  --inverse-bg: #111111;
  --inverse-fg: #FAFAF8;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-2xs: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.625rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.75rem;
  --fs-3xl: 3.5rem;

  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-normal: 1.6;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --content-width: 1140px;
  --content-pad: 1.5rem;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 350ms;
  --dur-slow: 600ms;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

input {
  font: inherit;
}

/* Visible focus for every interactive element, never suppressed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-4);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

.section {
  padding-block: var(--space-9);
  border-top: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin-bottom: var(--space-7);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-10);
  }
  .section__title {
    font-size: var(--fs-2xl);
  }
}

.num--noise { color: var(--red); }
.num--kept { color: var(--amber-text); }

/* ==========================================================================
   Buttons & fields
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--fg);
  color: var(--bg);
}

.btn--primary:hover {
  background: #2A2A28;
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
  min-height: 40px;
  padding: 0 var(--space-5);
  font-size: var(--fs-xs);
}

.btn--ghost:hover {
  border-color: var(--fg-muted);
}

.btn--accent {
  background: var(--amber);
  color: var(--amber-ink);
}

.btn--accent:hover {
  background: #EEB25A;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(250, 250, 248, 0.3);
  border-top-color: var(--bg);
  animation: spin 700ms linear infinite;
  flex: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field__label {
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-5);
  background: var(--bg-recessed);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--fg);
  font-size: 16px; /* prevents iOS zoom on focus */
}

.field__input::placeholder {
  color: var(--fg-subtle);
}

.field__input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.field__error {
  font-size: var(--fs-xs);
  color: var(--red);
  min-height: 1em;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* The wordmark SVG carries ~17% padding top and bottom, so the rendered
   box is 1.5x the height of the glyphs it actually shows.

   Size is set by the dotted "o": the ring is half the glyph height and
   holds twelve dots, so it needs roughly 15px of diameter before it
   reads as a ring rather than a smudge — below about 40px the wordmark
   looks like "f-cant". Hence 44px, not the 24px that would have matched
   the old text wordmark's weight. */
.wordmark img {
  display: block;
  height: 44px;
  width: auto;
}

.wordmark--footer img {
  height: 52px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero__inner {
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-8) var(--space-9);
}

.hero__copy {
  max-width: 620px;
}

.hero__headline {
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-block: var(--space-5) var(--space-5);
}

.hero__headline span {
  display: block;
}

.hero__headline .is-muted {
  color: var(--fg-muted);
}

.hero__sub {
  font-size: var(--fs-md);
  color: var(--fg-muted);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.hero__cta-note {
  font-size: var(--fs-xs);
  color: var(--fg-subtle);
}

.platform-badges {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: var(--space-2);
  vertical-align: middle;
}

.platform-badges__icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: none;
}

.hero__phone-slot {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero__headline {
    font-size: var(--fs-3xl);
  }
  .hero__phone-slot {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Phone demo component (shared: hero + scroll demo)
   ========================================================================== */

.phone {
  --phone-w: 260px;
  width: var(--phone-w);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  padding: var(--space-2);
  position: relative;
  box-shadow: 0 24px 60px -24px rgba(17, 17, 17, 0.22);
}

.phone__screen {
  height: 100%;
  width: 100%;
  border-radius: 26px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--space-3) var(--space-3);
}

.phone__status {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex: none;
}

.phone__counter {
  font-size: var(--fs-lg);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-base) var(--ease-out);
}

.phone__counter-label {
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}

.phone__stack {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}

.notif {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--bg-raised-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  transition:
    transform var(--dur-slow) var(--ease-out),
    opacity var(--dur-slow) var(--ease-out),
    max-height var(--dur-slow) var(--ease-out),
    margin var(--dur-slow) var(--ease-out),
    padding var(--dur-slow) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  max-height: 60px;
  overflow: hidden;
}

.notif__icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex: none;
  background: var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  /* The glyph inherits this, so the icon's two states only need to set
     `color` alongside `background`. */
  color: var(--fg-subtle);
}

.notif__glyph {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.notif__body {
  min-width: 0;
}

.notif__app {
  font-size: var(--fs-2xs);
  color: var(--fg-subtle);
}

.notif__text {
  font-size: var(--fs-2xs);
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif--kept {
  border-color: rgba(226, 160, 56, 0.5);
}

.notif--kept .notif__icon {
  background: var(--amber);
  color: var(--amber-ink);
}

.notif--kept .notif__app {
  color: var(--amber-text);
}

/* --- Phone component: state-driven card visibility ---------------------
   Default (no JS / "many"): every card looks neutral — nothing has been
   sorted yet, so kept cards don't reveal their highlight early. */
.phone[data-state='many'] .notif--kept {
  border-color: var(--border);
}

.phone[data-state='many'] .notif--kept .notif__icon {
  background: var(--border-strong);
  color: var(--fg-subtle);
}

.phone[data-state='many'] .notif--kept .notif__app {
  color: var(--fg-subtle);
}

/* "kept" (needs you): noise collapses away, kept cards keep their highlight */
.phone[data-state='kept'] .notif--noise {
  opacity: 0;
  max-height: 0;
  padding-block: 0;
  margin: 0;
  border-width: 0;
  transform: translateX(12px);
}

/* "later": the noise pile is visible again; kept cards step back */
.phone[data-state='later'] .notif--kept {
  opacity: 0;
  max-height: 0;
  padding-block: 0;
  margin: 0;
  border-width: 0;
}

/* "handled": the stack retires into a single summary line */
.phone__summary {
  display: none;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding: var(--space-4) var(--space-3);
}

.phone__summary-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border-strong);
  flex: none;
  position: relative;
}

.phone__summary-icon::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--fg-muted);
  border-bottom: 2px solid var(--fg-muted);
  transform: rotate(-45deg);
}

.phone__summary-text {
  font-size: var(--fs-2xs);
  color: var(--fg-subtle);
}

.phone[data-state='handled'] .phone__stack {
  display: none;
}

.phone[data-state='handled'] .phone__summary {
  display: flex;
}

/* Reduced-motion poster: static end state, described in words */
.phone__poster {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
}

.phone__poster-line {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.phone__poster-line--struck {
  color: var(--fg-subtle);
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

.phone__poster-line--kept {
  color: var(--amber-text);
  font-size: var(--fs-md);
}

/* Reduced motion: no transform tricks, just show end state instantly */
@media (prefers-reduced-motion: reduce) {
  .notif {
    transition: none;
  }
}

/* ==========================================================================
   Video demo
   ========================================================================== */

.video-demo__sub {
  color: var(--fg-muted);
  margin-top: var(--space-3);
}

.video-demo__frame {
  display: flex;
  justify-content: center;
}

.video-demo__video {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px -24px rgba(17, 17, 17, 0.22);
  object-fit: cover;
}

/* Desktop gets the 16:9 cut (matched by the <source media> picks in the
   markup) so the frame widens and drops the portrait phone-like radius. */
@media (min-width: 768px) {
  .video-demo__video {
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }
}

/* ==========================================================================
   Problem
   ========================================================================== */

.problem__grid {
  display: grid;
  gap: var(--space-8);
}

.problem__copy-body {
  margin-top: var(--space-5);
}

.problem__copy p {
  color: var(--fg-muted);
  max-width: 52ch;
  margin-bottom: var(--space-4);
}

.problem__copy p:last-child {
  color: var(--fg);
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.card-stack .notif {
  max-height: none;
}

@media (min-width: 1024px) {
  .problem__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ==========================================================================
   How it works
   ========================================================================== */

.steps {
  display: grid;
  gap: var(--space-7);
}

.step__index {
  font-size: var(--fs-sm);
  color: var(--fg-subtle);
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.step__title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step__body {
  color: var(--fg-muted);
  max-width: 42ch;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Demo (scroll-driven)
   ========================================================================== */

.demo-section {
  border-top: 1px solid var(--border);
  padding-top: var(--space-9);
}

@media (min-width: 768px) {
  .demo-section {
    padding-top: var(--space-10);
  }
}

.demo__scroller {
  position: relative;
  height: 400vh;
}

.demo__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-7);
  padding-block: var(--space-8);
}

.demo__phone-slot {
  display: flex;
  justify-content: center;
}

.demo .phone {
  --phone-w: 300px;
}

.demo__state-label {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}

.demo__state-label strong {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .demo .phone {
    --phone-w: 340px;
  }
}

/* ==========================================================================
   Trust
   ========================================================================== */

.trust__list {
  display: grid;
  gap: var(--space-7);
}

.trust__item-title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.trust__item-body {
  color: var(--fg-muted);
  max-width: 42ch;
}

@media (min-width: 768px) {
  .trust__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Waitlist module (shared component: hero + final CTA)
   ========================================================================== */

.waitlist {
  width: 100%;
  max-width: 440px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.waitlist__title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.waitlist__copy {
  color: var(--fg-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.waitlist__consent {
  font-size: var(--fs-2xs);
  color: var(--fg-subtle);
}

.waitlist__note {
  font-size: var(--fs-xs);
  color: var(--fg-subtle);
  margin-top: var(--space-4);
}

.waitlist__status {
  font-size: var(--fs-xs);
  min-height: 1em;
}

.waitlist__status[data-tone="error"] {
  color: var(--red);
}

/* Stage 2 — success + optional questions */

.waitlist__success-title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.waitlist__questions {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.waitlist__questions-title {
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  margin-bottom: var(--space-5);
}

.question {
  margin-bottom: var(--space-5);
}

.question__prompt {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-3);
}

/* "Saved" tick, revealed on the question the person just answered. */
.question__saved {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--amber-text);
  white-space: nowrap;
  animation: saved-in var(--dur-base) var(--ease-out) both;
}

.question__saved::before {
  content: '\2713';
  margin-right: 0.35em;
}

@keyframes saved-in {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: none; }
}

/* Questions fade out once all three are answered, then get hidden. */
.waitlist__questions.is-leaving {
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.waitlist__done {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  animation: saved-in var(--dur-base) var(--ease-out) both;
}

.waitlist__done-title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.chip:hover {
  border-color: var(--fg-muted);
}

.chip[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */

.consent {
  position: fixed;
  z-index: 90;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  max-width: 560px;
  margin-inline: auto;
  padding: var(--space-5);
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: consent-in var(--dur-base) var(--ease-out) both;
}

@keyframes consent-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.consent__text {
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  line-height: var(--lh-normal);
}

.consent__text a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

.consent__actions .btn {
  min-height: 44px;
  padding-inline: var(--space-5);
}

@media (max-width: 479px) {
  .consent__actions .btn {
    flex: 1;
  }
}

/* ==========================================================================
   Prose (privacy policy and any other long-form page)
   ========================================================================== */

.prose {
  max-width: 68ch;
  color: var(--fg-muted);
}

.prose__lead {
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--fg);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.prose h2 {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--fg);
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.prose p,
.prose ul {
  margin-bottom: var(--space-4);
}

.prose ul {
  list-style: disc;
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose strong {
  color: var(--fg);
  font-weight: 600;
}

.prose a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--amber-text);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  text-align: center;
}

.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta .section__title {
  margin-bottom: var(--space-3);
}

.final-cta__copy {
  color: var(--fg-muted);
  margin-bottom: var(--space-7);
}

.final-cta .waitlist {
  text-align: left;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--space-7);
}

.footer__tagline {
  color: var(--fg-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-2);
  max-width: 40ch;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}

.footer__links a:hover {
  color: var(--fg);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* ==========================================================================
   Mock mode badge
   ========================================================================== */

.mock-badge {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: 50;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
