/* ORT Academy — основа дизайна: цвета, шрифты, кнопки, шапка, подвал, главная.
   Цвета из макета Claude Design переведены из oklch в hex: старые телефоны oklch не понимают. */

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

:root {
    --bg: #0B0C0F;
    --bg-2: #0E1014;
    --surface: #111318;
    --surface-hover: #13161B;
    --surface-2: #16181E;
    --chip: #1A1D24;
    --line: #1E2128;
    --line-2: #262A33;
    --line-3: #2A2E38;
    --line-hover: #5A5F6B;

    --text: #EDEEF0;
    --text-2: #8E929C;
    --text-3: #6B6F79;
    --text-soft: #B4B8C1;
    --text-body: #D6D8DD;

    --accent: #6A99FF;
    --accent-hover: #8BB5FF;
    --link: #7CA7FF;
    --link-hover: #A4C9FF;
    --accent-soft: rgba(106, 153, 255, 0.14);
    --accent-text: #98BCFF;
    --glow: rgba(50, 90, 194, 0.45);

    --ok: #4ED589;
    --ok-text: #61DA92;
    --ok-cell: #43C07A;
    --ok-soft: rgba(78, 213, 137, 0.12);
    --bad: #F3625D;
    --bad-text: #FF847D;
    --bad-cell: #E85854;
    --bad-soft: rgba(243, 98, 93, 0.12);
    --warn: #EDB345;

    --tg: #2EA4DC;
    --tg-hover: #0891C9;
    --avatar-bg: #20376E;
    --avatar-text: #BED7FF;

    /* «Бумага» бланка ответов и брошюры */
    --paper: #F4F1E8;
    --paper-white: #FBFAF6;
    --ink: #0B4C92;
    --ink-soft: rgba(11, 76, 146, 0.45);
    --ink-ok: #00884B;
    --ink-bad: #C92F33;
    --ink-dark: #1A1A1A;

    --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;
    --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --font-paper: 'PT Serif', Georgia, serif;

    --radius: 18px;
    --header-h: 59px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main { flex: 1; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow { max-width: 960px; }

.mono { font-family: var(--font-mono); }

/* ===== Типографика ===== */

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--link);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.h-display {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(36px, 5.6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.h-section {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.h-page {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-2);
    text-wrap: pretty;
}

.muted { color: var(--text-2); }
.text-ok { color: var(--ok-text); }
.text-bad { color: var(--bad-text); }
.text-accent { color: var(--link); }

/* ===== Кнопки ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: background-color .15s, border-color .15s, color .15s;
    white-space: nowrap;
}

.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.btn-primary, .btn-primary:hover { color: var(--bg); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-light, .btn-light:hover { color: var(--bg); }
.btn-light { background: var(--text); }
.btn-light:hover { background: #fff; }

.btn-ghost, .btn-ghost:hover { color: var(--text); }
.btn-ghost { background: transparent; border-color: var(--line-3); font-weight: 500; }
.btn-ghost:hover { border-color: var(--line-hover); }

.btn-dark, .btn-dark:hover { color: var(--text); }
.btn-dark { background: var(--bg); border-color: var(--line-2); font-weight: 500; }
.btn-dark:hover { border-color: var(--line-hover); }

.btn-tg, .btn-tg:hover { color: #fff; }
.btn-tg { background: var(--tg); }
.btn-tg:hover { background: var(--tg-hover); }

.btn:disabled { opacity: .5; cursor: default; }

.arrow { font-family: var(--font-mono); }

/* ===== Карточки и мелкие элементы ===== */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.card-strong { border-color: var(--line-2); }

.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow), transparent 70%);
    pointer-events: none;
}
.card-glow > * { position: relative; }

.card-title { font-weight: 600; font-size: 16px; }

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.label-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--chip);
    color: var(--text-soft);
    white-space: nowrap;
}
.tag-ok { background: var(--ok-soft); color: var(--ok-text); }
.tag-bad { background: var(--bad-soft); color: var(--bad-text); }
.tag-accent { background: var(--accent-soft); color: var(--accent-text); }

.avatar {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 13px;
    background: var(--avatar-bg);
    color: var(--avatar-text);
    overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Сегментный переключатель (метрика, период, разделы) */
.seg {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 11px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }

.seg-item {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.seg-item:hover { color: var(--text); }
.seg-item.is-active, .seg-item.is-active:hover { background: var(--text); color: var(--bg); }
.seg-mono .seg-item { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }

/* Фон-сетка для первых экранов */
.grid-bg {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background-image: linear-gradient(var(--surface-2) 1px, transparent 1px),
                      linear-gradient(90deg, var(--surface-2) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: -1px -1px;
}
.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 30% 40%, transparent 0%, var(--bg) 85%);
    pointer-events: none;
}
.grid-bg > * { position: relative; }

/* Всплывающее окно (подтверждение, «время вышло» и т.п.) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    padding: 16px;
    overflow-y: auto;
    background: rgba(5, 6, 8, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.modal.show { display: flex; }

.modal-card {
    margin: auto;
    width: 100%;
    max-width: 460px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
    position: relative;
}
.modal-card h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.modal-card p { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--line-2);
    background: var(--bg);
    color: var(--text-2);
    font-size: 18px;
    cursor: pointer;
}
.modal-close:hover { color: var(--text); border-color: var(--line-hover); }

/* ===== Бланк ответов «на бумаге» (тест и результат) ===== */

.paper {
    background: var(--paper);
    color: var(--ink);
    border-radius: 4px;
    padding: 18px 16px 20px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.paper-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.paper-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.paper-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-dark); margin-top: 4px; }

.paper-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.paper-group { border: 1px solid var(--ink-soft); border-radius: 3px; padding: 6px 8px 8px; }
.paper-row {
    display: grid;
    grid-template-columns: 26px repeat(var(--opts, 4), 1fr) var(--mark-col, 0px);
    align-items: center;
    height: 30px;
    border-radius: 4px;
}
.paper-letters { height: auto; padding-bottom: 4px; font-family: var(--font-paper); font-weight: 700; font-size: 12px; text-align: center; }
.paper-n { font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-align: right; padding-right: 6px; color: var(--ink-dark); }
.paper-row.is-focus { background: rgba(11, 76, 146, 0.1); }

.bubble-label { display: grid; place-items: center; height: 30px; cursor: pointer; position: relative; }
.bubble-radio { position: absolute; opacity: 0; pointer-events: none; }
.bubble {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-paper);
    font-size: 10px;
    line-height: 1;
    border: 1.3px solid var(--ink);
    color: var(--ink);
    transition: box-shadow .1s;
}
.bubble-label:hover .bubble { box-shadow: 0 0 0 3px rgba(11, 76, 146, 0.15); }
.bubble-radio:checked + .bubble { background: #26262B; border-color: #26262B; color: #26262B; }
.bubble-radio:focus-visible + .bubble { outline: 2px solid var(--accent); outline-offset: 2px; }

.paper-hint { margin-top: 16px; font-family: var(--font-mono); font-size: 10px; line-height: 1.5; opacity: 0.85; }

/* ===== Шапка ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 12, 15, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    flex: none;
}
.brand:hover { color: var(--text); }

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--bg);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    flex: none;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    flex: 1;
}
.site-nav a { color: var(--text-2); white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }

.site-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.header-login {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
}
.header-login:hover { color: #fff; }

.header-account {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}
.header-account:hover { color: #fff; }
.header-account .avatar { width: 30px; height: 30px; font-size: 12px; }

/* ===== Подвал ===== */

.site-footer { border-top: 1px solid var(--line); }

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.site-footer-about { max-width: 380px; }
.site-footer-about .brand-name { display: block; margin-bottom: 10px; }
.site-footer-about p { font-size: 14px; line-height: 1.55; color: var(--text-3); }

.site-footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
}

/* ===== Главная ===== */

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    align-items: center;
    padding-top: 88px;
    padding-bottom: 96px;
}

.hero-text { flex: 1 1 500px; min-width: 0; }

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 8px;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 32px;
}
.hero-pill b {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--ok);
    color: var(--bg);
    font-weight: 600;
}

.hero-title { margin-bottom: 28px; }
.hero-title span { color: var(--link); }

.hero-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 40px;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stat-value { font-family: var(--font-display); font-weight: 600; font-size: 28px; }
.hero-stat-label { margin-top: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }

.hero-demo { flex: 1 1 400px; min-width: 0; position: relative; }
.hero-demo::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 60% 40%, rgba(37, 75, 178, 0.35), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.demo-window {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.demo-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.demo-bar .demo-where { flex: 1; }
.demo-bar .demo-time { color: var(--text); }

.demo-progress { height: 2px; background: var(--line); }
.demo-progress div { width: 46%; height: 100%; background: var(--accent); }

.demo-body { padding: 28px; }
.demo-hint { font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.demo-question { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 24px; }
.demo-options { display: flex; flex-direction: column; gap: 8px; }

.demo-option {
    display: flex;
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: var(--bg-2);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}
.demo-option:hover { border-color: var(--line-hover); }
.demo-letter {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    background: var(--line);
    color: var(--text-2);
}
.demo-text { flex: 1; }
.demo-tag { font-family: var(--font-mono); font-size: 12px; }
.demo-option.is-ok { border-color: var(--ok); background: var(--ok-soft); }
.demo-option.is-ok .demo-letter { background: var(--ok); color: var(--bg); }
.demo-option.is-ok .demo-tag { color: var(--ok); }
.demo-option.is-bad { border-color: var(--bad); background: var(--bad-soft); }
.demo-option.is-bad .demo-letter { background: var(--bad); color: var(--bg); }
.demo-option.is-bad .demo-tag { color: var(--bad); }

.demo-explain {
    margin-top: 14px;
    padding: 14px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-soft);
}
.demo-explain span { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--ok); }
.demo-note { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

.home-section { padding-top: 96px; padding-bottom: 96px; }
.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.home-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }

.subjects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.subject {
    background: var(--bg-2);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 240px;
    color: var(--text);
}
.subject:hover { background: var(--surface-hover); color: var(--text); }
.subject-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.subject-name { margin-top: auto; font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.subject-desc { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.subject-qs { font-family: var(--font-mono); font-size: 12px; color: var(--link); }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
}
.feature-num {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line-3);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--link);
    margin-bottom: 24px;
}
.feature h3 { font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--text-2); }

.team { display: flex; flex-wrap: wrap; gap: 56px; }
.team-text { flex: 1 1 340px; }
.team-text .h-section { margin-bottom: 20px; }
.team-grid {
    flex: 2 1 580px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.creator { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.creator-photo { aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); }
.creator-info { padding: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.creator-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.creator-score { text-align: right; flex: none; }
.creator-score b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ok); }
.creator-score span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

.cta-box {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-2);
    border-radius: 24px;
    padding: 64px 48px;
    background: var(--surface);
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}
.cta-box::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow), transparent 70%);
    pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box .h-section { margin-bottom: 14px; }

/* ===== Телефоны ===== */

@media (max-width: 760px) {
    .container { padding: 0 16px; }
    .site-header-inner { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
    .site-nav { order: 3; flex-basis: 100%; gap: 22px; overflow-x: auto; padding-bottom: 2px; }
    .header-start { display: none; }
    .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 48px; }
    .hero-lead { font-size: 17px; margin-bottom: 28px; }
    .hero-actions { margin-bottom: 40px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-stats { gap: 28px; }
    .demo-body { padding: 20px; }
    .home-section { padding-top: 64px; padding-bottom: 64px; }
    .subject { min-height: 0; }
    .team { gap: 32px; }
    .team-grid { flex-basis: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .creator { border-radius: 12px; }
    .creator-info { flex-direction: column; align-items: flex-start; padding: 10px; gap: 4px; }
    .creator-name { font-size: 13px; }
    .creator-score { text-align: left; }
    .creator-score b { font-size: 17px; }
    .cta-box { padding: 40px 24px; }
    .cta-box .btn { width: 100%; }
}

/* ===== Переключатель языка RU / KG ===== */
.lang-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-2);
    border-radius: 9px;
    background: var(--surface);
}
.lang-switch button {
    border: 0;
    background: transparent;
    color: var(--text-2);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active { background: var(--text); color: var(--bg); }
