/* ==========================================================
   Rewind website — merged stylesheet
   Direction B ("Drop Day") base + shared chrome (nav, footer)
   + secondary page layouts (about, download)
   Built from handoff: styles.css + styles.type.css + styles.b.css
   + styles.mobile.css + about/download inline styles
   ========================================================== */

:root {
  /* Brand */
  --teal: #38B49B;
  --teal-deep: #1E8B74;
  --teal-pale: #E8F5F1;
  --teal-tint: #F2FAF7;

  /* Paper & ink */
  --paper: #FAF7F2;
  --paper-cool: #F7F8FA;
  --bg: #FFFDF7;
  --ink: #171512;
  --ink-soft: #3E3A33;
  --ink-muted: #8A857C;
  --line: #E8E3D9;
  --line-soft: #F1ECE2;

  /* Type */
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Nunito', 'Quicksand', -apple-system, sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

html, body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: rgba(56,180,155,0.18); }
::selection { background: var(--teal); color: white; }

/* ---- Typography base ---- */
h1, h2, h3, h4 {
  font-family: 'Nunito', 'Quicksand', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

p, li, dd, small { font-weight: 500; }

/* Nunito italic is weak — normalization is applied at the bottom of this file */

/* Hand / mono preserved */
.b-founder-sign, .b-polaroid-label, .about-sign, .a-letter-sign,
.a-handwritten { font-family: 'Caveat', cursive; font-weight: 500; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Nav (shared across all pages)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  gap: 10px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.nav-wordmark { height: 22px; width: auto; display: block; }

.nav-links {
  display: none;
  align-items: center; gap: 28px;
  font-size: 14px; color: var(--ink-soft);
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: none;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.15s var(--ease), background 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--teal-deep); color: white; }

/* Mobile burger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
  margin: 0 auto;
}
.nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-sheet {
  position: fixed;
  inset: 62px 0 0 0;
  background: rgba(255, 253, 247, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 998;
  animation: sheet-fade 0.2s var(--ease);
}
@keyframes sheet-fade { from { opacity: 0; } to { opacity: 1; } }
.nav-sheet-inner {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-sheet-inner a {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.nav-sheet-cta {
  margin-top: 24px;
  background: var(--teal) !important;
  color: white !important;
  text-align: center;
  border-radius: 999px;
  padding: 18px 24px;
  border-bottom: 0 !important;
  box-shadow: 0 4px 0 var(--teal-deep);
  font-size: 18px !important;
}

@media (min-width: 760px) {
  .nav { padding: 20px 36px; }
  .nav-wordmark { height: 28px; }
  .nav-burger, .nav-sheet { display: none !important; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ============================================================
   Footer (shared)
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 20px 24px;
  margin-top: 80px;
  background: var(--paper);
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-inner > div:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-brand em { font-style: italic; color: var(--teal-deep); font-weight: 800; }
.footer-wordmark { height: 30px; width: auto; display: block; margin-bottom: 12px; }
.footer-tag {
  color: var(--ink-muted);
  font-size: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px; color: var(--ink-soft);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--teal-deep); }

.footer-bottom {
  max-width: 1120px; margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  font-size: 11px; color: var(--ink-muted);
}

@media (min-width: 760px) {
  .site-footer { padding: 56px 28px 40px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; }
  .footer-inner > div:first-child { grid-column: auto; margin-bottom: 0; }
  .footer-brand { font-size: 32px; }
  .footer-wordmark { height: 38px; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    font-size: 13px;
    padding-top: 24px;
    margin-top: 48px;
  }
}

/* ============================================================
   Store buttons (shared)
   ============================================================ */
.store-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.15s var(--ease), background 0.2s ease;
}
.store-btn svg { width: 20px; height: 20px; }
.store-btn small { display: block; font-size: 10px; opacity: 0.7; margin-bottom: -2px; font-weight: 400; }
.store-btn strong { display: block; font-size: 15px; font-weight: 600; }
.store-btn:hover { transform: translateY(-2px); background: var(--teal-deep); }

/* ============================================================
   Direction B — DROP DAY
   ============================================================ */

[data-direction="b"] {
  background: var(--bg);
}

/* Ticker */
.b-ticker {
  background: var(--teal);
  color: white;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 700;
}
.b-ticker-track {
  display: inline-flex;
  animation: ticker-scroll 28s linear infinite;
  gap: 40px;
  padding-left: 40px;
  will-change: transform;
}
.b-ticker-track span { display: inline-flex; align-items: center; gap: 40px; }
.b-ticker .sep {
  width: 8px; height: 8px; border-radius: 50%;
  background: white;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* Hero */
.b-hero {
  position: relative;
  padding: 32px 20px 48px;
  overflow: hidden;
}
.b-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.b-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 11vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-align: center;
  color: var(--ink);
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.b-hero h1 .line1 { display: block; }
.b-hero h1 .line2 {
  display: block;
  color: var(--teal-deep);
  font-weight: 900;
}
.b-hero h1 .line3 {
  display: block;
  font-family: var(--font-hand);
  font-size: 0.45em;
  font-weight: 400;
  color: var(--ink-muted);
  transform: rotate(-2deg);
  margin-top: 4px;
}

.b-hero-sub {
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto 24px;
  position: relative; z-index: 2;
}

.b-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  max-width: 320px;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.b-btn {
  padding: 18px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  min-height: 54px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}
.b-btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 6px 0 var(--teal-deep), 0 10px 24px rgba(56,180,155,0.3);
}
.b-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--teal-deep), 0 14px 30px rgba(56,180,155,0.4); }
.b-btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--teal-deep); }
.b-btn-ghost {
  background: white;
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 10px 24px rgba(0,0,0,0.08);
}
.b-btn-ghost:hover { transform: translateY(-3px); }

/* Floating polaroids (hero decoration) */
.b-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.b-polaroid {
  position: absolute;
  width: 120px;
  background: white;
  padding: 8px 8px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 4px;
  animation: float-polaroid 6s ease-in-out infinite;
  display: none;
}
.b-polaroid .ph-fill,
.b-polaroid picture,
.b-polaroid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.b-polaroid-label {
  position: absolute;
  bottom: 6px; left: 8px; right: 8px;
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
}
@keyframes float-polaroid {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 1deg)); }
}

.b-polaroid-1 { top: 5%; left: 3%; --rot: -9deg; animation-delay: 0s; }
.b-polaroid-2 { top: 16%; right: 5%; --rot: 7deg; animation-delay: 1.5s; }
.b-polaroid-3 { bottom: 12%; left: 8%; --rot: 5deg; animation-delay: 2.8s; }
.b-polaroid-4 { bottom: 5%; right: 10%; --rot: -6deg; animation-delay: 0.8s; }
.b-polaroid-5 { top: 45%; left: 10%; --rot: 3deg; animation-delay: 4s; width: 100px; }
.b-polaroid-6 { top: 50%; right: 3%; --rot: -4deg; animation-delay: 2s; width: 100px; }

.b-polaroid .color-1 { background: linear-gradient(135deg, #FFB347, #FF8A65); }
.b-polaroid .color-2 { background: linear-gradient(135deg, #5B9DE8, #3B82F6); }
.b-polaroid .color-3 { background: linear-gradient(135deg, #F472B6, #EC4899); }
.b-polaroid .color-4 { background: linear-gradient(135deg, #86EFAC, #10B981); }
.b-polaroid .color-5 { background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.b-polaroid .color-6 { background: linear-gradient(135deg, #C4B5FD, #8B5CF6); }

@media (min-width: 760px) {
  .b-polaroid { display: block; }
}

/* Drop demo */
.b-drop-demo {
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}
.b-drop-stage {
  background: white;
  border-radius: 28px;
  padding: 32px 16px;
  box-shadow: 0 20px 60px rgba(23,21,18,0.08), 0 0 0 1px var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.b-drop-stage h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin-bottom: 12px;
  line-height: 1.1;
}
.b-drop-stage p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.b-drop-stage .b-countdown-row {
  display: flex; gap: 10px; margin-top: 20px;
}
.b-countdown-cell {
  flex: 1; text-align: center;
  padding: 16px 8px;
  background: var(--teal-tint);
  border-radius: 14px;
}
.b-countdown-cell strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  color: var(--teal-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.b-countdown-cell small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.b-drop-reveal {
  background: var(--paper-cool);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 240px;
  align-content: start;
}
.b-reveal-card {
  aspect-ratio: 1;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.7) rotate(-4deg);
}
.b-reveal-card picture,
.b-reveal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.b-drop-demo.revealed .b-reveal-card {
  animation: card-reveal 0.5s var(--ease-spring) forwards;
}
.b-reveal-card:nth-child(1) { animation-delay: 0.1s; background: linear-gradient(135deg, #FFB347, #FF8A65); }
.b-reveal-card:nth-child(2) { animation-delay: 0.2s; background: linear-gradient(135deg, #5B9DE8, #3B82F6); }
.b-reveal-card:nth-child(3) { animation-delay: 0.3s; background: linear-gradient(135deg, #F472B6, #EC4899); }
.b-reveal-card:nth-child(4) { animation-delay: 0.4s; background: linear-gradient(135deg, #86EFAC, #10B981); }
.b-reveal-card:nth-child(5) { animation-delay: 0.5s; background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.b-reveal-card:nth-child(6) { animation-delay: 0.6s; background: linear-gradient(135deg, #C4B5FD, #8B5CF6); }
.b-reveal-card:nth-child(7) { animation-delay: 0.7s; background: linear-gradient(135deg, #60A5FA, #14B8A6); }
.b-reveal-card:nth-child(8) { animation-delay: 0.8s; background: linear-gradient(135deg, #FDA4AF, #F43F5E); }
.b-reveal-card:nth-child(9) { animation-delay: 0.9s; background: linear-gradient(135deg, #FEF3C7, #F59E0B); }

.b-reveal-card .tag {
  position: absolute;
  left: 6px; bottom: 6px;
  font-family: var(--font-hand);
  font-size: 14px;
  color: white;
  background: rgba(0,0,0,0.25);
  padding: 2px 6px;
  border-radius: 6px;
}
@keyframes card-reveal {
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* Section scaffold */
.b-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
}
.b-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding: 0 20px;
}
.b-section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.b-section-head h2 em { font-style: italic; color: var(--teal-deep); }
.b-section-head p { color: var(--ink-soft); max-width: 40ch; font-size: 16px; }
.b-section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-tint);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 18px;
}

/* How it works */
.b-how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.b-how-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  transition: transform 0.2s var(--ease);
  min-height: 240px;
}
.b-how-card:hover {
  transform: translateY(-6px) rotate(-1deg);
}
.b-how-card:nth-child(2):hover { transform: translateY(-6px) rotate(1deg); }
.b-how-card:nth-child(3):hover { transform: translateY(-6px) rotate(-1deg); }
.b-how-card:nth-child(4):hover { transform: translateY(-6px) rotate(1deg); }

.b-how-card .step {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 40px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
}
.b-how-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.b-how-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}
.b-how-card .emoji {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 32px;
  transform: rotate(-8deg);
}

/* Why grid */
.b-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.b-why-card {
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 2px solid var(--ink);
  position: relative;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.b-why-card .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.b-why-card .big em { font-style: italic; color: var(--teal-deep); }
.b-why-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.b-why-card:nth-child(2) { background: var(--teal); color: white; border-color: var(--teal); }
.b-why-card:nth-child(2) .big { color: white; }
.b-why-card:nth-child(2) .big em { color: var(--paper); }
.b-why-card:nth-child(2) p { color: rgba(255,255,255,0.9); }

/* Real phone mockups */
.b-phones {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 16px 24px;
}
.b-phone-real {
  position: relative;
  width: min(70vw, 240px);
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  padding: 7px;
  box-shadow: 0 24px 60px rgba(23,21,18,0.18), 0 4px 10px rgba(23,21,18,0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  font-size: 0;
  line-height: 0;
}
.b-phone-real picture {
  display: block;
  border-radius: 29px;
  overflow: hidden;
  background: #f5f5f5;
}
.b-phone-real img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #f5f5f5;
}

@media (min-width: 760px) {
  .b-phones { gap: 28px; padding: 16px 20px 32px; }
  .b-phone-real { width: 240px; }
  .b-phone-real:nth-child(1) { transform: rotate(-3deg) translateY(8px); }
  .b-phone-real:nth-child(2) { transform: rotate(0deg) translateY(-8px); z-index: 2; }
  .b-phone-real:nth-child(3) { transform: rotate(3deg) translateY(8px); }
  .b-phone-real:hover { transform: rotate(0) translateY(-4px); z-index: 3; }
}

/* Quotes */
.b-quotes {
  padding: 64px 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.b-quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.b-quote-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 20px;
  margin: 0;
  box-shadow: 0 4px 0 var(--teal-deep);
  transition: transform 0.25s var(--ease);
}
.b-quote-mark {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.7;
  color: var(--teal);
  position: absolute;
  top: 12px;
  right: 20px;
  opacity: 0.35;
}
.b-quote-card blockquote {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 28ch;
}
.b-quote-card figcaption {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.02em;
}

@media (min-width: 760px) {
  .b-quote-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 20px; }
  .b-quote-card { padding: 28px 26px 24px; }
  .b-quote-card blockquote { font-size: 19px; }
  .b-quote-card:nth-child(1) { transform: rotate(-1.5deg); }
  .b-quote-card:nth-child(2) { transform: rotate(0.8deg); margin-top: 20px; }
  .b-quote-card:nth-child(3) { transform: rotate(-0.6deg); margin-top: 8px; }
  .b-quote-card:hover { transform: rotate(0) translateY(-3px); }
}

/* Founder block */
.b-founder {
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  margin: 20px;
  padding: 48px 28px;
  max-width: 1120px;
  margin-left: auto; margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.b-founder-pic {
  aspect-ratio: 4/5;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 240px;
  justify-self: center;
  background-color: var(--teal-deep);
  background-size: cover;
  background-position: center 20%;
}
.b-founder-pic::before {
  content: 'trey · tempe';
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
}
.b-founder-pic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 45%);
}
.b-founder h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.b-founder h2 em { font-style: italic; color: var(--teal); }
.b-founder p {
  font-size: 15px;
  color: rgba(250,247,242,0.8);
  line-height: 1.65;
  margin-bottom: 14px;
}
.b-founder .b-section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--teal);
}
.b-founder-sign {
  margin-top: 24px;
  font-family: var(--font-hand);
  font-size: 40px;
  color: var(--teal);
}

@media (min-width: 760px) {
  .b-founder {
    grid-template-columns: 1.2fr 1fr;
    padding: 72px 56px;
    margin: 40px auto;
    gap: 48px;
  }
  .b-founder-pic { max-width: 320px; }
  .b-founder h2 { font-size: 42px; }
  .b-founder p { font-size: 16px; }
}

/* FAQ */
.b-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px;
}
.b-faq h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.025em;
}
.b-faq h2 em { font-style: italic; color: var(--teal-deep); }
.b-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.b-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  line-height: 1.2;
  letter-spacing: -0.025em;
  gap: 16px;
}
.b-faq-q .plus {
  font-size: 24px;
  color: var(--teal-deep);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.b-faq-item.open .b-faq-q .plus { transform: rotate(45deg); }
.b-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15px;
}
.b-faq-item.open .b-faq-a {
  max-height: 400px;
  padding-top: 14px;
}

@media (min-width: 760px) {
  .b-faq { padding: 80px 28px; }
  .b-faq h2 { font-size: 56px; }
  .b-faq-q { font-size: 22px; padding: 4px 0; }
}

/* Big closing */
.b-close {
  background: var(--teal);
  color: white;
  border-radius: 32px;
  margin: 20px;
  padding: 56px 20px 80px;
  text-align: center;
  max-width: 1120px;
  margin-left: auto; margin-right: auto;
  position: relative;
  overflow: hidden;
}
.b-close::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.2) 0%, transparent 40%),
              radial-gradient(circle at 70% 60%, rgba(0,0,0,0.12) 0%, transparent 40%);
}
.b-close > * { position: relative; z-index: 2; }
.b-close h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 9vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.b-close h2 em {
  font-style: italic;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 12px;
}
.b-close p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 36px;
}
.b-close .store-btn {
  background: white;
  color: var(--ink);
}
.b-close .store-btn:hover { background: var(--ink); color: white; }
.b-close .store-row { justify-content: center; }

@media (min-width: 760px) {
  .b-close { padding: 96px 40px; margin: 40px auto; }
  .b-close h2 { font-size: clamp(56px, 8vw, 120px); }
  .b-close p { font-size: 18px; }
}

/* Desktop enhancements for B */
@media (min-width: 760px) {
  .b-hero { padding: 80px 28px 100px; }
  .b-hero h1 {
    font-size: clamp(64px, 11vw, 160px);
    line-height: 0.88;
    margin-bottom: 40px;
  }
  .b-hero h1 .line3 {
    font-size: 0.55em;
    margin-top: 8px;
  }
  .b-hero-sub { font-size: 18px; max-width: 52ch; margin: 0 auto 36px; }
  .b-hero-cta { flex-direction: row; gap: 14px; max-width: unset; justify-content: center; }
  .b-btn { width: auto; padding: 16px 26px; }
  .b-ticker { font-size: 18px; padding: 10px 0; }
  .b-section { padding: 120px 28px; }
  .b-section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 56px;
    padding: 0;
  }
  .b-section-head h2 { font-size: clamp(44px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.02em; }
  .b-how-card { padding: 28px; min-height: 260px; }
  .b-how-card .step { font-size: 46px; }
  .b-how-card h4 { font-size: 26px; }
  .b-how-card p { font-size: 14px; }
  .b-why-card { padding: 36px 28px; min-height: 280px; }
  .b-why-card .big { font-size: 54px; }
  .b-drop-stage {
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    padding: 28px;
  }
  .b-drop-stage h3 { font-size: 34px; }
  .b-drop-reveal { min-height: 300px; }
}

@media (min-width: 1000px) {
  .b-how-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .b-why-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Sticky mobile CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 12px; right: 12px;
  z-index: 900;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
}
.mobile-sticky-cta.show { transform: translateY(0); }
.mobile-sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 14px 12px;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  min-height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-sticky-cta .p { background: var(--teal); color: white; box-shadow: 0 3px 0 var(--teal-deep); }
.mobile-sticky-cta .g { background: white; color: var(--ink); border: 1.5px solid var(--line); }

@media (min-width: 760px) {
  .mobile-sticky-cta { display: none !important; }
}

/* ============================================================
   About page (uses B tokens + long-form editorial layout)
   ============================================================ */
.about-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}
.about-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.about h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.about h1 em { font-style: italic; color: var(--teal-deep); }
.about-lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 56ch;
}
.about-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 62ch;
}
.about-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--teal-deep);
}
.about-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin: 28px 0 8px;
  letter-spacing: -0.025em;
}
.about-body h2 em { font-style: italic; color: var(--teal-deep); }
.about-pull {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--teal-deep);
  padding: 16px 0 16px 16px;
  border-left: 3px solid var(--teal);
  margin: 20px 0;
  max-width: 48ch;
  letter-spacing: -0.02em;
}
.about-sign {
  font-family: var(--font-hand);
  font-size: 40px;
  color: var(--ink);
  line-height: 1;
  margin-top: 32px;
}
.about-sign small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 8px;
}

@media (min-width: 760px) {
  .about-wrap { padding: 80px 28px 40px; }
  .about h1 { font-size: clamp(48px, 7vw, 84px); margin-bottom: 32px; }
  .about-lede { font-size: 20px; margin-bottom: 48px; }
  .about-body p { font-size: 17px; line-height: 1.75; }
  .about-body h2 { font-size: 32px; margin: 40px 0 12px; }
  .about-pull { font-size: 32px; padding: 24px 0 24px 28px; margin: 32px 0; }
  .about-sign { font-size: 52px; margin-top: 40px; }
}

/* ============================================================
   Download page (B tokens + preserves auto-redirect UX)
   ============================================================ */
.dl-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.dl-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.dl-wrap h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.dl-wrap h1 em { font-style: italic; color: var(--teal-deep); }
.dl-wrap > div > p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 24px;
}
.dl-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 100%;
}
.dl-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  transition: all 0.2s var(--ease);
}
.dl-opt:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.dl-opt svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--ink); }
.dl-opt small { display: block; font-size: 11px; color: var(--ink-muted); margin-bottom: 2px; letter-spacing: 0.05em; }
.dl-opt strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.dl-qr {
  margin-top: 24px;
  display: none;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.dl-qr img {
  width: 96px; height: 96px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 4px;
}
.dl-qr strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.dl-qr small { font-size: 13px; color: var(--ink-muted); }
.dl-right {
  display: flex;
  justify-content: center;
  transform: none;
}
.dl-right .b-phone-real {
  width: 240px;
}
.dl-right .b-phone-real img {
  width: 100%;
  height: auto;
  display: block;
}

.dl-invite {
  max-width: 1040px;
  margin: 24px auto 60px;
  padding: 24px 20px 60px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}
.dl-invite h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.dl-invite h2 em { font-style: italic; color: var(--teal-deep); }
.dl-invite p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.dl-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  flex-wrap: wrap;
}
.dl-code button {
  margin-left: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 8px;
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

@media (min-width: 760px) {
  .dl-wrap {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    padding: 80px 28px 60px;
  }
  .dl-wrap > div > p { font-size: 18px; margin-bottom: 32px; }
  .dl-options { grid-template-columns: 1fr 1fr; max-width: 420px; gap: 12px; }
  .dl-opt { padding: 20px; }
  .dl-qr { display: inline-flex; margin-top: 32px; }
  .dl-right { transform: rotate(-4deg); }
  .dl-invite {
    grid-template-columns: 1fr 1fr;
    padding: 40px 28px;
    gap: 48px;
    margin: 40px auto 80px;
  }
  .dl-invite h2 { font-size: 36px; }
  .dl-code { font-size: 18px; padding: 18px 24px; }
}

/* ============================================================
   Late override — Nunito italic is weak, so neutralize italic
   on heading <em>s where color/weight already do the work.
   (Must be last so it beats all earlier rules.)
   ============================================================ */
h1 em, h2 em, h3 em, h4 em,
.b-hero h1 .line2,
.b-why-card .big em,
.b-close h2 em,
.b-faq h2 em,
.b-founder h2 em,
.b-ticker,
.b-countdown-cell strong,
.b-how-card .step,
.b-drop-stage h3,
.about h1 em,
.about-body h2 em,
.dl-wrap h1 em,
.dl-invite h2 em {
  font-style: normal !important;
}
