/* =========================================================
   PREPT — Landing styles
   Restrained, intelligent, high-trust.
   Calm visuals; the copy carries the punch.
   ========================================================= */

:root {
  /* Backgrounds & surfaces */
  --bg:             #F8FAFC;   /* subtle blue-gray, not pure white */
  --bg-elev:        #F1F5F9;   /* slightly deeper for section variation */
  --surface:        #FFFFFF;   /* white cards */

  /* Text */
  --ink:            #0F172A;   /* deep slate (premium black) */
  --ink-soft:       #1E293B;
  --muted:          #475569;   /* secondary text */
  --muted-light:    #94A3B8;

  /* Brand */
  --primary:        #1E40AF;   /* SpeakBetter Blue */
  --primary-deep:   #1E3A8A;
  --primary-bright: #3B82F6;
  --primary-soft:   #DBEAFE;
  --primary-tint:   #EFF4FE;

  /* Accents (use sparingly) */
  --success:        #10B981;
  --success-soft:   #D1FAE5;
  --energy:         #F59E0B;
  --energy-soft:    #FEF3C7;
  --correct:        #DC2626;   /* used surgically on strikethroughs */

  /* Lines */
  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;

  /* Dark contrast (single section) */
  --dark-bg:        #0B1120;
  --dark-surface:   #111827;
  --dark-line:      rgba(248, 250, 252, 0.10);
  --dark-line-strong: rgba(248, 250, 252, 0.18);

  --line:           rgba(15, 23, 42, 0.08);
  --line-strong:    rgba(15, 23, 42, 0.14);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Light shadows. No glow, no drama. */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow:    0 4px 18px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 22px 48px rgba(30, 64, 175, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);

  --container-max: 1180px;
  --header-h: 68px;

  --font-display: 'Inter', system-ui, -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'SF Pro Text',    'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 1px 2px rgba(30,64,175,0.18), 0 4px 10px rgba(30,64,175,0.10);
}
.brand-name { font-weight: 700; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 1px 2px rgba(30,64,175,0.20), 0 4px 14px rgba(30,64,175,0.18);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(30,64,175,0.20), 0 10px 22px rgba(30,64,175,0.22);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}

.appstore-badge {
  display: inline-flex;
  border-radius: 11px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.appstore-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.appstore-large { display: inline-block; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.link-arrow:hover { color: var(--primary); border-bottom-color: var(--primary); }
.link-arrow svg { transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.14);
}
.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--primary-bright); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--ink);
}
.display-accent {
  color: var(--primary);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--ink);
}
.section-title.light { color: var(--surface); }
.muted-on-dark { color: var(--primary-bright); font-weight: 700; }

.lede {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 32px;
}

.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 32px 0 96px;
  position: relative;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 40px);
}
.hero-copy { max-width: 580px; }

.cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.proof-line {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* App Store screenshot (replaces the old CSS phone mockups).
   Images are 1242x2688 (≈0.462 aspect) and already include the
   dark backdrop + phone frame, so we just need a frame, shadow,
   and a width that scales with the viewport. */
.app-screenshot {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.18),
    0 10px 24px rgba(15, 23, 42, 0.08);
}
.step-visual .app-screenshot { max-width: 300px; }

@media (max-width: 960px) {
  .app-screenshot { max-width: 320px; }
  .step-visual .app-screenshot { max-width: 320px; }
}
@media (max-width: 720px) {
  .app-screenshot,
  .step-visual .app-screenshot { max-width: 300px; border-radius: 24px; }
}
@media (max-width: 420px) {
  .app-screenshot,
  .step-visual .app-screenshot { max-width: 260px; border-radius: 20px; }
}
.phone-frame {
  position: relative;
  width: 320px;
  height: 660px;
  background: var(--ink);
  border-radius: 50px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(15,23,42,0.14),
    0 14px 30px rgba(15,23,42,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transform: perspective(1600px) rotateY(-4deg) rotateX(1deg);
  transition: transform 0.6s ease;
}
.phone-frame:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(0.5deg);
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: var(--ink);
  border-radius: 16px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  height: 100%;
  background: var(--surface);
  border-radius: 38px;
  overflow: hidden;
  padding: 56px 22px 24px;
}
.phone-sm {
  width: 280px;
  height: 580px;
  border-radius: 44px;
  padding: 10px;
}
.phone-sm .phone-screen {
  border-radius: 36px;
  padding: 50px 18px 22px;
}

/* Diagnostic screen content */
.diag-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: var(--success-soft);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.diag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}
.diag-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 14px 0 4px;
  color: var(--ink);
}
.diag-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 22px;
}
.skill { margin-bottom: 14px; }
.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.skill-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.skill-band {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.band-developing { background: var(--energy-soft); color: #92400E; }
.band-solid      { background: var(--primary-tint); color: var(--primary-deep); }
.band-sharp      { background: var(--success-soft); color: #047857; }

.skill-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: var(--w);
  background: var(--primary);
  border-radius: 999px;
  animation: fillBar 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}
@keyframes fillBar {
  from { width: 0; }
  to { width: var(--w); }
}
.diag-cta {
  margin-top: 18px;
  width: 100%;
  background: var(--primary);
  color: var(--surface);
  border: none;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem {
  padding: 110px 0 110px;
  border-top: 1px solid var(--border);
}
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
}
.problem-close {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.4;
  color: var(--primary);
  max-width: 760px;
  margin: 32px 0 0;
  border-left: 3px solid var(--primary);
  padding-left: 22px;
  letter-spacing: -0.012em;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how {
  padding: 120px 0 130px;
  border-top: 1px solid var(--border);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.step-reverse { direction: rtl; }
.step-reverse > * { direction: ltr; }
.step-copy { max-width: 480px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary);
  display: block;
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--ink);
}
.step-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 460px;
}
.step-visual {
  display: flex;
  justify-content: center;
}

/* Step 1 — record */
.record-screen { display: flex; flex-direction: column; height: 100%; }
.record-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--primary-tint);
  color: var(--primary-deep);
  padding: 4px 9px;
  border-radius: 999px;
}
.record-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.018em;
  margin: 16px 0 28px;
  color: var(--ink);
}
.record-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.record-pulse {
  width: 10px; height: 10px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.record-time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.record-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 60px;
  margin-bottom: 12px;
}
.record-wave span {
  flex: 1;
  height: var(--h);
  background: var(--primary);
  border-radius: 999px;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.record-wave span:nth-child(1)  { animation-delay: 0.0s; }
.record-wave span:nth-child(2)  { animation-delay: 0.07s; }
.record-wave span:nth-child(3)  { animation-delay: 0.14s; }
.record-wave span:nth-child(4)  { animation-delay: 0.21s; }
.record-wave span:nth-child(5)  { animation-delay: 0.28s; }
.record-wave span:nth-child(6)  { animation-delay: 0.35s; }
.record-wave span:nth-child(7)  { animation-delay: 0.42s; }
.record-wave span:nth-child(8)  { animation-delay: 0.49s; }
.record-wave span:nth-child(9)  { animation-delay: 0.56s; }
.record-wave span:nth-child(10) { animation-delay: 0.63s; }
.record-wave span:nth-child(11) { animation-delay: 0.7s;  }
.record-wave span:nth-child(12) { animation-delay: 0.77s; }
.record-wave span:nth-child(13) { animation-delay: 0.84s; }
.record-wave span:nth-child(14) { animation-delay: 0.91s; }
.record-wave span:nth-child(15) { animation-delay: 0.98s; }
@keyframes wave {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}
.record-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Step 2 — coach */
.coach-screen { display: flex; flex-direction: column; }
.coach-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--primary-tint);
  color: var(--primary-deep);
  padding: 4px 9px;
  border-radius: 999px;
}
.coach-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 14px 0 8px;
  color: var(--ink);
}
.coach-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
}
.coach-frame {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.frame-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.frame-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.frame-step:last-child { border-bottom: none; }
.frame-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.coach-cta {
  background: var(--primary);
  color: var(--surface);
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
  letter-spacing: -0.005em;
}

/* Step 3 — pressure */
.press-screen { display: flex; flex-direction: column; gap: 10px; }
.press-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.press-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.press-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.press-role {
  font-size: 11px;
  color: var(--muted);
}
.press-bubble {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}
.press-bubble.bot {
  align-self: flex-start;
  background: var(--bg-elev);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.press-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--surface);
  border-bottom-right-radius: 4px;
}
.press-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-elev);
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.press-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s infinite;
}
.press-typing span:nth-child(2) { animation-delay: 0.15s; }
.press-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.how-cta {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-meta { font-size: 14px; color: var(--muted); }

/* =========================================================
   PROGRAM (single dark contrast section)
   ========================================================= */
.program {
  background: var(--dark-bg);
  color: var(--surface);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.program-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.program-copy { max-width: 540px; }
.program-body {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(248,250,252,0.72);
  margin: 18px 0 0;
}
.program-tag {
  margin-top: 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--primary-bright);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  color: var(--surface);
  background: rgba(248,250,252,0.04);
  border-radius: 0 12px 12px 0;
  letter-spacing: -0.012em;
}

.program-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.program-visual .app-screenshot {
  max-width: 320px;
  /* Heavier shadow on the dark section so the screenshot lifts off the background */
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    0 14px 30px rgba(0, 0, 0, 0.3);
}
.phase {
  display: flex;
  gap: 18px;
  align-items: center;
}
.phase-mark {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.phase-done {
  background: var(--success);
  color: #062017;
}
.phase-active {
  background: var(--primary-bright);
  position: relative;
}
.phase-active::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary-bright);
  animation: ringPulse 1.8s ease-out infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.phase-locked {
  background: rgba(248,250,252,0.05);
  border: 1px solid var(--dark-line);
  color: var(--muted-light);
}
.phase-body { flex: 1; }
.phase-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phase-name.muted { color: var(--muted-light); }
.phase-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--primary-bright);
  color: #04122B;
  padding: 3px 8px;
  border-radius: 999px;
}
.phase-meta {
  font-size: 13px;
  color: var(--muted-light);
  margin: 4px 0 10px;
}
.phase-bar {
  height: 5px;
  background: rgba(248,250,252,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.phase-fill {
  height: 100%;
  width: var(--w);
  background: var(--primary-bright);
  border-radius: 999px;
}

/* =========================================================
   USE CASES
   ========================================================= */
.cases {
  padding: 120px 0;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.case-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary-tint);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.case-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink);
}
.case-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.manifesto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.manifesto-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 36px;
  transition: padding-left 0.25s ease, color 0.2s ease;
}
.manifesto-list li:last-child { border-bottom: none; }
.manifesto-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-body);
  transition: transform 0.25s ease;
}
.manifesto-list li:hover { padding-left: 44px; color: var(--primary); }
.manifesto-list li:hover::before { transform: translateX(4px); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing {
  padding: 110px 0 130px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price-card-pro {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.price-flag {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primary);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.price-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.price-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.035em;
}
.price-cycle {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 2px;
}
.price-trial {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--primary);
}
.price-card-pro .price-trial { color: #93C5FD; }
.price-desc {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
  color: var(--muted);
}
.price-card-pro .price-desc { color: rgba(248,250,252,0.7); }
.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 26px auto 0;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-list li {
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.price-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%231E40AF' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.price-card-pro .price-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%233B82F6' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final {
  padding: 130px 0 140px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.final-inner {
  max-width: 760px;
  margin: 0 auto;
}
.final-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--ink);
}
.final-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  margin: 0 0 36px;
}
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.final-meta { font-size: 14px; color: var(--muted); margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--surface);
  padding: 56px 0 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.brand-light { color: var(--surface); }
.footer-tag {
  font-size: 14px;
  color: rgba(248,250,252,0.55);
  margin: 12px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-self: center;
}
.footer-links a {
  font-size: 14px;
  color: rgba(248,250,252,0.7);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--primary-bright); }
.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--dark-line);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(248,250,252,0.5);
  margin-top: 12px;
}

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */
.mobile-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--surface);
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  box-shadow: 0 14px 36px rgba(30,64,175,0.32);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .skill-fill, .record-pulse, .record-wave span,
  .press-typing span, .phase-active::before { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
    padding-top: 24px;
  }
  .hero-visual { order: 2; }
  .hero { padding: 32px 0 64px; }

  .step,
  .program-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .step-reverse { direction: ltr; }
  .step-visual { order: 2; }

  .case-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-grid { max-width: 480px; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .header-nav .nav-link { display: none; }
  .header-nav { gap: 12px; }

  .problem,
  .how,
  .program,
  .cases,
  .manifesto,
  .pricing,
  .final { padding: 72px 0; }

  .section-head { margin-bottom: 36px; }
  .steps { gap: 64px; }

  .phone-frame {
    transform: none;
    width: 280px;
    height: 580px;
    border-radius: 44px;
    padding: 10px;
  }
  .phone-frame:hover { transform: none; }
  .phone-screen { border-radius: 36px; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }

  .program-tag { font-size: 16px; }

  .footer-links { gap: 18px; }
}

@media (max-width: 420px) {
  .phone-frame { width: 260px; height: 540px; }
  .cta-row { gap: 14px; }
  .case-card,
  .price-card { padding: 28px 24px; }
}

/* =========================================================
   SUBPAGE (privacy / support)
   ========================================================= */
.subpage-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}
.subpage-hero .eyebrow { margin-bottom: 16px; }
.subpage-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
}
.subpage-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}
.subpage-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted-light);
}

.subpage {
  padding: 72px 0 100px;
}
.subpage-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.subpage-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.subpage-toc a {
  color: var(--muted);
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.subpage-toc a:hover {
  color: var(--ink);
  border-left-color: var(--primary);
}
.subpage-toc-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 6px;
  padding-left: 12px;
}

.prose {
  max-width: 720px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 56px 0 14px;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.018em;
  margin: 32px 0 10px;
  color: var(--ink);
}
.prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.prose ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.prose a {
  color: var(--primary);
  border-bottom: 1px solid rgba(30,64,175,0.3);
  transition: border-color 0.15s ease;
}
.prose a:hover { border-bottom-color: var(--primary); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}
.prose .callout p { margin: 0; }

/* Support FAQ */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Support contact card */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 56px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-tint);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.018em;
  margin: 0 0 6px;
  color: var(--ink);
}
.contact-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}
.contact-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
  align-self: flex-start;
}
.contact-link:hover { color: var(--primary); border-bottom-color: var(--primary); }

@media (max-width: 880px) {
  .subpage-grid { grid-template-columns: 1fr; gap: 36px; }
  .subpage-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .subpage-toc a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; }
  .subpage-toc a:hover { border-color: var(--primary); }
  .subpage-toc-label { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   EDITORIAL TYPOGRAPHY (the swagger layer)
   Calm canvas, screaming type.
   ========================================================= */

/* Mono "byline" tag — newspaper / clipboard energy */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.mono-tag .num {
  color: var(--ink);
  font-weight: 600;
  margin-right: 10px;
  border-right: 1px solid var(--border-strong);
  padding-right: 10px;
}
.mono-tag.on-dark { color: var(--muted-light); }
.mono-tag.on-dark .num { color: var(--surface); border-right-color: rgba(248,250,252,0.2); }

/* Hero XL display — the killshot */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(44px, 11vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  font-weight: 800;
}
.display-xl .line { display: block; }
.display-xl .line-strike {
  font-weight: 300;
  color: var(--muted-light);
  position: relative;
  display: inline-block;
  letter-spacing: -0.04em;
}
.display-xl .line-strike::after {
  content: "";
  position: absolute;
  left: -1%;
  right: 102%;
  top: 54%;
  height: clamp(4px, 0.55vw, 8px);
  background: var(--correct);
  transform: translateY(-50%) skewY(-1.5deg);
  transform-origin: left center;
  transition: right 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s;
  pointer-events: none;
  border-radius: 2px;
}
.reveal.is-visible .display-xl .line-strike::after,
.is-visible .display-xl .line-strike::after { right: -1%; }
.display-xl .line-truth {
  font-weight: 800;
  color: var(--ink);
}
.display-xl .line-truth em {
  font-style: italic;
  font-weight: 800;
  color: var(--primary);
}
@media (prefers-reduced-motion: reduce) {
  .display-xl .line-strike::after { transition: none; right: -1%; }
}

/* Manifesto poster — the loudest section */
.manifesto-poster {
  padding: 110px 0 120px;
  border-top: 1px solid var(--border);
}
.manifesto-poster .section-head {
  margin-bottom: 48px;
}
.manifesto-poster-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 3px solid var(--ink);
  counter-reset: poster;
}
.manifesto-poster-list li {
  counter-increment: poster;
  border-bottom: 3px solid var(--ink);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  align-items: baseline;
  position: relative;
  transition: padding-left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.manifesto-poster-list li::before {
  content: "0" counter(poster);
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  align-self: start;
  line-height: 1;
}
.manifesto-poster-list .item-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.manifesto-poster-list .item-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elev);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  align-self: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}
.manifesto-poster-list li:hover {
  padding-left: 12px;
}
.manifesto-poster-list li:hover .item-text {
  color: var(--primary);
}
.manifesto-poster-list li:hover .item-arrow {
  background: var(--primary);
  color: var(--surface);
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .display-xl { font-size: clamp(38px, 13vw, 80px); }
  .display-xl .line-strike::after { height: clamp(3px, 1vw, 6px); }

  .manifesto-poster-list li {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 26px 0;
  }
  .manifesto-poster-list .item-arrow {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 4px;
    width: 32px; height: 32px;
  }
  .manifesto-poster-list li:hover { padding-left: 0; }
}
