:root {
  --ink: #0a0d0b;
  --ink-soft: #101510;
  --panel: #151b16;
  --paper: #e9e3d7;
  --cream: #cfc5b2;
  --muted: #968f82;
  --moss: #8e9b72;
  --gold: #b99a61;
  --line: rgba(233, 227, 215, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.preview-ribbon { position: fixed; z-index: 30; right: 0; bottom: 0; padding: 7px 15px; background: var(--gold); color: #12100c; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 18; min-height: 76px; padding: 0 clamp(20px, 4vw, 72px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); background: rgba(10, 13, 11, .9); backdrop-filter: blur(18px); }
.brand { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .12em; white-space: nowrap; }
.brand small { display: block; margin-top: -5px; color: var(--muted); font: 8px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.main-nav { justify-self: center; display: flex; gap: clamp(16px, 2.5vw, 36px); }
.main-nav a { position: relative; color: var(--cream); font-size: 12px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--gold); transition: right .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-tools { display: flex; align-items: center; gap: 15px; font-size: 11px; }
.locale-menu { display: flex; gap: 7px; color: var(--muted); }
.locale-menu a[aria-current="true"] { color: var(--paper); }
.currency-control { display: flex; align-items: center; }
.currency-control span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.currency-control select { border: 0; background: transparent; color: var(--cream); font-size: 10px; outline: 0; }
.currency-control option { background: var(--ink); }
.account-link, .cart-button { border: 0; border-left: 1px solid var(--line); padding-left: 14px; background: transparent; cursor: pointer; }
.cart-button b { display: inline-grid; min-width: 18px; height: 18px; margin-left: 3px; place-items: center; border-radius: 50%; background: var(--gold); color: #111; font-size: 9px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 21px; }

.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { font-size: clamp(56px, 8.8vw, 136px); letter-spacing: -.035em; }
h2 { font-size: clamp(42px, 5.5vw, 78px); }
h3 { font-size: 29px; line-height: 1.05; }
p { color: var(--cream); }
.button { display: inline-flex; min-height: 50px; padding: 0 23px; align-items: center; justify-content: center; gap: 14px; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s, border .2s; }
.button.primary { border-color: var(--gold); background: var(--gold); color: #11120e; }
.button.primary:hover { background: #d1b47d; }
.button.ghost:hover { border-color: var(--gold); }
.button.full { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { min-height: calc(100svh - 76px); position: relative; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 7, .98) 5%, rgba(7, 9, 7, .75) 46%, rgba(7, 9, 7, .18) 75%), linear-gradient(0deg, rgba(10, 13, 11, .95), transparent 55%), url("/assets/wadim-lexx-hero.webp") 72% 35%/cover no-repeat; filter: saturate(.8); }
.hero-copy { position: relative; z-index: 2; width: min(990px, 90vw); padding: clamp(80px, 12vw, 155px) clamp(22px, 5vw, 90px) 50px; }
.hero-copy h1 { max-width: 1050px; margin-bottom: 25px; }
.hero-lead { max-width: 620px; margin: 0 0 34px; font-size: 17px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.trust-row span::before { content: "✦"; margin-right: 8px; color: var(--gold); }

.section { padding: clamp(78px, 10vw, 150px) clamp(22px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.section.muted { background: var(--ink-soft); }
.section-title { max-width: 840px; margin-bottom: 55px; }
.section-title h2 { margin-bottom: 20px; }
.section-title > p:last-child { max-width: 650px; font-size: 17px; }
.section-title.inline { max-width: none; display: flex; justify-content: space-between; align-items: end; }
.section-title.inline a { padding-bottom: 8px; border-bottom: 1px solid var(--gold); font-size: 11px; text-transform: uppercase; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.path-card { min-height: 370px; padding: 32px; display: flex; flex-direction: column; border: solid var(--line); border-width: 0 1px 1px 0; transition: background .25s, transform .25s; }
.path-card:hover { background: var(--panel); transform: translateY(-4px); }
.path-card > span { color: var(--gold); font: 17px var(--serif); }
.path-card h3 { margin-top: auto; margin-bottom: 18px; font-size: clamp(31px, 3vw, 46px); }
.path-card p { min-height: 80px; }
.path-card a { margin-top: 22px; color: var(--gold); font-size: 11px; text-transform: uppercase; }

.ecosystem-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ecosystem-card { min-height: 270px; padding: 28px; position: relative; border: 1px solid var(--line); border-right: 0; }
.ecosystem-card:last-child { border-right: 1px solid var(--line); }
.ecosystem-card > span { color: var(--muted); font-size: 10px; }
.ecosystem-card h3 { margin-top: 65px; }
.ecosystem-card b { position: absolute; right: 28px; bottom: 22px; color: var(--gold); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { min-width: 0; }
.product-card[hidden] { display: none; }
.product-image { min-height: 390px; padding: 16px; display: flex; align-items: flex-start; justify-content: flex-end; background: linear-gradient(0deg, rgba(9, 12, 9, .4), transparent), var(--image) center/cover; overflow: hidden; filter: saturate(.75); transition: filter .25s; }
.product-image:hover { filter: saturate(1); }
.product-image span { padding: 7px 10px; background: rgba(10, 13, 11, .82); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.product-card > div { padding: 22px 0; }
.product-card h3 { min-height: 58px; margin: 0; }
.product-meta { display: flex; margin-top: 22px; align-items: center; justify-content: space-between; }
.product-meta strong { color: var(--gold); font-size: 17px; }
.product-meta button { border: 0; border-bottom: 1px solid var(--muted); padding: 0 0 3px; background: transparent; color: var(--paper); cursor: pointer; font-size: 10px; text-transform: uppercase; }

.journal-banner, .split-callout { min-height: 360px; padding: clamp(65px, 8vw, 120px) clamp(22px, 6vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: 50px; background: linear-gradient(100deg, #171d17, #0c0f0d); border-bottom: 1px solid var(--line); }
.journal-banner > div, .split-callout > div { max-width: 700px; }
.journal-banner h2, .split-callout h2 { margin-bottom: 16px; }

.page-hero { min-height: 470px; padding: clamp(110px, 13vw, 180px) clamp(22px, 7vw, 120px) 70px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 20%, rgba(142, 155, 114, .12), transparent 35%); }
.page-hero h1 { max-width: 1200px; margin-bottom: 28px; font-size: clamp(58px, 9vw, 125px); }
.page-hero > p:last-child { max-width: 680px; font-size: 18px; }

.course-grid { display: grid; gap: 26px; }
.course-card { display: grid; grid-template-columns: minmax(260px, 38%) 1fr; border: 1px solid var(--line); }
.course-card > div:last-child { padding: clamp(28px, 5vw, 65px); }
.course-visual { min-height: 360px; padding: 30px; display: flex; align-items: flex-end; justify-content: space-between; background: radial-gradient(circle at center, rgba(185, 154, 97, .18), transparent 40%), linear-gradient(135deg, #202820, #0d100e); }
.course-visual span { color: var(--gold); font: 76px var(--serif); }
.course-visual p { writing-mode: vertical-rl; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.course-card ul { margin: 25px 0; padding-left: 18px; color: var(--cream); }

.filters, .article-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }
.filters button, .article-controls button { padding: 10px 15px; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; font-size: 10px; text-transform: uppercase; }
.filters button.active, .article-controls button.active { border-color: var(--gold); color: var(--gold); }
.shop-note, .ethics { padding: 45px clamp(22px, 6vw, 100px); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-bottom: 1px solid var(--line); background: var(--ink-soft); }
.shop-note h2 { margin: 0; font-size: 42px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.service-card { min-height: 410px; padding: 32px; display: flex; flex-direction: column; background: var(--ink); }
.service-card > span { color: var(--gold); font: 22px var(--serif); }
.service-card .eyebrow { margin-top: 60px; }
.service-card p:not(.eyebrow) { min-height: 72px; }
.service-card strong { margin: 15px 0 25px; color: var(--gold); font-size: 22px; }
.service-card .button { margin-top: auto; align-self: flex-start; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.article-card { min-height: 350px; padding: 26px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(8, 10, 8, .95), rgba(8, 10, 8, .15)), var(--image, linear-gradient(135deg, #1d251d, #0c0f0d)) center/cover; border: 1px solid var(--line); }
.article-card h3 { margin-bottom: 12px; }
.article-card small { color: var(--gold); text-transform: uppercase; }
.loading-card { min-height: 240px; padding: 30px; border: 1px solid var(--line); color: var(--muted); }
.article-card h3 a, .article-card > a { color: inherit; }
.article-card > a { color: var(--gold); font-size: 11px; }
.article-detail { max-width: 980px; min-height: 70vh; padding: clamp(80px, 11vw, 160px) clamp(22px, 8vw, 120px); margin: auto; }
.article-detail h1 { font-size: clamp(52px, 8vw, 105px); }
.article-lead { max-width: 760px; color: var(--cream); font-size: 19px; }
.article-body { max-width: 760px; margin-top: 55px; }
.article-body p { margin: 0 0 24px; color: var(--cream); font-size: 17px; line-height: 1.85; }
.article-lock { margin-top: 45px; padding: 30px; display: grid; gap: 20px; border: 1px solid var(--line); }
.article-lock h2 { margin: 0; }
.article-lock strong { color: var(--gold); font: 32px var(--serif); }
.article-lock .button { width: fit-content; }

.account-shell { padding: clamp(60px, 8vw, 120px) clamp(22px, 7vw, 120px); }
.auth-card { width: min(520px, 100%); margin: auto; padding: clamp(25px, 4vw, 50px); border: 1px solid var(--line); background: var(--ink-soft); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.auth-tabs button { padding: 13px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); }
.auth-tabs button.active { border-color: var(--gold); color: var(--paper); }
.auth-card label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--cream); font-size: 11px; }
.auth-card input { min-height: 50px; padding: 0 14px; border: 1px solid var(--line); background: #0d110e; color: var(--paper); outline: 0; }
.auth-card input:focus { border-color: var(--gold); }
.form-status { min-height: 22px; margin-bottom: 0; color: var(--gold); font-size: 11px; }
.demo-link { width: 100%; margin-top: 15px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; text-decoration: underline; }
.dashboard { max-width: 1440px; margin: auto; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; }
.student-portal { margin-top: 35px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.student-nav { position: sticky; top: 100px; border: 1px solid var(--line); background: var(--ink-soft); }
.student-person { padding: 22px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.student-person > b { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 20px var(--serif); }
.student-person span, .student-person small { display: block; }
.student-person small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.student-nav > button { width: 100%; padding: 15px 18px; display: flex; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; text-align: left; }
.student-nav > button.active { padding-left: 15px; border-left: 3px solid var(--gold); color: var(--paper); background: rgba(185, 154, 97, .08); }
.student-panels { min-width: 0; }
.portal-heading { margin-bottom: 28px; }
.portal-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); }
.learning-list { display: grid; gap: 14px; }
.learning-list article { padding: 24px; display: grid; grid-template-columns: 1fr minmax(220px, .45fr); gap: 35px; align-items: center; border: 1px solid var(--line); }
.learning-list article h3 { margin: 14px 0 5px; }
.learning-list article > div:last-child { display: grid; gap: 10px; }
.portal-table { border: 1px solid var(--line); overflow-x: auto; }
.portal-row { min-width: 650px; padding: 18px 20px; display: grid; grid-template-columns: 1.2fr 1.4fr .7fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.portal-row:last-child { border-bottom: 0; }
.portal-row-head { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.portal-action { margin-top: 24px; }
.portal-link { padding: 0; border: 0; background: transparent; color: var(--gold); cursor: pointer; font: inherit; font-size: 11px; }
.profile-form { max-width: 850px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-form label { display: grid; gap: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.profile-form input, .profile-form select { min-height: 50px; padding: 0 14px; border: 1px solid var(--line); background: #0d110e; color: var(--paper); }
.profile-form button { width: fit-content; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-grid article { min-height: 250px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); }
.support-grid article .button { margin-top: auto; }
.support-form { margin-top: 24px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border: 1px solid var(--line); }
.support-form label { display: grid; gap: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.support-form label.full { grid-column: 1 / -1; }
.support-form input, .support-form select, .support-form textarea { width: 100%; padding: 13px; border: 1px solid var(--line); background: #0d110e; color: var(--paper); font: 14px var(--sans); }
.support-form button { width: fit-content; }
.support-tickets { margin-top: 24px; }
.stats, .admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 35px 0; border: solid var(--line); border-width: 1px 0 0 1px; }
.stats > div, .admin-kpis > div { min-height: 125px; padding: 22px; border: solid var(--line); border-width: 0 1px 1px 0; }
.stats span, .admin-kpis span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.stats strong, .admin-kpis strong { display: block; margin-top: 15px; color: var(--gold); font: 38px var(--serif); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dashboard-grid article { min-height: 230px; padding: 28px; border: 1px solid var(--line); }
.dashboard-grid article a { color: var(--gold); font-size: 11px; }
.progress { height: 4px; margin: 25px 0 8px; background: var(--line); }
.progress i { display: block; height: 100%; background: var(--gold); }
.status { display: inline-block; padding: 5px 8px; background: rgba(142, 155, 114, .16); color: var(--moss); font-size: 10px; }

.admin-shell { padding: clamp(50px, 7vw, 100px) clamp(22px, 7vw, 120px); }
.admin-warning { padding: 14px 18px; border: 1px solid rgba(185, 154, 97, .35); color: var(--cream); font-size: 12px; }
.admin-kpis small { color: var(--muted); }
.admin-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-modules button { min-height: 190px; padding: 22px; position: relative; border: 1px solid var(--line); background: var(--ink-soft); color: var(--paper); text-align: left; cursor: pointer; }
.admin-modules button span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.admin-modules button h3 { margin-top: 38px; }
.admin-modules button strong { color: var(--gold); font: 28px var(--serif); }
.admin-modules button b { position: absolute; right: 20px; bottom: 15px; }
.admin-modules button.active { border-color: var(--gold); background: rgba(185, 154, 97, .08); }
.admin-video-config { margin-top: 45px; padding: 28px; display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 32px; align-items: center; border: 1px solid rgba(185, 154, 97, .45); background: linear-gradient(110deg, rgba(185, 154, 97, .1), var(--ink-soft)); }
.admin-video-config h2 { margin: 0 0 10px; }
.admin-video-config p { max-width: 680px; }
.video-slots { display: grid; gap: 9px; }
.video-slots span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.video-slots b { display: inline-block; min-width: 40px; color: var(--gold); font: 18px var(--serif); }
.admin-workspace { margin-top: 45px; border: 1px solid var(--line); }
.admin-workspace > header { padding: 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.admin-workspace > header h2 { margin: 0; font-size: 46px; }
.admin-table { overflow-x: auto; }
.admin-row { width: 100%; min-width: 680px; padding: 16px 22px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--cream); text-align: left; }
button.admin-row { cursor: pointer; }
button.admin-row:hover { background: var(--ink-soft); }
.admin-row-head { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-editor { padding: 30px; }
.admin-editor label { display: grid; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.admin-editor input, .admin-editor select, .admin-editor textarea { width: 100%; padding: 13px; border: 1px solid var(--line); background: #0d110e; color: var(--paper); font: 14px var(--sans); }
.course-structure { padding: 30px; border-top: 1px solid var(--line); }
.course-structure > header h2 { margin-top: 0; }
.course-structure-list { margin: 25px 0; display: grid; gap: 8px; }
.course-structure-item { padding: 14px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); }
.course-structure-item.lesson { margin-left: 35px; }
.course-structure-item button { margin-left: auto; border: 0; background: transparent; color: var(--gold); cursor: pointer; }
.course-structure-forms { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; }
.course-structure-forms form { padding: 22px; border: 1px solid var(--line); }
.course-structure-forms label { display: grid; gap: 7px; margin-bottom: 15px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.course-structure-forms input, .course-structure-forms select, .course-structure-forms textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: #0d110e; color: var(--paper); }

.detail-page { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1.1fr .9fr; }
.detail-image { min-height: 700px; padding: 25px; display: flex; justify-content: flex-end; background: linear-gradient(0deg, rgba(7, 9, 7, .25), transparent), var(--image) center/cover; }
.detail-image span { height: fit-content; padding: 7px 10px; background: rgba(10, 13, 11, .85); font-size: 10px; }
.detail-copy { padding: clamp(45px, 8vw, 110px); align-self: center; }
.detail-copy h1 { font-size: clamp(50px, 6vw, 90px); }
.detail-lead { font-size: 17px; }
.detail-copy dl { margin: 35px 0; }
.detail-copy dl div { display: grid; grid-template-columns: 120px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.detail-copy dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.detail-copy dd { margin: 0; }
.detail-price { display: block; margin-bottom: 24px; color: var(--gold); font: 35px var(--serif); }
.fine-print { font-size: 10px; color: var(--muted); }

.course-detail { min-height: 650px; padding: clamp(75px, 11vw, 160px) clamp(22px, 7vw, 120px); display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: center; border-bottom: 1px solid var(--line); }
.course-detail h1 { font-size: clamp(60px, 8vw, 115px); }
.course-detail > div:first-child > p:not(.eyebrow) { max-width: 680px; font-size: 18px; }
.course-seal { aspect-ratio: 1; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; text-align: center; }
.course-seal span { color: var(--gold); font: 85px var(--serif); }
.course-seal small { letter-spacing: .16em; }
.module-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.module-list li { min-height: 100px; padding: 18px; display: grid; grid-template-columns: 65px 1fr auto; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.module-list li > span { color: var(--gold); font: 22px var(--serif); }
.module-list h3 { margin: 0; font-size: 25px; }
.module-list p { margin: 5px 0 0; font-size: 11px; }
.module-list b { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.course-reader { display: grid; gap: 18px; }
.course-reader .section-title { margin-bottom: 15px; }
.lesson-reader { max-width: 980px; padding: 30px; border: 1px solid var(--line); background: var(--ink-soft); }
.lesson-reader h3 { font-size: 34px; }
.lesson-reader > div > p { max-width: 760px; line-height: 1.75; }
.video-placeholder { min-height: 260px; margin-top: 25px; display: grid; place-items: center; align-content: center; border: 1px solid var(--line); background: #080a08; color: var(--gold); }
.video-placeholder span { font-size: 42px; }
.video-placeholder iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.free-video-callout, .video-preview { padding: clamp(45px, 7vw, 90px) clamp(22px, 6vw, 100px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 5vw, 70px); align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(185, 154, 97, .15), rgba(12, 15, 13, .96)); }
.free-video-callout h2, .video-preview h2 { margin: 0 0 12px; }
.free-video-callout p, .video-preview p { max-width: 760px; }
.free-video-zone { padding: clamp(36px, 5vw, 70px) clamp(22px, 6vw, 100px); border-bottom: 1px solid var(--line); background: rgba(185, 154, 97, .04); }
.free-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.free-video-grid .free-video-callout { padding: 32px; grid-template-columns: 88px 1fr; gap: 24px; border: 1px solid var(--line); }
.free-video-grid .free-video-callout .button { grid-column: 2; justify-self: start; }
.free-video-grid .free-video-mark { width: 88px; }
.free-video-zone > .video-note { margin: 20px 0 0; }
.free-video-mark { width: 120px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.free-video-mark span { grid-row: 1; font-size: 28px; transform: translateX(3px); }
.free-video-mark small { grid-row: 2; align-self: start; font-size: 8px; letter-spacing: .12em; }
.video-preview { grid-template-columns: minmax(320px, 1.25fr) minmax(280px, .75fr); }
.video-preview-stage { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 20px; border: 1px solid rgba(185, 154, 97, .45); background: radial-gradient(circle at center, rgba(185, 154, 97, .16), transparent 46%), #090b0a; color: var(--gold); }
.video-preview-stage span { font-size: 52px; }
.video-preview-stage small, .video-note { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.video-note { display: block; margin-top: 14px; max-width: 560px; line-height: 1.7; }
.lifetime-badge { width: fit-content; margin: 22px 0; padding: 9px 13px; border: 1px solid rgba(185, 154, 97, .55); color: var(--gold); letter-spacing: .04em; }

.checkout-shell { max-width: 1320px; margin: auto; padding: clamp(50px, 7vw, 100px) clamp(22px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; }
.shipping-section { border: 1px solid var(--line); padding: clamp(20px, 4vw, 34px); margin-bottom: 38px; }
.shipping-section h2 { margin: 0 0 12px; }
.shipping-section p { color: var(--muted); line-height: 1.6; }
.shipping-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.shipping-form label { display: grid; gap: 9px; color: var(--cream); font-size: 11px; }
.shipping-form label.full { grid-column: 1 / -1; }
.shipping-form input, .shipping-form textarea, .shipping-form select { width: 100%; padding: 13px; border: 1px solid var(--line); background: #0d110e; color: var(--paper); font: 14px var(--sans); }
.shipping-pending { color: var(--gold); font-size: 12px; line-height: 1.5; }
.shipping-section [data-shipping-request] { margin-top: 22px; }
.order-shipping-note { display: block; margin-top: 7px; color: var(--gold); line-height: 1.6; }
.admin-shipping { margin: 22px 0; padding: 22px; border: 1px solid var(--line); }
.admin-shipping pre { white-space: pre-wrap; font: 13px/1.7 var(--sans); color: var(--paper); }
.payment-methods { display: grid; gap: 9px; }
.payment-method { min-height: 85px; padding: 15px 18px; display: grid; grid-template-columns: auto 44px 1fr; gap: 15px; align-items: center; border: 1px solid var(--line); cursor: pointer; }
.payment-method:has(input:checked) { border-color: var(--gold); background: rgba(185, 154, 97, .05); }
.payment-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { margin-top: 3px; color: var(--muted); }
.checkout-notice { min-height: 50px; margin-top: 25px; padding: 14px; border-left: 2px solid var(--gold); color: var(--cream); font-size: 11px; }
.order-summary { height: fit-content; padding: 30px; position: sticky; top: 100px; border: 1px solid var(--line); background: var(--ink-soft); }
.checkout-item, .cart-item { padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 15px; border-bottom: 1px solid var(--line); }
.checkout-item small, .cart-item small { color: var(--muted); }
.summary-line, .cart-total { padding: 14px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.summary-line.total { margin-bottom: 20px; color: var(--gold); font-size: 18px; }
.stars-fee { color: var(--gold); }

.cart-drawer { width: min(440px, 100vw); position: fixed; inset: 0 0 0 auto; z-index: 50; padding: 45px 30px; background: #111611; transform: translateX(105%); transition: transform .28s; box-shadow: -30px 0 80px rgba(0, 0, 0, .35); }
.cart-drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; right: 22px; top: 16px; border: 0; background: transparent; font-size: 26px; cursor: pointer; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .6); }

.site-footer { min-height: 210px; padding: 55px clamp(22px, 6vw, 100px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer div { justify-self: end; display: flex; gap: 20px; font-size: 11px; }
.site-footer small { color: var(--muted); }
.language-page { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(circle, #1b241c, #080b09 60%); }
.language-page main { width: min(800px, 90vw); text-align: center; }
.language-page h1 { font-size: clamp(48px, 9vw, 105px); }
.language-page nav { display: grid; grid-template-columns: repeat(3, 1fr); }
.language-page nav a { padding: 25px; border: 1px solid var(--line); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: fixed; inset: 76px 0 auto; padding: 30px; flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .header-tools { justify-self: end; }
  .account-link { display: none; }
  .ecosystem-grid, .admin-modules { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-card:nth-child(2) { border-right: 1px solid var(--line); }
  .product-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .service-card .eyebrow { margin-top: 30px; }
  .detail-page { grid-template-columns: 1fr; }
  .detail-image { min-height: 65svh; }
}

@media (max-width: 720px) {
  .site-header { min-height: 66px; padding: 0 16px; gap: 10px; }
  .main-nav { top: 66px; }
  .brand { font-size: 17px; }
  .locale-menu a:not([aria-current="true"]) { display: none; }
  .cart-button { padding-left: 9px; }
  .hero { min-height: 800px; }
  .hero-image { background-position: 67% 35%; }
  .hero-copy { padding: 150px 20px 35px; }
  .hero-copy h1 { font-size: clamp(52px, 17vw, 86px); }
  .trust-row { gap: 10px 18px; }
  .path-grid, .product-grid, .article-grid, .stats, .admin-kpis, .dashboard-grid, .admin-modules, .admin-video-config { grid-template-columns: 1fr; }
  .path-card { min-height: 300px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card { border-right: 1px solid var(--line); }
  .section-title.inline, .journal-banner, .split-callout { align-items: flex-start; flex-direction: column; }
  .product-image { min-height: 350px; }
  .course-card { grid-template-columns: 1fr; }
  .course-visual { min-height: 260px; }
  .shop-note, .ethics { grid-template-columns: 1fr; }
  .detail-copy { padding: 50px 22px; }
  .student-portal { grid-template-columns: 1fr; }
  .student-nav { position: static; }
  .learning-list article, .profile-form, .support-grid, .support-form, .course-structure-forms { grid-template-columns: 1fr; }
  .support-form label.full { grid-column: 1; }
  .course-structure-item.lesson { margin-left: 10px; }
  .course-detail { grid-template-columns: 1fr; }
  .course-seal { width: min(300px, 80vw); justify-self: center; }
  .module-list li { grid-template-columns: 45px 1fr; }
  .module-list li b { grid-column: 2; }
  .free-video-grid { grid-template-columns: 1fr; }
  .free-video-callout, .video-preview, .free-video-grid .free-video-callout { grid-template-columns: 1fr; justify-items: start; }
  .free-video-grid .free-video-callout .button { grid-column: 1; }
  .video-preview-stage { width: 100%; min-height: 240px; }
  .checkout-shell { grid-template-columns: 1fr; }
  .shipping-form { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer div { justify-self: start; flex-wrap: wrap; }
  .language-page nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
