/* Public course shop (courses.ns-trainings.com + <slug>.ns-trainings.com). Style rebuilt from docs/design-spec.md (our own CSS, colours and text).
   Loads after /styles.css, which still styles the form fields, the PayPal banner and the cookie notice. Mobile first. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("/fonts/cormorant-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/montserrat.woff2") format("woff2"); }

.ps {
  --hue: 0;
  --ink: #0f1c36;
  --black-bg: #060b16;
  --paper: #e9e6da;
  --on-dark: #faf9f5;
  --dark-muted: #b3bccb;
  --dark-border: #faf9f533;
  --surface: #fff;
  --muted: #eeede7;
  --border: #cfcec3;
  --muted-fg: #5c6370;
  --primary: oklch(53% 0.2 var(--hue));
  --primary-hi: oklch(62% 0.2 var(--hue));
  --primary-on-dark: oklch(72% 0.16 var(--hue));
  --accent: oklch(46% 0.09 225);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 20px;
  --head-h: 56px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
.ps-course { --head-h: 64px; }
.ps.ps-hub { --hue: 0; }
@media (min-width: 1024px) { .ps { --gutter: 57px; } }

.ps h1, .ps h2, .ps h3, .ps h4 { font-family: var(--sans); color: inherit; letter-spacing: 0; margin: 0; }
.ps h2 em, .ps h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; }
.ps p { margin: 0 0 1em; }
.ps a { color: var(--accent); }
.ps :focus-visible { outline: 3px solid oklch(72% 0.13 225); outline-offset: 3px; }
.ps-wrap { width: min(100% - 2 * var(--gutter), 1166px); margin-inline: auto; }
.ps-nowrap { white-space: nowrap; }
.ps-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ps main [id] { scroll-margin-top: calc(var(--head-h) + 8px); }
.ps .banner { margin: var(--head-h) 0 0; position: relative; z-index: 5; }
.ps .skip { z-index: 200; }

/* ---- bands ---- */
.ps-band { padding-block: 64px; position: relative; }
@media (min-width: 900px) { .ps-band { padding-block: 104px; } }
.ps-light { background: var(--surface); color: var(--ink); }
.ps-muted { background: var(--muted); color: var(--ink); }
.ps-dark { background: var(--ink); color: var(--on-dark); isolation: isolate; }
.ps-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 90% 0%, oklch(53% 0.2 var(--hue) / 0.22), transparent 70%), radial-gradient(50% 60% at 0% 100%, #00000066, transparent 70%); }
.ps-black { background: var(--black-bg); }
.ps-dark a { color: var(--on-dark); }

/* ---- type ---- */
.ps-label { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-fg); margin: 0 0 18px; }
.ps-label span { color: var(--primary); font-weight: 700; padding-right: 12px; border-right: 1px solid currentColor; }
.ps-dark .ps-label { color: var(--dark-muted); }
.ps-dark .ps-label span { color: var(--primary-on-dark); }
.ps h2 { font-size: 31px; line-height: 1.22; font-weight: 500; margin-bottom: 24px; max-width: 22em; text-wrap: balance; }
@media (min-width: 900px) { .ps h2 { font-size: 48px; } }
.ps h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
@media (min-width: 900px) { .ps h3 { font-size: 26px; } }
.ps-sec-lead { font-size: 17px; line-height: 1.7; max-width: 44rem; color: var(--muted-fg); }
.ps-dark .ps-sec-lead { color: var(--dark-muted); }
.ps-lead { font-size: 16px; line-height: 1.7; max-width: 38rem; }
@media (min-width: 900px) { .ps-lead { font-size: 16.6px; } }
.ps-small { font-size: 13px; line-height: 1.6; color: var(--dark-muted); margin: 14px 0 0; max-width: 34rem; }
.ps-small--dark { color: var(--muted-fg); }
.ps-mini { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--dark-muted); margin: 0 0 12px; }
.ps-light .ps-mini { color: var(--muted-fg); }
.ps-mini--hot { color: var(--primary-on-dark); margin: 18px 0 4px; }
.ps-num { font-size: 15px; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; }
.ps-dark .ps-num { color: var(--primary-on-dark); }

/* ---- buttons ---- */
.ps-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 50px; padding: 12px 24px; border-radius: 2px; border: 1px solid transparent;
  background: var(--primary); color: #fff !important; font: 600 13px/1.2 var(--sans); text-decoration: none; transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.ps-btn:hover { box-shadow: 0 0 0 1px #ffffff40 inset, 0 10px 30px -10px var(--primary); background: var(--primary-hi); }
.ps-btn-ghost { background: transparent; border-color: var(--dark-border); }
.ps-btn-ghost:hover { background: #ffffff10; box-shadow: 0 0 0 1px #ffffff40 inset; }
.ps-btn-hero { border-radius: 6px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; padding: 20px 32px; }
@media (min-width: 900px) { .ps-btn-hero { font-size: 17px; padding: 22px 40px; } }
.ps-btn-block { width: 100%; }
.ps-textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark) !important; text-decoration: none; font-size: 17px; padding: 10px 0; }
.ps-textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.ps-textlink--dark { color: var(--accent) !important; font-size: 15px; font-weight: 600; }
.ps-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid #faf9f547; background: #faf9f514; color: var(--on-dark);
  box-shadow: 0 12px 32px -18px #0009; cursor: pointer; transition: background .3s; flex: none; }
.ps-arrow:hover { background: #faf9f52e; }

/* ---- fixed header ---- */
.ps-head { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--head-h); color: var(--on-dark);
  background: color-mix(in srgb, var(--ink) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); border-bottom: 1px solid #faf9f514; }
.ps-head-row { height: 100%; display: flex; align-items: center; gap: 20px; }
.ps-brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark) !important; text-decoration: none; min-width: 0; margin-right: auto; }
.ps-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 6px; background: var(--primary); font: 800 13px/1 var(--sans); letter-spacing: 0.04em; }
.ps-brand-text { display: grid; min-width: 0; line-height: 1.15; }
.ps-brand-text strong { font-size: 16px; font-weight: 700; white-space: nowrap; }
.ps-brand-text small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dark-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.ps-nav { display: none; }
.ps-head-cta { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 4px; background: var(--primary); color: #fff !important; font: 700 12px/1.1 var(--sans); text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.ps-head-cta:hover { background: var(--primary-hi); }
@media (max-width: 380px) { .ps-brand-text small { display: none; } }
@media (max-width: 420px) { .ps-head-cta { font-size: 11px; padding: 8px 10px; letter-spacing: 0.03em; } .ps-brand-mark { display: none; } }
@media (min-width: 1100px) {
  .ps-nav { display: flex; gap: 22px; }
  .ps-nav a { color: var(--on-dark) !important; text-decoration: none; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 0; white-space: nowrap; }
  .ps-nav a:hover { color: var(--primary-on-dark) !important; }
  .ps-hub .ps-head-cta { display: none; }
  .ps-brand-text small { max-width: 18rem; }
}

/* ---- hero ---- */
.ps-hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head-h) + 48px) 0 64px; position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 75% 30%, oklch(40% 0.12 var(--hue) / 0.55), transparent 70%), radial-gradient(60% 60% at 10% 90%, oklch(30% 0.06 250 / 0.7), transparent 70%), var(--black-bg); }
.ps-hero-media { position: absolute; inset: 0; z-index: -1; }
.ps-hero-media img, .ps-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.ps-hero-video.is-playing { opacity: 1; }
.ps-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #060b16f2 0%, #060b16cc 45%, #060b1666 100%), linear-gradient(0deg, #060b16 0%, transparent 30%); }
@media (max-width: 899px) { .ps-hero-media::after { background: linear-gradient(180deg, #060b16b3 0%, #060b16d9 50%, #060b16 100%); } }
.ps-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .ps-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.ps-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--paper); margin-bottom: 26px; line-height: 1.5; }
@media (min-width: 900px) { .ps-eyebrow { font-size: 15px; } }
.ps-eyebrow--box { display: inline-block; border: 1px solid #e9e6dacc; padding: 10px 18px; border-radius: 4px; }
.ps-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.08; margin-bottom: 26px; text-wrap: balance; }
.ps-hero h1 em { display: block; color: var(--primary-on-dark); }
@media (min-width: 900px) { .ps-hero h1 { font-size: 66.5px; line-height: 1.12; } .ps-hero--course h1 { font-size: 56px; } }
.ps-hero-sub { font-size: 17px; font-weight: 500; color: var(--paper); margin: -10px 0 18px; }
.ps-hero .ps-lead { color: #e7e9ee; }
.ps-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin: 30px 0 0; }
.ps-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ps-ticks li { position: relative; padding-left: 26px; line-height: 1.55; }
.ps-ticks li::before { content: ""; position: absolute; left: 3px; top: 0.35em; width: 6px; height: 11px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ps-dark .ps-ticks li::before { border-color: var(--primary-on-dark); }
.ps-ticks--row { font-size: 14px; color: #e7e9ee; margin-top: 30px; }
@media (min-width: 700px) { .ps-ticks--row { display: flex; flex-wrap: wrap; gap: 8px 24px; } }
.ps-hero-buy { margin-top: 28px; display: grid; gap: 4px; }
.ps-hero-buy .ps-hero-actions { margin-top: 14px; }
.ps-price-lg { display: grid; gap: 2px; margin: 0; }
.ps-price-lg strong { font-size: 40px; font-weight: 600; line-height: 1.1; }
.ps-price-lg span { font-size: 12px; color: var(--dark-muted); }
.ps-hero-case { justify-self: center; width: min(100%, 320px); }
@media (max-width: 899px) { .ps-hero--course .ps-hero-case { order: -1; width: min(70%, 240px); } }

/* hub hero shelf: small cases standing in a row, nudged by the pointer (public-site.js sets --px/--py) */
.ps-shelf { position: relative; height: 300px; --px: 0; --py: 0; }
@media (min-width: 900px) { .ps-shelf { height: 440px; } }
.ps-shelf-item { position: absolute; bottom: 8%; width: 30%; translate: calc(var(--px) * var(--d, 8px)) calc(var(--py) * var(--d, 8px)); transition: translate .6s var(--ease); }
.ps-shelf-0 { left: 35%; width: 34%; z-index: 3; --d: 14px; bottom: 12%; }
.ps-shelf-1 { left: 12%; z-index: 2; --d: 10px; }
.ps-shelf-2 { left: 60%; z-index: 2; --d: 10px; }
.ps-shelf-3 { left: -2%; width: 25%; z-index: 1; --d: 6px; filter: brightness(.85); }
.ps-shelf-4 { left: 78%; width: 25%; z-index: 1; --d: 6px; filter: brightness(.85); }
.ps-shelf--1 .ps-shelf-0 { left: 30%; width: 42%; }
.ps-shelf--2 .ps-shelf-0 { left: 22%; } .ps-shelf--2 .ps-shelf-1 { left: 50%; }
.ps-shelf--3 .ps-shelf-1 { left: 6%; } .ps-shelf--3 .ps-shelf-2 { left: 66%; }

/* ---- the 3D video case (design-spec 4) ---- */
.ps-case { --case-depth: clamp(12px, 1.8vw, 26px); --turn: 18deg; position: relative; width: 100%; max-width: 380px; margin-inline: auto; perspective: 1800px; }
.ps-case--md { max-width: 380px; }
@media (max-width: 700px) { .ps-case--md { max-width: 300px; } }
.ps-case--sm { --case-depth: clamp(7px, 1vw, 12px); max-width: 220px; }
.ps-case--xs { --case-depth: 7px; max-width: 160px; }
.ps-case--lg { --turn: 14deg; max-width: 320px; }
.ps-case::before { content: ""; position: absolute; inset: 6% -12% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, oklch(58% 0.2 var(--hue) / 0.45), oklch(58% 0.2 var(--hue) / 0.1) 60%, transparent); filter: blur(24px); }
.ps-case-float { animation: ps-float 7s ease-in-out infinite; }
@keyframes ps-float { 50% { transform: translateY(-10px); } }
.ps-case-box { position: relative; aspect-ratio: 600 / 850; transform-style: preserve-3d; transform: rotateY(var(--turn)) rotateX(2deg); transition: transform .7s var(--ease); }
.ps-case:hover .ps-case-box, a:hover .ps-case-box, a:focus-visible .ps-case-box { transform: rotateY(calc(var(--turn) - 10deg)) rotateX(1deg); }
.ps-case-back, .ps-case-front, .ps-case-set { position: absolute; inset: 0; border-radius: 4px; }
.ps-case-back { transform: translateZ(calc(var(--case-depth) / -2)); background: #050912; }
.ps-case-set { transform: translateZ(calc(var(--case-depth) * -1.6)) translateX(6%); background: linear-gradient(160deg, #1d2b48, #070c18); box-shadow: 0 20px 40px -20px #000c; }
.ps-case-spine { position: absolute; top: 0; bottom: 0; width: var(--case-depth); left: calc(var(--case-depth) / -2); transform: rotateY(-90deg); border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, #050912, oklch(34% 0.06 var(--hue)) 45%, oklch(42% 0.08 var(--hue)) 55%, #050912); }
.ps-case-front { transform: translateZ(calc(var(--case-depth) / 2)); overflow: hidden; background: var(--ink); container-type: inline-size;
  box-shadow: 0 30px 60px -20px #000000b3, 0 0 0 1px #ffffff0f; }
.ps-case-front > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-case-front::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff1a;
  background: linear-gradient(90deg, #00000061 0, #00000014 2.6%, #ffffff38 3.6%, transparent 7%), linear-gradient(115deg, #ffffff2e 0, transparent 28%, transparent 72%, #00000038 100%); }
.ps-case-shadow { position: absolute; left: 8%; right: 2%; bottom: -7%; height: 9%; z-index: -1; background: radial-gradient(closest-side, #000000a6, transparent); filter: blur(10px); }
/* sleeve typeset around the landscape cover, used until Lane 2's portrait sleeve exists */
.ps-sleeve { position: absolute; inset: 0; display: flex; flex-direction: column; color: #fff; text-align: left;
  background: linear-gradient(180deg, oklch(30% 0.09 var(--hue)), #070d1a 70%); }
.ps-sleeve-top { background: oklch(48% 0.17 var(--hue)); font: 700 3.6cqi/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 4.5cqi 7cqi; white-space: nowrap; overflow: hidden; }
.ps-sleeve-title { font: 500 8.6cqi/1.08 var(--serif); padding: 5cqi 7cqi 5cqi; flex: 1; display: flex; align-items: center; text-wrap: balance; overflow: hidden; }
.ps-sleeve img { width: 100%; aspect-ratio: 838 / 544; object-fit: cover; display: block; }
.ps-sleeve-foot { display: flex; justify-content: space-between; gap: 4cqi; font: 600 4.2cqi/1.2 var(--sans); padding: 5cqi 7cqi 6cqi; border-top: 0.6cqi solid oklch(48% 0.17 var(--hue)); }

/* ---- approach ---- */
.ps-principles { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 700px) { .ps-principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ps-principles { grid-template-columns: repeat(4, 1fr); } }
.ps-principles li { background: var(--surface); padding: 28px 24px 28px 0; }
@media (min-width: 700px) { .ps-principles li { padding: 32px 28px; } }
.ps-principles h3 { margin: 14px 0 10px; font-size: 21px; }
.ps-principles p { color: var(--muted-fg); margin: 0; line-height: 1.65; }

/* ---- section head with aside ---- */
.ps-sec-head { display: grid; gap: 8px; margin-bottom: 40px; }
@media (min-width: 900px) { .ps-sec-head { grid-template-columns: 1fr auto; align-items: end; } }
.ps-sec-head h2 { margin-bottom: 0; }
.ps-sec-aside { color: var(--dark-muted); max-width: 26rem; font-size: 15px; margin: 0; }

/* ---- slider ---- */
.ps-slider { position: relative; }
.ps-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
.js .ps-viewport { overflow: hidden; touch-action: pan-y; }
.ps-track { display: flex; }
.js .ps-track { transition: transform .8s var(--ease); }
.ps-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: grid; gap: 22px; grid-template-areas: "head" "cover" "rest"; padding: 4px 2px 8px; }
@media (min-width: 900px) {
  .ps-slide { grid-template-columns: 0.8fr 1.2fr; grid-template-areas: "cover head" "cover rest"; grid-template-rows: min-content 1fr; column-gap: 70px; row-gap: 0; align-items: start; }
  .ps-slide-head, .ps-slide-rest { border-left: 1px solid var(--dark-border); padding-left: 70px; margin-left: -70px; }
  .ps-slide-cover { align-self: center; padding: 30px 10px; }
}
.ps-slide-head { grid-area: head; }
.ps-slide-cover { grid-area: cover; }
.ps-slide-rest { grid-area: rest; }
.ps-slide h3 { font-size: 24px; margin: 18px 0 12px; text-wrap: balance; }
@media (min-width: 900px) { .ps-slide h3 { font-size: 30px; } }
.ps-sub { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--paper); margin: 0; }
.ps-light .ps-sub { color: var(--muted-fg); }
.ps-hook { font-size: 14px; line-height: 1.85; color: var(--dark-muted); margin: 18px 0 0; max-width: 40rem; }
.ps-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ps-tag { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--dark-border); border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; }
.ps-tag-ok { border-color: var(--primary-on-dark); }
.ps-light .ps-tag { border-color: var(--border); color: var(--ink); }
.ps-light .ps-tag-ok { border-color: var(--primary); color: var(--primary); }
.ps-counters { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--dark-border); display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
@media (min-width: 600px) { .ps-counters { grid-template-columns: repeat(4, 1fr); } }
.ps-counters strong { display: block; font-size: 34px; font-weight: 600; line-height: 1.1; }
@media (min-width: 900px) { .ps-counters strong { font-size: 40px; } }
.ps-counters span { display: block; font-size: 12px; color: var(--dark-muted); margin-top: 4px; line-height: 1.4; }
.ps-buyrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-top: 26px; }
.ps-credit { margin: 0; font-size: 14px; color: var(--paper); display: grid; gap: 2px; }
.ps-credit span { color: var(--dark-muted); font-size: 12px; }
.ps-pricebox { margin: 0; display: grid; }
@media (min-width: 600px) { .ps-pricebox { text-align: right; } }
.ps-pricebox strong { font-size: 34px; font-weight: 600; line-height: 1.1; }
@media (min-width: 900px) { .ps-pricebox strong { font-size: 40px; } }
.ps-pricebox span { font-size: 12px; color: var(--dark-muted); }
.ps-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.ps-ctas .ps-btn { flex: 1 1 200px; }
@media (min-width: 900px) { .ps-ctas .ps-btn { flex: 0 0 auto; min-width: 220px; } }
.ps-sbar { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.ps-sbar--bottom { margin: 28px 0 0; justify-content: center; }
.ps-count { font-size: 15px; color: var(--dark-muted); font-variant-numeric: tabular-nums; }
.ps-count b { color: var(--on-dark); font-weight: 700; }
.ps-progress { position: relative; width: 180px; max-width: 40vw; height: 2px; background: #faf9f52e; overflow: hidden; }
.ps-progress i { position: absolute; inset: 0; background: var(--primary-on-dark); transform-origin: left; transform: scaleX(0); }
.ps-side { display: none; }
@media (min-width: 1200px) {
  .ps-side { display: inline-grid; position: absolute; top: 50%; z-index: 2; }
  .ps-side--prev { left: -50px; } .ps-side--next { right: -50px; }
  .ps-stage { position: relative; }
  .ps-sbar--top { display: none; }
}
.ps-sbar[hidden], .ps-side[hidden] { display: none; }

/* ---- bundle band ---- */
.ps-bundle-top { display: grid; gap: 40px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--dark-border); }
@media (min-width: 900px) { .ps-bundle-top { grid-template-columns: 1fr 1fr; } }
.ps-pill { display: inline-block; border: 1px solid var(--primary-on-dark); border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 22px; }
.ps-bundle .ps-lead { color: var(--dark-muted); }
.ps-fan { position: relative; height: 210px; }
@media (min-width: 900px) { .ps-fan { height: 260px; } }
.ps-fan-item { position: absolute; top: 0; width: 30%; transition: transform .6s var(--ease); }
.ps-fan-item .ps-case { max-width: none; }
.ps-fan-0 { left: 35%; width: 32%; z-index: 3; }
.ps-fan-1 { left: 13%; top: 8%; width: 27%; z-index: 2; }
.ps-fan-2 { left: 60%; top: 8%; width: 27%; z-index: 2; }
.ps-fan-3 { left: -4%; top: 17%; width: 23%; z-index: 1; filter: brightness(.9); }
.ps-fan-4 { left: 81%; top: 17%; width: 23%; z-index: 1; filter: brightness(.9); }
.ps-fan--2 .ps-fan-0 { left: 16%; } .ps-fan--2 .ps-fan-1 { left: 54%; top: 6%; }
.ps-fan--3 .ps-fan-1 { left: 10%; } .ps-fan--3 .ps-fan-2 { left: 62%; }
.ps-fan:hover .ps-fan-1, .ps-fan:hover .ps-fan-3 { transform: translateX(-3%); }
.ps-fan:hover .ps-fan-2, .ps-fan:hover .ps-fan-4 { transform: translateX(3%); }
.ps-bundle-grid { display: grid; gap: 40px; padding-top: 48px; align-items: start; }
@media (min-width: 900px) { .ps-bundle-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.ps-bundle-list { list-style: none; padding: 0; margin: 0; }
.ps-bundle-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--dark-border); position: relative; }
.ps-bundle-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 6px; height: 11px; border: solid var(--primary-on-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ps-bundle-list li span:first-child { font-weight: 600; font-size: 16px; }
.ps-bundle-list li span:last-child { color: var(--dark-muted); font-size: 14px; }
.ps-glass { border-radius: 10px; padding: 32px 26px 28px; border: 1px solid #faf9f54d; background: linear-gradient(160deg, #faf9f517, #faf9f508);
  box-shadow: 0 40px 90px -50px #000c, inset 0 1px 0 #faf9f526; }
@media (min-width: 900px) { .ps-glass { padding: 36px 34px 30px; } }
.ps-glass-sep { color: var(--dark-muted); font-size: 14px; margin: 0; }
.ps-glass-price { font-size: 48px; font-weight: 700; line-height: 1.05; margin: 0 0 8px; }
@media (min-width: 900px) { .ps-glass-price { font-size: 60px; } }
.ps-save { display: inline-block; border: 1px solid var(--primary-on-dark); background: oklch(53% 0.2 var(--hue) / .25); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; margin: 6px 0 22px; }
.ps-shine { position: relative; overflow: hidden; }
.ps-shine::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, #ffffff40, transparent); transform: translateX(-130%); animation: ps-shine 3.2s var(--ease) infinite; }
@keyframes ps-shine { 60%, 100% { transform: translateX(330%); } }

/* ---- free card ---- */
.ps-free { display: grid; gap: 32px; align-items: center; margin-top: 24px; padding: 32px 0; border-block: 1px solid var(--border); }
@media (min-width: 800px) { .ps-free { grid-template-columns: 240px 1fr; gap: 64px; } }
.ps-free h3 { margin: 16px 0 8px; }
.ps-free-body > p:not(.ps-tags):not(.ps-sub):not(.ps-small) { color: var(--muted-fg); max-width: 40rem; margin-top: 14px; }
.ps-free .ps-case { max-width: 200px; }

/* ---- founders ---- */
.ps-founder { display: grid; gap: 28px; margin-top: 40px; align-items: start; }
@media (min-width: 900px) { .ps-founder { grid-template-columns: 440px 1fr; gap: 64px; } .ps-founder--rev { grid-template-columns: 1fr 300px; margin-top: 88px; } .ps-founder--rev .ps-portrait { order: 2; } }
.ps-portrait { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--muted); max-width: 440px; }
.ps-portrait--sm { max-width: 300px; }
.ps-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.ps-portrait-mono { display: grid; place-items: center; height: 100%; font: italic 500 72px/1 var(--serif); color: var(--ink); background: linear-gradient(160deg, var(--muted), var(--paper)); }
.ps-role { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary); margin-bottom: 10px; }
.ps-name { font-size: 30px !important; font-weight: 600 !important; margin-bottom: 14px !important; }
@media (min-width: 900px) { .ps-name { font-size: 39px !important; } }
.ps-summary { font-weight: 700; font-size: 17px; line-height: 1.5; }
.ps-founder-text > p { line-height: 1.7; max-width: 40rem; }
.ps-quote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--primary); }
.ps-quote p { font: italic 500 26px/1.3 var(--serif); margin: 0 0 6px; }
.ps-quote footer { font-size: 12px; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.12em; }
.ps-aside { background: var(--muted); padding: 20px 22px; max-width: 40rem; margin-top: 24px; }
.ps-aside h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ps-aside p { font-size: 14px; line-height: 1.65; margin: 0; color: #3b4250; }

/* ---- FAQ ---- */
.ps-faq-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .ps-faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.ps-faqs { border-top: 1px solid var(--border); }
.ps-faq { border-bottom: 1px solid var(--border); }
.ps-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 16px; line-height: 1.45; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: var(--primary); transition: transform .3s var(--ease); }
.ps-faq[open] summary::after { transform: rotate(45deg); }
.ps-faq p { margin: 0 0 20px; color: var(--muted-fg); line-height: 1.7; max-width: 44rem; }

/* ---- contact / closing ---- */
.ps-channels { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 1px; background: var(--dark-border); border-block: 1px solid var(--dark-border); }
@media (min-width: 700px) { .ps-channels { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.ps-channels li { background: var(--ink); padding: 24px 0; display: grid; gap: 6px; }
@media (min-width: 700px) { .ps-channels li { padding: 28px 24px; } }
.ps-channels span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--dark-muted); }
.ps-channels a { font-size: 19px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ps-channels a:hover { text-decoration: underline; }
.ps-closing-inner { text-align: center; display: grid; justify-items: center; }
.ps-closing-inner h2 { margin-inline: auto; }
.ps-closing-inner .ps-lead { color: var(--dark-muted); margin: 0 auto 32px; }
.ps-closing-inner .ps-small { margin-top: 22px; }

/* ---- course page sections ---- */
.ps-ideas { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 700px) { .ps-ideas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ps-ideas { grid-template-columns: repeat(3, 1fr); } }
.ps-ideas li { background: var(--surface); padding: 28px 0; }
@media (min-width: 700px) { .ps-ideas li { padding: 32px 28px; } }
.ps-idea-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-fg); }
.ps-belief { font: italic 500 24px/1.25 var(--serif); margin: 6px 0 12px !important; }
.ps-ideas li > p:last-child { color: var(--muted-fg); line-height: 1.65; margin: 0; }
.ps-outcomes { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .ps-outcomes { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ps-outcome { border-top: 2px solid var(--primary-on-dark); padding-top: 22px; }
.ps-outcome h3 { font-size: 21px; margin: 6px 0 4px; }
.ps-where, .ps-day { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--dark-muted); margin: 0; }
.ps-light .ps-day { color: var(--primary); }
.ps-outcome .ps-ticks { color: #dfe3ea; font-size: 15px; }
.ps-modules { margin-top: 40px; border-top: 1px solid var(--border); }
.ps-module { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 800px) { .ps-module { grid-template-columns: 180px 1fr; gap: 40px; } }
.ps-module h3 { font-size: 20px; margin-bottom: 10px; }
.ps-topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted-fg); }
@media (min-width: 900px) { .ps-topics { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.ps-topics li { padding-left: 18px; position: relative; line-height: 1.55; }
.ps-topics li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 1px; background: var(--primary); }
.ps-panels { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 800px) { .ps-panels { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; } }
.ps-panel { background: var(--muted); padding: 28px 24px; }
.ps-panel h3 { font-size: 20px; }
.ps-notfor { margin-top: 28px; color: var(--muted-fg); max-width: 50rem; }
.ps-notfor strong { color: var(--ink); }

/* look inside strip + lightbox */
.ps-strip { list-style: none; padding: 0 0 12px; margin: 32px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(70%, 240px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.ps-strip li { scroll-snap-align: start; }
.ps-thumb { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; width: 100%; color: var(--on-dark); }
.ps-thumb:focus-visible { outline: 3px solid oklch(72% 0.13 225); outline-offset: 4px; }
.ps-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #ffffff10; border-radius: 3px; box-shadow: 0 20px 40px -24px #000; transition: transform .4s var(--ease); }
.ps-thumb--clip img, .ps-thumb--still img { aspect-ratio: 16 / 9; }
.ps-thumb:hover img { transform: translateY(-4px); }
.ps-thumb-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary-on-dark); }
.ps-thumb-cap { font-size: 14px; font-weight: 600; line-height: 1.4; }
.ps-thumb-where { font-size: 12px; color: var(--dark-muted); }
.ps-lb { border: 0; padding: 0; background: transparent; color: var(--on-dark); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.ps-lb::backdrop { background: #060b16e6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ps-lb-inner { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 64px 16px 20px; box-sizing: border-box; font-family: var(--sans); }
.ps-lb-head { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 0; text-align: center; font-size: 14px; font-weight: 600; }
.ps-lb-head span + span { color: var(--dark-muted); font-weight: 400; }
.ps-lb-stage { display: grid; place-items: center; min-height: 0; touch-action: pan-y; }
.ps-lb-stage img, .ps-lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; box-shadow: 0 40px 80px -30px #000; background: #000; }
.ps-lb-nav { display: flex; justify-content: center; align-items: center; gap: 18px; font-variant-numeric: tabular-nums; }
.ps-lb-close { position: absolute; top: 12px; right: 12px; }

/* offer */
.ps-offer { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .ps-offer { grid-template-columns: 1fr 460px; gap: 64px; } }
.ps-offer-case { max-width: 220px; margin: 0 0 32px; }
@media (min-width: 1000px) { .ps-offer-case { float: right; margin: 0 0 24px 32px; width: 200px; } }
.ps-offer-info h2 { font-size: 31px; }
@media (min-width: 900px) { .ps-offer-info h2 { font-size: 44px; } }
.ps-offer-by { color: var(--dark-muted); margin-top: -10px; }
.ps-offer-info .ps-ticks { clear: none; color: #e3e6ec; margin-bottom: 8px; }
.ps-counters--offer { clear: both; }
@media (min-width: 900px) { .ps-counters--offer strong { font-size: 52px; } }
.ps-form { background: var(--surface); color: var(--ink); border-radius: 10px; padding: 26px 20px; box-shadow: 0 40px 90px -50px #000; }
@media (min-width: 600px) { .ps-form { padding: 32px 30px; } }
.ps-form .field label, .ps-form legend { font-family: var(--sans); }
.ps-form-title { font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.ps-price-lg--form { margin-bottom: 20px; }
.ps-price-lg--form span { color: var(--muted-fg); }
.ps-form .ps-pay { width: 100%; min-height: 54px; background: var(--primary); color: #fff; border-radius: 4px; font: 700 15px/1 var(--sans); letter-spacing: 0.04em; }
.ps-form .ps-pay:hover { background: var(--primary-hi); }
.ps-form .fine { margin-top: 12px; }
.ps-sibling { background: var(--black-bg); color: var(--dark-muted); margin: 0; padding: 0 0 48px; font-size: 14px; }
.ps-sibling .ps-wrap { display: block; border-left: 2px solid var(--primary-on-dark); padding-left: 16px; }

/* more courses */
.ps-more-row { list-style: none; padding: 8px 0 16px; margin: 32px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 280px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.ps-more-row li { scroll-snap-align: start; }
.ps-xcard { display: grid; gap: 22px; color: var(--ink) !important; text-decoration: none; padding: 20px 8px 0; }
.ps-xcard .ps-case { max-width: 150px; }
.ps-xbody { display: grid; gap: 6px; }
.ps-xbody strong { font-size: 16px; line-height: 1.35; }
.ps-xbody span { font-size: 14px; color: var(--muted-fg); line-height: 1.5; }
.ps-xbody .ps-xprice { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* floating bundle badge (course pages, wide screens) */
.ps-badge { display: none; }
@media (min-width: 1100px) {
  .ps-badge { display: grid; gap: 2px; position: fixed; top: calc(var(--head-h) + 16px); right: 16px; z-index: 40; padding: 12px 16px; border-radius: 8px; text-decoration: none;
    background: color-mix(in srgb, var(--ink) 88%, transparent); color: var(--on-dark) !important; border: 1px solid var(--dark-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px #000; }
  .ps-badge small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary-on-dark); }
  .ps-badge strong { font-size: 14px; }
  .ps-badge span { font-size: 12px; color: var(--dark-muted); }
}

/* phone bottom bar: 71px, hidden at the top, while the offer is on screen and while the cookie notice is open (public-site.js) */
.ps-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; min-height: 71px; display: flex; align-items: center; padding: 12px 0; box-sizing: border-box;
  background: color-mix(in srgb, var(--ink) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--dark-border); color: var(--on-dark); }
.ps-bar[hidden] { display: none; }
.ps-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.ps-bar-price { display: grid; line-height: 1.2; }
.ps-bar-price strong { font-size: 20px; }
.ps-bar-price small { font-size: 12px; color: var(--dark-muted); }
.ps-bar .ps-btn { min-height: 46px; }
@media (min-width: 900px) { .ps-bar { display: none !important; } }
.ps-has-bar .ps-foot { padding-bottom: 96px; }

/* ---- footer ---- */
.ps-foot { background: var(--black-bg); color: var(--dark-muted); padding: 64px 0 32px; font-size: 14px; }
.ps-foot a { color: var(--on-dark); }
.ps-foot-grid { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-border); }
@media (min-width: 800px) { .ps-foot-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }
.ps-foot-brand { color: var(--on-dark); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.ps-foot-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-dark); margin-bottom: 12px; }
.ps-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ps-foot ul a { text-decoration: none; }
.ps-foot ul a:hover { text-decoration: underline; }
.ps-foot-legal { padding-top: 28px; }
.ps-foot .fine { color: var(--dark-muted); max-width: 52rem; }
.ps-foot .linklike { color: var(--on-dark); }
.ps-foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; }

/* ---- reveal on first view ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js .rv.rv-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ps *, .ps *::before, .ps *::after { animation: none !important; transition: none !important; }
  .ps-case-box { transform: rotateY(var(--turn)) rotateX(2deg) !important; }
  .ps-shelf-item { translate: none !important; }
}
