/* ==========================================================================
   Dayspool — styles.css
   Identity: Recording-device / tally-light theme
   Palette: Light base #FAFAFA, SIGNATURE accent #FF3B30 record red,
            green #16A34A as micro-accent only (live dot, timeline fill, success).
   Type: -apple-system / Segoe UI / Roboto system stack
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom properties
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --c-bg:          #FAFAFA;   /* Near-white page background */
  --c-card:        #FFFFFF;   /* Card surfaces */
  --c-red:         #FF3B30;   /* SIGNATURE — CTAs, REC badge, hover, key accents */
  --c-red-dark:    #E5384D;   /* Hover depth on red */
  --c-green:       #16A34A;   /* MICRO-ACCENT only — live dot, timeline fill, form-success */
  --c-heading:     #1A1A1A;   /* H1 / H2 / H3 headings */
  --c-body:        #4B5563;   /* Body copy */
  --c-muted:       #9CA3AF;   /* Captions, labels, secondary */
  --c-border:      #ECECEC;   /* Hairline border */
  --c-shadow:      rgba(0,0,0,.05);  /* Soft shadow base */

  /* Typography — clean system stack */
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sizes */
  --text-hero:   32px;
  --text-h2:     28px;
  --text-h3:     18px;
  --text-body:   17px;
  --text-sm:     14px;
  --text-label:  13px;
  --lh-body:     1.6;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  28px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-15: 60px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Radii */
  --radius-card: 16px;
  --radius-sm:   8px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-card: 0 6px 20px var(--c-shadow);
  --shadow-lift: 0 10px 32px rgba(0,0,0,.08);

  /* Layout */
  --max-w:      1100px;
  --max-w-text: 680px;

  /* Motion */
  --dur: 200ms;
  --ease: cubic-bezier(.4,0,.2,1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--c-bg);
  color: var(--c-body);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--c-red); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); }

/* --------------------------------------------------------------------------
   Screen-reader only
   -------------------------------------------------------------------------- */
.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;
}

/* --------------------------------------------------------------------------
   Layout container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

/* --------------------------------------------------------------------------
   Tag / chip
   -------------------------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #FFF1F0;
  color: var(--c-red);
  font-size: var(--text-label);
  font-weight: bold;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   Section label — small caps, muted
   -------------------------------------------------------------------------- */
.section-label {
  display: block;
  font-size: var(--text-label);
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}

/* --------------------------------------------------------------------------
   REC indicator — pulsing red dot + label
   -------------------------------------------------------------------------- */
.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFF1F0;
  border: 1px solid rgba(255,59,48,.18);
  border-radius: var(--radius-pill);
  padding: 5px 12px 5px 8px;
  font-size: var(--text-label);
  font-weight: bold;
  letter-spacing: .06em;
  color: var(--c-red);
}

/* Hero status row */
.hero-status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* Bold red REC pill — recording cue in the hero */
.rec-badge-bold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--c-red);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #fff;
}

/* Waitlist open — neutral pill */
.waitlist-open-badge {
  display: inline-flex;
  align-items: center;
  background: #F5F5F5;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: var(--text-label);
  font-weight: bold;
  letter-spacing: .04em;
  color: var(--c-body);
}

.rec-dot {
  width: 8px;
  height: 8px;
  background: var(--c-red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: rec-pulse 1.6s ease-in-out infinite;
}

/* The rec-dot INSIDE the white rec-badge-bold pill should be white */
.rec-badge-bold .rec-dot {
  background: rgba(255,255,255,.9);
}

@keyframes rec-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,59,48,.5); }
  50%       { opacity: .6; box-shadow: 0 0 0 4px rgba(255,59,48,0); }
}

/* Dot size variants */
.rec-dot-lg {
  width: 11px;
  height: 11px;
}

.rec-dot-sm {
  width: 7px;
  height: 7px;
}

/* Red REC chip for the hero card header */
.card-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-red);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 3px 9px 3px 7px;
}

/* Small red dot before the card title text */
.card-rec-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-red);
  border-radius: 50%;
  margin-right: 5px;
  flex-shrink: 0;
  animation: rec-pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* "Recording" label in card footer */
.footer-rec-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-red);
  font-weight: bold;
  font-size: var(--text-label);
  letter-spacing: .04em;
}

.footer-sep {
  color: var(--c-muted);
}

/* Red dot eyebrow in section labels */
.section-rec-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--c-red);
  border-radius: 50%;
  margin-right: 5px;
  animation: rec-pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Footer rec note — dot + "Nothing leaves your Mac" */
.footer-rec-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* LIVE chip — micro-accent green for active/live state */
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-green);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 3px 9px 3px 7px;
}

.live-chip-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: rec-pulse 1.6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Site header — frosted, neutral
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 56px;
}

/* Wordmark logo: red dot + bold text */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: bold;
  font-size: 17px;
  color: var(--c-heading);
  text-decoration: none;
}

.logo:hover { text-decoration: none; color: var(--c-red); }

/* The red record dot mark */
.logo-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.logo-mark img { display: block; height: 28px; width: auto; }
.footer-logo .logo-mark img { height: 22px; }

.header-cta {
  font-size: var(--text-label);
  font-weight: bold;
  color: var(--c-red);
  border: 1.5px solid var(--c-red);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: .01em;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.header-cta:hover {
  background: var(--c-red);
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero — light, airy, neutral base. No colored banner.
   -------------------------------------------------------------------------- */
.hero {
  background: var(--c-bg);
  color: var(--c-heading);
  padding: var(--sp-20) 0 var(--sp-16);
  border-bottom: 1px solid var(--c-border);
}

/* No pseudo-element texture needed on light hero */
.hero::before { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-16);
  align-items: start;
  position: relative;
}

.hero-status {
  margin-bottom: var(--sp-6);
}

.hero-h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--c-heading);
  margin-bottom: var(--sp-5);
}

.hero-body {
  font-size: var(--text-body);
  color: var(--c-body);
  line-height: var(--lh-body);
  max-width: 50ch;
  margin-bottom: var(--sp-8);
}

/* --------------------------------------------------------------------------
   Hero stats card — white card on neutral hero
   -------------------------------------------------------------------------- */
.hero-card {
  background: var(--c-card);
  border-radius: var(--radius-card);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--c-border);
  color: var(--c-heading);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.hero-card-title {
  font-size: var(--text-label);
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: inline-flex;
  align-items: center;
}

/* Recording progress timeline — green fill (micro-accent), red playhead */
.timeline-bar {
  margin-bottom: var(--sp-5);
}

.timeline-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-label);
  color: var(--c-muted);
  margin-bottom: 6px;
}

.timeline-track {
  height: 5px;
  background: var(--c-border);
  border-radius: var(--radius-pill);
  overflow: visible;
  position: relative;
}

.timeline-fill {
  height: 100%;
  width: 72%;
  background: var(--c-green);   /* micro-accent: green = active/live */
  border-radius: var(--radius-pill);
  position: relative;
}

/* Red playhead at the leading edge */
.timeline-fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: var(--c-red);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--c-red), 0 0 8px 2px rgba(255,59,48,.35);
  animation: playhead-pulse 1.6s ease-in-out infinite;
}

@keyframes playhead-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--c-red), 0 0 8px 2px rgba(255,59,48,.35); }
  50%       { box-shadow: 0 0 0 2px var(--c-red), 0 0 14px 4px rgba(255,59,48,.15); }
}

.hero-stats {
  display: grid;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}

.hero-stat {
  background: var(--c-card);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: bold;
  color: var(--c-heading);
  line-height: 1;
}

.hero-stat-unit {
  font-size: var(--text-label);
  font-weight: bold;
  color: var(--c-muted);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--c-muted);
}

.hero-card-footer {
  font-size: var(--text-label);
  color: var(--c-muted);
  letter-spacing: .04em;
  text-align: center;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* --------------------------------------------------------------------------
   Section divider
   -------------------------------------------------------------------------- */
.section-divider {
  height: 1px;
  background: var(--c-border);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Waitlist form — preserve all selectors waitlist.js depends on
   .waitlist-form, .field, .field-error, input[type="email"],
   button[type="submit"], .form-success
   -------------------------------------------------------------------------- */
.waitlist-form-wrapper {}

.waitlist-form {
  display: flex;
  gap: var(--sp-2);
  width: 100%;
  max-width: 520px;
  flex-wrap: wrap;
}

.waitlist-form .field {
  flex: 1 1 220px;
  position: relative;
}

.waitlist-form input[type="email"] {
  width: 100%;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-heading);
  font-family: var(--font);
  font-size: var(--text-body);
  padding: 11px var(--sp-4);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(255,59,48,.12);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--c-muted);
}

/* Primary CTA button — record red */
.btn-primary {
  background: var(--c-red);
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: bold;
  letter-spacing: .01em;
  padding: 11px var(--sp-6);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), transform 120ms var(--ease);
}

.btn-primary:hover { background: var(--c-red-dark); }
.btn-primary:active { transform: scale(.975); }

.btn-primary[aria-busy="true"] {
  opacity: .65;
  cursor: not-allowed;
}

/* Form success state — micro-accent green for the check/live state */
.form-success {
  display: none;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-green);
  font-weight: bold;
  font-size: var(--text-body);
  padding: 11px var(--sp-4);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: var(--radius-sm);
  background: rgba(22,163,74,.06);
}

.form-success svg { flex-shrink: 0; }

/* Validation error */
.field-error {
  display: none;
  font-size: var(--text-sm);
  color: var(--c-red);
  margin-top: var(--sp-1);
}

.waitlist-form.has-error .field-error { display: block; }
.waitlist-form.has-error input[type="email"] { border-color: var(--c-red); }

/* Hero form sits on light bg — no special overrides needed (inherits base) */
/* These selectors stay for waitlist.js compatibility */
.hero .waitlist-form input[type="email"] {
  background: #fff;
  border-color: var(--c-border);
  color: var(--c-heading);
}

.hero .waitlist-form input[type="email"]:focus {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(255,59,48,.12);
}

.hero .btn-primary {
  background: var(--c-red);
  border: none;
  color: #fff;
}

.hero .btn-primary:hover {
  background: var(--c-red-dark);
}

.hero .form-success {
  color: var(--c-green);
  background: rgba(22,163,74,.06);
  border-color: rgba(22,163,74,.25);
}

/* --------------------------------------------------------------------------
   Framing — honest waitlist section
   -------------------------------------------------------------------------- */
.framing {
  padding-block: var(--sp-20);
}

.framing-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: var(--sp-16);
  align-items: start;
}

.framing-h2 {
  font-size: var(--text-h2);
  font-weight: bold;
  line-height: 1.2;
  color: var(--c-heading);
  margin-bottom: var(--sp-5);
}

.framing-text p {
  color: var(--c-body);
  line-height: var(--lh-body);
  margin-bottom: var(--sp-4);
  max-width: 52ch;
  font-size: var(--text-body);
}

/* Quote callout — neutral tint, red left border */
.framing-quote {
  background: #F8F8F8;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-red);
  border-radius: var(--radius-card);
  padding: var(--sp-6);
}

.framing-quote p {
  font-style: italic;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--c-body);
  margin: 0;
}

.framing-meta {
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--c-muted);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Benefits — what it does
   -------------------------------------------------------------------------- */
.benefits {
  padding-block: var(--sp-20);
  background: var(--c-card);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.benefits-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: end;
  margin-bottom: var(--sp-12);
}

.benefits-h2 {
  font-size: var(--text-h2);
  font-weight: bold;
  line-height: 1.2;
  color: var(--c-heading);
}

.benefits-intro {
  font-size: var(--text-body);
  color: var(--c-muted);
  line-height: var(--lh-body);
  max-width: 44ch;
  align-self: end;
}

/* Grid of benefit cards */
.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.benefit-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.benefit-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  border-color: #DCDCDC;
}

/* First item spans full width, stacked like the others (no side-icon gap) */
.benefit-item:first-child {
  grid-column: 1 / -1;
}

.benefit-num {
  font-size: var(--text-label);
  font-weight: bold;
  letter-spacing: .1em;
  color: var(--c-muted);
  display: block;
  margin-bottom: var(--sp-3);
}

.benefit-icon-wrap {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: #F5F5F5;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-body);
}

.benefit-item h3 {
  font-size: var(--text-h3);
  font-weight: bold;
  color: var(--c-heading);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}

.benefit-item p {
  font-size: var(--text-sm);
  color: var(--c-body);
  line-height: var(--lh-body);
}

/* --------------------------------------------------------------------------
   Privacy spotlight
   -------------------------------------------------------------------------- */
.privacy-section {
  padding-block: var(--sp-20);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: var(--sp-16);
  align-items: start;
}

.privacy-h2 {
  font-size: var(--text-h2);
  font-weight: bold;
  line-height: 1.2;
  color: var(--c-heading);
  margin-bottom: var(--sp-5);
}

.privacy-text p {
  font-size: var(--text-body);
  color: var(--c-body);
  line-height: var(--lh-body);
  margin-bottom: var(--sp-4);
  max-width: 48ch;
}

.privacy-text a {
  font-size: var(--text-sm);
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Privacy level cards */
.privacy-levels {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.privacy-level {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--dur) var(--ease);
}

.privacy-level:last-child { border-bottom: none; }

.privacy-level:hover { background: var(--c-bg); }

.level-badge {
  font-size: var(--text-label);
  font-weight: bold;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
}

/* Privacy level badges — all neutral tones */
.level-badge.public   {
  background: #FFF1F0;
  color: var(--c-red);
  border: 1px solid rgba(255,59,48,.2);
}
.level-badge.work     {
  background: #F5F5F5;
  color: var(--c-body);
  border: 1px solid var(--c-border);
}
.level-badge.personal {
  background: #F5F5F5;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}
.level-badge.custom   {
  background: #F5F5F5;
  color: var(--c-heading);
  border: 1px solid var(--c-border);
}

.privacy-level p {
  font-size: var(--text-sm);
  color: var(--c-body);
  line-height: var(--lh-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Bottom CTA — restrained, neutral card with red accents
   -------------------------------------------------------------------------- */
.cta-bottom {
  padding-block: var(--sp-20);
}

.cta-bottom-inner {
  background: var(--c-heading);   /* near-black — premium dark card */
  border-radius: var(--radius-card);
  padding: var(--sp-16) var(--sp-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  box-shadow: var(--shadow-lift);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* No texture — clean dark surface */
.cta-bottom-inner::before { display: none; }

.cta-h2 {
  font-size: var(--text-h2);
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.cta-body {
  font-size: var(--text-body);
  color: rgba(255,255,255,.65);
  line-height: var(--lh-body);
}

.cta-form-side { position: relative; }

.cta-note {
  margin-top: var(--sp-3);
  font-size: var(--text-label);
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}

/* Form on dark CTA — white input, red button */
.cta-bottom .waitlist-form input[type="email"] {
  background: rgba(255,255,255,.97);
  border-color: transparent;
  color: var(--c-heading);
}

.cta-bottom .waitlist-form input[type="email"]:focus {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(255,59,48,.25);
}

.cta-bottom .waitlist-form input[type="email"]::placeholder {
  color: var(--c-muted);
}

.cta-bottom .btn-primary {
  background: var(--c-red);
  border: none;
  color: #fff;
}

.cta-bottom .btn-primary:hover {
  background: var(--c-red-dark);
}

.cta-bottom .form-success {
  background: rgba(22,163,74,.15);
  border-color: rgba(22,163,74,.3);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-8);
  background: var(--c-card);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.footer-logo {
  font-weight: bold;
  font-size: 15px;
  color: var(--c-heading);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-logo:hover { text-decoration: none; color: var(--c-red); }

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-label);
  color: var(--c-muted);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 3px var(--sp-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover { color: var(--c-red); text-decoration: none; }

.footer-copy {
  font-size: var(--text-label);
  color: var(--c-muted);
  letter-spacing: .03em;
  flex-basis: 100%;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Inner pages (privacy.html, terms.html)
   -------------------------------------------------------------------------- */
.inner-header {
  background: var(--c-card);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-12) var(--sp-8);
}

.inner-h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: bold;
  line-height: 1.15;
  color: var(--c-heading);
  margin-bottom: var(--sp-2);
}

.inner-meta {
  font-size: var(--text-sm);
  color: var(--c-muted);
  letter-spacing: .03em;
}

.prose {
  max-width: 68ch;
  padding-block: var(--sp-10) var(--sp-20);
}

.prose h2 {
  font-size: var(--text-h3);
  font-weight: bold;
  color: var(--c-heading);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
}

.prose h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }

.prose p {
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  font-size: var(--text-body);
}

.prose strong { color: var(--c-heading); font-weight: bold; }

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

.prose ul {
  list-style: none;
  margin-bottom: var(--sp-4);
}

.prose ul li {
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
  padding-left: var(--sp-5);
  position: relative;
  font-size: var(--text-body);
}

.prose ul li::before {
  content: "·";
  position: absolute;
  left: var(--sp-2);
  color: var(--c-muted);
  font-weight: bold;
}

/* Highlight box — neutral tint, red left border */
.prose .highlight-box {
  background: #F8F8F8;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-red);
  border-radius: var(--radius-sm);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-8);
}

.prose .highlight-box p {
  margin-bottom: 0;
  color: var(--c-body);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .hero-card {
    max-width: 400px;
  }

  .framing-grid,
  .benefits-header,
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .benefits-intro { max-width: 100%; }

  .benefit-item:first-child {
    grid-column: 1;
    display: block;
  }

  .benefit-item:first-child .benefit-body {
    grid-column: auto;
    margin-top: var(--sp-5);
  }

  .cta-bottom-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding: var(--sp-10) var(--sp-6);
  }
}

@media (max-width: 640px) {
  .container { padding-inline: var(--sp-5); }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .benefit-item:first-child {
    grid-column: 1;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }

  .header-cta { display: none; }
}

@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .field { flex: 1 1 auto; }
  .btn-primary { width: 100%; text-align: center; }

  .privacy-level { grid-template-columns: 72px 1fr; }
}
