/* UniAtlas — дизайн-система */
:root {
  --bg: #ffffff;
  --surface: #f5f6fa;
  --surface2: #eef0f6;
  --ink: #0b1020;
  --ink2: #4a5168;
  --ink3: #8a91a6;
  --line: #e6e8ef;
  --line2: #d8dbe6;
  --accent: #4f46e5;
  --accent2: #4338ca;
  --accent-soft: #eef0ff;
  --violet: #7c3aed;
  --sky: #0ea5e9;
  --green: #059669;
  --green-soft: #e6f7f0;
  --amber: #c2710c;
  --amber-soft: #fff4e0;
  --red: #dc2626;
  --red-soft: #fdecec;
  --gold: #d4a017;
  --grad: linear-gradient(100deg, #4f46e5 0%, #7c3aed 50%, #0ea5e9 100%);
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .05);
  --shadow: 0 1px 2px rgba(11, 16, 32, .04), 0 6px 20px rgba(11, 16, 32, .05);
  --shadow-lg: 0 20px 50px -12px rgba(11, 16, 32, .18);
  --ring: 0 0 0 4px rgba(79, 70, 229, .14);
  --r: 20px;
  --max: 1200px;
  --top: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { letter-spacing: -.02em; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(23px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0 0 12px; }
.muted { color: var(--ink2); }
.faint { color: var(--ink3); font-size: 12.5px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap.section { margin-left: auto; margin-right: auto; }
.section { margin: 56px 0; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrapx { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g2.collapse { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .55); outline-offset: 2px; border-radius: 8px; }
.page-title { font-size: clamp(28px, 4vw, 40px); }
.lead { font-size: 16.5px; color: var(--ink2); max-width: 760px; }

/* ── шапка ── */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 232, 239, .8);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: var(--top); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.03em; flex: none; }
.logo:hover { text-decoration: none; }
.logo i { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; box-shadow: 0 6px 18px rgba(79, 70, 229, .35); }
.logo i svg { width: 20px; height: 20px; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; color: var(--ink2); font-weight: 650; font-size: 14px; }
.nav a .ic { opacity: .75; }
.nav a:hover { background: var(--surface); text-decoration: none; color: var(--ink); }
.nav a.on { background: var(--accent-soft); color: var(--accent); }
.nav a.on .ic { opacity: 1; }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--accent2); color: #fff; }
.badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.badge.red { background: var(--red); }
.tabbar { display: none; }
.top .cta-m { display: none; }
@media (max-width: 1460px) { .nav a .ic { display: none; } .nav a { padding: 8px 9px; } }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .top .cta-m { display: inline-flex; margin-left: auto; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--ink3); padding: 4px 0; }
  .tabbar a .ic { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--accent); }
  .tabbar a:hover { text-decoration: none; }
  .tabbar .badge { right: calc(50% - 22px); top: -2px; }
  main { padding-bottom: 84px; }
}

/* ── элементы ── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 22px; }
.card.hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; cursor: pointer; }
.card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line2); text-decoration: none; }
a.card { color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 12px 20px; font-weight: 750; cursor: pointer; background: var(--accent); color: #fff; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .6); }
.btn:hover { background: var(--accent2); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.lg { padding: 15px 24px; font-size: 16px; border-radius: 16px; }
.btn.dark { background: var(--ink); box-shadow: 0 8px 20px -8px rgba(11, 16, 32, .5); }
.btn.dark:hover { background: #1c2340; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line2); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--surface); }
.btn.soft { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.btn.soft:hover { background: #e2e5ff; }
.btn.white { background: #fff; color: var(--accent2); box-shadow: none; }
.btn.white:hover { background: #f1f2ff; }
.btn.sm { padding: 8px 13px; font-size: 13.5px; border-radius: 12px; box-shadow: none; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; font-size: 18px; color: var(--ink2); box-shadow: var(--shadow-sm); flex: none; transition: background .15s, color .15s, border-color .15s; }
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.heart { font-size: 19px; line-height: 1; }
.heart.on { color: var(--red); }
.js-save:has(.heart.on) { border-color: #f6c9c9; background: #fff6f6; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface2); color: var(--ink2); white-space: nowrap; }
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.muted { background: var(--surface); color: var(--ink3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; padding: 7px 13px; border-radius: 99px; font-size: 13.5px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--line2); background: var(--surface); text-decoration: none; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
a.chip { color: var(--ink2); }
a.chip.on { color: #fff; }
.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line2); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: #a5a8f6; box-shadow: var(--ring); }
.search-box { position: relative; }
.search-box .input { padding-left: 46px; height: 52px; font-size: 16px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.search-box > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink3); pointer-events: none; }
label.fld { display: block; font-weight: 750; margin: 20px 0 8px; }
label.fld small { display: block; color: var(--ink3); font-weight: 500; font-size: 12.5px; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 10px 0; }
.switch input { width: 18px; height: 18px; accent-color: var(--accent); }
.bar { height: 8px; background: var(--surface2); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.bar.green > i { background: linear-gradient(90deg, #059669, #10b981); }
.sec-title { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-title .muted { margin-top: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.empty { text-align: center; padding: 38px 24px; border-radius: 24px; background: var(--surface); border: 1px dashed var(--line2); }
.empty .e { font-size: 40px; margin-bottom: 6px; }
.empty h3 { margin-bottom: 6px; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: sp .8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes sp { to { transform: rotate(360deg); } }
.loader { display: flex; justify-content: center; padding: 40px; }
.loader .spin { width: 28px; height: 28px; border-width: 3px; margin: 0; }
.skel { background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 12px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 650; opacity: 0; transition: .25s; z-index: 100; pointer-events: none; max-width: 90vw; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1180px) { .toast { bottom: 92px; } }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); color: #2e2a8a; font-size: 14px; }
.note.amber { background: var(--amber-soft); color: #7a4708; }
.note.red { background: var(--red-soft); color: #8f1b1b; }
.note .ic { width: 20px; height: 20px; margin-top: 1px; }

/* ── лендинг ── */
.lp-hero { position: relative; text-align: center; padding: 56px 0 8px; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 760px; z-index: -1;
  background: radial-gradient(40% 50% at 30% 30%, rgba(124, 58, 237, .12), transparent 70%), radial-gradient(40% 50% at 72% 26%, rgba(14, 165, 233, .12), transparent 70%), radial-gradient(50% 60% at 50% 60%, rgba(79, 70, 229, .08), transparent 70%); }
.lp-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .45; mask-image: radial-gradient(60% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 30%, transparent 75%); }
.lp-hero h1 { font-size: clamp(36px, 6.4vw, 72px); line-height: 1.02; max-width: 920px; margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero .lead { margin: 20px auto 0; font-size: clamp(16px, 2vw, 19px); max-width: 680px; }
.live-pill { display: inline-flex; gap: 10px; align-items: center; padding: 6px 14px 6px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink2); font-weight: 700; font-size: 13px; margin-bottom: 22px; }
.live-pill b { background: var(--green-soft); color: var(--green); padding: 2px 8px; border-radius: 99px; font-size: 11.5px; display: inline-flex; gap: 6px; align-items: center; }
.live-pill b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-search { max-width: 560px; margin: 22px auto 0; }
.hero-search form { position: relative; }
.hero-search .input { height: 56px; padding: 0 130px 0 48px; border-radius: 18px; font-size: 16px; box-shadow: var(--shadow); }
.hero-search .btn { position: absolute; right: 6px; top: 6px; height: 44px; }
.hero-search .ic.s { position: absolute; left: 17px; top: 18px; width: 20px; height: 20px; color: var(--ink3); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; margin: 26px auto 0; color: var(--ink3); font-size: 13px; font-weight: 700; }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust .ic { color: var(--green); }
.globe-stage { position: relative; margin-top: 18px; }
.globe-wrap { position: relative; height: min(76vh, 780px); min-height: 440px; background: radial-gradient(55% 55% at 50% 50%, #f3f4ff 0%, rgba(255, 255, 255, 0) 70%); touch-action: none; }
.globe-canvas { display: block; cursor: grab; touch-action: none; }
.globe-canvas:active { cursor: grabbing; }
.globe-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 10px 12px; max-width: 270px; opacity: 0; transition: opacity .12s; font-size: 12.5px; color: var(--ink2); z-index: 4; }
.globe-tip b { display: block; color: var(--ink); font-size: 13.5px; }
.globe-tip.show { opacity: 1; }
.globe-status { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 99px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px 16px; font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; z-index: 4; }
.globe-status.show { opacity: 1; }
.globe-ctrl { position: absolute; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.globe-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12.5px; color: var(--ink3); font-weight: 650; background: rgba(255, 255, 255, .8); padding: 5px 12px; border-radius: 99px; pointer-events: none; white-space: nowrap; }
.float-card { position: absolute; z-index: 3; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(230, 232, 239, .9); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); text-align: left; width: 230px; pointer-events: auto; }
.float-card b { display: block; font-size: 24px; letter-spacing: -.03em; }
.float-card span { font-size: 12.5px; color: var(--ink2); font-weight: 600; }
.float-card .ic { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.float-card.l1 { left: 2%; top: 18%; }
.float-card.l2 { left: 5%; bottom: 14%; }
.float-card.r1 { right: 2%; top: 22%; }
@media (max-width: 1100px) { .float-card { display: none; } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; color: var(--ink2); margin: 4px 0 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.stat { display: flex; gap: 12px; align-items: center; padding: 16px; }
.stat .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.stat b { font-size: 22px; letter-spacing: -.02em; display: block; }
.steps { counter-reset: st; }
.step { position: relative; padding: 24px; border-radius: 24px; background: var(--surface); }
.step .n { width: 36px; height: 36px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--accent); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.feat { position: relative; padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; transition: transform .18s, box-shadow .18s; color: inherit; display: block; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.feat .fi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.feat .fi .ic { width: 22px; height: 22px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--ink2); margin: 0; }
.feat .more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 750; color: var(--accent); }
.feat.span3 { grid-column: span 3; } .feat.span2 { grid-column: span 2; } .feat.span4 { grid-column: span 4; }
.feat.dark { background: #0b1020; color: #fff; border-color: #0b1020; }
.feat.dark p { color: rgba(255, 255, 255, .7); }
.feat.dark .more { color: #a5b4fc; }
.feat .art { position: absolute; right: -20px; bottom: -20px; opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .feat.span3, .feat.span2, .feat.span4 { grid-column: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.mini-dl { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 12px; margin-top: 10px; font-size: 13.5px; }
.mini-dl b { font-size: 18px; width: 34px; text-align: center; }
.test-card { padding: 26px; border-radius: 26px; cursor: pointer; transition: transform .18s, box-shadow .18s; border: 1px solid var(--line); display: block; color: inherit; }
.test-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.test-card .e { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--accent); }
.test-card .e .ic { width: 24px; height: 24px; }
.cta { display: flex; gap: 18px; align-items: center; padding: 26px; border-radius: 26px; color: #fff; background: linear-gradient(115deg, #3730a3, #4f46e5 45%, #7c3aed); cursor: pointer; box-shadow: 0 20px 44px -16px rgba(79, 70, 229, .55); position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.cta p { color: rgba(255, 255, 255, .82); margin: 4px 0 0; }
.cta h3 { color: #fff; }
.cta .go { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.cta .go .ic { width: 20px; height: 20px; }
.cta-band { border-radius: 32px; padding: clamp(28px, 5vw, 56px); background: #0b1020; color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 20% 0%, rgba(124, 58, 237, .45), transparent 60%), radial-gradient(50% 80% at 85% 100%, rgba(14, 165, 233, .35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 42px); }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 620px; margin: 12px auto 24px; font-size: 16px; }
.country-tile { display: flex; gap: 12px; align-items: center; padding: 14px; }
.country-tile .f img.flag { height: 26px; border-radius: 5px; }
.country-tile b { display: block; line-height: 1.25; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 750; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 24px; font-weight: 500; color: var(--ink3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); margin: 0 0 16px; max-width: 820px; }
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { padding-top: 44px; padding-bottom: 36px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin-bottom: 12px; }
.site-footer a { display: block; color: var(--ink2); padding: 4px 0; font-weight: 600; font-size: 14px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink3); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.footer { background: var(--surface); border-radius: 24px; padding: 24px; color: var(--ink2); font-size: 13.5px; }

/* ── списки вузов ── */
.uni { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.uni .rank { width: 36px; font-size: 20px; font-weight: 800; color: var(--ink3); flex: none; padding-top: 2px; }
.uni .rank.top { color: var(--gold); }
.uni h4 { margin: 0; font-size: 16.5px; letter-spacing: -.01em; }
.uni .sub { color: var(--ink2); font-size: 13.5px; margin: 3px 0 10px; }
.uni .side { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.idx { position: relative; width: 54px; height: 54px; flex: none; }
.idx svg { transform: rotate(-90deg); }
.idx b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.list-uni { display: grid; gap: 10px; }
.cat-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.cat-row .n { width: 34px; color: var(--ink3); font-weight: 800; flex: none; text-align: right; font-size: 13.5px; }
.cat-row .img { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); flex: none; display: grid; place-items: center; overflow: hidden; font-size: 20px; color: var(--ink3); }
.cat-row .img .ic { width: 20px; height: 20px; }
.cat-row .img img { width: 100%; height: 100%; object-fit: contain; }
.cat-row h4 { margin: 0; font-size: 15px; }
.cat-row .meta { font-size: 12.5px; color: var(--ink2); }
.cat-row .img.photo { background: var(--surface) center / cover no-repeat; width: 56px; height: 56px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.toolbar .grow { min-width: 220px; }
.uni .thumb { width: 92px; height: 92px; border-radius: 16px; flex: none; background: var(--surface) center / cover no-repeat; position: relative; }
.uni .thumb:not(.has)::after { content: ''; position: absolute; inset: 30%; background: var(--line2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M19 21V10M9 21v-7M15 21v-7M2 10l10-6 10 6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M19 21V10M9 21v-7M15 21v-7M2 10l10-6 10 6z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 600px) { .uni .thumb { width: 64px; height: 64px; } }

/* ── страница вуза ── */
.crumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink3); margin-top: 18px; font-weight: 600; }
.crumbs a { color: var(--ink2); }
.uhero { position: relative; border-radius: 30px; overflow: hidden; height: 400px; background: radial-gradient(80% 120% at 20% 0%, #7c3aed, transparent 60%), radial-gradient(80% 120% at 100% 100%, #0ea5e9, transparent 55%), #312e81; margin-top: 12px; }
.uhero img { width: 100%; height: 100%; object-fit: cover; animation: fadein .5s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.uhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, .82)); pointer-events: none; }
.uhero .t { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; color: #fff; display: flex; gap: 16px; align-items: flex-end; }
.uhero .t .muted { color: rgba(255, 255, 255, .8); font-weight: 650; }
.uhero h1 { font-size: clamp(26px, 4vw, 44px); color: #fff; margin-top: 6px; }
.uhero .bubble { background: #fff; border-radius: 50%; padding: 5px; box-shadow: var(--shadow-lg); }
.uhero .photo-credit { position: absolute; top: 14px; right: 16px; z-index: 3; font-size: 11.5px; color: rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .38); padding: 4px 10px; border-radius: 99px; }
@media (max-width: 600px) { .uhero { height: 280px; border-radius: 22px; } .uhero .t { left: 18px; right: 18px; bottom: 18px; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 22px; overflow-x: auto; position: sticky; top: var(--top); background: rgba(255, 255, 255, .94); z-index: 20; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; gap: 6px; align-items: center; padding: 13px 14px; font-weight: 750; color: var(--ink2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs a.on { color: var(--accent); border-color: var(--accent); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kv > div { background: var(--surface); border-radius: 14px; padding: 12px 14px; }
.kv b { font-size: 19px; display: block; letter-spacing: -.02em; }
.kv span { font-size: 12px; color: var(--ink3); font-weight: 600; }
.info { display: flex; gap: 12px; padding: 10px 0; }
.info .ic { width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); flex: none; }
.info .ic.e { display: grid; place-items: center; padding: 0; font-size: 16px; }
.info small { display: block; color: var(--ink3); font-weight: 750; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.part { margin-bottom: 14px; }
.part .row { justify-content: space-between; }
.part .faint { margin-top: 4px; }
.doc { display: flex; gap: 10px; padding: 9px 0; align-items: flex-start; cursor: pointer; border-bottom: 1px solid var(--line); }
.doc:last-of-type { border-bottom: 0; }
.doc input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.doc.done b { text-decoration: line-through; color: var(--ink3); }
.dl { display: flex; border-radius: 18px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.dl .date { width: 80px; flex: none; text-align: center; padding: 12px 4px; font-weight: 800; border-left: 5px solid currentColor; display: flex; flex-direction: column; justify-content: center; }
.dl .date b { display: block; font-size: 24px; line-height: 1; }
.dl .date span { font-size: 12.5px; }
.dl .date small { display: block; color: var(--ink3); font-weight: 600; font-size: 11px; }
.dl .body { flex: 1; padding: 12px 14px; min-width: 0; }
.dl .body h5 { margin: 4px 0 2px; font-size: 15px; }
.dl .act { display: flex; flex-direction: column; justify-content: center; padding: 0 12px; gap: 6px; }
.dl.done h5 { text-decoration: line-through; color: var(--ink3); }
.c-accent { color: var(--accent); } .c-red { color: var(--red); } .c-amber { color: var(--amber); } .c-green { color: var(--green); } .c-muted { color: var(--ink3); }
.bg-accent { background: rgba(79, 70, 229, .06); } .bg-red { background: rgba(220, 38, 38, .06); } .bg-amber { background: rgba(217, 119, 6, .07); } .bg-green { background: rgba(5, 150, 105, .07); } .bg-muted { background: var(--surface); }
.article { font-size: 15.5px; line-height: 1.7; max-width: 860px; }
.article h4 { font-size: 17px; }

/* ── гид ── */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--violet), var(--sky)); border-radius: 2px; }
.tl { position: relative; margin-bottom: 18px; }
.tl::before { content: ''; position: absolute; left: -29px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tl .when { font-size: 12.5px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.tl ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink2); }
.tl li { margin: 4px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 700px) { .tbl thead { display: none; } .tbl tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); } .tbl td { display: block; padding: 3px 12px; border: 0; } }

/* ── климат ── */
.season { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #9fd3f5; }
@media (max-width: 700px) { .season { aspect-ratio: 4 / 3; } }
.season svg.land, .season img, .season canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season img { opacity: 0; transition: opacity .35s ease; }
.season .shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--tint, transparent), transparent 50%, rgba(0, 0, 0, .55)); pointer-events: none; }
.season .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; gap: 8px; align-items: flex-end; color: #fff; flex-wrap: wrap; }
.season .cap h3 { font-size: 26px; color: #fff; }
.wchip { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); border-radius: 12px; padding: 6px 10px; text-align: center; }
.wchip b { display: block; font-size: 15px; }
.wchip span { font-size: 10.5px; opacity: .85; }
.season .shuffle { position: absolute; top: 12px; right: 12px; z-index: 3; }
.months { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink3); padding: 0 6px; }
.months b { color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── тесты ── */
.quiz { max-width: 720px; margin: 0 auto; padding: 32px 20px; }
.opt { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; margin-bottom: 10px; cursor: pointer; font-weight: 650; font-size: 16px; transition: background .12s, border-color .12s, transform .1s; box-shadow: var(--shadow-sm); }
.opt:hover { background: var(--accent-soft); border-color: #c7cbff; }
.opt:active { transform: scale(.99); }
.opt .k { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; font-weight: 800; flex: none; }

/* ── модальное окно ── */
dialog { border: 0; border-radius: 26px; padding: 0; box-shadow: var(--shadow-lg); max-width: min(540px, 94vw); width: 100%; color: var(--ink); }
dialog::backdrop { background: rgba(11, 16, 32, .45); backdrop-filter: blur(3px); }
dialog .dlg { padding: 24px; }
dialog .act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.sheet .t { display: flex; gap: 14px; align-items: center; }
.dlg .x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; font-size: 16px; }

img.flag { display: inline-block; height: .95em; width: auto; aspect-ratio: 4 / 3; border-radius: 3px; vertical-align: -.12em; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); object-fit: cover; }
.big-flag img.flag { height: 44px; border-radius: 8px; }
@media (max-width: 600px) {
  .cta { flex-wrap: wrap; padding: 20px; }
  .cta .grow { min-width: 60%; }
  .globe-wrap { height: 60vh; min-height: 360px; }
  .lp-hero { padding-top: 32px; }
  .uni { flex-wrap: wrap; }
  .uni .rank { width: 26px; font-size: 17px; }
  .hero-search .input { padding-right: 110px; }
  .section { margin: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .tabbar, .site-footer, .globe-wrap, .btn, .icon-btn { display: none !important; } }
.card.pad > .ic { width: 28px; height: 28px; }
.cat-row .meta, .cat-row h4 { overflow-wrap: anywhere; }
.chips:not(.scroll) .chip { white-space: normal; max-width: 100%; text-align: left; }
.chips.scroll, .tabs { max-width: 100%; }
main { overflow-x: clip; }
/* фото вуза: заглушка, загрузка, плавное появление */
.uhero .ph-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.12); pointer-events: none; }
.uhero .ph-art .ic { width: 46%; height: 70%; stroke-width: 1.2; transform: translateY(-8%); }
.uhero.loading::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.14) 50%, rgba(255,255,255,0) 70%); background-size: 250% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.uhero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; animation: none; z-index: 0; }
.uhero img.hero-img.in { opacity: 1; }
.uni .thumb.none, .cat-row .img.photo.none { background: linear-gradient(135deg, var(--accent-soft), #f3eefe); }
.all-row .chips .pill { font-size: 11.5px; }
.all-row .chips { gap: 6px; }
.chip .ic { width: 15px; height: 15px; }
select.input { max-width: 100%; }
#acsel { flex: 1 1 220px; min-width: 0; }
#acsel select { width: 100% !important; }
@media (max-width: 600px) { #asort .muted { width: 100%; } #aopts .switch { margin-left: 0 !important; } }
/* язык */
.lang-box { flex: none; margin-left: 6px; }
.lang-sel { border: 1px solid var(--line2); background: #fff; border-radius: 12px; padding: 7px 8px; font-weight: 700; font-size: 13px; cursor: pointer; max-width: 128px; }
.auto-tr { position: fixed; left: 16px; bottom: 16px; z-index: 120; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 16px; padding: 10px 12px; font-weight: 700; max-width: calc(100vw - 32px); }
.auto-tr .icon-btn { width: 32px; height: 32px; font-size: 13px; }
@media (max-width: 1180px) { .auto-tr { bottom: 92px; } .lang-box { margin-left: 8px; } .lang-sel { max-width: 122px; font-size: 12.5px; padding: 7px 4px; } }
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.tabbar a { text-align: center; line-height: 1.15; overflow: hidden; }

/* заголовки системным шрифтом */
h1, h2, h3, .logo, .page-title { font-family: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Display', Roboto, 'Helvetica Neue', Arial, sans-serif; }
h1 { letter-spacing: -.03em; }
/* бета и правовые страницы */
.beta-tag { flex: none; border: 1px solid #c7cbff; background: var(--accent-soft); color: var(--accent); font: 800 11px/1 inherit; font-family: inherit; text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 99px; cursor: pointer; margin-left: -8px; }
.beta-tag:hover { background: #e2e5ff; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink2); }
.legal ul { padding-left: 20px; }
.site-footer .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer .legal-links a { display: inline; padding: 0; font-size: 12.5px; color: var(--ink2); }
@media (max-width: 480px) { .top .cta-m { display: none !important; } .lang-box { margin-left: auto !important; } .top .wrap { gap: 12px; } }
