@font-face {
  font-family: "Red Hat Display";
  src: url("/assets/red-hat-display/latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #15232c;
  --paper: #f7f6ef;
  --muted: #526068;
  --line: #d2d6cf;
  --lime: #c2f46e;
  --navy: #101c27;
  --green: #2c5b42;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
  --gutter: clamp(1.15rem, 4.5vw, 4.5rem);
  --width: 74rem;
  font-family: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, video:focus-visible, summary:focus-visible {
  outline: 3px solid #247aa1; outline-offset: 4px;
}
.wrap, .site-nav { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .6rem 1rem; background: white; z-index: 50; }
.skip-link:focus { top: .5rem; }
.site-header, .site-footer { background: var(--navy); color: #f1f3ee; }
.site-nav { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2rem; min-height: 4.4rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 8.2rem; height: auto; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 2.6vw, 2rem); }
.nav-links a, .nav-links button { font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links button:hover { color: var(--lime); }
.nav-access { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .48rem 1rem; border: 1px solid #697479; border-radius: 2px; color: inherit; background: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 46px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 3px; font: 700 .96rem/1.3 var(--sans); text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.btn-primary { color: white; background: var(--ink); }
.btn-primary:hover { background: #2c443f; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #d5fa99; }
.btn-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.btn-outline:hover { background: #e5e9dd; }
.btn:disabled { opacity: .6; cursor: wait; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; font-weight: 700; text-underline-offset: .35rem; }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin: 0; font: 650 .72rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.edition-mark { width: .55rem; height: .55rem; display: inline-block; background: var(--green); }
.hero { padding: clamp(3rem, 5.5vw, 5rem) 0 0; }
.hero--centred > .wrap > .eyebrow { justify-content: center; }
.hero h1, .section-heading h2, .sample h2, .auth-panel h1, .academy-app h1 { letter-spacing: -.045em; }
.hero h1 { margin: .5rem 0 .55rem; text-align: center; font-size: clamp(4.2rem, 7.9vw, 7.15rem); font-weight: 730; line-height: 1.03; }
.hero h1 em, .sample h2 em { font: italic .98em/.98 var(--serif); letter-spacing: -.052em; }
.hero h1 em { color: var(--green); }
.hero--centred h1 { max-width: 17ch; margin-inline: auto; text-wrap: balance; }
.hero-deck { max-width: 38rem; margin: .75rem auto 0; font-size: clamp(1rem, 1.45vw, 1.17rem); text-align: center; color: #37474d; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin: 1.4rem auto 0; }
.play-icon { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--lime); }
.sample { display: grid; grid-template-columns: .7fr 1.3fr; padding: clamp(1.25rem, 3.1vw, 2.75rem); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-top: clamp(2rem, 4vw, 3.4rem); background: #e1e8d5; border: 1px solid #cad3bd; border-radius: 3px; scroll-margin: 1rem; }
.sample-copy { min-width: 0; }
.sample h2 { margin: .7rem 0 .6rem; font-size: clamp(2.5rem, 4.4vw, 4.3rem); font-weight: 690; line-height: .99; }
.sample-copy > p:not(.eyebrow) { max-width: 29ch; margin: .8rem 0; color: #35453e; }
.sample-length { display: inline-flex; gap: .65rem; align-items: center; margin-top: .35rem; font-size: .85rem; font-weight: 650; }
.sample-length span { padding-left: .65rem; border-left: 1px solid #7c8b73; font-family: var(--mono); font-weight: 400; }
.sample-offer { display: block; width: fit-content; grid-column: 1 / -1; margin-top: .7rem; font-size: .9rem; font-weight: 650; text-underline-offset: .2em; }
.sample figure { position: relative; margin: 0; background: #081527; }
.preview-cover { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: #081527 url("/assets/poster.jpg") center / cover no-repeat; }
.preview-play { width: 3.5rem; height: 3.5rem; border: 1px solid #edf6df; border-radius: 50%; background: #15232cf0; display: grid; place-items: center; box-shadow: 0 2px 12px #0004; }
.preview-play::after { content: ""; display: block; margin-left: .2rem; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--lime); }
.preview-cover:hover .preview-play { background: #264333; }
.sample video, .academy-app video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #081527; }
.marketing-choice { position: fixed; z-index: 20; inset: auto 1rem 1rem; max-width: 36rem; padding: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--green); box-shadow: 0 .2rem 1rem #18261c30; }
.marketing-choice p { margin: 0 0 .6rem; }
.marketing-choice button { padding: .4rem 1rem; background: white; color: var(--ink); border: 1px solid var(--green); cursor: pointer; }
.course-meta { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.course-meta div { padding: 0 clamp(.75rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.course-meta div:first-child { padding-left: 0; border-left: 0; }
.course-meta dt { font-size: .78rem; color: var(--muted); }
.course-meta dd { margin: 0; font-weight: 700; font-size: 1.1rem; }
.syllabus { --bg: #e1e8d5; --accent: var(--green); --r-lg: 0; }
.syllabus, .offer { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.program-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 7vw, 7rem); }
.section-heading h2 { margin: .75rem 0 1rem; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 690; line-height: 1; }
.section-heading > p:not(.eyebrow) { max-width: 34ch; color: var(--muted); margin: .7rem 0; }
.lesson-list { counter-reset: lessons; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.lesson-list li { counter-increment: lessons; display: grid; grid-template-columns: 1.8rem 1fr auto; align-items: baseline; gap: .6rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.lesson-list li::before { content: counter(lessons, decimal-leading-zero); font: .78rem var(--mono); color: var(--green); }
.lesson-list time { color: var(--muted); font: .78rem var(--mono); }
.offer { --bg: var(--paper); --accent: var(--lime); --r-lg: 0; background: #233d36; color: white; }
.offer .eyebrow { color: var(--lime); }
.offer .section-heading > p:not(.eyebrow) { color: #d6e2d9; max-width: 44ch; }
.offer-options { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,5vw,5rem); margin-top: 2rem; }
.offer-option { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid #829889; padding-top: 1.3rem; }
.offer-option h3 { margin: 0; font-size: clamp(1.45rem,2.7vw,2rem); letter-spacing: -.035em; line-height: 1.1; }
.offer-meta { margin: .45rem 0 0; color: var(--lime); font-weight: 650; }
.offer-option > p:not([class]) { color: #d6e2d9; margin: .75rem 0 1.1rem; max-width: 42ch; }
.offer-option .purchase-price { margin-top: auto; margin-bottom: .8rem; font-size: clamp(2.85rem,5.5vw,4.4rem); }
.offer-option .offer-info { margin: .65rem 0 0; }
.offer-info:empty { display: none; }
.offer-info a { text-underline-offset: .2em; }
.btn-outline-light { color: white; border-color: #abc0b2; }
.btn-outline-light:hover { color: var(--navy); background: #e2edde; }
.purchase-price { margin: 0; font-size: clamp(3.5rem, 6vw, 6rem); letter-spacing: -.075em; line-height: 1.05; font-weight: 650; font-variant-numeric: lining-nums; }
.offer-info { font-size: .9rem; color: #deeadf; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.3rem; flex-wrap: wrap; font-size: .86rem; padding-block: 1.8rem; }
.footer-inner > span:first-child { font-weight: 750; }
.footer-inner a { text-underline-offset: .2em; }
.auth-page { display: flex; flex-direction: column; min-height: 100svh; }
.auth-main { flex: 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; width: min(62rem, calc(100% - 2 * var(--gutter))); margin: clamp(2.3rem, 7vw, 6rem) auto; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.6rem, 4vw, 3.2rem); background: #233d36; color: white; }
.auth-aside .eyebrow { color: var(--lime); }
.auth-aside h2 { margin: 3rem 0 .8rem; font-size: clamp(3rem, 5.5vw, 5.2rem); line-height: .99; letter-spacing: -.06em; font-weight: 600; }
.auth-aside h2 em { font: italic 1em var(--serif); color: #d7eeb7; }
.auth-aside p:last-child { color: #d7e0d9; max-width: 28ch; margin-bottom: 0; }
.auth-panel { min-width: 0; padding: clamp(1.6rem, 4vw, 3.2rem); background: #fffefa; border: 1px solid var(--line); }
.auth-panel h1, .academy-app h1 { font-size: clamp(2.35rem, 4vw, 3.8rem); line-height: 1.05; font-weight: 700; margin: 0 0 .8rem; }
.auth-description { color: var(--muted); margin: .4rem 0 1.3rem; }
.auth-panel form, .auth-panel label { display: grid; }
.auth-panel form { gap: 1rem; }
.auth-panel label { gap: .4rem; font-size: .9rem; font-weight: 700; }
.auth-panel input, .academy-app input:not([type="checkbox"]):not([type="radio"]), .academy-app select {
  width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1px solid #89958c; border-radius: 2px; color: var(--ink); background: #fff;
}
.field-hint { font-weight: 400; font-size: .85rem; color: var(--muted); }
.auth-links { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; font-size: .9rem; margin: 1.1rem 0 0; }
.auth-links a { text-underline-offset: .2rem; }
.form-status:not(:empty) { display: block; border-left: 3px solid var(--green); padding: .65rem .8rem; background: #e8f1e2; margin-bottom: 0; }
.form-status[data-error="true"]:not(:empty) { border-color: #983e23; background: #f9e9e4; }
.academy-app { padding-block: clamp(2rem, 5vw, 5rem); }
.academy-app h2 { line-height: 1.15; letter-spacing: -.035em; }
@media (max-width: 760px) {
  .sample { grid-template-columns: 1fr; }
  .sample-copy { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; align-items: start; }
  .sample-copy .eyebrow { grid-column: 1 / -1; }
  .sample h2 { margin: .2rem 0 0; }
  .sample-copy > p:not(.eyebrow) { margin: .2rem 0 0; }
  .sample-length { grid-column: 1 / -1; }
  .program-grid { grid-template-columns: 1fr; }
  .section-heading h2 br { display: none; }
  .section-heading h2 br::after { content: " "; }
  .section-heading > p:not(.eyebrow) { max-width: 54ch; }
  .offer-options { grid-template-columns: 1fr; }
  .auth-main { flex: none; grid-template-columns: 1fr; max-width: 34rem; }
  .auth-page .site-footer { margin-top: auto; }
  .auth-aside { display: none; }
}
@media (max-width: 540px) {
  .site-nav { min-height: 4rem; gap: .5rem; }
  .brand img { width: 6.75rem; }
  .nav-course { display: none; }
  .nav-links { gap: .8rem; }
  .nav-links a, .nav-links button { font-size: .83rem; }
  .nav-access { padding: .4rem .6rem; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(3.15rem, 12vw, 4.6rem); }
  .hero-deck { font-size: 1rem; }
  .hero-actions { gap: .85rem; flex-wrap: wrap; margin-top: 1rem; }
  .hero-actions .btn, .hero-actions .text-link { font-size: .88rem; }
  .sample-copy { display: block; }
  .sample h2 { font-size: 2.4rem; margin: .3rem 0 .5rem; }
  .sample h2 br { display: none; }
  .sample h2 em::before { content: " "; }
  .sample-copy > p:not(.eyebrow) { max-width: 100%; }
  .sample { gap: 1rem; }
  .course-meta { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .course-meta div:nth-child(3) { padding-left: 0; border: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .auth-panel { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.bundle-program { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.6fr); gap: clamp(1.75rem, 4vw, 4rem); }
.bundle-course-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.bundle-course-list li { padding: 1.1rem 1.25rem; border: 1px solid #becaba; border-top: 3px solid var(--green); background: #f8faf3; }
.bundle-course-list h3 { margin: 0; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.025em; }
.bundle-course-list p { margin: .55rem 0 0; line-height: 1.45; }
.bundle-course-list .course-duration { margin-top: .35rem; color: var(--green); font-family: var(--mono); font-size: .78rem; }
.bundle-course-list .course-exercise { color: var(--muted); font-size: .93rem; }
@media (max-width: 880px) {
  .bundle-program { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .bundle-course-list { grid-template-columns: 1fr; }
}
