/* Creator Ladder — course pages, checkout and information pages (same look as the homepage) */
:root {
  --bg: #0F0D0B; --bg-2: #16130F; --surface: #1D1914; --surface-2: #26211A;
  --line: rgba(243, 236, 221, .10); --line-2: rgba(243, 236, 221, .18);
  --text: #F3ECDD; --text-2: #B9AF9D; --text-3: #8C8273;
  --coral: #FF5A3C; --coral-btn: #E4472B; --gold: #FFC93C; --gold-2: #F7E7A8; --mint: #3DDC97; --violet: #A88BFF;
  --f-display: "Fraunces", Georgia, serif; --f-body: "Manrope", system-ui, sans-serif; --f-num: "Bricolage Grotesque", "Manrope", sans-serif;
  --gut: clamp(16px, 5vw, 64px); --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.pwrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 99px; }
.pi { width: 20px; height: 20px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* nav */
.pnav { position: sticky; top: 0; z-index: 50; background: rgba(15, 13, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.pnav.is-scrolled { border-bottom-color: var(--line); background: rgba(15, 13, 11, .9); }
.pnav__row { height: 72px; display: flex; align-items: center; gap: 24px; }
.plogo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px var(--f-display); }
.plogo svg { width: 34px; height: 34px; }
.pnav__links { display: flex; gap: 4px; margin-left: 12px; }
.pnav__links a { white-space: nowrap; padding: 8px 14px; border-radius: 99px; text-decoration: none; color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.pnav__links a:hover { color: var(--text); background: var(--surface); }
.pnav__act { margin-left: auto; display: flex; gap: 8px; }
.pnav__links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.pnav__toggle { display: none; width: 44px; height: 44px; flex: none; border-radius: 99px; border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.pnav__toggle span { width: 18px; height: 1.8px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.pnav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.pnav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.pmenu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 72px); overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); padding: 16px var(--gut) 32px; display: flex; flex-direction: column; }
.pmenu[hidden] { display: none; }
.pmenu a:not(.pbtn) { font: 400 30px/1.2 var(--f-display); color: var(--text); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pmenu a[aria-current="page"] { color: var(--gold); }
.pmenu .pbtn { margin-top: 24px; }
@media (max-width: 1060px) { .pnav__links { display: none; } .pnav__toggle { display: flex; order: 3; } .pnav__act { margin-left: auto; } .pnav__row { gap: 10px; } }
@media (max-width: 560px) { .pnav__act .pbtn--ghost { box-shadow: none; padding: 0 8px; } .pnav__act .pbtn--sm { padding: 0 14px; } .plogo span { display: none; } }

/* buttons */
.pbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 0; background: var(--coral-btn); color: #fff; font: 700 16px var(--f-body); text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .25s var(--spring), box-shadow .25s, background .2s; box-shadow: 0 10px 26px rgba(228, 71, 43, .28); }
.pbtn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(228, 71, 43, .38); }
.pbtn:active { transform: scale(.97); }
.pbtn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.pbtn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.pbtn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pbtn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--text-3); }
.pbtn--shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.4s var(--ease) 1.2s infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.pbtn[disabled] { opacity: .6; pointer-events: none; }
.plink { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: 14px; text-decoration: none; }
.plink:hover { color: var(--text); }
.plink .pi { width: 16px; height: 16px; }

/* tags */
.pkicker { font: 700 13px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font: 600 13px var(--f-body); color: var(--text-2); }
.pchip--hot { background: rgba(255, 90, 60, .14); border-color: rgba(255, 90, 60, .35); color: #FFB3A3; }
.pchip--free { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .35); color: var(--mint); }
.ptier { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 99px; font: 800 12px var(--f-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ptier--premium { color: #2A1C02; background: linear-gradient(110deg, #B8862B, #F7E7A8 45%, #E9C46A 60%, #B8862B); background-size: 200% 100%; animation: tiersh 4s linear infinite; box-shadow: 0 6px 20px rgba(233, 196, 106, .3); }
.ptier--ultra { color: #fff; background: linear-gradient(110deg, #3B2C6E, #8E7CC3 40%, #E5E4E2 55%, #5B3FA8); background-size: 200% 100%; animation: tiersh 4s linear infinite; box-shadow: 0 6px 22px rgba(142, 124, 195, .4); }
@keyframes tiersh { to { background-position: -200% 0; } }

/* ---------- course hero ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 70px) 0 clamp(40px, 7vw, 90px); }
.phero__bg { position: absolute; inset: -40px; z-index: -1; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.4) brightness(.45); transform: scale(1.2); opacity: .7; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 30%, transparent, var(--bg) 80%), linear-gradient(to bottom, transparent 50%, var(--bg)); }
.phero--lux .phero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(40% 50% at 20% 20%, rgba(233, 196, 106, .18), transparent 70%); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: 14px; margin-bottom: 18px; }
.pcrumb a { text-decoration: none; color: var(--text-2); }
.pcrumb a:hover { color: var(--text); }
.pcrumb span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.phero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.phero__title { font: 400 clamp(38px, 6vw, 74px)/1.02 var(--f-display); letter-spacing: -.02em; }
.phero__title .w { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: top; }
.phero__title .w > span { display: inline-block; }
.phero__lead { margin-top: 18px; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 52ch; }
.phero__facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.phero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(29, 25, 20, .7); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); backdrop-filter: blur(8px); }
.phero__facts b { color: var(--text); font-family: var(--f-num); }
.phero__facts .pi { width: 18px; height: 18px; color: var(--gold); }
.phero__buy { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pprice { display: inline-flex; align-items: center; gap: 10px; font: 800 38px var(--f-num); letter-spacing: -.02em; padding-right: 8px; }
.pprice svg { width: 40px; height: 40px; animation: coinspin 6s ease-in-out infinite; }
.pprice small { font: 600 13px var(--f-body); color: var(--text-3); letter-spacing: 0; }
.pprice--big { font-size: 46px; }
@keyframes coinspin { 0%, 70%, 100% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } }
.phero__card { position: relative; border-radius: 28px; perspective: 1000px; }
.phero__card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px var(--line-2); transition: transform .5s var(--ease); }
.is-lux .phero__card img { box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1.5px rgba(233, 196, 106, .55), 0 0 60px rgba(233, 196, 106, .15); }
.phero__coin { position: absolute; width: 58px; height: 58px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
.phero__coin svg { width: 100%; height: 100%; }
.phero__coin--a { left: -24px; top: 12%; }
.phero__coin--b { right: -18px; top: 46%; width: 44px; height: 44px; animation-delay: -2s; }
.phero__coin--c { left: 14%; bottom: -22px; width: 36px; height: 36px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(8deg); } }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } .phero__card { order: -1; max-width: 560px; } .phero__coin--a { left: -8px; } .phero__coin--b { right: -6px; } }

/* ---------- sections ---------- */
.psec { padding-top: clamp(48px, 8vw, 100px); }
.phead { max-width: 720px; margin-bottom: 28px; }
.phead h2, .pbox h2, .pcta h2, .plux h2 { font: 400 clamp(30px, 4vw, 46px)/1.08 var(--f-display); letter-spacing: -.01em; }
.phead__sub { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.pgrid2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .pgrid2 { grid-template-columns: 1fr; } }
.pbox { padding: clamp(22px, 3.5vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.pbox--soft { background: var(--bg-2); color: var(--text-2); }
.pbox--learn { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.prose { margin-top: 18px; color: var(--text-2); font-size: 17px; }
.prose p { margin: 0 0 16px; }
.prose h2 { font: 400 26px/1.2 var(--f-display); color: var(--text); margin: 30px 0 12px; }
.prose ul, .plearn { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.prose li, .plearn li { display: flex; gap: 12px; align-items: flex-start; }
.prose li .pi, .plearn .pi { color: var(--mint); margin-top: 3px; }
.plearn { margin-top: 20px; }
.plearn li { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text); }
.prose--page { max-width: 760px; }
.prose--page h2 { font-size: 30px; }

/* gallery */
.pgallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; }
.pgallery__item { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.pgallery__item.is-big { grid-column: span 2; grid-row: span 2; }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.pgallery__item:hover img { transform: scale(1.06); filter: brightness(1.08); }
.pgallery__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; }
@media (max-width: 700px) { .pgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; } }
.plight { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(5, 4, 3, .92); backdrop-filter: blur(8px); animation: fadein .25s; }
.plight img { max-height: 86vh; width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: zoomin .4s var(--spring); }
.plight__x { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.plight[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } } @keyframes zoomin { from { transform: scale(.85); opacity: 0; } }

/* preview video */
.pvideo { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px var(--line-2); }
.pvideo iframe, .pvideo video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pvideo__cover { position: absolute; inset: 0; cursor: pointer; }
.pvideo__cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transition: transform .8s var(--ease), filter .4s; }
.pvideo:hover .pvideo__cover img { transform: scale(1.04); filter: brightness(.65); }
.pvideo__play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 0; background: var(--gold); color: #1A1208; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 201, 60, .5); animation: pulse 2.2s infinite; transition: transform .3s var(--spring); }
.pvideo__play .pi { width: 38px; height: 38px; margin-left: 5px; }
.pvideo__play:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 201, 60, .5); } 70% { box-shadow: 0 0 0 26px rgba(255, 201, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 201, 60, 0); } }

/* lessons */
.plessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: l; }
.plessons li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.plessons li:hover { transform: translateX(6px); border-color: var(--line-2); background: var(--surface-2); }
.plessons__n { font: 800 22px var(--f-num); color: var(--gold); min-width: 34px; }
.plessons__t { flex: 1; font-weight: 600; }
.plessons__m { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 14px; white-space: nowrap; }
.plessons__m .pi { width: 16px; height: 16px; }
.plessons__lock { color: var(--text-3); }
.plessons__lock .pi { width: 18px; height: 18px; }

/* included */
.pperks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .pperks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pperks { grid-template-columns: 1fr; } }
.pperk { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.pperk:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.pperk__ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 201, 60, .12); color: var(--gold); margin-bottom: 16px; transition: transform .4s var(--spring); }
.pperk:hover .pperk__ic { transform: rotate(-8deg) scale(1.08); }
.pperk__ic .pi { width: 24px; height: 24px; }
.pperk h3 { font: 700 18px var(--f-body); margin-bottom: 6px; }
.pperk p { color: var(--text-2); font-size: 15px; }

/* premium extras */
.plux { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: linear-gradient(150deg, #1B1408, #0E0B07 60%, #1A1530); border: 1px solid rgba(233, 196, 106, .4); box-shadow: 0 0 80px rgba(233, 196, 106, .08) inset; }
.plux__glow { position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 196, 106, .28), transparent 65%); animation: glow 8s ease-in-out infinite; }
@keyframes glow { 50% { transform: translate(-60px, 60px) scale(1.1); } }
.plux .pkicker { color: var(--gold-2); }
.plux h2 { color: var(--gold-2); text-shadow: 0 0 30px rgba(233, 196, 106, .25); }
.plux__list { position: relative; list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.plux__list li { display: flex; gap: 10px; align-items: flex-start; color: #EDE3CC; }
.plux__list .pi { color: var(--gold); margin-top: 3px; }
@media (max-width: 700px) { .plux__list { grid-template-columns: 1fr; } }

/* final call */
.pcta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: radial-gradient(80% 120% at 0% 0%, rgba(255, 90, 60, .22), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
.pcta--lux { background: radial-gradient(80% 120% at 0% 0%, rgba(233, 196, 106, .2), transparent 60%), #15110A; border-color: rgba(233, 196, 106, .45); }
.pcta p:not(.pkicker) { margin-top: 12px; color: var(--text-2); max-width: 54ch; }
.pcta__buy { display: grid; gap: 12px; justify-items: center; }
@media (max-width: 760px) { .pcta { grid-template-columns: 1fr; } .pcta__buy { justify-items: start; } }

/* more courses */
.pmore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .pmore { grid-template-columns: 1fr; } }
.pmore__card { display: grid; text-decoration: none; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.pmore__card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.pmore__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pmore__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pmore__card:hover .pmore__img img { transform: scale(1.06); }
.pmore__img .ptier { position: absolute; left: 12px; top: 12px; }
.pmore__b { display: grid; gap: 6px; padding: 18px 20px 22px; }
.pmore__b b { font: 700 18px var(--f-body); }
.pmore__b span { color: var(--text-2); font-size: 14px; }
.pmore__b .pmore__p { color: var(--gold); font: 800 16px var(--f-num); margin-top: 6px; }

/* sticky buy bar */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: rgba(22, 19, 15, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .5s var(--ease); }
.pbar.is-on { transform: translateY(0); }
.pbar__row { display: flex; align-items: center; gap: 14px; }
.pbar__t { flex: 1; min-width: 0; display: grid; }
.pbar__t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar__t span { color: var(--gold); font: 800 16px var(--f-num); }

/* footer */
.pfoot { margin-top: clamp(60px, 10vw, 120px); padding: 48px 0 30px; border-top: 1px solid var(--line); background: var(--bg-2); }
.pfoot__grid { display: grid; grid-template-columns: 1.4fr repeat(var(--cols, 2), 1fr); gap: 28px; }
@media (max-width: 720px) { .pfoot__grid { grid-template-columns: 1fr 1fr; } .pfoot__grid > :first-child { grid-column: 1 / -1; } }
.pfoot p { color: var(--text-2); margin-top: 12px; max-width: 36ch; font-size: 15px; }
.pfoot h3 { font: 700 13px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.pfoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pfoot ul a { text-decoration: none; color: var(--text-2); }
.pfoot ul a:hover { color: var(--text); }
.pfoot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
@media (max-width: 700px) { .pfoot__grid { grid-template-columns: 1fr 1fr; } .pfoot__grid > div:first-child { grid-column: 1 / -1; } }
.page-course .pfoot { padding-bottom: 100px; }

/* ---------- info pages ---------- */
.pinfo { padding-top: clamp(40px, 7vw, 80px); }
.pinfo__head { max-width: 760px; margin-bottom: 30px; }
.pinfo__head h1, .pinfo > h1 { font: 400 clamp(40px, 6vw, 68px)/1.02 var(--f-display); letter-spacing: -.02em; }
.pcontact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 36px 0 20px; max-width: 900px; }
.pcontact__card { display: grid; gap: 4px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.pcontact__card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pcontact__card .pi { color: var(--gold); width: 26px; height: 26px; margin-bottom: 8px; }
.pcontact__card span { color: var(--text-2); font-size: 15px; overflow-wrap: anywhere; }
.pform { display: grid; gap: 14px; max-width: 640px; margin-top: 12px; }
.pform h2 { font: 400 30px var(--f-display); }
.pform label, .pfield { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.pform input, .pform textarea, .pfield input, .pfield textarea, .pfield select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 400 16px var(--f-body); transition: border-color .2s, box-shadow .2s; }
.pform input:focus, .pform textarea:focus, .pfield input:focus, .pfield textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 60, .2); }
.perr { color: #FF8A73; font-weight: 600; font-size: 14px; }
.pok { color: var(--mint); font-weight: 700; }
.muted { color: var(--text-2); }

/* ---------- checkout ---------- */
.pco { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 48px); padding-top: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .pco { grid-template-columns: 1fr; } .pco__side { order: -1; } }
.pco__title { font: 400 clamp(40px, 5vw, 60px)/1 var(--f-display); margin: 14px 0 22px; }
.psteps { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.psteps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--text-3); font-weight: 700; font-size: 14px; transition: all .4s var(--ease); }
.psteps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-family: var(--f-num); transition: all .4s var(--spring); }
.psteps li.is-on { color: var(--text); border-color: var(--gold); }
.psteps li.is-on b { background: var(--gold); color: #1A1208; transform: scale(1.1); }
.psteps li.is-done b { background: var(--mint); color: #08281A; }
.pstep { padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; animation: stepin .5s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateY(14px); } }
.pstep h2 { font: 400 28px var(--f-display); }
.ptabs { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); }
.ptabs button { padding: 10px 18px; border-radius: 99px; border: 0; background: transparent; color: var(--text-2); font: 700 14px var(--f-body); cursor: pointer; }
.ptabs button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.pgrid-f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pgrid-f { grid-template-columns: 1fr; } }
.pmethods { display: grid; gap: 10px; }
.pmethod { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--spring); }
.pmethod:hover { transform: translateY(-2px); }
.pmethod input { position: absolute; opacity: 0; }
.pmethod__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--text-3); margin-top: 2px; transition: all .2s; }
.pmethod.is-on { border-color: var(--gold); background: rgba(255, 201, 60, .06); }
.pmethod.is-on .pmethod__dot { border-color: var(--gold); box-shadow: inset 0 0 0 5px var(--gold); }
.pmethod b { font-size: 17px; }
.pmethod pre { margin: 10px 0 0; white-space: pre-wrap; font: 500 15px/1.6 var(--f-body); color: var(--text-2); }
.pmethod__copy { margin-top: 10px; }
.pdrop { position: relative; display: grid; place-items: center; gap: 6px; padding: 26px; border-radius: 20px; border: 2px dashed var(--line-2); background: var(--bg-2); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.pdrop:hover, .pdrop.is-over { border-color: var(--gold); background: rgba(255, 201, 60, .05); }
.pdrop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pdrop img { max-height: 220px; border-radius: 12px; }
.prow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.psum { border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: sticky; top: 92px; }
.psum--lux { border-color: rgba(233, 196, 106, .5); box-shadow: 0 0 50px rgba(233, 196, 106, .08); }
.psum img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.psum__b { padding: 20px 22px 24px; display: grid; gap: 10px; }
.psum__b .ptier { justify-self: start; }
.psum h2 { font: 400 26px/1.15 var(--f-display); }
.psum p { color: var(--text-2); font-size: 15px; }
.psum__row { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text-2); }
.psum__row--total { color: var(--text); font-size: 18px; }
.psum__row--total b { font: 800 26px var(--f-num); color: var(--gold); }
.psum__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.psum__list li { display: flex; gap: 8px; align-items: center; }
.psum__list .pi { width: 18px; height: 18px; color: var(--mint); }
.pdone { text-align: center; padding: clamp(28px, 5vw, 50px); }
.pdone__check { width: 96px; height: 96px; margin: 0 auto 16px; }
.pdone__check circle { stroke: var(--mint); stroke-width: 5; fill: rgba(61, 220, 151, .1); stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1s var(--ease) forwards; }
.pdone__check path { stroke: var(--mint); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pdone h2 { font: 400 36px var(--f-display); }
.pdone p { color: var(--text-2); margin: 10px auto 22px; max-width: 46ch; }
.pconf { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

/* ---------- motion ---------- */
.motion [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.motion [data-r].is-in, .shown:not(.js-ok) [data-r] { opacity: 1; transform: none; }
.motion .phero__title .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.motion .is-ready .phero__title .w > span, .shown:not(.js-ok) .phero__title .w > span { transform: none; }
.motion .phero__badges, .motion .phero__lead, .motion .phero__facts, .motion .phero__buy, .motion .pcrumb { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .is-ready .pcrumb { transition-delay: .05s; } .motion .is-ready .phero__badges { transition-delay: .1s; } .motion .is-ready .phero__lead { transition-delay: .5s; } .motion .is-ready .phero__facts { transition-delay: .62s; } .motion .is-ready .phero__buy { transition-delay: .75s; }
.motion .is-ready :is(.phero__badges, .phero__lead, .phero__facts, .phero__buy, .pcrumb), .shown:not(.js-ok) :is(.phero__badges, .phero__lead, .phero__facts, .phero__buy, .pcrumb) { opacity: 1; transform: none; }
.motion .phero__card { opacity: 0; transform: translateY(30px) scale(.94) rotate(1.5deg); transition: opacity 1.1s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
.motion .is-ready .phero__card, .shown:not(.js-ok) .phero__card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* phones */
.pbtn, .plogo span { white-space: nowrap; }
@media (max-width: 560px) {
  .pnav__row { height: 64px; gap: 10px; }
  .plogo { font-size: 19px; gap: 8px; } .plogo svg { width: 30px; height: 30px; }
  .pnav__act .pbtn { padding: 0 14px; font-size: 13px; }
  .phero__coin--a { width: 40px; height: 40px; } .phero__coin--b { width: 32px; height: 32px; } .phero__coin--c { width: 28px; height: 28px; }
  .phero__buy .pbtn { flex: 1 1 100%; }
  .pprice { font-size: 32px; }
}

/* ---------- All courses (shop page) ---------- */
.pshop { padding-top: clamp(40px, 7vw, 84px); }
.pshop__head { max-width: 760px; margin-bottom: 26px; }
.pshop__head h1 { font: 400 clamp(42px, 6.4vw, 76px)/1 var(--f-display); letter-spacing: -.02em; }
.pshop__lead { margin-top: 16px; color: var(--text-2); font-size: 18px; line-height: 1.55; max-width: 56ch; }
.pshop__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pshop__chip { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: 700 15px var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--spring); }
.pshop__chip i { font-style: normal; opacity: .6; margin-left: 4px; }
.pshop__chip:hover { color: var(--text); border-color: var(--line-2); }
.pshop__chip:active { transform: scale(.96); }
.pshop__chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pshop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .pshop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pshop__grid { grid-template-columns: 1fr; } }
.pshop__card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pshop__card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.pshop__card--lux { border-color: rgba(230, 184, 92, .45); }
.pshop__card[hidden] { display: none; }
.pshop__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pshop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pshop__card:hover .pshop__img img { transform: scale(1.04); }
.pshop__img .ptier { position: absolute; left: 12px; top: 12px; }
.pshop__b { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.pshop__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-3); font: 600 13px var(--f-body); }
.pshop__meta span { display: inline-flex; align-items: center; gap: 5px; }
.pshop__meta .pi { width: 15px; height: 15px; }
.pshop__tag { color: #FFB3A3; }
.pshop__b h2 { font: 700 21px/1.25 var(--f-body); }
.pshop__b h2 a { color: var(--text); text-decoration: none; }
.pshop__b h2 a:hover { color: var(--gold); }
.pshop__short { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.pshop__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pshop__price { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font: 800 22px var(--f-num); }
.pshop__price svg { width: 22px; height: 22px; }
.pshop__btns { display: flex; gap: 8px; }
.pshop__btns .pbtn--ghost { display: inline-flex; }
