@font-face { font-family: "Aboreto"; src: url("/assets/fonts/Aboreto-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/Roboto-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/Roboto-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("/assets/fonts/RobotoCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --surface: #ffffff;
  --ink: #000000;
  --soft: #f6f4ee;
  --muted: #555555;
  --line: #e4e0d4;
  --gold: #edc448;
  --action: #000000;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 "Roboto", system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Aboreto", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 var(--s2); letter-spacing: .02em; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 24px; margin-top: var(--s4); }
p { margin: 0 0 var(--s2); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.kicker, .card-label, .form-title { font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.kicker { margin-bottom: var(--s2); display: inline-block; border-bottom: 3px solid var(--gold); padding-bottom: 2px; }
.muted { color: var(--muted); font-family: "Roboto", sans-serif; font-size: 17px; letter-spacing: 0; }

/* buttons: one action color */
.btn { display: inline-block; background: var(--action); color: #fff; border: 2px solid var(--action); border-radius: 6px; padding: 14px 26px; font: 700 17px/1.2 "Roboto", sans-serif; text-decoration: none; cursor: pointer; min-height: 48px; text-align: center; }
.btn:hover { background: #222; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid #000; outline-offset: 2px; box-shadow: 0 0 0 6px var(--gold); }
.final a:focus-visible, .footer a:focus-visible, .contact a:focus-visible { outline-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--soft); }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); }
.btn[disabled] { opacity: .45; cursor: default; }
.signup .btn[disabled] { opacity: .7; cursor: wait; }

/* top bar */
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s2); }
.logos { display: flex; align-items: center; gap: 14px; }
.logos img { height: 40px; width: auto; }
.logo-div { width: 1px; height: 32px; background: var(--line); }
.topbar-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* hero */
.hero { padding: var(--s4) 0 var(--s5); background: linear-gradient(180deg, var(--soft), #fff); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy form" "img form"; column-gap: var(--s4); align-items: start; }
.hero-copy { grid-area: copy; }
.hero-form { grid-area: form; }
.hero-img { grid-area: img; }
.sub { font-size: 20px; max-width: 34ch; }
.facts { list-style: none; padding: 0; margin: var(--s3) 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.facts li { border-left: 3px solid var(--gold); padding-left: 10px; }
.facts strong { font-size: 22px; }
.hero-img { margin: var(--s3) 0 0; }
.preview .player { box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.preview figcaption { margin-top: 10px; font-weight: 700; line-height: 1.4; }
.preview figcaption .kicker { margin: 0 6px 0 0; padding: 0; border: 0; color: #8a6d12; }
.preview figcaption .muted { font-weight: 400; font-size: 15px; }
.preview .play { display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* form */
.signup { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 8px; padding: var(--s3); box-shadow: 0 12px 34px rgba(0,0,0,.08); position: sticky; top: 16px; }
.form-title { font-size: 18px; margin-bottom: var(--s2); }
.signup label { display: block; font-weight: 700; font-size: 15px; margin-bottom: var(--s2); }
.signup input:not([type=checkbox]) { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 17px "Roboto", sans-serif; border: 1px solid #767676; border-radius: 6px; min-height: 48px; background: #fff; color: #000; }
.signup input[aria-invalid=true] { border-color: #b00020; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.45; color: #333; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #000; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .btn { width: 100%; font-size: 18px; }
.form-msg { margin: var(--s2) 0 0; font-weight: 700; min-height: 0; }
.form-msg.err { color: #b00020; }
.form-note { font-size: 14px; color: var(--muted); margin: var(--s1) 0 0; }

/* inside */
.inside, .about, .welcome, .list, .contact { padding: var(--s5) 0; }
.lead { font-size: 19px; color: #333; }
.eplist { list-style: none; padding: 0; margin: var(--s3) 0 0; border-top: 1px solid var(--line); }
.eplist li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.eplist .num { font-family: "Roboto Condensed", sans-serif; font-weight: 700; color: #8a6d12; }
.eplist .d { color: var(--muted); font-size: 15px; }
.bonuslist { columns: 2; column-gap: var(--s4); padding-left: 20px; }
.bonuslist li { margin-bottom: 8px; break-inside: avoid; }

/* about */
.about { background: var(--soft); }
.about-in { display: grid; grid-template-columns: 160px 1fr; gap: var(--s4); align-items: start; }
.about img { border-radius: 50%; border: 4px solid var(--gold); }

/* final */
.final { background: #000; color: #fff; padding: var(--s5) 0; text-align: center; }
.final p { font-size: 22px; margin-bottom: var(--s3); }

/* footer */
.footer { background: #111; color: #ddd; padding: var(--s4) 0; font-size: 15px; }
.footer a { color: #fff; }
.footer-logos { display: flex; gap: var(--s3); align-items: center; margin-bottom: var(--s2); }
.footer-logos img { height: 44px; width: auto; }
.license { color: #fff; font-weight: 700; font-size: 16px; }
.eho-mark { font-size: 18px; }

/* course page */
.player-wrap { padding: var(--s4) 0; background: var(--soft); }
.now-title { font-size: clamp(24px, 3.4vw, 34px); }
.player { position: relative; aspect-ratio: 16 / 9; max-width: 960px; background: #000; border-radius: 8px; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--gold); color: #000; font-size: 30px; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.play span { margin-left: 6px; }
.player.unavailable .play { display: none; }
.player-msg { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.8); color: #fff; padding: 12px 16px; margin: 0; }
.player-nav { max-width: 960px; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); }
.progress { margin: 0; color: var(--muted); text-align: center; }
.cards { list-style: none; padding: 0; margin: var(--s3) 0 var(--s5); display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); }
.card-link { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 100%; background: #fff; transition: box-shadow .15s; }
.card-link:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card.current .card-link { border: 2px solid var(--gold); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 13px; padding: 2px 6px; border-radius: 4px; }
.done-badge { display: none; position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #000; font-weight: 700; align-items: center; justify-content: center; }
.card.done .done-badge { display: flex; }
.card-text { display: block; padding: var(--s2); }
.card-label { display: block; color: #8a6d12; font-size: 13px; }
.card-title { display: block; font-weight: 700; margin: 4px 0 6px; line-height: 1.3; }
.card-hook { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.contact { background: #000; color: #fff; }
.contact .btn { background: #fff; color: #000; border-color: #fff; }
.contact .btn-outline { background: transparent; color: #fff; }
.contact .btn-outline:hover { background: #222; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s3); }

/* privacy */
.prose { padding: var(--s4) 16px var(--s5); }
.prose h2 { font-size: 26px; margin-top: var(--s4); }

/* phone */
@media (max-width: 860px) {
  .hero { padding-top: var(--s3); }
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "img" "form"; gap: var(--s2); }
  .hero-img { margin: 0 0 var(--s1); }
  .facts { margin-bottom: 0; }
  .signup { position: static; }
  .about-in { grid-template-columns: 1fr; gap: var(--s3); }
  .about img { width: 120px; }
}
@media (max-width: 520px) {
  .logos img { height: 32px; }
  .topbar-phone { font-size: 15px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .bonuslist { columns: 1; }
  .player-nav .btn { padding: 12px 14px; font-size: 15px; }
  .inside, .about, .welcome, .list, .contact, .final { padding: var(--s4) 0; }
}
