/* ==========================================================================
   Parudux Studio — magazine «پشت‌صحنه» and course pages
   Server-rendered pages; same brand as the main site (gold + cyan on
   near-black, Vazirmatn), light mode through html[data-theme="light"].
   ========================================================================== */

@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn/Vazirmatn-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #07070d; --bg-2: #0d0d16; --surface: #11111c; --surface-2: #171726;
  --text: #f3eee6; --muted: #a3a9bb; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --gold: #d4af37; --gold-2: #f0cf62; --cyan: #00d4ff; --violet: #7c3aed; --ok: #34d399;
  --radius: 20px; --shadow: 0 24px 60px -28px rgba(0,0,0,.8);
  --maxw: 1180px; --prose: 740px;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f6f7fb; --bg-2: #eef1f7; --surface: #ffffff; --surface-2: #f3f5fa;
  --text: #121626; --muted: #5b6479; --line: rgba(18,22,38,.09); --line-2: rgba(18,22,38,.16);
  --gold: #a8841c; --gold-2: #c9a227; --cyan: #0284a8; --shadow: 0 20px 50px -30px rgba(18,22,38,.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.9 Vazirmatn, Tahoma, sans-serif; overflow-x: clip; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold); margin-bottom: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 14px; padding: 11px 20px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #15110a; box-shadow: 0 10px 30px -12px rgba(212,175,55,.7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(212,175,55,.9); }
.btn--ghost { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
.btn--sm { padding: 7px 14px; font-size: 13px; border-radius: 11px; }
.btn--lg { padding: 15px 28px; font-size: 17px; border-radius: 16px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; }

/* ---------------------------------------------------------------- chrome */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(var(--p, 0)); background: linear-gradient(270deg, var(--gold), var(--cyan)); }
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span { display: grid; line-height: 1.2; }
.brand b { font-weight: 900; letter-spacing: .12em; font-size: 14px; }
.brand small { font-size: 11px; color: var(--gold); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 7px 14px; border-radius: 11px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; }
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }
.top__actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .nav { display: none; } .top__actions { margin-inline-start: auto; } }
.preview-bar { background: repeating-linear-gradient(45deg, #b8860b, #b8860b 12px, #8a6408 12px, #8a6408 24px); color: #fff; text-align: center; font-weight: 700; padding: 6px; font-size: 13px; }
.foot { margin-top: 90px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 26px; }
.foot__in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot p { color: var(--muted); max-width: 440px; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--gold); }
.foot__copy { text-align: center; color: var(--muted); font-size: 12px; margin: 26px 0 0; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 22px 0 10px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); font-size: 12px; font-weight: 700; text-decoration: none; }

/* -------------------------------------------------------------- mag list */
.mag-hero { text-align: center; padding: 40px 0 26px; position: relative; }
.mag-hero::before { content: ""; position: absolute; inset: -40px 10% auto; height: 260px; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 18%, transparent), transparent); filter: blur(10px); }
.mag-hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; margin: 0; line-height: 1.2; background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 60%, var(--gold))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mag-hero p { color: var(--muted); margin: 10px auto 22px; max-width: 620px; }
.search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.search input { flex: 1; min-width: 0; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); padding: 0 16px; font: inherit; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0 34px; }
.cats a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; color: var(--muted); }
.cats a:hover, .cats a.is-active { color: #15110a; background: var(--gold); border-color: var(--gold); }
.result-note { color: var(--muted); text-align: center; }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 30px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.feature__body { padding: 34px; align-self: center; }
.feature__body h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.5; margin: 0 0 12px; }
.feature__body h2 a { text-decoration: none; }
.feature__body p { color: var(--muted); }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature__body { padding: 22px; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__ph { display: grid; place-items: center; height: 100%; font-size: 40px; color: var(--gold); opacity: .5; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 18px; line-height: 1.6; }
.card h3 a { text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13px; }
.meta > * + *::before { content: "•"; margin-inline-end: 16px; opacity: .5; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 40px 0 0; }
.pager a { padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 12px; text-decoration: none; }
.empty { text-align: center; padding: 70px 0; color: var(--muted); }
.empty h1 { color: var(--text); }

/* ----------------------------------------------------------------- article */
.post { max-width: 1080px; margin-inline: auto; }
.post__head { max-width: var(--prose); margin: 10px auto 20px; }
.post__head h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.45; font-weight: 900; margin: 14px 0; }
.tldr { max-width: var(--prose); margin: 0 auto 24px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.tldr b { color: var(--gold); display: block; margin-bottom: 4px; }
.tldr p { margin: 0; }
.post__cover { margin: 0 0 30px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.post__cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.post__layout { display: grid; grid-template-columns: 250px minmax(0, var(--prose)); gap: 44px; justify-content: center; }
.post__layout > .prose:only-child { grid-column: 1 / -1; margin-inline: auto; }
@media (max-width: 1000px) { .post__layout { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: 90px; align-self: start; font-size: 14px; }
.toc details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--muted); display: block; border-inline-start: 2px solid transparent; padding-inline-start: 10px; }
.toc a.is-active, .toc a:hover { color: var(--gold); border-color: var(--gold); }
.toc--3 { padding-inline-start: 14px; font-size: 13px; }
@media (max-width: 1000px) { .toc { position: static; } }

.prose { font-size: 17.5px; line-height: 2.05; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 27px; line-height: 1.5; margin: 1.9em 0 .5em; font-weight: 900; }
.prose h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); margin-inline-end: 12px; transform: translateY(-3px) rotate(45deg); }
.prose h3 { font-size: 21px; margin: 1.6em 0 .4em; }
.prose h4 { font-size: 18px; }
.prose p { margin: 0; }
.prose a { color: var(--cyan); text-underline-offset: 4px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin-inline: 0; padding: 14px 20px; border-inline-start: 4px solid var(--gold); background: var(--surface); border-radius: 0 14px 14px 0; font-size: 18px; }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.prose figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; background: var(--surface-2); padding: 2px 7px; border-radius: 7px; direction: ltr; unicode-bidi: isolate; }
.prose pre { direction: ltr; text-align: left; background: #0a0a12; color: #e6e6f0; border: 1px solid var(--line); border-radius: 16px; padding: 18px; overflow-x: auto; font-size: 14px; line-height: 1.7; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 2.4em 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: right; }
.prose th { background: var(--surface-2); font-weight: 700; }
.callout { padding: 16px 20px; border-radius: 16px; border: 1px solid; }
.callout b { display: block; margin-bottom: 4px; }
.callout p { margin: 0; }
.callout--tip { background: color-mix(in srgb, var(--cyan) 8%, var(--surface)); border-color: color-mix(in srgb, var(--cyan) 35%, transparent); }
.callout--tip b { color: var(--cyan); }
.callout--warn { background: color-mix(in srgb, #f59e0b 9%, var(--surface)); border-color: color-mix(in srgb, #f59e0b 40%, transparent); }
.callout--warn b { color: #f59e0b; }
.callout--important { background: color-mix(in srgb, var(--gold) 10%, var(--surface)); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.callout--important b { color: var(--gold); }
.course-inline { margin: 2em 0; }
.course-inline a { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; text-decoration: none; background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 18%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--violet) 35%, transparent); transition: transform .3s; }
.course-inline a:hover { transform: translateY(-3px); }
.course-inline img { width: 110px; height: 76px; object-fit: cover; border-radius: 12px; flex: none; }
.course-inline span { display: grid; gap: 2px; }
.course-inline small { color: var(--gold); font-weight: 700; font-size: 12px; }
.course-inline b { font-size: 17px; line-height: 1.6; }
.course-inline em { font-style: normal; color: var(--muted); font-size: 14px; }
.faq { max-width: var(--prose); margin: 50px auto 0; }
.faq h2 { font-size: 26px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.tags { max-width: var(--prose); margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { color: var(--muted); text-decoration: none; font-size: 14px; }
.tags a:hover { color: var(--gold); }
.share { max-width: var(--prose); margin: 24px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.related { margin-top: 70px; }
.related h2 { font-size: 26px; }
.post + .course-inline { max-width: var(--prose); margin-inline: auto; }

/* ------------------------------------------------------------ course page */
.c-hero { position: relative; padding: 10px 0 60px; overflow: hidden; }
.c-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; background: radial-gradient(40% 50% at 80% 20%, color-mix(in srgb, var(--violet) 22%, transparent), transparent), radial-gradient(35% 45% at 15% 30%, color-mix(in srgb, var(--gold) 16%, transparent), transparent); }
html[data-theme="light"] .c-hero::before { opacity: .5; }
.c-hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.c-hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.35; font-weight: 900; margin: 14px 0 12px; }
.c-hero .lead { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.c-hero__media { border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line-2); }
.c-hero__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 900px) { .c-hero__in { grid-template-columns: 1fr; } .c-hero__media { order: -1; } }
.stats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; }
.stats span { font-size: 18px; }
.stats b { font-size: 15px; }
.stats small { color: var(--muted); font-size: 12px; }
.buybox { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); box-shadow: 0 18px 50px -30px rgba(212,175,55,.6); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price del { color: var(--muted); font-size: 14px; }
.price .off { background: #dc2626; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.price b { font-size: 28px; font-weight: 900; width: 100%; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.buybox .btn { margin-inline-start: auto; }
.guarantee { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.video { position: relative; aspect-ratio: 16/9; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-tabs { position: sticky; top: 68px; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.c-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.c-tabs a { white-space: nowrap; padding: 7px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 14px; }
.c-tabs a:hover, .c-tabs a.is-active { background: var(--surface-2); color: var(--text); }
.c-body { padding-top: 20px; }
.c-sec { margin-top: 64px; }
.c-sec h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.checks li { position: relative; padding: 14px 48px 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.checks li::before { content: "✓"; position: absolute; right: 14px; top: 13px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.dots { padding-inline-start: 1.3em; }
.dots li::marker { color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.c-sec--split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; align-items: center; }
.c-sec--split .video { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 860px) { .c-sec--split { grid-template-columns: 1fr; } }
.acc details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; gap: 14px; font-weight: 700; }
.acc summary small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.acc summary::before { content: "▸"; color: var(--gold); transition: transform .3s; }
.acc details[open] summary::before { transform: rotate(90deg); }
.acc summary span { flex: 1; }
.acc details > p { padding: 0 20px; color: var(--muted); margin: 0 0 10px; }
.acc ol { margin: 0; padding: 0 20px 16px; list-style: none; counter-reset: l; display: grid; gap: 4px; }
.acc ol li { counter-increment: l; display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 15px; }
.acc ol li span::before { content: counter(l) ". "; color: var(--gold); }
.acc ol small { color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 64px 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.steps li::before { content: counter(s); position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #15110a; font-weight: 900; }
.c-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .c-two { grid-template-columns: 1fr; } }
.instructor { display: flex; gap: 26px; align-items: center; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.instructor img { width: 130px; height: 130px; object-fit: cover; border-radius: 26px; flex: none; }
.instructor h2 { margin: 0; }
@media (max-width: 600px) { .instructor { flex-direction: column; text-align: center; } }
.c-final { margin-top: 80px; padding: 44px 24px; text-align: center; border-radius: 30px; background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent), var(--surface); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); display: grid; justify-items: center; gap: 18px; }
.c-final h2 { margin: 0; font-size: clamp(24px, 3.4vw, 36px); }
.c-final .price { justify-content: center; text-align: center; }
.sticky-buy { position: fixed; inset: auto 0 0 0; z-index: 45; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-buy span { display: grid; min-width: 0; }
.sticky-buy span > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.sticky-buy .price b { font-size: 18px; }
.sticky-buy .price del, .sticky-buy .price .off { display: none; }
.sticky-buy .btn { padding: 11px 20px; font-size: 15px; flex: none; }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 20px; }
.lb img { max-height: 86vh; border-radius: 14px; }
.lb button { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; cursor: pointer; }
.lb__nav { position: absolute; inset: auto 0 20px; display: flex; justify-content: center; gap: 10px; }
.lb__nav button { position: static; }

/* --------------------------------------------------------- reveal motion */
@media (prefers-reduced-motion: no-preference) {
  .js .card, .js .c-sec, .js .feature { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
  .js .is-in { opacity: 1 !important; transform: none !important; }
}
@media print { .top, .foot, .share, .sticky-buy, .progress, .c-tabs { display: none !important; } body { background: #fff; color: #000; } }
.card .chip { align-self: flex-start; }
.feature--noimg { grid-template-columns: 1fr; }
.feature--noimg .feature__media { display: none; }
.faq--wide { max-width: none; }
