/* ==========================================================================
   MVNO Hub - design system v3 "stage"
   Palette-driven: every colour below comes from the tokens in :root and
   html[data-palette="..."]. Semantic colour coding stays constant:
   MNO = --mno, MVNO = --mvno, Regulator = --reg.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* ---------- Palettes (rgb triplets so we can write rgb(var(--x) / .2)) ---------- */
:root, html[data-palette="savanna"] {
	--bg: #07100d; --text: #f3f8f5; --muted: #a8bbb1; --dim: #7f948a;
	--c1: 52 211 153;  --c2: 251 191 36;  --c3: 251 113 133;
	--mno: 251 191 36; --mvno: 251 113 133; --reg: 52 211 153;
	--grad: linear-gradient(115deg, #34d399 0%, #a3e635 48%, #fbbf24 100%);
	--on-primary: #05150e;
	--tint: 120 200 160;
}
html[data-palette="aurora"] {
	--bg: #0a0713; --text: #f6f3fb; --muted: #b3a9c9; --dim: #8579a0;
	--c1: 168 85 247;  --c2: 236 72 153;  --c3: 34 211 238;
	--mno: 251 146 60; --mvno: 232 121 249; --reg: 34 211 238;
	--grad: linear-gradient(115deg, #22d3ee 0%, #a855f7 50%, #ec4899 100%);
	--on-primary: #ffffff;
	--tint: 190 150 255;
}
html[data-palette="lagoon"] {
	--bg: #04111a; --text: #f1f8fb; --muted: #9db9c6; --dim: #6f92a2;
	--c1: 45 212 191;  --c2: 56 189 248;  --c3: 251 146 60;
	--mno: 251 146 60; --mvno: 56 189 248; --reg: 45 212 191;
	--grad: linear-gradient(115deg, #2dd4bf 0%, #38bdf8 50%, #818cf8 100%);
	--on-primary: #031316;
	--tint: 130 210 230;
}
html[data-palette="signal"] {
	--bg: #060912; --text: #f4f7fb; --muted: #a6b3c8; --dim: #7f8ca3;
	--c1: 59 130 246;  --c2: 139 92 246;  --c3: 34 211 238;
	--mno: 249 115 22; --mvno: 167 139 250; --reg: 34 211 238;
	--grad: linear-gradient(115deg, #22d3ee 0%, #3b82f6 42%, #8b5cf6 78%, #c084fc 100%);
	--on-primary: #ffffff;
	--tint: 125 180 255;
}

/* One colour per portal: Asia red, Latam purple, MENA blue (Africa keeps the green savanna). */
html[data-palette="ember"] {
	--bg: #120808; --text: #fbf4f3; --muted: #c9aeaa; --dim: #9a807c;
	--c1: 239 68 68;  --c2: 251 146 60;  --c3: 251 191 36;
	--mno: 251 191 36; --mvno: 167 139 250; --reg: 248 113 113;
	--grad: linear-gradient(115deg, #fca5a5 0%, #f87171 42%, #fb923c 100%);
	--on-primary: #ffffff;
	--tint: 248 150 140;
}
html[data-palette="amethyst"] {
	--bg: #0b0714; --text: #f7f3fc; --muted: #b9acd0; --dim: #8b7ca7;
	--c1: 168 85 247;  --c2: 192 132 252;  --c3: 244 114 182;
	--mno: 251 191 36; --mvno: 45 212 191; --reg: 192 132 252;
	--grad: linear-gradient(115deg, #e9d5ff 0%, #c084fc 45%, #8b5cf6 100%);
	--on-primary: #ffffff;
	--tint: 196 160 255;
}
html[data-palette="ocean"] {
	--bg: #050b17; --text: #f1f6fd; --muted: #a2b5d0; --dim: #7389a8;
	--c1: 59 130 246;  --c2: 56 189 248;  --c3: 129 140 248;
	--mno: 251 191 36; --mvno: 244 114 182; --reg: 96 165 250;
	--grad: linear-gradient(115deg, #bae6fd 0%, #60a5fa 45%, #2563eb 100%);
	--on-primary: #ffffff;
	--tint: 140 185 250;
}
:root {
	--surface: rgba(255, 255, 255, 0.04);
	--surface-2: rgba(255, 255, 255, 0.075);
	--line: rgba(255, 255, 255, 0.09);
	--line-2: rgba(255, 255, 255, 0.18);

	--primary: rgb(var(--c1));
	--accent: rgb(var(--c2));
	--accent-2: rgb(var(--c3));
	--mno-c: rgb(var(--mno));
	--mvno-c: rgb(var(--mvno));
	--reg-c: rgb(var(--reg));
	--link: color-mix(in srgb, rgb(var(--c1)) 62%, white);
	--ok: #34d399;

	--radius: 22px;
	--wrap: 1200px;
	--gutter: clamp(18px, 4vw, 32px);
	--header-h: 88px;

	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Unbounded", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
	--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--hex: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgb(var(--c1) / .5); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgb(var(--tint) / .22); border-radius: 99px; border: 3px solid var(--bg); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 300; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(800px + var(--gutter) * 2); }
.center { text-align: center; }
.dim { color: var(--dim); }
.grad { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; }
.site-main { min-height: 60vh; position: relative; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(32px, 5vw, 60px) 0; }
.section--tint { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); border-block: 1px solid var(--line); }
.page-hero + .section { padding-top: clamp(28px, 4vw, 48px); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.section-head--split p:not(.eyebrow) { margin-top: 0; max-width: 46ch; justify-self: end; }
.section-head--split .btn { justify-self: end; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--inline { max-width: none; margin-bottom: 22px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; } .section-head--split p:not(.eyebrow), .section-head--split .btn { justify-self: start; } }

.eyebrow { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--reg-c); margin-bottom: 16px; }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border-radius: 99px; border: 1px solid rgb(var(--reg) / .32); background: rgb(var(--reg) / .09); backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse-dot 2.4s infinite; color: var(--reg-c); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.65; max-width: 62ch; }
.center .lead { margin-inline: auto; }
.h-xl { font-size: clamp(2rem, 5vw, 3.4rem); }
.count { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 2px 9px; border-radius: 99px; vertical-align: middle; margin-left: 6px; }
.footnote { font-size: .78rem; color: var(--dim); margin-top: 10px; }
.updated { text-align: center; color: var(--dim); font-size: .82rem; padding-bottom: 40px; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
kbd { white-space: nowrap; font-family: var(--mono); font-size: .7rem; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); }

/* ---------- Icons: duotone ---------- */
.ico { flex: none; }
.ico .d { fill: currentColor; fill-opacity: .22; stroke: none; }
.hex { clip-path: var(--hex); }

/* ---------- Buttons, chips, tags ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1; text-decoration: none !important; transition: transform .35s var(--spring), box-shadow .3s, border-color .2s, background .2s; will-change: transform; }
.btn > * { position: relative; z-index: 1; }
.btn--primary { background: var(--grad); background-size: 200% 100%; color: var(--on-primary); box-shadow: 0 12px 32px rgb(var(--c1) / .32), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover { box-shadow: 0 16px 44px rgb(var(--c1) / .5), inset 0 1px 0 rgba(255,255,255,.35); background-position: 100% 0; }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.32); }
.btn:active { transform: scale(.97) !important; }
.btn--sm { padding: 11px 18px; font-size: .85rem; border-radius: 12px; }
.btn--icon { padding: 14px; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .82rem; font-weight: 600; text-decoration: none !important; transition: transform .3s var(--spring), background .2s, border-color .2s; }
.chip:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateY(-2px); }
.chip .ico { color: var(--muted); }
.tag { display: inline-flex; align-items: center; font-family: var(--mono); font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.tag--mno { color: color-mix(in srgb, rgb(var(--mno)) 70%, white); background: rgb(var(--mno) / .14); border: 1px solid rgb(var(--mno) / .34); }
.tag--mvno { color: color-mix(in srgb, rgb(var(--mvno)) 70%, white); background: rgb(var(--mvno) / .14); border: 1px solid rgb(var(--mvno) / .34); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* flags are round */
.flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255,255,255,.22), 0 3px 8px rgba(0,0,0,.4); flex: none; background: #1b2a24; }
.flag--lg { width: 38px; height: 38px; }
.flag--xl { width: 88px; height: 88px; box-shadow: 0 0 0 3px rgba(255,255,255,.2), 0 20px 50px rgba(0,0,0,.55); }
.inline-flag { display: inline-flex; align-items: center; gap: 8px; color: inherit; }

.card-glass { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.022)); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }

/* ---------- Spotlight (cursor-lit cards) ---------- */
.op-card, .bt, .news-feature, .news-row, .news-card, .country-card, .region-row, .region-tile, .reg-row, .hud-tile, .hud-list, .panel, .resource, .facts, .form-card, .constellation-card, .rank-card, .data-strip, .band { --mx: 50%; --my: 50%; }
.op-card::after, .bt::after, .news-feature::after, .news-row::after, .news-card::after, .country-card::after, .region-row::after, .region-tile::after, .reg-row::after, .hud-tile::after, .hud-list::after, .panel::after, .resource::after, .facts::after, .form-card::after, .constellation-card::after, .rank-card::after, .data-strip::after, .band::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgb(var(--tint) / .13), transparent 55%);
}
.op-card:hover::after, .bt:hover::after, .news-feature:hover::after, .news-row:hover::after, .news-card:hover::after, .country-card:hover::after, .region-row:hover::after, .region-tile:hover::after, .reg-row:hover::after, .hud-tile:hover::after, .hud-list:hover::after, .panel:hover::after, .resource:hover::after, .facts:hover::after, .form-card:hover::after, .constellation-card:hover::after, .rank-card:hover::after, .data-strip:hover::after, .band:hover::after { opacity: 1; }

/* ---------- Ambient background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-fx::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 10%, transparent 75%); }
.bg-fx .orb { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.bg-fx .orb--1 { left: -22vmax; top: -30vmax; background: radial-gradient(circle, rgb(var(--c1) / .26), transparent 62%); animation: drift-1 38s ease-in-out infinite alternate; }
.bg-fx .orb--2 { right: -26vmax; top: 10vmax; background: radial-gradient(circle, rgb(var(--c2) / .2), transparent 62%); animation: drift-2 46s ease-in-out infinite alternate; }
.bg-fx .orb--3 { left: 20vmax; bottom: -42vmax; background: radial-gradient(circle, rgb(var(--c3) / .16), transparent 62%); animation: drift-3 52s ease-in-out infinite alternate; }
.cursor-glow { position: fixed; left: 0; top: 0; z-index: -1; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgb(var(--tint) / .12), transparent 62%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); opacity: 0; transition: opacity .6s; }
.cursor-glow.is-on { opacity: 1; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgb(var(--c1) / .7); }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header (floating pill) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 14px; pointer-events: none; view-transition-name: site-header; }
.header-pill { pointer-events: auto; display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 10px 0 22px; border-radius: 99px; border: 1px solid var(--line); background: rgba(8, 12, 16, .55); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 10px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06); transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled .header-pill { background: rgba(8, 12, 16, .86); border-color: var(--line-2); box-shadow: 0 14px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--text); text-decoration: none !important; }
.brand-img { height: 38px; width: auto; transition: transform .45s var(--spring), filter .3s; }
.brand:hover .brand-img { transform: scale(1.05); filter: drop-shadow(0 0 14px rgb(var(--tint) / .5)); }
.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto 0; }
.nav a { position: relative; z-index: 1; color: var(--muted); font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 99px; text-decoration: none !important; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav-ind { position: absolute; z-index: 0; top: 50%; left: 0; height: 38px; margin-top: -19px; width: var(--iw, 0); transform: translateX(var(--ix, 0)); border-radius: 99px; background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.06)); border: 1px solid var(--line-2); opacity: 0; transition: transform .45s var(--spring), width .45s var(--spring), opacity .25s; }
.nav-ind.is-on { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.search-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--muted); background: var(--surface); text-decoration: none !important; font-size: .85rem; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
.search-btn:hover { color: var(--text); border-color: rgba(255,255,255,.34); background: var(--surface-2); }
.header-cta { border-radius: 99px; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 99px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text); }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 960px) {
	.header-pill { gap: 10px; padding-right: 8px; padding-left: 16px; }
	.brand-img { height: 32px; }
	.search-btn kbd, .search-btn__label { display: none; }
	.search-btn { padding: 11px; }
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 10px); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 26px; background: rgba(8, 12, 16, .96); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); display: none; pointer-events: auto; }
	.nav.is-open { display: flex; animation: pop .25s var(--spring); }
	.nav a { padding: 15px 16px; font-size: 1.02rem; }
	.nav a[aria-current="page"] { background: var(--surface-2); }
	.nav-ind { display: none; }
	.header-actions { margin-left: auto; }
}

/* ---------- Command palette ---------- */
.cmdk { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.cmdk__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 5, .74); backdrop-filter: blur(8px); animation: fade .2s both; }
.cmdk__panel { position: relative; width: 100%; max-width: 660px; background: color-mix(in srgb, var(--bg) 88%, white); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgb(var(--c1) / .2); overflow: hidden; animation: pop .28s var(--spring); }
.cmdk__input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk__input input { flex: 1; background: none; border: 0; outline: 0; font-size: 1.08rem; color: var(--text); min-width: 0; }
.cmdk__esc { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); border-radius: 8px; padding: 3px 8px; font-family: var(--mono); font-size: .72rem; }
.cmdk__list { max-height: min(52vh, 440px); overflow: auto; padding: 8px; }
.cmdk__group { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 14px 12px 6px; }
.cmdk__item a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--text); text-decoration: none !important; transition: background .15s, transform .25s var(--spring); }
.cmdk__item.is-active a, .cmdk__item a:hover { background: var(--surface-2); transform: translateX(3px); }
.cmdk__ico { width: 38px; height: 38px; clip-path: var(--hex); display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--muted); }
.cmdk__ico--m { color: var(--mno-c); background: rgb(var(--mno) / .16); } .cmdk__ico--v { color: var(--mvno-c); background: rgb(var(--mvno) / .16); } .cmdk__ico--r { color: var(--reg-c); background: rgb(var(--reg) / .14); } .cmdk__ico--c { color: var(--link); background: rgb(var(--c1) / .16); }
.cmdk__t { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cmdk__s { display: block; font-size: .78rem; color: var(--dim); }
.cmdk__empty { padding: 30px; text-align: center; color: var(--muted); }
.cmdk__hint { display: flex; gap: 18px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--dim); }
.cmdk__hint kbd { margin-right: 4px; }
@media (max-width: 600px) { .cmdk__hint { display: none; } }

/* ---------- Hero: centered headline over a map stage with HUD tiles ---------- */
.hero { position: relative; }
.hero-top { text-align: center; padding-top: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 4.4rem); margin: 22px auto 24px; max-width: 16ch; }
.hero .lead { margin-inline: auto; max-width: 56ch; }
.hero-search { margin-top: 34px; display: flex; align-items: center; gap: 14px; padding: 17px 20px; width: min(100%, 600px); border: 1px solid var(--line-2); border-radius: 99px; background: rgba(255,255,255,.05); backdrop-filter: blur(10px); color: var(--muted); text-decoration: none !important; box-shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06); transition: border-color .25s, background .25s, transform .4s var(--spring), box-shadow .3s; }
.hero-search:hover { border-color: rgb(var(--tint) / .6); background: rgba(255,255,255,.08); transform: translateY(-3px); box-shadow: 0 18px 50px rgb(var(--c1) / .22), inset 0 1px 0 rgba(255,255,255,.08); }
.hero-search > span { flex: 1; font-size: 1rem; text-align: left; }
.hero-search .ico { margin-left: 4px; color: var(--link); }

.stage { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr) minmax(0, 270px); gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(40px, 6vw, 72px); }
.stage-map { position: relative; aspect-ratio: 1 / var(--ar, .93); display: grid; place-items: center; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); transform-style: preserve-3d; max-width: 640px; width: 100%; margin-inline: auto; }
.radar { position: absolute; inset: 2% 4%; border-radius: 50%; background: conic-gradient(from 0deg, rgb(var(--reg) / 0) 0deg, rgb(var(--reg) / .28) 70deg, rgb(var(--reg) / 0) 72deg 360deg); -webkit-mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%); mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%); animation: spin 10s linear infinite; opacity: .7; }
.rings i { position: absolute; border-radius: 50%; border: 1px dashed rgb(var(--tint) / .22); }
.rings i:nth-child(1) { inset: 0; animation: spin 80s linear infinite; }
.rings i:nth-child(2) { inset: 10% 8%; border-color: rgb(var(--c2) / .22); animation: spin 120s linear infinite reverse; }
.rings i:nth-child(3) { inset: 20% 16%; border-style: solid; border-color: rgb(var(--reg) / .12); }
.stage-map--wide { max-width: 820px; }
.stage-map--wide .hero-map { width: 100%; }
.map-ctx { fill: rgba(190,210,200,.05); stroke: none; pointer-events: none; }
.stage-map--wide .hero-map, .hero-map:has(.map-ctx) { -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 58%, transparent 100%); }
.hero-map { position: relative; width: 90%; filter: drop-shadow(0 30px 60px rgb(var(--c1) / .28)); }
.map-foot { position: absolute; left: 0; right: 0; bottom: -4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.map-legend { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--dim); font-family: var(--mono); }
.map-legend i { width: 22px; height: 9px; border-radius: 3px; }
.map-legend .lvl-1 { background: rgb(var(--c1) / .3); } .map-legend .lvl-2 { background: rgb(var(--c1) / .5); } .map-legend .lvl-3 { background: rgb(var(--c1) / .74); } .map-legend .lvl-4 { background: rgb(var(--c1)); }
.map-link { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--text); background: rgba(8,12,16,.72); border: 1px solid var(--line-2); padding: 9px 14px; border-radius: 99px; text-decoration: none !important; backdrop-filter: blur(8px); transition: transform .3s var(--spring), background .2s; }
.map-link:hover { background: rgba(8,12,16,.95); transform: translateX(3px); }
.map-link .ico { transition: transform .3s var(--spring); } .map-link:hover .ico { transform: translateX(3px); }

/* HUD tiles around the stage */
.hud { display: grid; gap: 14px; align-content: center; }
.hud-tile { --c: var(--c1); position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.02)); backdrop-filter: blur(12px); color: var(--text); text-decoration: none !important; transition: transform .45s var(--spring), border-color .25s; overflow: hidden; }
.hud-tile::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 0 4px 4px 0; background: rgb(var(--c)); box-shadow: 0 0 16px rgb(var(--c)); }
.hud-tile:hover { transform: translateX(6px); border-color: rgb(var(--c) / .55); }
.hud--r .hud-tile:hover { transform: translateX(-6px); }
.hud-tile--mno { --c: var(--mno); } .hud-tile--mvno { --c: var(--mvno); } .hud-tile--reg { --c: var(--reg); } .hud-tile--ring { --c: var(--c1); }
.hud-ico { grid-row: 1 / 3; width: 54px; height: 54px; clip-path: var(--hex); display: grid; place-items: center; color: rgb(var(--c)); background: linear-gradient(160deg, rgb(var(--c) / .32), rgb(var(--c) / .08)); }
.hud-num { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hud-label { font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 5px; line-height: 1.25; }
.hud-label small { color: var(--dim); font-weight: 500; }
.hud-ring { position: relative; grid-row: 1 / 3; width: 76px; height: 76px; display: grid; place-items: center; }
.hud-ring .ring { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: rotate(-90deg); }
.hud-ring .hud-num { position: relative; font-size: 1.5rem; }
.ring-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 4; }
.ring-val { fill: none; stroke: rgb(var(--c)); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 140; transition: stroke-dasharray 1.6s var(--ease) .3s; filter: drop-shadow(0 0 5px rgb(var(--c))); }
.hud-tile.is-in .ring-val { stroke-dasharray: var(--l) 140; }
.hud-list { position: relative; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); backdrop-filter: blur(12px); }
.hud-title { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.hud-list ol { display: grid; gap: 10px; }
.hud-list a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 46px auto; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; font-size: .85rem; font-weight: 600; }
.hud-list a:hover .hl-name { color: var(--link); }
.hl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.hl-bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--grad); transform-origin: 0 50%; }
.js .hud-list[data-viz] .hl-bar i { transform: scaleX(0); transition: transform 1.3s var(--ease) .3s; }
.js .hud-list[data-viz].is-in .hl-bar i { transform: none; }
.hl-val { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

.map { width: 100%; height: auto; display: block; overflow: visible; }
.map-c { fill: rgba(190,210,200,.1); stroke: rgba(6,10,8,.95); stroke-width: 1.4; stroke-linejoin: round; transition: fill .25s, filter .25s; }
.map-tiny { fill: rgba(190,210,200,.1); stroke: none; pointer-events: none; }
.map-halo { fill: rgb(var(--c1) / .22); stroke: none; pointer-events: none; }
.map-pin { stroke: rgb(255 255 255 / .8); stroke-width: 1.6; }
.map-pin.lvl-0 { fill: rgb(255 255 255 / .18); stroke: rgb(255 255 255 / .4); }
.map-c.lvl-1 { fill: rgb(var(--c1) / .3); } .map-c.lvl-2 { fill: rgb(var(--c1) / .5); } .map-c.lvl-3 { fill: rgb(var(--c1) / .74); } .map-c.lvl-4 { fill: rgb(var(--c1)); filter: drop-shadow(0 0 8px rgb(var(--c1) / .6)); }
.map a { cursor: pointer; outline: none; }
.map a:hover .map-c, .map a:focus-visible .map-c { fill: color-mix(in srgb, rgb(var(--c1)) 55%, white); filter: drop-shadow(0 0 12px rgb(var(--c1) / .95)); }
.map a:focus-visible .map-c { stroke: #fff; stroke-width: 2; }
.map--focus .map-c { fill: rgba(190,210,200,.13); filter: none; }
.map--focus .map-c.is-current { fill: rgb(var(--c1)); filter: drop-shadow(0 0 18px rgb(var(--c1) / .95)); stroke: #fff; stroke-width: 1.6; animation: country-glow 2.6s ease-in-out infinite; }
.map-fx { pointer-events: none; }
.ping-dot { fill: #fff; }
.ping-ring { fill: none; stroke: color-mix(in srgb, rgb(var(--c1)) 55%, white); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) infinite; }
.ping-ring--2 { animation-delay: 1.4s; }
.map-tip { position: fixed; z-index: 450; pointer-events: none; min-width: 150px; max-width: 260px; background: color-mix(in srgb, var(--bg) 85%, white); border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 14px; box-shadow: 0 16px 44px rgba(0,0,0,.6); font-size: .82rem; }
.map-tip strong { display: block; font-size: .92rem; margin-bottom: 4px; }
.map-tip .row { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.map-tip .row b { color: var(--text); font-variant-numeric: tabular-nums; }

@media (max-width: 1060px) {
	.stage { grid-template-columns: minmax(0, 1fr); }
	.stage-map { order: -1; }
	.hud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hud--r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
	.hud-tile:hover, .hud--r .hud-tile:hover { transform: translateY(-4px); }
}
@media (max-width: 720px) {
	.hud { grid-template-columns: minmax(0, 1fr); }
	.hud--l { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hud--l .hud-tile { grid-template-columns: 1fr; text-align: left; padding: 14px; row-gap: 6px; }
	.hud--l .hud-ico { grid-row: auto; width: 40px; height: 40px; }
	.hud--r { grid-template-columns: minmax(0, 1fr); }
	.hud-num { font-size: 1.6rem; }
	.map-legend { display: none; } .map-foot { justify-content: center; }
}
@media (max-width: 600px), (hover: none) { .hero-search kbd { display: none; } }

/* ---------- Logo marquee ---------- */
.marquee-sec { position: relative; padding: 18px 0 8px; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.marquee-label { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.marquee { display: grid; gap: 12px; padding-bottom: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mq-row { display: flex; width: max-content; }
.mq-track { display: flex; gap: 12px; padding-right: 12px; animation: marquee 70s linear infinite; }
.mq-row--b .mq-track { animation-direction: reverse; animation-duration: 85s; }
.mq-row:hover .mq-track { animation-play-state: paused; }
.mq-item { display: block; flex: none; transition: transform .4s var(--spring); }
.mq-item:hover { transform: translateY(-4px) scale(1.06); }
.mq-logo { width: 104px; height: 58px; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }

/* ---------- Bento: ecosystem ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 18px; }
.bt { --c: var(--c1); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); overflow: hidden; color: var(--text); text-decoration: none !important; transition: transform .5s var(--spring), border-color .3s, box-shadow .4s; }
.bt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 20% 0%, rgb(var(--c) / .24), transparent 70%); pointer-events: none; }
a.bt:hover { transform: translateY(-6px); border-color: rgb(var(--c) / .55); box-shadow: 0 30px 70px rgb(var(--c) / .16); }
.bt--mno { --c: var(--mno); grid-row: span 2; } .bt--mvno { --c: var(--mvno); grid-column: span 2; flex-direction: row; align-items: center; gap: 26px; } .bt--reg { --c: var(--reg); flex-direction: row; align-items: center; gap: 18px; }
.bt--cta { --c: var(--c2); justify-content: center; align-items: flex-start; }
.bt h3 { font-size: 1.4rem; position: relative; }
.bt p { color: var(--muted); font-size: .96rem; position: relative; }
.bt-art { position: relative; flex: none; }
.bt--mno .bt-art { height: 190px; display: grid; place-items: center; }
.bt--mvno .bt-art { width: 200px; height: 130px; }
.bt--reg .bt-art { width: 120px; height: 80px; }
.bt-text { position: relative; display: grid; gap: 10px; min-width: 0; }
.bt-cta { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: rgb(var(--c)); margin-top: auto; padding-top: 6px; position: relative; }
.bt-cta .ico { transition: transform .35s var(--spring); } a.bt:hover .bt-cta .ico { transform: translateX(6px); }
.bt-spark { width: 56px; height: 56px; clip-path: var(--hex); display: grid; place-items: center; color: rgb(var(--c)); background: linear-gradient(160deg, rgb(var(--c) / .34), rgb(var(--c) / .08)); position: relative; }
.logo-peek { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; position: relative; }
.art { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 960px) { .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bt--mno { grid-row: auto; grid-column: span 2; } .bt--mvno { grid-column: span 2; } .bt--reg { grid-column: span 1; flex-direction: column; align-items: flex-start; } .bt--reg .bt-art { width: 100%; height: 90px; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .bt--mno, .bt--mvno, .bt--reg { grid-column: auto; } .bt--mvno { flex-direction: column; align-items: flex-start; } .bt--mvno .bt-art { width: 100%; } }

/* illustration colours follow the semantic palette */
.art--mno { --ac: var(--mno); } .art--mvno { --ac: var(--mvno); } .art--reg { --ac: var(--reg); }
.art .tower > path:not(.duo), .art .temple > path:not(.duo) { stroke: rgb(var(--ac)); }
.art .duo { fill: rgb(var(--ac) / .2); }
.art .beacon { fill: rgb(var(--ac)); }
.art .orbit-ring { stroke: rgb(var(--ac) / .35); }
.art .o1 { fill: rgb(var(--ac)); } .art .o2 { fill: rgb(var(--ac) / .7); }
.art .phone { fill: rgba(255,255,255,.05); stroke: rgb(var(--ac)); }
.art .screen { fill: rgb(var(--ac) / .8); }
.art .simline { stroke: rgb(var(--ac)); }
.art .scan { fill: rgb(var(--ac) / .55); }
.ripple { fill: none; stroke: rgb(var(--ac, var(--c1))); stroke-width: 1.8; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ripple 3.6s var(--ease) infinite; }
.ripple.r2 { animation-delay: 1.2s; } .ripple.r3 { animation-delay: 2.4s; }
.art--mno .beacon { animation: pulse-dot 2s infinite; }
.art--mvno .orbiter { transform-origin: 100px 60px; animation: spin 14s linear infinite; }
.art--mvno .sim { animation: sim-blink 3.2s ease-in-out infinite; }
.art--reg .scan { animation: scan 3.4s ease-in-out infinite; }

/* ---------- Structure: ranking + constellation + data strip ---------- */
.structure-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-bottom: 20px; align-items: stretch; }
.rank-card { padding: 26px; }
.rank-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 20px; }
.rank-card h3 .ico { color: var(--mvno-c); }
.rank { display: grid; gap: 10px; }
.rank a { position: relative; display: grid; grid-template-columns: 22px 62px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; color: var(--text); text-decoration: none !important; transition: background .2s, transform .35s var(--spring); }
.rank a:hover { background: var(--surface-2); transform: translateX(4px); }
.rank-n { font-family: var(--mono); font-size: .78rem; color: var(--dim); text-align: center; }
.rank-body { display: grid; gap: 7px; min-width: 0; }
.rank-name { font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-val { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-align: right; line-height: 1; }
.rank-val small { display: block; font-family: var(--mono); font-weight: 500; font-size: .62rem; color: var(--dim); margin-top: 3px; letter-spacing: .06em; }
.rank .logo--sm { width: 62px; height: 40px; }

.constellation-card { padding: clamp(10px, 2vw, 22px); overflow: hidden; }
.constellation-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 30% 40%, rgb(var(--mno) / .09), transparent 70%), radial-gradient(50% 70% at 80% 60%, rgb(var(--mvno) / .1), transparent 70%); pointer-events: none; }
.constellation { width: 100%; height: auto; display: block; overflow: visible; position: relative; }
.star { fill: #fff; opacity: .3; animation: twinkle var(--t, 3s) ease-in-out infinite; animation-delay: var(--d, 0s); }
.cn-stop { stop-color: rgb(var(--mno)); stop-opacity: .55; } .cn-stop--0 { stop-opacity: 0; }
.cn-ring { fill: none; stroke: rgba(255,255,255,.14); stroke-dasharray: 2 7; }
.cn-glow { pointer-events: none; }
.cn-orbit { animation: spin linear infinite; transform-box: view-box; }
.cn-nodeg { animation: spin linear infinite; transform-box: view-box; }
.cn-in { transition: transform .4s var(--spring); transform-box: view-box; }
.cn-disc { fill: #fff; stroke: rgb(var(--mvno) / .95); stroke-width: 2; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.cn-node { cursor: pointer; outline: none; }
.cn-node:hover .cn-in, .cn-node:focus-visible .cn-in { transform: scale(1.5); }
.cn-node:hover .cn-disc, .cn-node:focus-visible .cn-disc { stroke: #fff; }
.cn-ini { fill: #1e293b; font: 800 9px var(--font); }
.cn-ini--host { font-size: 14px; }
.cn-core { fill: #fff; stroke: rgb(var(--mno)); stroke-width: 3; filter: drop-shadow(0 0 14px rgb(var(--mno) / .6)); }
.cn-pulse { fill: none; stroke: rgb(var(--mno)); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 3.4s var(--ease) infinite; }
.cn-pulse--2 { animation-delay: 1.7s; }
.cn-host { cursor: pointer; outline: none; }
.cn-host:hover .cn-core, .cn-host:focus-visible .cn-core { stroke: #fff; }
.cn-label { fill: var(--text); font: 700 14px var(--font); paint-order: stroke; stroke: rgba(6,10,8,.9); stroke-width: 4px; pointer-events: none; }
.constellation:hover .cn-orbit, .constellation:hover .cn-nodeg { animation-play-state: paused; }
@media (max-width: 960px) { .structure-grid { grid-template-columns: minmax(0, 1fr); } }

.data-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin-bottom: 0; }
.ds-col { padding: clamp(20px, 3vw, 30px); }
.ds-col + .ds-col { border-left: 1px solid var(--line); }
.ds-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin-bottom: 22px; }
.ds-col h3 .ico { color: var(--link); }
@media (max-width: 1060px) { .data-strip { grid-template-columns: minmax(0, 1fr); } .ds-col + .ds-col { border-left: 0; border-top: 1px solid var(--line); } }

.panel { padding: clamp(20px, 3vw, 30px); }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 24px; }
.bars { display: grid; gap: 15px; }
.bars li { display: grid; grid-template-columns: minmax(0, 150px) 1fr auto; align-items: center; gap: 14px; }
.bar-label { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars a { color: var(--text); text-decoration: none !important; min-width: 0; }
.bars a:hover .bar-label { color: var(--link); }
.bar { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; display: flex; }
.bar > i { display: block; height: 100%; width: var(--w, 100%); border-radius: 99px; transform-origin: 0 50%; }
.bar--stack { width: var(--w, 100%); background: none; gap: 2px; transform-origin: 0 50%; }
.bar--stack > i { width: auto; border-radius: 3px; }
.bar--mno { background: linear-gradient(90deg, rgb(var(--mno) / .7), rgb(var(--mno))); } .bar--mvno { background: linear-gradient(90deg, rgb(var(--mvno) / .7), rgb(var(--mvno))); } .bar--reg { background: linear-gradient(90deg, rgb(var(--reg) / .7), rgb(var(--reg))); }
.bar-val { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--muted); min-width: 2.2em; text-align: right; }
.panel-note { margin-top: 22px; font-size: .78rem; color: var(--dim); }
.legend { display: flex; gap: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.share-panel { margin-bottom: 20px; }

/* charts draw themselves when scrolled into view (JS adds .is-in to [data-viz]) */
.js [data-viz] .bar > i { transform: scaleX(0); transition: transform 1.3s var(--ease) .15s; }
.js [data-viz] .bar--stack { transform: scaleX(0); transition: transform 1.3s var(--ease) .15s; }
.js [data-viz] .bar--stack > i { transform: none; }
.js [data-viz].is-in .bar > i, .js [data-viz].is-in .bar--stack, .js [data-viz].is-in .rb-bar i { transform: none; }

.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.donut { width: 170px; height: 170px; transform: rotate(-90deg); overflow: visible; }
.donut-track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 20; }
.dseg { fill: none; stroke-width: 20; stroke-linecap: butt; stroke-dasharray: 0 440; stroke-dashoffset: var(--o); transition: stroke-dasharray 1.4s var(--ease) .2s; }
.is-in .dseg { stroke-dasharray: var(--l) 440; }
.dseg--mno { stroke: rgb(var(--mno)); filter: drop-shadow(0 0 6px rgb(var(--mno) / .5)); } .dseg--mvno { stroke: rgb(var(--mvno)); filter: drop-shadow(0 0 6px rgb(var(--mvno) / .5)); } .dseg--reg { stroke: rgb(var(--reg)); filter: drop-shadow(0 0 6px rgb(var(--reg) / .5)); }
.donut-num { transform: rotate(90deg); transform-origin: 100px 100px; fill: var(--text); font: 700 34px var(--display); letter-spacing: -.04em; }
.donut-cap { transform: rotate(90deg); transform-origin: 100px 100px; fill: var(--dim); font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.donut-legend { display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.donut-legend li { display: flex; align-items: center; gap: 10px; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; }
.donut-legend b { color: var(--text); margin-left: auto; font-family: var(--mono); padding-left: 14px; }

.region-bars { display: grid; gap: 16px; }
.region-bars li { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 12px; }
.rb-name { font-size: .85rem; font-weight: 600; }
.rb-bar { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rb-bar i { display: block; height: 100%; width: var(--w, 0); border-radius: 99px; background: var(--grad); transform-origin: 0 50%; }
.js [data-viz] .rb-bar i { transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.rb-val { font-family: var(--mono); font-size: .8rem; font-weight: 700; } .rb-val small { color: var(--dim); font-weight: 500; }
@media (max-width: 960px) { .bars li { grid-template-columns: minmax(0, 120px) 1fr auto; gap: 10px; } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar-ico { width: 54px; height: 54px; clip-path: var(--hex); display: grid; place-items: center; color: var(--link); background: linear-gradient(160deg, rgb(var(--c1) / .32), rgb(var(--c1) / .08)); flex: none; transition: transform .5s var(--spring); }
.pillar:hover .pillar-ico { transform: rotate(-12deg) scale(1.12); }
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .93rem; }
@media (max-width: 800px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- News: editorial layout ---------- */
.news-editorial { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.news-feature { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 100%; height: 100%; padding: clamp(24px, 3vw, 38px); border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(160deg, rgb(var(--reg) / .14), rgba(255,255,255,.02) 60%); color: var(--text); text-decoration: none !important; overflow: hidden; transition: transform .5s var(--spring), border-color .3s; }
.news-feature::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px dashed rgb(var(--reg) / .35); box-shadow: 0 0 0 40px rgb(var(--reg) / .04); pointer-events: none; }
.news-feature:hover { transform: translateY(-5px); border-color: rgb(var(--reg) / .55); }
.nf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .76rem; color: var(--muted); position: relative; }
.nf-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; position: relative; text-wrap: balance; }
.nf-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; font-size: .86rem; }
.nf-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--reg-c); }
.nf-go .ico { transition: transform .35s var(--spring); } .news-feature:hover .nf-go .ico { transform: translate(4px, -4px); }
.news-list { display: grid; gap: 12px; align-content: start; }
.news-row { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)); color: var(--text); text-decoration: none !important; transition: transform .45s var(--spring), border-color .25s; overflow-wrap: anywhere; }
.news-row:hover { transform: translateX(6px); border-color: rgb(var(--reg) / .5); }
.nr-date { display: grid; place-items: center; width: 54px; height: 58px; border-radius: 16px; background: rgb(var(--reg) / .1); color: var(--reg-c); font-family: var(--mono); line-height: 1.1; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.nr-date b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.nr-body { display: grid; gap: 6px; min-width: 0; }
.nr-title { font-weight: 700; font-size: .95rem; line-height: 1.35; }
.nr-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .76rem; color: var(--dim); }
.nr-meta .flag { width: 16px; height: 16px; }
.nr-reg { color: var(--reg-c); font-weight: 600; }
.nr-go { color: var(--dim); transition: color .2s, transform .35s var(--spring); } .news-row:hover .nr-go { color: var(--reg-c); transform: translate(3px, -3px); }
@media (max-width: 960px) { .news-editorial { grid-template-columns: minmax(0, 1fr); } }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-grid--tight { grid-template-columns: minmax(0, 1fr); }
.news-item { display: contents; }
.news-card { position: relative; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 14px; padding: 24px; min-height: 100%; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); color: var(--text); text-decoration: none !important; transition: transform .45s var(--spring), border-color .25s; }
.news-card:hover { transform: translateY(-6px); border-color: rgb(var(--reg) / .45); }
.news-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: .72rem; color: var(--dim); }
.news-country { display: inline-flex; align-items: center; gap: 6px; }
.news-country .flag { width: 18px; height: 18px; }
.news-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.news-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--muted); }
.news-reg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--reg-c); font-weight: 600; }
.news-src { display: inline-flex; align-items: center; gap: 5px; color: var(--dim); flex: none; }
.news-src .ico { transition: transform .3s var(--spring); } .news-card:hover .news-src .ico { transform: translate(2px, -2px); }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Subscribe band + regions list ---------- */
.band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 34px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgb(var(--c1) / .16), rgb(var(--c2) / .1) 60%, rgba(255,255,255,.02)); overflow: hidden; }
.band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px dashed rgb(var(--tint) / .3); box-shadow: 0 0 0 50px rgb(var(--tint) / .04), 0 0 0 110px rgb(var(--tint) / .025); pointer-events: none; animation: spin 80s linear infinite; }
.band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.band-form, .band-text { position: relative; }
.band .subscribe-row { max-width: none; margin: 0; }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); } }

.region-list { display: grid; border-top: 1px solid var(--line); }
.region-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 52px; align-items: center; gap: 20px; padding: 26px 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: padding .45s var(--spring), background .3s; overflow: hidden; }
.region-row:hover { padding-inline: 26px; background: linear-gradient(90deg, rgb(var(--c1) / .12), transparent 70%); }
.rr-idx { font-family: var(--mono); color: var(--dim); font-size: .85rem; }
.rr-name { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; }
.rr-blurb { color: var(--muted); font-size: .95rem; }
.rr-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: transform .45s var(--spring), background .25s, color .25s; }
.region-row:hover .rr-go { background: var(--primary); color: var(--on-primary); border-color: transparent; transform: rotate(45deg) scale(1.08); }
@media (max-width: 720px) { .region-row { grid-template-columns: 36px minmax(0, 1fr) 46px; } .rr-blurb { display: none; } }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact-grid h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.ticks { margin: 24px 0 20px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.ticks .ico { color: var(--ok); background: rgba(52,211,153,.13); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.form-card { padding: clamp(22px, 3vw, 34px); overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), rgb(var(--c1) / .7), rgb(var(--c2) / .7), rgb(var(--c3) / .1), rgb(var(--c1) / .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: border-spin 8s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.lead-form { display: grid; gap: 16px; text-align: left; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.field em { font-style: normal; font-weight: 500; color: var(--dim); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lead-form input, .lead-form textarea, .filter-bar input, .filter-bar select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.045); color: var(--text); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.lead-form textarea { resize: vertical; min-height: 116px; }
.lead-form input::placeholder, .lead-form textarea::placeholder, .filter-bar input::placeholder { color: var(--dim); }
.lead-form input:focus, .lead-form textarea:focus, .filter-bar input:focus, .filter-bar select:focus { border-color: var(--link); background: rgba(255,255,255,.075); box-shadow: 0 0 0 4px rgb(var(--c1) / .2); }
.subscribe-row { display: flex; gap: 10px; max-width: 540px; margin-inline: auto; }
.subscribe-row input { flex: 1; }
.form-note { font-size: .76rem; color: var(--dim); }
.center .form-note { text-align: center; }
.form-status { min-height: 1.3em; font-size: .9rem; font-weight: 600; }
.form-status[data-state="ok"] { color: var(--ok); } .form-status[data-state="error"] { color: #fb7185; }
.center .form-status { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form.is-loading button { opacity: .6; pointer-events: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .field-row { grid-template-columns: minmax(0, 1fr); } .subscribe-row { flex-direction: column; } }

/* ---------- Inner page hero ---------- */
.page-hero { --c: var(--c1); position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 130% at 92% -20%, rgb(var(--c) / .3), transparent 62%), radial-gradient(40% 90% at 0% 0%, rgb(var(--c2) / .1), transparent 60%); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; z-index: -1; border-radius: 50%; border: 1px dashed rgb(var(--c) / .4); box-shadow: 0 0 0 60px rgb(var(--c) / .05), 0 0 0 130px rgb(var(--c) / .03); animation: spin 90s linear infinite; }
.page-hero--mno { --c: var(--mno); } .page-hero--mvno { --c: var(--mvno); } .page-hero--reg { --c: var(--reg); }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: 8px 0 18px; }
.page-hero--text h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-top: 10px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero-kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.mini-kpi { --k: var(--text); min-width: 116px; padding: 15px 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); backdrop-filter: blur(10px); display: grid; gap: 2px; transition: transform .4s var(--spring); }
.mini-kpi:hover { transform: translateY(-4px); }
.mini-kpi-num { font-family: var(--display); font-size: 1.65rem; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--k); font-variant-numeric: tabular-nums; }
.mini-kpi-label { font-size: .74rem; font-weight: 600; color: var(--muted); }
@media (max-width: 800px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .8rem; color: var(--dim); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin: 0 9px; opacity: .5; }
.crumbs a { color: var(--muted); } .crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Directory ---------- */
.dir-main { min-width: 0; }
.dir-main .country-group:first-of-type { margin-top: 28px; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; position: sticky; top: calc(var(--header-h) + 6px); z-index: 20; padding: 10px; border-radius: 22px; border: 1px solid var(--line); background: rgba(9, 14, 12, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 14px 50px rgba(0,0,0,.35); }
.filter-bar--stack { position: static; flex-direction: column; align-items: stretch; box-shadow: none; }
.filter-bar--stack .filter-search, .filter-bar--stack .filter-select { flex: 0 0 auto; }
.filter-search { position: relative; flex: 1 1 260px; display: block; }
.filter-search .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.filter-search input { padding-left: 44px; }
.filter-select { flex: 0 1 220px; display: block; }
.filter-select select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.filter-select select option { background: #0b1411; color: var(--text); }
.filter-count { margin: 20px 4px 6px; font-size: .82rem; color: var(--dim); font-family: var(--mono); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-btn { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .8rem; font-weight: 700; transition: transform .3s var(--spring), background .2s, color .2s; }
.seg-btn:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-1px); }
.seg-btn.is-active { background: rgb(var(--c1) / .22); border-color: rgb(var(--tint) / .55); color: #fff; }
.check { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--muted); cursor: pointer; padding: 2px 4px; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); }
@media (max-width: 700px) { .filter-bar { position: static; } .filter-select { flex: 1 1 100%; } }

.country-group { margin-top: 42px; scroll-margin-top: calc(var(--header-h) + 90px); }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-head h2 { font-family: var(--font); font-size: 1.3rem; letter-spacing: -.02em; }
.group-count { font-family: var(--mono); font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line); }
.group-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.group-link:hover { color: var(--link); text-decoration: none; }

.op-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.op-card { --c: var(--c1); position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); color: var(--text); text-decoration: none !important; transition: transform .45s var(--spring), border-color .25s, box-shadow .3s; min-width: 0; }
.op-card--mno { --c: var(--mno); } .op-card--mvno { --c: var(--mvno); }
.op-card:hover { transform: translateY(-5px); border-color: rgb(var(--c) / .6); box-shadow: 0 18px 44px rgb(var(--c) / .16); }
.op-card.is-pop { animation: card-in .55s var(--ease) both; animation-delay: calc(var(--k, 0) * 22ms); }
.op-logo { width: 70px; height: 52px; border-radius: 14px; transition: transform .5s var(--spring); }
.op-card:hover .op-logo { transform: scale(1.08) rotate(-2deg); }
.op-body { display: grid; gap: 4px; min-width: 0; flex: 1; }
.op-name { font-weight: 700; font-size: .97rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-meta { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; font-size: .78rem; color: var(--muted); min-width: 0; overflow: hidden; }
.op-meta > span:not(.tag) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-meta .flag { width: 18px; height: 18px; }
.op-go { color: var(--dim); transition: color .2s, transform .4s var(--spring); flex: none; }
.op-card:hover .op-go { color: rgb(var(--c)); transform: translate(3px, -3px); }
.host-card { max-width: 520px; }

.reg-list { display: grid; gap: 12px; }
.reg-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); transition: transform .4s var(--spring), border-color .25s; }
.reg-row:hover { border-color: rgb(var(--reg) / .5); transform: translateY(-3px); }
.reg-main { display: flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none !important; min-width: 0; flex: 1 1 320px; }
.reg-acr, .reg-badge { font-family: var(--mono); font-weight: 700; color: color-mix(in srgb, rgb(var(--reg)) 75%, white); background: linear-gradient(135deg, rgb(var(--reg) / .18), rgb(var(--reg) / .05)); border: 1px solid rgb(var(--reg) / .36); display: grid; place-items: center; flex: none; }
.reg-acr { min-width: 78px; height: 50px; padding: 0 10px; font-size: .85rem; border-radius: 15px; }
.reg-badge { min-width: 112px; height: 92px; padding: 0 14px; font-size: 1.5rem; border-radius: 24px; box-shadow: 0 0 50px rgb(var(--reg) / .2); }
.reg-text { display: grid; gap: 3px; min-width: 0; }
.reg-name { font-weight: 700; line-height: 1.3; }
.reg-country { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.reg-country .flag { width: 18px; height: 18px; }
.reg-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .reg-row { flex-direction: column; align-items: flex-start; } .reg-links { justify-content: flex-start; } }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { margin: 0 auto 14px; color: var(--dim); }
.empty h2 { font-family: var(--font); color: var(--text); font-size: 1.3rem; margin-bottom: 8px; }

/* ---------- Countries ---------- */
.countries-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 24px; align-items: start; margin-bottom: 30px; }
.map-card { padding: clamp(14px, 2vw, 26px); }
.map--wide { max-height: 540px; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.country-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); color: var(--text); text-decoration: none !important; transition: transform .45s var(--spring), border-color .25s; }
a.country-card:hover { transform: translateY(-4px) scale(1.01); border-color: rgb(var(--tint) / .55); }
.country-card.is-empty { opacity: .5; }
.country-card.is-pop { animation: card-in .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 14ms); }
.cc-body { display: grid; min-width: 0; flex: 1; }
.cc-name { font-weight: 700; line-height: 1.25; }
.cc-region { font-size: .74rem; color: var(--dim); }
.cc-counts { display: flex; gap: 5px; }
.cc { font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 9px; min-width: 28px; text-align: center; }
.cc--mno { color: color-mix(in srgb, rgb(var(--mno)) 70%, white); background: rgb(var(--mno) / .15); } .cc--mvno { color: color-mix(in srgb, rgb(var(--mvno)) 70%, white); background: rgb(var(--mvno) / .15); } .cc--reg { color: color-mix(in srgb, rgb(var(--reg)) 70%, white); background: rgb(var(--reg) / .13); }
.cc-soon { font-family: var(--mono); font-size: .68rem; color: var(--dim); }
.legend-note { margin-top: 26px; font-size: .8rem; color: var(--dim); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 960px) { .countries-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Country page: two columns ---------- */
.country-hero { overflow: hidden; }
.flag-aurora { position: absolute; z-index: -1; right: -10%; top: -30%; width: 60%; height: 190%; object-fit: cover; opacity: .34; filter: blur(70px) saturate(1.5); transform: scale(1.3); animation: drift-2 30s ease-in-out infinite alternate; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); max-width: none; border-radius: 50%; }
.country-title { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.country-title h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); }
.country-title .eyebrow { margin-bottom: 6px; }
.country-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.c-block + .c-block { margin-top: 48px; }
.c-block > h2 { font-family: var(--font); font-size: 1.3rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.c-block > h2 .ico { color: var(--link); }
.country-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.country-aside .map-card { padding: 18px; }
.facts dd.v-mno { color: var(--mno-c); } .facts dd.v-mvno { color: var(--mvno-c); } .facts dd.v-reg { color: var(--reg-c); }
@media (max-width: 960px) { .country-layout { grid-template-columns: minmax(0, 1fr); } .country-aside { position: static; order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } .country-aside .map-card { grid-row: span 2; } .flag--xl { width: 64px; height: 64px; } }
@media (max-width: 640px) { .country-aside { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Profiles ---------- */
.profile-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.profile-title { flex: 1 1 320px; min-width: 0; }
.profile-title h1 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); margin: 12px 0 10px; }
.profile-sub { color: var(--muted); font-weight: 600; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.profile-head .logo--xl { position: relative; overflow: visible; }
.profile-head .logo--xl::after { content: ""; position: absolute; inset: -12px; border-radius: 30px; border: 1px solid rgb(var(--c)); animation: ripple 3.4s var(--ease) infinite; pointer-events: none; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.profile-main > h2 { font-family: var(--font); font-size: 1.3rem; letter-spacing: -.02em; margin: 42px 0 18px; }
.profile-main > h2:first-child { margin-top: 0; }
.profile-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.facts { position: relative; padding: 22px; }
.facts h2 { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.facts dl { margin: 0; display: grid; }
.facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.facts p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); text-decoration: none !important; }
.side-link .ico { color: var(--reg-c); }
.side-link span { display: grid; } .side-link strong { font-size: .95rem; } .side-link small { color: var(--dim); font-size: .78rem; }
.side-link:hover strong { color: var(--link); }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 20px; border: 1px dashed var(--line-2); background: var(--surface); color: var(--muted); }
.notice .ico { color: var(--link); margin-top: 2px; } .notice strong { color: var(--text); }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.resource { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); color: var(--text); text-decoration: none !important; transition: transform .45s var(--spring), border-color .25s; }
.resource:hover { transform: translateY(-4px); border-color: rgb(var(--reg) / .5); }
.resource-ico { width: 48px; height: 48px; clip-path: var(--hex); display: grid; place-items: center; color: var(--reg-c); background: linear-gradient(160deg, rgb(var(--reg) / .3), rgb(var(--reg) / .08)); flex: none; }
.resource strong { display: block; } .resource small { display: block; color: var(--dim); font-size: .76rem; line-height: 1.35; margin-top: 2px; overflow-wrap: anywhere; }
.resource-go { margin-left: auto; color: var(--dim); }

/* logos */
.logo, .op-logo, .mq-logo { display: inline-flex; align-items: center; justify-content: center; padding: 6px; background: #fff; border-radius: 14px; overflow: hidden; flex: none; }
.logo-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo--sm { width: 62px; height: 44px; border-radius: 10px; }
.logo--xl { width: 136px; height: 94px; padding: 10px; border-radius: 22px; box-shadow: 0 16px 50px rgba(0,0,0,.45); }
.logo--fallback { background: linear-gradient(135deg, #1e2a25, #33423b); color: #e2e8f0; font-weight: 800; letter-spacing: -.02em; }
.logo--sm.logo--fallback, .mq-logo.logo--fallback { font-size: .9rem; } .logo--xl.logo--fallback { font-size: 2rem; }
@media (max-width: 960px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } .profile-side { position: static; } .logo--xl { width: 104px; height: 74px; } }

/* ---------- Prose ---------- */
.prose { color: #d9e3de; font-size: 1.02rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font); font-size: 1.5rem; margin-top: 2em; color: var(--text); letter-spacing: -.02em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.7em; color: var(--text); } .prose h4 { font-size: 1.05rem; margin-top: 1.5em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; } .prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; } .prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose img { border-radius: 12px; }
.prose--page { padding-bottom: 20px; }
.post-row { padding: 22px 0; border-bottom: 1px solid var(--line); } .post-row h2 { font-family: var(--font); font-size: 1.3rem; margin-bottom: 4px; } .post-row a { color: var(--text); }
.result-h { font-family: var(--font); font-size: 1.1rem; margin: 38px 0 16px; color: var(--muted); font-weight: 700; } .result-h:first-child { margin-top: 0; }
.search-form { display: flex; gap: 10px; margin: 18px 0 14px; max-width: 640px; } .search-form .filter-search input { padding-block: 15px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255,255,255,.025)); margin-top: 20px; }
.footer-big { display: flex; justify-content: center; gap: .3em; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 9vw, 8.6rem); line-height: .9; letter-spacing: -.05em; padding-top: 46px; user-select: none; white-space: nowrap; overflow: hidden; }
.footer-big span { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 82%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.footer-big span:last-child { background: linear-gradient(180deg, rgb(var(--c1) / .4), rgb(var(--c1) / 0) 82%); -webkit-background-clip: text; background-clip: text; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.2fr; gap: 32px; padding-block: 28px 36px; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin: 18px 0 18px; max-width: 34ch; }
.social { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--text); font-weight: 600; font-size: .85rem; text-decoration: none !important; transition: background .2s, transform .35s var(--spring); }
.social:hover { background: var(--surface-2); transform: translateY(-2px); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s, transform .3s var(--spring); } .footer-col a:hover { color: var(--text); transform: translateX(3px); text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px 34px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.footer-base a { color: var(--muted); text-decoration: underline; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: 100% 0; } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgb(var(--reg) / .55); } 70% { box-shadow: 0 0 0 9px rgb(var(--reg) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--reg) / 0); } }
@keyframes drift-1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.1); } }
@keyframes drift-2 { to { transform: translate3d(-12vmax, 14vmax, 0) scale(1.15); } }
@keyframes drift-3 { to { transform: translate3d(-16vmax, -8vmax, 0) scale(1.08); } }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ripple { 0% { transform: scale(.4); opacity: .85; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -48; } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .75; } }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(86px); opacity: .9; } 88% { opacity: 0; } }
@keyframes sim-blink { 0%, 100% { opacity: .9; } 50% { opacity: .45; } }
@keyframes country-glow { 0%, 100% { filter: drop-shadow(0 0 12px rgb(var(--c1) / .8)); } 50% { filter: drop-shadow(0 0 26px rgb(var(--c1) / 1)); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes border-spin { to { --a: 360deg; } }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes show { to { opacity: 1; transform: none; filter: none; } }

.js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise .95s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + .1s); }

.js [data-split]:not(.is-split) { opacity: 0; animation: show 0s 2.4s forwards; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wi { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%; transition: transform .95s var(--ease); transition-delay: calc(var(--i) * 55ms + .15s); }
.is-split.is-in .wi { transform: none; }
.is-split .grad { background: none; animation: none; }
.grad .wi { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; }

.js [data-reveal] { opacity: 0; transform: translateY(32px) scale(.98); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); animation: show 0s 3s forwards; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; animation: none; }
.js .hud-tile[data-reveal], .js .bt[data-reveal], .js .news-feature[data-reveal] { transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease), border-color .25s, box-shadow .4s; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js [data-rise], .js [data-split]:not(.is-split) { opacity: 1; transform: none; filter: none; }
	.wi { transform: none; }
	.mq-track { animation: none; }
	.marquee { overflow-x: auto; }
	.js [data-viz] .bar > i, .js [data-viz] .bar--stack, .js [data-viz] .rb-bar i, .js .hud-list[data-viz] .hl-bar i { transform: none; }
	.dseg { stroke-dasharray: var(--l) 440; }
	.ring-val { stroke-dasharray: var(--l) 140; }
}

/* ---------- One country control: flag chip strip ---------- */
.country-strip::-webkit-scrollbar { display: none; }
.country-strip { flex: 1 1 100%; display: flex; gap: 8px; overflow-x: auto; padding: 4px 10px 6px; margin: 0 -2px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 34px), transparent); }
.cs-chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 7px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .82rem; font-weight: 700; white-space: nowrap; transition: transform .35s var(--spring), background .2s, color .2s, border-color .2s; }
.cs-chip--all { padding-left: 15px; }
.cs-chip .flag { width: 24px; height: 24px; }
.cs-chip small { font-family: var(--mono); font-size: .7rem; font-weight: 600; color: var(--dim); }
.cs-chip:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }
.cs-chip.is-active { background: rgb(var(--c1) / .22); border-color: rgb(var(--tint) / .6); color: #fff; }
.cs-chip.is-active small { color: rgb(255 255 255 / .75); }
.cs-chip[hidden] { display: none; }

/* ---------- MNO cards: network + market-share bar ---------- */
.op-grid--mno { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.op-card--mno { flex-direction: column; align-items: stretch; gap: 8px; padding: 16px 18px 18px; }
.op-card--mno .op-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.op-card--mno .op-logo { width: 92px; height: 58px; }
.op-card--mno .op-name { font-weight: 700; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-card--mno .op-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.op-share { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.op-share b { font-family: var(--mono); font-size: .92rem; color: rgb(var(--mno)); min-width: 3.4ch; }
.op-share--none { font-family: var(--mono); font-size: .74rem; color: var(--dim); }
.op-bar { flex: 1; height: 6px; border-radius: 99px; background: rgb(255 255 255 / .08); overflow: hidden; }
.op-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--mno) / .55), rgb(var(--mno))); }

/* ---------- MVNO cards: logo tile naming the host network ---------- */
.op-grid--mvno { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.op-card--mvno { flex-direction: column; justify-content: flex-start; text-align: center; gap: 12px; padding: 34px 14px 18px; border-radius: 24px; }
.op-card--mvno .op-flag { position: absolute; top: 12px; left: 12px; line-height: 0; }
.op-card--mvno .op-flag .flag { width: 20px; height: 20px; }
.op-card--mvno .op-logo { width: 100%; max-width: 128px; height: 74px; }
.op-card--mvno .op-name { font-weight: 700; font-size: .95rem; line-height: 1.25; white-space: normal; }
.op-card--mvno .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag--none { color: var(--dim); }

/* ---------- Other regions: one row of logo tiles ---------- */
.region-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.region-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 160px; padding: 26px 26px 22px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); color: var(--text); text-decoration: none !important; overflow: hidden; transition: transform .45s var(--spring), border-color .25s, box-shadow .3s; }
.region-tile:hover { transform: translateY(-6px); border-color: rgb(var(--c1) / .6); box-shadow: 0 22px 54px rgb(var(--c1) / .18); }
.rt-logo { display: flex; align-items: center; min-height: 44px; }
.rt-logo img { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.rt-wordmark { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.04em; }
.rt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rt-blurb { color: var(--muted); font-size: .95rem; }
.rt-go { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: transform .45s var(--spring), background .25s, color .25s; }
.region-tile:hover .rt-go { background: var(--primary); color: var(--on-primary); border-color: transparent; transform: rotate(45deg) scale(1.08); }

/* ---------- News cards: extract, MVNO context, topic ---------- */
.news-excerpt { color: var(--muted); font-size: .88rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-context { display: grid; gap: 4px; padding: 11px 13px; border-radius: 14px; background: rgb(var(--mvno) / .1); border: 1px solid rgb(var(--mvno) / .3); font-size: .84rem; line-height: 1.5; color: var(--text); }
.news-context b { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, rgb(var(--mvno)) 70%, white); font-weight: 700; }
.news-topic { display: inline-flex; align-self: flex-start; padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: var(--reg-c); background: rgb(var(--reg) / .12); border: 1px solid rgb(var(--reg) / .3); }
.seg--topics { flex: 1 1 100%; padding: 2px 4px 0; }

/* ---------- Language menu ---------- */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); color: var(--muted); font-weight: 700; font-size: .82rem; line-height: 1; transition: color .2s, border-color .2s, background .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--text); border-color: rgba(255,255,255,.34); background: var(--surface-2); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 130; min-width: 176px; margin: 0; padding: 8px; list-style: none; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(9, 14, 12, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 22px 60px rgba(0,0,0,.5); }
.lang-menu[hidden] { display: none; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 13px; color: var(--muted); font-weight: 600; font-size: .92rem; text-decoration: none !important; transition: background .2s, color .2s; }
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a[aria-current="true"] { background: rgb(var(--c1) / .18); color: #fff; }
.lang-menu a[aria-current="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
@media (max-width: 720px) { .lang-btn span { display: none; } .lang-btn { padding: 11px; } }

/* ---------- Arabic and Chinese: system fonts with proper glyph coverage, no tracking, taller lines ---------- */
html[lang="ar"] { --font: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, ui-sans-serif, system-ui, sans-serif; --display: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, ui-sans-serif, system-ui, sans-serif; --mono: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, ui-sans-serif, system-ui, sans-serif; }
html[lang="zh-Hans"] { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif; --display: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif; --mono: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif; }
html[lang="ar"] *, html[lang="zh-Hans"] * { letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="zh-Hans"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { line-height: 1.3; font-weight: 800; }
html[lang="ar"] .hud-num, html[lang="ar"] .mini-kpi-num, html[lang="ar"] .rank-val { font-family: "Plus Jakarta Sans", var(--font); }
html[lang="ar"] .nav a, html[lang="zh-Hans"] .nav a { white-space: nowrap; }
html[lang="ar"] .hero-top h1 { font-size: clamp(1.9rem, 4.6vw, 3.5rem); }
html[lang="zh-Hans"] .hero-top h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }

/* Uniform logo tiles: every operator logo sits in the same 5:3 tile. Shipped logos (.logo--n) already carry their own margins. */
.logo, .op-logo, .mq-logo { aspect-ratio: 5 / 3; height: auto; }
.logo.logo--n, .op-logo.logo--n, .mq-logo.logo--n { padding: 0; }
.logo--n .logo-img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.mq-logo { width: 116px; height: auto; }
.logo--sm, .rank .logo--sm { width: 76px; height: auto; }
.op-logo { width: 86px; height: auto; }
.op-card--mno .op-logo { width: 116px; height: auto; }
.op-card--mvno .op-logo { width: 100%; max-width: 140px; height: auto; }
.logo--xl { width: 164px; height: auto; }
@media (max-width: 960px) { .logo--xl { width: 120px; height: auto; } }

/* Host network chips (MVNO directory): same chip language as the country strip, with the host logo */
.host-strip { margin-top: 4px; align-items: center; scroll-snap-type: none; }
.hs-label { flex: none; scroll-snap-align: start; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 6px 0 2px; }
.logo--xs { width: 40px; border-radius: 6px; padding: 0; }
.cs-chip .logo--xs { flex: none; }

/* Legal pages: company details and image credits */
.prose .lead { font-size: 1.12rem; color: var(--text); }
.prose .legal-id, .prose .legal-credits { list-style: none; padding: 0; margin-top: 1em; display: grid; gap: 8px; }
.legal-id li, .legal-credits li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .95rem; line-height: 1.55; }
.legal-id strong { color: var(--text); }