/* ============================================================
   CMM Coaching, shared stylesheet
   Used across all pages: index, coaching, university,
   guides, affiliates.
   ============================================================ */

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

:root {
  --bg: #080808;
  --bg-1: #0f0f0f;
  --bg-2: #161616;
  --bg-3: #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.12);
  --border-lg: rgba(255,255,255,0.18);
  --text: #efefef;
  --text-2: #999;
  --text-3: #555;
  --accent: #4da6ff;
  --accent-2: #7b61ff;
  --accent-dim: rgba(77,166,255,0.08);
  --accent-border: rgba(77,166,255,0.22);
  --green: #4ade80;
  --yellow: #fbbf24;
  --red: #f87171;
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 16px;
  --maxw: 1080px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 200;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 1.9rem; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; color: var(--text-2); text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: var(--r-sm);
  text-decoration: none; transition: opacity .15s;
}
.nav-cta:hover { opacity: .88; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; padding: 6px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 5px 0; transition: .2s; }

/* ── Shared ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 820px; }
section { padding: 7rem 0; }

.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.label::before { content: ''; display: inline-block; width: 14px; height: 1px; background: var(--text-3); }
.label.center { justify-content: center; }

h2.title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600; letter-spacing: -.03em;
  line-height: 1.15; margin-bottom: .5rem;
}
p.sub {
  font-size: 14px; color: var(--text-2);
  max-width: 540px; margin-bottom: 3rem; line-height: 1.7;
}
p.sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  padding: 11px 24px; border-radius: var(--r-sm);
  text-decoration: none; transition: opacity .15s, border-color .15s, color .15s;
  cursor: pointer; border: none;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { opacity: .88; }
.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover { border-color: var(--border-lg); color: var(--text); }

/* ── Page hero (interior pages) ── */
.page-hero {
  padding: 5.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(650px 300px at 15% -10%, rgba(77,166,255,0.10), transparent 70%);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600; letter-spacing: -.04em; line-height: 1.05;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { font-size: 15px; color: var(--text-2); max-width: 560px; line-height: 1.75; }
.page-hero .hero-btns { margin-top: 1.75rem; }

/* ── Buttons row ── */
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Home hero ── */
#hero {
  min-height: calc(100vh - 58px);
  display: flex; align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 500px at 78% 40%, rgba(77,166,255,0.10), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 430px;
  gap: 3rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
#hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600; letter-spacing: -.04em;
  line-height: 1.02; margin-bottom: 1.25rem;
}
#hero h1 em { color: var(--accent); font-style: normal; }
#hero .lead {
  font-size: 15px; color: var(--text-2); max-width: 460px;
  line-height: 1.75; margin-bottom: 2rem;
}
.hero-photo {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 115%; height: 90%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77,166,255,0.20), transparent 72%);
  z-index: 0;
}
.hero-photo-frame {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  aspect-ratio: 43 / 58;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-md);
  box-shadow: 0 34px 70px rgba(0,0,0,0.6);
}
.hero-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 10%;
  display: block;
}
.hero-photo-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,8,8,0.15) 0%, transparent 22%, transparent 68%, rgba(8,8,8,0.9) 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 55%, rgba(8,8,8,0.4) 100%);
}

/* ── Stats strip ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
  margin: 4rem 0 0;
}
.stat-cell { background: var(--bg-1); padding: 1.75rem 1.5rem; }
.stat-num {
  font-size: 2rem; font-weight: 600; letter-spacing: -.04em;
  color: var(--accent); display: block; margin-bottom: 4px;
}
.stat-desc { font-size: 13px; color: var(--text-2); }

/* ── Section pill dividers ── */
.section-alt { border-top: 1px solid var(--border); }

/* ── Feature / gateway cards (home) ── */
.gateway-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.gateway {
  display: flex; flex-direction: column;
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r-lg); padding: 2rem;
  text-decoration: none; color: var(--text);
  transition: border-color .18s, transform .18s, background .18s;
}
.gateway:hover { border-color: var(--accent-border); transform: translateY(-3px); background: var(--bg-2); }
.gateway-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.gateway-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gateway h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.gateway p { font-size: 13px; color: var(--text-2); line-height: 1.65; flex: 1; }
.gateway-link { margin-top: 1.25rem; font-size: 12px; font-weight: 600; color: var(--accent); }

/* ── Services grid ── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.svc { background: var(--bg-1); padding: 2rem 1.75rem; transition: background .15s; }
.svc:hover { background: var(--bg-2); }
.svc-num { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--text-3); margin-bottom: 1.25rem; display: block; }
.svc h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.svc p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── Transformations ── */
.transforms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.transform-card { background: var(--bg-1); border: 1px solid var(--border-md); border-radius: var(--r-lg); overflow: hidden; }
.transform-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.transform-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-2); }
.transform-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.transform-card:hover .transform-img-wrap img { transform: scale(1.03); }
.img-label {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,0.7); color: var(--text-2);
  padding: 3px 9px; border-radius: 20px; backdrop-filter: blur(6px);
}
.img-label.after { color: var(--accent); }
.transform-info { padding: 1.1rem 1.25rem; }
.transform-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ts-item { text-align: center; }
.ts-val { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.ts-desc { font-size: 11px; color: var(--text-3); line-height: 1.4; }

/* ── Spreadsheet showcase ── */
.sheet-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sheet-tabs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 1.5rem; }
.sheet-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 12px;
  font-size: 13px; font-weight: 500; transition: border-color .15s;
}
.sheet-item:hover { border-color: var(--border-md); }
.sheet-item-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.sheet-preview { background: var(--bg-1); border: 1px solid var(--border-md); border-radius: var(--r-lg); overflow: hidden; position: sticky; top: 80px; }
.sp-header { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.sp-header-title { font-size: 12px; font-weight: 600; }
.sp-tag {
  font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent-border);
  padding: 2px 8px; border-radius: 20px;
}
.sp-body { padding: 1.25rem; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sp-table th { text-align: left; padding: 6px 8px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border); }
.sp-table td { padding: 8px 8px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.sp-table tr:last-child td { border-bottom: none; }
.sp-table td:first-child { color: var(--text-3); font-size: 11px; }
.sp-table .val { color: var(--text); font-weight: 500; }
.sp-table .pos { color: var(--green); }
.sp-table .neg { color: var(--red); }
.sp-table .ok { color: var(--accent); }

/* ── Consult ── */
.consult-inner {
  background: var(--bg-1); border: 1px solid var(--border-md); border-radius: var(--r-lg);
  padding: 4rem 3rem; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
}
.consult-text .label { margin-bottom: .75rem; }
.consult-text h2 { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: .75rem; }
.consult-text p { font-size: 14px; color: var(--text-2); max-width: 460px; line-height: 1.7; }
.consult-bullets { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 10px; }
.consult-bullets li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.consult-bullets li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.consult-cta { text-align: center; flex-shrink: 0; }
.consult-cta .btn { display: block; margin-bottom: 10px; white-space: nowrap; padding: 13px 32px; font-size: 14px; }
.consult-note { font-size: 12px; color: var(--text-3); }

/* ── Process ── */
.process-list { display: flex; flex-direction: column; }
.process-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.process-item:last-child { border-bottom: none; }
.p-num { font-size: 13px; font-weight: 600; color: var(--text-3); padding-top: 2px; }
.p-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.p-body p { font-size: 13px; color: var(--text-2); line-height: 1.65; max-width: 580px; }

/* ── Pricing ── */
.pricing-wrap { max-width: 460px; margin: 0 auto; }
.pricing-card { background: var(--bg-1); border: 1px solid var(--border-md); border-radius: var(--r-lg); padding: 3rem 2.5rem; position: relative; text-align: left; }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-dollar { font-size: 1.5rem; font-weight: 600; color: var(--text-2); }
.price-num { font-size: 3.75rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.price-period { font-size: 13px; color: var(--text-3); margin-bottom: 2.5rem; }
.pricing-divider { height: 1px; background: var(--border); margin: 2rem 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 2.5rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); }
.pf-check {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
}
.pf-check svg { width: 9px; height: 9px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pricing-card .btn { display: block; text-align: center; text-decoration: none; width: 100%; padding: 13px; font-size: 14px; }
.pricing-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 10px; }

/* ── FAQ ── */
.faq-list { max-width: 720px; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  text-align: left; cursor: pointer; padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color .15s;
}
.faq-q:hover { color: var(--text-2); }
.faq-icon { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s, border-color .15s; }
.faq-icon svg { width: 10px; height: 10px; stroke: var(--text-2); fill: none; stroke-width: 2; stroke-linecap: round; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent-border); }
.faq-item.open .faq-icon svg { stroke: var(--accent); }
.faq-a { font-size: 13px; color: var(--text-2); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 420px; padding-bottom: 1.25rem; }

/* ── Contact ── */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-text h2 { font-size: 2rem; font-weight: 600; letter-spacing: -.035em; margin-bottom: .75rem; }
.contact-text p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 2rem; }
.contact-link {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 14px 16px;
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 500; transition: border-color .15s, background .15s;
}
.contact-link:hover { border-color: var(--border-md); background: var(--bg-2); }
.contact-link-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-dim); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link-icon svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-link-sub { font-size: 11px; color: var(--text-3); font-weight: 400; display: block; margin-top: 1px; }
.contact-right { padding: 2.5rem; background: var(--bg-1); border: 1px solid var(--border-md); border-radius: var(--r-lg); }
.contact-right h3 { font-size: 15px; font-weight: 600; margin-bottom: 1rem; }
.apply-fields { display: flex; flex-direction: column; gap: 10px; }
.apply-field label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 4px; }
.apply-field input, .apply-field select, .apply-field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-md);
  border-radius: var(--r-sm); padding: 10px 12px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text);
  outline: none; transition: border-color .15s; -webkit-appearance: none;
}
.apply-field input:focus, .apply-field select:focus, .apply-field textarea:focus { border-color: var(--accent-border); }
.apply-field textarea { resize: none; height: 80px; }
.apply-field select option { background: #161616; }
.apply-submit {
  margin-top: 4px; width: 100%; padding: 12px;
  background: var(--accent); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
  border: none; border-radius: var(--r-sm); cursor: pointer; transition: opacity .15s;
}
.apply-submit:hover { opacity: .88; }

/* ============================================================
   UNIVERSITY / COMPOUND LIBRARY
   ============================================================ */
.uni-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 2rem; }
.uni-search {
  flex: 1; min-width: 220px;
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text); outline: none;
  transition: border-color .15s;
}
.uni-search:focus { border-color: var(--accent-border); }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  font-size: 12px; font-weight: 500; color: var(--text-2);
  padding: 7px 14px; border-radius: 20px;
  border: 1px solid var(--border-md); background: transparent;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: .15s;
}
.filter-chip:hover { border-color: var(--border-lg); color: var(--text); }
.filter-chip.active { background: var(--accent-dim); border-color: var(--accent-border); color: var(--accent); }

.compound-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compound-card {
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r); padding: 1.4rem;
  cursor: pointer; text-align: left; font-family: 'Inter', sans-serif;
  transition: border-color .18s, transform .18s, background .18s;
  display: flex; flex-direction: column; gap: .6rem;
}
.compound-card:hover { border-color: var(--accent-border); transform: translateY(-3px); background: var(--bg-2); }
.cc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cc-name { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.cc-generic { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.cc-class {
  font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.class-injectable { background: rgba(77,166,255,0.1); color: var(--accent); }
.class-oral { background: rgba(123,97,255,0.12); color: #a996ff; }
.class-ancillary { background: rgba(74,222,128,0.1); color: var(--green); }
.class-peptide { background: rgba(251,191,36,0.1); color: var(--yellow); }
.class-other { background: rgba(255,255,255,0.06); color: var(--text-2); }
.cc-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.cc-meta { display: flex; gap: 14px; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--border); }
.cc-meta div { font-size: 11px; color: var(--text-3); }
.cc-meta div b { display: block; color: var(--text); font-weight: 600; font-size: 12px; margin-top: 1px; }

/* Compound detail modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 4rem 1.5rem; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r-lg); max-width: 720px; width: 100%;
  position: relative; animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-head { padding: 1.75rem 2rem 1.25rem; border-bottom: 1px solid var(--border); position: relative; }
.modal-close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border-md); color: var(--text-2);
  cursor: pointer; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: .15s;
}
.modal-close:hover { color: var(--text); border-color: var(--border-lg); }
.modal-head h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 3px; padding-right: 2.5rem; }
.modal-head .cc-generic { font-size: 13px; }
.modal-tags { display: flex; gap: 6px; margin-top: .9rem; flex-wrap: wrap; }
.modal-body { padding: 1.5rem 2rem 2rem; }
.modal-body h4 {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); margin: 1.5rem 0 .6rem;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.prop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.prop { background: var(--bg-2); padding: 12px 14px; }
.prop-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.prop-val { font-size: 13px; font-weight: 500; color: var(--text); }
.risk-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.risk-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.risk-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 8px; }
.modal-disclaimer {
  margin-top: 1.75rem; padding: 1rem 1.1rem;
  background: rgba(251,191,36,0.05); border: 1px solid rgba(251,191,36,0.2);
  border-radius: var(--r-sm); font-size: 12px; color: var(--text-2); line-height: 1.65;
}
.modal-disclaimer b { color: var(--yellow); }

/* ── Education article cards (guides & uni articles) ── */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card {
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s;
}
.article-card:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.article-thumb {
  height: 120px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(77,166,255,0.12), rgba(123,97,255,0.12));
  border-bottom: 1px solid var(--border);
}
.article-thumb svg { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.article-body { padding: 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.article-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.01em; }
.article-body p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; flex: 1; }
.article-meta { margin-top: 1rem; font-size: 11px; color: var(--text-3); display: flex; gap: 10px; align-items: center; }
.badge-soon { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); background: rgba(251,191,36,0.1); padding: 2px 8px; border-radius: 20px; }

/* ── Affiliates ── */
.affiliate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.affiliate-card {
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column;
}
.aff-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1.1rem; }
.aff-logo {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--accent);
}
.aff-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.aff-tag { font-size: 12px; color: var(--text-3); }
.aff-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.aff-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.5rem; }
.aff-perks li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.aff-perks li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.aff-code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg-2); border: 1px dashed var(--border-lg); border-radius: var(--r-sm);
  padding: 10px 14px; margin-bottom: 1rem;
}
.aff-code-label { font-size: 11px; color: var(--text-3); }
.aff-code-val { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.affiliate-card.placeholder { border-style: dashed; opacity: .7; align-items: center; justify-content: center; text-align: center; min-height: 220px; }
.affiliate-card.placeholder p { font-size: 13px; color: var(--text-3); }

/* ── Prose (article / long-form) ── */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; margin: 2.5rem 0 .75rem; }
.prose h3 { font-size: 1.05rem; font-weight: 600; margin: 1.75rem 0 .5rem; }
.prose p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.1rem; color: var(--text-2); font-size: 14px; line-height: 1.8; }
.prose li { margin-bottom: .3rem; }

/* ── Disclaimer banner ── */
.disclaimer-banner {
  background: rgba(251,191,36,0.05); border: 1px solid rgba(251,191,36,0.18);
  border-radius: var(--r); padding: 1.5rem 1.75rem;
}
.disclaimer-banner h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: .5rem; display: flex; align-items: center; gap: 8px; }
.disclaimer-banner p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.disclaimer-banner p + p { margin-top: .6rem; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, rgba(77,166,255,0.08), rgba(123,97,255,0.06));
  border: 1px solid var(--accent-border); border-radius: var(--r-lg);
  padding: 3rem; text-align: center;
}
.cta-band h2 { font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: .6rem; }
.cta-band p { font-size: 14px; color: var(--text-2); max-width: 460px; margin: 0 auto 1.75rem; line-height: 1.7; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2.5rem;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .footer-logo { font-size: 16px; font-weight: 600; letter-spacing: -.02em; margin-bottom: .75rem; }
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-brand p { font-size: 12px; color: var(--text-3); line-height: 1.7; max-width: 300px; }
.footer-col h5 { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 13px; color: var(--text-2); text-decoration: none; margin-bottom: .6rem; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.75rem; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--text-3); line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .gateway-grid, .affiliate-grid { grid-template-columns: 1fr; }
  .compound-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(8,8,8,0.98); border-bottom: 1px solid var(--border); padding: .5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 2rem; width: 100%; }
  .nav-links .nav-cta { margin: .5rem 2rem; display: inline-block; width: auto; }
  .nav-toggle { display: block; }
  nav { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
  section { padding: 4.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; }
  .hero-photo-frame { max-width: 320px; margin: 0 auto; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .transforms-grid { grid-template-columns: 1fr; }
  .sheet-showcase { grid-template-columns: 1fr; gap: 2rem; }
  .sheet-preview { position: static; }
  .consult-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.75rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .compound-grid, .article-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band, .consult-inner { padding: 2.5rem 1.5rem; }
}

/* ── Scroll reveal ── */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* ── Focus visibility (accessibility) ── */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-cta:focus-visible, .btn:focus-visible { outline-offset: 3px; }

/* ── Hero dashboard card (replaces hero photo) ── */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 118%; height: 100%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77,166,255,0.18), transparent 72%);
  z-index: 0;
}
.dash-card {
  position: relative; z-index: 1; width: 100%; max-width: 430px;
  background: var(--bg-1); border: 1px solid var(--border-md);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 34px 70px rgba(0,0,0,0.55);
}
.dash-head { display: flex; align-items: center; gap: 7px; padding: .9rem 1.15rem; border-bottom: 1px solid var(--border); }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-dot.r { background: #ff5f57; } .dash-dot.y { background: #febc2e; } .dash-dot.g { background: #28c840; }
.dash-title { font-size: 12px; color: var(--text-3); font-weight: 500; margin-left: 6px; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 1rem 1.15rem .35rem; }
.dash-tab { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-3); }
.dash-tab.active { border-color: var(--accent-border); color: var(--accent); background: var(--accent-dim); }
.dash-rows { padding: .6rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: 6px; }
.dash-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: var(--bg-2); border-radius: 8px; padding: 9px 12px; }
.dr-label { font-size: 12px; color: var(--text-3); }
.dr-val { font-size: 12px; font-weight: 600; color: var(--text); text-align: right; }
.dr-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.dr-badge.up { background: rgba(77,166,255,.12); color: var(--accent); }
.dr-badge.good { background: rgba(74,222,128,.12); color: var(--green); }
.dr-badge.warn { background: rgba(251,191,36,.12); color: var(--yellow); }

@media (max-width: 760px) {
  .dash-card { max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   Styling refinements (v2 polish pass)
   ============================================================ */

/* Subtle page depth */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 500px at 100% -5%, rgba(77,166,255,0.05), transparent 60%),
    radial-gradient(800px 500px at -10% 100%, rgba(123,97,255,0.045), transparent 60%);
}

/* Gradient accent on headline highlights + key numerals */
#hero h1 em, .page-hero h1 em, h2.title em,
.consult-text h2 em, .cta-band h2 em, .stat-num {
  background: linear-gradient(118deg, #5cb0ff 0%, #8a7bff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Eyebrow label: gradient tick */
.label::before {
  width: 22px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Primary buttons: gradient + glow + micro-lift */
.btn-accent, .nav-cta, .apply-submit {
  background: linear-gradient(135deg, #4da6ff 0%, #6f7dff 100%);
  box-shadow: 0 6px 18px -8px rgba(77,166,255,0.55);
}
.btn-accent:hover, .nav-cta:hover, .apply-submit:hover {
  opacity: 1; transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(77,166,255,0.65);
}
.btn { transition: opacity .15s, border-color .15s, color .15s, transform .15s, box-shadow .2s; }
.btn-ghost:hover { transform: translateY(-1px); }

/* Nav underline indicator */
.nav-links a:not(.nav-cta) { position: relative; padding: 3px 0; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .22s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { width: 100%; }

/* Richer card depth on hover */
.gateway:hover, .article-card:hover, .compound-card:hover, .affiliate-card:hover {
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.85);
}
.transform-card { transition: border-color .18s, transform .18s, box-shadow .2s; }
.transform-card:hover { transform: translateY(-3px); border-color: var(--accent-border); box-shadow: 0 22px 44px -22px rgba(0,0,0,0.85); }

/* Pricing card: lift it as the focal point */
.pricing-card {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(77,166,255,0.06), transparent 60%),
    var(--bg-1);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}

/* CTA band + consult: soften with inner glow and depth */
.cta-band { box-shadow: 0 24px 60px -30px rgba(77,166,255,0.25); }

/* Section dividers as gradient hairlines */
.section-alt { border-top: none; position: relative; }
.section-alt::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md) 30%, var(--border-md) 70%, transparent);
}

/* Slightly crisper headings */
h2.title { font-weight: 650; }
#hero h1, .page-hero h1 { text-wrap: balance; }
p.sub, .page-hero p, #hero .lead { text-wrap: pretty; }

/* Compound cards: tidy accent on hover class label */
.compound-card:hover .cc-name { color: var(--accent); }
.cc-name { transition: color .15s; }

/* Footer polish */
footer { position: relative; }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
}

/* Mobile menu: solid, elevated panel */
@media (max-width: 760px) {
  .nav-links {
    background: #0a0a0a;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 44px -16px rgba(0,0,0,0.85);
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a.active { color: var(--accent); }
}

@media (max-width: 760px) {
  .nav-links .nav-cta { color: #fff; padding: 9px 20px; }
}

/* ── Coach story / meet your coach ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story-grid .lead-p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; max-width: 480px; }
.story-media { display: flex; justify-content: center; }
.story-media .transform-card { max-width: 430px; width: 100%; }
.story-cap { text-align: center; font-size: 12px; color: var(--text-3); padding: .9rem 1rem; letter-spacing: .02em; }
.story-cap b { color: var(--text-2); font-weight: 600; }
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .story-media { order: -1; }
}
