:root {
  --bg: #eef8fa;
  --ink: #123543;
  --muted: #5b7880;
  --menu-panel: rgba(239, 250, 251, 0.5);
  --menu-text: #123543;
  --menu-muted: #46717d;
  --panel: rgba(255, 255, 255, 0.36);
  --panel-strong: rgba(255, 255, 255, 0.52);
  --panel-dark: rgba(19, 53, 67, 0.58);
  --line: rgba(255, 255, 255, 0.58);
  --line-dark: rgba(18, 53, 67, 0.12);
  --accent: #5bbfd0;
  --accent-strong: #206d8d;
  --coral: #b99068;
  --leaf: #6fab4f;
  --sand: #d9b777;
  --map: rgba(47, 130, 160, 0.52);
  --map-hover: #7fe2ef;
  --shadow: 0 28px 90px rgba(32, 109, 141, 0.14);
  --blur: blur(34px);
  --liquid-fill: rgba(255, 255, 255, 0.34);
  --liquid-fill-strong: rgba(255, 255, 255, 0.48);
  --liquid-edge: rgba(255, 255, 255, 0.72);
  --liquid-shadow: rgba(39, 93, 117, 0.24);
  --liquid-caustic-a: rgba(91, 191, 208, 0.42);
  --liquid-caustic-b: rgba(217, 183, 119, 0.5);
}

:root[data-theme="dark"] {
  --bg: #061620;
  --ink: #eaf8fb;
  --muted: #a1c4ca;
  --menu-panel: rgba(8, 28, 40, 0.54);
  --menu-text: #eefbff;
  --menu-muted: #98cdda;
  --panel: rgba(34, 89, 104, 0.28);
  --panel-strong: rgba(72, 133, 148, 0.34);
  --panel-dark: rgba(9, 32, 45, 0.5);
  --line: rgba(154, 221, 232, 0.28);
  --line-dark: rgba(255, 255, 255, 0.11);
  --accent: #72d4e4;
  --accent-strong: #2d8fb1;
  --coral: #c7a071;
  --leaf: #8cc96a;
  --sand: #e4c782;
  --map: rgba(99, 196, 214, 0.58);
  --map-hover: #b6f5fb;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
  --liquid-fill: rgba(116, 180, 196, 0.22);
  --liquid-fill-strong: rgba(154, 221, 232, 0.28);
  --liquid-edge: rgba(220, 250, 255, 0.52);
  --liquid-shadow: rgba(0, 0, 0, 0.38);
  --liquid-caustic-a: rgba(114, 212, 228, 0.45);
  --liquid-caustic-b: rgba(228, 199, 130, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 9%, rgba(91, 191, 208, 0.2), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(111, 171, 79, 0.16), transparent 31%),
    radial-gradient(circle at 52% 78%, rgba(185, 144, 104, 0.12), transparent 36%),
    var(--bg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background 1200ms cubic-bezier(0.22, 1, 0.36, 1), color 900ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 17% 10%, rgba(255, 255, 255, 0.18), transparent 36%),
    radial-gradient(circle at 76% 88%, rgba(111, 205, 224, 0.1), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.045), transparent 64%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 24px 24px 90px rgba(255, 255, 255, 0.045),
    inset -24px -24px 90px rgba(7, 29, 39, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.52), transparent 34%),
    rgba(0, 0, 0, 0.72);
  transform: scale(1.04);
  will-change: opacity, transform;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

body.lights-off {
  background: #020608;
}

body.lights-off .aurora {
  opacity: 0;
}

body.lights-off main,
body.lights-off .site-header,
body.lights-off .site-footer {
  filter: brightness(0.36) saturate(0.35);
}

body.lights-off::after {
  opacity: 1;
}

body.theme-ignite::after {
  animation: lights-on 1850ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

body.theme-ignite .aurora {
  animation: aurora-power 1850ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

section {
  scroll-margin-top: 112px;
}

#top {
  scroll-margin-top: 112px;
}

.aurora {
  position: fixed;
  z-index: -2;
  width: 38vw;
  min-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 1200ms ease, transform 1200ms ease;
}

@keyframes lights-on {
  0% {
    opacity: 1;
    transform: scale(1.04);
  }
  34% {
    opacity: 0.72;
    transform: scale(1.015);
  }
  68% {
    opacity: 0.22;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes aurora-power {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  45% {
    opacity: 0.8;
    transform: scale(1.03);
  }
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
}

.aurora-a {
  top: 8%;
  left: -10%;
  background: #6ecde0;
}

.aurora-b {
  right: -12%;
  bottom: 4%;
  background: #7dbb5c;
}

.glass,
.glass-lite,
.glass-dark {
  position: relative;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    inset 18px 0 38px rgba(255, 255, 255, 0.28),
    inset -18px 0 42px rgba(18, 53, 67, 0.14),
    inset 0 -24px 44px rgba(91, 191, 208, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.42),
    0 24px 48px var(--liquid-shadow),
    14px 18px 34px rgba(32, 109, 141, 0.12);
  backdrop-filter: blur(28px) saturate(1.42) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(1.42) brightness(1.08);
}

.glass::before,
.glass-lite::before,
.glass-dark::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.18) 8%, transparent 24%),
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.95), transparent 10%),
    radial-gradient(circle at 96% 86%, var(--liquid-caustic-b), transparent 14%),
    radial-gradient(circle at 90% 96%, var(--liquid-caustic-a), transparent 16%),
    linear-gradient(90deg, rgba(18, 53, 67, 0.16), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.28));
  opacity: 0.92;
  mix-blend-mode: screen;
  z-index: 0;
}

.glass::after,
.glass-lite::after,
.glass-dark::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), transparent 12%, transparent 88%, rgba(32, 109, 141, 0.16));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 14px 22px rgba(255, 255, 255, 0.2),
    inset 0 -14px 24px rgba(32, 109, 141, 0.12);
  opacity: 0.76;
  z-index: 0;
}

.glass > *,
.glass-lite > *,
.glass-dark > * {
  position: relative;
  z-index: 1;
}

.glass {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16) 48%, rgba(91, 191, 208, 0.14)),
    color-mix(in srgb, var(--liquid-fill) 86%, transparent);
}

.glass-lite {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2) 52%, rgba(126, 226, 239, 0.16)),
    color-mix(in srgb, var(--liquid-fill-strong) 86%, transparent);
}

.glass-dark {
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(9, 32, 45, 0.34) 48%, rgba(114, 212, 228, 0.12)),
    color-mix(in srgb, var(--panel-dark) 74%, transparent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 28px));
  z-index: 90;
  margin: 0;
  padding: 0;
  border-radius: 0 0 30px 30px;
  transform: translateX(-50%);
  color: var(--menu-text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16) 48%, rgba(91, 191, 208, 0.16)),
    color-mix(in srgb, var(--menu-panel) 72%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 14px 0 26px rgba(255, 255, 255, 0.22),
    inset -14px 0 28px rgba(18, 53, 67, 0.12),
    0 16px 34px var(--liquid-shadow);
  transition:
    top 0.35s ease,
    border-radius 0.35s ease;
}

.site-header--scrolled {
  top: 16px;
  border-radius: 30px;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 28px));
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 16px;
}

.site-header__inner[data-brand-layout="grid"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 22px;
}

.site-header__inner[data-brand-layout="grid"] .brand--center {
  position: static;
  transform: none;
  justify-self: center;
}

.site-nav--start {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  gap: clamp(14px, 2.5vw, 28px);
  min-width: 0;
}

.header-actions--end {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.brand--center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: auto;
}

.header-auth-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 20px;
  background: rgba(243, 244, 250, 0.72);
  color: var(--menu-text);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 8px 18px rgba(42, 43, 72, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.58);
}

.lang-dropdown__trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 120;
  min-width: 88px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42)),
    color-mix(in srgb, var(--menu-panel) 80%, transparent);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 16px 34px rgba(32, 109, 141, 0.18);
}

.lang-dropdown__menu li {
  margin: 0;
}

.lang-dropdown__menu button {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--menu-text);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.lang-dropdown__menu button:hover,
.lang-dropdown__menu button.is-active {
  background: rgba(23, 25, 51, 0.92);
  color: #ffffff;
}

.theme-toggle--inst {
  position: relative;
  width: 54px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(243, 244, 250, 0.55);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 18px rgba(42, 43, 72, 0.1);
}

.theme-toggle__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  line-height: 1;
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.theme-toggle__icon--sun {
  left: 8px;
}

.theme-toggle__icon--moon {
  right: 8px;
}

.theme-toggle__knob {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff7cf 0%, #ffd86b 100%);
  box-shadow: 0 2px 8px rgba(15, 53, 96, 0.22);
  transform: translateY(-50%);
  transition: left 0.24s ease, background 0.24s ease;
}

.theme-toggle--inst.theme-toggle--dark .theme-toggle__knob {
  left: calc(100% - 27px);
  background: linear-gradient(180deg, #d8e6f5 0%, #8aaed0 100%);
}

.theme-toggle--inst.theme-toggle--dark .theme-toggle__icon--sun {
  opacity: 0.42;
}

.theme-toggle--inst.theme-toggle--dark .theme-toggle__icon--moon {
  opacity: 1;
}

.theme-toggle--inst:not(.theme-toggle--dark) .theme-toggle__icon--sun {
  opacity: 1;
}

.theme-toggle--inst:not(.theme-toggle--dark) .theme-toggle__icon--moon {
  opacity: 0.42;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(4, 91, 112, 0.22));
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--menu-muted);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a:hover,
.text-link:hover,
.contact-link:hover {
  color: var(--accent-strong);
}

.hero-actions {
  justify-content: center;
}

.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 12px 0 22px rgba(255, 255, 255, 0.26),
    inset -12px 0 22px rgba(18, 53, 67, 0.1),
    0 10px 22px rgba(32, 109, 141, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.14)),
    color-mix(in srgb, var(--liquid-fill-strong) 72%, transparent);
  backdrop-filter: blur(20px) saturate(1.32);
  -webkit-backdrop-filter: blur(20px) saturate(1.32);
}

.chip,
.theme-toggle,
.nav-toggle {
  color: var(--ink);
  cursor: pointer;
  border: 0;
  font: inherit;
}

.chip {
  min-width: 34px;
  height: 32px;
  border-radius: 14px;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  color: var(--menu-text);
}

.chip.is-active {
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 85%, rgba(217, 183, 119, 0.75), transparent 24%),
    linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 7px 14px rgba(32, 109, 141, 0.2);
}

.theme-toggle {
  position: relative;
  width: 76px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  overflow: visible;
}

.theme-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.9), transparent 12%),
    linear-gradient(135deg, #96ddea 0%, #dff8fb 48%, #9fcf85 100%);
  box-shadow:
    inset 14px 0 26px rgba(19, 87, 107, 0.18),
    inset -14px 0 26px rgba(255, 255, 255, 0.36),
    0 10px 24px rgba(32, 109, 141, 0.14);
  transition: background 900ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-icon,
.theme-stars,
.theme-thumb {
  position: absolute;
  pointer-events: none;
}

.theme-icon {
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-icon.sun {
  left: 12px;
  background: #f3c56d;
  box-shadow:
    0 0 0 5px rgba(243, 197, 109, 0.22),
    0 0 18px rgba(243, 197, 109, 0.58);
}

.theme-icon.moon {
  right: 12px;
  background: #eaf8fb;
  opacity: 0.35;
  box-shadow: inset -5px -1px 0 #8eb4c2;
}

.theme-stars {
  inset: 7px 10px auto auto;
  width: 24px;
  height: 18px;
  opacity: 0;
  background:
    radial-gradient(circle at 3px 4px, #ffffff 0 1.5px, transparent 2px),
    radial-gradient(circle at 14px 2px, #ffffff 0 1px, transparent 1.5px),
    radial-gradient(circle at 21px 12px, #ffffff 0 1.2px, transparent 1.8px);
  transition: opacity 700ms ease;
}

.theme-thumb {
  top: 5px;
  left: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(91, 191, 208, 0.46));
  box-shadow:
    inset 8px 0 16px rgba(255, 255, 255, 0.48),
    inset -8px 0 18px rgba(6, 22, 32, 0.12),
    0 8px 18px rgba(17, 74, 93, 0.28);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), background 900ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] .theme-track {
  background:
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.3), transparent 13%),
    linear-gradient(135deg, #061620 0%, #123543 52%, #206d8d 100%);
  box-shadow:
    inset 15px 0 30px rgba(0, 0, 0, 0.38),
    inset -15px 0 30px rgba(114, 212, 228, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .theme-icon.sun {
  opacity: 0.25;
  transform: translateY(-50%) scale(0.82);
}

:root[data-theme="dark"] .theme-icon.moon {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

:root[data-theme="dark"] .theme-stars {
  opacity: 1;
}

:root[data-theme="dark"] .theme-thumb {
  transform: translateX(34px);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.5), transparent 20%),
    linear-gradient(145deg, #eaf8fb, #8eb4c2 58%, #123543);
  box-shadow:
    inset 7px 0 14px rgba(255, 255, 255, 0.44),
    inset -9px 0 18px rgba(6, 22, 32, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.32);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 12px 0 20px rgba(255, 255, 255, 0.18),
    inset -12px 0 22px rgba(18, 53, 67, 0.16),
    0 12px 24px rgba(4, 24, 31, 0.14),
    0 0 22px rgba(91, 191, 208, 0.08);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 88%, rgba(217, 183, 119, 0.86), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(135deg, #ff6a42, #e9472f 50%, #5bbfd0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -12px 22px rgba(117, 25, 14, 0.18),
    0 16px 32px rgba(233, 71, 47, 0.22),
    12px 14px 24px rgba(217, 183, 119, 0.18);
}

.button-ghost {
  color: var(--menu-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.14)),
    color-mix(in srgb, var(--liquid-fill) 78%, transparent);
}

.button-large {
  min-height: 54px;
  padding: 0 24px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 0;
  border-radius: 18px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  min-height: auto;
  margin: 22px auto 0;
}

.hero-copy {
  border-radius: 38px;
}

.hero-copy {
  padding: clamp(34px, 6vw, 74px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text,
.section-heading p,
.feature-card p,
.workflow p,
.cta-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(18px, 1.7vw, 21px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 28px auto 0;
}

.hero-stats div,
.feature-card,
.workflow div {
  border-radius: 28px;
}

.hero-stats div {
  padding: 18px;
  text-align: center;
}

.hero-stats dt {
  font-family: "Unbounded", sans-serif;
  color: var(--accent-strong);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.ticker {
  display: flex;
  gap: 10px;
  width: min(1180px, calc(100% - 28px));
  overflow-x: auto;
  margin: 20px auto 0;
  padding: 14px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(91, 191, 208, 0.2), rgba(111, 171, 79, 0.13)),
    var(--panel-dark);
}

.category-track > span {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 900;
}

.content-section,
.map-section,
.calculator-section,
.cta-section {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 110px) 0 0;
}

.map-section {
  padding-bottom: clamp(36px, 5vw, 64px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--leaf), var(--accent));
  font-weight: 900;
}

.map-shell {
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 45%, rgba(126, 226, 239, 0.16), transparent 43%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.13), transparent 34%),
    color-mix(in srgb, var(--panel) 78%, transparent);
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dark);
}

.map-toolbar strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.map-toolbar span {
  color: var(--muted);
  font-weight: 800;
}

.map-count {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--accent-strong);
  white-space: nowrap;
  font-weight: 900;
}

.world-map {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  cursor: grab;
  touch-action: none;
  user-select: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(182, 245, 251, 0.18), transparent 34%),
    radial-gradient(circle at 50% 48%, rgba(32, 109, 141, 0.12), transparent 54%);
}

.world-map:active {
  cursor: grabbing;
}

#world-map {
  display: block;
  width: 100%;
  min-height: 680px;
  touch-action: none;
}

.country {
  cursor: crosshair;
  fill: var(--map);
  stroke: rgba(236, 253, 255, 0.72);
  stroke-width: 0.78;
  outline: none;
  transition: fill 240ms ease, opacity 240ms ease, stroke-width 240ms ease, filter 240ms ease;
}

.country:hover,
.country.is-hovered,
.country.is-active {
  fill: var(--map-hover);
  opacity: 0.96;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 1.25;
}

.country.is-active {
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--map-hover) 82%, transparent));
}

.country.is-disabled {
  cursor: not-allowed;
  fill: rgba(118, 133, 122, 0.22);
  opacity: 0.42;
  stroke: rgba(255, 255, 255, 0.28);
}

.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  fill: rgba(118, 133, 122, 0.22);
  opacity: 0.42;
  filter: none;
}

.globe-sphere {
  filter:
    drop-shadow(0 34px 62px rgba(45, 143, 177, 0.34))
    drop-shadow(0 0 24px rgba(126, 226, 239, 0.18));
}

.graticule {
  pointer-events: none;
  fill: none;
  stroke: rgba(236, 253, 255, 0.35);
  stroke-width: 0.6;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.offer-tooltip {
  position: absolute;
  top: 24px;
  left: 24px;
  width: min(392px, calc(100% - 48px));
  max-height: calc(100% - 48px);
  overflow: auto;
  padding: 20px;
  border-radius: 28px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(18px, 8px, 0) scale(0.98);
  visibility: hidden;
  will-change: opacity, transform;
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms cubic-bezier(0.22, 1, 0.36, 1), visibility 260ms ease;
}

.offer-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

.tooltip-kicker {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  text-transform: uppercase;
}

.country-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.country-info div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

.country-info span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.country-info strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.25;
}

.offer-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 88%, rgba(217, 183, 119, 0.32), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.09);
}

.offer-item strong {
  font-size: 14px;
}

.offer-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.offer-rate {
  color: #ffffff;
  font-weight: 900;
}

.geo-list {
  display: none !important;
  gap: 8px;
  flex-wrap: wrap;
  max-height: 164px;
  overflow: auto;
  margin: 0 24px 24px;
  padding: 14px;
  border-radius: 24px;
}

.geo-list span {
  padding: 7px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.geo-list span.is-disabled {
  opacity: 0.46;
  text-decoration: line-through;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  padding: 24px;
  border-radius: 38px;
}

.calculator-controls {
  display: grid;
  gap: 14px;
}

.calc-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.calc-budget {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 88%, rgba(217, 183, 119, 0.34), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.14)),
    color-mix(in srgb, var(--liquid-fill-strong) 78%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 16px 0 28px rgba(255, 255, 255, 0.24),
    inset -16px 0 28px rgba(18, 53, 67, 0.1),
    0 14px 28px rgba(32, 109, 141, 0.12);
  backdrop-filter: blur(22px) saturate(1.34);
  -webkit-backdrop-filter: blur(22px) saturate(1.34);
}

.calc-budget strong {
  color: var(--accent-strong);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.calc-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  outline: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16)),
    color-mix(in srgb, var(--liquid-fill-strong) 76%, transparent);
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 14px 0 24px rgba(255, 255, 255, 0.2),
    inset -14px 0 24px rgba(18, 53, 67, 0.12),
    0 10px 22px rgba(32, 109, 141, 0.1);
  backdrop-filter: blur(18px) saturate(1.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.32);
}

.calc-field input[type="range"] {
  min-height: 34px;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  accent-color: var(--accent);
}

.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 96% 50%, rgba(217, 183, 119, 0.58), transparent 16%),
    linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 2px 7px rgba(4, 24, 31, 0.14);
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -9px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 26%, #ffffff, transparent 26%),
    linear-gradient(135deg, #ffffff, var(--accent), var(--leaf));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(45, 143, 177, 0.32),
    0 0 16px rgba(217, 183, 119, 0.2);
}

.calc-field input[type="range"]::-moz-range-track {
  height: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, var(--accent), var(--leaf));
  box-shadow: 0 10px 24px rgba(45, 143, 177, 0.28);
}

.calc-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(66, 199, 223, 0.16);
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  border-radius: 28px;
}

.result-card span {
  color: var(--muted);
  font-weight: 900;
}

.result-card strong {
  color: var(--accent-strong);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.result-profit strong,
.result-roi strong,
.result-profit span,
.result-roi span {
  color: #ffffff;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow div {
  padding: 26px;
}

.workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #112d34;
  border-radius: 50%;
  background: var(--sand);
  font-weight: 900;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: clamp(62px, 8vw, 110px);
  padding: clamp(32px, 5vw, 54px);
  border-radius: 38px;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-section h2,
.cta-section p {
  max-width: 760px;
}

.contact-actions {
  justify-content: flex-end;
  max-width: 520px;
}

.cta-section .button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-link {
  color: #ffffff;
  font-weight: 900;
}

.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 0;
  margin-bottom: 0;
  flex-shrink: 0;
  border-radius: 28px 28px 0 0;
  color: var(--muted);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  font-weight: 800;
}

.site-footer__brand {
  justify-self: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer__rights {
  margin: 0;
  justify-self: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer__link {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__link:hover {
  color: var(--accent-strong);
}

@media (max-width: 1120px) {
  .site-header {
    cursor: pointer;
  }

  .site-header__inner {
    justify-content: center;
  }

  .site-nav--start,
  .header-actions--end {
    display: none;
  }

  .brand--center {
    position: static;
    transform: none;
  }

  .site-header.menu-open {
    cursor: default;
  }

  .site-header.menu-open .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .site-header.menu-open .site-nav--start,
  .site-header.menu-open .header-actions--end {
    display: flex;
    flex: none;
    width: 100%;
  }

  .site-header.menu-open .site-nav--start {
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
  }

  .site-header.menu-open .header-actions--end {
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 10px;
    padding-top: 8px;
  }

  .hero,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .feature-grid,
  .workflow,
  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .hero,
  .ticker,
  .content-section,
  .map-section,
  .calculator-section,
  .cta-section,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .brand span {
    font-size: 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    padding: 12px 10px;
  }

  .hero-stats dt {
    font-size: 20px;
  }

  .hero-stats dd {
    font-size: 12px;
    line-height: 1.25;
  }

  .map-toolbar,
  .site-footer__inner {
    flex-direction: column;
  }

  .world-map,
  #world-map {
    min-height: 520px;
  }

  .offer-tooltip {
    position: static;
    width: auto;
    max-height: none;
    margin: 0 14px 14px;
    pointer-events: auto;
  }

  .country-info {
    grid-template-columns: 1fr;
  }

  .geo-list {
    margin: 0 14px 14px;
  }

  .calculator-shell {
    padding: 16px;
  }

  .calculator-results {
    grid-template-columns: 1fr;
  }
}

/* --- Glassmorphism UI Kit Pro restyle from /New project/index.html --- */
:root {
  --bg: #eef1f6;
  --ink: #2c3e50;
  --muted: #6d7d8e;
  --menu-panel: rgba(255, 255, 255, 0.35);
  --menu-text: #2c3e50;
  --menu-muted: #617181;
  --panel: rgba(255, 255, 255, 0.35);
  --panel-strong: rgba(255, 255, 255, 0.45);
  --panel-dark: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.65);
  --line-dark: rgba(44, 62, 80, 0.1);
  --accent: #3a86ff;
  --accent-strong: #0056b3;
  --coral: #eb5730;
  --leaf: #27ae60;
  --sand: #f39c12;
  --map: rgba(86, 150, 174, 0.48);
  --map-hover: #73d7ec;
  --shadow: 0 15px 35px rgba(31, 38, 135, 0.04);
  --blur: blur(25px) saturate(130%);
}

:root[data-theme="dark"] {
  --bg: #1c2731;
  --ink: #eef4f8;
  --muted: #b8c6d3;
  --menu-panel: rgba(35, 49, 62, 0.48);
  --menu-text: #eef4f8;
  --menu-muted: #b5c6d6;
  --panel: rgba(255, 255, 255, 0.16);
  --panel-strong: rgba(255, 255, 255, 0.22);
  --panel-dark: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.34);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #5d9bff;
  --accent-strong: #83c5ff;
  --coral: #ff8666;
  --leaf: #4bd58b;
  --sand: #ffbd55;
  --map: rgba(112, 192, 216, 0.5);
  --map-hover: #a7ecf6;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

body {
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(240, 244, 255, 1) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(235, 240, 250, 1) 0, transparent 50%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root[data-theme="dark"] body {
  background-image:
    radial-gradient(at 0% 0%, rgba(58, 76, 95, 0.65) 0, transparent 48%),
    radial-gradient(at 100% 100%, rgba(31, 48, 65, 0.8) 0, transparent 54%),
    linear-gradient(135deg, #16212b, #22313d);
}

body::before {
  background:
    radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.32) 0, transparent 42%),
    radial-gradient(at 100% 100%, rgba(190, 210, 232, 0.24) 0, transparent 46%);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.aurora {
  opacity: 0.18;
  filter: blur(95px);
}

h1,
h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  line-height: 0.96;
}

h2 {
  line-height: 1;
}

.eyebrow {
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.glass,
.glass-lite,
.glass-dark,
.site-header,
.control-group,
.map-shell,
.calc-budget,
.calc-field input,
.result-card,
.country-info div,
.offer-item {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 15px 35px rgba(31, 38, 135, 0.04),
    0 4px 10px rgba(0, 0, 0, 0.02),
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.02),
    inset -3px -3px 6px rgba(230, 100, 100, 0.08),
    inset 3px 3px 6px rgba(100, 180, 255, 0.08);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

:root[data-theme="dark"] .glass,
:root[data-theme="dark"] .glass-lite,
:root[data-theme="dark"] .glass-dark,
:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .control-group,
:root[data-theme="dark"] .map-shell,
:root[data-theme="dark"] .calc-budget,
:root[data-theme="dark"] .calc-field input,
:root[data-theme="dark"] .result-card,
:root[data-theme="dark"] .country-info div,
:root[data-theme="dark"] .offer-item {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.42);
  border-left-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.14),
    inset 0 2px 4px rgba(255, 255, 255, 0.22),
    inset -3px -3px 6px rgba(255, 140, 100, 0.08),
    inset 3px 3px 6px rgba(100, 180, 255, 0.12);
}

.glass::before,
.glass-lite::before,
.glass-dark::before,
.glass::after,
.glass-lite::after,
.glass-dark::after {
  content: none;
}

.glass:hover,
.glass-lite:hover,
.glass-dark:hover,
.button:hover,
.chip:hover {
  background-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 20px 40px rgba(31, 38, 135, 0.07),
    0 6px 14px rgba(0, 0, 0, 0.03),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset -4px -4px 8px rgba(230, 100, 100, 0.12),
    inset 4px 4px 8px rgba(100, 180, 255, 0.12);
}

.glass > *,
.glass-lite > *,
.glass-dark > * {
  z-index: auto;
}

.glass-dark {
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.36);
}

.site-header__inner {
  min-height: 72px;
  gap: 18px;
}

.brand {
  font-family: inherit;
  font-weight: 800;
}

.brand img {
  filter: drop-shadow(0 8px 16px rgba(44, 62, 80, 0.12));
}

.site-nav {
  color: var(--menu-muted);
  font-weight: 700;
  gap: clamp(12px, 2vw, 24px);
}

.header-actions {
  flex-wrap: nowrap;
  gap: 8px;
}

.control-group {
  border-radius: 24px;
  padding: 5px;
  min-height: 44px;
}

.chip {
  min-width: 36px;
  height: 34px;
  color: var(--menu-text);
  border-radius: 18px;
  font-weight: 800;
}

.chip.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #3a86ff 0%, #0056b3 100%);
  box-shadow:
    0 8px 20px rgba(0, 86, 179, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.18);
}

.theme-toggle {
  width: 80px;
  height: 56px;
  border-radius: 28px;
  padding: 4px;
}

.theme-track {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 30px rgba(31, 38, 135, 0.04),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset -3px -3px 6px rgba(120, 180, 255, 0.15),
    inset 3px 3px 6px rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .theme-track {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.4);
  box-shadow:
    inset 0 2px 4px rgba(46, 204, 113, 0.1),
    inset -3px -3px 6px rgba(46, 204, 113, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.14);
}

.theme-icon,
.theme-stars {
  display: none;
}

.theme-thumb {
  top: 4px;
  left: 4px;
  width: 46px;
  height: 46px;
  background: #ffffff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .theme-thumb {
  transform: translateX(24px);
  background: #ffffff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  color: var(--menu-text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 12px 30px rgba(31, 38, 135, 0.04),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset -3px -3px 6px rgba(120, 180, 255, 0.15),
    inset 3px 3px 6px rgba(255, 255, 255, 0.5);
}

.site-header .button {
  min-height: 48px;
  padding: 0 22px;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(235, 87, 48, 0.92) 0%, rgba(242, 131, 53, 0.86) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  border-top-color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow:
    0 12px 30px rgba(235, 87, 48, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    inset -5px -5px 10px rgba(255, 190, 0, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, rgba(235, 87, 48, 0.96) 0%, rgba(242, 131, 53, 0.92) 100%);
  box-shadow:
    0 16px 35px rgba(235, 87, 48, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.7),
    inset -5px -5px 12px rgba(255, 210, 0, 0.25);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.35);
}

.button-large {
  min-height: 56px;
}

.nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 12px 30px rgba(31, 38, 135, 0.04),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset -4px -4px 7px rgba(245, 130, 48, 0.15),
    inset 4px 4px 7px rgba(48, 144, 245, 0.15);
}

.hero {
  margin-top: 24px;
}

.hero-copy {
  border-radius: 34px;
  padding: clamp(34px, 6vw, 70px);
}

.hero-stats div,
.feature-card,
.workflow div,
.result-card {
  border-radius: 24px;
}

.hero-stats dt,
.result-card strong,
.calc-budget strong {
  font-family: inherit;
  color: var(--accent-strong);
  letter-spacing: -0.03em;
}

.ticker {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 15px 35px rgba(31, 38, 135, 0.04),
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset -3px -3px 6px rgba(230, 100, 100, 0.08),
    inset 3px 3px 6px rgba(100, 180, 255, 0.08);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.category-track > span {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
}

.feature-icon {
  border-radius: 14px;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  box-shadow:
    0 4px 10px rgba(46, 204, 113, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.map-shell {
  border-radius: 34px;
  background:
    radial-gradient(at top left, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(at bottom right, rgba(244, 67, 54, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.35);
}

.map-toolbar {
  border-bottom-color: rgba(44, 62, 80, 0.08);
}

.map-count {
  color: var(--accent-strong);
  border-radius: 22px;
}

.world-map {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.38), transparent 36%),
    radial-gradient(circle at 50% 48%, rgba(100, 180, 255, 0.16), transparent 55%);
}

.globe-sphere {
  filter: drop-shadow(0 18px 34px rgba(31, 38, 135, 0.08));
}

.graticule {
  stroke: rgba(44, 62, 80, 0.16);
}

.country {
  stroke: rgba(255, 255, 255, 0.78);
}

.offer-tooltip {
  color: var(--ink);
  border-radius: 24px;
}

.tooltip-kicker,
.country-info span,
.offer-item span {
  color: var(--muted);
}

.country-info strong,
.offer-rate,
.offer-item strong {
  color: var(--ink);
}

.country-info div,
.offer-item {
  background: rgba(255, 255, 255, 0.24);
}

.calculator-shell {
  border-radius: 34px;
}

.calc-budget {
  background: rgba(255, 255, 255, 0.35);
}

.calc-field input {
  min-height: 56px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.calc-field input[type="range"] {
  background: transparent;
  box-shadow: none;
}

.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(58, 134, 255, 0.72), rgba(255, 255, 255, 0.35)),
    rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    inset -3px -3px 6px rgba(255, 235, 59, 0.16),
    inset 3px 3px 6px rgba(0, 229, 255, 0.16);
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: #ffffff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.calc-field input[type="range"]::-moz-range-track {
  background: rgba(255, 255, 255, 0.35);
}

.calc-field input[type="range"]::-moz-range-thumb {
  background: #ffffff;
}

.result-profit,
.result-roi,
.cta-section {
  color: var(--ink);
}

.result-profit strong,
.result-roi strong,
.result-profit span,
.result-roi span,
.cta-section .eyebrow,
.cta-section p,
.cta-section .button-ghost,
.contact-link {
  color: inherit;
}

.cta-section {
  border-radius: 34px;
}

.cta-section .button-ghost {
  background: rgba(255, 255, 255, 0.35);
}

.site-footer {
  border-radius: 28px 28px 0 0;
}

/* --- Frost planet render + warm under-glow effects --- */
.map-shell,
.world-map {
  overflow: visible;
}

.map-shell {
  position: relative;
}

.map-shell::before,
.calculator-shell::before,
.hero-copy::before,
.cta-section::before,
.feature-card::before,
.result-card::before,
.ticker::before,
.site-header::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -24px;
  height: 58px;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 16% 45%, rgba(255, 138, 62, 0.48), transparent 36%),
    radial-gradient(ellipse at 50% 58%, rgba(255, 185, 76, 0.34), transparent 42%),
    radial-gradient(ellipse at 86% 48%, rgba(116, 198, 255, 0.3), transparent 34%);
  filter: blur(18px);
  opacity: 0.7;
  z-index: -1;
}

.glass,
.glass-lite,
.glass-dark,
.site-header,
.map-shell,
.calculator-shell,
.hero-copy,
.cta-section,
.feature-card,
.result-card,
.ticker {
  isolation: isolate;
  overflow: visible;
}

.glass::after,
.glass-lite::after,
.glass-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 22% 0%, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(ellipse at 96% 86%, rgba(255, 156, 80, 0.13), transparent 22%),
    radial-gradient(ellipse at 4% 82%, rgba(90, 165, 255, 0.1), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.78;
  z-index: 0;
}

.glass > *,
.glass-lite > *,
.glass-dark > * {
  position: relative;
  z-index: 1;
}

.button,
.theme-toggle,
.chip,
.nav-toggle {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.button-primary::after,
.theme-toggle::after,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -13px;
  height: 28px;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(255, 122, 64, 0.58), transparent 40%),
    radial-gradient(ellipse at 78% 55%, rgba(255, 203, 77, 0.44), transparent 42%);
  filter: blur(12px);
  opacity: 0.76;
  z-index: -1;
}

.button-ghost::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -10px;
  height: 22px;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(116, 198, 255, 0.28), transparent 42%),
    radial-gradient(ellipse at 88% 55%, rgba(255, 185, 76, 0.22), transparent 44%);
  filter: blur(10px);
  opacity: 0.64;
  z-index: -1;
}

.map-shell {
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 255, 255, 0.62), transparent 32%),
    radial-gradient(circle at 68% 76%, rgba(132, 159, 205, 0.18), transparent 36%),
    radial-gradient(at bottom left, rgba(255, 144, 75, 0.09), transparent 48%),
    rgba(255, 255, 255, 0.35);
}

.world-map {
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.86), transparent 24%),
    radial-gradient(circle at 54% 50%, rgba(154, 166, 196, 0.16), transparent 34%),
    radial-gradient(circle at 48% 56%, rgba(185, 197, 221, 0.28), transparent 44%),
    radial-gradient(circle at 68% 72%, rgba(255, 176, 82, 0.08), transparent 38%);
}

#world-map {
  overflow: visible;
}

.globe-sphere {
  opacity: 0.98;
  stroke-width: 1.45;
}

.globe-glass {
  pointer-events: none;
  opacity: 0.88;
  mix-blend-mode: screen;
}

.globe-rim {
  pointer-events: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.8;
  filter:
    drop-shadow(-8px -8px 10px rgba(255, 255, 255, 0.72))
    drop-shadow(9px 12px 16px rgba(117, 133, 164, 0.2))
    drop-shadow(0 0 10px rgba(198, 226, 255, 0.4));
}

.graticule {
  opacity: 0.16;
  stroke: rgba(88, 110, 140, 0.14);
}

.country {
  fill: url(#planet-land-gradient);
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 0.76;
  filter: url(#planet-land-relief);
  opacity: 0.98;
}

.country:hover,
.country.is-hovered,
.country.is-active {
  fill: #ffffff;
  stroke: rgba(124, 175, 218, 0.82);
  stroke-width: 0.95;
  opacity: 1;
  filter:
    url(#planet-land-relief)
    drop-shadow(0 0 8px rgba(106, 188, 222, 0.5));
}

.country.is-disabled,
.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  fill: rgba(180, 188, 200, 0.36);
  stroke: rgba(255, 255, 255, 0.46);
  opacity: 0.46;
  filter: none;
}

:root[data-theme="dark"] .map-shell {
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 255, 255, 0.2), transparent 32%),
    radial-gradient(circle at 68% 76%, rgba(132, 159, 205, 0.2), transparent 36%),
    radial-gradient(at bottom left, rgba(255, 144, 75, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .world-map {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(circle at 48% 56%, rgba(185, 197, 221, 0.18), transparent 42%),
    radial-gradient(circle at 68% 72%, rgba(255, 176, 82, 0.1), transparent 38%);
}

/* --- Soft control-panel style: simplified map, no theme animation --- */
:root {
  --bg: #dddde9;
  --ink: #171933;
  --muted: #6f7387;
  --menu-panel: rgba(233, 234, 244, 0.72);
  --menu-text: #171933;
  --menu-muted: #5f6478;
  --panel: rgba(232, 233, 243, 0.74);
  --panel-strong: rgba(242, 243, 249, 0.72);
  --panel-dark: rgba(232, 233, 243, 0.72);
  --line: rgba(255, 255, 255, 0.55);
  --line-dark: rgba(36, 39, 68, 0.08);
  --accent: #171933;
  --accent-strong: #171933;
  --coral: #ff9259;
  --leaf: #39c49c;
  --sand: #ffa44c;
  --map: rgba(235, 238, 247, 0.92);
  --map-hover: #ffffff;
  --shadow: 0 22px 42px rgba(44, 46, 78, 0.18);
  --blur: blur(18px) saturate(118%);
}

:root[data-theme="dark"] {
  --bg: #18192b;
  --ink: #f0f1fb;
  --muted: #b5b8cc;
  --menu-panel: rgba(37, 38, 61, 0.78);
  --menu-text: #f0f1fb;
  --menu-muted: #c5c7d7;
  --panel: rgba(42, 43, 66, 0.78);
  --panel-strong: rgba(55, 56, 82, 0.76);
  --panel-dark: rgba(43, 44, 68, 0.82);
  --line: rgba(255, 255, 255, 0.2);
  --line-dark: rgba(255, 255, 255, 0.1);
  --accent: #ffffff;
  --accent-strong: #ffffff;
  --coral: #ffa06b;
  --map: rgba(219, 224, 238, 0.84);
  --map-hover: #ffffff;
}

body,
:root[data-theme="dark"] body {
  background-color: var(--bg);
  background-image: none;
  transition: none !important;
}

body::before {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(150, 153, 178, 0.06));
}

body::after,
body.theme-ignite::after,
body.theme-ignite .aurora {
  animation: none !important;
  opacity: 0 !important;
}

.aurora {
  display: none;
}

.glass,
.glass-lite,
.glass-dark,
.site-header,
.control-group,
.map-shell,
.calculator-shell,
.calc-budget,
.calc-field input,
.result-card,
.feature-card,
.workflow div,
.cta-section,
.site-footer,
.ticker {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-top-color: rgba(255, 255, 255, 0.72);
  border-left-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 24px 42px rgba(42, 43, 72, 0.16),
    0 8px 18px rgba(16, 17, 36, 0.07),
    inset 0 2px 4px rgba(255, 255, 255, 0.58),
    inset 0 -3px 7px rgba(33, 35, 64, 0.08),
    inset -4px -4px 8px rgba(255, 140, 78, 0.08),
    inset 4px 4px 8px rgba(118, 131, 255, 0.08);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.glass::after,
.glass-lite::after,
.glass-dark::after {
  content: none;
}

.map-shell::before,
.calculator-shell::before,
.hero-copy::before,
.cta-section::before,
.feature-card::before,
.result-card::before,
.ticker::before,
.site-header::before {
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 64px;
  background:
    radial-gradient(ellipse at 12% 48%, rgba(255, 133, 70, 0.62), transparent 38%),
    radial-gradient(ellipse at 50% 60%, rgba(255, 169, 70, 0.42), transparent 44%),
    radial-gradient(ellipse at 88% 46%, rgba(255, 133, 70, 0.44), transparent 36%);
  filter: blur(18px);
  opacity: 0.58;
}

.site-header__inner {
  min-height: 68px;
}

.button,
.chip,
.nav-toggle,
.theme-track,
.map-count {
  background: rgba(243, 244, 250, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    0 12px 22px rgba(42, 43, 72, 0.16),
    inset 0 2px 3px rgba(255, 255, 255, 0.58),
    inset 0 -3px 6px rgba(33, 35, 64, 0.08);
}

.button-primary,
.chip.is-active {
  color: #ffffff;
  background: #171933;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 13px 24px rgba(23, 25, 51, 0.34),
    inset 0 2px 4px rgba(255, 255, 255, 0.12),
    inset 0 -3px 8px rgba(0, 0, 0, 0.34);
  text-shadow: none;
}

.button-primary:hover {
  background: #202344;
  box-shadow:
    0 15px 28px rgba(23, 25, 51, 0.38),
    inset 0 2px 4px rgba(255, 255, 255, 0.14),
    inset 0 -3px 8px rgba(0, 0, 0, 0.34);
}

.button-primary::after,
.theme-toggle::after,
.nav-toggle::after {
  bottom: -14px;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(255, 134, 70, 0.55), transparent 52%);
  opacity: 0.62;
}

.theme-toggle {
  width: 58px;
  height: 38px;
  border-radius: 20px;
}

.theme-track {
  border-radius: inherit;
}

.theme-thumb {
  top: 5px;
  left: 5px;
  width: 28px;
  height: 28px;
  transition: none !important;
}

:root[data-theme="dark"] .theme-thumb {
  transform: translateX(20px);
}

.theme-track,
:root[data-theme="dark"] .theme-track {
  transition: none !important;
}

.hero-copy,
.map-shell,
.calculator-shell,
.cta-section {
  border-radius: 34px;
}

.hero-stats div,
.feature-card,
.workflow div,
.result-card {
  border-radius: 22px;
}

.ticker {
  border-radius: 28px;
}

.category-track > span,
.map-count {
  color: var(--ink);
}

.world-map,
:root[data-theme="dark"] .world-map {
  background: rgba(232, 233, 243, 0.22);
  overflow: hidden;
}

.map-shell,
:root[data-theme="dark"] .map-shell {
  background: var(--panel);
  overflow: hidden;
}

#world-map {
  overflow: hidden;
}

.globe-sphere {
  opacity: 1;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.1;
  filter: none !important;
}

.globe-glass {
  display: none;
}

.globe-rim {
  stroke: rgba(255, 255, 255, 0.74);
  stroke-width: 1.2;
  filter: none !important;
}

.graticule {
  opacity: 0.1;
  stroke: rgba(23, 25, 51, 0.12);
}

.country {
  fill: var(--map);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 0.58;
  filter: none !important;
  opacity: 0.92;
  transition: fill 160ms ease, opacity 160ms ease, stroke-width 160ms ease;
}

.country:hover,
.country.is-hovered,
.country.is-active {
  fill: var(--map-hover);
  stroke: rgba(23, 25, 51, 0.22);
  stroke-width: 0.82;
  filter: none !important;
}

.country.is-disabled,
.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  fill: rgba(143, 147, 166, 0.3);
  stroke: rgba(255, 255, 255, 0.36);
  opacity: 0.42;
}

.offer-tooltip {
  color: var(--ink);
}

.country-info div,
.offer-item {
  background: rgba(243, 244, 250, 0.46);
}

.calc-field input[type="range"]::-webkit-slider-runnable-track {
  background:
    linear-gradient(90deg, #171933, rgba(243, 244, 250, 0.72)),
    rgba(243, 244, 250, 0.45);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.58),
    inset 0 -3px 6px rgba(33, 35, 64, 0.08);
}

.site-header__inner[data-brand-layout="grid"] .site-nav--start {
  flex: none;
  justify-self: start;
}

.site-header__inner[data-brand-layout="grid"] .header-actions--end {
  flex: none;
  justify-self: end;
}

:root[data-theme="dark"] .lang-dropdown__trigger,
:root[data-theme="dark"] .theme-toggle--inst {
  background: rgba(248, 251, 253, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8fbff;
}

:root[data-theme="dark"] .lang-dropdown__menu {
  background:
    linear-gradient(145deg, rgba(30, 40, 58, 0.92), rgba(22, 28, 42, 0.88)),
    color-mix(in srgb, var(--menu-panel) 80%, transparent);
  border-color: rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .lang-dropdown__menu button.is-active,
:root[data-theme="dark"] .lang-dropdown__menu button:hover {
  background: rgba(248, 251, 253, 0.92);
  color: #171933;
}

/* --- Final GEO search + flat atlas pass --- */
main#top {
  flex: 1;
  padding-top: 98px;
}

section,
#top {
  scroll-margin-top: 112px;
}

.ticker {
  display: block;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.category-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: categories-marquee 120s linear infinite;
  will-change: transform;
}

.category-track > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.ticker__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1rem;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.ticker__name {
  line-height: 1.2;
}

@keyframes categories-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.map-toolbar {
  position: relative;
  align-items: flex-start;
}

.map-shell > .map-toolbar,
.map-shell > .world-map {
  left: auto;
  right: auto;
  width: 100%;
  max-width: 100%;
}

.geo-search {
  position: relative;
  flex: 0 0 min(360px, 100%);
  min-width: min(360px, 100%);
  border-radius: 25px;
  padding: 6px;
}

.geo-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  border: 0;
  outline: 0;
  border-radius: 21px;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.geo-search input::placeholder {
  color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.geo-search input:focus-visible {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent);
}

.geo-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  max-height: 330px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel-strong) 96%, transparent);
  box-shadow:
    0 18px 34px rgba(16, 17, 36, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.42),
    inset 0 -3px 7px rgba(33, 35, 64, 0.08);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.geo-suggestions.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.geo-suggestions button,
.geo-empty {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  color: var(--ink);
  border: 0;
  border-radius: 16px;
  background: transparent;
  font: inherit;
  text-align: left;
}

.geo-suggestions button {
  cursor: pointer;
}

.geo-suggestions button:hover,
.geo-suggestions button:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.32);
}

.geo-suggestions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  text-decoration: line-through;
}

.geo-suggestions span {
  color: var(--ink);
  font-weight: 900;
}

.geo-suggestions small,
.geo-empty {
  color: var(--muted);
  font-weight: 800;
}

.world-map,
:root[data-theme="dark"] .world-map {
  min-height: 560px;
  cursor: default;
  touch-action: pan-y;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.46), transparent 34%),
    linear-gradient(180deg, rgba(243, 244, 250, 0.34), rgba(209, 213, 231, 0.14));
}

#world-map {
  width: 100%;
  min-height: 560px;
  touch-action: pan-y;
}

#world-map *:focus,
#world-map *:focus-visible {
  outline: none;
}

.map-sphere {
  fill: rgba(243, 244, 250, 0.2);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1;
}

.country {
  cursor: pointer;
  fill: color-mix(in srgb, var(--map) 86%, #ffffff);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 0.5;
  filter: none !important;
  opacity: 0.94;
  transition: fill 120ms ease, opacity 120ms ease, stroke 120ms ease, stroke-width 120ms ease;
}

.country:hover,
.country.is-hovered,
.country.is-active {
  fill: var(--map-hover);
  stroke: color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.8));
  stroke-width: 0.95;
  opacity: 1;
  filter: none !important;
}

.country.is-active {
  fill: #ffffff;
  stroke: var(--accent);
  stroke-width: 1.25;
}

.country.is-disabled,
.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  cursor: not-allowed;
  fill: rgba(143, 147, 166, 0.28);
  stroke: rgba(255, 255, 255, 0.34);
  opacity: 0.42;
}

.offer-tooltip {
  pointer-events: auto;
}

@media (max-width: 1120px) {
  .site-header {
    width: calc(100% - 18px);
  }

  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .site-header.menu-open {
    max-height: 100dvh;
    overflow: auto;
  }

  .geo-search {
    flex-basis: 100%;
    min-width: 100%;
  }
}

@media (max-width: 700px) {
  main#top {
    padding-top: 88px;
  }

  .site-header--scrolled {
    top: 10px;
  }

  section,
  #top {
    scroll-margin-top: 112px;
  }

  .map-toolbar {
    gap: 14px;
  }

  .world-map,
  #world-map {
    min-height: 430px;
  }

  .geo-suggestions {
    max-height: 260px;
  }
}

/* --- Ocean readable map + overlay GEO list --- */
:root {
  --map-ocean-top: #dff8fb;
  --map-ocean-mid: #8ddbe8;
  --map-ocean-deep: #206d8d;
  --map-land-fill: #d6f2de;
  --map-land-hover: #b4e995;
  --map-land-active: #ffffff;
  --map-coast: rgba(18, 84, 108, 0.58);
  --map-coast-strong: #1f6f89;
  --map-disabled-fill: rgba(97, 122, 130, 0.34);
}

:root[data-theme="dark"] {
  --map-ocean-top: #123543;
  --map-ocean-mid: #206d8d;
  --map-ocean-deep: #061620;
  --map-land-fill: #6fab4f;
  --map-land-hover: #95d86e;
  --map-land-active: #eaf8fb;
  --map-coast: rgba(182, 245, 251, 0.54);
  --map-coast-strong: #b6f5fb;
  --map-disabled-fill: rgba(115, 134, 136, 0.32);
}

.map-shell,
:root[data-theme="dark"] .map-shell {
  background:
    radial-gradient(circle at 16% 0%, rgba(126, 226, 239, 0.24), transparent 34%),
    radial-gradient(circle at 88% 102%, rgba(111, 171, 79, 0.16), transparent 32%),
    var(--panel);
}

.map-toolbar {
  border-bottom: 0;
  padding-bottom: 16px;
}

.world-map,
:root[data-theme="dark"] .world-map {
  position: relative;
  min-height: 620px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.5), transparent 20%),
    radial-gradient(circle at 68% 70%, color-mix(in srgb, var(--map-ocean-mid) 38%, transparent), transparent 36%),
    linear-gradient(160deg, var(--map-ocean-top), var(--map-ocean-mid) 50%, var(--map-ocean-deep));
}

#world-map {
  position: relative;
  z-index: 1;
  min-height: 620px;
}

.world-map .geo-search {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 26;
  width: min(540px, calc(100% - 36px));
  min-width: 0;
  padding: 7px;
  background: rgba(239, 250, 251, 0.72);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 22px 42px rgba(5, 45, 62, 0.18),
    inset 0 2px 5px rgba(255, 255, 255, 0.76),
    inset 0 -4px 8px rgba(32, 109, 141, 0.1);
}

:root[data-theme="dark"] .world-map .geo-search {
  background: rgba(12, 40, 54, 0.76);
}

.world-map .geo-search input {
  color: var(--ink);
}

.geo-suggestions {
  z-index: 28;
  max-height: min(430px, calc(100vh - 230px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(224, 247, 251, 0.82)),
    rgba(239, 250, 251, 0.88);
  box-shadow:
    0 24px 48px rgba(5, 45, 62, 0.24),
    inset 0 2px 5px rgba(255, 255, 255, 0.82),
    inset 0 -5px 10px rgba(32, 109, 141, 0.12);
}

:root[data-theme="dark"] .geo-suggestions {
  background:
    linear-gradient(180deg, rgba(25, 64, 78, 0.92), rgba(8, 28, 40, 0.88)),
    rgba(8, 28, 40, 0.9);
}

.geo-suggestions button:hover,
.geo-suggestions button:focus-visible {
  background: rgba(126, 226, 239, 0.22);
}

.map-sphere {
  fill: rgba(223, 248, 251, 0.2);
  stroke: rgba(255, 255, 255, 0.58);
  stroke-width: 1.1;
}

.graticule {
  opacity: 0.26;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 0.58;
}

.country {
  fill: var(--map-land-fill);
  stroke: var(--map-coast);
  stroke-width: 0.62;
  opacity: 0.96;
}

.country:hover,
.country.is-hovered {
  fill: var(--map-land-hover);
  stroke: var(--map-coast-strong);
  stroke-width: 0.96;
}

.country.is-active {
  fill: var(--map-land-active);
  stroke: var(--map-coast-strong);
  stroke-width: 1.25;
}

.country.is-disabled,
.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  fill: var(--map-disabled-fill);
  stroke: rgba(255, 255, 255, 0.42);
  opacity: 0.5;
}

.offer-tooltip {
  z-index: 14;
  max-height: min(520px, calc(100% - 48px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--map-ocean-deep) 55%, transparent) transparent;
}

.offer-tooltip::-webkit-scrollbar,
.geo-suggestions::-webkit-scrollbar {
  width: 8px;
}

.offer-tooltip::-webkit-scrollbar-thumb,
.geo-suggestions::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--map-ocean-deep) 45%, transparent);
}

@media (max-width: 700px) {
  .world-map,
  #world-map {
    min-height: 520px;
  }

  .world-map .geo-search {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .geo-suggestions {
    max-height: 44vh;
  }

  .offer-tooltip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: 56vh !important;
    margin: 0;
    overflow-y: auto !important;
  }
}

/* --- Reference-style flat map + header search placement --- */
:root {
  --map-page: #f8fbfd;
  --map-water-flat: #f7fbfd;
  --map-land-flat: #c3ddf0;
  --map-land-hover-flat: #86c7e7;
  --map-land-active-flat: #3fa6d0;
  --map-line-flat: rgba(255, 255, 255, 0.92);
  --map-disabled-flat: #d4e4ef;
}

:root[data-theme="dark"] {
  --map-page: #f8fbfd;
  --map-water-flat: #f7fbfd;
  --map-land-flat: #c3ddf0;
  --map-land-hover-flat: #86c7e7;
  --map-land-active-flat: #3fa6d0;
  --map-line-flat: rgba(255, 255, 255, 0.92);
  --map-disabled-flat: #d4e4ef;
}

.map-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 45%);
  align-items: center;
  gap: 22px;
  padding: 24px 24px 22px;
}

.map-toolbar > div:first-child {
  min-width: 0;
}

.map-toolbar > .geo-search {
  justify-self: end;
  width: 100%;
  min-width: 0;
  max-width: 540px;
  flex: none;
  padding: 7px;
  border-radius: 18px;
  background: rgba(248, 251, 253, 0.7);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 16px 32px rgba(32, 109, 141, 0.12),
    inset 0 2px 5px rgba(255, 255, 255, 0.78),
    inset 0 -4px 8px rgba(32, 109, 141, 0.08);
}

:root[data-theme="dark"] .map-toolbar > .geo-search {
  background: rgba(248, 251, 253, 0.72);
}

.map-toolbar > .geo-search input {
  min-height: 48px;
  color: #171933;
}

.map-toolbar > .geo-search input::placeholder {
  color: rgba(23, 25, 51, 0.58);
}

.map-toolbar > .geo-search .geo-suggestions {
  right: 0;
  left: 0;
}

.world-map,
:root[data-theme="dark"] .world-map {
  min-height: 500px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    var(--map-water-flat);
}

#world-map {
  min-height: 500px;
}

.map-sphere,
.graticule {
  display: none;
}

.country {
  fill: var(--map-land-flat);
  stroke: var(--map-line-flat);
  stroke-width: 1.05;
  opacity: 1;
}

.country:hover,
.country.is-hovered {
  fill: var(--map-land-hover-flat);
  stroke: #ffffff;
  stroke-width: 1.15;
}

.country.is-active {
  fill: var(--map-land-active-flat);
  stroke: #ffffff;
  stroke-width: 1.35;
}

.country.is-disabled,
.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  fill: var(--map-disabled-flat);
  stroke: var(--map-line-flat);
  opacity: 0.62;
}

.geo-suggestions {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 253, 0.9)),
    rgba(248, 251, 253, 0.92);
}

.geo-suggestions button,
.geo-empty,
.geo-suggestions span {
  color: #171933;
}

.geo-suggestions small {
  color: rgba(23, 25, 51, 0.58);
}

:root[data-theme="dark"] .geo-suggestions {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 253, 0.9)),
    rgba(248, 251, 253, 0.92);
}

@media (max-width: 700px) {
  .map-toolbar {
    grid-template-columns: 1fr;
  }

  .map-toolbar > .geo-search {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .map-toolbar {
    padding: 18px 16px 16px;
  }

  .world-map,
  #world-map {
    min-height: 460px;
  }
}

/* --- Dark theme readability pass --- */
.map-toolbar {
  z-index: 35;
}

.map-toolbar > .geo-search {
  z-index: 45;
}

.world-map {
  z-index: 1;
}

:root[data-theme="dark"] {
  --ink: #f4f7fb;
  --muted: #d5dbea;
  --menu-text: #f8fbff;
  --menu-muted: rgba(248, 251, 255, 0.78);
}

:root[data-theme="dark"] .site-nav {
  color: rgba(248, 251, 255, 0.78);
}

:root[data-theme="dark"] .chip {
  color: #171933;
}

:root[data-theme="dark"] .chip.is-active {
  color: #ffffff;
}

:root[data-theme="dark"] .site-header .button-ghost {
  color: #171933;
  background: rgba(248, 251, 253, 0.86);
}

:root[data-theme="dark"] .map-toolbar strong {
  color: #f8fbff;
}

:root[data-theme="dark"] .map-toolbar span {
  color: rgba(248, 251, 255, 0.72);
}

:root[data-theme="dark"] .offer-tooltip {
  color: #172033;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(230, 245, 251, 0.68)),
    rgba(238, 249, 252, 0.72);
  border-color: rgba(255, 255, 255, 0.72);
}

:root[data-theme="dark"] .offer-tooltip h3,
:root[data-theme="dark"] .tooltip-kicker,
:root[data-theme="dark"] .country-info strong,
:root[data-theme="dark"] .offer-item strong,
:root[data-theme="dark"] .offer-rate {
  color: #172033;
}

:root[data-theme="dark"] .country-info span,
:root[data-theme="dark"] .offer-item span {
  color: #5f6c82;
}

:root[data-theme="dark"] .country-info div,
:root[data-theme="dark"] .offer-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.78);
}

/* --- Mobile layout polish --- */
img,
svg {
  max-width: 100%;
}

body {
  width: 100%;
}

.brand,
.site-nav,
.header-actions,
.button,
.map-toolbar,
.section-heading,
.hero-copy,
.calculator-shell,
.cta-section,
.offer-tooltip {
  min-width: 0;
}

.button,
.site-nav a,
.chip {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  main#top {
    padding-top: 96px;
  }

  .site-header {
    width: calc(100% - 18px);
    cursor: pointer;
  }

  .site-header__inner {
    justify-content: center;
    width: 100%;
    padding: 9px 11px;
  }

  .site-nav--start,
  .header-actions--end {
    display: none;
  }

  .brand--center {
    position: static;
    transform: none;
  }

  .brand {
    overflow: hidden;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header.menu-open {
    align-content: start;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    cursor: default;
  }

  .site-header.menu-open .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .site-header.menu-open .site-nav--start,
  .site-header.menu-open .header-actions--end {
    display: flex;
    flex: none;
    width: 100%;
  }

  .site-header.menu-open .site-nav--start {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
  }

  .site-header.menu-open .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(243, 244, 250, 0.46);
    text-overflow: ellipsis;
  }

  .site-header.menu-open .header-actions--end {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
  }

  .site-header.menu-open .header-auth-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }

  .site-header.menu-open .theme-toggle--inst {
    width: 54px;
    height: 34px;
  }

  section,
  #top {
    scroll-margin-top: 108px;
  }
}

@media (max-width: 820px) {
  .site-header.menu-open .site-nav--start {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header.menu-open .header-actions--end {
    grid-template-columns: auto auto;
  }

  .site-header.menu-open .header-auth-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  main#top {
    padding-top: 84px;
  }

  .site-header--scrolled {
    top: 7px;
    border-radius: 22px;
  }

  .site-header {
    width: calc(100% - 10px);
    border-radius: 0 0 22px 22px;
  }

  .site-header__inner {
    min-height: 58px;
    padding: 7px 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 14px;
  }

  .site-header.menu-open.site-header--scrolled {
    border-radius: 24px;
  }

  .site-header.menu-open:not(.site-header--scrolled) {
    border-radius: 0 0 24px 24px;
  }

  .site-header.menu-open .site-nav--start {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .site-header.menu-open .site-nav a {
    min-height: 38px;
    padding: 0 8px;
    font-size: 13px;
  }

  .site-header.menu-open .header-actions--end {
    grid-template-columns: auto auto;
    gap: 7px;
  }

  .site-header.menu-open .header-auth-btn {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .site-header.menu-open .theme-toggle--inst {
    width: 50px;
    height: 32px;
  }

  .hero,
  .ticker,
  .content-section,
  .map-section,
  .calculator-section,
  .cta-section,
  .site-footer {
    width: calc(100% - 10px);
  }

  section,
  #top {
    scroll-margin-top: 92px;
  }

  .hero {
    margin-top: 14px;
  }

  .hero-copy,
  .feature-card,
  .calculator-shell,
  .cta-section {
    border-radius: 26px;
  }

  .hero-copy {
    padding: 20px 16px;
  }

  h1 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .hero-text,
  .section-heading p,
  .workflow p,
  .feature-card p,
  .cta-section p {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button,
  .contact-link {
    width: 100%;
    min-height: 46px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow,
  .calculator-shell,
  .calculator-results {
    grid-template-columns: 1fr;
  }

  .ticker {
    padding: 10px;
    border-radius: 22px;
  }

  .category-track > span {
    padding: 8px 12px;
    font-size: 13px;
  }

  .content-section,
  .map-section,
  .calculator-section,
  .cta-section {
    padding-top: 52px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .map-shell {
    border-radius: 28px;
  }

  .map-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 12px 12px;
  }

  .map-toolbar strong {
    font-size: 18px;
    line-height: 1.2;
  }

  .map-toolbar span {
    display: block;
    font-size: 13px;
    line-height: 1.35;
  }

  .map-toolbar > .geo-search,
  .geo-search {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex-basis: auto;
    padding: 5px;
    border-radius: 18px;
  }

  .geo-search input,
  .map-toolbar > .geo-search input {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 15px;
    font-size: 15px;
  }

  .geo-suggestions {
    z-index: 95;
    max-height: min(42dvh, 320px);
    border-radius: 18px;
  }

  .geo-suggestions button,
  .geo-empty {
    min-height: 44px;
    padding: 8px 10px;
  }

  .world-map,
  #world-map {
    height: clamp(390px, 72dvh, 560px);
    min-height: clamp(390px, 72dvh, 560px);
    touch-action: pan-y;
  }

  .country {
    stroke-width: 0.42;
  }

  .country:hover,
  .country.is-hovered,
  .country.is-active {
    stroke-width: 0.78;
  }

  .offer-tooltip {
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: min(52dvh, 360px) !important;
    margin: 0;
    padding: 14px;
    border-radius: 22px;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .tooltip-kicker {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .offer-tooltip h3 {
    font-size: 20px;
    line-height: 1.15;
  }

  .country-info {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 10px 0;
  }

  .country-info div,
  .offer-item {
    border-radius: 15px;
  }

  .offer-list {
    gap: 7px;
    margin-top: 10px;
  }

  .offer-item {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px;
  }

  .offer-item strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .offer-rate {
    font-size: 13px;
  }

  .calculator-shell {
    padding: 14px;
  }

  .calc-field input {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 14px;
    text-align: center;
  }

  .site-footer__brand,
  .site-footer__rights,
  .site-footer__link {
    justify-self: center;
  }
}

@media (max-width: 380px) {
  .site-header.menu-open .site-nav--start,
  .site-header.menu-open .header-actions--end {
    grid-template-columns: 1fr;
  }

  .site-header.menu-open .theme-toggle--inst {
    justify-self: center;
  }

  .site-header.menu-open .header-auth-btn {
    grid-column: 1;
  }

  .world-map,
  #world-map {
    height: 410px;
    min-height: 410px;
  }
}

/* --- Blended palette: Inst dots + middle color grade --- */
:root {
  --page-bg: #dae7ed;
  --page-dot: rgba(110, 196, 232, 0.3);
  --water-3: #1e6bb8;
  --water-bottom: #0f3560;

  --bg: var(--page-bg);
  --ink: #174a62;
  --muted: #567f8f;
  --menu-text: var(--ink);
  --menu-muted: var(--muted);
  --accent: #4aafd6;
  --accent-strong: #1d6fa8;
  --panel: rgba(255, 255, 255, 0.58);
  --panel-strong: rgba(255, 255, 255, 0.68);
  --line: #dce6ef;
  --line-dark: rgba(23, 74, 98, 0.1);
  --map: #c0daf0;
  --map-hover: #5eb0d8;
  --shadow: 0 12px 32px rgba(26, 74, 122, 0.1);
  --map-page: var(--page-bg);
  --map-water-flat: rgba(255, 255, 255, 0.5);
  --map-land-flat: #c0daf0;
  --map-land-hover-flat: #5eb0d8;
  --map-land-active-flat: #3caad2;
  --map-line-flat: rgba(255, 255, 255, 0.92);
  --map-disabled-flat: #d4e4ef;
}

:root[data-theme="dark"] {
  --page-bg: #0c1520;
  --page-dot: rgba(110, 196, 232, 0.12);

  --bg: var(--page-bg);
  --ink: #d0e4f0;
  --muted: #89a4bc;
  --menu-text: #e6f2fb;
  --menu-muted: var(--muted);
  --accent: #4aafd6;
  --accent-strong: #6ec4e8;
  --panel: rgba(12, 21, 32, 0.72);
  --panel-strong: rgba(16, 28, 40, 0.82);
  --line: #2a4158;
  --line-dark: rgba(255, 255, 255, 0.1);
  --map: #4a6a80;
  --map-hover: #5d86a0;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  --map-water-flat: var(--page-bg);
  --map-land-flat: #3f5f73;
  --map-land-hover-flat: #4f7890;
  --map-land-active-flat: #5f92ab;
  --map-line-flat: rgba(214, 232, 244, 0.34);
  --map-disabled-flat: #4a5864;
}

body,
:root[data-theme="dark"] body {
  color: var(--ink);
  background-color: var(--page-bg);
  background-image: radial-gradient(circle, var(--page-dot) 1px, transparent 1px);
  background-size: 18px 18px;
}

.ticker,
.map-section {
  background-color: var(--page-bg);
  background-image: radial-gradient(circle, var(--page-dot) 1px, transparent 1px);
  background-size: 18px 18px;
}

.glass,
.glass-lite,
.glass-dark,
.hero-copy,
.feature-card,
.workflow div,
.result-card,
.calc-budget,
.map-shell.glass,
.offer-tooltip,
.site-header.glass,
.site-footer.glass {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.map-shell.glass::before,
.map-shell.glass::after {
  opacity: 0.35;
}

h1,
h2,
h3,
.brand span,
.section-heading h2,
.map-toolbar strong,
.offer-tooltip h3,
.country-info strong,
.offer-item strong {
  color: var(--ink);
}

.section-heading p,
.hero-text,
.feature-card p,
.workflow p,
.map-toolbar span,
.country-info span,
.offer-item span,
.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
}

.world-map,
:root[data-theme="dark"] .world-map {
  background: var(--map-water-flat);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: none;
}

.country {
  fill: var(--map-land-flat);
  stroke: var(--map-line-flat);
  stroke-width: 0.75;
  opacity: 1;
  filter: none !important;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.country:hover,
.country.is-hovered {
  fill: var(--map-land-hover-flat);
  stroke: #ffffff;
  stroke-width: 0.85;
}

.country.is-active {
  fill: var(--map-land-active-flat);
  stroke: #ffffff;
  stroke-width: 1;
}

.country.is-disabled,
.country.is-disabled:hover,
.country.is-disabled.is-hovered,
.country.is-disabled.is-active {
  fill: var(--map-disabled-flat);
  stroke: var(--map-line-flat);
  opacity: 0.62;
  filter: none !important;
}

.map-toolbar > .geo-search {
  background: var(--panel-strong);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.map-toolbar > .geo-search input {
  color: var(--ink);
}

.map-toolbar > .geo-search input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.geo-suggestions {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.geo-suggestions button,
.geo-suggestions span,
.geo-empty {
  color: var(--ink);
}

.geo-suggestions button small {
  color: var(--muted);
}

.button-primary,
.header-auth-btn {
  color: #ffffff;
  background: linear-gradient(180deg, var(--water-3) 0%, var(--water-bottom) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(15, 53, 96, 0.17);
  text-shadow: none;
}

.button-primary:hover,
.header-auth-btn:hover {
  background: linear-gradient(135deg, var(--water-3) 0%, #3d9fd4 55%, #6ec4e8 100%);
  box-shadow: 0 6px 18px rgba(30, 107, 184, 0.24);
}

:root[data-theme="dark"] .map-toolbar strong,
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] .offer-tooltip h3,
:root[data-theme="dark"] .country-info strong,
:root[data-theme="dark"] .offer-item strong {
  color: #e6f2fb;
}

:root[data-theme="dark"] .map-toolbar span,
:root[data-theme="dark"] .country-info span,
:root[data-theme="dark"] .offer-item span {
  color: var(--muted);
}

:root[data-theme="dark"] .geo-suggestions {
  background: rgba(20, 34, 48, 0.96);
}

:root[data-theme="dark"] .geo-suggestions button,
:root[data-theme="dark"] .geo-suggestions span,
:root[data-theme="dark"] .geo-empty {
  color: #e6f2fb;
}

:root[data-theme="dark"] .button-ghost {
  color: #e6f2fb;
  background: rgba(20, 34, 48, 0.82);
  border-color: var(--line);
}

:root[data-theme="dark"] .ticker,
:root[data-theme="dark"] .map-section {
  background-color: var(--page-bg);
  background-image: radial-gradient(circle, var(--page-dot) 1px, transparent 1px);
  background-size: 18px 18px;
}

.hero .eyebrow {
  margin-bottom: 18px;
  font-size: clamp(14px, 1.7vw, 18px);
  letter-spacing: 0.1em;
  color: #8bc63e;
  background: linear-gradient(180deg, #9ed04a 0%, #8bc63e 38%, #5fa028 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.04;
}

:root[data-theme="dark"] .hero .eyebrow {
  color: #9ed04a;
  background: linear-gradient(180deg, #b4e06a 0%, #8bc63e 42%, #6aad32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calculator-shell .calc-budget strong,
.calculator-shell .result-card strong,
.calculator-shell .calc-field input:not([type="range"]) {
  color: var(--ink);
}

.calculator-shell .result-profit strong,
.calculator-shell .result-roi strong,
.calculator-shell .result-profit span,
.calculator-shell .result-roi span {
  color: var(--ink);
}

.calculator-shell .calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  min-height: 28px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--accent-strong);
  cursor: pointer;
}

.calculator-shell .calc-field input[type="range"]:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.calculator-shell .calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 88%, #ffffff);
  box-shadow: inset 0 1px 2px rgba(23, 74, 98, 0.08);
}

.calculator-shell .calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(23, 74, 98, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calculator-shell .calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(29, 111, 168, 0.24);
}

.calculator-shell .calc-field input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(0.98);
}

.calculator-shell .calc-field input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 88%, #ffffff);
  box-shadow: inset 0 1px 2px rgba(23, 74, 98, 0.08);
}

.calculator-shell .calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(23, 74, 98, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calculator-shell .calc-field input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(29, 111, 168, 0.24);
}

/* --- Header controls: liquid drop --- */
.lang-dropdown__trigger,
.theme-toggle--inst {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--line) 72%, rgba(255, 255, 255, 0.95));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.24)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(74, 175, 214, 0.12)),
    color-mix(in srgb, var(--liquid-fill-strong) 82%, transparent);
  backdrop-filter: blur(20px) saturate(1.36);
  -webkit-backdrop-filter: blur(20px) saturate(1.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 14px 0 24px rgba(255, 255, 255, 0.3),
    inset -14px 0 24px rgba(23, 74, 98, 0.09),
    0 2px 0 rgba(255, 255, 255, 0.5),
    0 10px 26px rgba(23, 74, 98, 0.16);
}

.lang-dropdown__trigger::before,
.theme-toggle.theme-toggle--inst::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -9px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 24% 50%, rgba(74, 175, 214, 0.42), transparent 46%),
    radial-gradient(ellipse at 76% 55%, rgba(110, 196, 232, 0.28), transparent 50%);
  filter: blur(9px);
  opacity: 0.88;
  pointer-events: none;
  z-index: -1;
}

.theme-toggle.theme-toggle--inst::after {
  display: none;
}

.lang-dropdown__trigger:hover,
.theme-toggle--inst:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 14px 0 24px rgba(255, 255, 255, 0.34),
    inset -14px 0 24px rgba(23, 74, 98, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.55),
    0 12px 30px rgba(29, 111, 168, 0.2);
}

:root[data-theme="dark"] .lang-dropdown__trigger,
:root[data-theme="dark"] .theme-toggle--inst {
  color: #f8fbff;
  border-color: color-mix(in srgb, var(--line) 88%, rgba(255, 255, 255, 0.24));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(74, 175, 214, 0.1)),
    color-mix(in srgb, var(--panel-strong) 88%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 12px 0 22px rgba(255, 255, 255, 0.08),
    inset -12px 0 22px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

/* --- Offerwall CTA inside map --- */
.map-offerwall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 3.5vw, 34px) clamp(22px, 4vw, 36px) clamp(28px, 4vw, 38px);
  text-align: center;
  border-top: 1px solid rgba(220, 230, 239, 0.75);
  scroll-margin-top: 112px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
}

.offerwall-copy {
  width: min(100%, 640px);
  padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(248, 252, 255, 0.34)),
    radial-gradient(ellipse at 50% 0%, rgba(110, 196, 232, 0.12), transparent 62%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 22px rgba(23, 74, 98, 0.06);
}

.offerwall-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.offerwall-text strong {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.offerwall-text span {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--muted);
}

.offerwall-btn {
  min-width: min(100%, 260px);
  justify-content: center;
}

:root[data-theme="dark"] .map-offerwall {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}

:root[data-theme="dark"] .offerwall-copy {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(ellipse at 50% 0%, rgba(110, 196, 232, 0.08), transparent 62%);
}

:root[data-theme="dark"] .offerwall-text strong {
  color: #e6f2fb;
}

@media (max-width: 700px) {
  .map-offerwall {
    gap: 16px;
    padding: 20px 16px 24px;
  }

  .offerwall-copy {
    padding: 16px 14px;
  }

  .offerwall-text {
    gap: 8px;
  }
}

/* --- UI polish: no glass hover flash, country badges --- */
.hero-copy.glass:hover,
.feature-card.glass:hover,
.workflow div.glass:hover,
.result-card.glass-lite:hover,
.result-card.glass-dark:hover,
.calculator-shell.glass:hover,
.map-shell.glass:hover,
.contacts-section.glass:hover,
.site-footer.glass:hover,
.glass:hover:not(.site-header):not(.button):not(.chip),
.glass-lite:hover:not(.button):not(.geo-search),
.glass-dark:hover:not(.button):not(.offer-tooltip) {
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: none;
}

.ticker.glass-dark {
  display: block;
  width: min(1180px, calc(100% - 28px));
  margin: 20px auto 0;
  padding: 1.35rem 14px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background-color: rgba(255, 255, 255, 0.24);
  background-image:
    radial-gradient(circle, rgba(110, 196, 232, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(248, 252, 255, 0.14));
  background-size: 18px 18px, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 28px rgba(23, 74, 98, 0.05);
}

:root[data-theme="dark"] .ticker.glass-dark {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.04);
  background-image:
    radial-gradient(circle, rgba(110, 196, 232, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.16);
}

.category-track > span {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow:
    0 4px 12px rgba(23, 74, 98, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ticker__name {
  color: var(--ink);
}

:root[data-theme="dark"] .category-track > span {
  color: #e6f2fb;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .ticker__name {
  color: #e6f2fb;
}

/* --- Advertiser contact form --- */
.contacts-block {
  width: min(1180px, calc(100% - 28px));
  margin: clamp(62px, 8vw, 110px) auto 0;
  scroll-margin-top: 112px;
}

.contacts-block__eyebrow {
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  text-align: center;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8bc63e;
  background: linear-gradient(180deg, #9ed04a 0%, #8bc63e 38%, #5fa028 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contacts-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(480px, 100%);
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 3.8vw, 40px) clamp(32px, 5vw, 54px) clamp(32px, 5vw, 54px);
  border-radius: 34px;
}

.contacts-intro {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

.contacts-intro h2 {
  max-width: 560px;
  margin-top: 0;
  margin-bottom: clamp(10px, 1.5vw, 14px);
}

.contacts-intro__text {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  line-height: 1.65;
}

.contacts-intro__link {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-intro__link:hover,
.contacts-intro__link:focus-visible {
  color: var(--accent);
}

.contacts-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: clamp(28px, 4vw, 44px);
}

.contacts-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.contacts-social__link:hover,
.contacts-social__link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.92;
}

.contacts-social__link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contacts-social__link--telegram {
  background: #2aabee;
  box-shadow: 0 6px 16px rgba(42, 171, 238, 0.28);
}

.contacts-social__link--facebook {
  background: #1877f2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.24);
}

.contacts-social__link--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 48%, #8134af 100%);
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.24);
}

.contacts-social__link--x {
  background: #111111;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.22);
}

.advertiser-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(22px, 3.5vw, 32px);
  border-radius: 28px;
}

.advertiser-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advertiser-form input:not([type="checkbox"]),
.advertiser-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 2px rgba(23, 74, 98, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.advertiser-form textarea {
  min-height: 132px;
  resize: vertical;
}

.advertiser-form input:not([type="checkbox"])::placeholder,
.advertiser-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
}

.advertiser-form input:not([type="checkbox"]):focus,
.advertiser-form textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  border-style: solid;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-strong) 18%, transparent);
}

.advertiser-form__terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

.advertiser-form__terms input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent-strong);
  cursor: pointer;
}

.advertiser-form__submit {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  justify-content: center;
}

.advertiser-form__success {
  margin: 0;
  padding: clamp(28px, 4vw, 40px) 12px;
  color: var(--accent-strong);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  letter-spacing: -0.02em;
}

:root[data-theme="dark"] .contacts-block__eyebrow {
  color: #9ed04a;
  background: linear-gradient(180deg, #b4e06a 0%, #8bc63e 42%, #6aad32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root[data-theme="dark"] .contacts-intro__text {
  color: var(--muted);
}

:root[data-theme="dark"] .advertiser-form input:not([type="checkbox"]),
:root[data-theme="dark"] .advertiser-form textarea {
  color: #111111;
  border-color: #c8d4de;
  background: #ffffff;
}

:root[data-theme="dark"] .advertiser-form input:not([type="checkbox"])::placeholder,
:root[data-theme="dark"] .advertiser-form textarea::placeholder {
  color: rgba(17, 17, 17, 0.45);
}

:root[data-theme="dark"] .advertiser-form input:not([type="checkbox"]):focus,
:root[data-theme="dark"] .advertiser-form textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
}

:root[data-theme="dark"] .advertiser-form__success {
  color: #8bc63e;
}

@media (max-width: 1120px) {
  .contacts-section {
    grid-template-columns: 1fr;
  }

  .contacts-intro {
    min-height: 0;
  }

  .contacts-social {
    margin-top: clamp(24px, 5vw, 32px);
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .contacts-block {
    margin-top: 52px;
  }

  .contacts-section {
    padding: 24px 16px;
    border-radius: 26px;
  }

  .advertiser-form {
    padding: 18px 14px;
    border-radius: 22px;
  }

  .advertiser-form input:not([type="checkbox"]),
  .advertiser-form textarea {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }
}

/* --- Mobile: compact header + iOS-style bottom tab bar --- */
.mobile-tab-bar {
  display: none;
}

@media (max-width: 1120px) {
  .mobile-tab-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin: 0;
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    color: var(--menu-text);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)),
      color-mix(in srgb, var(--menu-panel) 88%, transparent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 -10px 30px rgba(23, 74, 98, 0.1);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
  }

  :root[data-theme="dark"] .mobile-tab-bar {
    background:
      linear-gradient(180deg, rgba(30, 40, 58, 0.94), rgba(18, 24, 36, 0.9)),
      color-mix(in srgb, var(--menu-panel) 88%, transparent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 -10px 30px rgba(0, 0, 0, 0.28);
  }

  .mobile-tab-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 4px 2px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .mobile-tab-bar__item:hover,
  .mobile-tab-bar__item:focus-visible {
    color: var(--accent-strong);
  }

  .mobile-tab-bar__item.is-active {
    color: var(--accent-strong);
    background: rgba(74, 175, 214, 0.14);
  }

  .mobile-tab-bar__item--accent.is-active {
    background: rgba(29, 111, 168, 0.16);
  }

  .mobile-tab-bar__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .mobile-tab-bar__label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
  }

  .site-header {
    cursor: default;
  }

  .site-header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 56px;
  }

  .site-nav--start,
  .header-auth-btn {
    display: none !important;
  }

  .header-actions--end {
    display: flex !important;
    flex: none;
    width: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-top: 0;
  }

  .brand--center {
    position: static;
    transform: none;
    flex: 1;
    min-width: 0;
    justify-content: center;
  }

  main#top {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .site-footer {
    margin-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    min-height: 52px;
    padding: 6px 10px;
  }

  .lang-dropdown__trigger {
    min-width: 46px;
    height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .theme-toggle--inst {
    width: 50px;
    height: 32px;
  }
}

/* --- Mobile world map: larger default + split view when country selected --- */
@media (max-width: 700px) {
  .world-map {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: clamp(420px, 62dvh, 680px) !important;
    height: clamp(420px, 62dvh, 680px) !important;
    touch-action: pan-y;
  }

  #world-map {
    flex: 1 1 auto;
    width: 100% !important;
    min-height: clamp(420px, 62dvh, 680px) !important;
    height: 100% !important;
    touch-action: pan-y;
  }

  .world-map.world-map--has-panel {
    min-height: clamp(520px, 84dvh, 820px) !important;
    height: clamp(520px, 84dvh, 820px) !important;
  }

  .world-map.world-map--has-panel #world-map {
    flex: 0 0 clamp(210px, 36dvh, 320px);
    min-height: clamp(210px, 36dvh, 320px) !important;
    height: clamp(210px, 36dvh, 320px) !important;
  }

  .world-map .offer-tooltip {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: none;
    flex: 1 1 auto;
    width: auto !important;
    min-height: 0;
    max-height: none !important;
    margin: 0 8px 8px;
    padding: 14px;
    border-radius: 22px;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    transform: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .world-map .offer-tooltip.is-visible {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .world-map .geo-search {
    z-index: 30;
  }
}

@media (max-width: 380px) {
  .world-map,
  #world-map {
    min-height: clamp(400px, 60dvh, 620px) !important;
    height: clamp(400px, 60dvh, 620px) !important;
  }

  .world-map.world-map--has-panel {
    min-height: clamp(500px, 82dvh, 760px) !important;
    height: clamp(500px, 82dvh, 760px) !important;
  }

  .world-map.world-map--has-panel #world-map {
    flex-basis: clamp(190px, 34dvh, 280px);
    min-height: clamp(190px, 34dvh, 280px) !important;
    height: clamp(190px, 34dvh, 280px) !important;
  }
}

/* --- Dark theme: map palette, uniform section bg, readable inputs --- */
:root[data-theme="dark"] .map-shell.glass {
  background-color: var(--page-bg);
  background-image: radial-gradient(circle, var(--page-dot) 1px, transparent 1px);
  background-size: 18px 18px;
}

:root[data-theme="dark"] .map-shell.glass::before,
:root[data-theme="dark"] .map-shell.glass::after {
  opacity: 0;
}

:root[data-theme="dark"] .world-map {
  background-color: var(--page-bg);
  background-image: radial-gradient(circle, var(--page-dot) 1px, transparent 1px);
  background-size: 18px 18px;
}

:root[data-theme="dark"] .geo-search,
:root[data-theme="dark"] .map-toolbar > .geo-search,
:root[data-theme="dark"] .world-map .geo-search {
  background: #ffffff;
  border-color: #c8d4de;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .geo-search input,
:root[data-theme="dark"] .map-toolbar > .geo-search input,
:root[data-theme="dark"] .world-map .geo-search input {
  color: #111111;
  background: #ffffff;
}

:root[data-theme="dark"] .geo-search input::placeholder,
:root[data-theme="dark"] .map-toolbar > .geo-search input::placeholder,
:root[data-theme="dark"] .world-map .geo-search input::placeholder {
  color: rgba(17, 17, 17, 0.45);
}
