/* ==========================================================================
   Bencsik Gym – International Online Martial Arts Academy
   Light, premium, athletic design system. No framework, no build step.
   ========================================================================== */

@font-face { font-family: "Anton"; src: url("../fonts/anton.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-800.woff") format("woff"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  --white: #FFFFFF;
  --bg-2: #F4F6F8;
  --red: #E50914;
  --red-dark: #B8060F;
  --red-tint: #FDECEC;
  --ink: #15171A;
  --text: #626873;
  --line: #E2E5E9;
  --gold: #C9A34E;
  --gold-tint: #F7F0E1;
  --ok: #157F4B;

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px; --r: 18px; --r-lg: 28px; --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(21,23,26,.06), 0 2px 8px rgba(21,23,26,.04);
  --shadow: 0 10px 30px -12px rgba(21,23,26,.18), 0 2px 6px rgba(21,23,26,.04);
  --shadow-lg: 0 40px 80px -30px rgba(21,23,26,.30), 0 8px 20px rgba(21,23,26,.06);
  --shadow-red: 0 14px 30px -12px rgba(229,9,20,.55);
  --ease: cubic-bezier(.2,.7,.1,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); line-height: 1.1; font-weight: 800; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--bg-2); }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mobile-only { display: none; }
.muted { color: var(--text); }
.small { font-size: .88rem; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3-display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--ink); letter-spacing: .005em; }
.display { font-size: clamp(3.1rem, 8.2vw, 7.6rem); line-height: .9; margin-bottom: .32em; }
.h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .94; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: .96; margin-bottom: .45em; }
.h3-display { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; }
.display .accent, .h1 .accent, .h2 .accent { color: var(--red); }
.display .stroke, .h2 .stroke { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--text); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow.gold { color: var(--gold); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.bg-type { position: absolute; pointer-events: none; user-select: none; font-family: var(--font-display); text-transform: uppercase; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(21,23,26,.07); font-size: clamp(8rem, 24vw, 26rem); white-space: nowrap; z-index: 0; }
.error-page .bg-type { position: static; -webkit-text-stroke-color: rgba(229,9,20,.25); font-size: clamp(8rem, 22vw, 16rem); margin: 0 auto 10px; }
.prose { color: #3d424a; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose a { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; font-weight: 600; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

/* ---------- buttons ---------- */
.btn { --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 800; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; isolation: isolate; overflow: hidden; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(229,9,20,.65); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; padding-inline: 14px; }
.btn-ghost:hover { color: var(--red); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-sm { --bh: 42px; padding: 0 20px; font-size: .74rem; }
.btn-lg { --bh: 62px; padding: 0 36px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-shine::after, .btn-primary.btn-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.38) 45%, transparent 70%); transform: translateX(-120%); z-index: -1; animation: shine 4.5s var(--ease) infinite 1.5s; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-play { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--ink); line-height: 1.3; }
.tag-free { background: var(--ink); color: #fff; }
.tag-gold { background: var(--gold); color: #fff; }
.tag-red { background: var(--red); color: #fff; }
.tag-soft { background: var(--bg-2); color: var(--ink); }
.tag-outline { background: transparent; border: 1px solid var(--line); }
.level { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.level::before { content: ""; width: 18px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 33%, var(--line) 33% 66%, var(--line) 66%); }
.level-intermediate::before { background: linear-gradient(90deg, var(--red) 66%, var(--line) 66%); }
.level-advanced::before { background: var(--red); }
.level-all::before { background: linear-gradient(90deg, var(--gold), var(--gold)); }
.dot-sep::before { content: "•"; margin: 0 8px; color: var(--line); }

/* ---------- header ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: height .35s var(--ease), box-shadow .35s, border-color .35s, background-color .35s; }
.site-header.is-scrolled { --header-h: 68px; height: 68px; background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(21,23,26,.25); }
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; transition: transform .35s var(--ease); }
.brand img { width: 172px; height: auto; }
.site-header.is-scrolled .brand { transform: scale(.9); transform-origin: left center; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: clamp(10px, 1.4vw, 26px); list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 8px 0; font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--ink); }
.header-signin { white-space: nowrap; font-weight: 700; font-size: .86rem; color: var(--ink); text-decoration: none; }
.header-signin:hover { color: var(--red); }
.header-account { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .86rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 14px; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- flash ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 14px); right: 18px; z-index: 110; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 36px)); }
.flash { position: relative; padding: 14px 44px 14px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--ink); color: var(--ink); font-weight: 600; font-size: .94rem; animation: flashIn .5s var(--ease-out); }
.flash-success { border-left-color: var(--ok); } .flash-error { border-left-color: var(--red); } .flash-info { border-left-color: var(--gold); }
.flash-close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--text); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-12px); } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal-left.is-in { opacity: 1; transform: none; }
.js .reveal-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.js .reveal-mask.is-in { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: min(calc(100svh - var(--header-h)), 960px); display: flex; align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, #fff 0%, var(--bg-2) 70%); }
.hero::before { content: ""; position: absolute; inset: auto -10% -1px -10%; height: 42%; background: #fff; clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%); z-index: 0; }
.hero .bg-type { top: 4%; left: -2%; -webkit-text-stroke-color: rgba(21,23,26,.06); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--ink); font-size: clamp(3rem, 5.5vw, 5.9rem); line-height: .9; margin: 0 0 28px; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--red); }
.js .hero-title span { opacity: 0; transform: translateY(40%); animation: lineUp 1s var(--ease-out) forwards; }
.js .hero-title span:nth-child(2) { animation-delay: .12s; } .js .hero-title span:nth-child(3) { animation-delay: .24s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); max-width: 52ch; color: #4d535c; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.trust-list .ico { color: var(--red); flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red-tint); }
.hero-media { position: relative; aspect-ratio: 4 / 4.6; max-height: 760px; }
.hero-slab { position: absolute; inset: 6% -14% 2% 14%; background: var(--red); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0; z-index: 0; }
.hero-slab::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.09) 0 2px, transparent 2px 22px); }
.hero-frame { position: absolute; inset: 0 6% 8% 0; z-index: 1; border-radius: var(--r-xl); overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%); box-shadow: var(--shadow-lg); background: #dfe3e7; }
.hero-frame video, .hero-frame picture, .hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21,23,26,.35)); }
.hero-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); }
.hero-chip strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.hero-chip small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.hero-chip-1 { left: -8%; bottom: 18%; animation: float 6s ease-in-out infinite; }
.hero-chip-2 { right: 0; top: 7%; animation: float 7s ease-in-out infinite -2s; }
.hero-chip .belt { width: 44px; height: 14px; border-radius: 3px; background: var(--ink); position: relative; }
.hero-chip .belt::after { content: ""; position: absolute; right: 8px; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.hero-chip .chip-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; }
.hero-play { position: absolute; z-index: 3; right: 14%; bottom: 15%; display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-play .btn-play { background: #fff; color: var(--red); box-shadow: 0 0 0 8px rgba(255,255,255,.25); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.scroll-cue span { width: 1.5px; height: 38px; background: linear-gradient(var(--ink), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- stats band ---------- */
.stats-band { position: relative; z-index: 3; margin-top: clamp(-70px, -5vw, -40px); }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 38px) clamp(18px, 2.6vw, 34px); position: relative; display: flex; gap: 18px; align-items: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-2); color: var(--red); }
.stat-value { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; color: var(--ink); display: block; }
.stat-label { font-size: .8rem; font-weight: 700; color: var(--text); letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; }
.stat-gold .stat-ico { color: var(--gold); background: var(--gold-tint); }

/* ---------- problem / solution ---------- */
.journey { overflow: hidden; }
.journey .bg-type { right: -4%; top: 12%; }
.journey-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.journey-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.journey-photo { margin-top: 34px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/11; clip-path: polygon(0 0, 100% 0, 100% 80%, 84% 100%, 0 100%); }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; }
.pairs { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.pair:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pair > div { padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.pair .problem { background: var(--bg-2); color: #4b5058; font-weight: 500; }
.pair .solution { color: var(--ink); font-weight: 600; position: relative; }
.pair .solution::before { content: "›"; position: absolute; left: -13px; top: 50%; width: 26px; height: 26px; margin-top: -13px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; line-height: 1; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.pair .x { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text); font-weight: 800; font-size: .8rem; border: 1px solid var(--line); }
.pair .solution .ico { flex: none; color: #fff; background: var(--red); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }
.pair-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; display: block; margin-bottom: 4px; color: var(--text); }
.pair .solution .pair-label { color: var(--red); }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.cat-card { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--bg-2); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; transition: transform .5s var(--ease), box-shadow .5s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card.has-img { color: #fff; grid-row: span 2; }
.cat-card.feature { grid-column: span 2; }
.cat-card picture, .cat-card > img { position: absolute; inset: 0; z-index: -2; }
.cat-card picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat-card:hover picture img { transform: scale(1.07); }
.cat-card.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(185deg, rgba(21,23,26,0) 35%, rgba(21,23,26,.82)); }
.cat-card.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(229,9,20,.0) 60%, rgba(229,9,20,.55)); opacity: 0; transition: opacity .5s; }
.cat-card.has-img:hover::after { opacity: 1; }
.cat-num { position: absolute; top: 18px; left: 22px; font-family: var(--font-display); font-size: 1rem; letter-spacing: .06em; opacity: .7; }
.cat-card:not(.has-img) .cat-num { font-size: 4.6rem; line-height: .8; top: 16px; color: transparent; -webkit-text-stroke: 1.5px rgba(21,23,26,.16); opacity: 1; transition: -webkit-text-stroke-color .4s; }
.cat-card:not(.has-img):hover .cat-num { -webkit-text-stroke-color: var(--red); }
.cat-card:not(.has-img)::before { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border: 22px solid #fff; border-radius: 50%; opacity: .7; z-index: -1; transition: transform .6s var(--ease); }
.cat-card:not(.has-img):hover::before { transform: scale(1.2); border-color: var(--red-tint); }
.cat-name { font-family: var(--font-display); font-size: clamp(1.3rem, 1.7vw, 1.7rem); text-transform: uppercase; line-height: 1; margin: 0 0 6px; color: inherit; font-weight: 400; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.cat-meta .ico { transition: transform .3s var(--ease); }
.cat-card:hover .cat-meta .ico { transform: translateX(5px); }

/* ---------- video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2.4vw, 30px); }
.video-card { background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.video-thumb picture, .video-thumb .thumb-img, .video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21,23,26,.55)); }
.thumb-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--red); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; box-shadow: var(--shadow); }
.video-card:hover .thumb-play, .video-thumb:focus-visible .thumb-play { transform: scale(1); opacity: 1; }
.thumb-duration { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: rgba(21,23,26,.7); color: #fff; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.thumb-tags { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; gap: 6px; }
.thumb-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.4); }
.thumb-progress span { display: block; height: 100%; background: var(--red); }
.video-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: .74rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.video-title { font-size: 1.12rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.video-title a { text-decoration: none; }
.video-title a:hover { color: var(--red); }
.video-desc { font-size: .92rem; line-height: 1.55; margin-bottom: 16px; }
.video-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-weight: 800; color: var(--ink); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.price-free { color: var(--red); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.price-muted { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.img-placeholder { position: relative; width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--bg-2) 0 14px, #eceff2 14px 28px); color: var(--text); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.img-placeholder span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px dashed var(--line); }

.empty-state { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: #fff; }
.empty-state .ico { margin: 0 auto 16px; color: var(--red); width: 44px; height: 44px; }
.empty-state h3 { font-size: 1.35rem; }
.empty-state p { max-width: 52ch; margin-inline: auto; }

/* ---------- free lesson ---------- */
.free-lesson { position: relative; overflow: hidden; }
.free-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.free-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); }
.free-media img, .free-media picture { width: 100%; height: 100%; object-fit: cover; }
.free-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(229,9,20,.55), transparent 55%); mix-blend-mode: multiply; }
.free-media .btn-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; color: var(--red); animation: pulse 2.6s infinite; }
.free-media .btn-play:hover { transform: scale(1.06); }
.free-badge { position: absolute; z-index: 2; left: 22px; top: 22px; }
.free-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.free-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.free-list .ico { color: var(--red); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); z-index: 0; }
.steps .line-fill { position: absolute; top: 46px; left: 12%; height: 2px; width: 76%; background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out) .3s; z-index: 0; }
.steps.is-in .line-fill { transform: scaleX(1); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step-num { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--ink); font-family: var(--font-display); font-size: 2rem; color: var(--ink); box-shadow: 0 0 0 10px var(--white); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.section-alt .step-num { box-shadow: 0 0 0 10px var(--bg-2); }
.step:hover .step-num { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(-8deg) scale(1.05); }
.step h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; margin-bottom: 10px; }
.step p { max-width: 32ch; margin-inline: auto; }

/* ---------- instructor ---------- */
.instructor { overflow: hidden; }
.instructor-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.instructor-media { position: relative; }
.instructor-photo { position: relative; z-index: 1; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; max-width: 520px; box-shadow: var(--shadow-lg); }
.instructor-photo img, .instructor-photo picture { width: 100%; height: 100%; object-fit: cover; }
.instructor-media::before { content: ""; position: absolute; z-index: 0; inset: 8% -6% -6% 10%; border: 2px solid var(--gold); border-radius: var(--r-xl); }
.instructor-media .name-vertical { position: absolute; z-index: 2; left: -78px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; font-family: var(--font-display); font-size: 1rem; letter-spacing: .4em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.dan-card { position: absolute; z-index: 2; right: -4%; bottom: 8%; background: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 260px; }
.dan-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--ink); text-transform: uppercase; font-weight: 400; }
.dan-card small { font-size: .78rem; font-weight: 600; }
.dan-card .belt { flex: none; width: 50px; height: 16px; border-radius: 3px; background: var(--ink); position: relative; }
.dan-card .belt::after { content: ""; position: absolute; right: 9px; top: 0; bottom: 0; width: 7px; background: var(--gold); }
.pull-quote { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; font-weight: 700; color: var(--ink); border-left: 4px solid var(--red); padding-left: 22px; margin: 0 0 28px; }
.fact-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--bg-2); border-radius: var(--r-sm); font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.fact-list .ico { flex: none; color: var(--gold); margin-top: 1px; }
.signature { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .06em; color: var(--ink); }

/* ---------- programs ---------- */
.program-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card { position: relative; border-radius: var(--r-lg); padding: 30px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 300px; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; text-decoration: none; color: var(--text); }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-card::before { content: attr(data-num); position: absolute; right: 18px; top: 4px; z-index: -1; font-family: var(--font-display); font-size: 7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(21,23,26,.08); transition: -webkit-text-stroke-color .4s; }
.program-card:hover::before { -webkit-text-stroke-color: rgba(229,9,20,.35); }
.program-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.program-card:hover::after { transform: scaleX(1); }
.program-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.75rem; line-height: 1; margin: 14px 0 12px; max-width: 80%; }
.program-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .78rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.program-card .meta span { display: inline-flex; gap: 6px; align-items: center; }
.status-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--gold-tint); color: #8a6a22; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.live { background: #E6F4EC; color: var(--ok); }

/* ---------- pricing ---------- */
.pricing { position: relative; overflow: hidden; }
.pricing .bg-type { left: 50%; transform: translateX(-50%); top: 2%; }
.billing-toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.billing-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); transition: color .3s; }
.billing-toggle button[aria-pressed="true"] { color: #fff; }
.billing-toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease); }
.billing-toggle[data-interval="year"] .pill { transform: translateX(100%); }
.currency-switch { display: inline-flex; gap: 6px; margin-left: 12px; vertical-align: middle; }
.currency-switch a, .currency-switch button { border: 1px solid var(--line); background: #fff; padding: 6px 10px; border-radius: 8px; font-size: .74rem; font-weight: 800; text-decoration: none; color: var(--text); }
.currency-switch [aria-current="true"] { border-color: var(--ink); color: var(--ink); }
.price-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 40px; }
.price-card { position: relative; background: #fff; border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--red); box-shadow: 0 40px 80px -40px rgba(229,9,20,.45); }
@media (min-width: 1101px) { .price-grid .price-card.featured { margin-top: -16px; margin-bottom: 16px; } }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.plan-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .04em; margin-bottom: 6px; }
.plan-name.gold { color: var(--gold); }
.plan-desc { font-size: .94rem; min-height: 3.1em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.plan-price .amount { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price .per { font-weight: 700; font-size: .86rem; }
.plan-note { font-size: .8rem; color: var(--text); min-height: 1.4em; margin-bottom: 22px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.plan-features li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); line-height: 1.45; }
.plan-features .ico { flex: none; color: var(--red); margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; margin-top: 34px; font-size: .9rem; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.pricing-note span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); grid-auto-flow: dense; gap: 16px; }
.bento-tile { position: relative; border-radius: var(--r-lg); padding: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .45s var(--ease), box-shadow .45s; isolation: isolate; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-tile .ico-wrap { position: absolute; top: 24px; left: 28px; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--bg-2); color: var(--red); transition: transform .45s var(--ease); }
.bento-tile:hover .ico-wrap { transform: rotate(-8deg) scale(1.08); }
.bento-tile h3 { font-size: 1.15rem; margin: 0 0 6px; }
.bento-tile p { margin: 0; font-size: .92rem; line-height: 1.5; }
.bento-tile.wide { grid-column: span 2; }
.bento-tile.tall { grid-row: span 2; }
.bento-tile.red { background: var(--red); border-color: var(--red); color: rgba(255,255,255,.88); }
.bento-tile.red h3 { color: #fff; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2.2rem; line-height: .95; }
.bento-tile.red .ico-wrap { background: rgba(255,255,255,.16); color: #fff; }
.bento-tile.photo { color: #fff; }
.bento-tile.photo picture { position: absolute; inset: 0; z-index: -2; }
.bento-tile.photo picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bento-tile.photo:hover picture img { transform: scale(1.06); }
.bento-tile.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(21,23,26,.85)); }
.bento-tile.photo h3 { color: #fff; }
.bento-tile.gold { background: var(--gold-tint); border-color: #EADCB9; }
.bento-tile.gold .ico-wrap { color: var(--gold); background: #fff; }
.bento-tile .big-num { font-family: var(--font-display); font-size: 4rem; line-height: .9; color: var(--ink); }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.review-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.review-card footer { margin-top: auto; display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--ink); font-size: .9rem; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.post-card .post-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 18px; background: var(--bg-2); }
.post-card .post-img img, .post-card .post-img picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-card time { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.post-card h3 { font-size: 1.28rem; margin: 8px 0 10px; line-height: 1.25; transition: color .25s; }
.post-card:hover h3 { color: var(--red); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; color: var(--ink); font-size: 1.04rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq-item[open] summary::after { transform: rotate(135deg); background-color: var(--red-tint); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p:last-child { margin-bottom: 0; }
.safety-note { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: var(--gold-tint); border: 1px solid #EADCB9; color: #5d4a1e; font-size: .92rem; margin-top: 26px; }
.safety-note .ico { flex: none; color: var(--gold); }

/* ---------- final CTA ---------- */
.final-cta { position: relative; overflow: hidden; padding-block: clamp(90px, 12vw, 170px); isolation: isolate; }
.final-cta picture { position: absolute; inset: 0; z-index: -2; }
.final-cta picture img { width: 100%; height: 120%; object-fit: cover; object-position: 60% 40%; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 46%, rgba(255,255,255,.2) 72%, rgba(229,9,20,.15) 100%); }
.final-cta::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 46%; height: 12px; background: var(--red); }
.final-cta .lead { margin-bottom: 36px; color: #4d535c; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); color: var(--text); font-size: .94rem; }
.footer-cta-band { background: var(--ink); color: #fff; }
.footer-band-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding-block: 44px; }
.footer-band-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; margin: 0; color: #fff; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input[type=email] { height: 54px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; padding: 0 22px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form .nl-consent, .newsletter-form .nl-msg { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: rgba(255,255,255,.66); }
.newsletter-form .nl-consent a { color: #fff; }
.newsletter-form .nl-msg:empty { display: none; }
.newsletter-form .nl-msg { color: #fff; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 60px); padding-block: clamp(56px, 7vw, 90px) 40px; }
.footer-brand img { width: 190px; margin-bottom: 18px; mix-blend-mode: multiply; }
.footer-brand p { max-width: 36ch; }
.footer-title { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--text); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: var(--red); flex: none; }
.socials { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .78rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.socials a:hover { border-color: var(--red); color: var(--red); }
.payment-info { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.payment-info p { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .84rem; color: var(--ink); margin-bottom: 10px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { font-size: .64rem; font-weight: 800; letter-spacing: .04em; padding: 5px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 24px 34px; border-top: 1px solid var(--line); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.legal-links a { text-decoration: none; } .legal-links a:hover { color: var(--red); }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 200; display: flex; justify-content: center; animation: flashIn .5s var(--ease-out); }
.cookie-inner { width: min(980px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(21,23,26,.4); border: 1px solid var(--line); padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px 26px; align-items: center; }
.cookie-copy h2 { font-size: 1.05rem; margin-bottom: 4px; }
.cookie-copy p { margin: 0; font-size: .88rem; }
.cookie-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.switch { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 14px; border-radius: 14px; background: var(--bg-2); cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 3px; }
.switch span { font-weight: 700; color: var(--ink); font-size: .9rem; }
.switch small { grid-column: 2; font-size: .78rem; line-height: 1.4; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- page heads ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--bg-2), #fff); }
.page-hero .bg-type { right: -2%; bottom: -12%; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .lead { margin-top: 10px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { text-decoration: none; color: var(--text); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21,23,26,.08); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .84rem; font-weight: 600; margin: 0; }
.field-hint { font-size: .8rem; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.check a { color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.auth-side picture { position: absolute; inset: 0; z-index: -2; }
.auth-side picture img { width: 100%; height: 100%; object-fit: cover; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,23,26,.1) 20%, rgba(21,23,26,.85)), linear-gradient(110deg, rgba(229,9,20,.55), transparent 50%); }
.auth-side h2 { color: #fff; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0; }
.auth-side li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 80px) var(--gutter); background: var(--bg-2); }
.auth-main .form-card { width: min(560px, 100%); }
.pw-meter { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s, background .3s; }

/* ---------- library ---------- */
.library-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.filters h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.filter-group { border-top: 1px solid var(--line); padding: 16px 0; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group legend, .filter-title { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; padding: 0; }
.filter-group fieldset { border: 0; padding: 0; margin: 0; }
.chip-radio { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-radio label { cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink); transition: all .2s; }
.chip-radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.lib-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search-box { position: relative; flex: 1 1 320px; max-width: 520px; }
.search-box .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text); }
.search-box input { width: 100%; height: 54px; padding: 0 18px 0 50px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search-box input:focus { outline: none; border-color: var(--ink); }
.search-inline { display: flex; gap: 10px; max-width: 560px; margin: 28px auto; }
.search-inline input { flex: 1; height: 54px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 22px; }
.select { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 36px 0 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; appearance: none; font-weight: 600; color: var(--ink); }
.result-count { font-weight: 700; color: var(--ink); }
.lib-rail { margin-bottom: 44px; }
.lib-rail h2 { font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.rail-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail-scroll > * { scroll-snap-align: start; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 40px 0 0; }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; }
.pagination a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { display: grid; place-items: center; min-width: 30px; }
.filter-toggle { display: none; }

/* ---------- video page / player ---------- */
.watch-hero { background: var(--bg-2); padding: 34px 0 60px; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.player { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0d0e10; aspect-ratio: 16/9; box-shadow: var(--shadow-lg); user-select: none; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #0d0e10; }
.player-poster { position: absolute; inset: 0; }
.player-poster img, .player-poster picture { width: 100%; height: 100%; object-fit: cover; }
.player-lock { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; background: linear-gradient(180deg, rgba(21,23,26,.35), rgba(21,23,26,.82)); }
.player-lock .lock-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); }
.player-lock h2 { color: #fff; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; }
.player-lock p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 0 auto 20px; }
.player-lock .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.player-big-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: var(--shadow-red); transition: transform .3s var(--ease), opacity .3s; }
.player-big-play:hover { transform: scale(1.08); }
.player.is-playing .player-big-play, .player.has-started .player-poster { opacity: 0; pointer-events: none; }
.player-controls { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); color: #fff; display: grid; gap: 8px; transition: opacity .35s, transform .35s; }
.player.is-playing.is-idle .player-controls { opacity: 0; transform: translateY(8px); }
.player.is-playing.is-idle { cursor: none; }
.pc-row { display: flex; align-items: center; gap: 6px; }
.pc-row .spacer { flex: 1; }
.pc-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; display: grid; place-items: center; transition: background .2s; position: relative; }
.pc-btn:hover, .pc-btn[aria-expanded="true"] { background: rgba(255,255,255,.16); }
.pc-btn.is-on::after { content: ""; position: absolute; bottom: 6px; left: 12px; right: 12px; height: 2px; background: var(--red); border-radius: 1px; }
.pc-time { font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; padding: 0 6px; }
.pc-seek { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.pc-seek .track { position: relative; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); transition: height .2s; }
.pc-seek:hover .track { height: 6px; }
.pc-seek .buffered { position: absolute; inset: 0 auto 0 0; background: rgba(255,255,255,.35); border-radius: 2px; }
.pc-seek .played { position: absolute; inset: 0 auto 0 0; background: var(--red); border-radius: 2px; }
.pc-seek .knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(229,9,20,.4); transform: scale(0); transition: transform .2s; }
.pc-seek:hover .knob, .pc-seek.dragging .knob { transform: scale(1); }
.pc-seek .chapter-mark { position: absolute; top: -1px; bottom: -1px; width: 3px; background: rgba(0,0,0,.6); }
.pc-seek .tip { position: absolute; bottom: 22px; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.85); font-size: .74rem; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.pc-seek:hover .tip { opacity: 1; }
.pc-volume { width: 0; opacity: 0; transition: width .3s, opacity .3s; accent-color: var(--red); }
.pc-vol-wrap:hover .pc-volume, .pc-vol-wrap:focus-within .pc-volume { width: 80px; opacity: 1; }
.pc-vol-wrap { display: flex; align-items: center; }
.pc-menu { position: absolute; right: 12px; bottom: 64px; z-index: 5; min-width: 200px; padding: 8px; border-radius: 14px; background: rgba(21,23,26,.95); backdrop-filter: blur(10px); color: #fff; box-shadow: var(--shadow-lg); }
.pc-menu h3 { color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin: 6px 10px 6px; }
.pc-menu button { display: flex; width: 100%; justify-content: space-between; padding: 9px 10px; border: 0; background: none; color: #fff; border-radius: 8px; font-size: .88rem; text-align: left; }
.pc-menu button:hover, .pc-menu button[aria-checked="true"] { background: rgba(255,255,255,.1); }
.pc-menu button[aria-checked="true"]::after { content: "✓"; color: var(--red); font-weight: 800; }
.player-toast { position: absolute; z-index: 6; left: 50%; top: 18px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-weight: 700; font-size: .86rem; box-shadow: var(--shadow); }
.next-overlay { position: absolute; z-index: 7; inset: 0; display: grid; place-items: center; background: rgba(13,14,16,.82); color: #fff; text-align: center; padding: 20px; }
.next-overlay h3 { color: #fff; font-size: 1.4rem; }
.next-overlay small { display: block; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.watch-info { margin-top: 26px; }
.watch-title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 12px; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.watch-meta span { display: inline-flex; gap: 6px; align-items: center; }
.watch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fav-btn[aria-pressed="true"] { border-color: var(--red); color: var(--red); }
.fav-btn[aria-pressed="true"] .ico { fill: var(--red); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card + .side-card { margin-top: 16px; position: static; }
.side-card h2 { font-size: 1.05rem; }
.buy-price { font-family: var(--font-display); font-size: 2.6rem; color: var(--ink); line-height: 1; margin: 6px 0 4px; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chapter-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.chapter-list button { display: flex; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.chapter-list button:hover, .chapter-list button.is-active { background: var(--bg-2); }
.chapter-list time { color: var(--red); font-variant-numeric: tabular-nums; font-weight: 800; min-width: 48px; }
.access-ok { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #E6F4EC; color: var(--ok); font-weight: 700; font-size: .92rem; }

/* ---------- program page ---------- */
.module { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 14px; overflow: hidden; }
.module summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; gap: 16px; align-items: center; font-weight: 800; color: var(--ink); }
.module summary::-webkit-details-marker { display: none; }
.module .mod-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); min-width: 36px; }
.module .mod-count { margin-left: auto; font-size: .78rem; color: var(--text); font-weight: 700; }
.lesson-list { list-style: none; margin: 0; padding: 0 24px 16px; }
.lesson-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.lesson-list .l-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); flex: none; }
.lesson-list .done .l-ico { background: var(--ok); color: #fff; }
.lesson-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.lesson-list a:hover { color: var(--red); }
.lesson-list .l-time { margin-left: auto; font-size: .82rem; font-variant-numeric: tabular-nums; }
.lesson-list .pending { color: var(--text); font-style: italic; }
.progress-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff4a52); border-radius: 4px; transition: width 1s var(--ease-out); }

/* ---------- account / dashboard ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-block: 40px 90px; align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.account-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.account-nav a, .account-nav button { display: flex; gap: 12px; align-items: center; width: 100%; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; border: 0; background: none; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--bg-2); }
.account-nav a[aria-current] { background: var(--ink); color: #fff; }
.account-nav a[aria-current] .ico { color: var(--red); }
.account-nav .ico { color: var(--text); }
.account-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 6px; }
.welcome { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 42px); background: linear-gradient(115deg, #fff 0%, #fff 52%, var(--bg-2) 52%); border: 1px solid var(--line); margin-bottom: 22px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.welcome::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid var(--red-tint); }
.welcome h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.2rem); line-height: .95; margin-bottom: 8px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.kpi .ico { color: var(--red); margin-bottom: 12px; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--ink); font-weight: 400; }
.kpi span { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); margin-bottom: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.panel-head h2 { font-size: 1.2rem; margin: 0; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.chart-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 170px; padding-top: 10px; }
.chart-bars .bar { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart-bars .bar i { display: block; width: 100%; max-width: 36px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--red), #ff5a61); min-height: 4px; transform-origin: bottom; animation: grow 1s var(--ease-out) both; }
.chart-bars .bar.is-empty i { background: var(--line); }
.chart-bars .bar span { font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.chart-bars .bar small { font-size: .7rem; font-weight: 700; color: var(--ink); }
@keyframes grow { from { transform: scaleY(0); } }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; font-size: .78rem; }
.cal .dow { font-weight: 800; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 4px; }
.cal .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--bg-2); font-weight: 600; color: var(--ink); }
.cal .d.on { background: var(--red); color: #fff; }
.cal .d.today { box-shadow: inset 0 0 0 2px var(--ink); }
.cal .d.out { background: transparent; color: var(--line); }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.badge { text-align: center; padding: 20px 14px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.badge .medal { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #f3dfa9, var(--gold)); color: #fff; box-shadow: 0 8px 20px -8px rgba(201,163,78,.8); }
.badge.locked { opacity: .5; filter: grayscale(1); }
.badge strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.badge small { font-size: .76rem; }
.streak { display: flex; align-items: center; gap: 16px; }
.streak .fire { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.goal-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.goal-ring > div { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.goal-ring strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); line-height: 1; font-weight: 400; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.status { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-2); color: var(--ink); }
.status-paid, .status-active, .status-succeeded, .status-issued, .status-approved, .status-confirmed, .status-visible, .status-published { background: #E6F4EC; color: var(--ok); }
.status-failed, .status-past_due, .status-canceled, .status-rejected, .status-refunded, .status-hidden, .status-unpaid { background: var(--red-tint); color: var(--red-dark); }
.status-pending, .status-trialing, .status-draft, .status-new, .status-partially_refunded, .status-skipped { background: var(--gold-tint); color: #8a6a22; }
.disclaimer { font-size: .82rem; color: var(--text); padding: 14px 16px; border-radius: 12px; background: var(--bg-2); }

/* ---------- community ---------- */
.composer { display: grid; gap: 12px; }
.composer textarea { min-height: 110px; }
.feed { display: grid; gap: 16px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; animation: flashIn .5s var(--ease-out); }
.post-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.post-head strong { color: var(--ink); }
.post-head time { font-size: .8rem; }
.post-body { color: var(--ink); white-space: pre-line; word-wrap: break-word; }
.post-actions { display: flex; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.post-actions button { display: inline-flex; gap: 6px; align-items: center; border: 0; background: none; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .84rem; color: var(--text); }
.post-actions button:hover { background: var(--bg-2); color: var(--ink); }
.post-actions button[aria-pressed="true"] { color: var(--red); }
.post-actions button[aria-pressed="true"] .ico { fill: var(--red); }
.comments { margin-top: 12px; display: grid; gap: 10px; }
.comment { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: .92rem; color: var(--ink); }
.comment strong { font-size: .84rem; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; }
.new-posts-btn { position: sticky; top: calc(var(--header-h) + 12px); z-index: 5; justify-self: center; }

/* ---------- demos ---------- */
.demo-hero { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: flex-end; padding: clamp(80px, 10vw, 140px) 0 clamp(50px, 6vw, 80px); isolation: isolate; color: #fff; }
.demo-hero picture { position: absolute; inset: 0; z-index: -2; }
.demo-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.demo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,23,26,.05), rgba(21,23,26,.8)), linear-gradient(100deg, rgba(229,9,20,.6), transparent 55%); }
.demo-hero .h1, .demo-hero .eyebrow { color: #fff; }
.demo-hero .lead { color: rgba(255,255,255,.9); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-card .ico-wrap { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); margin-bottom: 18px; }
.event-card h3 { font-size: 1.12rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; background: var(--bg-2); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img, .gallery picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.06); }
.timeline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.timeline-strip > div { padding: 26px; background: #fff; border-right: 1px solid var(--line); }
.timeline-strip > div:last-child { border-right: 0; }
.timeline-strip strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--red); font-weight: 400; line-height: 1; margin-bottom: 8px; }

/* ---------- misc ---------- */
.notice-draft { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--gold-tint); border: 1px solid #EADCB9; color: #6b5218; font-size: .9rem; margin-bottom: 30px; }
.center-card { max-width: 620px; margin: 0 auto; text-align: center; }
.center-card .big-ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--red-tint); color: var(--red); }
.center-card .big-ico.ok { background: #E6F4EC; color: var(--ok); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin .9s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--bg-2); margin-bottom: 12px; }
.contact-card .ico-wrap { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--red); flex: none; }
.contact-card strong { display: block; color: var(--ink); }
.post-hero-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21/9; margin: 0 0 40px; }
.post-hero-img img, .post-hero-img picture { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) { .instructor-media .name-vertical { display: none; } }
@media (max-width: 1560px) { .header-account .desktop-only { display: none; } .header-inner { gap: 18px; } .main-nav ul { gap: 14px; } .main-nav a { font-size: .82rem; } .brand img { width: 150px; } }
@media (max-width: 1220px) {
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: .8rem; }
  .header-signin { display: none; }
}
@media (max-width: 1320px) {
  :root { --header-h: 74px; }
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }
  .nav-toggle { display: block; }
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: #fff; flex-direction: column; justify-content: flex-start; padding: 26px var(--gutter) 40px; overflow-y: auto; opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none; transition: opacity .35s, transform .45s var(--ease-out), visibility 0s linear .45s; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .35s, transform .45s var(--ease-out); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease-out); }
  .nav-open .main-nav li { opacity: 1; transform: none; }
  .nav-open .main-nav li:nth-child(2) { transition-delay: .04s; } .nav-open .main-nav li:nth-child(3) { transition-delay: .08s; } .nav-open .main-nav li:nth-child(4) { transition-delay: .12s; } .nav-open .main-nav li:nth-child(5) { transition-delay: .16s; } .nav-open .main-nav li:nth-child(6) { transition-delay: .2s; } .nav-open .main-nav li:nth-child(7) { transition-delay: .24s; } .nav-open .main-nav li:nth-child(8) { transition-delay: .28s; }
  .main-nav a { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.9rem; padding: 14px 0; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current] { color: var(--red); }
  .mobile-nav-extra { display: grid; gap: 10px; margin-top: 28px; }
   .main-nav .mobile-nav-extra .btn { display: flex; font-family: var(--font-body); font-weight: 800; font-size: .84rem; padding: 0 28px; }
  .nav-open { overflow: hidden; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 1180px) {
  .hero-grid, .journey-grid, .instructor-grid, .free-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .journey-intro { position: static; }
  .hero-media { max-width: 640px; width: 100%; margin-inline: auto; aspect-ratio: 4/3.6; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid, .program-rail, .blog-grid, .review-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .library-layout, .watch-grid, .account-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filter-toggle { display: inline-flex; }
  .side-card { position: static; }
  .account-nav { position: static; overflow-x: auto; }
  .account-nav ul { grid-auto-flow: column; grid-auto-columns: max-content; }
  .account-nav hr { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-band-inner { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { min-height: 260px; }
  .instructor-media { max-width: 520px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .timeline-strip { grid-template-columns: repeat(2, 1fr); }
  .timeline-strip > div:nth-child(2) { border-right: 0; }
  .timeline-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .steps::before, .steps .line-fill { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand img { width: 140px; }
  .lang-switch a { padding: 5px 8px; }
  .hero { min-height: 0; padding-top: 28px; }
  .hero-title { font-size: clamp(2.9rem, 13.5vw, 4.4rem); }
  .hero-ctas .btn { width: 100%; }
  .trust-list { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .trust-list li { font-size: .84rem; }
  .hero-media { aspect-ratio: 1 / 1.02; }
  .hero-chip { padding: 10px 12px; } .hero-chip strong { font-size: 1.4rem; }
  .hero-chip-1 { left: 0; bottom: 12%; } .hero-chip-2 { right: 2%; top: 4%; }
  .hero-slab { inset: 8% -8% 0 20%; }
  .scroll-cue { display: none; }
  .stats-band { margin-top: -30px; }
  .stat { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat-ico { width: 42px; height: 42px; border-radius: 12px; }
  .pair { grid-template-columns: 1fr; }
  .pair .solution::before { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .cat-card { padding: 16px; }
  .cat-card.feature { grid-column: span 2; }
  .cat-card:not(.has-img) .cat-num { font-size: 3.2rem; }
  .video-grid, .program-rail, .blog-grid, .review-grid, .event-grid, .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .fact-list { grid-template-columns: 1fr; }
  .instructor-media .name-vertical { display: none; }
  .dan-card { right: 0; bottom: -20px; }
  .bento { grid-template-columns: 1fr; }
  .bento-tile.wide { grid-column: auto; } .bento-tile.tall { grid-row: auto; min-height: 260px; }
  .bento-tile { min-height: 190px; }
  .form-grid { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-inner { grid-template-columns: 1fr; padding: 20px; }
  .cookie-options { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; } .cookie-actions .btn { flex: 1 1 auto; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px; } .kpi strong { font-size: 1.7rem; }
  .welcome { grid-template-columns: 1fr; background: #fff; }
  .player { border-radius: var(--r); margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .pc-vol-wrap .pc-volume { display: none; }
  .gallery { grid-auto-rows: 160px; }
  .timeline-strip { grid-template-columns: 1fr; }
  .timeline-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-card { padding: 30px 24px; }
  .billing-toggle button { padding: 11px 18px; }
  .search-inline { flex-direction: column; }
  .flash-stack { left: 18px; right: 18px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-left, .js .hero-title span { opacity: 1 !important; transform: none !important; }
  .js .reveal-mask { clip-path: none !important; }
  [data-parallax] { transform: none !important; }
  .btn-shine::after, .btn-primary.btn-lg::after { display: none; }
}

@media print {
  .site-header, .site-footer, .cookie-banner, .scroll-progress, .account-nav { display: none !important; }
}
.demo-hero .breadcrumbs a, .demo-hero .breadcrumbs li { color: rgba(255,255,255,.85); }
.demo-hero .breadcrumbs [aria-current] { color: #fff; }
.demo-hero .tag { background: rgba(255,255,255,.92); }
