/* ============================================
   Hooply — Duolingo-Style Design System
   ============================================ */

:root {
  --bg:          #F7F7F7;
  --card:        #FFFFFF;
  --border:      #E5E5E5;
  --shadow-card: #BFBFBF;

  --blue:        #1D6FE8;
  --blue-dark:   #1558C0;
  --blue-mid:    #5B9EF7;
  --blue-dim:    rgba(29, 111, 232, 0.10);
  --blue-border: rgba(29, 111, 232, 0.25);
  --blue-shadow: rgba(21,  88, 192, 0.28);

  --emerald:      #10B981;
  --emerald-dark: #0D9268;
  --emerald-dim:  rgba(16, 185, 129, 0.10);

  --orange:      #FF9600;
  --orange-dark: #C87000;
  --orange-dim:  rgba(255, 150, 0, 0.10);

  --purple:      #A560F0;
  --purple-dark: #7A3BC0;
  --purple-dim:  rgba(165, 96, 240, 0.10);

  --sky:         #1CB0F6;
  --sky-dark:    #0081B4;
  --sky-dim:     rgba(28, 176, 246, 0.10);

  --red:         #FF4B4B;
  --red-dark:    #C44040;
  --red-dim:     rgba(255, 75,  75, 0.10);

  --gold:        #FFD900;
  --gold-dark:   #CE9400;
  --gold-dim:    rgba(255, 217, 0, 0.12);

  --ink:         #3C3C3C;
  --ink-muted:   #6B6B6B;
  --ink-faint:   #AFAFAF;

  /* legacy aliases */
  --cream:             #F7F7F7;
  --cream-dark:        #E5E5E5;
  --cream-glass:       rgba(255, 255, 255, 0.92);
  --white:             #FFFFFF;
  --teal:              #1D6FE8;
  --teal-light:        #5B9EF7;
  --teal-dim:          rgba(29, 111, 232, 0.10);
  --teal-border-hover: rgba(29, 111, 232, 0.25);
  --teal-shadow:       rgba(21, 88, 192, 0.28);
  --teal-shadow-hover: rgba(21, 88, 192, 0.44);
  --sage:              #10B981;
  --sage-dim:          rgba(16, 185, 129, 0.10);
  --amber:             #FF9600;
  --amber-dim:         rgba(255, 150, 0, 0.10);
  --violet:            #A560F0;
  --violet-dim:        rgba(165, 96, 240, 0.10);
  /* FIXED: was mint-green #ECFDF5 — now neutral gray */
  --yellow:            #F7F7F7;

  --shadow-soft:   rgba(0, 0, 0, 0.06);
  --shadow-medium: rgba(0, 0, 0, 0.12);

  --white-high:    rgba(255, 255, 255, 0.80);
  --white-mid:     rgba(255, 255, 255, 0.50);
  --white-low:     rgba(255, 255, 255, 0.30);
  --white-heading: rgba(255, 255, 255, 0.70);
  --white-link:    rgba(255, 255, 255, 0.40);
  --white-border:  rgba(255, 255, 255, 0.12);

  --radius-sm:   10px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   26px;
  --radius-full: 9999px;

  --font:       'Nunito', system-ui, sans-serif;
  --nav-height: 64px;
  --ease:       0.18s ease;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--blue-mid); }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.container       { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons — Duolingo 3-D press ──────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, border-bottom-width 0.1s ease;
  text-decoration: none;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  border-bottom: 4px solid var(--blue-dark);
}
.btn--primary:hover  { color: #fff; transform: translateY(-1px); border-bottom-width: 5px; }
.btn--primary:active { transform: translateY(2px); border-bottom-width: 2px; }

.btn--ghost {
  background: var(--card);
  color: var(--ink-muted);
  border: 2px solid var(--border);
  border-bottom: 4px solid var(--shadow-card);
}
.btn--ghost:hover  { color: var(--ink); border-bottom-color: var(--blue); transform: translateY(-1px); }
.btn--ghost:active { transform: translateY(2px); border-bottom-width: 2px; }

.btn--large { padding: 15px 36px; font-size: 1rem; }

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--cream-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transition: box-shadow var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 8px var(--shadow-soft);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); flex-shrink: 0; }
.nav__logo-text { font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  font-size: 0.88rem; font-weight: 700; color: var(--ink-muted);
  padding: 6px 14px; border-radius: var(--radius-full);
  transition: background var(--ease), color var(--ease);
}
.nav__links a:hover { background: var(--blue-dim); color: var(--blue); }

.nav__cta {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  padding: 6px 18px !important;
  font-weight: 700 !important;
  transition: background var(--ease), transform 0.1s ease !important;
}
.nav__cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

.nav__hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 8px; }
.nav__hamburger svg { display: block; }

/* ── Beta Banner ────────────────────────────── */
.beta-banner {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 999;
}
.beta-banner a { color: #fff; text-decoration: underline; font-weight: 800; }
.beta-banner a:hover { opacity: 0.85; }

/* ── Hero ───────────────────────────────────── */
.hero {
  padding: calc(var(--nav-height) + 120px) 0 88px;
  position: relative;
  overflow: hidden;
  background: var(--card);
}
.hero__glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}
.hero__glow--1 {
  top: -160px; right: -60px; opacity: 0.14;
  background: var(--blue-mid);
  animation: gradientGlow 6s ease-in-out infinite;
}
.hero__glow--2 {
  bottom: -120px; left: -80px; opacity: 0.10;
  background: var(--sky);
  animation: gradientGlow 6s ease-in-out infinite 3s;
}
.hero__split { display: flex; align-items: center; gap: 64px; position: relative; z-index: 1; }
.hero__content { flex: 1; min-width: 0; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-dim);
  border: 2px solid var(--blue-border);
  border-bottom: 3px solid var(--blue-border);
  color: var(--blue);
  font-size: 0.8rem; font-weight: 800;
  padding: 6px 14px; border-radius: var(--radius-full);
  margin-bottom: 22px; letter-spacing: 0.01em;
}

.hero__title {
  font-size: 3.8rem; font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px; line-height: 1.08;
}
.hero__title em { color: var(--blue); font-style: normal; }

.hero__subtitle {
  font-size: 1.1rem; color: var(--ink-muted);
  max-width: 460px; margin-bottom: 32px;
  line-height: 1.7; font-weight: 500;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__note { font-size: 0.82rem; color: var(--ink-faint); font-weight: 500; }
.hero__app-link { font-size: 0.95rem; font-weight: 600; color: var(--ink-faint); }
.hero__app-link a { color: var(--blue); text-decoration: none; }
.hero__app-link a:hover { text-decoration: underline; }

.hero__stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero__stat-num {
  font-size: 1.7rem; font-weight: 800; color: var(--blue);
  line-height: 1; letter-spacing: -0.02em;
}
.hero__stat-label { font-size: 0.75rem; color: var(--ink-muted); margin-top: 3px; font-weight: 600; }

/* ── Phone Mockup ───────────────────────────── */
.hero__mockup { flex: 0 0 250px; position: relative; z-index: 1; animation: float 4s ease-in-out infinite; }

.phone {
  width: 240px; height: 320px;
  background: var(--ink);
  border-radius: 26px; padding: 5px;
  box-shadow: 0 24px 64px rgba(21, 88, 192, 0.24), 0 6px 18px rgba(0,0,0,0.18);
  border: 2px solid #555;
  border-bottom: 4px solid #1a1a1a;
}
.phone__notch {
  width: 70px; height: 16px; background: var(--ink);
  border-radius: 0 0 8px 8px;
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%;
  background: var(--bg); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone__header {
  background: var(--blue); color: #fff;
  padding: 22px 14px 8px; font-size: 0.85rem; font-weight: 800;
}
.phone__header small {
  display: block; font-size: 0.65rem; font-weight: 700;
  color: rgba(255,255,255,0.7); margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.phone__body {
  flex: 1; padding: 10px;
  display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  background: var(--bg);
}
.phone__analysis-card {
  background: var(--card); border-radius: var(--radius-md); padding: 10px;
  border: 2px solid var(--border); border-bottom: 3px solid var(--shadow-card);
}
.phone__analysis-label {
  font-size: 0.72rem; font-weight: 700; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px;
}
.phone__bar-group { display: flex; flex-direction: column; gap: 5px; }
.phone__bar-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.52rem; font-weight: 700; color: var(--ink-muted);
}
.phone__bar-row span:first-child { width: 22px; text-align: right; }
.phone__bar-row span:last-child  { width: 18px; color: var(--ink); }
.phone__bar {
  flex: 1; height: 5px; background: var(--border);
  border-radius: var(--radius-full); overflow: hidden;
}
.phone__bar-fill      { height: 100%; background: var(--blue);   border-radius: var(--radius-full); }
.phone__bar-fill--warn{ background: var(--orange); }

.phone__recommendation {
  display: flex; gap: 8px;
  background: var(--blue-dim);
  border: 2px solid var(--blue-border);
  border-radius: var(--radius-md); padding: 9px;
}
.phone__rec-icon { font-size: 0.8rem; flex-shrink: 0; }
.phone__rec-text { font-size: 0.75rem; color: var(--ink-muted); line-height: 1.4; }
.phone__rec-text strong { color: var(--blue); display: block; margin-bottom: 1px; font-weight: 800; }

.phone__action-btn {
  display: block; width: 100%; padding: 8px;
  border-radius: var(--radius-full);
  background: var(--blue); color: #fff;
  font-size: 0.75rem; font-weight: 800; text-align: center;
  border-bottom: 3px solid var(--blue-dark); margin-top: auto;
}

/* ── Text AI-output mockup ──────────────────── */
.mockup-heading { font-size: 0.82rem; font-weight: 800; color: var(--blue); }
.mockup-line    { font-size: 0.75rem; line-height: 1.45; color: var(--ink-muted); }
.mockup-line strong { color: var(--ink); font-weight: 700; }
.mockup-line em     { font-style: italic; color: var(--ink-faint); }

/* ── Features ─────────────────────────────────── */
.features { padding: 88px 0 64px; background: var(--card); }
.features__header { max-width: 560px; margin-bottom: 56px; }
.features__title   { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em; }
.features__subtitle{ font-size: 1.05rem; color: var(--ink-muted); line-height: 1.7; font-weight: 500; }
.features__group   { margin-bottom: 52px; }
.features__group:last-child { margin-bottom: 0; }
.features__group-name {
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-faint); margin-bottom: 18px;
}

/* ── Core Analysis — 3-D cards ─────────────── */
.core-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.core-feature {
  display: flex; align-items: flex-start; gap: 18px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 2px solid var(--border);
  border-bottom: 5px solid var(--shadow-card);
  transition: transform 0.12s ease, border-bottom-width 0.12s ease, box-shadow 0.12s ease;
}
.core-feature:hover  { transform: translateY(-3px); border-bottom-width: 7px; box-shadow: 0 8px 28px var(--shadow-soft); }
.core-feature:active { transform: translateY(2px);  border-bottom-width: 3px; }

.core-feature:nth-child(1) { border-left: 4px solid var(--blue);    }
.core-feature:nth-child(2) { border-left: 4px solid var(--emerald); }
.core-feature:nth-child(3) { border-left: 4px solid var(--orange);  }
.core-feature:nth-child(4) { border-left: 4px solid var(--purple);  }

.core-feature__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.core-feature__icon--teal   { background: var(--blue-dim);   color: var(--blue);   }
.core-feature__icon--violet { background: var(--purple-dim); color: var(--purple); }
.core-feature__text h4 { font-size: 1rem;  font-weight: 800; margin-bottom: 4px; }
.core-feature__text p  { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Weekly Insights ──────────────────────────── */
.weekly-strip {
  background: var(--blue-dim);
  border: 2px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px; margin-bottom: 52px;
}
.weekly-strip__header { margin-bottom: 20px; }
.weekly-strip__sub { font-size: 0.92rem; color: var(--ink-muted); margin-top: 4px; font-weight: 500; }
.weekly-strip__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.weekly-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--card);
  border-radius: var(--radius-md); padding: 18px 16px;
  border: 2px solid var(--border); border-bottom: 4px solid var(--shadow-card);
  transition: transform 0.12s ease, border-bottom-width 0.12s ease;
}
.weekly-item:hover  { transform: translateY(-2px); border-bottom-width: 6px; }
.weekly-item:active { transform: translateY(1px);  border-bottom-width: 2px; }

.weekly-item__num {
  width: 30px; height: 30px; border-radius: var(--radius-full);
  background: var(--blue); color: #fff;
  font-size: 0.78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-bottom: 3px solid var(--blue-dark);
}
.weekly-item__content h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 4px; }
.weekly-item__content p  { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Strategy & Trends ────────────────────────── */
.strat-list { display: flex; flex-direction: column; gap: 10px; }
.strat-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--card);
  border-radius: var(--radius-md);
  border: 2px solid var(--border); border-bottom: 4px solid var(--shadow-card);
  transition: transform 0.12s ease, border-bottom-width 0.12s ease;
}
.strat-item:hover { transform: translateY(-2px); border-bottom-width: 5px; }
.strat-item__tag {
  font-size: 0.78rem; font-weight: 800;
  padding: 5px 14px; border-radius: var(--radius-full);
  white-space: nowrap; flex-shrink: 0;
}
.strat-item__tag--sage    { background: var(--blue-dim);    color: var(--blue);    }
.strat-item__tag--blue    { background: var(--blue-dim);    color: var(--blue);    }
.strat-item__tag--violet  { background: var(--purple-dim);  color: var(--purple);  }
.strat-item__tag--purple  { background: var(--purple-dim);  color: var(--purple);  }
.strat-item__tag--orange  { background: var(--orange-dim);  color: var(--orange);  }
.strat-item__tag--sky     { background: var(--sky-dim);     color: var(--sky);     }
.strat-item__tag--emerald { background: var(--emerald-dim); color: var(--emerald); }
.strat-item__tag--red     { background: var(--red-dim);     color: var(--red);     }
.strat-item__tag--teal    { background: var(--teal-dim);    color: var(--teal);    }
.strat-item__desc { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Beyond Analysis (dark section) ──────────── */
.beyond { padding: 80px 0 64px; background: #22223A; }
.beyond__header { max-width: 560px; margin-bottom: 44px; }
.beyond .features__title    { color: #fff; }
.beyond .features__subtitle { color: var(--white-mid); }

.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.hub-item {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 20px 18px 20px 22px;
  border: 2px solid rgba(255, 255, 255, 0.10);
  border-bottom: 4px solid rgba(0, 0, 0, 0.35);
  position: relative; overflow: hidden;
  transition: background var(--ease), transform 0.12s ease;
}
.hub-item:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

.hub-item__accent {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.hub-item__accent--teal   { background: var(--blue);    }
.hub-item__accent--amber  { background: var(--orange);  }
.hub-item__accent--sage   { background: var(--emerald); }
.hub-item__accent--violet { background: var(--purple);  }

.hub-item h4 { font-size: 0.92rem; font-weight: 800; margin-bottom: 6px; color: #fff; }
.hub-item p  { font-size: 0.82rem; color: var(--white-mid); line-height: 1.6; }

/* ── How It Works ─────────────────────────────── */
.how-it-works { padding: 88px 0; background: var(--bg); }
.how-it-works__title    { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.03em; }
.how-it-works__subtitle { font-size: 1.05rem; color: var(--ink-muted); margin-bottom: 52px; line-height: 1.7; font-weight: 500; }

/* Walkthrough */
.walkthrough {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 8px; margin-bottom: 64px;
}
.walkthrough__step { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 240px; }

.walkthrough__phone {
  width: 100%; aspect-ratio: 5 / 5.5;
  background: var(--ink); border-radius: 18px; padding: 4px;
  box-shadow: 0 6px 20px var(--shadow-medium);
  border: 2px solid #555; border-bottom: 4px solid #1a1a1a;
}
.walkthrough__screen {
  width: 100%; height: 100%; background: var(--card);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
}
.walkthrough__screen-title {
  padding: 16px 12px 8px; font-size: 0.82rem; font-weight: 800;
  text-align: center; color: var(--blue);
}
.walkthrough__screen-header {
  padding: 10px 12px 8px; font-size: 0.78rem; font-weight: 800;
  color: #fff; background: var(--blue);
}
.walkthrough__screen-body {
  flex: 1; padding: 10px; display: flex; flex-direction: column;
  gap: 5px; justify-content: center; background: var(--bg);
}
.walkthrough__btn-mock {
  padding: 10px; border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 800; text-align: center;
  border-bottom: 3px solid transparent;
}
.walkthrough__btn-mock--yahoo { background: #6001D2; color: #fff; border-bottom-color: #3A0080; }
.walkthrough__btn-mock--espn  { background: #CC0000; color: #fff; border-bottom-color: #880000; }

.walkthrough__list-item {
  padding: 8px 10px; font-size: 0.68rem; font-weight: 600; color: var(--ink-muted);
  background: var(--card); border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); border-bottom: 2px solid var(--shadow-card);
}
.walkthrough__list-item--active {
  color: var(--blue); font-weight: 800;
  background: var(--blue-dim); border-color: var(--blue-border);
  border-bottom-color: var(--blue-dark);
}

.walkthrough__screen-body:has(.walkthrough__grid-item) {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; align-content: center;
}
.walkthrough__grid-item {
  padding: 6px 2px; font-size: 0.55rem; font-weight: 700; text-align: center;
  color: var(--ink-muted); background: var(--card);
  border-radius: 6px; border: 1.5px solid var(--border); border-bottom: 2px solid var(--shadow-card);
}
.walkthrough__grid-item--active {
  background: var(--blue-dim); color: var(--blue); font-weight: 800;
  border-color: var(--blue-border); border-bottom-color: var(--blue-dark);
}
.walkthrough__result-badge {
  background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 800;
  text-align: center; padding: 8px; border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--blue-dark);
}
.walkthrough__result-row {
  display: flex; justify-content: space-between;
  font-size: 0.68rem; font-weight: 600; color: var(--ink-muted);
  padding: 4px 8px; background: var(--card);
  border-radius: 6px; border: 1.5px solid var(--border);
}
.walkthrough__win  { color: var(--emerald); font-weight: 800; }
.walkthrough__loss { color: var(--red);     font-weight: 800; }

.walkthrough__arrow { color: var(--ink-faint); flex-shrink: 0; padding-top: 56px; }
.walkthrough__label {
  margin-top: 14px; font-size: 0.82rem; font-weight: 700;
  color: var(--ink-muted); text-align: center; line-height: 1.4;
}
.walkthrough__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: var(--radius-full);
  background: var(--blue); color: #fff; font-size: 0.65rem; font-weight: 800;
  margin-right: 6px; vertical-align: middle; border-bottom: 2px solid var(--blue-dark);
}

/* ── Scenario walkthroughs ───────────────────── */
.scenarios { max-width: 1100px; margin: 0 auto; }
.scenarios__heading {
  font-size: 1.8rem; font-weight: 800; text-align: center;
  margin-bottom: 8px; letter-spacing: -0.025em;
}
.scenarios__subheading {
  font-size: 1rem; color: var(--ink-muted); text-align: center;
  margin-bottom: 48px; line-height: 1.6; font-weight: 500;
}
.scenario { margin-bottom: 56px; }
.scenario:last-child { margin-bottom: 0; }
.scenario__label {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--blue); margin-bottom: 20px; text-align: center;
}

.scenario__phone {
  width: 100%; max-width: 260px; aspect-ratio: 5 / 5.5;
  background: var(--ink); border-radius: 18px; padding: 4px;
  box-shadow: 0 6px 20px var(--shadow-medium);
  border: 2px solid #555; border-bottom: 4px solid #1a1a1a;
}
.scenario__screen {
  width: 100%; height: 100%; background: var(--card);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
}
.scenario__screen-header {
  padding: 10px 12px 8px; font-size: 0.78rem; font-weight: 800;
  color: #fff; background: var(--blue);
}
.scenario__screen-body {
  flex: 1; padding: 10px; display: flex; flex-direction: column;
  gap: 5px; justify-content: center; background: var(--bg);
}
.scenario__matchup-badge {
  background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 800;
  text-align: center; padding: 8px; border-radius: var(--radius-sm);
  border-bottom: 2px solid var(--blue-dark);
}

/* Scenario 1: Split */
.scenario-split { display: flex; align-items: center; gap: 40px; }
.scenario-split__phone { flex: 0 0 auto; text-align: center; }
.scenario-split__phone-caption {
  margin-top: 12px; font-size: 0.82rem; color: var(--ink-muted);
  line-height: 1.5; max-width: 220px;
  margin-left: auto; margin-right: auto; font-weight: 500;
}
.scenario-split__cards { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.scenario-split__card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border-radius: var(--radius-lg); padding: 22px 20px;
  border: 2px solid var(--border); border-bottom: 5px solid var(--shadow-card);
  transition: transform 0.12s ease, border-bottom-width 0.12s ease;
}
.scenario-split__card:hover { transform: translateY(-2px); border-bottom-width: 7px; }
.scenario-split__card-num {
  width: 28px; height: 28px; border-radius: var(--radius-full);
  background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-bottom: 2px solid var(--blue-dark);
}
.scenario-split__card-body h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.scenario-split__card-body p  { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 10px; }
.scenario-split__preview { display: flex; flex-wrap: wrap; gap: 6px; }
.scenario-split__tag {
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
  border: 1.5px solid transparent;
}
.scenario-split__tag--start  { background: var(--emerald-dim); color: var(--emerald); border-color: rgba(16,185,129,0.25); }
.scenario-split__tag--sit    { background: var(--red-dim);     color: var(--red);     border-color: rgba(255,75,75,0.25);  }
.scenario-split__tag--pickup { background: var(--blue-dim);    color: var(--blue);    border-color: var(--blue-border);     }

/* Scenario 2: Pipeline */
.scenario-pipeline { display: flex; align-items: stretch; gap: 0; }
.scenario-pipeline__step {
  flex: 1; background: var(--card);
  border: 2px solid var(--border); border-bottom: 5px solid var(--shadow-card);
  border-radius: var(--radius-lg); padding: 24px 20px;
  text-align: center; display: flex; flex-direction: column;
}
.scenario-pipeline__step h4 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.scenario-pipeline__step p  { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 14px; }
.scenario-pipeline__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--blue-dim); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.scenario-pipeline__arrow {
  flex-shrink: 0; color: var(--ink-faint);
  display: flex; align-items: center; padding: 0 10px; padding-top: 48px;
}
.scenario-pipeline__sample {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 12px; text-align: left; margin-top: auto;
}
.scenario-pipeline__badge  { font-size: 0.78rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.scenario-pipeline__detail { font-size: 0.78rem; font-weight: 700; color: var(--ink);  margin-bottom: 2px; }
.scenario-pipeline__impact { font-size: 0.78rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.scenario-pipeline__impact:last-child { margin-bottom: 0; }
.scenario-pipeline__trend     { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.6; }
.scenario-pipeline__trend-up  { color: var(--emerald); font-weight: 800; }
.scenario-pipeline__trend-down{ color: var(--red);     font-weight: 800; }

/* Scenario 3: Checklist */
.scenario-checklist { max-width: 560px; margin: 0 auto; }
.scenario-checklist__item { display: flex; gap: 20px; padding-bottom: 28px; }
.scenario-checklist__item--last { padding-bottom: 0; }
.scenario-checklist__marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.scenario-checklist__num {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--blue); color: #fff; font-size: 0.82rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-bottom: 3px solid var(--blue-dark);
}
.scenario-checklist__line { width: 2px; flex: 1; background: var(--border); margin-top: 8px; }
.scenario-checklist__content { flex: 1; padding-top: 4px; }
.scenario-checklist__content h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.scenario-checklist__content p  { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 12px; }
.scenario-checklist__preview { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.scenario-checklist__cat {
  font-size: 0.78rem; font-weight: 800;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.scenario-checklist__cat--strong { background: var(--emerald-dim); color: var(--emerald); }
.scenario-checklist__cat--weak   { background: var(--red-dim);     color: var(--red);     }
.scenario-checklist__insight {
  font-size: 0.78rem; color: var(--blue); font-weight: 700;
  display: block; width: 100%; margin-top: 4px;
}
.scenario-checklist__pickup {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-muted);
  background: var(--card); border: 1.5px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-full);
}
.scenario-checklist__injury {
  font-size: 0.78rem; color: var(--ink-muted); display: block; width: 100%; line-height: 1.6;
}
.scenario-checklist__pickup-hint {
  font-size: 0.78rem; font-weight: 800; color: var(--emerald);
  display: block; width: 100%; margin-top: 4px;
}

/* ── Data Trust ───────────────────────────────── */
.data-trust { padding: 44px 0 24px; background: var(--bg); }
.data-trust__inner {
  background: var(--card);
  border: 2px solid var(--border); border-bottom: 5px solid var(--shadow-card);
  border-radius: var(--radius-lg); padding: 52px 44px;
}
.data-trust__title { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 36px; letter-spacing: -0.025em; }
.data-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.data-trust__item { text-align: center; }
.data-trust__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--blue-dim); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  border: 2px solid var(--blue-border); border-bottom: 3px solid rgba(21,88,192,0.25);
}
.data-trust__item h4 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.data-trust__item p  { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* ── Pricing Section ─────────────────────────── */
.pricing-section { padding: 64px 0; background: var(--bg); }
.pricing__header { text-align: center; margin-bottom: 40px; }
.pricing__title { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.pricing__subtitle { font-size: 1rem; color: var(--ink-muted); max-width: 520px; margin: 0 auto 24px; line-height: 1.6; }

.pricing__currency-toggle {
  display: inline-flex; background: var(--card); border: 2px solid var(--border);
  border-radius: 12px; padding: 4px; gap: 2px;
}
.pricing__currency-btn {
  padding: 6px 18px; border-radius: 8px; border: none; background: transparent;
  font-family: 'Nunito', sans-serif; font-size: 0.9rem; font-weight: 700;
  color: var(--ink-muted); cursor: pointer; transition: background 0.15s, color 0.15s;
}
.pricing__currency-btn--active {
  background: var(--blue); color: #fff;
}
.pricing__currency-btn:not(.pricing__currency-btn--active):hover {
  background: var(--blue-dim); color: var(--blue);
}

.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.pricing__pack {
  background: var(--card); border: 2px solid var(--border); border-bottom: 5px solid var(--shadow-card);
  border-radius: var(--radius-lg); padding: 24px 20px; position: relative; text-align: center;
}
.pricing__pack-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 3px 12px; border-radius: 20px; white-space: nowrap;
}
.pricing__pack-credits { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.pricing__pack-label { font-size: 0.82rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.pricing__pack-meta { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 16px; line-height: 1.5; }
.pricing__pack-price { font-size: 1.2rem; font-weight: 800; color: var(--blue); }
.pricing__currency-code { font-size: 0.85rem; font-weight: 700; }

.pricing__sub { margin-bottom: 24px; }
.pricing__sub-inner {
  background: var(--card); border: 2px solid var(--blue-border); border-bottom: 5px solid var(--blue-shadow);
  border-radius: var(--radius-lg); padding: 28px 32px;
}
.pricing__sub-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.pricing__sub-price { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.pricing__sub-perks { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.pricing__sub-perks span { font-size: 0.9rem; color: var(--ink-muted); }
.pricing__sub-renew { font-size: 0.8rem; color: var(--ink-faint); margin: 0; }

.pricing__legal {
  font-size: 0.77rem; color: var(--ink-faint); text-align: center;
  max-width: 640px; margin: 0 auto; line-height: 1.6;
}

@media (max-width: 768px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__sub-perks { flex-direction: column; gap: 6px; }
  .pricing__sub-inner { padding: 20px; }
}

/* ── CTA Section ──────────────────────────────── */
.cta-section { padding: 44px 0 88px; background: var(--bg); }
.cta-section__inner {
  background: var(--blue); color: #fff;
  border-radius: var(--radius-lg); padding: 64px 44px; text-align: center;
  border: 2px solid var(--blue); border-bottom: 6px solid var(--blue-dark);
  position: relative; overflow: hidden;
}
.cta-section__inner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.cta-section__inner h2 {
  font-size: 2.2rem; font-weight: 800; color: #fff;
  margin-bottom: 14px; letter-spacing: -0.03em; position: relative;
}
.cta-section__inner p {
  font-size: 1rem; opacity: 0.85; margin-bottom: 32px;
  max-width: 400px; margin-left: auto; margin-right: auto;
  font-weight: 500; position: relative;
}
.cta-section__inner .btn--primary {
  background: #fff; color: var(--blue);
  border-bottom-color: var(--border); position: relative;
}
.cta-section__inner .btn--primary:hover { background: #f0f0f0; color: var(--blue); }
.cta-section__url { margin-top: 1.2rem; }
.cta-section__url a {
  font-size: 1.3rem; font-weight: 800; color: #fff;
  text-decoration: none; border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 2px; transition: border-color var(--ease);
}
.cta-section__url a:hover { border-bottom-color: #fff; }

/* ── Footer ───────────────────────────────────── */
.footer { background: #22223A; color: var(--white-mid); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__logo-icon { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.footer__brand-text { font-size: 1rem; font-weight: 800; color: #fff; }
.footer__tagline { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer__heading {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.10em; color: var(--white-heading); margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: var(--white-link); font-size: 0.88rem; transition: color var(--ease); }
.footer__links a:hover { color: var(--white-high); }
.footer__bottom {
  border-top: 1px solid var(--white-border); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: var(--white-low); font-size: 0.82rem; }
.footer__bottom-links a:hover { color: var(--white-heading); }

/* ── Error & Legal ────────────────────────────── */
.error-page {
  padding: calc(var(--nav-height) + 80px) 0 120px;
  min-height: calc(100vh - 200px); display: flex; align-items: center;
}
.error-page__inner { text-align: center; max-width: 480px; margin: 0 auto; }
.error-page__code  { font-size: 8rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 8px; opacity: 0.3; }
.error-page__title { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; }
.error-page__desc  { font-size: 1.1rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 32px; }

.legal { padding: calc(var(--nav-height) + 48px) 0 80px; }
.legal h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.legal .legal__updated { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; font-weight: 800; margin-top: 40px; margin-bottom: 16px; color: var(--blue); }
.legal h3 { font-size: 1.125rem; font-weight: 700; margin-top: 24px; margin-bottom: 12px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.8; color: var(--ink-muted); }
.legal ul, .legal ol { padding-left: 24px; margin: 12px 0; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 8px; }
.legal a  { text-decoration: underline; }

/* ── Scroll Reveal ────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.stagger-item { opacity: 0; transform: translateY(24px); transition: opacity 0.4s ease, transform 0.4s ease; }
.stagger-item.is-visible { opacity: 1; transform: translateY(0); }

/* ── Animations ───────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes gradientGlow {
  0%, 100% { opacity: 0.14; transform: scale(1); }
  50%       { opacity: 0.22; transform: scale(1.12); }
}
@keyframes appear {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__split { flex-direction: column; gap: 40px; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__app-link { text-align: center; }
  .hero__mockup { flex: none; }
  .hero__stats { justify-content: center; }
  .features__header { margin-left: auto; margin-right: auto; text-align: center; }
  .core-features { grid-template-columns: 1fr; }
  .weekly-strip__items { grid-template-columns: 1fr 1fr; }
  .walkthrough { flex-wrap: wrap; gap: 24px 8px; }
  .walkthrough__arrow { display: none; }
  .walkthrough__step { flex: 0 0 calc(50% - 20px); max-width: none; }
  .scenario-split { flex-direction: column; gap: 24px; }
  .data-trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-height) + 80px) 0 56px; }
  .hero__title { font-size: 2.4rem; }
  .features { padding: 56px 0 40px; }
  .features__title { font-size: 2rem; }
  .how-it-works { padding: 56px 0; }
  .how-it-works__title { font-size: 2rem; }
  .beta-banner { font-size: 0.78rem; padding: 6px 12px; }
  .nav__links {
    position: fixed; top: calc(var(--nav-height) + 36px); left: 0; right: 0; bottom: 0;
    background: var(--card); flex-direction: column;
    padding: 16px; gap: 4px; border-top: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease; z-index: 999;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__links a { padding: 12px 16px; font-size: 1rem; }
  .nav__cta { text-align: center; margin-top: 8px; }
  .nav__hamburger { display: block; }
  .data-trust__inner { padding: 36px 24px; }
  .data-trust__title { font-size: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-section__inner { padding: 44px 24px; }
  .cta-section__inner h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .weekly-strip__items { grid-template-columns: 1fr; }
  .weekly-strip { padding: 24px 20px; }
  .hub-grid { grid-template-columns: 1fr; }
  .strat-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .walkthrough__step { flex: 0 0 100%; }
  .scenario-pipeline { flex-direction: column; gap: 16px; }
  .scenario-pipeline__arrow { padding: 0; justify-content: center; transform: rotate(90deg); }
  .scenario-pipeline__step { text-align: left; }
  .scenario-pipeline__icon { margin: 0 0 12px 0; }
  .data-trust__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem; }
  .container { padding: 0 16px; }
  .btn--large { padding: 13px 26px; font-size: 0.95rem; }
  .phone { width: 200px; height: 270px; border-radius: 22px; padding: 4px; }
  .phone__header { padding: 18px 12px 8px; font-size: 0.78rem; }
  .hero__stats { gap: 18px; }
}
