/* 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; }

.wrap { width: min(1180px, 100% - 40px); 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; }
.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; }

/* ───────────── Kiçik ekranlar ───────────── */
@media (max-width: 960px) {
    .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%; }
}

@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" ☰ menyusundadır — sətirdə loqo, "Başla" və ☰ qalır */
    .nav__login { display: none; }
    .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; }
}
