/* incy.cfd — порты Magic UI Pro (header-1, hero-22 + hero-25, pricing-1, feature-6, faq-4, call-to-action-2, footer-3) и MagicUI Animated List
   в plain CSS. Тёмная teal-гамма семьи INCY, шрифт Geologica. Мотион только под html.motion (prefers-reduced-motion: no-preference). */
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geologica-cyrillic-variable.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geologica-latin-variable.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #04141a; --card: #081d25; --card-2: #0b2530; --muted: #0f2c37;
  --fg: #f3efe4; --fg-2: #b6c2c0; --fg-3: #8a9a98;
  --primary: #5eead4; --primary-2: #9ff3e6; --on-primary: #04201d; --primary-10: rgba(94, 234, 212, .1); --primary-20: rgba(94, 234, 212, .2);
  --border: rgba(243, 239, 228, .1); --border-2: rgba(243, 239, 228, .18);
  --r-lg: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-4xl: 32px; --shell: 1200px;
  --ease: cubic-bezier(.2, .65, .2, 1); --spring: cubic-bezier(.2, .9, .25, 1.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 "Geologica", "Segoe UI", system-ui, sans-serif; color: var(--fg); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.03em; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
small { font-size: 13px; color: var(--fg-3); }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.glyph { width: 24px; height: 24px; flex: 0 0 auto; color: var(--primary); }
.glyph-inline { width: 16px; height: 16px; margin-left: 6px; display: inline-block; vertical-align: -2px; transition: transform .3s var(--ease); }
a:hover .glyph-inline { transform: translateX(3px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

/* ---- кнопки (pro: rounded-full, hover ring 2px + offset) */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; white-space: nowrap; position: relative; overflow: hidden; transition: box-shadow .3s var(--ease), background-color .2s, color .2s, transform .2s var(--ease); }
.button-primary { background: var(--primary); color: var(--on-primary); }
.button-secondary { background: var(--muted); color: var(--fg); }
.button:hover { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
.button-small { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.button-xs { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.motion .button:active { transform: scale(.98); }
.button .glyph-inline { color: currentColor; }

/* ---- skip, header (концепт D: простая навигация с точками) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--primary); color: var(--on-primary); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: rgba(4, 20, 26, .9); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; min-height: 44px; justify-self: start; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.brand-word { font-weight: 800; letter-spacing: .06em; font-size: 20px; color: var(--primary); }
.brand-sub { font-weight: 500; color: var(--fg-2); margin-left: 6px; letter-spacing: .06em; font-size: 15px; }
.header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.header-nav li { display: flex; align-items: center; }
.header-nav li + li::before { content: "·"; color: var(--fg-3); margin: 0 2px; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 999px; color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--fg); }
.header-tools { display: flex; align-items: center; gap: 14px; justify-self: end; }
.header-cabinet { color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; text-decoration: underline; text-decoration-color: var(--fg-3); text-underline-offset: 4px; }
.header-cabinet:hover { color: var(--fg); }

/* ---- hero (pro hero-22 + facts row hero-25) */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 .accent { display: block; color: var(--fg-3); font-weight: 500; }
.hero-copy .lead { color: var(--fg-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 600px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--fg-3); font-size: 14px; }
.hero-facts { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px 32px; width: 100%; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-facts span { color: var(--fg-3); font-size: 13px; }
.crumbs ol, .crumbs li { list-style: none; margin: 0; padding: 0; }
.crumbs ol { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--fg-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
/* медиа-панель: список стран как в приложении, в рамке как placeholder pro-hero (rounded-2xl border) */
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 10% 6% -6%; background: radial-gradient(60% 60% at 50% 40%, var(--primary-20), transparent 70%); filter: blur(30px); pointer-events: none; }
.panel { position: relative; border: 1px solid var(--border-2); border-radius: var(--r-2xl); background: var(--card); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.panel-glyph { width: 20px; height: 20px; }
.panel-status { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--on-primary); background: var(--primary); border-radius: 999px; padding: 5px 10px; }
.panel-list { list-style: none; margin: 0; padding: 6px 0; }
.panel-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; padding: 11px 20px; font-size: 15px; }
.panel-row + .panel-row { border-top: 1px solid var(--border); }
.panel-row span { display: grid; font-weight: 500; }
.panel-row small { font-weight: 400; }
.panel-row b { font-weight: 500; font-size: 12px; letter-spacing: .06em; color: var(--fg-3); text-transform: uppercase; }
.panel-row.is-on { background: var(--primary-10); }
.panel-row.is-on b { color: var(--primary); }
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); justify-self: center; }
.is-on .panel-dot, .geo-row .panel-dot { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-20); }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); color: var(--fg-2); font-size: 14px; }
.panel-foot b { color: var(--fg); font-weight: 600; }
.panel-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 14px; }
.panel-button .glyph { color: currentColor; width: 18px; height: 18px; }

/* ---- блоки */
.block { padding: clamp(40px, 6vw, 80px) 0; }
.block-head { max-width: 640px; margin-bottom: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.block-head p { color: var(--fg-2); font-size: 17px; text-wrap: balance; }
.block-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.block-actions { margin-top: 28px; }
.block-foot { margin-top: 24px; }
.block-foot a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
/* тайлы (pro feature-6: rounded-3xl, иконка в круге primary/10) */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tiles-5 { grid-template-columns: repeat(5, 1fr); }
.tiles-steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-3xl); background: rgba(8, 29, 37, .5); color: inherit; text-decoration: none; }
.tile p { color: var(--fg-2); font-size: 14px; line-height: 1.55; }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary-10); }
.tile.is-link { transition: border-color .2s, background-color .2s; }
.tile.is-link:hover { border-color: var(--primary); background: var(--card); }
.tile-arrow { position: absolute; top: 24px; right: 24px; width: 20px; height: 20px; color: var(--fg-3); transition: transform .3s var(--ease), color .2s; }
.tile.is-link:hover .tile-arrow { color: var(--primary); transform: translateX(3px); }
.tile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tile-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: var(--fg-2); font-size: 15px; }
.plan-check { width: 16px; height: 16px; margin-top: 4px; padding: 2px; border-radius: 50%; background: var(--primary); color: var(--on-primary); stroke-width: 3; }
.step-no { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--primary); }
.slot-no { position: absolute; top: 22px; right: 22px; font-size: 12px; letter-spacing: .08em; color: var(--fg-3); }
.slot-free { border-style: dashed; border-color: var(--border-2); background: transparent; }
/* тарифы (pro pricing-1) */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card { position: relative; display: grid; grid-template-rows: 70px auto auto 1fr; gap: 16px; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.plan-card.is-best { border: 2px solid var(--primary); box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1), 0 0 40px -10px var(--primary-20); padding: 17px; }
.plan-head h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.plan-head p { color: var(--fg-3); font-size: 13px; margin-top: 2px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan-sum { font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.plan-unit { color: var(--fg-3); font-size: 13px; font-weight: 500; white-space: nowrap; }
.plan-button { border-radius: 8px; min-height: 46px; font-size: 16px; letter-spacing: -.02em; white-space: normal; height: auto; }
.sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(102deg, transparent 0 62%, rgba(243, 239, 228, .16) 62% 70%, transparent 70%); background-size: 300% 100%; background-position: 100% 0; transition: background-position 1s ease-out; }
.motion .plan-button:hover .sheen { background-position: 0 0; }
.plan-feats { display: grid; gap: 12px; }
.plan-feats hr { margin: 0; height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgba(243, 239, 228, .3), transparent); }
.plan-feats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); font-size: 14px; font-weight: 500; }
.plan-feats .plan-check { margin-top: 3px; }
.plan-badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-primary); background: var(--primary); border-radius: 6px; padding: 4px 8px; }
.plans-foot { color: var(--fg-3); margin-top: 18px; font-size: 14px; max-width: 70ch; }
/* лента событий (MagicUI Animated List) */
.feed-wrap { max-width: 620px; }
.feed { display: flex; flex-direction: column-reverse; }
html:not(.motion) .feed { flex-direction: column; }
.feed-item { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--spring); }
.feed-item > .feed-card { min-height: 0; overflow: hidden; }
.motion .feed-item.is-pending { grid-template-rows: 0fr; }
.feed-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--card); transition: opacity .45s var(--spring), transform .45s var(--spring); transform-origin: top center; }
.motion .is-pending .feed-card { opacity: 0; transform: scale(.92); }
.feed-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--primary); border: 1px solid var(--primary-20); background: var(--primary-10); border-radius: 999px; padding: 5px 10px; white-space: nowrap; margin-top: 2px; }
.feed-body { display: grid; gap: 2px; }
.feed-body strong { font-weight: 600; }
.feed-body span { color: var(--fg-2); font-size: 14px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-3xl); background: rgba(8, 29, 37, .5); }
.fact-n { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--primary); min-width: 88px; display: grid; }
.fact-n small { color: var(--fg-3); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.fact-t { color: var(--fg-2); font-size: 14px; }
/* таблицы */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--card); }
.msg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.msg-table th, .msg-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.msg-table thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.msg-table tbody th { font-weight: 600; white-space: nowrap; }
.msg-table tbody tr:last-child th, .msg-table tbody tr:last-child td { border-bottom: 0; }
/* дерево проверок */
.tree { display: grid; gap: 10px; max-width: 820px; }
.branch { border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--card); }
.branch summary { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; min-height: 44px; }
.branch summary::-webkit-details-marker { display: none; }
.branch summary > span:last-child { display: grid; }
.branch summary small { color: var(--fg-3); }
.branch-no { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-10); color: var(--primary); font-weight: 600; }
.branch[open] .branch-no { background: var(--primary); color: var(--on-primary); }
.branch-checks { margin: 0; padding: 0 20px 18px 66px; color: var(--fg-2); display: grid; gap: 6px; font-size: 15px; }
/* FAQ (pro faq-4: одна колонка, разделители, шеврон) */
.faq-list { max-width: 680px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); interpolate-size: allow-keywords; }
.faq summary { padding: 16px 40px 16px 0; cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--fg-3); border-bottom: 1.5px solid var(--fg-3); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.faq[open]::details-content { block-size: auto; }
.faq p { padding: 0 0 16px; color: var(--fg-2); font-size: 15px; }
/* финальный CTA (pro call-to-action-2) */
.final { padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 80px); }
.cta-box { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-4xl); padding: 40px 0; min-height: 440px; display: grid; place-items: center; background: var(--card); }
.cta-rows { position: absolute; inset: 0; display: grid; gap: 16px; align-content: center; }
/* шов marquee: ряд = две одинаковые дорожки без зазора между ними (зазор живёт внутри дорожки как padding-right), тогда сдвиг на −50 % равен ровно одной дорожке и цикл замыкается без рывка (Igor 21.09) */
.cta-row { display: flex; gap: 0; width: max-content; }
.motion .cta-row { animation: ok-marquee var(--dur) linear infinite; will-change: transform; backface-visibility: hidden; }
.motion .cta-row.is-reverse { animation-direction: reverse; }
.cta-track { display: flex; gap: 16px; padding-right: 16px; }
@keyframes ok-marquee { to { transform: translateX(-50%); } }
.cta-tile { position: relative; width: 80px; height: 80px; padding: 16px; border-radius: var(--r-2xl); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 -20px 80px -20px rgba(255, 255, 255, .12) inset; overflow: hidden; display: grid; place-items: center; }
.cta-tile .glyph { width: 100%; height: 100%; color: var(--fg-2); position: relative; z-index: 1; }
.cta-tile i { position: absolute; top: 50%; left: 50%; width: 140%; height: 140%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, hsl(var(--h) 70% 55% / .42) 0, hsl(var(--h) 70% 55% / .14) 34%, transparent 64%); }
.cta-center { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 10px; max-width: 560px; padding: 0 20px; }
.cta-center::before { content: ""; position: absolute; inset: -20px -40px; border-radius: 50%; background: var(--bg); opacity: .55; filter: blur(24px); z-index: -1; }
.cta-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: var(--r-4xl); border: 1px solid var(--border-2); background: rgba(4, 20, 26, .5); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5); margin-bottom: 8px; }
.cta-icon .glyph { width: 48px; height: 48px; color: var(--fg); }
.cta-center h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-center p { color: var(--fg-2); text-wrap: balance; }
.cta-center .button { margin-top: 8px; }
.cta-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--bg) 70%); opacity: .85; pointer-events: none; z-index: 1; }
.final-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; align-items: center; font-size: 14px; color: var(--fg-3); margin-top: 6px; }
.final-stores a { display: inline-flex; align-items: center; min-height: 44px; }
/* футер (pro footer-3) */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.footer-brand p { grid-column: 1 / -1; color: var(--fg-2); }
.footer-group h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; font-weight: 600; }
.footer-group a { display: flex; align-items: center; min-height: 44px; color: var(--fg-2); text-decoration: none; }
.footer-group a:hover { color: var(--primary); }
.footer-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--fg-3); font-size: 13px; display: grid; gap: 6px; }

/* ---- адаптив */
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } .tiles-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .geo, .tiles, .tiles-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) { .header-nav { display: none; } .header-row { grid-template-columns: 1fr auto; } .motion .site-header.is-scrolled .header-edge { transform: none; opacity: 1; pointer-events: auto; } }
@media (max-width: 720px) {
  .tiles, .tiles-2, .geo { grid-template-columns: 1fr; }
  .tiles-5 { grid-template-columns: 1fr 1fr; }
  .msg-table thead { display: none; }
  .msg-table, .msg-table tbody, .msg-table tr, .msg-table th, .msg-table td { display: block; }
  .msg-table tbody tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .msg-table tbody th { white-space: normal; border: 0; padding-bottom: 4px; }
  .msg-table td { border: 0; padding: 4px 16px 8px; }
  .msg-table td::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
  .cta-box { min-height: 400px; }
}
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .header-row { gap: 10px; } .header-tools { gap: 10px; } }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .button { width: 100%; }
  .tiles-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .header-cta { padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 360px) { .header-cabinet { display: none; } }
/* ---- меню аккаунта в шапке (account.js, порт incy.icu): на месте «Кабинет», только когда оплата подтверждена */
.header-account { position: relative; }
.header-account-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 6px; border-radius: 12px; color: var(--fg-2); font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer; list-style: none; transition: color .2s var(--ease), background-color .2s var(--ease); }
.header-account-toggle::-webkit-details-marker { display: none; }
.header-account-toggle:hover, .header-account[open] > .header-account-toggle { color: var(--primary); background: var(--primary-10); }
.account-mail { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.account-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 14px; }
.account-caret { width: 8px; height: 8px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .16s var(--ease); }
.header-account[open] .account-caret { transform: rotate(-135deg); margin-top: 3px; }
.account-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: min(320px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 16px 16px 12px; border: 1px solid var(--border-2); border-radius: var(--r-2xl); background: var(--card); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); white-space: normal; }
.account-menu-text { margin: 0; color: var(--fg-2); font-size: 15px; }
.account-menu-text b { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
.account-menu .account-login { justify-self: start; }
.account-menu-hint { margin: 0; color: var(--fg-3); font-size: 14px; }
.account-forget { justify-self: start; min-height: 36px; padding: 0 2px; border: 0; background: none; color: var(--fg-2); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.account-forget:hover { color: var(--fg); }
@media (max-width: 560px) { .account-mail { display: none; } .header-account-toggle { padding: 0 8px 0 4px; } .account-menu { position: fixed; left: 16px; right: 16px; top: 78px; width: auto; } }
.motion .header-account[open] .account-menu { animation: account-in .2s var(--ease) both; }
@keyframes account-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---- собственная касса /oplata (UX-015, порт v2raytune.app) */
.hero-inner-single { grid-template-columns: minmax(0, 720px); }
.block-pay { padding-top: 0; }
.pay { display: grid; gap: 22px; max-width: 720px; }
.pay-step { display: grid; gap: 10px; margin: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-3xl); background: var(--card); min-width: 0; }
.pay-label { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.pay-label i { font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--primary); }
.pay-hint { color: var(--fg-2); font-size: 14px; }
.pay input[type="email"] { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--bg); color: var(--fg); font: inherit; }
.pay input[type="email"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pay-method { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--primary); border-radius: 12px; background: var(--primary-10); cursor: pointer; }
.pay-method span { display: grid; }
.pay-method b { font-weight: 600; }
.pay-method small { color: var(--fg-2); }
button.button { font: inherit; font-weight: 600; font-size: 15px; line-height: inherit; letter-spacing: -.01em; margin: 0; cursor: pointer; appearance: none; -webkit-appearance: none; }
.fares { display: grid; gap: 8px; }
.fare { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "dot term sum" "dot per sum"; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.fare:hover { border-color: var(--border-2); background: var(--card-2); }
.fare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.fare-dot { grid-area: dot; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; transition: border-color .2s var(--ease); }
.fare-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); transform: scale(0); transition: transform .22s var(--spring); }
.fare-term { grid-area: term; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.fare-tag { font-size: 12px; font-weight: 600; color: var(--primary); padding: 3px 9px; border-radius: 999px; background: var(--primary-10); white-space: nowrap; }
.fare-per { grid-area: per; color: var(--fg-2); font-size: 14px; }
.fare-sum { grid-area: sum; font-size: 22px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.fare.is-picked, .fare:has(:checked) { border-color: var(--primary); background: linear-gradient(90deg, var(--primary-10), rgba(94, 234, 212, .03) 70%); }
.fare:has(:checked) .fare-dot { border-color: var(--primary); }
.fare:has(:checked) .fare-dot::after { transform: scale(1); }
.fare:has(:checked) .fare-sum { color: var(--primary); }
.fare:has(:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
.pay[data-state=busy] .fare { cursor: progress; }
.pay-dock { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 10px; padding: 14px 0 16px; border-top: 1px solid var(--border); background: rgba(4, 20, 26, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pay-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.pay-picked { color: var(--fg-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.pay-submit .button { min-width: 220px; }
.pay-submit .button[disabled] { background: var(--muted); color: var(--fg-3); box-shadow: none; cursor: not-allowed; transform: none; }
.pay-status { margin: 0; color: var(--fg-2); max-width: 66ch; }
.pay-status:empty { display: none; }
.pay-status[data-tone="err"] { color: #f4a7a7; }
.pay-status[data-tone="wait"] { color: var(--fg); }
.pay-status[data-tone="wait"]::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--primary); vertical-align: 1px; }
.motion .pay-status[data-tone="wait"]::before { animation: pay-pulse 1.1s ease-in-out infinite; }
@keyframes pay-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.pay-after { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pay-note { margin: 0; color: var(--fg-3); font-size: 14px; max-width: 62ch; }
/* окно оплаты поверх страницы (эталон incy-download-circuit-leaf): десктоп — фрейм со страницей СБП, телефон — кнопка в приложение банка */
.pay-modal { width: min(calc(100% - 32px), 720px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--border-2); border-radius: var(--r-3xl); background: var(--card); color: var(--fg); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: auto; }
.pay-modal::backdrop { background: rgba(2, 12, 16, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pay-modal[open] { display: grid; gap: 14px; padding: 22px 24px 24px; }
.pay-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pay-modal-title { margin: 6px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.pay-modal-title b { color: var(--primary); font-variant-numeric: tabular-nums; }
.pay-modal-close { flex: none; }
.pay-modal-hint { margin: 0; color: var(--fg-2); max-width: 60ch; }
.pay-frame { display: block; width: 100%; height: min(58dvh, 520px); border: 1px solid var(--border-2); border-radius: 14px; background: #f6f2ea; }
.pay-modal-open { justify-self: start; }
.pay-modal .pay-status { margin: 0; }
.pay-modal-foot { margin: 0; color: var(--fg-3); font-size: 14px; }
.pay-modal-foot a { color: var(--fg-2); display: inline-flex; align-items: center; min-height: 44px; }
.pay-modal:not([data-mode=app]) .pay-modal-hint-mobile, .pay-modal:not([data-mode=app]) .pay-modal-open { display: none; }
.pay-modal[data-mode=app] .pay-frame, .pay-modal[data-mode=app] .pay-modal-hint-desktop, .pay-modal[data-mode=app] .pay-modal-foot { display: none; }
.pay-modal[data-mode=app] .pay-modal-open { width: 100%; }
.motion .pay-modal[open] { animation: modal-in .22s var(--ease); }
.motion .pay-modal[open]::backdrop { animation: backdrop-in .22s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.pay[data-state=success] .pay-step, .pay[data-state=success] .pay-dock, .pay[data-state=success] .pay-note, .pay[data-state=success] noscript { display: none; }
.pay-done { display: grid; justify-items: center; text-align: center; padding: 48px 24px 40px; border: 1px solid var(--primary); border-radius: var(--r-3xl); background: var(--primary-10); }
.pay-done:focus { outline: none; }
.pay-done::before { content: ""; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304201d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 30px 30px no-repeat; box-shadow: 0 12px 30px var(--primary-20); }
.done-kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.pay-done strong { display: block; margin-top: 10px; font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.pay-done p { margin: 16px 0 0; color: var(--fg); max-width: 46ch; overflow-wrap: anywhere; }
.pay-done .done-next { margin-top: 8px; color: var(--fg-2); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.pay-noscript { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pay-noscript a { display: inline-flex; align-items: center; min-height: 44px; }
.pay-foot { margin-top: 22px; color: var(--fg-2); font-size: 14px; max-width: 720px; }
.pay-foot a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 4px; }
@media (max-width: 600px) { .fare { grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "dot term" "dot per" "dot sum"; row-gap: 4px; } .fare-sum { text-align: left; } .pay-after .button, .done-actions .button { width: 100%; } .pay-modal[open] { padding: 18px 16px 20px; } .pay-submit { flex-wrap: nowrap; } .pay-picked { font-size: 14px; line-height: 1.25; } .pay-submit .button { flex: 0 0 auto; min-width: 0; padding-inline: 20px; } }
@media (max-width: 480px) { .pay-picked { display: none; } .pay-submit .button { width: 100%; } }

/* ---- концепт D: главная по центру, полка устройств */
.hero-home { padding-top: clamp(20px, 3vw, 36px); padding-bottom: 0; overflow: hidden; }
.hero-home .hero-copy { justify-items: center; text-align: center; max-width: 860px; margin: 0 auto; gap: 12px; }
.hero-home h1 { font-size: clamp(34px, 4.2vw, 52px); }
.hero-home .hero-copy h1 .accent { display: inline; color: var(--fg); font-weight: 600; }
.hero-home .lead { max-width: 720px; }
.hero-home .hero-note { font-size: 15px; color: var(--fg-2); }
.hero-home .hero-actions { justify-content: center; margin-top: 4px; }
.shelf { position: relative; width: min(100%, 1240px); margin: clamp(18px, 3vw, 36px) auto 0; isolation: isolate; }
.shelf-light { position: absolute; left: 4%; right: 4%; top: 62%; height: 3px; border-radius: 2px; background: var(--primary); box-shadow: 0 0 18px 4px rgba(94, 234, 212, .6), 0 0 90px 26px rgba(94, 234, 212, .22); z-index: 0; }
.shelf-desk { position: absolute; left: -3%; right: -3%; bottom: -4%; height: 26%; background: radial-gradient(60% 100% at 50% 100%, rgba(11, 37, 48, .95), rgba(4, 20, 26, 0) 70%); z-index: 0; pointer-events: none; }
.shelf-pic { position: relative; z-index: 1; display: block; }
.shelf-img { width: 100%; height: auto; }
.shelf-note { text-align: center; color: var(--fg-3); font-size: 14px; margin: 14px auto 0; max-width: 640px; }
.hero-media .shelf-compact { width: min(100%, 560px); margin-inline: auto; filter: drop-shadow(0 24px 48px rgba(94, 234, 212, .18)); }
.hero-media::before { display: none; }
.plans-head-center { text-align: center; }
@media (max-width: 900px) { .header-nav { display: none; } .header-row { grid-template-columns: 1fr auto; } }
@media (max-width: 720px) { .shelf-light { top: 68%; } }
@media (max-width: 480px) { .hero-home .hero-actions { flex-direction: column; width: 100%; } .hero-home .hero-actions .button { width: 100%; } }

/* ---- сцена концепта D во всю ширину, края растворены маской */
.hero-home { padding-bottom: 0; }
.scene { position: relative; width: 100%; max-width: 1320px; margin: clamp(4px, 1vw, 12px) auto 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.scene picture { display: block; }
.scene-img { width: 100%; height: auto; display: block; }
.shelf-note { margin-top: 10px; }
@media (min-width: 1921px) { .scene { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%); } }

/* feed-quick: лента в хронологическом порядке, быстрый стаггер без резерва высоты */
.feed { flex-direction: column; }
html:not(.motion) .feed { flex-direction: column; }
.feed-item { display: block; transition: none; }
.motion .feed-item.is-pending { grid-template-rows: 1fr; }
.feed-item > .feed-card { overflow: visible; }
.feed-card { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.motion .is-pending .feed-card { opacity: 0; transform: translateY(14px); }
/* тарифы как в концепте D: срок, заметка, цена, кнопка */
.plan-card { grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 22px 20px 20px; border-radius: var(--r-2xl); background: var(--card); }
.plan-card.is-best { padding: 21px 19px 19px; }
.plan-head h3 { font-size: 16px; font-weight: 500; color: var(--fg-2); }
.plan-head p { color: var(--fg-3); }
.plan-sum { font-size: 40px; font-weight: 700; }
.plan-price { margin-top: 2px; }
.plan-unit { display: none; }
.plan-button { margin-top: 14px; border-radius: 999px; min-height: 46px; font-size: 15px; }
.plan-card .button-secondary { background: transparent; border: 1px solid var(--border-2); color: var(--fg); }
.plan-card .button-secondary:hover { border-color: var(--primary); }
.plan-badge { top: 16px; right: 16px; border-radius: 999px; padding: 5px 10px; }
.plans-foot { text-align: center; margin-inline: auto; }
/* главная: заголовки секций по центру, как в концепте */
.page-home .block-head:not(.block-head-center) { margin-inline: auto; text-align: center; justify-items: center; }
.page-home .block-feed .feed-wrap, .page-home .tree, .page-home .row-list { margin-inline: auto; }
.page-home .block-foot { text-align: center; }

/* mobile-polish (Igor 21.09): ровные плашки ленты, спокойный финальный блок на телефоне, магазины чипами */
.feed-card { grid-template-columns: 156px 1fr; align-items: start; }
.feed-tag { justify-self: stretch; text-align: center; white-space: normal; line-height: 1.25; }
.final-stores { gap: 8px; margin-top: 10px; }
.final-stores span { width: 100%; text-align: center; margin-bottom: 2px; }
.final-stores a { padding: 0 16px; border: 1px solid var(--border-2); border-radius: 999px; text-decoration: none; color: var(--fg-2); font-weight: 500; }
.final-stores a:hover { border-color: var(--primary); color: var(--fg); }
@media (max-width: 900px) { .site-header { background: rgba(4, 20, 26, .97); border-bottom: 1px solid var(--border); } }
@media (max-width: 600px) {
  .feed-card { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .feed-tag { justify-self: start; padding: 4px 10px; }
}
@media (max-width: 720px) {
  /* плитки остаются (Igor 21.09), но два ряда и мельче; центр на тёмной подложке */
  .cta-box { min-height: 0; padding: 28px 16px 26px; border-radius: var(--r-3xl); }
  .cta-rows { gap: 10px; align-content: start; padding-top: 10px; }
  .cta-row:nth-child(n+3) { display: none; }
  .cta-tile { width: 56px; height: 56px; padding: 12px; border-radius: 12px; }
  .cta-track { gap: 10px; padding-right: 10px; }
  .cta-track { gap: 10px; }
  .cta-fade { background: linear-gradient(to bottom, transparent, var(--bg) 46%); opacity: .92; }
  .cta-center { padding: 96px 0 0; }
  .cta-center::before { inset: 80px -20px -20px; border-radius: 24px; opacity: .8; filter: blur(18px); }
  .cta-icon { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 4px; }
  .cta-icon .glyph { width: 32px; height: 32px; }
  .cta-center .button { width: 100%; }
}

/* ---- серверы: глобус (порт MagicUI Globe, cobe в /assets/globe.js) и список стран как в приложении */
.geo-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 36px) clamp(18px, 3.4vw, 44px); border: 1px solid var(--border); border-radius: var(--r-4xl); background: var(--card); overflow: hidden; isolation: isolate; }
.geo-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(243, 239, 228, .13) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 32% 50%, #000 0, transparent 100%); mask-image: radial-gradient(ellipse 60% 70% at 32% 50%, #000 0, transparent 100%); }
.globe { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.globe-glow { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle at 50% 46%, rgba(94, 234, 212, .22) 0, rgba(94, 234, 212, .06) 42%, transparent 62%); pointer-events: none; }
.globe-canvas { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; contain: strict; }
.globe:not([data-ready]) .globe-canvas { background: radial-gradient(circle at 42% 38%, #12414a 0, #0b2a34 48%, #061c24 74%, transparent 75.5%); box-shadow: inset -30px -30px 60px rgba(0, 0, 0, .35); }
.globe:not([data-ready]) .globe-canvas::after { content: ""; }
.geo-side { display: grid; gap: 10px; min-width: 0; }
.geo-list-title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); padding-left: 14px; }
.geo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.geo-row, .geo-auto { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border: 1px solid transparent; border-radius: 12px; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.geo-auto { min-height: 60px; padding: 10px 14px; margin-bottom: 6px; background: var(--primary-10); border-color: var(--primary-20); }
.geo-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(243, 239, 228, .16); transition: box-shadow .35s var(--ease); }
.geo-ico svg { width: 30px; height: 30px; display: block; border-radius: 50%; }
.geo-ico-auto { background: var(--primary); }
.geo-ico-auto .glyph { width: 17px; height: 17px; color: var(--on-primary); }
.geo-code { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--fg-3); text-align: right; transition: color .35s var(--ease); }
.geo-name { display: grid; font-weight: 500; font-size: 15px; line-height: 1.3; }
.geo-name strong { font-weight: 600; }
.geo-name small { font-size: 12px; color: var(--fg-2); line-height: 1.3; }
.geo-row.is-active { background: var(--muted); border-color: var(--border-2); }
.geo-row.is-active .geo-code { color: var(--primary); }
.geo-row.is-active .geo-ico { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--primary); }
.geo-row:hover { background: var(--muted); }
.geo-pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); margin-right: 4px; }
.geo-pulse::before, .geo-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--primary); opacity: 0; }
.motion .geo-pulse::before { animation: geo-ripple 2.6s ease-out infinite; }
.motion .geo-pulse::after { animation: geo-ripple 2.6s ease-out 1.3s infinite; }
@keyframes geo-ripple { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.facts-row { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
@media (max-width: 900px) {
  .geo-panel { grid-template-columns: 1fr; gap: 18px; }
  .globe { width: min(100%, 320px); }
  .geo-panel::before { -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 22%, #000 0, transparent 100%); mask-image: radial-gradient(ellipse 70% 40% at 50% 22%, #000 0, transparent 100%); }
  .geo-list { grid-template-columns: 1fr 1fr; }
  .geo-auto { grid-column: 1 / -1; }
  .geo-row { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 8px 10px; }
  .facts-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .geo-name { font-size: 14px; } }
@media (max-width: 520px) { .geo-list { grid-template-columns: 1fr; } .geo-row { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 8px 14px; } }
