/* Shared styles for the course landing pages. Tokens match index.html. */
:root {
  color-scheme: light dark;
  --bg: #f5f5f0;
  --surface: #ffffff;
  --surface-2: #e8ebe3;
  --ink: #13261f;
  --muted: #526158;
  --line: #cad1c8;
  --green: #123f32;
  --green-2: #d4e8da;
  --orange: #f36c35;
  --yellow: #f5c749;
  --blue: #6db4d1;
  --night: #0b1a14;
  --shadow: 0 18px 50px rgba(21, 50, 40, .12);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 34px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101814;
    --surface: #17221d;
    --surface-2: #202e28;
    --ink: #eff5ef;
    --muted: #b6c2b9;
    --line: #35443b;
    --green: #9ed8b2;
    --green-2: #274233;
    --orange: #ff8555;
    --yellow: #f7cf5a;
    --blue: #81c2dc;
    --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
button, a, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3 { font-family: Manrope, sans-serif; margin: 0; letter-spacing: -.045em; line-height: 1.06; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
section { padding: 104px 0; }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-weight: 800; font-size: 14px; letter-spacing: .02em; }

/* Contact bar + nav (sits on top of the hero photo) */
.contact-bar { background: var(--night); color: #dfe9e3; font-size: 13px; font-weight: 600; position: relative; z-index: 3; }
.contact-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 24px; padding: 8px 0; }
.contact-row a { text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }
.site-header { position: absolute; z-index: 3; left: 0; right: 0; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { font-family: Manrope, sans-serif; font-weight: 800; text-decoration: none; letter-spacing: -.03em; color: #fff; font-size: 18px; }
.brand span { color: #ff9a6e; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.button) { color: #d7e3dc; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:not(.button):hover { color: #fff; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: var(--orange); color: #171c18; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: #ff8150; box-shadow: 0 10px 30px rgba(243,108,53,.35); }
.button.ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.button.ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.button.dark { background: #173b30; color: #fff; }
.button.dark:hover { background: #1f4d3f; box-shadow: 0 10px 30px rgba(18,63,50,.35); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(92vh, 860px); display: flex; align-items: center; padding: 150px 0 96px; background: var(--night); color: #fff; }
.hero::before { content: ""; position: absolute; inset: -4%; z-index: -2; background-image: var(--hero-img); background-size: cover; background-position: var(--hero-pos, center); animation: drift 26s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(243,108,53,.28), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(109,180,209,.18), transparent 60%),
    linear-gradient(90deg, rgba(9,24,18,.95) 0%, rgba(9,24,18,.84) 48%, rgba(9,24,18,.5) 100%); }
@keyframes drift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 56px; align-items: center; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); color: #f0f5f2; }
.chip.hot { background: var(--orange); border-color: var(--orange); color: #171c18; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); max-width: 800px; }
.hero .tagline { margin: 22px 0 0; font: 800 clamp(20px, 2.2vw, 26px)/1.2 Manrope, sans-serif; letter-spacing: -.02em; color: #ff9a6e; }
.hero h1 em { font-style: normal; color: var(--yellow); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 6px; text-underline-offset: 10px; text-decoration-skip-ink: none; }
.hero .lead { max-width: 640px; margin: 14px 0 32px; color: #e3ece6; font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.glass { background: rgba(14,32,25,.55); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md); padding: 28px; backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.glass-title { margin: 0 0 6px; font: 800 22px/1.06 Manrope, sans-serif; letter-spacing: -.02em; }
.glass > p { margin: 0 0 18px; color: #c9d7cf; font-size: 15px; }
.included { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.included li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.included strong { font-family: Manrope, sans-serif; display: block; font-size: 16px; letter-spacing: -.01em; }
.included span { font-size: 13px; color: #b9c9c0; }
.included .price { font-family: Manrope, sans-serif; font-weight: 800; color: var(--yellow); font-size: 18px; white-space: nowrap; }
.glass .button { width: 100%; }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.45); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Stat strip */
.strip { background: var(--green); color: var(--bg); padding: 0; }
@media (prefers-color-scheme: dark) { .strip { color: #102218; } }
.strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.18); }
.strip div:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font-family: Manrope, sans-serif; font-size: 22px; letter-spacing: -.02em; }
.strip span { font-size: 14px; opacity: .8; }

/* Section heads */
.section-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 560px; }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: out; }
.outcome { counter-increment: out; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px 28px 28px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.outcome::before { content: "0" counter(out); display: block; font: 800 14px Manrope, sans-serif; color: var(--orange); margin-bottom: 26px; }
.outcome::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--blue)); transform: scaleX(.18); transform-origin: left; transition: transform .45s ease; }
.outcome:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.outcome:hover::after { transform: scaleX(1); }
.outcome h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 10px; }
.outcome p { margin: 0; color: var(--muted); }

/* Course outline */
.outline-sec { padding-top: 0; }
.modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.modules li { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.m-num { font: 800 13px Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.modules h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 6px; }
.modules p { margin: 0; color: var(--muted); font-size: 17px; max-width: 720px; }

/* Before / after demo on a photo band */
.demo { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); }
.demo::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--band-img, var(--hero-img)); background-size: cover; background-position: center; filter: saturate(.8); }
.demo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,24,18,.92), rgba(9,24,18,.8) 50%, rgba(9,24,18,.94)); }
@media (min-width: 900px) and (hover: hover) { .demo::before { background-attachment: fixed; } }
.demo .section-head p { color: #c9d7cf; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.card-note { border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.card-note.after { background: linear-gradient(160deg, rgba(29,90,71,.92), rgba(18,63,50,.92)); border-color: rgba(158,216,178,.4); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.card-label { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #b9c9c0; margin-bottom: 14px; }
.card-label i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.card-note.after .card-label { color: #cfe9d9; }
.card-note.after .card-label i { background: var(--yellow); }
.card-note p { margin: 0; font-size: 17px; line-height: 1.55; }
.card-note ul, .card-note ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.compare .arrow { align-self: center; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #171c18; font: 800 22px Manrope, sans-serif; box-shadow: 0 0 0 10px rgba(243,108,53,.18); }

.tip { margin-top: 22px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--radius-md); border: 1px dashed rgba(247,207,90,.55); background: rgba(247,207,90,.08); }
.tip b { font: 800 14px Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.tip p { margin: 0; font-size: 17px; color: #eef4f0; }
.callout { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border-radius: var(--radius-md); background: #fff; color: #13261f; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.callout .eyebrow { margin-bottom: 8px; }
.callout h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 8px; }
.callout p:not(.eyebrow) { margin: 0; color: #526158; max-width: 560px; }

/* Who it's for */
.who { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.who p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.tags span:nth-child(3n+1) { border-color: var(--orange); }
.tags span:nth-child(3n+2) { border-color: var(--blue); }
.tags span:nth-child(3n) { border-color: var(--yellow); }

/* Unlock */
.unlock { position: relative; isolation: isolate; overflow: hidden; background: var(--green); color: #fff; }
@media (prefers-color-scheme: dark) { .unlock { background: #0f2a20; } }
.unlock::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(243,108,53,.4), transparent 65%); }
.unlock::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -280px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(109,180,209,.3), transparent 65%); }
.unlock .section-head p { color: #d4e3da; }
.unlock .eyebrow { color: #ff9a6e; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer { display: flex; flex-direction: column; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md); padding: 32px; transition: transform .25s ease, background .25s ease; }
.offer:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.offer.featured { background: #fff; color: #13261f; border-color: #fff; }
.offer .tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); }
.offer.featured .tag { background: var(--yellow); color: #13261f; }
.offer .price { font: 800 46px/1 Manrope, sans-serif; letter-spacing: -.04em; margin: 22px 0 6px; }
.offer .price small { font-size: 18px; letter-spacing: 0; opacity: .7; }
.offer h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -.025em; }
.offer p { margin: 0 0 18px; opacity: .85; }
.offer ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.offer li { padding-left: 26px; position: relative; }
.offer li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--yellow); }
.offer.featured li::before { color: var(--orange); }
.offer .button { margin-top: auto; align-self: flex-start; }
.offer:not(.featured) .button { background: #fff; color: #13261f; }

.request { margin-top: 28px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: center; padding: 26px 30px; border-radius: var(--radius-md); border: 1px dashed rgba(255,255,255,.35); }
.request h3 { font-size: 22px; letter-spacing: -.02em; }
.request p { margin: 6px 0 0; color: #d4e3da; font-size: 15px; }
.request form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.request input { min-height: 48px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
.request input::placeholder { color: #b9c9c0; }
.request input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.request .msg { grid-column: 1 / -1; margin: 0; min-height: 1px; font-size: 14px; font-weight: 700; }
.request .msg.error { color: #ffb199; }
.request .msg.ok { color: #c8f0d6; }
.request .fine { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #b9c9c0; }
.request .fine a { color: inherit; }

/* More courses */
.more-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.more { position: relative; isolation: isolate; overflow: hidden; min-height: 230px; border-radius: var(--radius-md); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; background: var(--night); }
.more::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--img); background-size: cover; background-position: center; transition: transform .6s ease; }
.more::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,24,18,.15), rgba(9,24,18,.92) 75%); }
.more:hover::before { transform: scale(1.08); }
.more small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #ff9a6e; text-transform: uppercase; }
.more strong { font-family: Manrope, sans-serif; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; margin-top: 6px; }
.more[aria-current="page"] { outline: 3px solid var(--orange); outline-offset: 3px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 800 21px/1.25 Manrope, sans-serif; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--orange); font-size: 22px; transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 24px; color: var(--muted); font-size: 17px; max-width: 820px; }

/* Final CTA + footer */
.final { padding: 90px 0; background: var(--orange); color: #18221d; }
.final .shell { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.final p { font-size: 20px; margin: 18px 0 0; max-width: 640px; }
.final-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
footer { padding: 34px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; color: var(--muted); font-size: 14px; }
.footer-row a { text-decoration: none; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .more-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 840px) {
  .shell { width: min(100% - 28px, 680px); }
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 130px; min-height: 0; }
  .hero-grid, .section-head, .who, .offers, .request, .final .shell { grid-template-columns: 1fr; gap: 28px; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare .arrow { justify-self: center; transform: rotate(90deg); }
  .strip .shell { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip div { border-top: 1px solid rgba(255,255,255,.18); }
  .strip div:nth-child(-n+2) { border-top: 0; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .final-actions { justify-content: flex-start; }
  .scroll-cue { display: none; }
  .hero::before { background-image: var(--hero-img-sm, var(--hero-img)); }
  .demo::before { background-image: var(--band-img-sm, var(--band-img)); }
}
@media (max-width: 570px) {
  section { padding: 76px 0; }
  .contact-row { justify-content: center; font-size: 12px; }
  .hero h1 { font-size: 38px; }
  .hero h1 em { text-decoration-thickness: 4px; text-underline-offset: 7px; }
  .outcomes { grid-template-columns: 1fr; }
  .request form { grid-template-columns: 1fr; }
  .modules li, .tip { grid-template-columns: 1fr; gap: 8px; }
  .callout { padding: 24px 22px; }
  .request { padding: 22px; }
  .offer { padding: 26px 22px; }
  .glass { padding: 22px; }
  .more-grid { grid-template-columns: 1fr; }
  .more { min-height: 160px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
