/* ===== TOKENS ===== */
:root {
  --background:   #ffffff;
  --foreground:   #192023;
  --card:         #ffffff;
  --card-fg:      #192023;
  --border:       #ecf0f2;
  --input:        #ecf0f2;
  --primary:      #072ac8;
  --primary-fg:   #ffffff;
  --secondary:    #ffffff;
  --secondary-fg: #072ac8;
  --muted:        #f4f4f5;
  --muted-fg:     #4f656f;
  --accent:       #f4f4f5;
  --accent-fg:    #192023;
  --ring:         #072ac8;
  --radius:       0.5rem;

  --yellow:       #ffc600;
  --green:        #d4ded6;
  --green-5:      #e9efeb;
  --field-green:  #6a8d73;
  --light-blue:   #eff7ff;
  --light-blue-accent: #aed9fe;
  --blue-accent:  #1e96fc;
  --warning-10:   #fffbed;
  --success:      #3cb24f;
  --neutral:      #192023;
  --neutral-muted:#4f656f;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.35; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
a { color: inherit; text-decoration: none; }
p { max-width: 640px; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 12px;
}
.section-heading { margin-bottom: 16px; }
.section-body {
  color: var(--foreground);
  margin-bottom: 48px;
  font-size: 1rem;
}

/* ===== EYEBROW PILL ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow-green {
  background: var(--green);
  color: var(--foreground);
}
.eyebrow-white {
  background: #ffffff;
  color: var(--foreground);
}
.eyebrow-light-blue {
  background: var(--light-blue-accent);
  color: var(--foreground);
}
.eyebrow-green-5 {
  background: var(--green-5);
  color: var(--foreground);
}
.eyebrow-field-green {
  background: var(--field-green);
  color: #ffffff;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
}
.btn-white {
  background: #ffffff;
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-group .btn {
  flex: none;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 24px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 1rem;
  color: var(--foreground);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--blue-accent);
}
.nav-links a.active {
  font-weight: 600;
}
.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

/* ===== MOBILE NAV DRAWER & OVERLAY ===== */
.nav-overlay {
  display: none;
}
.nav-drawer {
  display: none;
}

/* ===== ANNOUNCEMENT STRIP ===== */
.announcement {
  background: var(--yellow);
  color: var(--foreground);
  text-align: center;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
}
.hero-content {
  flex: 1;
  padding: 80px 80px 80px 120px;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  color: var(--foreground);
  font-size: 1.25rem;
  max-width: 520px;
}
.hero-image {
  width: 42%;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
}
.hero-image .placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  border: none;
}

/* ===== PLACEHOLDER BOX ===== */
.placeholder {
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  border: 2px dashed #a1b4bc;
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}
.placeholder--square { aspect-ratio: 1 / 1; min-height: 0; }
.placeholder--tall { aspect-ratio: 374 / 493; min-height: 0; }
.placeholder--portrait { aspect-ratio: 374 / 574; min-height: 0; }
.placeholder--feature { min-height: 0; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue-accent);
  padding: 40px 0;
}
.stats-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.stat {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-size: 2rem;
  font-weight: 600;
  display: block;
}
.stat-label {
  color: var(--muted-fg);
  font-size: 0.75rem;
}
.stat-grow { flex: 1; }
.stat-award {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
}
.stat-award .stat-number {
  font-size: 2rem;
  line-height: 1.35;
}
.stat-award-img {
  width: 140px;
  height: 103px;
  border-radius: var(--radius);
  object-fit: contain;
  flex-shrink: 0;
}

/* ===== AUDIENCE CARDS ===== */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border-radius: var(--radius);
  color: var(--foreground);
}
.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--field-green);
  margin-bottom: 8px;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}
.card-body {
  color: var(--muted-fg);
  font-size: 1rem;
  flex: 1;
}
.card-link {
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.card-link:hover { opacity: 0.7; }

/* ===== SIGN-OFF SECTION ===== */
.sign-off {
  background: #3054f7;
  text-align: center;
  padding: 80px 120px;
}
.sign-off h2 { margin-bottom: 8px; color: #ffffff; }
.sign-off .sign-off-sub {
  color: #ffffff;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.sign-off .btn-group {
  justify-content: center;
}

/* ===== SIGN-OFF WITH BORDER-BOTTOM ===== */
.sign-off-border {
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
}
.sign-off-border h2 { margin-bottom: 16px; }
.sign-off-border .sign-off-sub {
  color: var(--foreground);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.sign-off-border .btn-group {
  justify-content: center;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.features-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
}
.feature-card .card-icon { margin-bottom: 16px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.35; }
.feature-card p { color: var(--muted-fg); font-size: 1rem; }
.feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--field-green);
  margin-bottom: 8px;
}

/* ===== ONBOARDING STEPS ===== */
.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.onboarding-step {
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue-accent);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--foreground);
  flex-shrink: 0;
}
.onboarding-step h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.onboarding-step p { color: var(--muted-fg); font-size: 1rem; }

/* ===== DATE TRACKING SECTION ===== */
.date-tracking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.date-tracking-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
}
.date-tracking-card .card-icon { margin-bottom: 16px; }
.date-tracking-card h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.date-tracking-card > p { color: var(--muted-fg); font-size: 1rem; margin-bottom: 16px; }
.date-tracking-card .date-list { color: var(--muted-fg); font-size: 1rem; padding-left: 20px; }
.date-tracking-card .date-list li { margin-bottom: 4px; }

/* ===== PARTNER LOGOS BAR ===== */
.partner-bar {
  background: var(--blue-accent);
  padding: 40px 24px;
  display: flex;
  justify-content: center;
}
.partner-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.partner-label {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--muted-fg);
  line-height: 1.35;
}
.partner-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
}

/* ===== FEATURES WITH IMAGE (Schools) ===== */
.features-with-image {
  display: grid;
  grid-template-columns: 53% 1fr;
  gap: 32px;
  align-items: stretch;
}
.features-with-image .features-grid {
  grid-template-columns: repeat(2, 1fr);
}
.features-with-image .placeholder {
  min-height: auto;
}

/* ===== CALLOUT BOX ===== */
.callout {
  border-left: 5px solid var(--blue-accent);
  background: #ffffff;
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.callout-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  border-radius: 4px;
  flex-shrink: 0;
  color: var(--blue-accent);
}
.callout-title {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 4px;
}
.callout-body {
  color: var(--blue-accent);
  font-size: 1rem;
  font-weight: 600;
}

/* ===== TRAINING TYPES GRID ===== */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.training-card {
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 32px;
}
.training-card h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.training-card p { color: var(--muted-fg); font-size: 1rem; }

/* ===== PLATFORM — FLYWHEEL ===== */
.flywheel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.flywheel-col {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
}
.flywheel-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--field-green);
  margin-bottom: 8px;
}
.flywheel-col h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.flywheel-col p { color: var(--muted-fg); font-size: 1rem; }

/* ===== PLATFORM — LAYER CARDS ===== */
.layer-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 0;
}
.layer-card.light-blue-bg {
  background: var(--light-blue);
}
.layer-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.layer-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--foreground);
}
.layer-meta {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 32px;
}
.layer-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-accent);
}
.layer-title {
  font-weight: 600;
  font-size: 1rem;
}
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  white-space: nowrap;
  width: 165px;
  text-align: center;
}
.badge-live {
  background: var(--success);
  color: var(--foreground);
}
.badge-dev {
  background: var(--yellow);
  color: var(--foreground);
}
.badge-soon {
  background: var(--primary);
  color: #ffffff;
}
.badge-future {
  background: var(--neutral-muted);
  color: #ffffff;
}
.layer-body h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.layer-body > p { color: var(--muted-fg); font-size: 1rem; }
.layer-separator {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 24px 0;
}
.sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.sub-card {
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 24px;
}
.sub-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.sub-card p { color: #71717a; font-size: 0.9rem; }

/* ===== STAGE BLOCKS ===== */
.stage-blocks-container {
  border-left: 5px solid var(--green);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.stage-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stage-block h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.35;
}
.stage-block h3 .stage-desc {
  font-weight: 300;
  color: var(--field-green);
}
.stage-block p {
  color: var(--muted-fg);
  font-size: 1rem;
}

/* ===== SPLIT SECTION (image + text side by side) ===== */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  align-items: center;
  min-height: 400px;
}
.split-section--reverse {
  grid-template-columns: 1fr minmax(0, 480px);
}
.split-section--third {
  grid-template-columns: 1fr 2fr;
}
.split-section--third.split-section--reverse {
  grid-template-columns: 2fr 1fr;
}
.split-section-image {
  height: 100%;
  overflow: hidden;
}
.split-section-image img,
.split-section-image .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  border-radius: 0;
  border: none;
}
.split-section-content {
  padding: 80px;
}
.split-section-content .section-heading { margin-bottom: 16px; }
.split-section-content .section-body { margin-bottom: 0; }

/* ===== QUOTE SECTION ===== */
.quote-mark {
  font-size: 56px;
  font-weight: 800;
  line-height: 0;
  color: var(--blue-accent);
}
.quote-text {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--foreground);
  max-width: 789px;
}
.quote-attribution {
  color: var(--blue-accent);
  font-size: 1rem;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-logo { font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.footer-tagline { font-size: 1rem; }
.footer-col-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 1rem; }
.footer-links a:hover { opacity: 0.7; }
.footer-bottom {
  padding: 20px 0;
  font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .nav-inner { padding-left: 16px; padding-right: 16px; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav.open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--background);
    z-index: 999;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav.open .nav-drawer {
    transform: translateX(0);
  }

  .nav-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .nav-drawer-links a {
    font-size: 1.25rem;
    color: var(--foreground);
    transition: color 0.15s;
  }
  .nav-drawer-links a:hover {
    color: var(--blue-accent);
  }
  .nav-drawer-links a.active {
    font-weight: 600;
  }

  .nav-drawer-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    align-self: flex-end;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 32px 0; }

  .hero { flex-direction: column; }
  .hero-content { padding: 32px 16px; }
  .hero-image { width: 100%; height: 360px; }
  .hero-sub { font-size: 1rem; }
  .stats-grid { flex-direction: column; }
  .cards-row { grid-template-columns: 1fr; }
  .onboarding-grid { grid-template-columns: 1fr; }
  .partner-card { flex-direction: column; text-align: center; }
  .partner-logo { height: 60px; }
  .features-with-image { grid-template-columns: 1fr; }
  .features-with-image .features-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid--2col { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .flywheel-grid { grid-template-columns: 1fr; }
  .sub-grid { grid-template-columns: 1fr; }
  .date-tracking-grid { grid-template-columns: 1fr; }
  .footer { padding: 32px 0 0; }
  .footer .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }

  .split-section,
  .split-section--reverse { grid-template-columns: 1fr; }
  .split-section-image { min-height: 200px; max-height: 200px; }
  .split-section-content { padding: 32px 16px; }

  .sign-off { padding: 32px 16px; }

  .btn-group { flex-direction: column; gap: 16px; }
  .btn-group .btn { width: 100%; flex: none; }

  .quote-text { font-size: 1.25rem; }
  .quote-attribution { font-size: 0.75rem; }

  .layer-header { flex-wrap: wrap; }
  .layer-meta { flex-direction: column; gap: 4px; }
  .badge { margin-left: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .placeholder--feature { aspect-ratio: 1 / 1; }
  .stage-blocks-container { padding-left: 20px; }
}


/* =====================================================================
   v2.4 UPDATE — additions (October 2026)
   ===================================================================== */

/* ----- Nav dropdown ("Who it's for") ----- */
.nav-links { align-items: center; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--foreground);
  padding: 0;
  transition: color 0.15s;
}
.nav-dropdown-toggle:hover { color: var(--blue-accent); }
.nav-dropdown-toggle.active { font-weight: 600; }
.nav-dropdown-toggle svg { transition: transform 0.15s; }
.nav-dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 220px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(25, 32, 35, 0.08);
  padding: 8px;
  display: none;
  z-index: 110;
}
.nav-dropdown-menu::before {
  /* hover bridge so the menu doesn't close crossing the gap */
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
}
.nav-dropdown-menu a:hover { background: var(--light-blue); color: var(--foreground); }

.nav-drawer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--field-green);
  margin-bottom: 12px;
}

/* ----- Stats source note ----- */
.stats-source {
  color: #ffffff;
  font-size: 0.75rem;
  margin-top: 12px;
  max-width: none;
}
.stat-label sup { font-size: 0.65em; }

/* ----- Five audience cards: 3 + 2 ----- */
.cards-row { grid-template-columns: repeat(6, 1fr); }
.cards-row .card { grid-column: span 2; }
.cards-row .card:nth-child(4) { grid-column: 2 / span 2; }

/* ----- Inline link inside callouts ----- */
.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ----- Lists ----- */
.tick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.tick-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-fg);
  font-size: 1rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
.tick-list--open li::before {
  width: 10px;
  height: 10px;
  top: 7px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  transform: none;
}

.constraint-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.constraint-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.1rem;
}
.constraint-list svg { color: #d64545; flex-shrink: 0; margin-top: 3px; }

/* ----- Layer cards: auto sub-grid + next line ----- */
.sub-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sub-grid--6 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) and (min-width: 769px) {
  .sub-grid--5, .sub-grid--6 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
.layer-card.light-blue-bg .sub-card { background: #ffffff; }
.layer-next {
  margin-top: 24px;
  color: var(--muted-fg);
  font-size: 0.9rem;
  max-width: none;
}
.layer-next strong { font-weight: 600; color: var(--foreground); }

/* ----- Training grid variants ----- */
.training-grid--3col { grid-template-columns: repeat(3, 1fr); }
.training-grid--white .training-card { background: #ffffff; }

/* ----- Audience / layers table ----- */
.aud-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.aud-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.aud-row:first-child { border-top: none; }
.aud-head {
  background: var(--foreground);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 14px;
  padding-bottom: 14px;
}
.aud-name { font-weight: 600; }
.aud-value { color: var(--muted-fg); }
.aud-layers { display: flex; gap: 6px; }
.chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
}
.chip-l1 { background: var(--foreground); }
.chip-l2 { background: var(--primary); }
.chip-l3 { background: var(--success); }
.chip-l4 { background: var(--yellow); color: var(--foreground); }
.chip-off { background: var(--border); color: #a1b4bc; }

@media (max-width: 960px) {
  .nav-links { gap: 24px; }
}

@media (max-width: 768px) {
  .cards-row { grid-template-columns: 1fr; }
  .cards-row .card,
  .cards-row .card:nth-child(4) { grid-column: auto; }
  .training-grid--3col { grid-template-columns: 1fr; }
  .sub-grid--5, .sub-grid--6 { grid-template-columns: 1fr; }
  .aud-head { display: none; }
  .aud-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 16px; }
  .aud-row:nth-child(2) { border-top: none; }
  .constraint-list li { font-size: 1rem; }
  .callout { align-items: flex-start; }
}

/* ----- FAQ accordions ----- */
.faq-list {
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 4px; }
.faq-item summary svg { flex-shrink: 0; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { color: var(--muted-fg); padding: 0 48px 24px 0; max-width: none; }

@media (max-width: 768px) {
  .faq-item summary { font-size: 1rem; padding: 20px 0; }
  .faq-item p { padding-right: 0; }
}

/* ----- Full-width content blocks: match the stats banner edges ----- */
.stage-block p,
.layer-body > p { max-width: none; }

/* ----- Pull quote: hanging opening quote mark ----- */
.quote-text { position: relative; }
.quote-mark {
  position: absolute;
  right: 100%;
  top: 0;
  margin-right: 0.06em;
  line-height: 1;
}
@media (max-width: 768px) {
  .quote-mark { font-size: 1.6rem; top: 0.12em; }
}

/* ----- Hero device mockups ----- */
.hero-image--mockup {
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image--mockup picture { display: block; width: 100%; height: 100%; }
.hero-image--mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Balance the hero: right edge of the devices mirrors the 120px left text margin
   (the mockup image already carries ~8% white space on its right for the shadow). */
@media (min-width: 769px) {
  .hero-image--duo { padding-right: 64px; }
  .hero-image--pair { padding-right: 32px; }
  .hero-image--stack { padding-right: 94px; }
}

/* Photos inside split sections fill the image column */
.split-section-image picture { display: block; width: 100%; height: 100%; }

@media (max-width: 768px) {
  /* the two-class reversed third layout out-ranked the mobile single-column rule */
  .split-section--third,
  .split-section--third.split-section--reverse { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* stack the image under its copy on phones (avoids two images back to back on the pilots page) */
  .split-section--image-last-mobile .split-section-image { order: 2; }
}

/* Full-bleed photo heroes */
.hero-image--photo picture { display: block; width: 100%; height: 100%; }
.hero-image--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ----- App download chooser ----- */
.download-dialog {
  border: none;
  border-radius: 12px;
  padding: 32px;
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  color: var(--foreground);
  box-shadow: 0 24px 64px rgba(25, 32, 35, 0.24);
}
.download-dialog::backdrop { background: rgba(25, 32, 35, 0.5); }
.download-dialog h2 { font-size: 1.5rem; margin-bottom: 8px; }
.download-sub { color: var(--muted-fg); margin-bottom: 24px; }
.download-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer; color: var(--foreground);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius);
}
.download-close:hover { background: var(--muted); }
.download-options { display: flex; flex-direction: column; gap: 12px; }
.download-option {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.download-option:hover, .download-option:focus-visible { border-color: var(--primary); background: var(--light-blue); outline: none; }
.download-option-icon {
  width: 48px; height: 48px; flex: none; border-radius: var(--radius);
  background: var(--foreground); color: #fff; display: flex; align-items: center; justify-content: center;
}
.download-option > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.download-option-kicker { font-size: 0.75rem; color: var(--muted-fg); }
.download-option-name { font-size: 1.125rem; font-weight: 600; line-height: 1.2; }
.download-option-meta { font-size: 0.75rem; color: var(--muted-fg); }
.download-option-arrow { color: var(--primary); flex: none; }

/* Store badges (official artwork, unaltered) */
.download-options { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.download-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-radius: 8px; }
.download-badge img { height: 48px; width: auto; display: block; }
.download-badge span { font-size: 0.75rem; color: var(--muted-fg); }
.download-badge:hover img { opacity: 0.85; }
.download-badge:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }

/* Mobile nav: the 480px `.container { padding: 0 16px }` rule was wiping the
   nav bar's vertical padding, so the logo sat flush against the yellow banner. */
@media (max-width: 768px) {
  .nav .nav-inner { padding-top: 16px; padding-bottom: 16px; }
}

/* Terms of Use & Privacy Policy */
.legal { max-width: 760px; }
.legal h2 { margin: 40px 0 12px; font-size: 1.6rem; }
.legal h3 { margin: 28px 0 8px; font-size: 1.15rem; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 22px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal .callout { margin: 0 0 20px; padding: 16px 20px; border-left: 4px solid var(--yellow); background: var(--warning-10); border-radius: 8px; }

/* Contact page */
.contact-cards { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.contact-cards .card, .contact-cards .card:nth-child(4) { grid-column: auto; }
.contact-company { margin-top: 32px; color: var(--muted-fg); font-size: 0.9rem; }
@media (max-width: 767px) { .contact-cards { grid-template-columns: 1fr; } }

/* About page */
.about-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.about-grid .card, .about-grid .card:nth-child(4) { grid-column: auto; }
.team-grid { grid-template-columns: repeat(4, 1fr); }
.values-grid { grid-template-columns: repeat(4, 1fr); }
.about-badge { width: auto; align-self: flex-start; }
.team-member img { width: 100%; max-width: 350px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 1023px) { .team-grid, .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .about-grid, .team-grid, .values-grid { grid-template-columns: 1fr; } }
