:root {
  --bg: #03060d;
  --bg-soft: #070d18;
  --surface: #0c1424;
  --surface2: #111b2e;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(0, 80, 255, 0.45);
  --text: #e8eef9;
  --muted: #8b9cbc;
  --muted2: #5c6d8c;
  --accent: #0050ff;
  --accent-hover: #0045db;
  --accent-soft: #2d72f8;
  --glow: rgba(0, 80, 255, 0.35);
  --green: #3bd671;

  --header-bg: rgba(3, 6, 13, 0.82);
  --hero-bg-top: #010818;
  --hero-bg-opacity: 1;
  --panel-bg-1: #010f29;
  --panel-bg-2: #061022;
  --panel-title-color: #fff;
  --panel-desc-color: #b8c5dc;
  --section-tip-on-dark-color: #7aa8ff;
  --hero-title-mid: #8eb7ff;

  --radius: 16px;
  --radius-sm: 10px;
  --font: "Golos Text", system-ui, sans-serif;
  --display: "Sora", var(--font);
  --mono: ui-monospace, "Cascadia Code", monospace;
  --max: 1140px;
  --header-h: 64px;

  --page-pad: clamp(12px, 4vw, 24px);

  --plan-config-bg: rgba(6, 11, 24, 0.88);
  --plan-config-border: rgba(255, 255, 255, 0.07);
  --plan-config-divider: rgba(255, 255, 255, 0.06);
  --plan-config-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px rgba(0, 0, 0, 0.35);

  --plan-loc-btn-bg: rgba(255, 255, 255, 0.03);
  --plan-showcase-border-top: rgba(255, 255, 255, 0.06);
  --plan-showcase-stage-shadow: 0 20px 56px rgba(0, 15, 45, 0.5);

  --plan-tier-btn-text: var(--muted);
  --plan-tier-btn-bg: rgba(255, 255, 255, 0.03);
  --plan-tier-btn-border: rgba(255, 255, 255, 0.12);

  --plan-spotlight-bg1: rgba(255, 255, 255, 0.045);
  --plan-spotlight-bg2: rgba(255, 255, 255, 0.02);
  --plan-spotlight-text: var(--text);
  --plan-spotlight-border: rgba(255, 255, 255, 0.12);
  --plan-spotlight-loc: var(--muted);

  --plan-spec-border: rgba(255, 255, 255, 0.12);
  --plan-spec-bg: rgba(255, 255, 255, 0.01);
  --plan-spec-row-divider: rgba(255, 255, 255, 0.06);
  --plan-spec-k: var(--muted2);
  --plan-spec-v: var(--text);

  --plan-price-bg1: var(--accent-tint-12);
  --plan-price-bg2: var(--accent-tint-08);
  --plan-price-row-border-top: var(--accent-tint-12);
  --plan-price-k: var(--muted2);

  --accent-tint-08: rgba(0, 80, 255, 0.08);
  --accent-tint-10: rgba(0, 80, 255, 0.1);
  --accent-tint-12: rgba(0, 80, 255, 0.12);
  --accent-tint-20: rgba(0, 80, 255, 0.2);
  --accent-tint-35: rgba(0, 80, 255, 0.35);
  --accent-tint-45: rgba(0, 80, 255, 0.45);
  --accent-tint-55: rgba(0, 80, 255, 0.55);
  --accent-soft-08: rgba(45, 114, 248, 0.08);
  --accent-soft-15: rgba(45, 114, 248, 0.15);
  --accent-soft-18: rgba(45, 114, 248, 0.18);
  --hero-glow-radial: radial-gradient(circle, rgba(0, 80, 255, 0.22) 0%, transparent 68%);
  --hero-blob-1: radial-gradient(
    ellipse 80% 70% at 35% 40%,
    rgba(0, 80, 255, 0.2) 0%,
    rgba(45, 114, 248, 0.08) 45%,
    transparent 72%
  );
  --hero-blob-2: radial-gradient(
    ellipse 75% 65% at 50% 45%,
    rgba(0, 80, 255, 0.14) 0%,
    rgba(0, 80, 255, 0.05) 50%,
    transparent 70%
  );
  --hero-blob-3: radial-gradient(ellipse 70% 80% at 40% 35%, rgba(45, 114, 248, 0.18) 0%, transparent 68%);
  --hero-blob-4: radial-gradient(
    circle at 45% 50%,
    rgba(0, 80, 255, 0.16) 0%,
    rgba(0, 80, 255, 0.04) 55%,
    transparent 72%
  );
  --plans-section-glow: radial-gradient(ellipse 85% 55% at 50% -15%, rgba(0, 80, 255, 0.055), transparent 58%);
  --plan-showcase-frame: linear-gradient(
    145deg,
    rgba(0, 80, 255, 0.45) 0%,
    rgba(45, 114, 248, 0.15) 40%,
    rgba(255, 255, 255, 0.06) 100%
  );
  --plan-showcase-glow: radial-gradient(circle at 40% 0%, rgba(0, 80, 255, 0.09), transparent 58%);
}

:root[data-palette="aurora"] {
  --bg: #020d12;
  --bg-soft: #05161c;
  --surface: #0a1a22;
  --surface2: #0f222c;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(45, 212, 191, 0.45);
  --text: #e8f4f2;
  --muted: #7a9e9a;
  --muted2: #4f6f6c;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: #2dd4bf;
  --glow: rgba(45, 212, 191, 0.35);

  --header-bg: rgba(2, 13, 18, 0.82);
  --hero-bg-top: #011218;
  --hero-bg-opacity: 1;
  --panel-bg-1: #031a20;
  --panel-bg-2: #061f28;
  --panel-title-color: #fff;
  --panel-desc-color: #a8c9c4;
  --section-tip-on-dark-color: #5eead4;
  --hero-title-mid: #7dd3c9;

  --plan-price-row-border-top: rgba(45, 212, 191, 0.12);

  --accent-tint-08: rgba(13, 148, 136, 0.12);
  --accent-tint-10: rgba(13, 148, 136, 0.14);
  --accent-tint-12: rgba(13, 148, 136, 0.16);
  --accent-tint-20: rgba(45, 212, 191, 0.22);
  --accent-tint-35: rgba(45, 212, 191, 0.35);
  --accent-tint-45: rgba(45, 212, 191, 0.45);
  --accent-tint-55: rgba(45, 212, 191, 0.55);
  --accent-soft-08: rgba(94, 234, 212, 0.1);
  --accent-soft-15: rgba(94, 234, 212, 0.18);
  --accent-soft-18: rgba(94, 234, 212, 0.2);
  --hero-glow-radial: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 68%);
  --hero-blob-1: radial-gradient(
    ellipse 80% 70% at 35% 40%,
    rgba(13, 148, 136, 0.22) 0%,
    rgba(45, 212, 191, 0.08) 45%,
    transparent 72%
  );
  --hero-blob-2: radial-gradient(
    ellipse 75% 65% at 50% 45%,
    rgba(13, 148, 136, 0.16) 0%,
    rgba(13, 148, 136, 0.06) 50%,
    transparent 70%
  );
  --hero-blob-3: radial-gradient(ellipse 70% 80% at 40% 35%, rgba(94, 234, 212, 0.16) 0%, transparent 68%);
  --hero-blob-4: radial-gradient(
    circle at 45% 50%,
    rgba(13, 148, 136, 0.14) 0%,
    rgba(13, 148, 136, 0.05) 55%,
    transparent 72%
  );
  --plans-section-glow: radial-gradient(ellipse 85% 55% at 50% -15%, rgba(13, 148, 136, 0.06), transparent 58%);
  --plan-showcase-frame: linear-gradient(
    145deg,
    rgba(13, 148, 136, 0.42) 0%,
    rgba(45, 212, 191, 0.14) 40%,
    rgba(255, 255, 255, 0.06) 100%
  );
  --plan-showcase-glow: radial-gradient(circle at 40% 0%, rgba(45, 212, 191, 0.08), transparent 58%);
}

:root[data-palette="ember"] {
  --bg: #0c0806;
  --bg-soft: #140e0a;
  --surface: #1a1410;
  --surface2: #221a14;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(251, 146, 60, 0.45);
  --text: #f5ebe6;
  --muted: #a8988f;
  --muted2: #6f625c;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #fb923c;
  --glow: rgba(234, 88, 12, 0.35);

  --header-bg: rgba(12, 8, 6, 0.82);
  --hero-bg-top: #100a06;
  --hero-bg-opacity: 1;
  --panel-bg-1: #1a0f08;
  --panel-bg-2: #140d09;
  --panel-title-color: #fff;
  --panel-desc-color: #d4c4b8;
  --section-tip-on-dark-color: #fdba74;
  --hero-title-mid: #fdba74;

  --plan-price-row-border-top: rgba(234, 88, 12, 0.12);

  --accent-tint-08: rgba(234, 88, 12, 0.1);
  --accent-tint-10: rgba(234, 88, 12, 0.12);
  --accent-tint-12: rgba(234, 88, 12, 0.14);
  --accent-tint-20: rgba(251, 146, 60, 0.22);
  --accent-tint-35: rgba(251, 146, 60, 0.35);
  --accent-tint-45: rgba(251, 146, 60, 0.45);
  --accent-tint-55: rgba(251, 146, 60, 0.55);
  --accent-soft-08: rgba(253, 186, 116, 0.1);
  --accent-soft-15: rgba(253, 186, 116, 0.16);
  --accent-soft-18: rgba(253, 186, 116, 0.18);
  --hero-glow-radial: radial-gradient(circle, rgba(234, 88, 12, 0.2) 0%, transparent 68%);
  --hero-blob-1: radial-gradient(
    ellipse 80% 70% at 35% 40%,
    rgba(234, 88, 12, 0.2) 0%,
    rgba(251, 146, 60, 0.08) 45%,
    transparent 72%
  );
  --hero-blob-2: radial-gradient(
    ellipse 75% 65% at 50% 45%,
    rgba(234, 88, 12, 0.14) 0%,
    rgba(234, 88, 12, 0.05) 50%,
    transparent 70%
  );
  --hero-blob-3: radial-gradient(ellipse 70% 80% at 40% 35%, rgba(251, 146, 60, 0.16) 0%, transparent 68%);
  --hero-blob-4: radial-gradient(
    circle at 45% 50%,
    rgba(234, 88, 12, 0.14) 0%,
    rgba(234, 88, 12, 0.04) 55%,
    transparent 72%
  );
  --plans-section-glow: radial-gradient(ellipse 85% 55% at 50% -15%, rgba(234, 88, 12, 0.055), transparent 58%);
  --plan-showcase-frame: linear-gradient(
    145deg,
    rgba(234, 88, 12, 0.42) 0%,
    rgba(251, 146, 60, 0.14) 40%,
    rgba(255, 255, 255, 0.06) 100%
  );
  --plan-showcase-glow: radial-gradient(circle at 40% 0%, rgba(234, 88, 12, 0.09), transparent 58%);
}

:root[data-palette="nocturne"] {
  --bg: #08060f;
  --bg-soft: #0d0a18;
  --surface: #14101f;
  --surface2: #1a1528;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(167, 139, 250, 0.45);
  --text: #ece8f7;
  --muted: #9b92b3;
  --muted2: #6b6280;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-soft: #a78bfa;
  --glow: rgba(124, 58, 237, 0.35);

  --header-bg: rgba(8, 6, 15, 0.82);
  --hero-bg-top: #0a0614;
  --hero-bg-opacity: 1;
  --panel-bg-1: #120e1e;
  --panel-bg-2: #0f0c1a;
  --panel-title-color: #fff;
  --panel-desc-color: #c4bdd4;
  --section-tip-on-dark-color: #c4b5fd;
  --hero-title-mid: #c4b5fd;

  --plan-price-row-border-top: rgba(124, 58, 237, 0.12);

  --accent-tint-08: rgba(124, 58, 237, 0.1);
  --accent-tint-10: rgba(124, 58, 237, 0.12);
  --accent-tint-12: rgba(124, 58, 237, 0.14);
  --accent-tint-20: rgba(167, 139, 250, 0.22);
  --accent-tint-35: rgba(167, 139, 250, 0.35);
  --accent-tint-45: rgba(167, 139, 250, 0.45);
  --accent-tint-55: rgba(167, 139, 250, 0.55);
  --accent-soft-08: rgba(196, 181, 253, 0.1);
  --accent-soft-15: rgba(196, 181, 253, 0.16);
  --accent-soft-18: rgba(196, 181, 253, 0.18);
  --hero-glow-radial: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 68%);
  --hero-blob-1: radial-gradient(
    ellipse 80% 70% at 35% 40%,
    rgba(124, 58, 237, 0.2) 0%,
    rgba(167, 139, 250, 0.08) 45%,
    transparent 72%
  );
  --hero-blob-2: radial-gradient(
    ellipse 75% 65% at 50% 45%,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(124, 58, 237, 0.05) 50%,
    transparent 70%
  );
  --hero-blob-3: radial-gradient(ellipse 70% 80% at 40% 35%, rgba(167, 139, 250, 0.16) 0%, transparent 68%);
  --hero-blob-4: radial-gradient(
    circle at 45% 50%,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(124, 58, 237, 0.04) 55%,
    transparent 72%
  );
  --plans-section-glow: radial-gradient(ellipse 85% 55% at 50% -15%, rgba(124, 58, 237, 0.055), transparent 58%);
  --plan-showcase-frame: linear-gradient(
    145deg,
    rgba(124, 58, 237, 0.42) 0%,
    rgba(167, 139, 250, 0.14) 40%,
    rgba(255, 255, 255, 0.06) 100%
  );
  --plan-showcase-glow: radial-gradient(circle at 40% 0%, rgba(124, 58, 237, 0.09), transparent 58%);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

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

a:hover {
  color: var(--accent-soft);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(100% - 2 * var(--page-pad), var(--max));
  margin-inline: auto;
  box-sizing: border-box;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  color: var(--text);
  text-transform: lowercase;
}

.logo__tld {
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-select {
  appearance: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 1.75rem 0.4rem 0.55rem;
  cursor: pointer;
  max-width: 8.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b9cbc' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
}

.lang-select:hover,
.lang-select:focus {
  color: var(--text);
  border-color: var(--border-hover);
}

.lang-select:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

html[data-locale="zh"] body {
  font-family: "Noto Sans SC", var(--font);
}

html[data-locale="fa"] body {
  font-family: "Vazirmatn", var(--font);
}

html[dir="rtl"] .header__inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .header__actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer__bottom {
  flex-direction: row-reverse;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem var(--page-pad) 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.35rem 0;
}

.mobile-nav.is-open {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.palette-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.palette-toggle:hover {
  border-color: var(--border-hover);
  background: var(--accent-tint-08);
}

.palette-toggle:active {
  transform: translateY(1px);
}

.palette-toggle:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

.palette-toggle::before {
  content: "◐";
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

html[data-palette="aurora"] .palette-toggle::before {
  content: "◇";
}

html[data-palette="ember"] .palette-toggle::before {
  content: "◆";
}

html[data-palette="nocturne"] .palette-toggle::before {
  content: "✦";
}

.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--bg) 55%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--hero-bg-opacity);
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  border-radius: 50%;
  background: var(--hero-glow-radial);
}

.hero__blob {
  position: absolute;
  background: var(--hero-blob-1);
  filter: blur(0.5px);
  opacity: 0.95;
}

.hero__blob--1 {
  --blob-rot: -18deg;
  top: 8%;
  inset-inline-start: -4%;
  width: min(42vw, 220px);
  height: min(36vw, 190px);
  border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%;
}

.hero__blob--2 {
  --blob-rot: 12deg;
  bottom: -5%;
  inset-inline-start: 12%;
  width: min(50vw, 280px);
  height: min(38vw, 200px);
  border-radius: 45% 55% 52% 48% / 58% 42% 55% 45%;
  background: var(--hero-blob-2);
}

.hero__blob--3 {
  --blob-rot: 22deg;
  top: 38%;
  inset-inline-end: 8%;
  width: min(28vw, 140px);
  height: min(32vw, 150px);
  border-radius: 62% 38% 48% 52% / 42% 58% 38% 62%;
  background: var(--hero-blob-3);
}

.hero__blob--4 {
  --blob-rot: -35deg;
  bottom: 18%;
  inset-inline-end: 22%;
  width: min(22vw, 110px);
  height: min(20vw, 95px);
  border-radius: 48% 52% 55% 45% / 52% 48% 50% 50%;
  opacity: 0.85;
  background: var(--hero-blob-4);
}

@media (prefers-reduced-motion: reduce) {
  .hero__blob {
    transform: rotate(var(--blob-rot));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__blob {
    animation: heroBlobDrift 22s ease-in-out infinite alternate;
  }

  .hero__blob--2 {
    animation-duration: 26s;
    animation-delay: -4s;
  }

  .hero__blob--3 {
    animation-duration: 19s;
    animation-delay: -8s;
  }

  .hero__blob--4 {
    animation-duration: 24s;
    animation-delay: -12s;
  }
}

@keyframes heroBlobDrift {
  0% {
    transform: translate(0, 0) rotate(var(--blob-rot, 0deg)) scale(1);
  }
  100% {
    transform: translate(1.2%, -1.8%) rotate(calc(var(--blob-rot, 0deg) + 4deg)) scale(1.04);
  }
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero__copy {
  min-width: 0;
  max-width: 52rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}

.hero__art {
  width: 100%;
  max-width: min(440px, 100%);
  height: auto;
  vertical-align: middle;
  filter: drop-shadow(0 24px 48px rgba(0, 40, 120, 0.35));
}

html[dir="rtl"] .hero__layout {
  direction: rtl;
}

html[dir="rtl"] .hero__layout > * {
  direction: ltr;
}

html[dir="rtl"] .hero__copy {
  text-align: right;
}

.hero__tip {
  margin-bottom: 1rem;
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(2.25rem, 6.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.hero__gradient {
  background: linear-gradient(105deg, #fff 0%, var(--hero-title-mid) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--accent-tint-08);
  border: 1px solid var(--accent-tint-20);
  border-radius: 999px;
}

.chip--loc {
  gap: 0.45rem;
}

.flag {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.flag--de {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='1' fill='%23000'/%3E%3Crect y='1' width='5' height='1' fill='%23DD0000'/%3E%3Crect y='2' width='5' height='1' fill='%23FFCE00'/%3E%3C/svg%3E");
}

.flag--fi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Crect width='18' height='11' fill='%23fff'/%3E%3Crect x='5' width='3' height='11' fill='%23003580'/%3E%3Crect y='4' width='18' height='3' fill='%23003580'/%3E%3C/svg%3E");
}

.flag--sm {
  width: 20px;
  height: 12px;
}

.flag--lg {
  width: 52px;
  height: 31px;
  border-radius: 4px;
}

.section-tip {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.section-tip--on-dark {
  color: var(--section-tip-on-dark-color);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-desc {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head--light .section-title {
  color: var(--panel-title-color);
}

.section-head--light .section-desc {
  color: var(--panel-desc-color);
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--panel {
  background: linear-gradient(165deg, var(--panel-bg-1) 0%, var(--panel-bg-2) 50%, var(--bg-soft) 100%);
  border-block: 1px solid var(--border);
}

.band--stats {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.band__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat__num {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat__lbl {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 22ch;
}

.regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.region-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s;
}

.region-card:hover {
  border-color: var(--accent-tint-35);
}

.region-card__photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface2);
}

.region-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.region-card:hover .region-card__photo img {
  transform: scale(1.035);
}

.region-card__body {
  padding: 1.75rem;
}

.region-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.region-card__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.region-card__flag .flag--lg {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.region-card__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.region-card__city {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-soft);
}

.region-card__hw {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.region-card__hw strong {
  color: var(--text);
  font-weight: 600;
}

.region-card__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.region-card__meta li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.section--about {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(200px, 0.78fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__art {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

html[dir="rtl"] .about-layout {
  direction: rtl;
}

html[dir="rtl"] .about-layout > * {
  direction: ltr;
}

.section--teaser {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.teaser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface2) 0%, var(--surface) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.teaser-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
  min-width: 0;
}

.teaser-card__ribbon {
  display: none;
  flex-shrink: 0;
  align-items: flex-start;
  padding-top: 0.12em;
}

.teaser-card__ribbon.is-visible {
  display: flex;
}

.teaser-card__badge {
  padding: 0.2rem 0.5rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.teaser-card__name {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.teaser-spec {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.teaser-spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.teaser-spec__row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.teaser-spec__k {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  color: var(--muted2);
}

.teaser-spec__v {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.teaser-spec__v--price {
  color: var(--accent-soft);
  font-size: 0.95rem;
  font-family: var(--display);
}

.teaser-card .btn {
  margin-top: auto;
  width: 100%;
}

.teaser-foot {
  margin: 0;
}

.teaser-foot__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-soft);
}

.teaser-foot__link:hover {
  color: var(--accent);
}

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

.hw-card {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.hw-card__title {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hw-card__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b8c5dc;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.faq-item {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.faq-item__q {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.faq-item__a {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.faq-item__a p {
  margin: 0 0 0.65rem;
}

.faq-item__a p:last-child {
  margin-bottom: 0;
}

.faq-item__bullets {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.faq-item__bullets li {
  margin-bottom: 0.35rem;
}

.faq-item__bullets li:last-child {
  margin-bottom: 0;
}

.section--plans {
  background:
    var(--plans-section-glow),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.section--plans .section-head {
  position: relative;
  z-index: 1;
  padding-inline: 0.25rem;
}

.plan-configurator {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3vw, 2rem);
  min-width: 0;
  width: 100%;
  padding: clamp(1.35rem, 4vw, 2rem);
  border-radius: 20px;
  border: 1px solid var(--plan-config-border);
  background: var(--plan-config-bg);
  box-shadow: var(--plan-config-shadow);
  backdrop-filter: blur(10px);
}

.plan-configurator__block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}

.plan-configurator__block + .plan-configurator__block {
  padding-top: clamp(0.85rem, 2vw, 1.15rem);
  border-top: 1px solid var(--plan-config-divider);
}

.plan-configurator__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
}

.plan-configurator__hint {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.plan-loc-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.plan-loc-bar__btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  background: var(--plan-loc-btn-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.plan-loc-bar__btn:hover {
  border-color: var(--accent-tint-35);
}

.plan-loc-bar__btn.is-active {
  border-color: var(--accent-tint-55);
  background: var(--accent-tint-10);
  box-shadow: 0 0 0 1px var(--accent-tint-20);
}

.plan-loc-bar__btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

.plan-loc-bar__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.plan-loc-bar__text strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.plan-loc-bar__text small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

.plan-tier-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.plan-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  min-width: min(100%, 680px);
}

@media (min-width: 900px) {
  .plan-tier-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.plan-tier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.45rem 0.35rem;
  font-family: inherit;
  color: var(--plan-tier-btn-text);
  background: var(--plan-tier-btn-bg);
  border: 1px solid var(--plan-tier-btn-border);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s, transform 0.1s;
}

.plan-tier-btn:hover {
  border-color: var(--accent-tint-35);
}

.plan-tier-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.plan-tier-btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

.plan-tier-btn__code {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

.plan-showcase {
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding-top: clamp(0.85rem, 2vw, 1.15rem);
  border-top: 1px solid var(--plan-showcase-border-top);
}

.plan-showcase__stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 1px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--plan-showcase-frame);
  box-shadow: var(--plan-showcase-stage-shadow);
}

.plan-showcase__stage--wide {
  max-width: 440px;
}

.plan-showcase__glow {
  position: absolute;
  inset: -12%;
  background: var(--plan-showcase-glow);
  pointer-events: none;
  border-radius: 18px;
  z-index: 0;
}

.plan-spotlight {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 17px;
  background: linear-gradient(180deg, var(--plan-spotlight-bg1) 0%, var(--plan-spotlight-bg2) 100%);
  color: var(--plan-spotlight-text);
  border: 1px solid var(--plan-spotlight-border);
}

.plan-spotlight__head {
  margin-bottom: 0.35rem;
}

.plan-spotlight__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.65rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.plan-spotlight__ribbon {
  display: none;
  flex-shrink: 0;
  align-items: flex-start;
  padding-top: 0.15em;
}

.plan-spotlight__ribbon.is-visible {
  display: flex;
}

.plan-spotlight__badge {
  padding: 0.22rem 0.5rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.plan-spotlight__loc {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plan-spotlight-loc);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.plan-spotlight__name {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.plan-spec {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--plan-spec-border);
  overflow: hidden;
  background: var(--plan-spec-bg);
}

.plan-spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--plan-spec-row-divider);
}

.plan-spec__row:last-child {
  border-bottom: none;
}

.plan-spec__k {
  color: var(--plan-spec-k);
  font-weight: 500;
}

.plan-spec__v {
  font-family: var(--display);
  font-weight: 600;
  color: var(--plan-spec-v);
  text-align: right;
}

.plan-spec__row--price {
  padding: 0.75rem 0.85rem;
  background: linear-gradient(90deg, var(--plan-price-bg1) 0%, var(--plan-price-bg2) 100%);
  border-top: 1px solid var(--plan-price-row-border-top);
}

.plan-spec__row--price .plan-spec__k {
  color: var(--plan-price-k);
  font-weight: 600;
}

.plan-spec__price {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.plan-spotlight__btn {
  margin: 0;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.support .section-desc {
  max-width: none;
}

.support__bullets {
  margin: 1.5rem 0 2rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.support__bullets li {
  margin-bottom: 0.45rem;
}

.support__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.support__aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support__card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.support__k {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.support__v {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.footer {
  padding: 2.75rem 0 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2rem 2.5rem;
  padding-bottom: 2.25rem;
}

.footer__col--brand .logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer__lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 28rem;
}

.footer__h {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer__list a {
  color: var(--muted);
  font-weight: 500;
}

.footer__list a:hover {
  color: var(--accent-soft);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--border);
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted2);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.78rem;
  color: var(--muted2);
}

.footer__legal-link {
  color: var(--muted);
  font-weight: 500;
}

.footer__legal-link:hover {
  color: var(--accent-soft);
}

.footer__legal-note {
  max-width: 22rem;
  line-height: 1.4;
}

.logo--footer .logo__mark {
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }
}

@media (max-width: 1200px) {
  .hero__copy {
    max-width: 100%;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    min-height: 0;
    padding-bottom: 0.25rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about__visual {
    order: -1;
  }

  .about__art {
    max-width: min(360px, 100%);
  }
}

@media (max-width: 1024px) {
  .section {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  }

  .hero {
    padding: clamp(2.75rem, 8vw, 5rem) 0 clamp(2.25rem, 6vw, 4rem);
  }

  .hero__glow {
    width: min(88vw, 400px);
    height: min(88vw, 400px);
    right: -12%;
    top: -10%;
  }

  .band--stats {
    padding: 1.35rem 0;
  }

  .plan-configurator {
    max-width: min(100%, 40rem);
  }

  .support {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header {
    height: auto;
  }

  .nav {
    display: none;
  }

  .header__actions .btn--ghost {
    display: none;
  }

  /* Mobile header should stay one-row for controls; otherwise fixed header height
     causes visual break/overlap. */
  .header__actions {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  /* Telegram button doesn't fit header width on small screens. */
  .header__actions .btn--primary {
    display: none;
  }

  .header__actions .lang-select {
    max-width: 5.5rem;
    font-size: 0.78rem;
    padding: 0.35rem 1.15rem 0.35rem 0.45rem;
    background-position: right 0.35rem center;
  }

  .burger {
    display: flex;
  }

  .mobile-nav:not([hidden]).is-open {
    display: flex;
  }

  .section-head {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
  }

  .hero__lead {
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    margin-bottom: 1.5rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .band__stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat__num {
    font-size: 1.5rem;
  }

  .regions {
    grid-template-columns: 1fr;
  }

  .teaser-grid,
  .hw-grid {
    grid-template-columns: 1fr;
  }

  .support {
    grid-template-columns: 1fr;
  }

  .plan-loc-bar {
    grid-template-columns: 1fr;
  }

  .plan-loc-bar__btn {
    min-height: 3.5rem;
  }

  .plan-spotlight {
    padding: 1.1rem 1rem 1rem;
  }

  .plan-showcase__stage,
  .plan-showcase__stage--wide {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .plan-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .plan-tier-btn {
    min-height: 3rem;
    padding: 0.4rem 0.28rem;
  }

  .plan-tier-btn__code {
    font-size: 0.82rem;
  }

  .chip {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
  }

  .hero__tip {
    font-size: 0.72rem;
  }

  .logo {
    font-size: 1.05rem;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .plan-spec__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.5rem 0.65rem;
  }

  .plan-spec__v {
    text-align: left;
    width: 100%;
  }

  .plan-spec__price {
    font-size: 1rem;
  }

  .plan-spotlight__name {
    font-size: 1.1rem;
  }

  .region-card__body {
    padding: 1.35rem;
  }
}

@media (max-width: 380px) {
  :root {
    --header-h: 56px;
  }

  .header__actions .lang-select {
    max-width: 4.8rem;
    font-size: 0.72rem;
    padding: 0.32rem 0.95rem 0.32rem 0.4rem;
    background-position: right 0.32rem center;
  }

  .burger {
    width: 42px;
    height: 42px;
  }

  .btn--lg {
    padding: 0.75rem 1.35rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.scroll-top {
  position: fixed;
  right: var(--page-pad);
  bottom: calc(var(--page-pad) + env(safe-area-inset-bottom, 0px));
  z-index: 60;

  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.15s ease, background 0.15s ease;
}

.scroll-top::before {
  content: "↑";
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--border-hover);
  background: var(--accent-tint-08);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

