/* Marketing pages and the shared shell (nav extras, compact footer).
   Later stories add page styles here. */

/* Nav */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-form { margin: 0; }
.nb-short { display: none; }
@media (max-width: 640px) {
  .nb-long { display: none; }
  .nb-short { display: inline; }
  .nav-actions { gap: 8px; }
  .nav-inner { padding: 0 16px; gap: 10px; }
  .nav-logo { font-size: 1.1rem; }
  .btn-nav { padding: 8px 14px; }
  .btn-nav-secondary { padding: 7px 12px; }
  .nav-login { border-color: transparent !important; padding-left: 6px !important; padding-right: 6px !important; }
}

/* Footer (compact) */
.foot5 { border-top: 1px solid var(--border); padding: 44px 0 30px; background: var(--ink); }
.foot5-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot5 .nav-logo { display: inline-flex; font-size: 1.3rem; margin-bottom: 10px; color: var(--text); }
.foot5 p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; margin: 0; max-width: 300px; }
.foot5 h4 { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
.foot5 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot5 a { color: var(--text-secondary); text-decoration: none; font-size: .92rem; }
.foot5 a:hover { color: var(--text); }
.foot5 .nav-logo { color: var(--text); }
.foot5-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .8rem; }
@media (max-width: 900px) {
  .foot5-grid { grid-template-columns: 1fr 1fr; }
  .foot5-grid > div:first-child { grid-column: 1 / -1; }
}

/* /contact */
.contact-page { padding: 64px 0 96px; }
.contact-page .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-side h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0 16px; }
.contact-side p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 14px; }
.contact-side a { color: var(--accent); }
.cf { background: var(--ink-elevated); border: 1px solid var(--border); border-radius: 6px; padding: 28px; display: grid; gap: 16px; }
.cf-field { display: grid; gap: 6px; align-content: start; }
.cf label, .cf-legend { font-size: .88rem; color: var(--text-secondary); font-weight: 500; }
.cf input, .cf textarea { background: var(--ink); border: 1px solid var(--border-hover); color: var(--text); padding: 12px 14px; border-radius: var(--radius-input); font: inherit; font-size: 1rem; width: 100%; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(63, 203, 201, 0.4); }
.cf input.cf-input--err { border-color: var(--danger); }
.cf .cf-hp { display: none; }
.cf .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-err { color: #fca5a5; font-size: .8rem; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { background: transparent; border: 1px solid var(--border-hover); color: var(--text); padding: 8px 12px; border-radius: 999px; font: inherit; font-size: .88rem; cursor: pointer; }
.cf-chip.on { border-color: var(--accent); color: var(--accent); }
.cf-privacy { font-size: .82rem; color: var(--text-muted); margin: 0; }
.cf-privacy a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.cf-sent { text-align: center; justify-items: center; }
.cf-sent-mark { font-size: 2rem; color: var(--accent); }
.cf-sent h3 { font-size: 1.6rem; margin: 0; }
.cf-sent p { color: var(--text-secondary); margin: 0; }
.q-more { color: var(--accent); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) {
  .contact-page .grid { grid-template-columns: 1fr; gap: 32px; }
  .cf .two { grid-template-columns: 1fr; }
}

/* Checkout notices on /hockey-iq (back from Stripe, Stripe unavailable) */
.checkout-banner { margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(63,203,201,.3); background: rgba(63,203,201,.08); color: var(--accent); border-radius: 4px; font-size: .92rem; line-height: 1.5; }
.checkout-err { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--danger); background: rgba(239,68,68,.08); color: #fca5a5; border-radius: 4px; font-size: .92rem; line-height: 1.5; }
#price { scroll-margin-top: calc(var(--nav-height) + 16px); }

/* ── /hockey-iq sales page ───────────────────── */
:root {
  --ice: #EEF3F7;
  --ice-ink: #0A0E17;
  --ice-muted: #4B5468;
  --ice-rule: #C9D3DE;
  --ice-teal-btn: #187A78;   /* white text 5.1:1 */
  --ice-teal-text: #156E6C;  /* on ice 5.4:1 */
}
.hiq-sales h1, .hiq-sales h2, .hiq-sales h3 { text-wrap: balance; }
.hiq-sales .section { padding: 96px 0; }
.hiq-sales .section.alt { background: var(--ink-elevated); }
.hiq-sales .section-head { max-width: 640px; margin-bottom: 48px; }
.hiq-sales .section-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.03em; margin: 10px 0 14px; }
.hiq-sales .section-head p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.65; margin: 0; }
.hiq-sales .section-label { display: inline-block; }
/* ── Light-ice hero ─────────────────────────── */
.hero5 { position: relative; overflow: hidden; background: var(--ice); color: var(--ice-ink); padding: 64px 0 72px; }
.hero5 .ice-marks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero5 .ice-tall { display: none; }
.hero5 .container { position: relative; z-index: 1; }
.hero5-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero5-copy { position: relative; }
/* text sits on a soft ice panel so no rink line runs behind it */
.hero5-copy::before { content: ""; position: absolute; inset: -28px -32px; background: var(--ice); border-radius: 12px; z-index: -1; box-shadow: 0 0 40px 30px var(--ice); }
.hero5-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ice-teal-text); border: 1px solid var(--ice-rule); background: #fff; padding: 6px 12px; border-radius: var(--radius-btn); margin-bottom: 22px; }
.hero5-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice-teal-text); }
.hero5 h1 { color: var(--ice-ink); font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: .94; letter-spacing: -0.035em; margin: 0 0 20px; }
.hero5 h1 em { font-style: normal; color: var(--ice-teal-text); }
.hero5-sub { color: var(--ice-muted); font-size: 1.15rem; line-height: 1.6; max-width: 520px; margin: 0 0 30px; }
.hero5-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn-ice { display: inline-flex; align-items: center; gap: 10px; background: var(--ice-teal-btn); color: #fff; font: 700 1.05rem var(--font-body); padding: 17px 30px; border-radius: var(--radius-btn); text-decoration: none; border: 0; cursor: pointer; }
.btn-ice:hover { background: var(--ice-teal-text); }
.btn-ice .tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ice-link { color: var(--ice-ink); font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ice-rule); }
.ice-link:hover { text-decoration-color: var(--ice-ink); }
.hero5-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ice-rule); color: var(--ice-muted); font-size: .92rem; }
.hero5-facts b { color: var(--ice-ink); font-family: var(--font-mono); font-weight: 600; }

/* clip */
.clip { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #0d1119; box-shadow: 0 2px 4px rgba(10,14,23,.08), 0 24px 60px rgba(10,14,23,.22); text-decoration: none; aspect-ratio: 16 / 9; }
.clip video, .clip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip-chip { position: absolute; left: 12px; top: 12px; background: rgba(10,14,23,.78); color: #fff; font: 600 .68rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; backdrop-filter: blur(4px); }
.clip-play { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--ice-ink); font: 700 .88rem var(--font-body); padding: 10px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.clip-play .tri { width: 0; height: 0; border-left: 9px solid var(--ice-teal-btn); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.clip-cap { margin: 12px 2px 0; color: var(--ice-muted); font-size: .85rem; }
.clip-cap b { color: var(--ice-ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero5 { padding: 26px 0 36px; }
  .hero5 .ice-marks { display: none; }
  .hero5-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero5-copy { display: contents; }
  .hero5-copy::before { display: none; }
  .hero5-tag { align-self: flex-start; margin-bottom: 14px; font-size: .7rem; }
  .hero5 h1 { font-size: 2.55rem; margin-bottom: 16px; }
  .hero5-sub { display: none; }
  .hero5-media { order: 3; margin-bottom: 18px; }
  .hero5-ctas { order: 4; flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-ice { justify-content: center; }
  .ice-link { text-align: center; }
  .hero5-facts { order: 5; margin-top: 20px; padding-top: 16px; font-size: .85rem; gap: 6px 16px; }
  .clip-cap { margin-top: 8px; font-size: .8rem; }
  .clip-cap .cc-long { display: none; }
  .clip-play { display: none; }
  .hero5-media { margin-bottom: 16px; }
  .hero5-facts { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ── Sound familiar ─────────────────────────── */
.familiar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fam { background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; border-top: 3px solid var(--c); }
.section:not(.alt) .fam { background: var(--ink-elevated); }
.fam h3 { font-size: 1.5rem; margin: 0 0 10px; }
.fam p { color: var(--text-secondary); font-size: .97rem; line-height: 1.65; margin: 0; }
.fam .fix { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text); font-size: .92rem; }
.fam .fix b { color: var(--c); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.familiar-close { margin: 36px 0 0; font-size: 1.15rem; color: var(--text); max-width: 760px; line-height: 1.6; }
.familiar-close a { color: var(--accent); }

/* ── Try one ────────────────────────────────── */
.tryone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.q-card { background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; }
.q-card .qn { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.q-card h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1.25rem; line-height: 1.4; margin: 10px 0 20px; }
.q-opts { display: grid; gap: 10px; }
.q-opt { text-align: left; background: var(--ink-elevated); border: 1px solid var(--border-hover); color: var(--text); font: 500 1rem var(--font-body); padding: 14px 16px; border-radius: var(--radius-input); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.q-opt:hover { border-color: var(--accent-deep); }
.q-opt.right { border-color: var(--success); background: rgba(34,197,94,.08); }
.q-opt.wrong { border-color: var(--danger); background: rgba(239,68,68,.07); }
.q-opt .mark { font-family: var(--font-mono); font-size: .8rem; }
.q-why { display: none; margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--role-support); background: var(--ink-elevated); color: var(--text-secondary); line-height: 1.6; font-size: .97rem; }
.q-why b { color: var(--text); }
.q-why a { color: var(--accent); font-weight: 600; }
.q-card.answered .q-why { display: block; }

/* ── What you'll learn + episode list ───────── */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mod { background: var(--ink-elevated); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px 26px 18px; }
.section.alt .mod { background: var(--ink); }
.mod-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mod .section-label { margin: 0; }
.mod-count { font: 600 .75rem var(--font-mono); color: var(--text-muted); letter-spacing: .08em; }
.mod h3 { font-size: 1.6rem; margin: 10px 0 10px; }
.mod p { color: var(--text-secondary); line-height: 1.65; font-size: .96rem; margin: 0 0 14px; }
.mod details { border-top: 1px solid var(--border); padding-top: 10px; }
.mod summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .9rem; list-style: none; padding: 4px 0; }
.mod summary::-webkit-details-marker { display: none; }
.mod summary::after { content: " +"; }
.mod details[open] summary::after { content: " −"; }
.mod ol { margin: 8px 0 6px; padding: 0; list-style: none; counter-reset: ep var(--start, 0); }
.mod ol li { counter-increment: ep; display: flex; gap: 12px; padding: 7px 0; font-size: .93rem; color: var(--text); border-bottom: 1px dashed var(--border); }
.mod ol li:last-child { border-bottom: 0; }
.mod ol li::before { content: counter(ep, decimal-leading-zero); font: 600 .78rem var(--font-mono); color: var(--text-muted); padding-top: 2px; }
.mod ol li .free { margin-left: auto; font: 700 .64rem var(--font-mono); letter-spacing: .12em; background: var(--accent); color: var(--ink); padding: 3px 6px; border-radius: 2px; align-self: center; }

/* ── Price box ──────────────────────────────── */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
.price-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; color: var(--text); font-size: 1rem; }
.price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-box { background: var(--ink); border: 1px solid var(--accent-deep); border-radius: 6px; padding: 32px 28px; box-shadow: 0 0 0 4px rgba(63,203,201,.06); }
.price-box .pb-name { font: 600 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.price-box .pb-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.price-box .pb-price b { font: 600 3.2rem/1 var(--font-mono); color: var(--text); }
.price-box .pb-price span { color: var(--text-secondary); }
.price-box .pb-anchor { color: var(--text-secondary); font-size: .95rem; margin: 0 0 22px; }
.btn-buy { display: flex; justify-content: center; width: 100%; background: var(--accent); color: var(--ink); font: 700 1.08rem var(--font-body); padding: 17px 20px; border-radius: var(--radius-btn); border: 0; cursor: pointer; text-decoration: none; }
.btn-buy:hover { background: var(--accent-hover); }
.pb-micro { text-align: center; color: var(--text-secondary); font-size: .88rem; margin: 12px 0 0; }
.pb-refund { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: .9rem; line-height: 1.5; }
.pb-refund::before { content: "↺"; color: var(--accent); font-weight: 700; }
.pb-signin { text-align: center; font-size: .85rem; color: var(--text-muted); margin: 14px 0 0; }
.pb-signin a { color: var(--text-secondary); }

/* ── Coach ──────────────────────────────────── */
.coach { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; }
.coach img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.coach h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 10px 0 14px; }
.coach p { color: var(--text-secondary); line-height: 1.7; font-size: 1.02rem; margin: 0 0 20px; max-width: 600px; }
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.creds li { display: flex; gap: 12px; align-items: baseline; color: var(--text); }
.creds li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ── FAQ ────────────────────────────────────── */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--font-mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 20px; max-width: 680px; }

/* ── Final CTA ──────────────────────────────── */
.final { text-align: center; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 14px; }
.final p { color: var(--text-secondary); margin: 0 auto 28px; max-width: 520px; font-size: 1.05rem; }
.final .row { display: flex; justify-content: center; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.final .row a.txt { color: var(--text); font-weight: 600; text-underline-offset: 4px; }

/* ── Cross-sell line (hockey-iq) ────────────── */
.xsell { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 22px 26px; }
.xsell p { margin: 0; color: var(--text-secondary); }
.xsell p b { color: var(--text); }
.xsell a { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ── Sticky buy bar (phones) ────────────────── */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(19,24,38,.97); border-top: 1px solid var(--border-hover); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .25s ease, visibility 0s linear .25s; visibility: hidden; }
.buybar.show { transform: none; visibility: visible; transition-delay: 0s; }
.buybar form { margin: 0; }
.buybar .bb-t { font-size: .9rem; color: var(--text); line-height: 1.25; }
.buybar .bb-t span { display: block; color: var(--text-muted); font-size: .76rem; }
.buybar .btn-buy { width: auto; padding: 12px 18px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 900px) { .buybar { display: flex; } body.has-buybar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }
@media (max-width: 900px) {
}
/* caption sits on solid ice so no rink line runs behind it */
.clip-cap { background: var(--ice); padding: 8px 10px; margin-left: -10px; margin-right: -10px; border-radius: 4px; }

@media (max-width: 900px) {
  .hiq-sales .section { padding: 64px 0; }
  .hiq-sales .section-head { margin-bottom: 32px; }
  .tryone, .price-wrap, .coach { grid-template-columns: 1fr; gap: 32px; }
  .coach img { max-width: 150px; }
  .familiar, .modules { grid-template-columns: 1fr; }
}
.q-why a.btn-primary { color: var(--ink); }
.q-card h3 { text-wrap: pretty; }
.tryone { align-items: center; }
.hiq-sales .gate-banner { margin: 20px 0 0; }
.hiq-sales .gate-banner a { color: var(--text); }
.hiq-owner a.btn-buy { display: block; text-align: center; text-decoration: none; }
.fam--puck { --c: var(--role-puck); }
.fam--support { --c: var(--role-support); }
.fam--space { --c: var(--role-space); }
.section-head--flush { margin-bottom: 0; }
.price-h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 0; }
.pb-own { font-size: 1.6rem; margin: 10px 0 8px; }
.hiq-sales .xsell-wrap { padding-top: 0; background: var(--ink-elevated); }
.hiq-sales .price-wrap .checkout-banner, .hiq-sales .section > .container > .checkout-banner { margin-bottom: 24px; }
.gate-strip { background: var(--ink); padding: 16px 0 0; }
.gate-strip .gate-banner { margin: 0 0 12px; }
.linkform { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--text); text-decoration: underline; cursor: pointer; }
.coming-soon { padding-top: 80px; padding-bottom: 80px; }
.coming-soon-back { margin-top: 24px; display: inline-flex; }

/* Free episode page: the buy block sits right of the player on desktop and
   between the description and the quiz on phones (source order). */
.ep-buy { background: var(--ink-elevated); border: 1px solid var(--accent-deep); border-radius: 6px; padding: 24px; margin-bottom: 40px; }
.ep-buy .pb-name { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ep-buy h2 { font-size: 1.7rem; margin: 8px 0 8px; }
.ep-buy p { color: var(--text-secondary); font-size: .95rem; line-height: 1.6; margin: 0 0 16px; }
.ep-buy p.pb-micro { margin: 12px 0 0; }
.ep-buy p.pb-refund { margin: 18px 0 0; }
.ep-buy p.pb-signin { margin: 14px 0 0; color: var(--text-muted); font-size: .85rem; }
.ep-next { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--border); }
.ep-next li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--text); }
.ep-next li .lock { margin-left: auto; color: var(--text-muted); font-size: .8rem; }
.ep-next li.more { color: var(--text-muted); }
@media (min-width: 901px) {
  .ep-layout--sell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto auto auto 1fr; column-gap: 36px; align-items: start; }
  .ep-layout--sell > .hiq-player-wrap { grid-column: 1; grid-row: 1; }
  .ep-layout--sell > .hiq-description { grid-column: 1; grid-row: 3; }
  .ep-layout--sell > .hiq-quiz-section { grid-column: 1; grid-row: 4; }
  .ep-layout--sell > .ep-buy { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: calc(var(--nav-height) + 16px); margin-bottom: 0; }
}

/* ── Episode quiz: preview form, marked result ───────────── */
.hiq-quiz-err { color: var(--danger); font-size: .92rem; line-height: 1.5; margin: 0 0 16px; }
.hiq-quiz-err:empty { display: none; }
.hiq-quiz-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hiq-quiz-note { color: var(--text-muted); font-size: .85rem; margin: 0; }
.hiq-option.right { border-color: var(--success); background: rgba(34,197,94,.08); }
.hiq-option.wrong { border-color: var(--danger); background: rgba(239,68,68,.07); }
.hiq-option input:disabled + span { color: var(--text); }
.ep-result { margin-top: 22px; padding: 20px; border: 1px solid var(--accent-deep); border-radius: 6px; background: rgba(63,203,201,.06); }
.ep-result h3 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 1.2rem; margin: 0 0 8px; }
.ep-result .badge { margin-bottom: 10px; }
.ep-result p { color: var(--text-secondary); margin: 0 0 14px; line-height: 1.6; }
.ep-result .ep-result-stats b { color: var(--accent); font-family: var(--font-mono); }
.ep-result .row { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.ep-result .row a.txt { color: var(--text-secondary); font-size: .9rem; }
.ep-result form { margin: 0; }
.ep-result p.ep-result-signin { margin: 14px 0 0; color: var(--text-muted); font-size: .85rem; }
.ep-result p.ep-result-signin a { color: var(--accent); font-weight: 600; }

/* ── Home: the front door (hero with clip and three tiles, Train, quotes) ── */
[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }
.front-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.front-course { position: relative; }
.front .hero5-tag { background: #fff; }
.front h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 16px; }
.front-sub { color: var(--ice-muted); font-size: 1.1rem; line-height: 1.55; margin: 0 0 24px; max-width: 560px; background: var(--ice); }
.front .hero5-ctas { margin-bottom: 0; }
.front-media .clip-cap { margin-top: 8px; }
.front-side { display: grid; gap: 14px; }
.front-label { font: 600 .74rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ice-teal-text); background: var(--ice); justify-self: start; padding: 2px 0; }
.door { display: grid; gap: 4px; background: #fff; border: 1px solid var(--ice-rule); border-radius: 6px; padding: 18px 20px; text-decoration: none; color: var(--ice-ink); box-shadow: 0 1px 2px rgba(10,14,23,.04), 0 8px 24px rgba(10,14,23,.06); transition: border-color .2s; }
.door:hover { border-color: var(--ice-teal-btn); }
.door-k { font: 600 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ice-teal-text); }
.door-t { font: 800 1.45rem/1.05 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; margin-top: 2px; }
.door-d { color: var(--ice-muted); font-size: .92rem; line-height: 1.5; }
.door-p { color: var(--ice-muted); font-size: .9rem; margin-top: 4px; }
.door-p b { color: var(--ice-ink); font-family: var(--font-mono); font-weight: 600; }
.door-btn { justify-self: start; margin-top: 10px; border: 1.5px solid var(--ice-teal-btn); background: var(--ice-teal-btn); color: #fff; padding: 9px 16px; border-radius: var(--radius-btn); font-weight: 700; font-size: .92rem; }
.door:hover .door-btn { background: var(--ice-teal-text); }
.door--static:hover { border-color: var(--ice-rule); }
.coach-line.door { background: #fff; line-height: 1.4; align-items: start; }
.cl-row { display: flex; gap: 12px; align-items: center; margin-top: 6px; color: var(--ice-muted); font-size: .9rem; line-height: 1.45; }
.cl-row img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.cl-row b { color: var(--ice-ink); }
.coach-line .door-btn { background: none; border: 0; color: var(--ice-teal-text); padding: 0; margin-top: 12px; }
.coach-line .door-btn::after { content: " →"; }
.coach-line:hover .door-btn { background: none; }
.q-next { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 16px; }
.coach-ask { margin: 22px 0 0 !important; }
.train { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.train-block { background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px; display: flex; flex-direction: column; }
.train-block h3 { font-size: 1.9rem; margin: 10px 0 18px; }
.train-block dl { margin: 0 0 20px; display: grid; gap: 12px; }
.train-block dt { font: 600 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.train-block dd { margin: 2px 0 0; color: var(--text-secondary); line-height: 1.6; font-size: .96rem; }
.train-block .prices { list-style: none; padding: 0; margin: auto 0 10px; border-top: 1px solid var(--border); }
.train-block .prices li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: .95rem; }
.train-block .prices b { color: var(--text); font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.train-block .fine { color: var(--text-muted); font-size: .85rem; line-height: 1.55; margin: 0 0 18px; }
.train-block .fine a { color: var(--accent); }
.train-block .btn-primary { align-self: flex-start; margin-top: auto; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.quote { border-left: 2px solid var(--accent-deep); padding: 4px 0 4px 18px; }
.quote p { color: var(--text); font-size: .98rem; line-height: 1.65; margin: 0 0 10px; }
.quote span { color: var(--text-muted); font-size: .85rem; }
.quotes-label { margin-top: 48px; color: var(--text-muted); font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.final .btn-secondary { border-color: var(--accent); color: var(--accent); }
@media (min-width: 901px) {
  .front-grid:has(.front-copy) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .front-copy { position: relative; isolation: isolate; }
  .front-copy::before { content: ""; position: absolute; inset: -28px -32px; background: var(--ice); border-radius: 12px; z-index: -1; box-shadow: 0 0 40px 30px var(--ice); }
  .front-media { position: relative; }
  .front-side { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .front-label { grid-column: 1 / -1; }
  .door { display: flex; flex-direction: column; }
  .door .door-btn { margin-top: auto; align-self: flex-start; }
  .door .door-p { margin-bottom: 14px; }
}
@media (max-width: 900px) {
  .front-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .front .hero5-tag { font-size: .66rem; letter-spacing: .1em; margin-bottom: 12px; align-self: flex-start; }
  .front h1 { font-size: 2.2rem; margin-bottom: 10px; }
  .front-sub { font-size: .95rem; margin-bottom: 14px; }
  .front-copy { display: contents; }
  .front-copy .hero5-tag { order: 1; } .front-copy h1 { order: 2; } .front-copy .front-sub { order: 3; }
  .front-media { order: 4; margin-bottom: 14px; }
  .front-copy .hero5-ctas { order: 5; flex-direction: column; align-items: stretch; gap: 10px; }
  .front .btn-ice { padding: 15px 20px; }
  .front-side { order: 6; margin-top: 26px; gap: 8px; }
  .front-grid > .front-side:first-child { margin-top: 0; }
  .door { grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; box-shadow: none; }
  .door > * { grid-column: 1; }
  .door-k { font-size: .62rem; }
  .door-t { font-size: 1.1rem; }
  .door-d { display: none; }
  .door-p { font-size: .82rem; margin-top: 0; }
  .door-btn, .door:hover .door-btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; border: 0; padding: 0; background: none; color: var(--ice-ink); font-size: 0; line-height: 1; }
  .door-btn::after { content: "→"; font-size: 1.3rem; }
  .coach-line.door { padding: 12px 14px; }
  .coach-line .door-btn { margin: 0; }
  .coach-line .door-btn::after { content: "→"; }
  .cl-row { margin-top: 2px; font-size: .82rem; }
  .cl-row img { width: 36px; height: 36px; }
  .train, .quotes { grid-template-columns: 1fr; }
}

/* ── Privacy policy (/privacy) ───────────────────────────────────── */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { margin: 0 0 18px; }
.legal-hero .legal-lede { max-width: 62ch; font-size: 1.06rem; line-height: 1.65; margin: 0 0 14px; }
.legal-hero a { color: var(--accent); }
.legal-updated { font: 500 .78rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0; }

.legal-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; padding: 48px 0 96px; align-items: start; }
.legal-rail { position: sticky; top: 96px; }
.legal-rail h4 { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }
.legal-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-left: 1px solid var(--border); }
.legal-rail a { display: block; padding-left: 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-secondary); font-size: .9rem; }
.legal-rail a:hover { color: var(--text); border-left-color: var(--accent); }

.legal-main { max-width: 720px; min-width: 0; }
.legal-main p, .legal-main li, .legal-main dd { color: var(--text-secondary); line-height: 1.7; }
.legal-main p { margin: 0 0 14px; }
.legal-main strong { color: var(--text); font-weight: 600; }
.legal-main a { color: var(--accent); }
.legal-main code { font: .85em var(--font-mono); color: var(--text); }

.legal-section { padding: 36px 0; border-top: 1px solid var(--border); scroll-margin-top: 88px; }
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 0 0 18px; }

.legal-card { background: var(--ink-elevated); border: 1px solid var(--ink-low); border-radius: 12px; padding: 24px 26px; margin-bottom: 8px; }
.legal-card h2 { font: 600 .78rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.legal-card ul { margin: 0; }

.legal-main ul { margin: 0 0 14px; padding-left: 1.15rem; display: grid; gap: 8px; }
.legal-main li::marker { color: var(--text-muted); }

.legal-rows { margin: 0 0 14px; display: grid; }
.legal-rows > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--ink-low); }
.legal-rows > div:first-child { border-top: 0; padding-top: 0; }
.legal-rows dt { color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.7; }
.legal-rows dd { margin: 0; }

.legal-table-wrap { overflow-x: auto; margin: 4px 0 18px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 480px; }
.legal-table th { text-align: left; font: 600 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink-low); }
.legal-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--ink-low); color: var(--text-secondary); vertical-align: top; line-height: 1.55; }
.legal-table td:first-child { font: .85rem var(--font-mono); color: var(--text); white-space: nowrap; }
.legal-table td:last-child { white-space: nowrap; }

@media (max-width: 860px) {
  .legal-body { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .legal-rail { display: none; }
  .legal-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .legal-hero { padding: 44px 0 32px; }
}

/* Free email course sign-up (card on home and /hockey-iq, slim row on the free episode) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ec-card { container-type: inline-size; background: var(--ink-elevated); border: 1px solid var(--border); border-radius: 6px; }
.ec-inner { display: grid; gap: 20px; padding: 26px; }
.ec-copy { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ec-eyebrow { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ec-copy h3 { font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: -.01em; font-size: 1.35rem; line-height: 1.3; margin: 0; }
.ec-copy p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.ec-act { display: grid; gap: 10px; align-content: center; min-width: 0; }
.ec-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.ec-form input[type=email] { background: var(--ink); border: 1px solid var(--border-hover); color: var(--text); padding: 13px 14px; border-radius: var(--radius-input); font: inherit; font-size: 1rem; width: 100%; min-width: 0; }
.ec-form input[type=email]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(63,203,201,.4); }
.ec-form input.ec-err-input { border-color: var(--danger); }
.ec-form .btn-primary { white-space: nowrap; }
.ec-form .ec-hp { display: none; }
.ec-err { color: #fca5a5; font-size: .86rem; margin: 0; }
.ec-consent { margin: 0; font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.ec-consent a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.ec-done { display: grid; gap: 6px; align-content: center; background: var(--ink-elevated); border: 1px solid var(--border); border-radius: 6px; padding: 24px 26px; }
.ec-done b { color: var(--text); font-size: 1.05rem; }
.ec-done p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
@container (min-width: 720px) {
  .ec-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 30px 32px; align-items: center; }
}
@container (max-width: 420px) {
  .ec-form { grid-template-columns: 1fr; }
  .ec-inner { padding: 22px; }
}
.ec-home { margin-top: 0; }
.section.ec-section { padding-top: 0; margin-top: -48px; } /* the quiz section above keeps its 96px bottom padding; pull the card to a 48px gap */
@media (max-width: 640px) { .section.ec-section { margin-top: -16px; } } /* 64px bottom padding on phones */
.hiq-sales .ec-done { margin-top: 40px; } /* the swap replaces .ec-price, which carried this gap */
.ec-price { margin-top: 40px; }
.ec-line { container-type: inline-size; margin: 18px 0 0; padding: 18px 0 20px; border-bottom: 1px solid var(--border); display: grid; gap: 10px; }
.ec-line p.ec-pitch { margin: 0; color: var(--text); font-weight: 600; line-height: 1.5; }
@container (max-width: 420px) { .ec-line .ec-form { grid-template-columns: 1fr; } }
@media (min-width: 901px) {
  .ep-layout--sell > .ec-line { grid-column: 1; grid-row: 2; }
}

/* unsubscribe page */
.ec-unsub { padding: 64px 0 96px; }
.ec-unsub .container { max-width: 600px; }
.ec-unsub h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 8px 0 14px; }
.ec-unsub p { color: var(--text-secondary); line-height: 1.65; margin: 0 0 20px; }
.ec-unsub a { color: var(--accent); }
