/* go — marketing landing page styles
 *
 * Three visual directions, switchable via [data-direction]:
 *   "editorial"  — refined cream/terracotta (safe — close to the live app)
 *   "magazine"   — pushed editorial: monochrome ink, bigger type, italic display
 *   "after-dark" — dark espresso bg, cream type, glowing terracotta
 */

/* ─────────── Fonts (the live app stack) ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..900,30..100;1,9..144,300..900,30..100&family=Inter:wght@400..800&family=Caveat:wght@600&display=swap');

/* ─────────── Tokens (editorial / safe — the default) ─────────── */
:root {
  /* The voice */
  --accent:        #C4502D;
  --accent-deep:   #9A3A1F;
  --accent-soft:   #F4DACE;

  /* Paper + ink */
  --paper:         #F6EFE2;
  --paper-lift:    #FBF6EC;
  --paper-recess:  #EFE7D7;
  --ink:           #1A140F;
  --ink-2:         #5B4B3D;
  --ink-3:         #8E7C68;
  --on-accent:     #FFFCF5;
  --border:        #E2D7C2;
  --divider:       #EBE1CD;

  /* Supports */
  --sage:    #7C8F6B;
  --ochre:   #C68A2B;
  --plum:    #6E4A6B;
  --rust:    #A85C3C;
  --berry:   #9A4A5A;
  --slate:   #5B7A85;

  /* Type */
  --display:  'Fraunces', ui-serif, Georgia, serif;
  --serif:    'Fraunces', ui-serif, Georgia, serif;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
  --hand:     'Caveat', cursive;

  /* Surfaces (semantic — remapped per direction) */
  --page-bg:        var(--paper);
  --section-bg:     var(--paper);
  --card-bg:        var(--paper-lift);
  --on-page:        var(--ink);
  --on-page-soft:   var(--ink-2);
  --on-page-mute:   var(--ink-3);
  --rule:           var(--border);
  --hair:           var(--divider);

  /* Type style flavor */
  --display-tracking: -0.025em;
  --display-italic-mix: 0;          /* 0 = no italic in display */
  --display-soft: 50;               /* Fraunces SOFT axis */
  --display-opsz: 144;
  --display-weight: 700;
  --eyebrow-weight: 700;
  --case-headline: lowercase;
  --case-eyebrow: uppercase;
}

/* ─────────── Direction: magazine ─────────── */
[data-direction="magazine"] {
  --paper:         #EAE0C6;
  --paper-lift:    #F1E8D0;
  --paper-recess:  #DDD0B0;
  --ink:           #14100B;
  --ink-2:         #3F3225;
  --ink-3:         #756449;
  --border:        #C8B68F;
  --divider:       #D8CAA4;

  --page-bg:        var(--paper);
  --section-bg:     var(--paper);
  --card-bg:        var(--paper-lift);
  --on-page:        var(--ink);
  --on-page-soft:   var(--ink-2);
  --on-page-mute:   var(--ink-3);
  --rule:           var(--border);
  --hair:           var(--divider);

  --accent:        #B33E1F;
  --accent-deep:   #8E2D14;
  --accent-soft:   #E8C8B5;
  --display-tracking: -0.045em;
  --display-italic-mix: 1;
  --display-soft: 100;
  --display-weight: 800;
  --case-headline: lowercase;
}
/* In magazine mode, push display headlines toward italic + tighter rhythm */
[data-direction="magazine"] .hero-headline,
[data-direction="magazine"] .section-head .title,
[data-direction="magazine"] .cta-inner .lead,
[data-direction="magazine"] .stat-band h2 {
  font-style: italic;
  font-weight: 700;
}
[data-direction="magazine"] .display,
[data-direction="magazine"] .headline {
  font-style: italic;
}
/* Restore upright em accents so they read as upright against italic body */
[data-direction="magazine"] .hero-headline em,
[data-direction="magazine"] .cta-inner .lead em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

/* ─────────── Direction: after-dark ─────────── */
[data-direction="after-dark"] {
  --paper:         #1A140F;
  --paper-lift:    #221B14;
  --paper-recess:  #2B2218;
  --ink:           #F6EFE2;
  --ink-2:         #D8CBB4;
  --ink-3:         #9B8C75;
  --border:        #3A2E22;
  --divider:       #2D2419;

  --page-bg:        var(--paper);
  --section-bg:     var(--paper);
  --card-bg:        var(--paper-lift);
  --on-page:        var(--ink);
  --on-page-soft:   var(--ink-2);
  --on-page-mute:   var(--ink-3);
  --rule:           var(--border);
  --hair:           var(--divider);

  --accent:        #E07A52;
  --accent-deep:   #C4502D;
  --accent-soft:   #3A271D;
  --on-accent:     #FFFCF5;

  --display-soft: 30;
  --display-weight: 600;
}

/* ─────────── Base ─────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--on-page);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  transition: background-color 320ms ease, color 320ms ease;
}
img { display: block; max-width: 100%; }

/* Smooth direction transitions */
.transition-color {
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease;
}

/* Lock the phone screens to the editorial light palette regardless
 * of the page direction (the app itself is light-themed). */
.phone-frame {
  --paper:         #F6EFE2;
  --paper-lift:    #FBF6EC;
  --paper-recess:  #EFE7D7;
  --ink:           #1A140F;
  --ink-2:         #5B4B3D;
  --ink-3:         #8E7C68;
  --border:        #E2D7C2;
  --divider:       #EBE1CD;
  --page-bg:       #F6EFE2;
  --section-bg:    #F6EFE2;
  --card-bg:       #FBF6EC;
  --on-page:       #1A140F;
  --on-page-soft:  #5B4B3D;
  --on-page-mute:  #8E7C68;
  --rule:          #E2D7C2;
  --hair:          #EBE1CD;
  --accent:        #C4502D;
  --accent-deep:   #9A3A1F;
  --accent-soft:   #F4DACE;
  --on-accent:     #FFFCF5;
}

/* ─────────── Typography utilities ─────────── */
.eyebrow {
  font-family: var(--sans);
  font-weight: var(--eyebrow-weight);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: var(--case-eyebrow);
  color: var(--on-page-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.bare::before { display: none; }

.display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  letter-spacing: var(--display-tracking);
  line-height: 0.95;
  text-transform: var(--case-headline);
  color: var(--on-page);
  margin: 0;
}

.headline {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 96, "SOFT" var(--display-soft);
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: var(--case-headline);
  color: var(--on-page);
  margin: 0;
}

.subhead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-page-soft);
}

.body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-page-soft);
}

/* Hand-drawn underline accent (terracotta) */
.hand-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hand-underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.36em;
  background: var(--accent);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.35;
  mask: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
}
.hand-underline.thin::after {
  height: 0.18em;
  bottom: -0.02em;
  opacity: 0.75;
  border-radius: 999px;
}
.hand-underline.wave::after {
  background: none;
  bottom: -0.12em;
  height: 0.32em;
  border: none;
  border-bottom: 3px solid var(--accent);
  border-radius: 50%;
  border-left: none; border-right: none; border-top: none;
  transform: rotate(-1deg);
  opacity: 0.85;
}
[data-direction="magazine"] .hand-underline.thin::after { background: var(--ink); opacity: 1; }

.accent { color: var(--accent); }
.italic-display {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
}

/* ─────────── Layout ─────────── */
.page {
  min-height: 100vh;
  background: var(--page-bg);
  position: relative;
  overflow: hidden;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section.tight { padding: 56px 0; }
.section.loose { padding: 128px 0; }

/* Top nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--page-bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 50%, transparent);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 18px 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-links a {
  color: var(--on-page-soft);
  text-decoration: none;
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--on-page); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 100ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(0.5px); }
.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-accent:hover { background: var(--accent-deep); }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
[data-direction="after-dark"] .btn-ink {
  background: var(--paper-lift);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost {
  background: transparent;
  color: var(--on-page);
  border: 1px solid var(--rule);
}
.btn-ghost:hover { border-color: var(--on-page); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--on-page);
  border: 1px solid var(--rule);
}

/* Rule */
.rule { border: none; border-top: 1px solid var(--rule); margin: 0; }
.hair { border: none; border-top: 1px solid var(--hair); margin: 0; }

/* Hero */
.hero {
  padding: 88px 0 56px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: clamp(48px, 5.1vw, 80px);
  line-height: 0.96;
  letter-spacing: var(--display-tracking);
  text-transform: var(--case-headline);
  margin: 0;
  color: var(--on-page);
}
.hero-headline em {
  font-style: italic;
}
[data-direction="magazine"] .hero-headline {
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.hero-sub {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-page-soft);
  max-width: 480px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--on-page-mute);
  font-size: 13px;
}
.hero-meta .star { color: var(--accent); }

/* Hero phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  min-height: 620px;
}
.hero-phones .phone-wrap {
  position: relative;
}
.hero-phones .phone-wrap.back {
  transform: translate(-40px, -32px) rotate(-3deg);
}
.hero-phones .phone-wrap.front {
  transform: translate(0, 0);
  z-index: 2;
}

/* Marquee strip */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  overflow: hidden;
  background: var(--page-bg);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--on-page-soft);
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track .dot {
  color: var(--accent);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section heads */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: var(--case-headline);
  margin: 16px 0 0 0;
  color: var(--on-page);
}
.section-head .lede {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-page-soft);
  max-width: 520px;
  margin-bottom: 4px;
}

/* "How" — three columns */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.how-card {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.how-card .num {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 14px;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}
.how-card h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 96, "SOFT" var(--display-soft);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: var(--case-headline);
  margin: 0 0 14px;
  color: var(--on-page);
}
.how-card p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-page-soft);
  margin: 0;
}

/* Screens row: gallery */
.screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
}
.screen-cell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.screen-cell .frame {
  display: flex;
  justify-content: center;
}
.screen-cell .caption {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.screen-cell .caption h4 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 96, "SOFT" var(--display-soft);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: var(--case-headline);
  margin: 0 0 6px;
  color: var(--on-page);
}
.screen-cell .caption p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-page-soft);
  margin: 0;
}

/* Activities (the breadth) */
.activities-wrap {
  position: relative;
  margin-top: 24px;
}
.activities-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 40px 8px;
}
.act-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  background: var(--card-bg);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--on-page);
  letter-spacing: -0.005em;
}
.act-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.act-chip.serif {
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.act-chip.featured {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.act-chip.featured .dot { background: var(--on-accent); opacity: 0.7; }
.act-chip.ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
[data-direction="after-dark"] .act-chip.ink {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

/* Stats / pull-quote band */
.stat-band {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0;
}
[data-direction="after-dark"] .stat-band {
  background: var(--paper-lift);
  color: var(--ink);  /* in dark mode, --ink is cream, so this is correct */
}
.stat-band .container { color: inherit; }
.stat-band .stat-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.stat-band h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: var(--case-headline);
  margin: 0;
  color: inherit;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat .num {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.stat .label {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.66);
  letter-spacing: 0.005em;
}
[data-direction="after-dark"] .stat .label {
  color: var(--on-page-soft);
}

/* CTA band */
.cta-band {
  padding: 120px 0;
  position: relative;
  border-top: 1px solid var(--rule);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-inner .lead {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: var(--case-headline);
  margin: 0;
  color: var(--on-page);
}
.cta-inner .sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-page-soft);
  margin-top: 28px;
  max-width: 460px;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─────────── Waitlist form ─────────── */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  width: 100%;
}
.waitlist-fields {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
}
.waitlist-field {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 160ms ease;
}
.waitlist-field:focus-within {
  border-color: var(--accent);
}
.waitlist-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--on-page-mute);
  text-transform: uppercase;
}
.waitlist-field input,
.waitlist-field select {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--on-page);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  appearance: none;
  width: 100%;
}
.waitlist-field input::placeholder {
  color: var(--on-page-mute);
  font-weight: 400;
}
.waitlist-chev {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--on-page-mute);
  font-size: 14px;
  pointer-events: none;
}
.waitlist-submit {
  width: 100%;
  justify-content: center;
}
.waitlist-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.waitlist-store-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.waitlist-fineprint {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--on-page-mute);
  letter-spacing: 0.05em;
}
.store-greyed-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.store-greyed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  border: 1px dashed var(--rule);
  color: var(--on-page-mute);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.soon-tag {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
[data-direction="after-dark"] .soon-tag {
  background: rgba(224, 122, 82, 0.18);
}

/* Success state */
.waitlist-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 18px;
  max-width: 520px;
}
.waitlist-success-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.waitlist-success-title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "SOFT" var(--display-soft);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-page);
  margin-bottom: 4px;
}
.waitlist-success-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--on-page-soft);
  line-height: 1.5;
}

/* Founder's note section */
.founder-section {
  border-top: 1px solid var(--rule);
  background: color-mix(in oklab, var(--card-bg) 70%, var(--page-bg));
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}
.founder-meta {
  position: sticky;
  top: 100px;
}
.founder-portrait {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent-soft);
}
.founder-name {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "SOFT" var(--display-soft);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--on-page);
}
.founder-role {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--on-page-mute);
  margin-top: 2px;
}
.founder-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-page-soft);
  max-width: 620px;
}
.founder-body p {
  margin: 0 0 22px;
}
.founder-body p strong {
  color: var(--on-page);
  font-weight: 700;
}
.founder-body p em {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
  font-size: 1.04em;
  font-weight: 500;
}
.founder-pull {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--on-page);
  text-transform: lowercase;
  margin-bottom: 32px !important;
  text-wrap: balance;
}
.founder-pull em {
  color: var(--accent) !important;
  font-size: 1em !important;
}
.founder-sign {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 20px;
  color: var(--on-page);
  margin-top: 32px;
  font-weight: 500;
}

/* Testimonials */
.testimonials-section {
  border-top: 1px solid var(--rule);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  margin: 0;
  padding: 36px 30px 28px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testimonial-quote-mark {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 72px;
  line-height: 0.5;
  color: var(--accent);
  height: 24px;
  margin-bottom: 6px;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--on-page);
  text-transform: lowercase;
  text-wrap: pretty;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  margin-top: auto;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFCF5;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.tone-sage   { background: #7C8F6B; }
.tone-accent { background: #C4502D; }
.tone-plum   { background: #6E4A6B; }
.tone-ochre  { background: #C68A2B; }
.testimonial-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--on-page);
}
.testimonial-detail {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--on-page-mute);
  margin-top: 2px;
  line-height: 1.4;
}

/* CTA band — reworked for waitlist */
.cta-waitlist-wrap {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 32px;
}
.cta-inner .eyebrow {
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-phones { min-height: 540px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 18px; }
  .stat-band .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-meta { position: static; }
  .logo-grid { grid-template-columns: repeat(6, 1fr); }
  .logo-cell { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .nav-row { padding: 14px 0; gap: 16px; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 32px; }
  .hero-headline { font-size: clamp(40px, 11vw, 64px) !important; }
  .hero-phones { transform: scale(0.85); transform-origin: top center; margin-top: -40px; }
  .marquee-track { font-size: 22px; gap: 28px; }
  .marquee-track span { gap: 28px; }
  .screens-row { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .waitlist-fields { grid-template-columns: 1fr; }
  .stat-band .stat-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: 48px; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .logo-cell { grid-column: span 4 !important; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .activities-cloud { padding: 24px 0; }
  .cta-waitlist-wrap { padding: 24px; }
  .testimonial-card { padding: 28px 22px 22px; }
  .testimonial-card blockquote { font-size: 18px; }
  .founder-body { font-size: 15px; }
  .founder-pull { font-size: 24px !important; }
  /* Category-counts row stacks neatly */
  .container > div[style*="grid-template-columns: repeat(6"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .container > div[style*="grid-template-columns: repeat(6"] > div {
    border-left: none !important;
    border-bottom: 1px solid var(--rule);
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 32px;
  background: var(--page-bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-page-mute);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li a {
  color: var(--on-page);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
}
.footer li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--on-page-mute);
}
.footer-strapline {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
  font-size: 13px;
}

/* Logo lockup playground */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 18px;
}
.logo-cell {
  border: 1px solid var(--rule);
  background: var(--card-bg);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-cell.dark {
  background: var(--ink);
}
.logo-cell.accent {
  background: var(--accent);
}
.logo-cell .corner-label {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-page-mute);
}
.logo-cell.dark .corner-label,
.logo-cell.accent .corner-label {
  color: rgba(255, 252, 245, 0.55);
}

/* Annotation — small italic editorial caption */
.annotation {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
  font-size: 18px;
  color: var(--on-page-mute);
  line-height: 1.4;
}

/* Hand-written annotation */
.handwritten {
  font-family: var(--hand);
  font-size: 22px;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Big number callouts */
.big-num {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" 144, "SOFT" var(--display-soft);
  font-size: 80px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
}

/* SVG ornaments */
.ornament {
  color: var(--accent);
}
[data-direction="magazine"] .ornament {
  color: var(--ink);
}
