:root {
  --blue: #2E58A6;
  --blue-dark: #1F3F7C;
  --orange: #F19A2E;
  --orange-dark: #C9741A;
  --orange-light: #FFC67F;
  --ink: #1E2330;
  --muted: #555C6B;
  --tint: #F3F6FB;
  --line: #DDE3EE;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(30, 50, 90, 0.10);
  --header-h: 72px;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--blue); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--orange);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--blue); font-size: 1.1rem; }
.btn-light:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-small { padding: 0.5em 1.2em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 170px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 10px; text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.95rem; border-radius: 8px;
}
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--blue); background: var(--tint); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--blue); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; color: var(--white); min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 80px 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(31,63,124,0.95) 0%, rgba(46,88,166,0.85) 45%, rgba(46,88,166,0.35) 100%),
    url("../images/trainer-clinic.jpg") center/cover no-repeat;
}
.hero-content { position: relative; }
.hero .lead { max-width: 620px; font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.audience { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 820px; }
.audience a {
  display: block; text-decoration: none; color: var(--white);
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius); padding: 14px 16px; transition: background .2s;
}
.audience a:hover { background: rgba(255,255,255,0.22); }
.audience strong { display: block; font-size: 1.05rem; }
.audience span { font-size: 0.88rem; opacity: 0.9; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue .eyebrow, .hero .eyebrow { color: var(--orange-light); }
.eyebrow { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--orange-dark); margin-bottom: 0.6em; }
.lead { font-size: 1.2rem; }
.sub { margin-top: 64px; margin-bottom: 24px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 32px; }

/* Stats */
.stats { display: grid; gap: 20px; }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 22px 24px; border-radius: var(--radius); background: var(--tint); }
.stat-num { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--blue); line-height: 1.1; }
.stat-label { display: block; color: var(--muted); font-size: 1.05rem; }
.section-blue .stat { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); }
.section-blue .stat-num { color: var(--white); }
.section-blue .stat-label { color: rgba(255,255,255,0.88); }

/* Cost */
.cost-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 72px; }
.cost-total { font-size: 1.2rem; }
.cost-total span { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--blue); line-height: 1.1; }
.cost-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.cost-list li { display: flex; align-items: center; gap: 8px; }
.cost-list li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }
.cost-list li:nth-child(2)::before { background: var(--orange); }
.cost-list li:nth-child(3)::before { background: #8FA6D2; }
.cost-list span { font-weight: 700; }
.bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 3px; }
.bar i { width: var(--w); }
.bar .b1 { background: var(--blue); }
.bar .b2 { background: var(--orange); }
.bar .b3 { background: #8FA6D2; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* How it works */
.how { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.video { margin: 0; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); }
.video figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-family: var(--serif); font-weight: 900; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { font-family: var(--serif); font-size: 1.15rem; color: var(--blue); }
.steps span { color: var(--muted); }

/* Cards */
.cards { display: grid; gap: 28px; margin-top: 32px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 26px 28px 30px; }
.card h3 { color: var(--blue); }
.price { font-family: var(--serif); font-weight: 900; font-size: 1.8rem; color: var(--ink); }
.price span { font-family: var(--sans); font-weight: 400; font-size: 0.95rem; color: var(--muted); }

/* Reimbursement */
.reimb { margin-top: 0; }
.codes { margin: 0 0 20px; display: grid; gap: 12px; }
.codes div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
.codes dt { font-family: var(--serif); font-weight: 900; font-size: 1.3rem; color: var(--orange-light); }
.codes dd { margin: 0; }
.revenue { font-size: 1.15rem; background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 16px 20px; }
.revenue span { color: var(--orange-light); font-weight: 700; white-space: nowrap; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--white); border: 4px solid var(--orange); }
.timeline strong { display: block; font-family: var(--serif); color: var(--blue); font-size: 1.1rem; }
.timeline span { color: var(--muted); }
.stack { display: grid; gap: 20px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--tint); border-radius: var(--radius); padding: 22px; }
.tile b { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--blue); }
.tile span { color: var(--muted); }

/* Patents / funding */
.patents, .funding-list { list-style: none; padding: 0; margin: 0; }
.patents li, .funding-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.patents li:last-child, .funding-list li:last-child { border-bottom: 0; }
.patents span { font-weight: 700; margin-right: 8px; }
.funding-list span { display: inline-block; min-width: 72px; font-family: var(--serif); font-weight: 900; color: var(--blue); }
.funding-list .total { font-weight: 700; }
.funding-list .total span { color: var(--orange-dark); }

/* Team */
.person { text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 26px; }
.person img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; border: 4px solid var(--orange); }
.person h3 { color: var(--blue); font-size: 1.2rem; margin-bottom: 4px; }
.role { color: var(--orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.person p:last-child { text-align: left; color: var(--muted); margin: 0; }

/* Contact & footer */
.contact { text-align: center; }
.contact .lead { max-width: 640px; margin: 0 auto 28px; }
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,0.85); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-inner p { margin: 0; }
.small { font-size: 0.9rem; }

/* Tablet */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .site-nav a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .site-nav .btn { display: block; text-align: center; margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .brand img { width: 140px; }
  .section { padding: 64px 0; }
  .sub { margin-top: 48px; }
  .hero { min-height: auto; padding: 64px 0; }
  .hero-bg { background: linear-gradient(180deg, rgba(31,63,124,0.92), rgba(46,88,166,0.85)), url("../images/trainer-clinic.jpg") center/cover no-repeat; }
  .audience { grid-template-columns: 1fr 1fr; }
  .split, .cost-block, .how, .cards-2, .cards-3, .stats-3 { grid-template-columns: 1fr; gap: 28px; }
  .cost-block { margin-top: 48px; }
  .cost-block img { order: 2; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 16px; }
  .tile b { font-size: 1.2rem; }
  .codes div { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
