/* Options Course landing, v2 (26 Sep 2026): one screen to sell, the rest to back it.
   Self-contained on purpose: it does not lean on program.css / course.css, so the
   old page's styles can change without moving this one. Mobile first; the Buy now
   bar sticks to the bottom of a phone once the hero button has scrolled away. */

:root {
  --lp-bg: #0d0706;
  --lp-bg2: #160c0b;
  --lp-card: #1d1110;
  --lp-ink: #f7f1ef;
  --lp-muted: #b3a29e;
  --lp-line: rgba(255, 255, 255, .10);
  --lp-red: #d7261e;
  --lp-red2: #ff5a4f;
  --lp-cream: #f6f1ea;
  --lp-font: 'Chivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

.lp { background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-font); overflow-x: clip; }
.lp * { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); font-family: var(--lp-font); margin: 0; }
.lp p { margin: 0; }
.lp img { display: block; max-width: 100%; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lp-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--lp-red2); }
.lp-h2 { font-size: clamp(1.7rem, 6.4vw, 2.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; margin-top: 10px !important; }
.lp-sec { padding: 64px 0; }
.lp-center { text-align: center; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.lp-buy {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ea3a30, #b81c15); color: #fff !important;
  font: 800 1.08rem/1 var(--lp-font); letter-spacing: -.01em; text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(215, 38, 30, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.lp-buy:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(215, 38, 30, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lp-buy:active { transform: translateY(1px) scale(.99); }
.lp-buy svg { width: 20px; height: 20px; transition: transform .2s ease; }
.lp-buy:hover svg { transform: translateX(3px); }
/* A light sweep every few seconds: the one moving thing in the button. */
.lp-buy::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  animation: lp-sheen 4.2s ease-in-out 1.2s infinite;
}
@keyframes lp-sheen { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Three labels, <html data-oc> shows one (set in the head, settled by course-landing.js). */
[data-oc-l="own"], [data-oc-l="wait"] { display: none; }
html[data-oc="own"] [data-oc-l="buy"], html[data-oc="wait"] [data-oc-l="buy"] { display: none; }
html[data-oc="own"] [data-oc-l="own"], html[data-oc="wait"] [data-oc-l="wait"] { display: inline; }

.lp-price { display: flex; align-items: baseline; gap: 8px; }
.lp-price b { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; }
.lp-price s { color: var(--lp-muted); font-size: .95rem; }
.lp-price span { color: var(--lp-muted); font-size: .8rem; }

/* ── hero ────────────────────────────────────────────────────────────── */
.lp-hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; isolation: isolate; }
.lp-hero__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.lp-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  animation: lp-kenburns 18s ease-out both; transform-origin: 40% 35%; }
@keyframes lp-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 7, 6, .15) 0%, rgba(13, 7, 6, 0) 28%, rgba(13, 7, 6, .72) 58%, var(--lp-bg) 88%); }
.lp-hero__body { width: 100%; padding-bottom: 28px; }
.lp-rec { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.lp-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-red2); box-shadow: 0 0 0 0 rgba(255, 90, 79, .7);
  animation: lp-pulse 1.8s ease-out infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 79, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 79, 0); } }
.lp-hero h1 { margin-top: 14px; font-size: clamp(2.3rem, 10.5vw, 4.4rem); font-weight: 900; line-height: .98; letter-spacing: -.04em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.lp-hero h1 em { font-style: normal; color: var(--lp-red2); }
.lp-hero__sub { margin-top: 14px !important; max-width: 34em; font-size: 1.02rem; line-height: 1.5; color: #e9dedb; }
.lp-hero__sub b { color: #fff; }
.lp-hero__cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.lp-hero__cta .lp-buy { flex: 1 1 100%; }
.lp-hero__fine { margin-top: 10px !important; font-size: .78rem; color: var(--lp-muted); }

/* entrance */
.lp-in { opacity: 0; transform: translateY(14px); animation: lp-up .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.lp-in:nth-child(2) { animation-delay: .08s; } .lp-in:nth-child(3) { animation-delay: .16s; }
.lp-in:nth-child(4) { animation-delay: .24s; } .lp-in:nth-child(5) { animation-delay: .32s; }
@keyframes lp-up { to { opacity: 1; transform: none; } }

/* ── logos, right under the hero ─────────────────────────────────────── */
.lp-logos { padding: 8px 0 34px; }
.lp-logos p { text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lp-muted); }
.lp-logos__row { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-logos__row span { display: flex; align-items: center; justify-content: center; height: 64px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--lp-line); padding: 0 12px; }
/* Wide logos: sized by width, never a fixed height that squeezes them. */
.lp-logos__row img { width: 100%; max-width: 118px; height: auto; max-height: 30px; object-fit: contain; }
.lp-logos__row .is-maven img { max-width: 104px; }

/* ── filmstrip ───────────────────────────────────────────────────────── */
.lp-strip { position: relative; overflow: hidden; padding: 6px 0 4px; }
.lp-strip__track { display: flex; gap: 12px; width: max-content; animation: lp-marquee 60s linear infinite; }
.lp-strip__track img { width: 220px; height: 124px; object-fit: cover; border-radius: 10px; border: 1px solid var(--lp-line); }
.lp-strip::before, .lp-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.lp-strip::before { left: 0; background: linear-gradient(90deg, var(--lp-bg), transparent); }
.lp-strip::after { right: 0; background: linear-gradient(270deg, var(--lp-bg), transparent); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ── numbers ─────────────────────────────────────────────────────────── */
.lp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.lp-stats div { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 18px; padding: 18px 16px; }
.lp-stats b { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, #fff, #ffb3ad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stats span { display: block; margin-top: 8px; font-size: .82rem; color: var(--lp-muted); line-height: 1.3; }

/* ── walkthrough video ───────────────────────────────────────────────── */
.lp-film { position: relative; margin-top: 26px; border-radius: 20px; overflow: hidden; border: 1px solid var(--lp-line);
  aspect-ratio: 16 / 9; background: #000; cursor: pointer; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lp-film img, .lp-film video { width: 100%; height: 100%; object-fit: cover; }
.lp-film__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(215, 38, 30, .92); box-shadow: 0 0 0 0 rgba(215, 38, 30, .6);
  animation: lp-ring 2.2s ease-out infinite; }
.lp-film__play::before { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid;
  border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
@keyframes lp-ring { 0% { box-shadow: 0 0 0 0 rgba(215, 38, 30, .55); } 80%, 100% { box-shadow: 0 0 0 22px rgba(215, 38, 30, 0); } }
.lp-film__chip { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6);
  font-size: .74rem; font-weight: 700; }
.lp-film.is-playing .lp-film__play, .lp-film.is-playing .lp-film__chip { display: none; }

/* ── five parts ──────────────────────────────────────────────────────── */
.lp-parts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-parts li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 16px; padding: 16px; }
.lp-parts__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 900;
  background: rgba(215, 38, 30, .14); color: var(--lp-red2); }
.lp-parts h3 { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.lp-parts p { margin-top: 3px !important; font-size: .84rem; color: var(--lp-muted); line-height: 1.4; }
.lp-parts em { font-style: normal; font-size: .78rem; color: var(--lp-muted); white-space: nowrap; }

/* ── clips: swipe on a phone ─────────────────────────────────────────── */
.lp-clips { margin-top: 26px; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 8px; margin-left: -20px; margin-right: -20px;
  scrollbar-width: none; }
.lp-clips::-webkit-scrollbar { display: none; }
.lp-clip { margin: 0; scroll-snap-align: center; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 18px; overflow: hidden; }
.lp-clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; display: block; }
.lp-clip figcaption { padding: 12px 14px 14px; font-size: .84rem; color: var(--lp-muted); line-height: 1.35; }
.lp-clip figcaption b { display: block; color: var(--lp-ink); font-size: .95rem; margin-bottom: 3px; }
.lp-swipe { margin-top: 10px !important; text-align: center; font-size: .76rem; color: var(--lp-muted); }

/* ── teacher ─────────────────────────────────────────────────────────── */
.lp-teach { display: grid; gap: 22px; margin-top: 26px; }
.lp-teach__pic { border-radius: 20px; overflow: hidden; border: 1px solid var(--lp-line); aspect-ratio: 16 / 10; }
.lp-teach__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.lp-teach p { color: #e3d8d5; line-height: 1.6; }
.lp-teach p + p { margin-top: 12px !important; }
.lp-teach__hc { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .8rem; color: var(--lp-muted); }
.lp-teach__hc img { height: 26px; width: auto; }
.lp-teach__note { margin-top: 14px !important; font-size: .76rem !important; color: var(--lp-muted) !important; }

/* ── certificate ─────────────────────────────────────────────────────── */
.lp-cert { display: grid; gap: 22px; align-items: center; margin-top: 26px; }
.lp-cert img { border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transform: rotate(-2deg); }
.lp-cert ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-cert li { padding-left: 28px; position: relative; color: #e3d8d5; line-height: 1.45; }
.lp-cert li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lp-red2); font-weight: 900; }

/* ── final buy card ──────────────────────────────────────────────────── */
.lp-final { position: relative; margin-top: 8px; border-radius: 24px; padding: 30px 22px; overflow: hidden; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(215, 38, 30, .35), transparent 60%), var(--lp-card);
  border: 1px solid rgba(255, 90, 79, .35); }
.lp-final .lp-price { justify-content: center; margin-top: 16px; }
.lp-final .lp-price b { font-size: 3rem; }
.lp-final ul { list-style: none; margin: 18px auto 0; padding: 0; max-width: 360px; text-align: left; display: grid; gap: 8px; }
.lp-final li { padding-left: 26px; position: relative; font-size: .92rem; color: #e3d8d5; }
.lp-final li::before { content: "✓"; position: absolute; left: 0; color: var(--lp-red2); font-weight: 900; }
.lp-final .lp-buy { width: 100%; max-width: 360px; margin-top: 22px; }
.lp-trust { margin-top: 12px !important; font-size: .76rem; color: var(--lp-muted); }

/* ── faq ─────────────────────────────────────────────────────────────── */
.lp-faq { margin-top: 22px; border-top: 1px solid var(--lp-line); }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; font-weight: 700; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--lp-red2); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding: 0 0 18px; color: var(--lp-muted); line-height: 1.6; font-size: .92rem; }
.lp-faq a { color: var(--lp-ink); text-decoration: underline; }
.lp-disclaimer { margin-top: 26px !important; font-size: .72rem; color: #8a7b77; line-height: 1.55; }
.lp-lang { margin-top: 22px; display: flex; justify-content: center; }
.lp-lang select { background: var(--lp-card); color: var(--lp-ink); border: 1px solid var(--lp-line); border-radius: 999px;
  padding: 10px 16px; font: 600 .86rem var(--lp-font); }

/* ── sticky buy bar (phones) ─────────────────────────────────────────── */
.lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(13, 7, 6, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--lp-line);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.lp-bar.is-on { transform: none; }
.lp-bar .lp-price b { font-size: 1.3rem; }
.lp-bar .lp-price span { display: block; font-size: .68rem; }
.lp-bar .lp-price { flex-direction: column; gap: 0; }
.lp-bar .lp-buy { flex: 1; min-height: 50px; font-size: 1rem; }

/* reveal on scroll */
.lp-rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.lp-rise.in { opacity: 1; transform: none; }

/* ── wider screens ───────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .lp-sec { padding: 90px 0; }
  .lp-hero__cta .lp-buy { flex: 0 0 auto; min-width: 260px; }
  .lp-stats { grid-template-columns: repeat(4, 1fr); }
  .lp-clips { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 26px 0 0; padding: 0; }
  .lp-swipe { display: none; }
  .lp-strip__track img { width: 280px; height: 158px; }
  .lp-logos__row { max-width: 640px; margin-left: auto; margin-right: auto; }
  .lp-bar { display: none; }
}
@media (min-width: 960px) {
  .lp-hero { min-height: 760px; align-items: center; }
  .lp-hero__img img { object-position: 50% 35%; }
  .lp-hero::before { background:
    linear-gradient(90deg, rgba(13, 7, 6, .92) 0%, rgba(13, 7, 6, .7) 38%, rgba(13, 7, 6, 0) 70%),
    linear-gradient(180deg, transparent 70%, var(--lp-bg) 100%); }
  .lp-hero__body { padding: 60px 20px; }
  .lp-hero__body > * { max-width: 560px; }
  .lp-teach { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .lp-cert { grid-template-columns: 1.1fr 1fr; }
  .lp-final { padding: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__img img, .lp-strip__track, .lp-buy::after, .lp-rec i, .lp-film__play { animation: none !important; }
  .lp-in, .lp-rise { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Phones: the photo owns the top of the screen and the copy sits under it, so
   Sven's face is never behind the headline. */
@media (max-width: 959px) {
  .lp-hero { min-height: min(100svh, 880px); }
  .lp-hero__img { bottom: auto; height: 64%; }
  .lp-hero__img img { object-position: 38% 22%; }
  .lp-hero::before { background:
    linear-gradient(180deg, rgba(13, 7, 6, 0) 0%, rgba(13, 7, 6, 0) 40%, rgba(13, 7, 6, .85) 58%, var(--lp-bg) 64%); }
  .lp-rec { position: absolute; top: 16px; left: 20px; }
  .lp-hero h1 { margin-top: 0; }
}
.lp-logos__row .is-optiver img { max-width: 124px; max-height: 44px; }

/* ── hero v3: logos pinned to the bottom of the first screen, interviewer faded out ── */
.lp-in:nth-child(6) { animation-delay: .4s; }
.lp-hero .lp-logos { padding: 0; margin-top: 22px; }
.lp-hero .lp-logos p { text-align: left; font-size: .64rem; }
.lp-hero .lp-logos__row { margin-top: 10px; max-width: 520px; margin-left: 0; }
.lp-hero .lp-logos__row span { height: 52px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (max-width: 959px) {
  /* A column exactly one screen tall (below the ~80px site header): the photo
     takes whatever the copy leaves, so the logos can never fall off the bottom. */
  .lp-hero { display: flex; flex-direction: column; align-items: stretch;
    min-height: calc(100svh - 80px); height: calc(100svh - 80px); max-height: 900px; }
  .lp-hero__img { position: relative; inset: auto; height: auto; flex: 1 1 auto; min-height: 150px; }
  .lp-hero__img img { position: absolute; inset: 0; }
  .lp-hero::before { display: none; }
  .lp-hero__img::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13, 7, 6, 0) 45%, rgba(13, 7, 6, .75) 80%, var(--lp-bg) 100%); }
  .lp-hero__body { flex: 0 0 auto; margin-top: -54px; position: relative; padding-bottom: 14px; }
  .lp-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .lp-hero__sub { margin-top: 10px !important; font-size: .95rem; }
  .lp-hero__cta { margin-top: 16px; flex-wrap: nowrap; gap: 14px; }
  .lp-hero__cta .lp-buy { flex: 1 1 auto; min-height: 52px; }
  .lp-hero__cta .lp-price { flex-direction: column; gap: 0; flex: 0 0 auto; }
  .lp-hero__cta .lp-price b { font-size: 1.5rem; }
  .lp-hero__cta .lp-price span { font-size: .68rem; }
  .lp-hero__fine { display: none; }
  .lp-hero .lp-logos { margin-top: 16px; }
  .lp-hero .lp-logos p { text-align: center; }
  .lp-hero .lp-logos__row { max-width: none; }
  .lp-hero .lp-logos__row span { height: 46px; background: rgba(255, 255, 255, .05); }
  .lp-logos__row .is-optiver img { max-height: 36px; }
}
/* Short phones (Instagram's in-app browser eats height): drop the pitch line first. */
@media (max-width: 959px) and (max-height: 700px) {
  .lp-hero__sub { display: none; }
}

@media (min-width: 960px) {
  .lp-hero { min-height: 640px; height: calc(100vh - 120px); max-height: 860px; align-items: stretch; }
  .lp-hero__body { display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 36px; }
  .lp-hero .lp-logos { margin-top: auto; padding-top: 28px; }
  /* The interviewer sits on the left third of the frame: solid page colour there,
     so only Sven is in the picture. */
  .lp-hero::before { background:
    linear-gradient(90deg, var(--lp-bg) 0%, var(--lp-bg) 40%, rgba(13, 7, 6, .85) 50%, rgba(13, 7, 6, 0) 64%),
    linear-gradient(180deg, transparent 75%, var(--lp-bg) 100%); }
}
/* The studio chip: one copy on the photo for phones, one in the copy column for desktop. */
.lp-rec--m { display: none; }
@media (max-width: 959px) {
  .lp-rec--d { display: none; }
  .lp-rec--m { display: inline-flex; position: absolute; top: 14px; left: 16px; z-index: 2; }
}
@media (min-width: 960px) {
  .lp-hero__body { align-items: flex-start; }
  .lp-hero .lp-logos { width: 100%; }
}

/* ── hero v4: logos closer to the button, slide strip on the first screen ── */
.lp-hero { flex-direction: column; }
.lp-hero .lp-strip { flex: 0 0 auto; width: 100%; padding: 0 0 14px; }
.lp-hero .lp-strip::before, .lp-hero .lp-strip::after { width: 40px; }
.lp-hero .lp-strip__track { animation-duration: 45s; }
.lp-hero .lp-strip__track img { width: 112px; height: 63px; border-radius: 8px; }
@media (max-width: 959px) {
  .lp-hero .lp-logos { margin-top: 14px; }
  .lp-hero__body { padding-bottom: 12px; }
}
@media (min-width: 960px) {
  .lp-hero__body { flex: 1 1 auto; justify-content: center; }
  .lp-hero .lp-logos { margin-top: 36px; padding-top: 0; }
  .lp-hero .lp-strip { padding-bottom: 22px; }
  .lp-hero .lp-strip__track img { width: 176px; height: 99px; }
}

/* ── studio chip + language picker, one row ── */
.lp-toprow { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.lp-langpick { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16); color: var(--lp-ink); font-size: .74rem; font-weight: 700; cursor: pointer; }
.lp-langpick svg { width: 14px; height: 14px; flex: 0 0 auto; }
.lp-langpick select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: inherit;
  font: inherit; padding: 0 2px 0 0; cursor: pointer; max-width: 92px; }
.lp-langpick select:focus-visible { outline: 2px solid var(--lp-red2); outline-offset: 4px; border-radius: 4px; }
.lp-langpick option { color: #111; }
.lp-rec { height: 30px; padding: 0 12px; white-space: nowrap; }
.lp-toprow--m { display: none; }
@media (max-width: 959px) {
  .lp-toprow--d { display: none; }
  .lp-toprow--m { display: flex; position: absolute; top: 14px; left: 16px; right: 16px; z-index: 2; }
}
@media (max-width: 400px) { .lp-rec { font-size: .68rem; padding: 0 10px; } }
/* Optiver now uses a trimmed file, so it sizes like the others. */
.lp-logos__row .is-optiver img { max-width: 120px; max-height: 30px; }
@media (max-width: 959px) { .lp-logos__row .is-optiver img { max-width: 96px; max-height: 26px; } }
@media (max-width: 959px) { .lp-toprow .lp-rec { position: static; } }

/* ── hero v5: no slide strip; a scroll cue at the bottom instead ── */
.lp-more { flex: 0 0 auto; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 16px 12px; color: var(--lp-muted) !important; font-size: .68rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important; }
.lp-more svg { width: 22px; height: 22px; color: var(--lp-ink); animation: lp-bob 1.6s ease-in-out infinite; }
.lp-more:hover { color: var(--lp-ink) !important; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (min-width: 960px) { .lp-more { padding-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .lp-more svg { animation: none; } }
html { scroll-behavior: smooth; }

/* ── hero v6: a slow, continuous zoom out on Sven ── */
@keyframes lp-zoomout { 0% { transform: scale(1.22); } 100% { transform: scale(1); } }
.lp-hero__img img { animation: lp-zoomout 20s cubic-bezier(.25, .1, .25, 1) both infinite alternate;
  transform-origin: 38% 40%; will-change: transform; }
@media (min-width: 960px) { .lp-hero__img img { transform-origin: 72% 45%; } }
@media (prefers-reduced-motion: reduce) { .lp-hero__img img { animation: none !important; } }

/* ── hero v7: always leave the top of the slide strip in view ──
   One screen, minus the measured site header (--lp-navh, set in the page
   script), minus --peek. The hero only grows past that when its copy does not
   fit (a very short screen), never to fill a tall one. */
.lp-hero { --peek: 40px; height: auto !important; max-height: none !important; }
@media (max-width: 959px) {
  .lp-hero { min-height: calc(100svh - var(--lp-navh, 80px) - var(--peek)) !important; }
}
@media (min-width: 960px) {
  .lp-hero { min-height: max(560px, calc(100vh - var(--lp-navh, 120px) - var(--peek))) !important; }
}
.lp-hero + .lp-strip { padding-top: 0; }
@media (min-width: 960px) {
  .lp-hero__body { padding-top: 22px; padding-bottom: 8px; }
  .lp-hero .lp-logos { margin-top: 28px; }
  .lp-more { padding-bottom: 10px; }
}
/* Short laptop screens: the fine print goes first, then the pitch line. */
@media (min-width: 960px) and (max-height: 760px) { .lp-hero__fine { display: none; } .lp-hero h1 { font-size: 3.4rem; } }
@media (min-width: 960px) and (max-height: 640px) { .lp-hero__sub { display: none; } }

/* ── hero v8: short screens and browser zoom shrink the copy, not the peek ── */
@media (min-width: 960px) {
  .lp-hero { min-height: calc(100vh - var(--lp-navh, 120px) - var(--peek)) !important; }
}
@media (min-width: 960px) and (max-height: 760px) {
  .lp-hero h1 { font-size: min(3.4rem, 7.4vh); }
  .lp-hero__body { padding-top: 14px; }
  .lp-toprow--d { transform: scale(.92); transform-origin: left center; }
  .lp-hero h1 { margin-top: 8px; }
  .lp-hero__cta { margin-top: 14px; }
  .lp-hero .lp-logos { margin-top: 18px; }
  .lp-hero .lp-logos__row { margin-top: 8px; max-width: 440px; }
  .lp-hero .lp-logos__row span { height: 44px; }
  .lp-more { padding-top: 2px; padding-bottom: 6px; }
}
@media (min-width: 960px) and (max-height: 700px) { .lp-hero__sub { display: none; } }
@media (max-width: 959px) and (max-height: 620px) {
  .lp-hero__img { min-height: 90px; }
  .lp-hero h1 { font-size: min(2rem, 5.6vh); }
  .lp-hero .lp-logos p { display: none; }
  .lp-hero .lp-logos { margin-top: 10px; }
}

/* Duration is set inline by course-landing.js (60s per copy pair). NO will-change or
   3D transform here: at 3x on a phone the strip is wider than the layer iOS Safari
   will animate on the GPU, and Safari then freezes it (26 Sep 2026). */

/* Desktop: the hero copy sits a little further left than the page column (27 Sep). */
@media (min-width: 960px) { .lp-hero__body.lp-wrap { max-width: none; margin-left: 0; padding-left: clamp(48px, 8vw, 170px); } }

/* Five stat tiles (8 modules added 27 Sep): the fifth spans the row on phones, five across on wide screens. */
.lp-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 720px) { .lp-stats { grid-template-columns: repeat(5, 1fr); } .lp-stats > div:last-child:nth-child(odd) { grid-column: auto; } }

/* ── hero v8: phones see a wider crop (hero-sven-wide.webp) with a gentle
   zoom, so Sven is not filling the frame; the button label stays on one line ── */
@keyframes lp-zoomout-sm { 0% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (max-width: 959px) {
  .lp-hero__img img { object-position: 50% 30%; animation-name: lp-zoomout-sm; transform-origin: 60% 40%; }
}
.lp-buy span { white-space: nowrap; }
