/* Layout: black hero bands with the course-thumbnail diagonal, white reading bands, blue call-to-action band. Single deliberate light/black look. */
:root {
  --blue: #1571b0;
  --blue-light: #4fa3d9;
  --black: #000000;
  --ink: #0b0f14;
  --white: #ffffff;
  --tint: #f2f6fa;
  --muted: #5d6874;
  --line: #dbe3ea;
  --display: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Poppins", "Segoe UI", Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 800; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: calc(var(--gutter-l) + 8px);
  padding-right: calc(var(--gutter-r) + 8px);
}

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
body[data-page="how-it-works"] [data-nav="how-it-works"],
body[data-page="about"] [data-nav="about"],
body[data-page="work-with-us"] [data-nav="work-with-us"],
body[data-page="contact"] [data-nav="contact"] { color: var(--blue); border-bottom-color: var(--blue); }
.menu-btn {
  display: none; font: 600 0.95rem var(--body); background: none; border: 2px solid var(--ink);
  color: var(--ink); border-radius: 6px; padding: 6px 14px; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem var(--body); text-decoration: none; letter-spacing: 0.01em;
  background: var(--blue); color: var(--white);
  padding: 15px 30px; border-radius: 6px; border: 2px solid var(--blue);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { background: #0f5a8f; border-color: #0f5a8f; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-light { background: var(--blue-light); border-color: var(--blue-light); color: var(--black); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--white); border-color: var(--white); color: var(--black); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.email-line { color: var(--muted); font-size: 0.95rem; }
.email-line.on-dark { color: rgba(255, 255, 255, 0.75); }
.addr { user-select: all; font-weight: 600; }

/* Bands */
.band { padding-block: clamp(64px, 9vw, 112px); }
.band-tint { background: var(--tint); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600;
  color: var(--blue-light); margin-bottom: 18px;
}

/* Hero: black ground with the thumbnail diagonal in blue */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 38%;
  background: var(--blue); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .hl { color: var(--blue-light); display: block; }
.hero .lede { color: rgba(255, 255, 255, 0.86); font-size: 1.15rem; max-width: 34em; margin-top: 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-stack { position: relative; aspect-ratio: 16 / 13; max-width: 100%; }
.hero-stack img {
  position: absolute; width: 82%; border-radius: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stack .s1 { left: 0; bottom: 0; transform: rotate(-4deg); }
.hero-stack .s2 { left: 10%; top: 22%; transform: rotate(2deg); }
.hero-stack .s3 { right: 0; top: 0; transform: rotate(6deg); }
.hero-short::after { width: 26%; }
.hero-short h1 { max-width: 16em; }
.lede-stack { display: grid; gap: 4px; }
.lede-stack .lede { margin-top: 22px; }
.lede-stack .lede + .lede { margin-top: 0; }

/* Split rows: heading left, prose right */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px 72px; align-items: start; }
.split-head { position: sticky; top: 100px; }
.prose { display: grid; gap: 22px; max-width: 38em; min-width: 0; }
.prose p { font-size: 1.08rem; }
.prose .punch {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.35;
  color: var(--blue); padding-top: 6px; letter-spacing: -0.01em;
}
.prose .motto {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; padding-top: 10px;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 24px; display: grid; gap: 12px; align-content: start;
  border-top: 4px solid var(--blue);
}
.card p { color: var(--muted); font-size: 0.98rem; }

/* ROI calculator */
.lm-calc {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: 10px; padding: 28px 26px; display: grid; gap: 22px;
  box-shadow: 0 10px 30px rgba(11, 15, 20, 0.06);
}
.prose .lm-calc-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.lm-calc-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.lm-field { display: grid; gap: 6px; min-width: 0; }
.lm-field > span:first-child { font-size: 0.85rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.lm-field-wide { grid-column: 1 / -1; }
.lm-field input {
  width: 100%; font: 700 1.15rem var(--body); color: var(--ink);
  border: 2px solid var(--line); border-radius: 6px; padding: 10px 12px; background: var(--white);
  -moz-appearance: textfield;
}
.lm-field input::-webkit-outer-spin-button, .lm-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lm-field input:focus { outline: none; border-color: var(--blue-light); }
.lm-money { position: relative; display: block; }
.lm-money > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.lm-money input { padding-left: 28px; }
.lm-calc-rates {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  background: var(--tint); border-radius: 8px; padding: 16px; text-align: center;
}
.lm-calc-rates > div:not(.lm-rate-arrow) { display: grid; }
.lm-rate-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.lm-rate { font-weight: 800; font-size: 1.8rem; line-height: 1.2; color: var(--muted); }
.lm-rate-after { color: var(--blue); }
.lm-rate-arrow { font-size: 1.6rem; color: var(--blue-light); font-weight: 700; }
.lm-calc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lm-result { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; min-width: 0; }
.lm-result-label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.lm-result-num { font-weight: 800; font-size: 1.6rem; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lm-result-big { grid-column: 1 / -1; background: var(--blue); border-color: var(--blue); }
.lm-result-big .lm-result-label { color: rgba(255, 255, 255, 0.85); }
.lm-result-big .lm-result-num { color: var(--white); font-size: clamp(2rem, 5vw, 2.8rem); }
.prose .lm-calc-note { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 480px) {
  .lm-calc { padding: 22px 18px; }
  .lm-calc-inputs, .lm-calc-results { grid-template-columns: minmax(0, 1fr); }
}

/* Founder strip (home) */
.founder-strip {
  margin-top: 44px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 32px 56px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 32px;
}
.founder-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.founder-photo {
  margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
  background: var(--tint); display: grid; place-items: center;
}
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-photo figcaption { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.founder-copy { display: grid; gap: 14px; min-width: 0; }
.founder-copy h3 { font-size: 1.5rem; }
.founder-copy p { color: var(--muted); }
.founder-link { font-weight: 700; text-decoration: none; justify-self: start; }
.founder-link:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .founder-strip { grid-template-columns: minmax(0, 1fr); }
  .founder-photos { max-width: 420px; }
}
@media (max-width: 720px) { .founder-strip { padding: 22px 18px; } }

/* Course stages */
.stage { margin-top: 52px; display: grid; gap: 22px; }
.stage-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 12px 72px; align-items: baseline; }
.stage-head h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; }
.stage-letter {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 6px;
  font-weight: 800; font-size: 1.2rem; color: var(--white); background: var(--black);
}
.stage-link .stage-letter { background: var(--blue); }
.stage-head p { color: var(--muted); max-width: 38em; min-width: 0; }
.course-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
}
.course-grid img { border-radius: 8px; box-shadow: 0 6px 18px rgba(11, 15, 20, 0.12); transition: transform 0.2s; }
.course-grid img:hover { transform: translateY(-3px); }

/* Founder */
.founder-tag { border-left: 4px solid var(--blue); padding-left: 20px; }
.founder-name { font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1.15; letter-spacing: -0.02em; }
.founder-role { color: var(--muted); font-weight: 500; margin-top: 4px; }

/* Benefits */
.benefits { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.benefits li { padding-block: 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.benefits h3 { font-size: 1.25rem; }
.benefits p { color: var(--muted); }
.benefits li:last-child { grid-column: 1 / -1; }

/* FAQ */
.faq { display: grid; min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding-block: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--blue); left: 0; top: 7px; width: 16px; height: 2px; transition: transform 0.2s; }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 38em; }

/* Closing call to action */
.band-cta { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.band-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 22%;
  background: var(--black); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-inner { position: relative; z-index: 1; max-width: 1160px; }
.cta-inner h2 { max-width: 16em; }
.cta-inner > p { margin-top: 18px; font-size: 1.12rem; max-width: 34em; color: rgba(255, 255, 255, 0.92); }

/* Contact */
.contact-hero { padding-block: clamp(80px, 12vw, 150px); }
.contact-inner .lede { max-width: 32em; }
.contact-inner .lede + .lede { margin-top: 12px; }
.based { margin-top: 28px; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.75); padding-block: 48px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.foot-logo { width: 140px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.foot-nav a:hover { color: var(--blue-light); }
.foot-meta { font-size: 0.9rem; line-height: 1.7; text-align: right; }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .course-grid li { flex: 0 0 40%; scroll-snap-align: start; }
  .split, .stage-head { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stack { max-width: 520px; width: 100%; }
  .hero::after { width: 30%; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .head-inner { position: relative; }
  .brand img { width: 128px; }
  .cards, .benefits { grid-template-columns: minmax(0, 1fr); }
  .course-grid li { flex-basis: 78%; }
  .hero::after { top: auto; height: 300px; width: 100%; clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%); }
  .hero-short::after, .contact-hero::after, .band-cta::after { display: none; }
  .foot-meta { text-align: left; }
  .btn { width: 100%; }
  .site-nav .btn-sm { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .course-grid img { transition: none; }
}
.founder-photos-one { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.founder-photos-one .founder-photo { aspect-ratio: 1 / 1; border: 0; }
.email-line a.addr { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
