/* Kurs Access — ictimai səhifələr
   Konsepsiya: kurs qapalı Telegram kanalında yaşayır. Səhifə həmin kanalı göstərir —
   kilidli, möhürlü — və ödənişdən sonra "giriş bileti" verir.
   Brend: Ülkər Çələbi — saf qara + sarı (#FAE24C), qalın Montserrat və sarı marker vurğusu.
   Sarı (--accent) yalnız alış, möhür və marker üçündür; Telegram mavisi yalnız Telegram hərəkətləri üçün. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --accent: #fae24c;
  --accent-rgb: 250 226 76;
  --ink: #000000;
  --ink-2: #0c0c0c;
  --panel: #151515;
  --bubble: #1f1f1f;
  --line: #2a2a2a;
  --text: #f6f5f0;
  --muted: #9b9a94;
  --tg: #2aabee;
  --ok: #3dd68c;
  --err: #ff6b6b;
  --display: "Montserrat", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: rgb(var(--accent-rgb)); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 50; background: var(--text); color: var(--ink); padding: 10px 14px; border-radius: 10px; }

.testbar { background: #8a5a00; color: #fff3d6; text-align: center; font-size: .82rem; font-weight: 600; padding: 6px 12px; }

/* ---------- Tipografiya ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.3rem, 7.6vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  text-wrap: balance;
  margin-bottom: 26px;
}
.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.35; margin-bottom: 18px; }
/* Ülkər xanımın imza üslubu: sözün arxasında sarı marker */
mark {
  background: rgb(var(--accent-rgb)); color: #0a0a0a;
  padding: 0 .14em .02em; margin: 0 -.02em; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: clamp(1.08rem, 2.4vw, 1.25rem); line-height: 1.55; color: #cfcdc6; max-width: 34em; }

/* ---------- Düymələr ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px;
  background: rgb(var(--accent-rgb)); color: #0a0a0a; border: 1px solid transparent; border-radius: 12px;
  font: 650 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover { box-shadow: 0 8px 24px -10px rgb(var(--accent-rgb) / .7); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: progress; box-shadow: none; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .92rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.06rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgb(var(--accent-rgb) / .6); box-shadow: none; }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { box-shadow: 0 8px 26px -10px rgba(42, 171, 238, .8); }

/* ---------- Üst panel ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(0 0 0 / .8);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgb(42 42 42 / .8);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; color: var(--text); text-decoration: none; font-weight: 650; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mono {
  width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgb(var(--accent-rgb)); color: #0a0a0a; font: 900 .95rem var(--display);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 52px 0 64px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 30px 0 28px; }
.price-hint { color: var(--muted); font-size: .95rem; }
.byline { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.byline b { display: block; color: var(--text); font-size: 1rem; font-weight: 600; }

/* Kilidli kanal önizləməsi */
.channel {
  margin: 0; width: 100%; max-width: 430px; justify-self: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgb(var(--accent-rgb) / .18), 0 0 0 6px rgb(255 255 255 / .04);
}
.ch-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: #191919; }
.ch-ava {
  width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: rgb(var(--accent-rgb)); color: #0a0a0a; font: 900 1.05rem var(--display);
}
.ch-ava img { width: 100%; height: 100%; object-fit: cover; }
.ch-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ch-name b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-name span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .85rem; }
.ch-feed {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 96px;
  background-color: #0e0e0e;
  background-image: radial-gradient(rgb(255 255 255 / .045) 1px, transparent 1.6px);
  background-size: 18px 18px;
}
.ch-feed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none;
  background: linear-gradient(to bottom, rgb(14 14 14 / 0), #0e0e0e 72%);
}
.post {
  max-width: 92%; padding: 10px 14px 12px; background: var(--bubble);
  border-radius: 16px 16px 16px 6px; box-shadow: 0 1px 0 rgb(0 0 0 / .25);
}
.post-media {
  aspect-ratio: 16 / 9; margin: -4px -8px 10px; border-radius: 12px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 85% 15%, rgb(var(--accent-rgb) / .35), transparent 38%),
    linear-gradient(160deg, #3a3a36, #1c1c1b 70%);
  filter: blur(1.5px);
}
.post-media span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .45); color: #fff; }
.post-title { margin: 0 0 4px; font-weight: 650; font-size: .98rem; line-height: 1.35; }
.post-text { margin: 0; color: #bdbbb4; font-size: .9rem; line-height: 1.45; filter: blur(4.5px); user-select: none; }
.seal {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 11px 18px 11px 14px; border-radius: 999px;
  background: rgb(var(--accent-rgb)); color: #0a0a0a; font-weight: 650; font-size: .95rem;
  box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / .2), 0 14px 30px -10px rgb(0 0 0 / .7);
}

/* ---------- Hero portret (müəllifin böyük şəkli) ---------- */
.hero-visual { position: relative; width: 100%; max-width: 430px; justify-self: center; }
.hero-visual.has-portrait { max-width: 440px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: rgb(var(--accent-rgb));
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
/* Kvadrat/dairəvi şəkil (Instagram profili kimi): dairə + brend halqası */
.portrait.round {
  aspect-ratio: 1; border-radius: 50%; width: 92%; margin: 8px auto 0;
  box-shadow: 0 0 0 8px var(--ink), 0 0 0 12px rgb(var(--accent-rgb));
}
.portrait.round img { object-position: 50% 50%; }
.has-portrait .portrait.round + .channel { margin-top: -64px; }
.has-portrait .channel {
  position: relative; width: 84%; margin: -96px 0 0 auto; border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .9), 0 0 0 6px rgb(0 0 0 / .55);
}
.has-portrait .ch-head { padding: 12px 14px; }
.has-portrait .ch-ava { width: 36px; height: 36px; font-size: .9rem; }
.has-portrait .ch-feed { padding: 14px 12px 78px; gap: 8px; }
.has-portrait .post-title { font-size: .92rem; }
.has-portrait .seal { bottom: 18px; padding: 9px 15px 9px 12px; font-size: .88rem; }

/* ---------- Bölmələr ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }

/* Dərslər — siyahı, kart deyil */
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; }
.lessons li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.ln { font: 900 1.7rem/1.1 var(--display); color: rgb(var(--accent-rgb)); }
.lessons h3 { font-size: 1.12rem; font-weight: 650; line-height: 1.35; margin-bottom: 4px; }
.lessons p { margin: 0; color: var(--muted); }
.about { margin-top: 40px; max-width: 42em; }
.prose p { color: #d2d0c9; }
.prose { max-width: 42em; }

/* Müəllif */
.author { display: grid; gap: 28px; align-items: start; }
.author-photo { width: 168px; height: 168px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--ink-2), 0 0 0 9px rgb(var(--accent-rgb)); }
.author .h2 { margin-bottom: 16px; }
.author p { color: #d2d0c9; max-width: 40em; }

/* Giriş addımları */
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.track li { position: relative; padding-left: 66px; }
.track h3 { font-size: 1.15rem; font-weight: 650; margin: 2px 0 6px; }
.track p { margin: 0; color: var(--muted); max-width: 26em; }
.track-ic {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); color: rgb(var(--accent-rgb));
}
.track-ic.tg { color: var(--tg); }
.track li:not(:last-child)::before {
  /* addımları birləşdirən xətt */
  content: ""; position: absolute; left: 24px; top: 54px; bottom: -22px; width: 1px; background: var(--line);
}

/* ---------- Sifariş ---------- */
.order { background: var(--ink-2); border-top: 1px solid var(--line); }
.order-grid { display: grid; gap: 28px; align-items: start; grid-template-areas: "plans" "checkout" "includes"; }
.plans { grid-area: plans; }
.checkout { grid-area: checkout; }
.includes { grid-area: includes; }
.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan { display: block; position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan-body {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--panel);
  transition: border-color .15s ease, background-color .15s ease;
}
.plan:hover .plan-body { border-color: #444; }
.plan input:checked + .plan-body { border-color: rgb(var(--accent-rgb)); background: rgb(var(--accent-rgb) / .07); }
.plan input:focus-visible + .plan-body { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 3px; }
.plan-top { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding-right: 34px; }
.plan-name { font-weight: 650; font-size: 1.1rem; }
.badge {
  padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650;
  background: rgb(var(--accent-rgb) / .16); color: rgb(var(--accent-rgb));
}
.plan-dur { color: var(--muted); font-size: .95rem; }
.plan-price { font: 800 1.45rem/1 var(--display); letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.plan-price s { display: block; margin-bottom: 4px; font: 400 .85rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan-desc { grid-column: 1 / -1; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.plan-radio {
  position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #4a4a4a; transition: border-color .15s ease, box-shadow .15s ease;
}
.plan input:checked + .plan-body .plan-radio { border-color: rgb(var(--accent-rgb)); box-shadow: inset 0 0 0 4px var(--ink-2), inset 0 0 0 12px rgb(var(--accent-rgb)); }

.includes { margin-top: 4px; }
.includes h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 14px; }
.includes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.includes li { display: flex; gap: 11px; align-items: flex-start; color: #d2d0c9; }
.includes .ic { color: rgb(var(--accent-rgb)); margin-top: 3px; }

.checkout { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: end; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.summary-name { font-weight: 650; }
.summary-dur { grid-row: 2; color: var(--muted); font-size: .92rem; }
.summary-price { grid-column: 2; grid-row: 1 / span 2; font: 900 1.95rem/1 var(--display); letter-spacing: -.02em; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-weight: 550; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 4px; }
.field input {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #5f5e59; }
.field input:focus { outline: none; border-color: rgb(var(--accent-rgb)); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .14); }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 20px; font-size: .95rem; cursor: pointer; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: rgb(var(--accent-rgb)); }
.trust { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.trust .ic { color: var(--ok); margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.closed { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.closed h3 { margin-bottom: 8px; font-size: 1.2rem; }
.closed p { margin: 0; }

.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; line-height: 1.45; }
.alert-error { background: rgb(255 107 107 / .08); border-color: rgb(255 107 107 / .4); color: #ffd0d0; }
.alert-success { background: rgb(61 214 140 / .08); border-color: rgb(61 214 140 / .4); color: #c8f6df; }

/* ---------- Suallar ---------- */
.faqs { max-width: 800px; }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0;
  font-weight: 600; font-size: 1.06rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: rgb(var(--accent-rgb)); transition: transform .2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0deg); }
.faq p { margin: 0; padding: 0 0 22px; color: var(--muted); max-width: 40em; }

/* ---------- Mobil alış paneli ---------- */
.buybar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
  background: rgb(21 21 21 / .94); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .7);
  transform: translateY(calc(100% + 30px)); transition: transform .3s ease;
}
.buybar.show { transform: none; }
.topbar .btn { transition: opacity .2s ease, visibility .2s; }
.bar-on .topbar .btn { opacity: 0; visibility: hidden; }
.buybar-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.buybar-info b { font-weight: 600; font-size: .9rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar-info span { font: 900 1.15rem var(--display); }

/* ---------- Nəticə səhifəsi: giriş bileti ---------- */
.result { padding: 40px 0 72px; }
.pass {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8);
}
.pass-top { padding: 34px 26px 26px; text-align: center; }
.stamp {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid currentColor;
}
.pass-ok .stamp {
  color: #0a0a0a; background: rgb(var(--accent-rgb)); border-color: rgb(var(--accent-rgb));
  box-shadow: 0 0 0 7px rgb(var(--accent-rgb) / .18);
  animation: stamp .55s cubic-bezier(.2, 1.4, .4, 1) .15s both;
}
.pass-wait .stamp { color: rgb(var(--accent-rgb)); border-color: rgb(var(--accent-rgb) / .35); }
.pass-fail .stamp { color: var(--err); border-color: rgb(255 107 107 / .45); background: rgb(255 107 107 / .08); }
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.9) rotate(-14deg); }
  70% { opacity: 1; transform: scale(.94) rotate(2deg); }
  100% { opacity: 1; transform: none; }
}
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgb(var(--accent-rgb) / .25); border-top-color: rgb(var(--accent-rgb)); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pass-kicker { margin: 0 0 6px; font-weight: 600; color: rgb(var(--accent-rgb)); }
.pass-fail .pass-kicker { color: var(--err); }
.pass-title { font: 800 clamp(1.35rem, 4.5vw, 1.75rem)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.pass-sub { margin: 14px auto 0; color: var(--muted); max-width: 30em; }
.pass-cut {
  /* bilet perforasiyası: kəsik xətt və yanlarda yarımdairə oyuqlar */
  position: relative; height: 22px; margin: 0 22px;
  background: linear-gradient(to right, var(--line) 50%, transparent 0) center / 12px 1.5px repeat-x;
}
.pass-cut::before, .pass-cut::after {
  content: ""; position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--line);
}
.pass-cut::before { left: -34px; clip-path: inset(0 0 0 50%); }
.pass-cut::after { right: -34px; clip-path: inset(0 50% 0 0); }
.pass-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; padding: 20px 26px 28px; }
.pass-meta dt { color: var(--muted); font-size: .85rem; margin-bottom: 2px; }
.pass-meta dd { margin: 0; font-weight: 600; }

.progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 8px; padding: 0; counter-reset: none; }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .86rem; color: var(--muted); line-height: 1.3; padding: 0 4px; }
.progress li::before {
  content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0;
}
.progress li:first-child::before { display: none; }
.progress li.done::before, .progress li.now::before { background: rgb(var(--accent-rgb) / .7); }
.progress span {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 2px solid var(--line); font-weight: 650; font-size: .85rem; color: var(--muted);
}
.progress .done span { background: rgb(var(--accent-rgb)); border-color: rgb(var(--accent-rgb)); color: #0a0a0a; }
.progress .now { color: var(--text); font-weight: 600; }
.progress .now span { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / .14); }

.result-body { margin-top: 30px; }
.result-body > .btn { margin-bottom: 22px; }
.result-body.center > .btn { margin-top: 6px; }
.howto { margin: 0 0 22px; padding-left: 22px; color: #d2d0c9; }
.howto li { margin-bottom: 8px; padding-left: 4px; }
.note {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; font-size: .95rem; line-height: 1.5;
  background: rgb(var(--accent-rgb) / .07); border: 1px solid rgb(var(--accent-rgb) / .3); color: #ece6c3;
}
.note .ic { color: rgb(var(--accent-rgb)); margin-top: 2px; }
.fallback p { margin-bottom: 8px; }
.copyrow { display: flex; gap: 8px; align-items: stretch; }
.copyrow .btn { min-height: 0; }
.copyrow input {
  flex: 1; min-width: 0; min-height: 40px; padding: 8px 12px; font: .85rem ui-monospace, Menlo, Consolas, monospace;
  color: var(--text); background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 40px; }
.page-home .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.footer-in { display: grid; gap: 20px; }
.footer-brand { margin: 0 0 4px; font: 800 1rem var(--display); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: rgb(var(--accent-rgb)); }

/* ---------- Böyük ekranlar ---------- */
@media (min-width: 720px) {
  .lessons { grid-template-columns: 1fr 1fr; }
  .author.has-photo { grid-template-columns: 168px 1fr; gap: 40px; }
  .track { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .track li { padding: 66px 0 0; }
  .track li:not(:last-child)::before { left: 60px; right: -24px; top: 24px; bottom: auto; width: auto; height: 1px; }
  .checkout { padding: 30px 28px; }
  .footer-in { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .hero { padding: 84px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
  .channel, .hero-visual { justify-self: end; }
  .has-portrait .channel { position: absolute; left: -64px; bottom: -44px; width: 300px; margin: 0; }
  /* Dairəvi şəkildə üz mərkəzdədir: kart dairənin altına, pencək hissəsinin üzərinə düşür */
  .has-portrait .portrait.round + .channel { position: relative; left: auto; bottom: auto; width: 300px; margin: -78px 0 0 -48px; }
  .order-grid { grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "plans checkout" "includes checkout"; grid-template-rows: auto 1fr; gap: 32px 40px; }
  .checkout { align-self: start; }
  .checkout { position: sticky; top: 90px; }
  .buybar { display: none; }
  .page-home .footer { padding-bottom: 40px; }
}

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