/* Bottlenecks marketing site styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --bg: #0A0A0A;
  --bg-deep: #06040a;
  --sage: #7A9E7E;
  --sage-12: rgba(122, 158, 126, 0.12);
  --sage-30: rgba(122, 158, 126, 0.30);
  --amber: #C28A45;
  --cream: #EDE8DF;
  --line: rgba(237, 232, 223, 0.10);
  --text-ter: rgba(237, 232, 223, 0.32);
  --text-sec: rgba(237, 232, 223, 0.62);
}

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

html, body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  overflow-x: clip; /* clip instead of hidden — does NOT break position: sticky */
}

/* ---------- chrome ---------- */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  z-index: 100;
  pointer-events: none;
}
.top-bar > * { pointer-events: auto; }

.wordmark-small {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.glyph {
  width: 16px;
  height: 16px;
  position: relative;
  display: inline-block;
}
.glyph::before {
  /* small black hole glyph — void core + ring */
  content: '';
  position: absolute;
  inset: 4px;
  background: #000;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 220, 170, 0.9),
    0 0 6px 2px rgba(255, 180, 90, 0.55);
}
.glyph::after {
  content: '';
  position: absolute;
  left: -1px; right: -1px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,200,140,0.65) 50%, transparent 100%);
  transform: translateY(-50%);
  border-radius: 2px;
}

.appstore-badge {
  display: none; /* hidden in fold, becomes visible after cinematic begins */
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(237,232,223,0.18);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color .25s, background .25s;
}
.appstore-badge:hover { border-color: var(--sage); background: rgba(122, 158, 126, 0.08); }
.appstore-badge.visible { display: inline-flex; }
.appstore-badge .apple { font-size: 14px; }
.appstore-badge .stack { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.appstore-badge .stack small { font-size: 9px; opacity: 0.6; letter-spacing: 0.08em; }

/* ---------- BRAND FOLD ---------- */
.fold {
  position: relative;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.fold-stars {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #1a0e22 0%, #0e0815 50%, #06040a 100%);
}

.fold-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 1200px;
  padding: 0 32px;
}

.fold-display {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin-bottom: 56px;
  position: relative;
}

.fold-display .ampersand-bottleneck {
  /* vertical mark — like the visual idea of a bottleneck */
  display: inline-block;
}

.fold-tagline {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}
.fold-tagline .it {
  font-style: italic;
  font-weight: 400;
  color: rgba(237, 232, 223, 0.72);
}

.fold-meta {
  margin-top: 64px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 36px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-ter);
}
.fold-meta span { display: inline-flex; align-items: center; gap: 8px; }
.fold-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage); display: inline-block; }

/* Mobile-only App Store badge under fold-meta. Desktop already has the
   sticky chrome badge top-right, so we hide this above 720px. */
.fold-appstore {
  display: none;
  margin-top: 28px;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--sage-line);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  font-family: 'Inter', sans-serif;
  color: var(--cream, #EDE8DF);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
.fold-appstore:hover { border-color: var(--sage); background: rgba(122,158,126,0.08); }
.fold-appstore:active { transform: translateY(1px); }
.fold-appstore .apple { font-size: 18px; line-height: 1; }
.fold-appstore .stack { display: flex; flex-direction: column; line-height: 1.05; gap: 2px; align-items: flex-start; }
.fold-appstore .stack small { font-size: 9px; opacity: 0.65; letter-spacing: 0.14em; text-transform: uppercase; }
.fold-appstore .stack span { font-size: 14px; letter-spacing: 0.02em; }
@media (max-width: 720px) {
  .fold-appstore { display: inline-flex; }
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(122, 158, 126, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
  animation: hintFade 2.6s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 32px;
  background: linear-gradient(180deg, rgba(122,158,126,0.6), transparent);
}
@keyframes hintFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* tiny bg glint behind the wordmark in the fold */
.fold-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fold-aura::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 1100px; height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(122, 158, 126, 0.06) 0%, transparent 60%);
}

/* ---------- CINEMATIC ---------- */
.cinematic {
  position: relative;
  /* 6 beats × 1 viewport each — total scroll length */
  height: 600vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 600ms ease, filter 600ms ease;
}
.stage.dim-stage canvas {
  opacity: 0.28;
  filter: blur(1.5px) saturate(0.85);
}
  display: block;
}

/* The copy that fades in/out at each beat */
.beats-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 5;
}

.beat-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--cream);
  padding: 0 16px;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1);
  text-wrap: balance;
  pointer-events: none;
  background: none;
  text-shadow: none;
}
.beat-copy.italic { font-style: italic; color: rgba(237,232,223,0.92); }
.beat-copy.amber { color: #F0CB94; }

/* Vertical scrims behind beat copy + beat meta — keep type readable on top of stars */
.beats-overlay::before,
.beats-overlay::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 360ms ease;
}
.beats-overlay::before {
  top: 0;
  height: 28vh;
  background: linear-gradient(to bottom, rgba(6,4,12,0.78) 0%, rgba(6,4,12,0.45) 55%, rgba(6,4,12,0) 100%);
}
.beats-overlay::after {
  bottom: 0;
  height: 32vh;
  background: linear-gradient(to top, rgba(6,4,12,0.85) 0%, rgba(6,4,12,0.50) 55%, rgba(6,4,12,0) 100%);
}
.beats-overlay.scrim-top::before { opacity: 1; }
.beats-overlay.scrim-bottom::after { opacity: 1; }
.beat-copy, .beat-meta { z-index: 2; }
.beat-copy { text-shadow: 0 1px 14px rgba(6,4,12,0.85), 0 0 28px rgba(6,4,12,0.6); }
.beat-meta { text-shadow: 0 1px 8px rgba(6,4,12,0.9); }

@media (max-width: 720px) {
  .beat-copy { font-size: clamp(20px, 5.6vw, 28px); padding: 0 24px; line-height: 1.25; }
  .beat-copy.center-top { inset: auto 0 auto 0; top: 8vh; place-items: start center; }
  .beat-copy.center-bottom { inset: auto 0 auto 0; bottom: 14vh; place-items: end center; }
  .beat-copy.caption { padding-bottom: 4vh; font-size: 10px; letter-spacing: 0.24em; }
  .beat-meta { top: 2.5vh; font-size: 9px; letter-spacing: 0.26em; }
  .beat-meta .num { margin-right: 8px; }
  .reflection-card { width: min(86vw, 360px); padding: 20px 22px; font-size: 13px; }
  .reflection-card .title { font-size: 18px; }
  .reflection-card .body { font-size: 13px; }
  .brand-resolve .wm { font-size: 22px; }
  .brand-resolve .strap { font-size: 9px; }
}

.beat-copy.caption {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.6);
  font-style: normal;
  background: none;
  padding: 0;
  align-content: end;
  padding-bottom: 6vh;
}

.beat-copy.active { opacity: 1; }

/* Beat anchors — index meta */
.beat-meta {
  position: absolute;
  top: 4vh;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.55);
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
  background: none;
  padding: 0;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.beat-meta.active { opacity: 1; }
.beat-meta .num { color: var(--sage); margin-right: 14px; }

/* progress rail — left edge */
.beat-rail {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms;
}
.beat-rail.visible { opacity: 1; }
.beat-rail .pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(237,232,223,0.18);
  transition: background 300ms, transform 300ms;
}
.beat-rail .pip.active {
  background: var(--sage);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--sage);
}

/* Brand resolution — wordmark BELOW the constellation, after dim, mobile-first */
.brand-resolve {
  position: absolute;
  right: 4vw;
  bottom: 4vh;
  text-align: right;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 1000ms cubic-bezier(0.4, 0, 0.2, 1);
  background: none;
  padding: 0;
  max-width: 40vw;
}
.brand-resolve.active {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  .brand-resolve { right: auto; left: 50%; transform: translateX(-50%) translateY(12px); text-align: center; bottom: 3vh; max-width: 90vw; }
  .brand-resolve.active { transform: translateX(-50%) translateY(0); }
}
.brand-resolve .wm {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 8px;
  text-shadow: none;
}
.brand-resolve .strap {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.6);
  text-shadow: none;
}

/* Reflection card — interleaved at beat 4 */
.reflection-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  width: min(640px, 88vw);
  padding: 48px 44px;
  background: linear-gradient(180deg, rgba(20, 12, 28, 0.88), rgba(10, 7, 18, 0.92));
  border: 1px solid rgba(237, 232, 223, 0.10);
  backdrop-filter: blur(14px);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 6;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(122, 158, 126, 0.06);
}
.reflection-card::before {
  content: '';
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--sage) 30%, var(--sage) 70%, transparent);
}
.reflection-card.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}
.reflection-card .label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}
.reflection-card .title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 22px;
}
.reflection-card .body {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(237, 232, 223, 0.78);
  margin-bottom: 28px;
}
.reflection-card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-ter);
}

/* ---------- TRAIT CARD (floating, mobile-first centered) ---------- */
.trait-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 10, 0);
  pointer-events: none;
  transition: background 500ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90;
}
.trait-overlay.open {
  background: rgba(6, 4, 10, 0.72);
  pointer-events: auto;
  backdrop-filter: blur(6px);
}

.trait-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 24px));
  width: min(540px, 92vw);
  max-height: min(82vh, 720px);
  background: linear-gradient(180deg, rgba(20, 12, 28, 0.94), rgba(10, 7, 18, 0.96));
  border: 1px solid rgba(237, 232, 223, 0.10);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: transform 540ms cubic-bezier(0.32, 0.72, 0, 1), opacity 360ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 91;
  overflow-y: auto;
  padding: 56px 44px 44px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(237, 232, 223, 0.04);
}
.trait-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.trait-panel::before {
  content: '';
  position: absolute;
  left: 0; top: 32px; bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--amber) 20%, var(--amber) 80%, transparent);
  border-radius: 2px;
}
.trait-panel .close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: border-color .2s;
  font-family: 'Inter', sans-serif;
  display: grid; place-items: center;
  line-height: 1;
}
.trait-panel .close:hover { border-color: var(--cream); }

.trait-panel .kicker {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.trait-panel .name {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 22px;
}
.trait-panel .desc {
  font-family: 'Newsreader', serif;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(237, 232, 223, 0.75);
  margin-bottom: 32px;
  text-wrap: pretty;
}

.trait-panel .quotes-h, .trait-panel .links-h {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text-ter);
  margin-bottom: 16px;
}
.trait-panel .links-h { margin: 28px 0 12px; }

.trait-panel .quote {
  font-family: 'Newsreader', serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(237, 232, 223, 0.85);
  padding-left: 14px;
  margin-bottom: 18px;
  border-left: 1px solid var(--amber);
  text-wrap: pretty;
}

.trait-panel .links { display: flex; flex-wrap: wrap; gap: 6px; }
.trait-panel .link-pill {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(237,232,223,0.78);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.trait-panel .link-pill:hover {
  border-color: var(--amber);
  color: var(--cream);
  background: rgba(194, 138, 69, 0.06);
}

/* ---------- TRY-IT PANEL ---------- */
.tryit-section {
  position: relative;
  min-height: 100vh;
  padding: 16vh 32px 8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.tryit-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(20, 12, 28, 1) 0%, rgba(6, 4, 10, 1) 60%);
  pointer-events: none;
}
.tryit-inner { position: relative; max-width: 760px; width: 100%; text-align: center; }

.tryit-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}
.tryit-h {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 56px;
  text-wrap: balance;
}

.tryit-textarea {
  width: 100%;
  min-height: 168px;
  background: rgba(10, 7, 18, 0.65);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 20px 22px;
  font-family: 'Newsreader', serif;
  font-size: 18px;
  line-height: 1.55;
  resize: vertical;
  border-radius: 4px;
  outline: none;
  transition: border-color .25s, background .25s;
}
.tryit-textarea::placeholder {
  color: var(--text-ter);
  font-style: italic;
}
.tryit-textarea:focus {
  border-color: var(--sage-30);
  background: rgba(20, 12, 28, 0.7);
}

.tryit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 24px;
}
.tryit-priv {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-ter);
  text-align: left;
}

.btn-read {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--sage);
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.btn-read:hover { background: var(--sage); color: #0A0A0A; }
.btn-read:disabled { opacity: 0.5; cursor: progress; }

/* response card */
.tryit-response {
  margin-top: 56px;
  text-align: left;
  position: relative;
  padding: 36px 36px;
  border-left: 2px solid var(--sage);
  background: linear-gradient(180deg, rgba(20, 12, 28, 0.5), rgba(10, 7, 18, 0));
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  pointer-events: none;
}
.tryit-response.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tryit-response .label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.tryit-response .title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}
.tryit-response .body {
  font-family: 'Newsreader', serif;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(237,232,223,0.78);
  margin-bottom: 32px;
  text-wrap: pretty;
}

.tryit-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tryit-cta-row .nudge {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-ter);
}

.appstore-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(237,232,223,0.30);
  border-radius: 999px;
  background: var(--cream);
  color: #0A0A0A;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.10em;
  transition: transform .2s;
}
.appstore-pill:hover { transform: translateY(-1px); }
.appstore-pill .stack { display: flex; flex-direction: column; line-height: 1.1; }
.appstore-pill .stack small { font-size: 9px; opacity: 0.65; letter-spacing: 0.18em; text-transform: uppercase; }

/* loading state */
.reading-state {
  display: none;
  margin-top: 56px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  text-align: center;
}
.reading-state.active { display: block; }
.reading-state .dots::after {
  content: '';
  display: inline-block;
  width: 1ch;
  text-align: left;
  animation: dots 1.2s steps(4, end) infinite;
}
@keyframes dots {
  0%   { content: '';     }
  25%  { content: '.';    }
  50%  { content: '..';   }
  75%  { content: '...';  }
  100% { content: '';     }
}

/* ---------- WHY NOT GPT ---------- */
.whygpt {
  padding: 22vh 32px 18vh;
  text-align: center;
}
.whygpt-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-ter);
  margin-bottom: 56px;
}
.whygpt p {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(237, 232, 223, 0.78);
  margin: 0 auto 26px;
  max-width: 740px;
  text-wrap: balance;
}
.whygpt p:last-child {
  color: var(--cream);
  font-style: italic;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid rgba(122, 158, 126, 0.08);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-ter);
}
footer a { color: var(--text-ter); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--cream); }
footer .right { display: flex; gap: 28px; align-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .top-bar { padding: 16px 20px; }
  .beat-rail { display: none; }
  .fold-meta { gap: 18px; flex-wrap: wrap; }
  .trait-panel { padding: 80px 32px 40px; }
  .trait-panel .name { font-size: 32px; }
  .tryit-row { flex-direction: column; align-items: stretch; }
  .tryit-row .btn-read { width: 100%; }
  .reflection-card { padding: 32px 28px; width: 92vw; }
  footer { flex-direction: column; gap: 16px; padding: 24px 20px; }
}

/* ===== visited / hover micro states ===== */
.btn-read:focus-visible, .appstore-pill:focus-visible, .link-pill:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

::selection {
  background: rgba(122, 158, 126, 0.45);
  color: var(--cream);
}
