/* ============================================
   SWEEP COACH — LANDING PAGE STYLES
   Redesigned: light/airy, deep-purple accent
   ============================================ */

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

:root {
  --bg:            #e8edf5;
  --bg-alt:        #dce4f0;
  --bg-deep:       #d0daea;
  --bg-card:       #f4f7fd;
  --bg-card-hover: #edf1f9;
  --border:        rgba(0, 0, 0, 0.07);
  --border-bright: rgba(0, 0, 0, 0.12);
  --text-primary:  #0f1117;
  --text-secondary:#5a6680;
  --text-muted:    #8fa0be;
  --accent:        #5933d8;
  --accent-hover:  #4a29be;
  --accent-light:  rgba(89, 51, 216, 0.1);
  --done-color:    #16a34a;
  --active-color:  #5933d8;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-pill:   999px;
  --transition:    0.2s ease;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-card:   0 2px 12px rgba(15, 17, 40, 0.07);
  --shadow-hover:  0 8px 32px rgba(15, 17, 40, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(232, 237, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color var(--transition);
}

.header-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-decoration: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(89, 51, 216, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 26px;
  border: 1.5px solid var(--border-bright);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.04);
}

.btn-sm {
  font-size: 14px;
  padding: 9px 20px;
}

.btn-lg {
  font-size: 16px;
  padding: 17px 40px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding-top: 160px;
  padding-bottom: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-headline {
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}

.hero-support {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Schedule Visualization ── */
.schedule-viz {
  background: var(--bg-card);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.schedule-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--done-color);
  background: rgba(22, 163, 74, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.schedule-blocks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: all 0.3s ease;
}

.block-complete {
  border-color: rgba(22, 163, 74, 0.18);
  background: rgba(22, 163, 74, 0.05);
}

.block-active {
  border-color: rgba(89, 51, 216, 0.3);
  background: rgba(89, 51, 216, 0.07);
  box-shadow: 0 0 0 1px rgba(89, 51, 216, 0.12);
}

.block-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 52px;
  letter-spacing: 0.02em;
}

.block-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.block-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.block-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.block-status.done {
  color: var(--done-color);
  background: rgba(22, 163, 74, 0.1);
}

.block-status.active {
  color: var(--accent);
  background: var(--accent-light);
}

.block-status.pending {
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
}

.schedule-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1.5px solid var(--border);
}

.score-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.score-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================
   SECTION SHARED
   ============================================ */

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-text {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-headline {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.13;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.section-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 16px;
}

.section-body:last-child {
  margin-bottom: 0;
}

.section-body-strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============================================
   TILE GRID
   ============================================ */

.tile-grid {
  display: grid;
  gap: 16px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.tile {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.tile:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.tile-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.tile-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.tile-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem {
  background: var(--bg-alt);
}

/* ============================================
   INSURANCE SECTION
   ============================================ */

.insurance {
  background: var(--bg);
}

.insurance .section-text {
  max-width: 820px;
}

/* Stat Tiles */
.stat-grid {
  margin-bottom: 48px;
}

.stat-tile {
  text-align: center;
  padding: 40px 32px;
}

.stat-number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-unit {
  font-size: 0.45em;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Outcome Statements */
.outcome-statements {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.outcome-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.outcome-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */

.solution {
  background: var(--bg-alt);
}

.feature-tile {
  position: relative;
  overflow: hidden;
}

.feature-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============================================
   APP PREVIEW SECTION
   ============================================ */

.app-preview { background: var(--bg-alt); }

.app-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }

.app-tab { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-pill); color: var(--text-secondary); font-family: var(--font); font-size: 14px; font-weight: 600; padding: 10px 22px; cursor: pointer; transition: all var(--transition); }
.app-tab:hover { border-color: var(--border-bright); color: var(--text-primary); }
.app-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.app-frame-wrap { max-width: 780px; margin: 0 auto; }
.app-panel { display: none; }
.app-panel.active { display: block; }

.mock-screen { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-hover); margin-bottom: 24px; }
.mock-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1.5px solid #f0f2f7; }
.mock-title { font-size: 20px; font-weight: 700; color: #0f1117; letter-spacing: -0.02em; margin-bottom: 4px; }
.mock-subtitle { font-size: 13px; color: #8fa0be; }

.mock-gauge-card { display: flex; flex-direction: column; align-items: center; padding: 24px 0; margin-bottom: 24px; background: #fafbfd; border-radius: 14px; border: 1.5px solid #f0f2f7; }
.gauge-avgs { display: flex; gap: 48px; margin-top: 20px; }
.gauge-avg-item { text-align: center; }
.avg-label { font-size: 12px; color: #8fa0be; margin-bottom: 4px; }
.avg-val { font-size: 22px; font-weight: 700; color: #0f1117; letter-spacing: -0.03em; }
.mock-breakdown { display: flex; flex-direction: column; gap: 12px; }
.breakdown-title { font-size: 14px; font-weight: 700; color: #0f1117; margin-bottom: 4px; }
.breakdown-item { display: flex; align-items: center; gap: 12px; }
.breakdown-label { font-size: 13px; color: #5a6680; width: 80px; flex-shrink: 0; }
.breakdown-bar-wrap { flex: 1; height: 8px; background: #f0f2f7; border-radius: 99px; overflow: hidden; }
.breakdown-bar { height: 100%; border-radius: 99px; }
.breakdown-pct { font-size: 13px; font-weight: 700; width: 40px; text-align: right; flex-shrink: 0; }

.checkin-list { display: flex; flex-direction: column; gap: 12px; }
.checkin-card { border-radius: 12px; border: 1.5px solid #e8edf5; padding: 18px 20px; border-left-width: 4px; }
.checkin-card.sent { border-left-color: #16a34a; background: #fafffe; }
.checkin-card.pending { border-left-color: #5933d8; background: #fafbff; }
.checkin-card-top { display: flex; align-items: flex-start; gap: 14px; }
.checkin-num-badge { width: 28px; height: 28px; border-radius: 50%; background: rgba(22,163,74,0.1); color: #16a34a; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkin-num-badge.pending-badge { background: rgba(89,51,216,0.1); color: #5933d8; }
.checkin-info { flex: 1; }
.checkin-name { font-size: 15px; font-weight: 700; color: #0f1117; margin-bottom: 3px; }
.checkin-desc { font-size: 12px; color: #8fa0be; }
.checkin-status { font-size: 13px; font-weight: 700; color: #16a34a; flex-shrink: 0; }
.checkin-compose { font-size: 13px; color: #c0ccdd; font-family: monospace; background: #f6f8fc; border: 1.5px solid #e8edf5; border-radius: 8px; padding: 12px 14px; margin: 14px 0; }
.checkin-btn { background: #5933d8; color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-size: 13px; font-weight: 600; font-family: var(--font); cursor: pointer; }

.block-trailhead { background: #eef2ff; border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
.trailhead-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: #5933d8; margin-bottom: 8px; text-transform: uppercase; }
.trailhead-body { font-size: 13px; color: #0f1117; line-height: 1.6; }
.block-checklist-header { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa0be; margin-bottom: 8px; }
.block-progress-bar-wrap { height: 4px; background: #f0f2f7; border-radius: 99px; margin-bottom: 16px; overflow: hidden; }
.block-progress-bar { height: 100%; background: #5933d8; border-radius: 99px; }
.block-checklist { display: flex; flex-direction: column; }
.checklist-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0f2f7; font-size: 13px; color: #5a6680; }
.checklist-item.done { color: #94a3b8; }
.checklist-item.done span { text-decoration: line-through; text-decoration-color: #c0ccdd; }
.chk { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #d0d8e8; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.done-chk { background: #16a34a; border-color: #16a34a; color: #fff; }

.vault-tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.vault-tab { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 99px; border: 1.5px solid #e8edf5; color: #5a6680; cursor: pointer; }
.vault-tab.active { background: #5933d8; border-color: #5933d8; color: #fff; }
.vault-group { background: #fafbfd; border: 1.5px solid #e8edf5; border-radius: 12px; padding: 16px 20px; }
.vault-group-label { font-size: 13px; font-weight: 700; color: #0f1117; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.vault-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vault-count { font-weight: 400; color: #8fa0be; }
.vault-table { display: flex; flex-direction: column; }
.vault-row { display: grid; grid-template-columns: 2fr 60px 80px 64px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f2f7; font-size: 13px; color: #0f1117; gap: 8px; }
.vault-row:last-child { border-bottom: none; }
.vault-row.header-row { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa0be; padding-bottom: 8px; }
.vault-platform { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.vault-check { font-size: 11px; color: #16a34a; font-weight: 700; }
.vault-check.ceo-check { color: #c0ccdd; }
.dri-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; text-align: center; }
.dri-badge.ea { background: rgba(89,51,216,0.1); color: #5933d8; }
.dri-badge.ceo { background: #f0f2f7; color: #5a6680; }
.vault-timing { font-size: 12px; color: #5a6680; background: #f0f2f7; padding: 3px 10px; border-radius: 99px; text-align: center; }
.vault-link { font-size: 12px; font-weight: 600; color: #5933d8; cursor: pointer; }

.app-panel-caption { font-size: 15px; color: var(--text-secondary); line-height: 1.7; text-align: center; max-width: 560px; margin: 0 auto; }
.app-panel-caption strong { color: var(--text-primary); }

@media (max-width: 600px) {
  .mock-screen { padding: 20px 16px; }
  .vault-row { grid-template-columns: 1.5fr 50px 70px 50px; font-size: 12px; }
  .gauge-avgs { gap: 28px; }
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  background: var(--bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(89, 51, 216, 0.18);
}

.step-connector {
  display: none;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1;
  display: block;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.step-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.social-proof {
  background: var(--bg-alt);
}

.testimonial-tile {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.78;
  font-style: normal;
  quotes: none;
  flex: 1;
}

.testimonial-author {
  padding-top: 20px;
  border-top: 1.5px solid var(--border);
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-title {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
  background: var(--bg);
}

.pricing-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.outcome-statements-light {
  text-align: left;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 40px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 36px;
}

.price-display {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  line-height: 1;
}

.price-currency {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-secondary);
  padding-top: 12px;
}

.price-amount {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.price-period {
  font-size: 20px;
  color: var(--text-muted);
  padding-top: 52px;
  font-weight: 500;
}

.price-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.price-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOUNDER STORY
   ============================================ */

.founder-story {
  background: var(--bg-alt);
}

.founder-inner {
  max-width: 720px;
}

.founder-body {
  margin-bottom: 48px;
}

.founder-body .section-body {
  margin-bottom: 20px;
}

.founder-close {
  color: var(--text-primary) !important;
  font-weight: 500;
}

/* Expandable toggle button */
.built-on-wrap {
  border-top: 1.5px solid var(--border);
  padding-top: 40px;
}

.built-on-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--border-bright);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.built-on-btn:hover {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.04);
}

.built-on-btn[aria-expanded="true"] {
  color: var(--accent);
  border-color: rgba(89, 51, 216, 0.3);
  background: var(--accent-light);
}

.built-on-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.built-on-btn[aria-expanded="true"] .built-on-chevron {
  transform: rotate(180deg);
}

/* Expandable content */
.built-on-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.built-on-content[aria-hidden="false"] {
  max-height: 3000px;
}

.built-on-inner {
  padding-top: 40px;
  padding-bottom: 8px;
}

.built-on-headline {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.built-on-inner .section-body {
  margin-bottom: 16px;
}

/* Framework mapping */
.framework-map {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 36px 0;
}

.framework-item {
  display: grid;
  grid-template-columns: 200px 40px 1fr;
  align-items: flex-start;
  gap: 0;
  padding: 20px 0;
  border-top: 1.5px solid var(--border);
}

.framework-item:last-child {
  border-bottom: 1.5px solid var(--border);
}

.framework-feature {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  padding-top: 2px;
  padding-right: 16px;
}

.framework-arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 1px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.framework-body {
  padding-left: 4px;
}

.framework-principle {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.framework-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.built-on-close {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.built-on-tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

/* Responsive: framework map */
@media (max-width: 700px) {
  .framework-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .framework-arrow {
    display: none;
  }
}

/* ============================================
   FOOTER CTA
   ============================================ */

.footer-cta {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dfe8f8 0%, #ead8f5 50%, #e8edf5 100%);
}

.footer-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.footer-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 32px 0;
  background: var(--bg-deep);
  border-top: 1.5px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay {
  transition-delay: 0.15s;
}

/* Block animation for hero */
.block {
  animation: none;
}

.block-animate .block:nth-child(1) { animation: blockAppear 0.4s ease 0.2s both; }
.block-animate .block:nth-child(2) { animation: blockAppear 0.4s ease 0.4s both; }
.block-animate .block:nth-child(3) { animation: blockAppear 0.4s ease 0.6s both; }
.block-animate .block:nth-child(4) { animation: blockAppear 0.4s ease 0.8s both; }
.block-animate .block:nth-child(5) { animation: blockAppear 0.4s ease 1.0s both; }

@keyframes blockAppear {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 900px) {
  .section {
    padding: 96px 0;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-sub {
    max-width: 100%;
  }

  .schedule-viz {
    max-width: 100%;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 40px 32px;
  }

  .outcome-statements {
    padding: 32px 28px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .header {
    padding: 0 20px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .header .btn-sm {
    width: auto;
  }

  .section-text {
    margin-bottom: 48px;
  }

  .tile {
    padding: 24px;
  }

  .step {
    padding: 32px 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .price-amount {
    font-size: 64px;
  }

  .footer-headline {
    font-size: 26px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .outcome-statements {
    padding: 24px 20px;
  }

  .footer-cta {
    padding: 100px 0;
  }

  .stat-grid.three-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   BETA SIGNUP MODAL
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 17, 40, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 24px 80px rgba(15, 17, 40, 0.2);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
  font-family: var(--font);
}

.modal-close:hover {
  background: var(--border-bright);
  color: var(--text-primary);
}

.modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.modal-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border-bright);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238fa0be' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.modal-submit {
  margin-top: 4px;
  width: 100%;
}

.modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.modal-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* Modal success state */
.modal-success {
  text-align: center;
  padding: 16px 0;
}

.success-icon {
  margin-bottom: 24px;
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.success-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 600px) {
  .modal-box {
    padding: 36px 28px;
  }
}
