/* Kursometr — ön səhifə, müəllim səhifəsi və qeydiyyat.
   Build addımı yoxdur: fayl birbaşa public/-dən verilir. */

:root {
    --ink: #0e1a3a;
    --ink-soft: #33405f;
    --muted: #5a6785;
    --blue: #1f5eff;
    --blue-deep: #1443c2;
    --tape: #ffc83a;          /* ölçü lentinin sarısı — "metr" */
    --tape-ink: #4a3500;
    --paper: #f6f8fd;
    --white: #fff;
    --line: #dce3f2;
    --ok: #0e8f52;
    --bad: #cf3131;

    --display: "Geologica", system-ui, sans-serif;
    --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);
    background: var(--white);
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue); }

:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 4px; }

/* Geniş ekranlarda yanlarda böyük boşluq qalmasın: en ekranla birlikdə
   böyüyür, amma sətir uzunluğu oxunaqlı hədddə saxlanılır */
.wrap { width: min(1600px, 100% - 64px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }

/* ───────────── Düymələr ───────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 15px/1 var(--body);
    padding: 12px 18px; border-radius: var(--r-sm);
    border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
    white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { padding: 16px 24px; font-size: 16px; border-radius: 10px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--tape { background: var(--tape); color: var(--tape-ink); }
.btn--tape:hover { background: #ffd564; color: var(--tape-ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ───────────── Üst menyu ───────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--blue); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__cta-short { display: none; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font: 700 22px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
/* Nişan: public/brand/mark.svg («k» + ölçü lenti) — favicon ilə eynidir */
.brand__img { display: block; width: 30px; height: 30px; flex: none; }
/* Tünd fonda lövhə fonla birləşir — nazik haşiyə onu ayırır */
.auth__side .brand__img { border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }

.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__list {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 6px; box-shadow: 0 18px 40px -18px rgba(14,26,58,.35);
}
.menu__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.menu__list a:hover { background: var(--paper); }

/* ───────────── Hero ───────────── */
.hero { background: var(--paper); padding-top: 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-bottom: 76px; }
/* Çox geniş ekranda mətn sətri həddindən artıq uzanmasın */
.hero__copy p, .band__lead, .dir__lead { max-width: 62ch; }
.hero__title { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; letter-spacing: -0.035em; max-width: 12ch; }
.hero__lead { margin-top: 22px; font-size: 19px; max-width: 52ch; }
.hero__aside { margin-top: 22px; font-size: 15px; color: var(--muted); }

.claim { margin-top: 34px; max-width: 580px; }
.claim__label { display: block; font: 600 15px/1.3 var(--body); color: var(--ink); margin-bottom: 10px; }
.claim__row { display: flex; gap: 10px; }
.claim__field {
    flex: 1; min-width: 0; display: flex; align-items: center;
    background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: 0 14px 0 16px;
}
.claim__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.16); }
.claim__field input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font: 600 18px/1 var(--display); color: var(--ink); padding: 15px 0; letter-spacing: -0.01em;
}
.claim__field input::placeholder { color: #a9b3cb; font-weight: 500; }
.claim__suffix { font: 500 17px/1 var(--display); color: var(--muted); white-space: nowrap; }
.claim__status { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.claim__status.is-ok { color: var(--ok); font-weight: 600; }
.claim__status.is-bad { color: var(--bad); font-weight: 600; }

/* Ölçü lenti — hero-nun alt kənarı */
.tape {
    height: 26px; background-color: var(--tape);
    background-image:
        repeating-linear-gradient(90deg, var(--tape-ink) 0 2px, transparent 2px 100px),
        repeating-linear-gradient(90deg, rgba(74,53,0,.55) 0 1px, transparent 1px 10px);
    background-size: 100% 16px, 100% 8px;
    background-repeat: no-repeat;
    background-position: left bottom, left bottom;
}

/* Brauzer maketi */
.browser { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(14,26,58,.45); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fbfcff; }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1 var(--display); color: var(--muted); background: var(--paper); border-radius: 999px; padding: 9px 14px; }
.browser__url i { font-size: 11px; margin-right: 8px; color: var(--ok); }
.browser__url b { color: var(--ink); font-weight: 700; }
.browser__body { padding: 22px; display: grid; gap: 18px; }

.mock__head { display: flex; align-items: center; gap: 14px; }
.mock__avatar { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--tape); font: 700 22px/1 var(--display); text-transform: uppercase; }
.mock__name { font: 700 19px/1.2 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.mock__meta { font-size: 14px; color: var(--muted); }
.mock__join { margin-left: auto; font: 600 13px/1 var(--body); color: var(--white); background: var(--blue); padding: 9px 14px; border-radius: 7px; }
.mock__rows { border: 1px solid var(--line); border-radius: var(--r-md); }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; }
.mock__row + .mock__row { border-top: 1px solid var(--line); }
.mock__time { flex: none; width: 78px; font-weight: 600; color: var(--ink); }
.mock__what { flex: 1; min-width: 0; }
.mock__tag { flex: none; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.mock__tag--ok { background: #e3f6ec; color: var(--ok); }

.meter { background: var(--ink); border-radius: var(--r-md); padding: 16px 16px 12px; color: #c9d3ee; }
.meter__top { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; }
.meter__top b { font: 800 26px/1 var(--display); color: var(--tape); }
.meter__tape { position: relative; height: 12px; margin-top: 12px; border-radius: 3px; background: rgba(255,255,255,.12); }
.meter__fill { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--tape); }
.meter__pin { position: absolute; top: -5px; width: 3px; height: 22px; margin-left: -1px; background: var(--white); border-radius: 2px; }
.meter__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #8d9ac0; }

/* ───────────── Bölmələr ───────────── */
.band { padding: 92px 0; }
.band--tint { background: var(--paper); }
.band__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; max-width: 22ch; }
.band__lead { margin-top: 12px; font-size: 18px; color: var(--muted); max-width: 56ch; }

/* İmkanlar: kart yox, xətkeş kimi bölünmüş sətirlər */
.features { margin-top: 46px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 2px solid var(--ink); }
.feature { position: relative; padding: 26px 0 26px 50px; border-bottom: 1px solid var(--line); }
.feature__icon { position: absolute; left: 0; top: 29px; width: 32px; text-align: center; font-size: 20px; color: var(--blue); }
.feature h3 { font-size: 20px; font-weight: 600; }
.feature p { margin-top: 8px; font-size: 16px; max-width: 48ch; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.duo__side { padding: 8px 56px 8px 0; }
.duo__side + .duo__side { padding: 8px 0 8px 56px; border-left: 2px solid var(--ink); }
.duo__side h2 { font-size: 30px; font-weight: 700; }
.duo__side p { margin: 14px 0 24px; max-width: 46ch; }

/* Addımlar: lent üzərində bölgülər */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 6px solid var(--tape); }
.step { position: relative; padding-top: 34px; }
.step__tick { position: absolute; top: -6px; left: 0; width: 3px; height: 26px; background: var(--ink); font: 700 15px/26px var(--display); color: var(--ink); text-indent: 12px; white-space: nowrap; }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 16px; max-width: 34ch; }

.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { margin-top: 34px; border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 500 26px/1 var(--display); color: var(--blue); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 40px 22px 0; max-width: 64ch; }

.cta { background: var(--ink); padding: 64px 0; }
.cta__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }

.foot { padding: 28px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--blue); }

/* ───────────── Qeydiyyat səhifələri ─────────────
   Səhifə ekranı aşmır (100dvh): forma sığmırsa yalnız sağ sütun özü sürüşür. */
.auth { height: 100vh; height: 100dvh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); overflow: hidden; }
.auth__side { background: var(--ink); color: #c9d3ee; padding: 28px 40px 0; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 0; }
.auth__side .brand__name { color: var(--white); }
.auth__pitch { margin-top: auto; padding-bottom: 60px; }
.auth__pitch h1 { color: var(--white); font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -0.03em; max-width: 14ch; }
.auth__pitch p { margin-top: 12px; max-width: 40ch; font-size: 16px; }
.auth__addr { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; background: rgba(255,255,255,.08); border-radius: 999px; padding: 9px 16px; font: 500 15px/1.2 var(--display); color: #c9d3ee; overflow-wrap: anywhere; }
.auth__addr i { font-size: 12px; color: var(--tape); }
.auth__addr b { color: var(--tape); font-weight: 700; }
.auth__side .tape { position: absolute; left: 0; right: 0; bottom: 0; }

.auth__main { min-height: 0; overflow-y: auto; padding: 20px 24px; display: flex; justify-content: center; }
.auth__box { width: min(500px, 100%); margin-block: auto; }
.auth__box h2 { font-size: 24px; font-weight: 700; }
.auth__sub { margin-top: 4px; color: var(--muted); font-size: 14px; }

.form { margin-top: 14px; display: grid; gap: 10px; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field label { display: block; font: 600 13px/1.3 var(--body); color: var(--ink); margin-bottom: 4px; }
.field input, .field select {
    width: 100%; height: 40px; font: 400 15px/1.2 var(--body); color: var(--ink);
    background: var(--white); border: 1.5px solid #c3cde3; border-radius: var(--r-sm); padding: 0 12px;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,.16); }
.field--bad input, .field--bad select, .field--bad .addr { border-color: var(--bad); }
.field__hint { margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.field__hint.is-ok { color: var(--ok); font-weight: 600; }
.field__hint.is-bad, .field__error { color: var(--bad); font-weight: 600; }
.field__error { margin-top: 3px; font-size: 12px; line-height: 1.35; }

.addr { display: flex; align-items: center; height: 40px; background: var(--white); border: 1.5px solid #c3cde3; border-radius: var(--r-sm); padding-right: 12px; }
.addr:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,.16); }
.addr input { height: 100%; border: 0; box-shadow: none !important; font-family: var(--display); font-weight: 600; min-width: 0; flex: 1; background: transparent; }
.addr span { font: 500 14px/1 var(--display); color: var(--muted); white-space: nowrap; }

.auth .btn--lg { padding: 12px 20px; font-size: 15px; border-radius: var(--r-sm); }
.alert { margin-top: 12px; border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; line-height: 1.4; background: #fdecec; color: #8f1f1f; border: 1px solid #f4c4c4; }
.form__foot { margin-top: 12px; font-size: 14px; color: var(--muted); }
.alert--info { background: #eaf1ff; color: #14306e; border-color: #c4d5fb; }

/* Vahid giriş: Google düyməsi, ayırıcı, kabinet seçimi */
.gsi { margin-top: 16px; min-height: 44px; display: flex; justify-content: center; }
.divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 2px; font-size: 13px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.notfound { margin-top: 12px; padding: 12px 14px; border: 1.5px dashed #c3cde3; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; }
.notfound p { color: var(--ink); font-weight: 600; }
.notfound .notfound__hint { margin-top: 8px; color: var(--muted); font-weight: 400; font-size: 13px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.notfound__actions .btn { padding: 9px 14px; font-size: 14px; }
.choice {
    display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
    background: var(--white); border: 1.5px solid #c3cde3; border-radius: var(--r-md); padding: 14px 16px;
    font: inherit; color: var(--ink); transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--blue); background: var(--paper); }
.choice > .fas:first-child { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--tape); font-size: 16px; }
.choice__body { flex: 1; min-width: 0; }
.choice__title { display: block; font: 600 16px/1.3 var(--display); }
.choice__meta { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.choice__go { color: var(--muted); font-size: 13px; }

/* ───────────── Müəllim səhifəsi ───────────── */
.tpage__hero { background: var(--paper); padding-top: 64px; }
.tpage__head { display: flex; align-items: center; gap: 26px; padding-bottom: 60px; flex-wrap: wrap; }
.tpage__avatar { width: 112px; height: 112px; flex: none; border-radius: 50%; object-fit: cover; background: var(--ink); color: var(--tape); display: grid; place-items: center; font: 800 44px/1 var(--display); text-transform: uppercase; }
.tpage__name { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.tpage__sub { margin-top: 8px; font-size: 18px; color: var(--muted); }
.tpage__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

.courses { margin-top: 34px; border-top: 2px solid var(--ink); }
.course { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.course__body { flex: 1; min-width: 0; }
.course h3 { font-size: 21px; font-weight: 600; }
.course p { margin-top: 6px; font-size: 16px; max-width: 70ch; }
.course__price { flex: none; font: 700 19px/1 var(--display); color: var(--ink); }
.course__price--free { color: var(--ok); }
.empty { margin-top: 30px; padding: 28px; border: 1.5px dashed #c3cde3; border-radius: var(--r-md); max-width: 640px; }
.empty p + p { margin-top: 8px; }

/* ───────────── Müəllimlər siyahısı və qoşulma ───────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
/* ☰ menyu: yalnız dar ekranda (bölmə linkləri gizlənəndə) */
.mnav { display: none; position: relative; }
.mnav__btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); color: var(--ink); cursor: pointer; list-style: none; }
.mnav__btn::-webkit-details-marker { display: none; }
.mnav[open] .mnav__btn { border-color: var(--ink); background: var(--paper); }
.mnav__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 210px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 40px -18px rgba(14,26,58,.35); }
.mnav__panel a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.mnav__panel a:hover, .mnav__panel a[aria-current="page"] { background: var(--paper); }
.dir__hero { background: var(--paper); padding-top: 52px; }
.dir__hero .wrap { padding-bottom: 40px; }
.dir__title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.dir__lead { margin-top: 12px; max-width: 62ch; font-size: 18px; }
.dir__search { margin-top: 24px; max-width: 620px; display: flex; align-items: center; gap: 10px; background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 6px 6px 14px; }
.dir__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.16); }
.dir__search > i { color: var(--muted); }
.dir__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 16px/1 var(--body); color: var(--ink); padding: 8px 0; }
.dir__count { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.tcard__head { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.tcard__avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--ink); color: var(--tape); font: 800 21px/1 var(--display); text-transform: uppercase; }
.tcard__who { min-width: 0; }
.tcard__name { display: block; font: 700 18px/1.25 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.tcard__head:hover .tcard__name { color: var(--blue); }
.tcard__addr { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard .chips { margin-top: 0; }
.chip--more { color: var(--muted); }
.tcard__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tcard__actions .btn { padding: 10px 14px; font-size: 14px; }
.joinform { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.joinform__note input { height: 48px; min-width: 240px; padding: 0 12px; border: 1.5px solid #c3cde3; border-radius: var(--r-sm); font: 400 15px/1 var(--body); color: var(--ink); background: var(--white); }
.joinform__note input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,.16); }
.btn--pending { background: #fff6dd; color: var(--tape-ink); border-color: #f3dc98; cursor: default; }
.notice { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; }
.notice--ok { background: #e3f6ec; color: #0b5e37; border: 1px solid #b7e4cb; }
.notice--bad { background: #fdecec; color: #8f1f1f; border: 1px solid #f4c4c4; }
.duo__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pager { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pager__info { font-size: 14px; color: var(--muted); }
.pager [aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ───────────── Müəllim səhifəsi: kompakt ───────────── */
.tpage__hero { padding-top: 28px; }
.tpage__head { padding-bottom: 26px; gap: 18px; }
.tpage__avatar { width: 76px; height: 76px; font-size: 30px; }
.tpage__name { font-size: clamp(26px, 3.4vw, 38px); }
.tpage__sub { margin-top: 2px; font-size: 15px; }
.tpage__hero .tape { height: 16px; background-size: 100% 10px, 100% 5px; }
.band--compact { padding: 32px 0 44px; }
.sec__title { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.band--compact .sec__title + .courses { margin-top: 0; }
.band--compact .courses { margin-top: 0; border-top-width: 1px; }
.band--compact .course { padding: 12px 0; }
.band--compact .course h3 { font-size: 17px; }
.band--compact .course p { font-size: 14px; margin-top: 2px; }
.band--compact .empty { margin-top: 0; padding: 16px 18px; font-size: 15px; }

/* Dərs proqramı: fənn → kitab → sətir (ad + Oxu / Suallara bax) */
.curr { display: grid; gap: 18px; margin-bottom: 34px; }
.curr__name { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.curr__books { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.curr__book { padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); }
.curr__book h4 { margin: 0 0 6px; font: 600 13px/1.3 var(--body); color: var(--muted); }
.curr__list { list-style: none; margin: 0; padding: 0; }
.curr__list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; line-height: 1.35; color: var(--ink); }
.curr__list li + li { border-top: 1px solid var(--line); }
.curr__list i { flex: none; width: 14px; font-size: 12px; color: var(--blue); }
.curr__list .curr__i--exam { color: var(--tape-ink); }
.curr__t { flex: 1; min-width: 0; }
.curr__btn { flex: none; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--blue-deep); background: var(--white); border: 1px solid #c3cde3; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.curr__btn:hover { border-color: var(--blue); color: var(--blue); }

/* Açıq nəzəriyyə / sınaq səhifəsi */
.ptopic__back { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font: 600 15px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.ptopic__back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptopic { padding: 28px 0 56px; }
.ptopic__crumbs { font-size: 13px; color: var(--muted); }
.ptopic__title { margin-top: 4px; font-size: clamp(22px, 3vw, 30px); font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.ptopic__title i { font-size: .7em; color: var(--blue); }
.ptopic__note { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ptopic__body { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); overflow-wrap: anywhere; }
.ptopic__body img { max-width: 100%; height: auto; }
.ptopic__body table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.ptopic__body td, .ptopic__body th { border: 1px solid var(--line); padding: 6px 10px; }
.ptopic__body p { margin: 0 0 12px; }
.pq { padding: 14px 0; border-top: 1px solid var(--line); }
.pq--passage { padding: 14px 16px; margin: 10px 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); }
.pq__head { float: left; margin-right: 10px; }
.pq__no { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--tape); font: 700 13px/1 var(--display); }
.pq__text { overflow: hidden; }
.pq__options { clear: both; list-style: none; margin: 8px 0 0 38px; padding: 0; display: grid; gap: 4px; }
.pq__options li { display: flex; gap: 6px; }
.pq__options p, .pq__match p { margin: 0; display: inline; }
.pq__match { clear: both; margin: 8px 0 0 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pq__match ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ptopic__cta { margin-top: 30px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 12px; justify-items: start; }
.ptopic__cta p { font-size: 15px; }

/* ───────────── Kiçik ekranlar ───────────── */
@media (max-width: 960px) {
    .wrap { width: min(1600px, 100% - 32px); }
    .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
    .hero { padding-top: 44px; }
    .nav__links { display: none; }
    .mnav { display: block; }
    .features { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; border-left: 6px solid var(--tape); padding-left: 0; }
    .step { padding: 0 0 30px 34px; }
    .step__tick { top: 0; left: -6px; width: 26px; height: 3px; text-indent: 0; line-height: 1; padding-left: 0; }
    .step__tick { font-size: 0; }
    .duo { grid-template-columns: minmax(0, 1fr); }
    .duo__side, .duo__side + .duo__side { padding: 0; border-left: 0; }
    .duo__side + .duo__side { margin-top: 40px; padding-top: 40px; border-top: 2px solid var(--ink); }
    .band { padding: 64px 0; }
    /* Alt-alta düzülüşdə 100vh saxlanmır — səhifə adi qaydada sürüşür */
    .auth { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 100dvh; overflow: visible; }
    .auth__side { padding: 20px 20px 44px; }
    .auth__pitch { margin-top: 18px; padding-bottom: 0; }
    .auth__pitch p, .auth__addr { display: none; }
    .auth__main { overflow: visible; padding: 20px 16px 32px; }
    .tpage__actions { margin-left: 0; width: 100%; }
    .curr__books { grid-template-columns: minmax(0, 1fr); }
    .pq__match { grid-template-columns: minmax(0, 1fr); margin-left: 0; }
    .pq__options { margin-left: 0; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap, .wrap--narrow { width: calc(100% - 32px); }
    .nav__row { gap: 10px; height: 60px; }
    .nav__actions .btn--primary { padding: 10px 12px; font-size: 14px; }
    .brand__name { font-size: 19px; }
    .nav__cta-long { display: none; }
    .nav__cta-short { display: inline; }
    /* Telefonda "Daxil ol" sətirdə qalır — ☰ menyusunda gizlənməsin deyə
       çərçivəsiz, yer tutmayan link kimi göstərilir */
    .nav__login { padding: 8px 4px; border-color: transparent; background: transparent; font-size: 14px; }
    .claim__row { flex-direction: column; }
    .claim__field input { font-size: 17px; }
    .form__pair { grid-template-columns: minmax(0, 1fr); }
    .mock__join { display: none; }
    .mock__time { width: 66px; }
    .course { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tpage__avatar { width: 84px; height: 84px; font-size: 34px; }
}

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

/* ───────────── Kurs kataloqu (ana səhifə) ───────────── */
.kcat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.kcat__head .band__title, .kcat__head .band__lead { margin: 0; }
.kcat__head .band__lead { margin-top: 6px; }

.kcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }

.kcard {
    display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.kcard:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 10px 24px -14px rgba(20, 40, 90, .55); }

.kcard__cover {
    position: relative; display: grid; place-items: center; height: 132px; overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--hue) 62% 92%), hsl(var(--hue) 55% 78%));
}
.kcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.kcard__mark { font: 700 44px/1 var(--display); color: hsl(var(--hue) 55% 32%); opacity: .85; }
.kcard__subject {
    position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px;
    font-size: 11.5px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .92);
}

.kcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.kcard__title { font: 700 16px/1.3 var(--display); }
.kcard__sum { font-size: 13px; line-height: 1.45; color: var(--muted); }
.kcard__teacher { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.kcard__ava { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.kcard__ava--letters {
    display: grid; place-items: center; font: 700 10px/1 var(--body);
    color: var(--white); background: var(--blue-deep);
}
.kcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.kcard__price { font: 700 15px/1 var(--display); color: var(--ink); }
.kcard__price--free { color: #1f8a4c; }
.kcard__go { font-size: 13px; font-weight: 600; color: var(--blue); }

@media (max-width: 575.98px) {
    .kcards { grid-template-columns: minmax(0, 1fr); }
    .kcat__head .btn { width: 100%; }
}

/* ───────────── Kurs səhifəsi ───────────── */
.cpage__hero { padding: 30px 0 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.cpage__head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cpage__crumb { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.cpage__title { margin: 6px 0 0; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.2; }
.cpage__sum { margin: 10px 0 0; font-size: 16px; color: var(--ink-soft); max-width: 60ch; }
.cpage__by { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.cpage__by a { color: var(--ink); font-weight: 600; }
.cpage__ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.cpage__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 26px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.cpage__facts b { color: var(--ink); }

/* Proqram solda, qiymət paneli sağda — panel başlığa qalxır və sürüşəndə menyunun altında yapışır */
.cpage__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cpage__main { min-width: 0; }
.cbuy {
    position: sticky; top: 84px; padding: 18px; margin-top: -220px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: 0 14px 30px -20px rgba(20, 40, 90, .5);
}
.cbuy__price { font: 700 30px/1 var(--display); }
.cbuy__free { color: #1f8a4c; }
.cbuy__note { margin-top: 4px; font-size: 13px; color: var(--muted); }
.cbuy__actions { margin-top: 14px; }
.cbuy__actions .btn { width: 100%; justify-content: center; }
.cbuy__list { margin: 14px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

.cpage { padding: 46px 0 60px; }
.cpage__hint { margin: -6px 0 16px; font-size: 14px; color: var(--muted); }
.cpage__about { margin-top: 34px; }
.cpage__desc { font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 70ch; }

.cprog { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.cprog__sec + .cprog__sec { border-top: 1px solid var(--line); }
.cprog__sec > summary {
    display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 12px 14px;
    background: var(--paper); font-size: 15px; list-style: none;
}
.cprog__sec > summary::-webkit-details-marker { display: none; }
.cprog__sec > summary::before { content: '▸'; color: var(--muted); transition: transform .15s ease; }
.cprog__sec[open] > summary::before { transform: rotate(90deg); }
.cprog__name { font-weight: 700; flex: 1; min-width: 0; }
.cprog__meta { font-size: 13px; color: var(--muted); white-space: nowrap; }

.cprog__list { margin: 0; padding: 0; list-style: none; }
.cprog__row { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 30px; font-size: 14.5px; border-top: 1px solid var(--line); }
.cprog__row i { flex: none; width: 15px; font-size: 13px; color: var(--blue); }
.cprog__i--exam { color: var(--tape-ink); }
.cprog__t { flex: 1; min-width: 0; }
.cprog__n { flex: none; font-size: 12.5px; color: var(--muted); }
.cprog__preview { flex: none; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.cprog__preview:hover { text-decoration: underline; }
.cprog__lock { flex: none; color: #b6bfd0; font-size: 12px; }

@media (max-width: 860px) {
    .cpage__head, .cpage__body { grid-template-columns: minmax(0, 1fr); }
    .cbuy { position: static; margin: 0 0 20px; order: -1; }
}

/* Önizləmə pəncərəsi (kurs səhifəsi) */
body.is-locked { overflow: hidden; }
.pmodal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.pmodal[hidden] { display: none; }
.pmodal__back { position: absolute; inset: 0; background: rgba(15, 26, 48, .55); backdrop-filter: blur(2px); }
.pmodal__box {
    position: relative; display: flex; flex-direction: column; width: min(760px, 100%); max-height: 88vh;
    background: var(--white); border-radius: var(--r-md); box-shadow: 0 24px 60px -24px rgba(10, 20, 45, .7);
}
.pmodal__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pmodal__head h3 { margin: 0; font-size: 17px; flex: 1; min-width: 0; }
.pmodal__x { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.pmodal__x:hover { color: var(--ink); }
.pmodal__body { padding: 16px; overflow-y: auto; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.pmodal__body img { max-width: 100%; height: auto; }
.pmodal__body table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.pmodal__body td, .pmodal__body th { border: 1px solid var(--line); padding: 6px 10px; }
.pmodal__load { color: var(--muted); }
.pmodal__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.pmodal__note { flex: 1; min-width: 180px; font-size: 13px; color: var(--muted); }

/* «Önizlə» artıq düymədir — keçid kimi görünür */
.cprog__preview { border: 0; background: none; cursor: pointer; font: 600 13px/1 var(--body); color: var(--blue); }
.cprog__preview i { font-size: 10px; }

@media (max-width: 575.98px) {
    .pmodal__box { max-height: 92vh; }
}

/* ───────────── Hazır kurslar: paylaşılan fənlər və kitablar ───────────── */
.scat__subject { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-size: 22px; }
.scat__subject i { color: var(--blue); font-size: 18px; }
.scat__books { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.scat__book {
    display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
    background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--tape); border-radius: var(--r-md);
}
.scat__title { margin: 0; font: 700 16.5px/1.3 var(--display); color: var(--ink); }
.scat__teacher { font-size: 13.5px; color: var(--muted); }
.scat__stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-soft); }
.scat__stats b { font-family: var(--display); color: var(--ink); }
.page-hero { padding: 54px 0 8px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.page-hero p { margin-top: 12px; max-width: 62ch; color: var(--muted); }
@media (max-width: 575.98px) { .scat__books { grid-template-columns: minmax(0, 1fr); } }
.scat__buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.scat__buy .btn { flex: 1 1 auto; justify-content: center; font-size: 14px; padding: 9px 12px; }
.scat__price { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.22); font-weight: 700; }

/* Qeydiyyat yalnız Google ilə */
.auth__lead { margin: 16px 0 12px; font-size: 14.5px; color: var(--muted); }
.gsi { display: flex; justify-content: center; min-height: 44px; margin-top: 8px; }

/* Kurs səhifəsi: naviqasiya və rollar */
.cpage__crumbs { font-size: 13px; font-weight: 600; color: var(--muted); }
.cpage__crumbs a { color: var(--blue); text-decoration: none; }
.cbuy__role { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cbuy__teacher { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cbuy__teacher p { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
.btn--block { width: 100%; justify-content: center; }

/* Kurslar: fənn vitrini (filtr) və axtarış */
.kfind { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 18px; }
.kfind__search { position: relative; flex: 1 1 320px; }
.kfind__search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.kfind__search input {
    width: 100%; padding: 12px 14px 12px 40px; font: 500 15px/1.3 var(--body); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.kfind__search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.kvit { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; }
.kvit__item {
    display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    transition: border-color .14s, box-shadow .14s, transform .14s;
}
.kvit__item:hover { transform: translateY(-2px); border-color: var(--blue); }
.kvit__item.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; background: #f1f5ff; }
.kvit__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--white);
    background: hsl(var(--hue, 220) 70% 52%); font-size: 15px; }
.kvit__name { font: 700 15.5px/1.25 var(--display); }
.kvit__count { font-size: 12.5px; color: var(--muted); }
.scat__title a { color: inherit; text-decoration: none; }
.scat__title a:hover { color: var(--blue); }
.scat__more { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: none; }
.kempty { padding: 30px 0; text-align: center; color: var(--muted); }

/* Yığcam görünüş: ayrı səhifənin başlığı və kurs vitrini */
.page-hero { padding: 26px 0 14px; }
.page-hero h1 { font-size: clamp(26px, 3vw, 36px); }
.page-hero p { margin-top: 6px; font-size: 15.5px; }
.band--compact { padding: 18px 0 48px; }
.kvit { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.kvit__item { flex-direction: row; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; }
.kvit__item:hover { transform: none; }
.kvit__icon { width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }
.kvit__name { font-size: 14.5px; }
.kvit__count { padding: 1px 7px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 600; }
.kvit__item.is-active { box-shadow: none; background: var(--blue); border-color: var(--blue); color: var(--white); }
.kvit__item.is-active .kvit__count { background: rgba(255,255,255,.22); color: var(--white); }
.kvit__item.is-active .kvit__icon { background: rgba(255,255,255,.22); }
.kfind { margin: 10px 0 6px; }
.kfind__search input { padding-top: 10px; padding-bottom: 10px; }
.scat__subject { margin: 22px 0 10px; font-size: 19px; }
.scat__book { padding: 14px 16px; }

/* Tək kurs səhifəsi — yığcam */
.cpage__hero { padding: 16px 0 0; }
.cpage__title { margin-top: 4px; font-size: clamp(22px, 2.6vw, 30px); }
.cpage__sum { margin-top: 6px; font-size: 14.5px; }
.cpage__by { margin-top: 8px; font-size: 13.5px; }
.cpage__ava { width: 24px; height: 24px; }
.cpage__facts { margin: 8px 0 14px; gap: 6px 14px; font-size: 13.5px; }
.cpage { padding: 20px 0 40px; }
.cpage__body { gap: 20px; }
.cpage .sec__title { font-size: 18px; margin-bottom: 4px; }
.cpage__hint { margin: 0 0 10px; font-size: 13px; }
.cpage__about { margin-top: 22px; }
.cprog__sec > summary { padding-top: 10px; padding-bottom: 10px; }
.cprog__row { padding: 6px 12px 6px 28px; font-size: 14px; }
.cbuy { padding: 16px; }
.cbuy__price { font-size: 26px; }
.cbuy__actions { margin-top: 10px; }
.cbuy__list { margin-top: 10px; font-size: 13px; line-height: 1.55; }
.cbuy__teacher { margin-top: 12px; padding-top: 12px; }
.cbuy__teacher p { margin-bottom: 8px; font-size: 13px; }
.cbuy__role { margin-bottom: 6px; font-size: 12px; }

/* Kurs kartları: düymələr hər kartda eyni yerdə (aşağıda), başlıq 2 sətir */
.scat__books { align-items: stretch; }
.scat__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.3em); }
.scat__buy { margin-top: auto; }
.scat__more { margin-bottom: 12px; }

/* Kurs proqramı filtri */
.cfilter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.cfilter__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 600 13.5px/1 var(--body); color: var(--ink); cursor: pointer; }
.cfilter__btn span { padding: 1px 7px; border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--muted); }
.cfilter__btn i { font-size: 12px; color: var(--blue); }
.cfilter__btn.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cfilter__btn.is-active span { background: rgba(255,255,255,.22); color: var(--white); }
.cfilter__btn.is-active i { color: var(--white); }
.cprog__row[hidden], .cprog__sec[hidden] { display: none; }

/* Kurs səhifəsi: tələbə alışı (aylıq abunə) */
.cbuy__price small { font: 500 14px/1 var(--body); color: var(--muted); }
.cbuy__periods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.cbuy__period { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: 13px; }
.cbuy__period input { position: absolute; opacity: 0; pointer-events: none; }
.cbuy__period b { font: 700 15px/1.1 var(--display); color: var(--ink); }
.cbuy__period:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; background: #f1f5ff; }
.cbuy__alert { margin-top: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: #fdecec; color: #b42424; font-size: 13px; }
.cbuy__alert--ok { background: #e6f6ec; color: #14622f; margin: 0 0 10px; }

.cbuy__tprice { margin: -2px 0 10px; font: 700 20px/1 var(--display); color: var(--ink); }
.cbuy__tprice small { font: 500 13px/1 var(--body); color: var(--muted); }
.pmodal__buy { display: flex; flex-wrap: wrap; gap: 8px; }

/* Kurslar: bir ardıcıl tor, fənn kartın üzərində kiçik nişan */
#kcards { margin-top: 14px; }
.scat__book[hidden] { display: none; }
.scat__tag { align-self: flex-start; margin-bottom: 4px; padding: 2px 8px; border-radius: 999px; background: var(--paper); font-size: 11.5px; font-weight: 600; color: var(--muted); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Giriş: şifrə yalnız Google hesabı olmayanlar üçün, bağlı halda */
.altlogin { margin-top: 18px; }
.altlogin > summary { cursor: pointer; font-size: 13.5px; color: var(--muted); text-align: center; list-style: none; }
.altlogin > summary::-webkit-details-marker { display: none; }
.altlogin > summary:hover { color: var(--blue); }
.altlogin[open] > summary { margin-bottom: 12px; }
.cbuy__off { margin-left: 4px; padding: 0 5px; border-radius: 999px; background: #e6f6ec; color: #14622f; font-style: normal; font-size: 11px; font-weight: 700; }
