@font-face { font-family: "Vazirmatn"; src: url(../fonts/vazirmatn-56ebf2fc.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Markazi Text"; src: url(../fonts/markazi-text-763d3c10.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-ef9b0568.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0A1630; --night: #060D1D; --blue: #1E3A8A; --gold: #D4AF37; --gold-2: #E2C25A; --gold-ink: #7A5E0E;
  --teal: #00A99D; --green: #16A34A; --red: #DC2626; --purple: #6F42C1;
  --bg: #F4F6FA; --paper: #FFFFFF; --line: #E3E7EF; --text: #141C30; --muted: #5B6378; --soft: #EEF1F6;
  --r: 16px; --r-sm: 10px; --shadow: 0 1px 2px rgba(10,22,48,.06), 0 8px 24px -12px rgba(10,22,48,.18);
  --font: "Vazirmatn", Tahoma, sans-serif; --display: "Markazi Text", "Vazirmatn", serif; --latin: "Montserrat", "Vazirmatn", sans-serif;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.85; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- header ---------- */
.hdr { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.logo__mark { width: 38px; height: 38px; color: var(--gold); }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__txt b { font-family: var(--latin); letter-spacing: .22em; color: var(--gold); font-size: 17px; }
.logo__txt small { font-size: 11px; color: #C9D2E3; font-weight: 500; }
.nav { display: flex; gap: 4px; margin-inline-start: 10px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: #C9D2E3; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.on { color: #fff; background: rgba(255,255,255,.08); }
.hdr__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 14px; white-space: nowrap; }
.chip--fire { color: #FDBA74; } .chip--fire.dead { color: #8C95A8; }
.chip--xp { color: var(--gold-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.bell { position: relative; padding: 6px; color: #C9D2E3; }
.bell i { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 6px; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 66px; inset-inline: 0; background: var(--ink); flex-direction: column; padding: 10px var(--gut) 16px; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .chip--xp, .hdr .btn--ghost-sm { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 2px solid transparent; font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(2px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #A8871F; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn--ink:hover { background: var(--blue); }
.btn--green { background: #22C55E; color: #fff; box-shadow: 0 4px 0 #15803D; }
.btn--line { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 3px 0 var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-sm { min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: clamp(18px, 3vw, 28px); }
.sec { padding: clamp(40px, 7vw, 80px) 0; }
.sec--tight { padding: 32px 0; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -.01em; }
.h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; }
.h3 { font-size: 20px; font-weight: 800; }
.eyebrow { display: inline-block; color: var(--gold-ink); font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.tag--free { background: #DCFCE7; color: #166534; }
.tag--lock { background: #FEF3C7; color: #92400E; }
.tag--gold { background: #FBF3D6; color: var(--gold-ink); }
.tag--auto { background: #FFEDD5; color: #9A3412; }
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.flash--success { background: #DCFCE7; color: #14532D; } .flash--error { background: #FEE2E2; color: #7F1D1D; } .flash--info { background: #E0F2FE; color: #0C4A6E; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(900px 400px at 85% -10%, rgba(212,175,55,.22), transparent 60%), linear-gradient(180deg, var(--ink), #0F1F44); color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { color: #C9D2E3; font-size: clamp(17px, 1.6vw, 20px); max-width: 36em; }
.hero__acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats b { display: block; font-size: 28px; color: var(--gold); font-weight: 900; }
.hero__stats span { color: #C9D2E3; font-size: 14px; }
.hero__art { position: relative; min-height: 360px; }
.mini-path { position: absolute; inset: 0; display: grid; place-items: center; }
.mini-path .node { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; position: absolute; box-shadow: 0 6px 0 rgba(0,0,0,.35); }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { display: none; } }

/* ---------- course cards ---------- */
.ccard { display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10,22,48,.35); }
.cover { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.16), transparent 55%), linear-gradient(150deg, var(--c), var(--ci)); color: #fff; padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cover__icon { position: absolute; top: 14px; inset-inline-end: 18px; font-size: 54px; opacity: .22; line-height: 1; }
.cover__series { font-size: 12px; color: var(--gold-2); font-weight: 700; }
.cover__t { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.25; }
.cover::after { content: ""; position: absolute; inset-inline-start: 20px; bottom: 12px; width: 40px; height: 3px; background: var(--gold); border-radius: 2px; }
.ccard__b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard__b h3 { font-size: 18px; margin: 0; }
.ccard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.stars { color: #F59E0B; letter-spacing: 1px; }
.bar { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, #22C55E, #16A34A); border-radius: 6px; }

/* ---------- course detail ---------- */
.chead { background: var(--ink); color: #fff; padding: clamp(32px, 6vw, 64px) 0; }
.chead__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.chead .crumbs { color: #8C95A8; font-size: 14px; margin-bottom: 14px; }
.chead .crumbs a { color: #C9D2E3; }
.chead p.sub { color: #C9D2E3; font-size: 18px; }
.buybox { position: sticky; top: 86px; overflow: hidden; color: var(--text); }
.buybox .cover { aspect-ratio: 16 / 8; }
.buybox__b { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.price { font-size: 28px; font-weight: 900; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.feat li::before { content: "✓"; color: var(--green); font-weight: 900; margin-inline-end: 8px; }
.cbody { max-width: 860px; }
@media (max-width: 960px) { .chead__grid, .cbody { grid-template-columns: 1fr; } .buybox { position: static; } }
.syl { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.syl details { border-bottom: 1px solid var(--line); }
.syl details:last-child { border-bottom: 0; }
.syl summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 800; background: #FAFBFD; }
.syl summary::-webkit-details-marker { display: none; }
.syl summary .n { margin-inline-start: auto; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.syl ul { list-style: none; margin: 0; padding: 4px 0; }
.syl li a, .syl li span.row { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 18px; font-size: 15px; }
.syl li a:hover { background: var(--soft); }
.syl .ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--soft); flex: none; }
.syl .ico.done { background: #22C55E; color: #fff; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.outcomes li::before { content: "✓"; color: var(--gold-ink); font-weight: 900; margin-inline-end: 8px; }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }

/* ---------- path (Duolingo-style) ---------- */
.path-head { background: linear-gradient(180deg, var(--ink), #13265A); color: #fff; padding: 28px 0 34px; }
.unit-banner { border-radius: 18px; padding: 18px 22px; color: #fff; display: flex; align-items: center; gap: 16px; margin: 34px 0 24px; box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.unit-banner h2 { margin: 0; font-size: 20px; }
.unit-banner small { opacity: .85; }
.unit-banner .btn { margin-inline-start: auto; }
.path { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 6px 0 10px; }
.pnode { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; width: 220px; }
.pnode__b { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; border: 0; cursor: pointer; transition: transform .15s; }
.pnode__b:active { transform: translateY(4px); }
.pnode--done .pnode__b { background: var(--gold); color: var(--ink); box-shadow: 0 6px 0 #A8871F; }
.pnode--open .pnode__b, .pnode--current .pnode__b { background: #22C55E; color: #fff; box-shadow: 0 6px 0 #15803D; }
.pnode--locked .pnode__b { background: #E5E7EB; color: #9CA3AF; box-shadow: 0 6px 0 #C9CDD3; cursor: not-allowed; }
.pnode--current .pnode__b { animation: pulse 1.8s infinite; }
.pnode__t { font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--text); max-width: 220px; }
.pnode--locked .pnode__t { color: #9CA3AF; }
.pnode__start { position: absolute; top: -40px; background: #fff; border: 2px solid var(--line); color: #16A34A; font-weight: 900; padding: 4px 14px; border-radius: 12px; font-size: 14px; animation: bob 1.6s ease-in-out infinite; white-space: nowrap; }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 0 #15803D, 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 6px 0 #15803D, 0 0 0 14px rgba(34,197,94,0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.path-side { position: sticky; top: 86px; display: grid; gap: 16px; align-content: start; }
.path-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
@media (max-width: 960px) { .path-layout { grid-template-columns: 1fr; } .path-side { position: static; order: -1; } }

/* ---------- lesson player ---------- */
.player { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.player__top { display: flex; align-items: center; gap: 16px; padding: 14px var(--gut); max-width: 900px; width: 100%; margin: 0 auto; }
.player__x { font-size: 26px; color: #9CA3AF; padding: 4px 8px; }
.pbar { flex: 1; height: 16px; border-radius: 10px; background: #E5E7EB; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4ADE80, #22C55E); border-radius: 10px; transition: width .4s; position: relative; }
.pbar i::after { content: ""; position: absolute; top: 3px; inset-inline: 8px; height: 4px; background: rgba(255,255,255,.35); border-radius: 3px; }
.player__main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 10px var(--gut) 140px; }
.step { display: none; animation: in .35s ease; }
.step.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.lcard h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; }
.lcard .body { font-size: 18px; line-height: 2.1; }
.lcard .body p { margin-bottom: .9em; }
.lcard .key { background: #FBF3D6; border-inline-start: 4px solid var(--gold); border-radius: 12px; padding: 14px 18px; }
.lcard .kind { color: var(--gold-ink); font-weight: 800; font-size: 14px; }
.qtext { font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; line-height: 1.9; margin: 6px 0 22px; }
.qtext .blank { display: inline-block; min-width: 90px; border-bottom: 3px solid var(--ink); margin: 0 4px; }
.choices { display: grid; gap: 12px; }
.choice { text-align: start; padding: 16px 18px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; background: #fff; cursor: pointer; font-size: 17px; font-weight: 600; transition: background .15s, border-color .15s; }
.choice:hover { background: var(--soft); }
.choice.sel { border-color: #60A5FA; background: #EFF6FF; }
.choice.right { border-color: #22C55E; background: #DCFCE7; }
.choice.wrong { border-color: #EF4444; background: #FEE2E2; }
.choice[disabled] { cursor: default; }
.foot { position: fixed; bottom: 0; inset-inline: 0; border-top: 2px solid var(--line); background: #fff; padding: 16px var(--gut); z-index: 10; transition: background .2s; }
.foot__in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.foot__msg { flex: 1; font-weight: 800; font-size: 18px; }
.foot__msg small { display: block; font-weight: 500; font-size: 15px; }
.foot.good { background: #DCFCE7; border-color: #86EFAC; } .foot.good .foot__msg { color: #166534; }
.foot.bad { background: #FEE2E2; border-color: #FCA5A5; } .foot.bad .foot__msg { color: #991B1B; }
.done-screen { text-align: center; padding-top: 30px; }
.done-screen .big { font-size: 84px; line-height: 1; animation: pop .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.statbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px auto; max-width: 520px; }
.statbox > div { border: 2px solid var(--line); border-radius: 14px; padding: 10px; }
.statbox b { display: block; font-size: 26px; font-weight: 900; }
.statbox .xp b { color: var(--gold-ink); } .statbox .fire b { color: #EA580C; } .statbox .acc b { color: #16A34A; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2.6s linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.video-wrap { border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 16px; }
.lesson-extra { max-width: 760px; margin: 0 auto; padding: 0 var(--gut) 60px; }
.qa-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa-item .reply { margin-inline-start: 28px; padding: 10px 14px; background: var(--soft); border-radius: 12px; margin-top: 8px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; font-size: 16px; }
.field textarea { min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--blue); outline: none; }
.field .err { color: var(--red); font-size: 14px; margin-top: 4px; }
.field.check { display: flex; align-items: center; gap: 10px; } .field.check input { width: 20px; min-height: 20px; } .field.check label { margin: 0; font-weight: 500; }
.auth { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px var(--gut); background: radial-gradient(700px 300px at 90% 0%, rgba(212,175,55,.16), transparent 60%), var(--bg); }
.auth .card { width: min(460px, 100%); }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; }
@media (max-width: 980px) { .dash { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
@media (max-width: 720px) { .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.kpi { padding: 16px 18px; }
.kpi b { display: block; font-size: 28px; font-weight: 900; line-height: 1.3; }
.kpi span { color: var(--muted); font-size: 14px; }
.week { display: flex; gap: 8px; align-items: flex-end; height: 120px; }
.week div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 12px; color: var(--muted); }
.week i { width: 100%; max-width: 34px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); min-height: 4px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.badge { text-align: center; padding: 12px 6px; border-radius: 14px; border: 2px solid var(--line); background: #fff; }
.badge span { font-size: 34px; display: block; line-height: 1.2; }
.badge b { font-size: 13px; display: block; }
.badge.off { filter: grayscale(1); opacity: .45; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: start; }
.tbl th { color: var(--muted); font-weight: 700; font-size: 13.5px; }
.lb-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lb-row .rk { width: 30px; font-weight: 900; font-size: 18px; text-align: center; }
.lb-row.me { background: #FBF3D6; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.pop { border: 2px solid var(--gold); }
.plan.pop::before { content: "پیشنهاد ویژه"; position: absolute; top: -14px; inset-inline-start: 24px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 13px; padding: 3px 14px; border-radius: 999px; }
.plan .price { font-size: 34px; }
.plan del { color: var(--muted); font-size: 16px; }

/* ---------- exam ---------- */
.exam-q { padding: 20px 22px; margin-bottom: 16px; }
.exam-q .choices { gap: 8px; }
.exam-q label.choice { display: flex; gap: 10px; align-items: center; font-size: 16px; padding: 12px 14px; }
.exam-q input[type=radio] { accent-color: var(--ink); width: 18px; height: 18px; }
.timer { position: sticky; top: 76px; z-index: 5; display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer.low { background: var(--red); }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: #C9D2E3; padding: 46px 0 26px; margin-top: 40px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.ftr h4 { color: #fff; font-size: 15px; }
.ftr a { display: block; padding: 3px 0; color: #C9D2E3; }
.ftr a:hover { color: var(--gold); }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding-top: 18px; font-size: 13.5px; color: #8C95A8; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
.steps3 .card { padding: 22px; }
.steps3 .num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-weight: 900; margin-bottom: 10px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

.path-head .bar, .chead .bar, .hero .bar { background: rgba(255,255,255,.16); }
