/* ==========================================================
   FIELD & TRACK AI — Design System
   Ported from the iOS app's DesignSystem.swift.
   - SF Pro system type
   - 48 ultraLight / 34 light / 22 medium / 17 semibold / 16 regular / 13 / 12 label
   - Warm cream background (#FDFAF7 → #F7F4F1)
   - Accent gradient #7258F2 → #8C72FF
   - 12px button radius, 16px card radius (NOT pill shapes)
   ========================================================== */

:root {
  /* Accent (from DesignSystem.swift:11-19) */
  --purple: #7258F2;
  --purple-light-2: #8C72FF;            /* gradient partner */
  --purple-deep: #5A40D8;                /* derived darker shade for hover */
  --purple-dark: #3D2BA8;
  --purple-tint: rgba(114, 88, 242, 0.15);   /* accentLight */
  --purple-softest: rgba(114, 88, 242, 0.06);
  --purple-glow: rgba(114, 88, 242, 0.35);
  --purple-accent-secondary: #8D8CFF;    /* accentSecondary */

  /* Yellow kept for CTAs (not in app; used on dark sections only) */
  --yellow: #FFC43D;
  --yellow-dark: #E8A81F;

  /* Text (from DesignSystem.swift textPrimary/Secondary/Tertiary) */
  --text: #1A1A1A;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --text-disabled: #888888;

  /* Neutrals */
  --black: #0D0D0D;
  --ink: #1A1A1A;
  --charcoal: #2A2A2A;

  /* Warm cream surfaces (backgroundGradient) */
  --bg-top: #FDFAF7;
  --bg-bot: #F7F4F1;
  --surface: #FFFFFF;                    /* cards */
  --surface-2: #FAF7F4;                  /* section-alt — slightly deeper cream */
  --surface-3: #F1EDE8;
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.06);
  --divider: rgba(0, 0, 0, 0.06);

  /* Status (DesignSystem.swift:52-60) */
  --success: #33A573;
  --warning: #F29933;
  --danger: #E64D4D;

  /* Fonts —
     --font-sans    : SF Pro (Apple) / Inter fallback. Body copy, labels, UI.
     --font-display : Archivo Black — the heavy display face used in the
                      App Store marketing screenshots (Reach Your Goals,
                      Endure / Thrive pills). Use for H1/H2 + marketing pills.
     --font-rounded : SF Pro Rounded. Reserved for numeric accents (scores).
  */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: 'Archivo Black', 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-rounded: ui-rounded, -apple-system, 'SF Pro Rounded', 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --container-narrow: 880px;

  /* Radii (DesignSystem.swift:172-177) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;                  /* legacy only — prefer --radius-md */

  /* Spacing (DesignSystem.swift:127-135) */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-hero: 64px;

  /* Shadows (DesignSystem.swift:164-168) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);                   /* subtle */
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);                  /* card */
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);                  /* elevated */
  --shadow-purple: 0 8px 24px rgba(114, 88, 242, 0.30);         /* accent @ 30% like CTA */
  --shadow-phone: 0 30px 80px rgba(20, 10, 80, 0.22), 0 10px 30px rgba(0, 0, 0, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: all 0.25s var(--ease);

  /* Gradients */
  --accent-gradient: linear-gradient(135deg, #7258F2 0%, #8C72FF 100%);
  --bg-gradient: linear-gradient(180deg, #FDFAF7 0%, #F7F4F1 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 16px;
  line-height: 1.625;                    /* body 16 + 4pt lineSpacing from app */
  background: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* =========== TYPE SCALE =========== */
/* Matches app exactly:
   Hero       48pt ultraLight -1.5 tracking → 3rem   weight 100  tracking -0.031em
   LargeTitle 34pt light      -0.5 tracking → 2.125  weight 300  tracking -0.015em
   Title      22pt medium     -0.3 tracking → 1.375  weight 500  tracking -0.014em
   Headline   17pt semibold                 → 1.0625 weight 600
   Body       16pt regular +4 lineSpacing   → 1rem   weight 400  line-height 1.625
   Caption    13pt regular                  → 0.8125 weight 400
   Label      12pt medium +0.5 uppercase    → 0.75   weight 500  tracking 0.042em
*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: none;
}
/* H1 + H2 use Archivo Black — the heavy display face used in the
   App Store marketing art (TRACK & FIELD AI, REACH YOUR GOALS).
   Archivo Black ships as a single weight (900); the font-weight
   below matches the fallback (Inter Black) so the look holds before
   Archivo Black finishes loading. */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.96;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.018em;
  line-height: 1;
}
/* H3+ keep SF Pro — they're subheads / UI type, not marketing display */
h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.375rem);
  font-weight: 500;                       /* medium, 22pt Title app spec */
  letter-spacing: -0.014em;
  line-height: 1.18;
}
h4 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;                   /* 17pt Headline */
  font-weight: 600;                       /* semibold */
  letter-spacing: -0.005em;
  line-height: 1.3;
}
h5 { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
h6 { font-size: 0.875rem; font-weight: 600; }
p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.625;
}
.caption, small { font-size: 0.8125rem; color: var(--text-secondary); }
strong { color: var(--text-primary); font-weight: 600; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--surface-2); }
.section-purple { background: var(--accent-gradient); color: #FFFFFF; }
.section-purple h1, .section-purple h2, .section-purple h3, .section-purple h4 { color: #FFFFFF; }
.section-purple p { color: rgba(255, 255, 255, 0.88); }
.section-dark { background: var(--black); color: #FFFFFF; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark p { color: rgba(255, 255, 255, 0.7); }

.text-center { text-align: center; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.0625rem;                  /* Headline size, per-app hierarchy */
  line-height: 1.55;
  font-style: normal;
  font-family: var(--font-sans);
  color: var(--text-secondary);
}

/* Label — matches app's .label (12pt medium, +0.5 tracking, uppercase) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.75rem;                    /* 12pt */
  font-weight: 500;                       /* medium */
  letter-spacing: 0.042em;                /* +0.5pt at 12 */
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-tint);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.eyebrow-dark { color: #FFFFFF; background: rgba(255, 255, 255, 0.16); }

/* Yellow accent pill (Endure / Thrive in App Store screenshots).
   Uses the heavy display face to match the marketing art exactly. */
.yellow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--black);
  background: var(--yellow);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* =========== BUTTONS — app spec (12px radius, 16pt semibold) =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;                     /* app uses 16v × horizontal flexible */
  border-radius: var(--radius-md);        /* 12px — NOT pill */
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;                       /* semibold, app spec */
  font-size: 1rem;                        /* 16pt */
  letter-spacing: -0.005em;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }   /* matches PressableButtonStyle */
.btn-lg { padding: 18px 28px; font-size: 1.0625rem; }
.btn-primary { background: var(--purple); color: #FFFFFF; box-shadow: var(--shadow-purple); }
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); }
.btn-purple { background: var(--purple); color: #FFFFFF; box-shadow: var(--shadow-purple); }
.btn-purple:hover { background: var(--purple-deep); transform: translateY(-1px); }
.btn-secondary, .btn-outline { background: var(--purple-tint); color: var(--purple); border-color: transparent; }
.btn-secondary:hover, .btn-outline:hover { background: rgba(114, 88, 242, 0.22); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-white { background: #FFFFFF; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--surface-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.3); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost { background: transparent; color: var(--text-secondary); font-weight: 500; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text-primary); }

.btn-group { display: inline-flex; gap: 12px; flex-wrap: wrap; }

.app-store-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--black);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 190px;
}
.app-store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.app-store-badge svg { flex-shrink: 0; }
.app-store-badge .label { font-size: 0.72rem; opacity: 0.78; line-height: 1; letter-spacing: 0.04em; }
.app-store-badge .store { font-size: 1.18rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; font-style: normal; font-family: var(--font-sans); }

/* =========== HEADER — Giant Masthead =========== */
.header.gm-hdr {
  position: relative;                  /* NOT sticky — masthead scrolls away */
  background: #FDFAF7;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* --- Logo (used only in footer + mobile nav now) --- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  line-height: 0;
  text-decoration: none;
}
.logo img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: block;
  transition: transform 0.25s var(--ease);
}
.logo:hover img { transform: scale(1.04); }
.logo .logo-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text-primary);
}
.footer-brand .logo img { width: 56px; height: 56px; border-radius: 12px; }
.footer-brand .logo .logo-wordmark { font-size: 1.2rem; }

/* --- Row 1: utility strip --- */
.gm-top {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px 0;
  gap: 20px;
}
.gm-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.gm-mini img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.gm-mini-text {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}
.gm-top-nav { display: flex; gap: 18px; align-items: center; }
.gm-top-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s var(--ease);
}
.gm-top-link:hover { color: var(--purple); }
.gm-top-cta {
  padding: 8px 16px;
  background: var(--text-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.18s var(--ease);
}
.gm-top-cta:hover { background: var(--purple); }

/* --- Row 2: giant Archivo Black wordmark --- */
.gm-wordmark {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-align: center;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.gm-wordmark:hover { color: var(--purple); }

/* --- Row 3: dark rail with distributed nav --- */
.gm-rail {
  background: #0D0D0D;
  position: relative;
}
.gm-rail-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;        /* distribute across the bar */
  gap: 16px;
  padding: 14px 40px;
  flex-wrap: wrap;
}
.gm-rail-item { position: relative; display: inline-flex; }
.gm-rail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s var(--ease);
}
.gm-rail-link:hover { color: var(--yellow); }
.gm-rail-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.gm-rail-link:hover::after { transform: scaleX(1); }
.gm-rail-chev {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}
.gm-has-mega:hover .gm-rail-chev,
.gm-has-mega:focus-within .gm-rail-chev { transform: rotate(180deg); }

/* --- Events mega-menu — drops beneath the rail --- */
.gm-mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(880px, calc(100vw - 48px));
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 120;
}
.gm-mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 16px;
}
.gm-has-mega:hover .gm-mega,
.gm-has-mega:focus-within .gm-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.gm-mega-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 24px;
}
.gm-mega-col-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  padding: 0 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-light);
}
.gm-mega-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.16s var(--ease);
}
.gm-mega-card:hover { background: var(--surface-2); }
.gm-mega-card:hover .gm-mega-title { color: var(--purple); }
.gm-mega-thumb {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0D0D0D;
  box-shadow: var(--shadow-sm);
}
.gm-mega-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm-mega-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.16s var(--ease);
}
.gm-mega-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.2;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.hamburger:hover { background: var(--surface-2); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Responsive: below 900px, collapse the rail + top-nav into mobile menu --- */
@media (max-width: 900px) {
  .gm-top-nav { display: none; }
  .gm-hamb { display: flex; }
  .gm-rail { display: none; }
  .gm-wordmark { font-size: clamp(2.2rem, 11vw, 3.6rem); padding: 10px 20px 16px; }
  .gm-top { padding: 14px 20px 0; }
  .gm-mini-text { display: none; }
}

/* --- Compact sticky bar — slides in after scrolling past the masthead --- */
.gm-compact {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: #0D0D0D;
  border-bottom: 2px solid var(--yellow);
  transform: translateY(-100%);
  transition: transform 0.28s var(--ease);
  pointer-events: none;
  visibility: hidden;
}
.gm-compact.is-visible {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.gm-compact-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 24px;
  min-height: 56px;
}
.gm-compact-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  flex: 0 0 auto;
}
.gm-compact-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
}
.gm-compact-brand span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.gm-compact-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: 8px;
}
.gm-compact-link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.gm-compact-link:hover { color: var(--yellow); }
.gm-compact-cta {
  padding: 8px 16px;
  background: var(--yellow);
  color: #0D0D0D;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.18s var(--ease);
  flex: 0 0 auto;
}
.gm-compact-cta:hover { background: #FFFFFF; }
.gm-compact-hamb { display: none; }
.gm-compact-hamb span { background: #FFFFFF; }

@media (max-width: 900px) {
  .gm-compact-nav { display: none; }
  .gm-compact-cta { display: none; }
  .gm-compact-hamb { display: flex; margin-left: auto; }
}

/* =========== MOBILE NAV (slide-in) =========== */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: 92%;
  max-width: 420px;
  background: #FFFFFF;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  z-index: 1;
}
.mobile-nav-header .logo span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.0625rem;
  color: var(--text-primary);
}
.mobile-nav-close {
  padding: 8px 12px;
  font-size: 1.5rem;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.mobile-nav-close:hover { background: var(--surface-2); color: var(--text-primary); }

.mnav-body {
  display: flex;
  flex-direction: column;
  padding: 14px 20px 32px;
  gap: 2px;
}
.mnav-primary {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.16s var(--ease);
}
.mnav-primary:hover, .mnav-primary:active { background: var(--surface-2); }
.mnav-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  padding: 18px 12px 8px;
}
.mnav-event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}
.mnav-event {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0D0D0D;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.mnav-event img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mnav-event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.mnav-event span {
  position: absolute;
  left: 12px; bottom: 10px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  z-index: 1;
}
.mnav-cta {
  margin-top: 20px;
  justify-content: center;
}
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150; opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* =========== HERO — matches iOS app accent gradient =========== */
.hero-purple {
  position: relative;
  background: var(--accent-gradient);
  color: #FFFFFF;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero-purple::before {
  /* subtle orb like the app's accent surfaces */
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  z-index: 0;
}
.hero-purple::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  z-index: 0;
}
.hero-purple .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-purple h1 {
  color: #FFFFFF;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.92;                      /* tight stack like the App Store art */
  letter-spacing: -0.018em;               /* Archivo Black is already tight; don't over-crush */
  text-transform: none;
}
.hero-purple h1 .highlight {
  display: inline-block;
  color: var(--yellow);
}
.hero-purple .hero-lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 560px;
  font-family: var(--font-sans);
  font-style: normal;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust-item svg { color: var(--yellow); width: 18px; height: 18px; }

/* Phone screenshot container */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone-img {
  max-width: 380px;
  width: 100%;
  border-radius: 42px;
  box-shadow: var(--shadow-phone);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
}
.hero-phone-wrap:hover .hero-phone-img { transform: rotate(0deg) translateY(-4px); }
.hero-phone-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

/* Light hero (for pages other than homepage) */
.page-header {
  background: var(--accent-gradient);
  color: #FFFFFF;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.page-header::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -40px;
  width: 180px; height: 180px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #FFFFFF; margin-bottom: 18px; }
.page-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-style: normal;
}
.page-header .eyebrow { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.page-header .breadcrumbs { color: rgba(255, 255, 255, 0.75); margin-bottom: 22px; font-family: var(--font-sans); font-style: normal; }
.page-header .breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.page-header .breadcrumbs a:hover { color: var(--yellow); }

/* =========== FEATURES =========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-tint);
  color: var(--purple-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 24px; height: 24px; stroke-width: 2.25; }
.feature-card h3 { margin-bottom: 12px; letter-spacing: -0.01em; }
.feature-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  font-family: var(--font-sans);
  font-style: normal;
}

/* =========== STEPS / HOW IT WORKS =========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--purple);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 600;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-purple);
}
.step h3 { margin-bottom: 12px; }
.step p { font-family: var(--font-sans); font-style: normal; font-size: 0.98rem; }

/* =========== EVENT CARDS =========== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.event-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-card::after {
  content: "→";
  position: absolute;
  top: 26px; right: 26px;
  color: var(--text-tertiary);
  transition: var(--transition);
  font-family: var(--font-sans);
  font-style: normal;
}
.event-card:hover::after { color: var(--purple); transform: translateX(4px); }
.event-card .event-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-tint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.event-card .event-icon svg { width: 22px; height: 22px; color: var(--purple-deep); }
.event-card h4 { margin: 0; }
.event-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  font-family: var(--font-sans);
  font-style: normal;
}

/* =========== PRICING =========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: transparent;
  background: var(--purple);
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: var(--shadow-purple);
}
.price-card.featured h3,
.price-card.featured .price { color: #FFFFFF; }
.price-card.featured p,
.price-card.featured .price-period,
.price-card.featured .plan-desc,
.price-card.featured .price-note,
.price-card.featured li { color: rgba(255, 255, 255, 0.85); }
.price-card.featured .feat-check { color: var(--yellow); }
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-style: normal;
}
.price-card h3 { margin-bottom: 10px; }
.price-card .plan-desc { font-size: 0.92rem; margin-bottom: 22px; font-family: var(--font-sans); font-style: normal; color: var(--text-secondary); }
.price {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}
.price-period { font-size: 0.95rem; color: var(--text-secondary); margin-left: 4px; font-family: var(--font-sans); font-style: normal; font-weight: 500; }
.price-note { font-size: 0.85rem; margin: 8px 0 26px; color: var(--text-tertiary); font-family: var(--font-sans); font-style: normal; }
.price-features { list-style: none; margin-bottom: 30px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-style: normal;
}
.feat-check { color: var(--purple); flex-shrink: 0; margin-top: 2px; }

/* =========== TESTIMONIALS =========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--purple-softest);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--purple-tint);
}
.testimonial-stars { color: var(--yellow); margin-bottom: 16px; letter-spacing: 0.1em; font-size: 1.05rem; }
.testimonial-quote {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
}
.testimonial-author { font-size: 0.9rem; color: var(--text-secondary); font-family: var(--font-sans); font-style: normal; }
.testimonial-author strong { color: var(--text); font-weight: 700; }

/* =========== FAQ =========== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 24px 28px;
  cursor: pointer;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--purple);
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 300;
  transition: var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-sans);
  font-style: normal;
}

/* =========== CTA BANNER — purple =========== */
.cta-banner {
  background: var(--purple);
  border-radius: var(--radius-xl);
  padding: 90px 60px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: var(--purple-deep);
  border-radius: 50%;
  opacity: 0.45;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -40px;
  width: 180px; height: 180px;
  background: var(--purple-dark);
  border-radius: 50%;
  opacity: 0.35;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #FFFFFF; margin-bottom: 18px; }
.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 30px;
  font-family: var(--font-sans);
  font-style: normal;
}

/* =========== SPLIT (value prop sections) =========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split p {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.split-screenshot {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.split-screenshot::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--purple-tint);
  border-radius: var(--radius-xl);
  z-index: 0;
}
.split-screenshot img {
  position: relative;
  z-index: 1;
  max-width: 340px;
  width: 100%;
  border-radius: 38px;
  box-shadow: var(--shadow-phone);
}

/* =========== ANALYSIS SHOWCASE, "Personalized Analysis" section =========== */
.analysis-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  position: relative;
  padding: 20px 0;
}
.analysis-showcase::before {
  /* Soft accent glow behind the card, replaces the boxy tinted rectangle */
  content: "";
  position: absolute;
  top: -20px; bottom: -20px; left: 20%; right: 20%;
  background: radial-gradient(ellipse at center, rgba(114,88,242,0.18) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* --- Main analysis card --- */
.ac-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  transform: rotate(-1.5deg);
  transition: transform 0.35s var(--ease);
}
.ac-card:hover { transform: rotate(0deg) translateY(-3px); }

.ac-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ac-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* --- Priority pills --- */
.ac-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.ac-pill--critical { background: #FEE2E2; color: #B91C1C; }
.ac-pill--important { background: #FFEDD5; color: #C2410C; }
.ac-pill--minor { background: var(--purple-tint); color: var(--purple-deep); }

/* --- Video frame mock --- */
.ac-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0D0D0D;
  margin-bottom: 14px;
}
.ac-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.ac-frame-event {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* --- Body text --- */
.ac-body { padding: 0 2px; }
.ac-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.ac-note {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* --- Drill callout inside card --- */
.ac-drill {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  align-items: flex-start;
}
.ac-drill-label {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  padding-top: 2px;
}
.ac-drill-body {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-primary);
}

/* --- Legend chip row below the card --- */
.ac-legend {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transform: rotate(1deg);
  transition: transform 0.35s var(--ease);
}
.ac-legend:hover { transform: rotate(0deg); }
.ac-legend-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-right: 4px;
}

@media (max-width: 720px) {
  .ac-card { transform: none; }
  .ac-legend { transform: none; flex-wrap: wrap; justify-content: center; }
}

/* =========== HOW IT WORKS — editorial timeline =========== */
.how-it-works { padding-bottom: 120px; }
.hiw-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
}
.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hiw-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hiw-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--purple);
}
.hiw-visual {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.hiw-visual--film { background: #0D0D0D; }
.hiw-visual--upload { background: linear-gradient(135deg, var(--purple-tint) 0%, rgba(255,196,61,0.12) 100%); }
.hiw-visual--improve { background: var(--surface-2); }

/* step 1 viewfinder mock */
.hiw-phone-frame { position: absolute; inset: 14px; border: 2px solid rgba(255,255,255,0.2); border-radius: 10px; }
.hiw-viewfinder { position: absolute; inset: 10px; display: flex; align-items: flex-start; justify-content: space-between; padding: 10px; }
.hiw-rec {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 900; font-size: 0.7rem;
  color: #FFFFFF; letter-spacing: 0.1em;
  background: rgba(230,77,77,0.22);
  padding: 5px 10px; border-radius: 999px;
}
.hiw-rec-dot { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; animation: hiw-pulse 1.4s ease-in-out infinite; }
@keyframes hiw-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hiw-crosshairs {
  position: absolute; inset: 40%;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 4px;
}
.hiw-crosshairs::before, .hiw-crosshairs::after {
  content: ""; position: absolute; background: rgba(255,255,255,0.6);
}
.hiw-crosshairs::before { left: 50%; top: -8px; bottom: -8px; width: 1px; transform: translateX(-50%); }
.hiw-crosshairs::after { top: 50%; left: -8px; right: -8px; height: 1px; transform: translateY(-50%); }

/* step 2 upload card */
.hiw-upload-card {
  position: absolute; inset: 14px;
  background: #FFFFFF; border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.hiw-upload-badge {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px; border-radius: 6px;
  background: var(--text-primary); color: #FFFFFF;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.7rem;
}
.hiw-progress { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.hiw-progress-fill { height: 100%; width: 80%; background: var(--accent-gradient); border-radius: 3px; }
.hiw-upload-meta { font-family: var(--font-sans); font-size: 0.7rem; color: var(--text-tertiary); }

/* step 3 coaching note card */
.hiw-note-card {
  position: absolute; inset: 14px;
  background: #FFFFFF; border-radius: 10px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.hiw-note-pill {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px; border-radius: 6px;
  background: #FEE2E2; color: #B91C1C;
  font-family: var(--font-display); font-weight: 900; font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hiw-note-text { font-family: var(--font-sans); font-size: 0.78rem; color: var(--text-primary); line-height: 1.4; }
.hiw-note-foot {
  font-family: var(--font-sans); font-size: 0.66rem;
  color: var(--purple); font-weight: 600;
  padding-top: 6px; border-top: 1px solid var(--border-light);
  letter-spacing: 0.04em; text-transform: uppercase;
}

.hiw-body h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.018em;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: none;
}
.hiw-body p { font-size: 0.95rem; line-height: 1.55; color: var(--text-secondary); }

.hiw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--text-tertiary);
  opacity: 0.5;
}

@media (max-width: 960px) {
  .hiw-flow { grid-template-columns: 1fr; gap: 12px; }
  .hiw-connector { transform: rotate(90deg); padding: 4px 0; }
}

/* =========== REACH YOUR GOALS — goal ladder =========== */
.goals-lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 440px;
  margin-bottom: 32px;
}
.goals-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.goals-stat { display: flex; flex-direction: column; gap: 4px; }
.goals-stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.goals-stat-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.goal-ladder {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0;
}
.goal-tier {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "pill    pill   meta"
    "title   title  title"
    "body    body   body";
  gap: 10px;
  transition: transform 0.3s var(--ease);
}
.goal-tier:hover { transform: translateY(-2px) translateX(2px); }
.goal-tier-pill {
  grid-area: pill;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  line-height: 1;
  justify-self: start;
}
.goal-tier-meta {
  grid-area: meta;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  align-self: center;
}
.goal-tier-title,
.section-purple .goal-tier-title {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);                /* dark text on the white card, override section-purple */
  text-transform: none;
}
.goal-tier-body,
.section-purple .goal-tier-body {
  grid-area: body;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);              /* override section-purple's white <p> */
}
/* Offsets for visual tier feel */
.goal-tier--endure { margin-right: 32px; }
.goal-tier--adapt { margin-left: 16px; margin-right: 16px; }
.goal-tier--thrive { margin-left: 32px; }
.goal-tier--thrive .goal-tier-pill { background: var(--yellow); box-shadow: 0 4px 14px rgba(255,196,61,0.4); }

@media (max-width: 720px) {
  .goal-tier--endure, .goal-tier--adapt, .goal-tier--thrive { margin-left: 0; margin-right: 0; }
  .goals-stats { gap: 20px; }
  .goals-stat-num { font-size: 1.6rem; }
}

/* =========== EVENTS HEADER (discipline section) =========== */
.events-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.events-header-copy { max-width: 640px; }
.events-header-copy .eyebrow { margin-bottom: 14px; }
.events-header-copy h2 { margin-bottom: 12px; }
.events-header-copy p { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.55; max-width: 560px; }
.events-header-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.events-header-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--purple);
}
.events-header-lbl {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* Replace old discipline-head with numbered treatment */
.discipline-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.discipline-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--purple);
}
.discipline-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.discipline-head-text .discipline-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.018em;
  line-height: 1;
  color: var(--text-primary);
  padding: 0;
}
.discipline-head-text .discipline-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-left: 0;
}
.discipline-count {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: var(--surface-2);
  padding: 6px 12px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .events-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .discipline-head { grid-template-columns: auto 1fr; gap: 14px; }
  .discipline-count { display: none; }
  .discipline-num { font-size: 1.75rem; }
}

/* =========== FEATURES — bento grid =========== */
.features-section { padding-bottom: 120px; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.bento-eyebrow {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}
.bento-eyebrow--dark { color: var(--yellow); }
.bento-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--text-primary);
  text-transform: none;
  margin: 0;
}
.bento-body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Card 1: hero, wide & dark with photo background */
.bento-card--hero {
  grid-column: span 4;
  grid-row: span 2;
  background: #0D0D0D;
  color: #FFFFFF;
  border-color: transparent;
  min-height: 360px;
}
.bento-card--hero .bento-title { color: #FFFFFF; font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.bento-card--hero .bento-body { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 520px; }
.bento-card--hero .bento-eyebrow { color: var(--yellow); }
.bento-card-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/pole-vault-plant.png');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: saturate(1.1);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.bento-card--hero:hover .bento-card-bg { opacity: 0.36; transform: scale(1.04); }
.bento-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  justify-content: space-between;
}
.bento-cta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--yellow);
  letter-spacing: 0.02em;
}

/* Card 2: phases */
.bento-card--phases { grid-column: span 2; grid-row: span 2; }
.bento-phase-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}
.bento-phase-chip {
  padding: 7px 11px;
  background: var(--surface-2);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.bento-phase-chip--active {
  background: var(--purple);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(114,88,242,0.35);
}

/* Card 3: chat */
.bento-card--chat { grid-column: span 2; }
.bento-chat {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-chat-bubble {
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--surface-2);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-primary);
  align-self: flex-start;
  max-width: 90%;
}
.bento-chat-bubble--ai {
  background: var(--purple);
  color: #FFFFFF;
  border-radius: 12px 12px 4px 12px;
  align-self: flex-end;
}

/* Card 4: yellow, wide */
.bento-card--yellow {
  grid-column: span 4;
  background: var(--yellow);
  border-color: transparent;
}
.bento-card--yellow .bento-eyebrow { color: #0D0D0D; opacity: 0.7; }
.bento-card--yellow .bento-body { color: rgba(13,13,13,0.78); }
.bento-event-row {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.bento-event-row img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.bento-event-more {
  padding: 0 12px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(13,13,13,0.1);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: #0D0D0D;
}

/* Card 5: offline history */
.bento-card--offline { grid-column: span 2; }
.bento-history {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-history-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 0.78rem;
}
.bento-history-date { font-weight: 600; color: var(--text-tertiary); min-width: 52px; }
.bento-history-event { color: var(--text-primary); font-weight: 500; }

/* Card 6: private, dark */
.bento-card--private {
  grid-column: span 4;
  background: #0D0D0D;
  color: #FFFFFF;
  border-color: transparent;
}
.bento-card--private .bento-title { color: #FFFFFF; }
.bento-card--private .bento-body { color: rgba(255,255,255,0.72); }
.bento-lock {
  margin-top: auto;
  color: var(--yellow);
  align-self: flex-end;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card--hero,
  .bento-card--yellow,
  .bento-card--private { grid-column: span 2; grid-row: span 1; }
  .bento-card--phases,
  .bento-card--chat,
  .bento-card--offline { grid-column: span 1; grid-row: span 1; }
  .bento-card--hero { min-height: 280px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card,
  .bento-card--hero,
  .bento-card--yellow,
  .bento-card--private,
  .bento-card--phases,
  .bento-card--chat,
  .bento-card--offline { grid-column: span 1; }
}
.split-visual {
  aspect-ratio: 4 / 5;
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.split-visual::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  z-index: 1;
}
.split-visual.has-image { background: #0D0D0D; }
.split-visual.has-image::before { display: none; }

/* =========== COMMON MISTAKES — event hubs =========== */
.mistakes-section .section-header { margin-bottom: 40px; }
.mistake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mistake-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.mistake-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mistake-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--purple);
}
.mistake-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--text-primary);
  text-transform: none;
}
.mistake-row { display: flex; flex-direction: column; gap: 4px; }
.mistake-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.mistake-row p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
@media (max-width: 900px) { .mistake-grid { grid-template-columns: 1fr; } }

/* Real-athletes editorial photo block on event hubs */
.real-athletes-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: #0D0D0D;
}
.real-athletes-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========== EVENTS BY DISCIPLINE — home page =========== */
.events-by-discipline .discipline + .discipline { margin-top: 56px; }

.discipline-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.discipline-title {
  font-family: var(--font-display);
  font-weight: 500;                       /* Title — app spec */
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.014em;
  color: var(--text-primary);
}
.discipline-meta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;                   /* Caption */
  color: var(--text-tertiary);
  letter-spacing: 0;
  margin-left: auto;
}

.discipline-grid {
  display: grid;
  gap: 16px;
}
.discipline-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.discipline-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.event-photo-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;                    /* less towering than 4:5, feels calmer */
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0D0D0D;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  isolation: isolate;
}
.event-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  z-index: 0;
}
.event-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0) 40%, rgba(13,13,13,0.35) 65%, rgba(13,13,13,0.82) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.28s var(--ease);
}
.event-photo-meta {
  position: absolute;
  left: 18px;
  right: 54px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #FFFFFF;
}
.event-photo-label {
  font-family: var(--font-display);
  font-weight: 500;                       /* Title weight */
  font-size: 1.25rem;
  letter-spacing: -0.014em;
  line-height: 1.1;
}
.event-photo-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.event-photo-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(4px);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}
.event-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.event-photo-card:hover img { transform: scale(1.055); }
.event-photo-card:hover::after {
  background: linear-gradient(180deg, rgba(114,88,242,0.12) 40%, rgba(13,13,13,0.45) 65%, rgba(13,13,13,0.86) 100%);
}
.event-photo-card:hover .event-photo-arrow { transform: translateY(0); opacity: 1; }
.event-photo-card:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

@media (max-width: 960px) {
  .discipline-grid.cols-3,
  .discipline-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .event-photo-card { aspect-ratio: 4 / 5; }
  .discipline-meta { display: none; }
}
@media (max-width: 520px) {
  .events-by-discipline .discipline + .discipline { margin-top: 40px; }
  .discipline-head { margin-bottom: 14px; padding-bottom: 10px; }
  .discipline-grid { gap: 12px; }
}
.split-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.split-visual.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(122, 110, 249, 0.35) 0%, rgba(30, 20, 80, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}
.split-visual .split-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  font-style: normal;
}
.split-visual .split-label {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
}
.checklist svg { color: var(--purple); flex-shrink: 0; margin-top: 3px; }

/* =========== STATS BAR =========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 40px;
  background: var(--purple-softest);
  border: 1px solid var(--purple-tint);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: 2.6rem;
  color: var(--purple-deep);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
}

/* =========== BLOG / POST CARDS =========== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.post-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-card-image {
  aspect-ratio: 16 / 9;
  background: var(--purple);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: center;
  padding: 24px;
  font-size: 1.12rem;
}
.post-card-image.v2 { background: var(--black); }
.post-card-image.v3 { background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%); }
.post-card-body { padding: 26px; flex-grow: 1; display: flex; flex-direction: column; }
.post-card h3 { margin-bottom: 10px; letter-spacing: -0.01em; }
.post-card p {
  font-size: 0.95rem;
  flex-grow: 1;
  font-family: var(--font-sans);
  font-style: normal;
}
.post-card-meta {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  display: flex;
  gap: 14px;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
}

/* =========== PROSE (blog articles) =========== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 48px; margin-bottom: 18px; }
.prose h3 { margin-top: 32px; margin-bottom: 14px; }
.prose p { margin-bottom: 18px; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.75; font-family: var(--font-sans); font-style: normal; }
.prose ul, .prose ol { margin: 0 0 24px 22px; }
.prose ul li, .prose ol li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.7;
  list-style: disc;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.05rem;
}
.prose ol li { list-style: decimal; }
.prose a { color: var(--purple-deep); border-bottom: 1.5px solid var(--purple-tint); font-weight: 600; }
.prose a:hover { border-bottom-color: var(--purple); }
.prose blockquote {
  border-left: 4px solid var(--purple);
  padding: 10px 0 10px 26px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);
}
.prose strong { color: var(--text); font-weight: 700; }

/* =========== FOOTER =========== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 90px 0 32px;
}
.footer a { color: rgba(255, 255, 255, 0.78); transition: var(--transition); }
.footer a:hover { color: #FFFFFF; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-brand .logo { color: #FFFFFF; margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.6; max-width: 320px; margin-bottom: 24px; font-family: var(--font-sans); font-style: normal; }
.footer h4 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 0.94rem; font-family: var(--font-sans); font-style: normal; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-style: normal;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--purple); color: #FFFFFF; }

/* =========== RESPONSIVE =========== */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-purple { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-purple .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .cta-banner { padding: 56px 28px; }
}

/* Mobile header breakpoint handled in the .gm-hdr block above */
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .app-store-badges { justify-content: center; }
  .section-header { margin-bottom: 40px; }
  .post-grid { grid-template-columns: 1fr; }
}

/* =========== UTILITIES =========== */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
