/* ============================================================
   Proven Homepage — layout styles
   Depends on ../colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ============================================================
   NAVIGATION (two-row: utility + primary audience-first)
   ============================================================ */

.utility {
  background: #0E1438;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.utility .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.utility .left { display: flex; align-items: center; gap: 16px; }
.utility .left .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); }
.utility .right { display: flex; align-items: center; gap: 20px; }
.utility .right a:hover { color: #fff; }
.utility .right .login { color: rgba(255,255,255,0.6); }
.utility .right .demo { color: var(--brand-orange); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: stretch;
  gap: 40px;
  padding: 0 32px;
  min-height: 72px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav .logo { display: flex; align-items: center; }
.nav .nav-cta { display: flex; align-items: center; gap: 10px; }
.nav .logo img { height: 44px; filter: brightness(0) saturate(100%) invert(10%) sepia(89%) saturate(2331%) hue-rotate(225deg) brightness(85%) contrast(95%); }
.nav .logo { display: flex; align-items: center; }

.audience-switcher {
  display: flex;
  gap: 0;
  justify-self: center;
  align-self: stretch;
}
.audience-switcher button {
  padding: 0 20px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--fg2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s, border-color .15s;
}
.audience-switcher button.active {
  color: var(--brand-dark-blue);
  border-bottom: 5px solid var(--brand-orange);
  padding-bottom: 0;
  font-weight: 900;
}
.audience-switcher button:hover:not(.active) {
  color: var(--fg1);
}
.audience-switcher button .chev {
  display: inline-block;
  color: var(--brand-orange);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
.audience-switcher button.active .chev {
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
   PLATFORM SUB-NAV (product menu under primary nav)
   ============================================================ */
.subnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 19;
}
.subnav .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav .inner::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--fg2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.subnav a .sn-mark {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-sunken);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 9px;
  color: var(--brand-orange);
}
.subnav a:hover {
  color: var(--fg1);
  border-bottom-color: var(--border-strong);
}
.subnav a.current {
  color: var(--brand-dark-blue);
  border-bottom-color: var(--brand-orange);
}
.subnav a.current .sn-mark { background: var(--brand-orange); color: #fff; }
/* Disabled (visible but non-interactive) sub-nav items */
.subnav .sn-disabled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--fg2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}
.subnav .sn-disabled .sn-mark {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-sunken);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 9px;
  color: var(--brand-orange);
}
.subnav .sn-sep {
  width: 1px; background: var(--border); margin: 10px 6px;
}
.subnav .sn-push { margin-left: auto; }
.subnav .sn-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg2);
}
.subnav .sn-status .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2DBE60;
  box-shadow: 0 0 0 0 rgba(45,190,96,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45,190,96,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(45,190,96,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,190,96,0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  min-height: 44px;
  touch-action: manipulation;
  transition: background-color .15s, box-shadow .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-orange); color: #fff; }
.btn-primary:hover { background: #E0782A; box-shadow: 0 6px 20px rgba(246,138,50,0.32); }
.btn-secondary { background: var(--brand-dark-blue); color: #fff; }
.btn-secondary:hover { background: #22306C; }
.btn-ghost { background: transparent; color: var(--fg1); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--fg1); background: var(--bg-raised); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 11px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--brand-dark-blue);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(105deg, rgba(25,34,77,0.94) 0%, rgba(25,34,77,0.75) 45%, rgba(246,138,50,0.80) 100%),
    url("../assets/hero-bg-athletes.jpg");
  background-size: cover;
  background-position: top right;
  pointer-events: none;
  transition: background-image .5s ease;
}
body[data-audience="coaches"] .hero::before {
  background-image:
    linear-gradient(105deg, rgba(25,34,77,0.94) 0%, rgba(25,34,77,0.75) 45%, rgba(246,138,50,0.80) 100%),
    url("../assets/hero-bg-coaches.jpg");
  background-position: center right;
}
body[data-audience="recruiters"] .hero::before {
  background-image:
    linear-gradient(105deg, rgba(25,34,77,0.94) 0%, rgba(25,34,77,0.75) 45%, rgba(246,138,50,0.80) 100%),
    url("../assets/hero-bg-recruiters.jpg");
  background-position: center right;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246,138,50,0.35) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: calc(var(--dot-intensity, 0.32) * 0.5);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero .inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand-light-blue);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(56px, 8.5vw, 112px);
  line-height: 0.92;
  margin: 0 0 24px;
  overflow-wrap: break-word;
}
.hero h1 .accent { color: var(--brand-orange); }
.hero h1 .thin { color: rgba(255,255,255,0.55); font-weight: 900; }
body[data-audience="recruiters"] .hero h1 { font-size: clamp(42px, 6.2vw, 82px); }
.hero p.lede {
  font-size: 19px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-actions .trust {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
}

/* Hero visual — persona card carousel */
.hero-visuals {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  aspect-ratio: 1 / 1.05;
}
.hero-visual {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0F1635 0%, #1B2656 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(80,200,236,0.15);
  padding: 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s ease;
}
body[data-audience="athletes"] .hv-athletes,
body[data-audience="coaches"] .hv-coaches,
body[data-audience="recruiters"] .hv-recruiters {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246,138,50,0.4) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  opacity: 0.22;
  pointer-events: none;
}
.hero-visual > * { position: relative; z-index: 1; }
.hv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 18px;
}
.hv-id { display: flex; align-items: center; gap: 10px; }
.hv-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-orange), #E0782A);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
  flex-shrink: 0;
}
.hv-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-name { font-family: var(--font-display); font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; line-height: 1; }
.hv-sub { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 3px; }
.hv-verified {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--brand-orange);
  border-radius: 3px;
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 9px;
}
.hv-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.hv-stat {
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
}
.hv-stat .l { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 9px; color: rgba(255,255,255,0.5); }
.hv-stat .n { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 0.02em; margin-top: 3px; line-height: 1; }
.hv-stat.primary .n { color: var(--brand-orange); }
.hv-stat .d { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 9px; color: var(--brand-light-blue); margin-top: 4px; }
.hv-activity {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 9px; color: rgba(255,255,255,0.5); margin-bottom: 8px;
}
.hv-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
}
.hv-row .logo {
  width: 26px; height: 26px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 10px;
}
.hv-row .who { font-weight: 700; color: #fff; }
.hv-row .what { font-size: 10px; color: rgba(255,255,255,0.5); }
.hv-row .when { font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,0.4); }

/* Recruiter search block */
.hv-search {
  padding: 12px;
  background: rgba(80,200,236,0.06);
  border: 1px solid rgba(80,200,236,0.18);
  border-radius: 6px;
  margin-bottom: 10px;
}
.hv-search-hdr { display: flex; align-items: center; gap: 8px; }
.hv-search-hdr .k {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 9px; color: var(--brand-light-blue);
}
.hv-search-hdr .v { font-size: 11px; color: #fff; font-family: var(--font-mono); }
.hv-search-meta { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.hv-search-meta b { color: var(--brand-orange); font-weight: 900; }

/* Stats bar under hero */
.stats-bar {
  background: #0E1438;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
/* Compressed solid blue stats strip (metrics removed pending support). */
.stats-bar.stats-bar--solid {
  height: 12px;
  padding: 0;
}
.stats-bar.stats-bar--solid .inner { display: none; }
.stats-bar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-bar .stat .n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.stats-bar .stat .n .accent { color: var(--brand-orange); }
.stats-bar .stat .l {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.sec-head { margin-bottom: 48px; max-width: 720px; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}
.sec-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  margin: 0 0 16px;
  color: var(--fg1);
  text-wrap: balance;
  position: relative;
  padding-left: 20px;
}
.sec-title::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 6px;
  width: 6px;
  background: var(--brand-orange);
}
.how-section .sec-title { color: #fff; }
.sec-title .accent { color: var(--brand-orange); }
.sec-lede {
  font-size: 18px;
  color: var(--fg2);
  max-width: 620px;
  text-wrap: pretty;
  margin: 0;
}

/* ============================================================
   AUDIENCE CARDS
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aud-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.aud-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(25,34,76,0.08);
}
.aud-card .aud-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-dark-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 20px;
}
.aud-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 10px;
  text-wrap: balance;
}
.aud-card h3 .accent { color: var(--brand-orange); }
.aud-card p {
  font-size: 14px;
  color: var(--fg2);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.aud-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aud-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg1);
}
.aud-card ul li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: var(--brand-orange);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>") center/contain no-repeat;
  margin-top: 2px;
}
.aud-card .aud-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand-orange);
}
.aud-card .aud-link .arr {
  display: inline-block;
  transition: transform .15s;
}
.aud-card:hover .aud-link .arr { transform: translateX(4px); }

.aud-card.featured {
  background: var(--brand-dark-blue);
  color: #fff;
  border-color: transparent;
}
.aud-card.featured::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246,138,50,0.5) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: 0.3;
  pointer-events: none;
}
.aud-card.featured > * { position: relative; z-index: 1; }
.aud-card.featured p { color: rgba(255,255,255,0.75); }
.aud-card.featured ul li { color: rgba(255,255,255,0.92); }
.aud-card.featured .aud-chip { background: var(--brand-orange); }

/* ============================================================
   LAYERS (Youth League → School → Elite → Portal)
   ============================================================ */
.layers-section { background: var(--bg-sunken); }
.layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.layers::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-orange) 0 6px, transparent 6px 12px);
}
.layer {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
}
.layer-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.layer-name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
  margin-bottom: 4px;
  color: var(--fg1);
}
.layer-sub {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 9px;
  text-align: center;
  color: var(--brand-orange);
  margin-bottom: 14px;
}
.layer p {
  font-size: 13px;
  color: var(--fg2);
  margin: 0;
  text-align: center;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ============================================================
   VERIFIED PILLARS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.pillar:last-child { border-right: none; }
.pillar-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-orange);
  color: #fff;
  margin-bottom: 22px;
  border-radius: 3px;
}
.pillar-mark svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--fg1);
}
.pillar p {
  font-size: 14px;
  color: var(--fg2);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--brand-dark-blue); color: #fff; position: relative; overflow: hidden; }
.how-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(14,20,56,0.82), rgba(25,34,76,0.88)),
    url("../assets/how-bg.svg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.how-section::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246,138,50,0.4) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  opacity: 0.12;
  pointer-events: none;
}
.how-section .sec-title { color: #fff; }
.how-section .sec-lede { color: rgba(255,255,255,0.7); }
.how-section .sec-eyebrow { color: var(--brand-light-blue); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.how-leadin {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 40px;
  margin-bottom: 24px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--brand-orange);
  border-radius: 8px;
  align-items: center;
}
.how-leadin-stat { display: flex; align-items: center; gap: 20px; }
.how-leadin-stat .hl-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.9;
  color: var(--brand-orange);
  letter-spacing: -0.02em;
}
.how-leadin-stat .hl-num .hl-pct { font-size: 40px; color: rgba(246,138,50,0.55); margin-left: 2px; }
.how-leadin-stat .hl-lbl {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
  max-width: 320px;
}
.how-leadin-tags {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-self: end;
  align-self: center;
}
.how-leadin-tags .hl-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(246,138,50,0.12);
  border: 1px solid rgba(246,138,50,0.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
}
.how-leadin-tags .hl-tag b {
  font-family: var(--font-mono);
  color: var(--brand-orange);
  font-weight: 700;
}
.how-leadin-tags .hl-arrow { color: var(--brand-orange); font-weight: 900; font-family: var(--font-display); }
.how-leadin-text {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  text-wrap: pretty;
  max-width: 780px;
}
@media (max-width: 880px) {
  .how-leadin { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .how-leadin-tags { justify-self: start; }
  .how-leadin-stat .hl-num { font-size: 56px; }
}
.how-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px;
}
.how-step .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--brand-orange);
  margin-bottom: 14px;
}
.how-step h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 0 10px;
}
.how-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ============================================================
   PROGRAM STRIP (social proof)
   ============================================================ */
.program-strip {
  background: var(--bg);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.program-strip .label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg2);
  text-align: center;
  margin-bottom: 24px;
}
.program-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.prog-mark {
  aspect-ratio: 2 / 1;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--fg1);
  text-align: center;
  line-height: 1;
  padding: 8px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--brand-orange);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/cta-bg.svg");
  background-size: cover;
  background-position: center right;
  pointer-events: none;
}
.cta-band .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  margin: 0 0 10px;
  color: #fff;
  text-wrap: balance;
}
.cta-band p {
  margin: 0;
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  text-wrap: pretty;
}
.cta-band .btn-primary { background: var(--brand-dark-blue); color: #fff; }
.cta-band .btn-primary:hover { background: #0E1438; }
.cta-band .btn-ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0E1438; color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 22px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 320px; margin: 0; line-height: 1.55; }
.footer-col .hdr {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: #fff; }

.footer-legal {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}
.footer-legal .right a { margin-left: 20px; }
.footer-legal .right a:hover { color: #fff; }

/* "Powered by Calnetic" line, sits between footer-grid and footer-legal. */
.powered-by {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 28px 0 4px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.powered-by a { display: inline-flex; align-items: center; line-height: 1; }
.powered-by img { height: 18px; width: auto; opacity: 0.9; transition: opacity 0.2s; display: block; }
.powered-by a:hover img { opacity: 1; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px 18px;
  box-shadow: 0 20px 60px rgba(25,34,76,0.18);
  z-index: 100;
  display: none;
  font-family: var(--font-body);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.tweaks-panel h5 .close {
  border: none;
  background: transparent;
  color: var(--fg2);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.tweak-row { margin-bottom: 14px; }
.tweak-row:last-child { margin-bottom: 0; }
.tweak-row .lbl {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg2);
  margin-bottom: 6px;
}
.tweak-opts { display: flex; flex-wrap: wrap; gap: 4px; }
.tweak-opts button {
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg1);
  cursor: pointer;
}
.tweak-opts button.on {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}
.tweak-row input[type="range"] { width: 100%; accent-color: var(--brand-orange); }
.tweak-row .range-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg2); font-family: var(--font-mono); margin-top: 2px; }

/* hero color variants */
body[data-hero="navy"] .hero { background: var(--brand-dark-blue); color: #fff; }
body[data-hero="orange"] .hero { background: var(--brand-orange); color: #fff; }
body[data-hero="orange"] .hero h1 .accent { color: var(--brand-dark-blue); }
body[data-hero="orange"] .hero h1 .thin { color: rgba(255,255,255,0.7); }
body[data-hero="orange"] .hero p.lede { color: rgba(255,255,255,0.92); }
body[data-hero="orange"] .hero::before { background-image: radial-gradient(rgba(255,255,255,0.4) 1.4px, transparent 1.4px); }
body[data-hero="orange"] .hero-copy .eyebrow { color: #fff; }
body[data-hero="light"] .hero { background: var(--bg); color: var(--fg1); }
body[data-hero="light"] .hero h1 { color: var(--fg1); }
body[data-hero="light"] .hero h1 .thin { color: rgba(25,34,76,0.4); }
body[data-hero="light"] .hero p.lede { color: var(--fg2); }
body[data-hero="light"] .hero-copy .eyebrow { color: var(--brand-orange); }
body[data-hero="light"] .hero::before { background-image: radial-gradient(rgba(25,34,76,0.25) 1.2px, transparent 1.2px); opacity: 0.18; }
body[data-hero="light"] .btn-ghost-light { color: var(--fg1); border-color: var(--border-strong); }

/* ============================================================
   RESPONSIVE — tablet & mobile
   ============================================================ */

/* Tablet */
@media (max-width: 1040px) {
  .nav .inner { grid-template-columns: auto 1fr auto; gap: 20px; padding: 12px 20px; }
  .subnav { top: 68px; }
  .audience-switcher button { padding: 6px 10px; font-size: 10px; }
  .subnav .inner { padding: 0 20px; gap: 14px; }
  .hero .inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .hero { padding: 64px 0 80px; }
  .hero-visuals { justify-self: start; max-width: 420px; aspect-ratio: 1 / 0.85; }
  .hero h1 { font-size: clamp(52px, 8vw, 90px); }
  .stats-bar .inner { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 28px 20px; }
  .audience-grid { grid-template-columns: 1fr; }
  .layers { grid-template-columns: repeat(2, 1fr); }
  .layers::before { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile */
@media (max-width: 720px) {
  .nav .inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo cta" "aud aud";
    gap: 0;
    padding: 0 16px;
    min-height: unset;
  }
  .nav .logo { grid-area: logo; padding: 14px 0; align-self: center; }
  .nav .nav-cta { grid-area: cta; padding: 14px 0; align-self: center; }
  .nav .nav-cta { gap: 6px; }
  .nav .nav-cta .btn { padding: 5px 10px; font-size: 10px; min-height: 32px; letter-spacing: 0.06em; border-radius: 2px; }
  .nav .logo img { height: 32px; }
  .audience-switcher {
    grid-area: aud;
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
    overflow: visible;
  }
  .audience-switcher button { flex: 1 1 0; justify-content: center; padding: 0 8px; font-size: 10px; height: 44px; }
  .audience-switcher button .chev { display: none; }

  /* nav row1: 14+32+14=60px, row2: 44px tabs → total 104px */
  .subnav { top: 104px; }
  .subnav .inner { padding: 0 16px; gap: 10px; }
  .subnav a { font-size: 11px; padding: 10px 0; }
  .subnav .sn-sep { display: none; }
  .subnav .sn-status { display: none; }

  section, .section { padding: 56px 0 !important; }
  .container { padding: 0 16px; }

  /* Hero: fill viewport, copy centered between nav and card */
  /* navs ~104px + subnav ~44px = 148px */
  .hero { padding: 0; min-height: calc(100vh - 148px); min-height: calc(100dvh - 148px); }
  .hero .inner {
    display: flex;
    flex-direction: column;
    padding: 0 16px 24px;
    gap: 0;
    min-height: inherit;
  }
  /* auto top margin absorbs space above; fixed gap below via card margin-top */
  .hero-copy { margin-top: auto; }
  .hero h1 { font-size: clamp(64px, 17vw, 80px); line-height: 0.90; margin-bottom: 16px; }
  .hero p.lede { font-size: 17px; margin-bottom: 20px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-actions .trust { width: 100%; order: 3; margin-top: 6px; }
  .hero-visuals { max-width: 100%; aspect-ratio: unset; min-height: 240px; flex-shrink: 0; margin-top: 48px; }

  .stats-bar .inner { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 16px; }
  .stats-bar .stat .n { font-size: 28px; }
  .stats-bar .stat .l { font-size: 11px; }

  .sec-head { padding: 0; }
  .sec-title { font-size: clamp(28px, 7vw, 36px) !important; padding-left: 14px; }
  .sec-title::before { width: 4px; }

  .audience-grid { gap: 12px; }
  .aud-card { padding: 24px 20px; }

  .layers { grid-template-columns: 1fr; gap: 12px; }

  .pillars { grid-template-columns: 1fr; border-top: 1px solid var(--border); }
  .pillar { border-right: none !important; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }

  .how-section { padding: 56px 0; }
  .how-leadin { grid-template-columns: 1fr !important; gap: 14px; padding: 18px !important; }
  .how-leadin-stat .hl-num { font-size: 48px !important; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }

  .program-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .cta-band .inner { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; text-align: left; }
  .cta-band h2 { font-size: clamp(30px, 7vw, 42px) !important; }
  .cta-actions { flex-wrap: wrap; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }

  .tweaks-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; }
}

@media (max-width: 420px) {
  .stats-bar .inner { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* Safe area insets for notched / Dynamic Island iPhones */
@supports (padding: env(safe-area-inset-bottom)) {
  .nav {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
  .footer-legal {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Subnav links — ensure minimum tap target height */
.subnav a { min-height: 44px; }
.subnav a, .subnav .sn-status { -webkit-tap-highlight-color: transparent; }

.nav-loggedin a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy, #19224D);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.15s;
}
.nav-loggedin a:hover {
  background: rgba(25, 34, 77, 0.07);
}
