.payment-option[hidden] { display: none; }
/* ProON Signal — landing styles */
@font-face {
  font-family: "Fredoka Expanded";
  src: url("/assets/fonts/fredoka-expanded-semibold.ttf?v=20260829logo3") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #08090B;
  --bg-elevated: #0E1014;
  --bg-card: #12151A;
  --bg-card-hover: #161A21;
  --red: #F12632;
  --red-deep: #A30F1B;
  --red-soft: rgba(241, 38, 50, 0.14);
  --red-line: rgba(241, 38, 50, 0.45);
  --text: #F5F6F7;
  --muted: #969BA5;
  --muted-2: #6B7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-red: 0 0 40px rgba(241, 38, 50, 0.18);
  --font-display: "Arial Rounded MT Bold", "Arial Rounded MT", ui-rounded, Arial, sans-serif;
  --font-body: "Arial Rounded MT Bold", "Arial Rounded MT", ui-rounded, Arial, sans-serif;
  --container: 1120px;
  --header-h: 88px;
  --type-button: 14.4px;
  --type-nav: 16.8px;
  --type-logo: 50.88px;
  --type-h1: 71.68px;
  --type-h1-line: 70.25px;
  --type-lead: 16.64px;
  --type-lead-line: 27.46px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: var(--type-lead-line);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button {
  font-family: var(--font-body);
  font-size: var(--type-button);
  font-weight: 600;
}
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Draft banner */
.draft-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #3a0a0e, #1a0508 40%, #3a0a0e);
  border-bottom: 1px solid var(--red-line);
  color: #ffc9cc;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

.draft-banner strong { color: #fff; }

/* Atmosphere */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(241, 38, 50, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(163, 15, 27, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 80%, rgba(241, 38, 50, 0.08), transparent 45%),
    linear-gradient(180deg, #08090B 0%, #0A0C10 50%, #08090B 100%);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 9, 11, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
  overflow: visible;
}

main#top {
  padding-top: var(--header-h);
}

/* Only when draft banner is present above the header */
.draft-banner + .site-header {
  top: 33px;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 9, 11, 0.9);
}

.nav {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  padding-right: 12px;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.98) 72%, rgba(8, 9, 11, 0));
}

.site-header .brand {
  gap: 2px;
  background: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(145deg, #f12632 0%, #a30f1b 62%, #65070d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 28px rgba(241, 38, 50, 0.18);
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}

.brand-symbol {
  position: relative;
  width: 15px;
  height: 17px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-symbol img {
  position: absolute;
  top: -5.5px;
  left: -7px;
  width: 27px;
  height: 27px;
  max-width: none;
  object-fit: contain;
}

.site-header .brand-symbol {
  width: 42px;
  height: 46px;
}

.site-header .brand-symbol img {
  top: -16px;
  left: -21px;
  width: 78px;
  height: 78px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.brand-name span {
  color: var(--red);
}

.site-header .brand-name {
  font-family: "Fredoka Expanded", var(--font-display);
  font-size: var(--type-logo);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-header .brand-name span {
  color: var(--red);
  font-weight: 600;
  letter-spacing: inherit;
  margin-left: 0;
  font-size: 1em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow: visible;
  position: relative;
  z-index: 1;
  padding-inline: 4px;
}

.nav-links a {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--type-nav);
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  padding-left: 12px;
  background: none;
}

.nav-actions .btn-sm {
  white-space: nowrap;
  box-sizing: border-box;
  padding-inline: 14px;
  font-size: 16px;
}

.lang-switch-host {
  display: flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.lang-dropdown {
  position: relative;
  max-width: 100%;
}

.lang-dropdown-trigger {
  width: 58px;
  height: 40px;
  padding: 0 9px;
  overflow: hidden;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.lang-dropdown-trigger:hover,
.lang-dropdown.is-open .lang-dropdown-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.lang-dropdown-trigger:focus-visible,
.lang-dropdown-option:focus-visible {
  outline: 2px solid rgba(241, 38, 50, 0.7);
  outline-offset: 2px;
}

.lang-dropdown-chevron {
  width: 9px;
  height: 6px;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
  transition: transform 0.2s;
}

.lang-dropdown.is-open .lang-dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  min-width: 54px;
  padding: 5px;
  display: grid;
  gap: 3px;
  background: rgba(14, 16, 20, 0.98);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s, transform 0.18s;
}

.lang-dropdown.is-open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-dropdown-option {
  width: 42px;
  min-width: 42px;
  height: 34px;
  padding: 0;
  border-radius: 9px;
}

.lang-dropdown-option.is-active {
  background: var(--red-soft);
  box-shadow: inset 0 0 0 1px rgba(241, 38, 50, 0.22);
}

.lang-dropdown-trigger .lang-flag-img,
.lang-dropdown-option .lang-flag-img {
  width: 22px;
  height: 15px;
}

.lang-flags {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lang-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.lang-flag-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-flag-btn.is-active {
  color: #fff;
  background: var(--red-soft);
}

.lang-flag-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lang-flag-code {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-size: var(--type-button);
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
  text-transform: uppercase;
}

button {
  text-transform: uppercase;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 8px 28px rgba(241, 38, 50, 0.35);
}

.btn-primary:hover {
  background: #ff3340;
  box-shadow: 0 10px 32px rgba(241, 38, 50, 0.45);
}

.btn-compare {
  background: #030305;
  color: #fff;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
}

.btn-compare:hover {
  background: #6b3fa0;
  border-color: #8b5fc0;
  box-shadow: 0 10px 32px rgba(107, 63, 160, 0.42);
}

.btn-compare:focus-visible {
  outline: 3px solid rgba(167, 139, 250, 0.82);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: rgba(241, 38, 50, 0.55);
  background: var(--red-soft);
}

.btn-sm { padding: 10px 16px; font-size: var(--type-button); }
.btn-lg { padding: 15px 26px; font-size: var(--type-button); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 9, 11, 0.15), transparent 26%, rgba(8, 9, 11, 0.85) 100%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.3), rgba(8, 9, 11, 0.52) 42%, rgba(8, 9, 11, 0.12) 72%, rgba(8, 9, 11, 0.18)),
    url('/assets/hero-studio-wide-20260916.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 24px 40px;
  align-items: center;
  min-height: calc(100vh - 160px);
  min-height: calc(100svh - 160px);
}

.hero-copy {
  max-width: 540px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--type-h1);
  line-height: var(--type-h1-line);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
  /* Reserve 2 lines across languages (long KY/KK words wrap in-place) */
  min-height: 140.5px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-title .line-accent {
  color: inherit;
}

.hero-vulpine-title {
  font-family: var(--font-display);
  font-weight: 800;
  min-height: 0;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.hero-vulpine-title .vulpine-letter {
  color: inherit;
}

.hero-kicker {
  max-width: 50ch;
  margin: 0 0 22px;
  color: #f0f1f3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.hero-lead {
  color: var(--muted);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: var(--type-lead-line);
  margin-bottom: 28px;
  max-width: 46ch;
  /* Longest locales (KY/KK) ~4 lines — keep CTA Y-position stable */
  min-height: calc(4 * 1.65em);
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta .btn {
  width: 100%;
  min-height: 3.4rem;
  padding-inline: 14px;
  line-height: 1.25;
  white-space: normal;
  box-sizing: border-box;
}

.hero-cta.hero-cta-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 320px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: min(620px, 78vh);
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: personIn 0.9s ease both;
}

.hero-glow {
  position: absolute;
  inset: 8% 5% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 35%, rgba(241, 38, 50, 0.42), transparent 55%),
    radial-gradient(circle at 40% 75%, rgba(163, 15, 27, 0.28), transparent 50%);
  filter: blur(28px);
  animation: pulseGlow 5.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.hero-mist {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 22%),
    linear-gradient(270deg, var(--bg) 0%, transparent 18%),
    linear-gradient(180deg, transparent 55%, var(--bg) 96%);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-person-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  aspect-ratio: 2 / 3;
  flex: 0 0 auto;
  transform-origin: 50% 20%;
}

.hero-person {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent);
  mask-image: linear-gradient(180deg, #000 88%, transparent);
  background: transparent;
  pointer-events: none;
  user-select: none;
}

.hero-phone-connect {
  position: absolute;
  z-index: 3;
  top: 34.05%;
  left: 11.9%;
  width: 28%;
  height: 37.2%;
  padding: 3.8% 2.4%;
  transform: rotate(-0.8deg);
  transform-origin: center;
  overflow: hidden;
  border: 0;
  border-radius: 13% / 7%;
  color: #fff;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 0.55vw, 8px);
  text-align: center;
  transition: filter 0.2s, box-shadow 0.2s;
}

.hero-phone-connect:hover {
  filter: brightness(1.08);
  box-shadow: none;
}

.hero-phone-connect:focus-visible {
  outline: 2px solid rgba(241, 38, 50, 0.82);
  outline-offset: 2px;
}

.hero-phone-qr {
  position: relative;
  width: 96%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 5%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34);
}

.hero-phone-qr > img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-phone-qr-badge {
  position: absolute;
  inset: 0;
  width: 27%;
  aspect-ratio: 1;
  margin: auto;
  padding: 1px;
  transform: none;
  overflow: hidden;
  border: 0;
  border-radius: 26%;
  background: #fff;
  box-shadow: none;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}

.hero-phone-qr-badge > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20%;
}

.hero-phone-qr-copy {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-family: var(--font-body);
  font-size: clamp(4.2px, 0.56vw, 7.6px);
  line-height: 1.2;
}

.hero-phone-qr-copy b {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.hero-phone-qr-copy small {
  color: #aeb3bc;
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes personIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Feature strip */
.feature-strip {
  position: relative;
  z-index: 3;
  padding: 8px 0 48px;
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) max-content minmax(0, .88fr) minmax(0, .85fr);
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 12px;
  min-width: 0;
}

.feature-item > div:last-child {
  min-width: 0;
  min-height: 2.7em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  border: 1px solid rgba(241, 38, 50, 0.25);
  color: var(--red);
  flex-shrink: 0;
}

.feature-icon svg { width: 20px; height: 20px; }

.feature-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
}

.feature-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Give the longest copy its natural width; compact screens use fewer columns. */
@media (min-width: 601px) and (max-width: 1159px) {
  .feature-strip-inner { grid-template-columns: minmax(0, 1fr) max-content; }
}
@media (max-width: 359px) {
  .feature-item { flex-wrap: wrap; }
  .feature-item > div:last-child { flex-basis: 100%; }
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: min(100%, 1120px);
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.25rem + 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-lead {
  color: var(--muted);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: var(--type-lead-line);
  max-width: 52ch;
}

.section-head.center .section-lead {
  margin-inline: auto;
}

/* Smart mode */
.smart-board {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 28px 28px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(241, 38, 50, 0.08), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border);
}

.smart-board-head {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.smart-side-label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #8fe0b0;
}

.smart-side-label.direct {
  justify-self: start;
}

.smart-side-label.hub {
  text-align: center;
  color: #ffb0b5;
  font-weight: 700;
}

.smart-side-label.vpn {
  text-align: right;
  color: #ffb0b5;
  justify-self: end;
}

.route-col-label {
  display: none;
}

.smart-diagram {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 16px;
  align-items: stretch;
}

.route-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.route-col-vpn,
.route-col-direct {
  gap: 8px;
}

.route-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  min-height: 68px;
}

.route-col-vpn .route-card,
.route-col-direct .route-card {
  min-height: 58px;
  padding: 10px 14px;
  gap: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .route-col-vpn .route-card:hover,
  .route-col-direct .route-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  }
}

.route-card.direct {
  border-color: rgba(61, 220, 132, 0.28);
  background: linear-gradient(90deg, rgba(61, 220, 132, 0.08), rgba(255, 255, 255, 0.02));
}

.route-card.vpn {
  border-color: rgba(241, 38, 50, 0.4);
  background: linear-gradient(90deg, rgba(241, 38, 50, 0.1), rgba(255, 255, 255, 0.02));
}

.route-card .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  flex-shrink: 0;
}

.route-card .icon-box.brand-logo {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.route-card .icon-box.brand-logo img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: cover;
}

.route-card .icon-box.brand-emoji {
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.route-col-vpn .route-card:hover {
  transform: translateX(2px);
  border-color: rgba(241, 38, 50, 0.65);
  background: linear-gradient(90deg, rgba(241, 38, 50, 0.16), rgba(255, 255, 255, 0.03));
}

.route-col-direct .route-card:hover {
  transform: translateX(-2px);
  border-color: rgba(61, 220, 132, 0.55);
  background: linear-gradient(90deg, rgba(61, 220, 132, 0.14), rgba(255, 255, 255, 0.03));
}

.route-card strong {
  display: block;
  font-size: 0.95rem;
}

.route-card span {
  font-size: 0.78rem;
  color: var(--muted);
}

.route-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.route-lines {
  position: absolute;
  inset: 18% 0;
  pointer-events: none;
}

.route-lines .line {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 2px;
  transform: translateY(-50%);
}

.route-lines .line.left {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.route-lines .line.right {
  right: 0;
  background: linear-gradient(90deg, rgba(241, 38, 50, 0.15), rgba(241, 38, 50, 0.75));
  box-shadow: 0 0 10px rgba(241, 38, 50, 0.35);
}

.route-center {
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 40%, rgba(241, 38, 50, 0.35), transparent 65%),
    #161A21;
  border: 1px solid rgba(241, 38, 50, 0.5);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-red);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.route-center .route-mark {
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}

.stat {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Comparison prompt before pricing */
.vpn-compare-band {
  position: relative;
  z-index: 2;
  padding: 0 0 64px;
}

.vpn-compare-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.4fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(32px, 3vw, 44px) clamp(28px, 3.6vw, 52px);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(241, 38, 50, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.vpn-compare-stack {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 12px;
}

.vpn-compare-mark {
  width: 76px;
  height: 76px;
  padding: 7px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 38, 50, 0.32);
  border-radius: 18px;
  background: var(--red-soft);
}

.vpn-compare-mark img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.vpn-compare-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.vpn-compare-wordmark {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.vpn-compare-wordmark .vulpine-letter {
  color: var(--red);
}

.vpn-compare-stack h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

@media (min-width: 1101px) {
  .vpn-compare-stack h2 {
    white-space: nowrap;
  }
}

.vpn-compare-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: var(--type-lead-line);
}

.vpn-compare-side {
  min-width: 0;
  width: min(100%, 390px);
  justify-self: end;
  display: grid;
  align-content: center;
  gap: 18px;
}

.vpn-compare-actions {
  min-width: 0;
  width: 100%;
  display: block;
}

.vpn-compare-actions .btn {
  width: 100%;
  min-height: 56px;
  padding-inline: 20px;
  line-height: 1.3;
}

.vpn-compare-actions .btn-compare-telegram {
  color: #fff;
  background: #6b3fa0;
  box-shadow: 0 10px 30px rgba(107, 63, 160, 0.38);
}

.vpn-compare-actions .btn-compare-telegram:hover {
  background: #7c4ab4;
  box-shadow: 0 12px 34px rgba(124, 74, 180, 0.48);
}

.vpn-compare-actions .btn-compare-telegram:focus-visible {
  outline: 3px solid rgba(167, 139, 250, 0.82);
  outline-offset: 3px;
}

.vpn-compare-article {
  width: fit-content;
  max-width: 100%;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  transition: color 0.2s ease;
}

.vpn-compare-article:hover {
  color: #fff;
}

.vpn-compare-article:focus-visible {
  outline: 2px solid rgba(241, 38, 50, 0.7);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .vpn-compare-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .vpn-compare-side {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    grid-template-columns: auto minmax(280px, 360px);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .vpn-compare-actions {
    width: 100%;
  }
}

/* Apps */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.platform-pill svg {
  width: 18px;
  height: 18px;
  color: var(--text);
}

.devices-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 55% 55% at 50% 55%, rgba(241, 38, 50, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 48px 24px 40px;
}

.devices-cluster {
  position: relative;
  width: min(720px, 100%);
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.device-laptop-wrap {
  position: relative;
  z-index: 2;
  width: min(460px, 70%);
  flex-shrink: 0;
}

.device-laptop {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px 12px 4px 4px;
  background: #15181e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.device-laptop-screen {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 30%, rgba(241, 38, 50, 0.22), transparent 55%),
    #0A0C10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.laptop-ui {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.laptop-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.laptop-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.laptop-bar .dot:first-child { background: #F12632; }
.laptop-bar strong { margin-left: 8px; font-weight: 700; }
.laptop-bar em { color: var(--red); font-style: normal; margin-left: 4px; }

.laptop-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.laptop-power {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(241, 38, 50, 0.7);
  box-shadow: 0 0 24px rgba(241, 38, 50, 0.4);
  background: radial-gradient(circle at 50% 40%, rgba(241, 38, 50, 0.4), transparent 70%);
}

.laptop-meta {
  text-align: center;
}

.laptop-meta b {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.laptop-meta span {
  color: var(--muted);
  font-size: 0.75rem;
}

.device-laptop-base {
  width: 108%;
  height: 10px;
  margin: 0 auto;
  margin-left: -4%;
  background: #1a1d24;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

.device-phone-sm {
  position: absolute;
  bottom: 18px;
  width: 148px;
  height: 290px;
  border-radius: 22px;
  background: #12151A;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 8px;
  z-index: 3;
}

.device-phone-sm.left {
  left: 2%;
  transform: rotate(-7deg);
}

.device-phone-sm.right {
  right: 2%;
  transform: rotate(7deg);
}

.device-phone-sm-screen {
  height: 100%;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(241, 38, 50, 0.35), transparent 55%),
    #0A0C10;
  display: grid;
  place-items: center;
}

.mini-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mini-ui span {
  font-size: 0.7rem;
  color: #7CFFB2;
  font-weight: 600;
}

.device-phone-sm-screen .mini-power {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--red);
  box-shadow: 0 0 16px rgba(241, 38, 50, 0.45);
  background: radial-gradient(circle at 50% 40%, rgba(241, 38, 50, 0.45), transparent 70%);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.7;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(241, 38, 50, 0.35);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Lifestyle */
.lifestyle {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.95fr);
  align-items: stretch;
  background:
    radial-gradient(ellipse 50% 80% at 78% 55%, rgba(241, 38, 50, 0.22), transparent 60%),
    linear-gradient(115deg, #0b0c10 0%, #08090B 48%, #0a0709 100%);
}

.lifestyle-media {
  position: relative;
  order: 2;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.lifestyle-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 38, 50, 0.28), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.lifestyle-person {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  /* Soft blend into card — not a hard crop */
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%),
    linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%),
    linear-gradient(180deg, #000 78%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.lifestyle-content {
  position: relative;
  z-index: 2;
  order: 1;
  padding: 48px 28px 48px 40px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lifestyle-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.lifestyle-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Pricing */
#pricing {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(62% 52% at 102% 10%, rgba(241, 38, 50, 0.14), transparent 66%),
    radial-gradient(42% 48% at -8% 62%, rgba(163, 15, 27, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(14, 16, 20, 0.96), rgba(8, 9, 11, 0.98));
}

.pricing-heading .section-title {
  max-width: 880px;
  margin-inline: auto;
}

.pricing-title-accent {
  color: inherit;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: var(--type-lead-line);
  font-weight: 400;
  margin: -12px auto 22px;
  max-width: 62ch;
}

.billing-period {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 6px;
  margin: 0 auto 28px;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.billing-period button {
  min-width: 142px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: var(--type-button);
  font-weight: 600;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.billing-period button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.billing-period button.active {
  color: #fff;
  border-color: rgba(241, 38, 50, 0.48);
  background: #111317;
  box-shadow: 0 0 0 2px rgba(241, 38, 50, 0.08);
}

.billing-period button small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  margin-left: 7px;
  padding: 4px 7px;
  border: 1px solid rgba(196, 181, 253, 0.7);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #5f3694, #8b5fc0);
  box-shadow: 0 4px 12px rgba(107, 63, 160, 0.26);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.015em;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.billing-period button:hover small,
.billing-period button:focus-visible small {
  border-color: rgba(237, 233, 254, 0.92);
  background: linear-gradient(135deg, #6b3fa0, #9a6bce);
  box-shadow: 0 5px 15px rgba(107, 63, 160, 0.36);
  transform: translateY(-1px);
}

.billing-period button:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.34);
  outline-offset: 2px;
}

.tariff-swipe-hint {
  display: none;
}

.tariff-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  align-items: stretch;
}

.tariff-card {
  position: relative;
  min-width: 0;
  min-height: 520px;
  padding: 27px 22px 22px;
  border-radius: 18px;
  background: rgba(18, 21, 26, 0.86);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.tariff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 38, 50, 0.35);
  background: rgba(22, 26, 33, 0.96);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.tariff-card.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.08), 0 20px 48px rgba(0, 0, 0, 0.24);
  background: linear-gradient(180deg, rgba(241, 38, 50, 0.105), rgba(18, 21, 26, 0.94));
}

.tariff-badge {
  position: absolute;
  top: -12px;
  right: 17px;
  padding: 7px 9px;
  border-radius: 7px;
  color: #fff;
  background: var(--red-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tariff-card-head {
  min-height: 78px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.tariff-index {
  padding-top: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tariff-card-head h3 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.tariff-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tariff-price {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text);
}

.tariff-price strong {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.tariff-price span {
  padding-top: 3px;
  font-size: 20px;
  font-weight: 800;
}

.tariff-period-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.tariff-device-note {
  min-height: 60px;
  margin-top: 22px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  position: relative;
  display: grid;
  gap: 4px;
}

.tariff-device-note span {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.tariff-device-note small {
  color: #ff7d84;
  font-size: 12px;
  font-weight: 600;
}

.tariff-customized-label {
  position: absolute;
  right: 13px;
  bottom: 12px;
  color: #ff7d84;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.tariff-card ul {
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.tariff-card li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 7px;
}

.tariff-card li::before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
}

.tariff-card li.tariff-benefit-optional::before {
  content: "+";
}

.tariff-select {
  width: 100%;
  min-height: 48px;
}

.tariff-card-actions {
  width: 100%;
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.tariff-card-actions.has-config {
  grid-template-columns: minmax(0, 1fr) 48px;
}

.tariff-config-button {
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.tariff-config-button:hover,
.tariff-config-button[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(241, 38, 50, 0.62);
  background: rgba(241, 38, 50, 0.12);
  transform: translateY(-1px);
}

.tariff-config-button:focus-visible {
  outline: 3px solid rgba(241, 38, 50, 0.34);
  outline-offset: 3px;
}

.tariff-config-label {
  display: none;
}

.tariff-tune-icon {
  width: 20px;
  display: grid;
  gap: 4px;
}

.tariff-tune-icon i {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  display: block;
}

.tariff-tune-icon i::after {
  content: "";
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #15181d;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.tariff-tune-icon i:nth-child(1)::after { left: 2px; }
.tariff-tune-icon i:nth-child(2)::after { right: 2px; }
.tariff-tune-icon i:nth-child(3)::after { left: 7px; }

.tariff-configurator {
  margin-top: 18px;
  padding: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 12%, rgba(241, 38, 50, 0.24), transparent 31%),
    #111419;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.27);
}

.tariff-configurator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.tariff-configurator-head > div > span,
.config-option-copy > span,
.tariff-configurator-summary > div > span {
  color: #ff7d84;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.tariff-configurator-head h3 {
  margin: 13px 0 7px;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1.08;
}

.tariff-configurator-head h3:focus-visible {
  outline: 3px solid rgba(241, 38, 50, 0.42);
  outline-offset: 4px;
  border-radius: 5px;
}

.tariff-configurator-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tariff-configurator-head > button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.tariff-configurator-head > button:hover {
  border-color: rgba(241, 38, 50, 0.5);
  background: rgba(241, 38, 50, 0.1);
}

.tariff-configurator-head > button:focus-visible,
.config-stepper button:focus-visible,
.tariff-configurator-summary .btn:focus-visible {
  outline: 3px solid rgba(241, 38, 50, 0.42);
  outline-offset: 3px;
}

.tariff-configurator-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.config-option {
  min-height: 166px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.config-option[hidden] {
  display: none;
}

.config-option-copy { min-width: 0; }

.config-option-copy h4 {
  margin: 12px 0 7px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}

.config-option-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.config-stepper {
  min-width: 158px;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 44px minmax(36px, 1fr) 44px;
  align-items: center;
  gap: 7px;
}

.config-stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #2b3038;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.config-stepper button:hover:not(:disabled) { background: #373d47; }
.config-stepper button:disabled { cursor: not-allowed; opacity: 0.34; }

.config-stepper output {
  min-width: 32px;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.config-traffic-stepper {
  width: min(236px, 100%);
  min-width: 210px;
}

.config-traffic-stepper output {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.pricing-launch-note { max-width: 760px; margin: 0 auto 24px; text-align: center; color: #626873; font-size: 1rem; line-height: 1.5; }
#pricing .config-option-whitelist.is-unavailable { background: #f1f2f4; border-color: #d9dce1; }
#pricing .config-option-whitelist.is-unavailable h4,
#pricing .config-option-whitelist.is-unavailable p,
#pricing .config-option-whitelist.is-unavailable span,
#pricing .config-option-whitelist.is-unavailable b,
#pricing .config-option-whitelist.is-unavailable strong,
#pricing .config-option-whitelist.is-unavailable small { color: #737984; }
#pricing .config-option-whitelist.is-unavailable button:disabled,
#pricing .config-option-whitelist.is-unavailable .config-whitelist-toggle { cursor: not-allowed; background: #e5e7eb; border-color: #cdd1d7; box-shadow: none; }
#pricing .tariff-whitelist-benefit { color: #777e88; }
#pricing .tariff-whitelist-benefit::before { color: #777e88; }
.config-option-whitelist {
  min-height: 178px;
  grid-column: 1 / -1;
}

.config-option-wide {
  grid-column: 1 / -1;
}

.config-option-whitelist .config-option-copy {
  flex: 1 1 auto;
}

.config-whitelist-controls {
  width: min(540px, 54%);
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.config-whitelist-toggle {
  min-width: 0;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.config-whitelist-toggle.is-selected {
  border-color: rgba(241, 38, 50, 0.7);
  background: rgba(241, 38, 50, 0.12);
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.1);
}

.config-whitelist-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.config-whitelist-box {
  width: 30px;
  height: 30px;
  border: 2px solid #575e69;
  border-radius: 8px;
  color: transparent;
  background: #2b3038;
  position: relative;
  display: block;
  flex: 0 0 30px;
  font-size: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.config-whitelist-box::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 9px;
  width: 7px;
  height: 13px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 0;
  transform: rotate(45deg) scale(0.65);
  transform-origin: center;
  transition: opacity 0.15s, transform 0.15s;
}

.config-whitelist-toggle input:checked + .config-whitelist-box {
  color: #fff;
  border-color: #a30f1b;
  background: #f12632;
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.16);
}

.config-whitelist-toggle input:checked + .config-whitelist-box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.config-whitelist-toggle input:focus-visible + .config-whitelist-box {
  outline: 3px solid rgba(241, 38, 50, 0.42);
  outline-offset: 3px;
}

.config-whitelist-toggle > span:last-child { display: grid; gap: 3px; }
.config-whitelist-toggle b { color: #fff; font-size: 13px; }
.config-whitelist-toggle small { color: #ff7d84; font-size: 11px; font-weight: 600; }

.config-whitelist-volume {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  display: grid;
  align-content: center;
  gap: 7px;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}

.config-whitelist-volume > span {
  color: #ff7d84;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.config-whitelist-volume:not(.is-disabled) {
  border-color: rgba(241, 38, 50, 0.5);
  background: rgba(241, 38, 50, 0.08);
}

.config-whitelist-volume.is-disabled {
  opacity: 0.5;
}

.config-whitelist-stepper {
  width: 100%;
  min-width: 0;
  grid-template-columns: 40px minmax(70px, 1fr) 40px;
}

.config-whitelist-stepper button {
  width: 40px;
  height: 40px;
}

.config-whitelist-volume-meta {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.config-whitelist-volume-meta strong {
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
}

.config-whitelist-volume-meta small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

.config-whitelist-mobile-options {
  display: none;
}

.config-channel-note {
  display: none;
}

.config-channel-note[hidden] {
  display: none;
}

.config-included {
  min-width: 140px;
  padding: 13px;
  border: 1px solid rgba(92, 214, 164, 0.24);
  border-radius: 10px;
  color: #69dda9;
  background: rgba(92, 214, 164, 0.07);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.tariff-configurator-summary {
  margin-top: 12px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tariff-configurator-summary > div { display: grid; gap: 5px; }

.tariff-configurator-summary strong {
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1.1;
}

.tariff-configurator-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tariff-configurator-summary .btn { min-width: 205px; }

.tariff-configurator-note {
  margin: 13px 3px 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}

.tariff-maximum {
  border-color: rgba(241, 38, 50, 0.24);
  background:
    radial-gradient(circle at 82% 8%, rgba(241, 38, 50, 0.26), transparent 36%),
    #0b0d10;
}

.tariff-maximum:hover {
  background:
    radial-gradient(circle at 82% 8%, rgba(241, 38, 50, 0.32), transparent 38%),
    #0d0f13;
}

.tariff-selection {
  min-height: 104px;
  margin: 22px 0 28px;
  padding: 20px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: rgba(18, 21, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.tariff-selection > div {
  display: grid;
  gap: 4px;
}

.tariff-selection > div > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tariff-selection strong {
  font-size: 21px;
  line-height: 1.2;
}

.tariff-selection small {
  color: var(--muted);
  font-size: 13px;
}

.tariff-details {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 17px;
  background: rgba(18, 21, 26, 0.92);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.tariff-details > summary {
  min-height: 82px;
  padding: 19px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 22px;
  font-weight: 800;
}

.tariff-details > summary::-webkit-details-marker { display: none; }

.tariff-details > summary i {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(255, 255, 255, 0.035);
  font-size: 24px;
  font-style: normal;
  transition: transform 0.2s, background 0.2s;
}

.tariff-details[open] > summary i {
  transform: rotate(45deg);
  background: var(--red-soft);
}

.tariff-details-body {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
}

.tariff-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(8, 9, 11, 0.36);
}

.tariff-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.tariff-table caption {
  padding: 22px 20px 16px;
  color: var(--text);
  text-align: left;
  font-size: 20px;
  font-weight: 800;
}

.tariff-table th,
.tariff-table td {
  min-width: 130px;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.tariff-table thead th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.tariff-table thead th:first-child,
.tariff-table tbody th { min-width: 210px; }
.tariff-table tbody th { color: var(--muted); font-size: 13px; font-weight: 600; }
.tariff-table tbody td { color: var(--text); font-size: 13px; }
.tariff-table .table-check { color: #ff7d84; font-weight: 800; }

.tariff-rules {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tariff-rules article {
  min-height: 182px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.tariff-rules span {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tariff-rules h3 {
  margin: 16px 0 9px;
  font-size: 20px;
  line-height: 1.25;
}

.tariff-rules p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tariff-billing-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  color: var(--muted);
  background: rgba(241, 38, 50, 0.06);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .tariff-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tariff-card { min-height: 500px; }
  .config-option-whitelist { align-items: stretch; flex-direction: column; }
  .config-whitelist-controls { width: 100%; }
}

@media (max-width: 820px) {
  .billing-period { width: 100%; }
  .billing-period button { min-width: 0; flex: 1; padding-inline: 8px; }
  .billing-period button small { display: block; width: fit-content; margin: 4px auto 0; }
  .tariff-swipe-hint {
    margin: -12px 0 10px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .tariff-cards {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-inline: -2px;
    padding: 14px 24px 18px 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tariff-cards::-webkit-scrollbar { display: none; }
  .tariff-card {
    flex: 0 0 min(calc(100vw - 48px), 400px);
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .tariff-card:hover { transform: none; }
  .tariff-card-actions.has-config {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.72fr);
  }
  .tariff-config-button {
    width: 100%;
    padding-inline: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }
  .tariff-config-label {
    display: inline;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .tariff-selection { display: none; }
  .tariff-configurator { padding: 24px 20px; }
  .tariff-configurator-grid { grid-template-columns: 1fr; }
  .config-option-whitelist { grid-column: auto; }
  .config-whitelist-controls { display: none; }
  .config-whitelist-mobile-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .config-whitelist-mobile-options button {
    min-width: 0;
    min-height: 72px;
    padding: 9px 7px;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    color: var(--text);
    background: #eef0f3;
    display: grid;
    place-content: center;
    gap: 5px;
    text-align: center;
    cursor: pointer;
  }
  .config-whitelist-mobile-options button.is-selected {
    border-color: rgba(241, 38, 50, 0.72);
    background: #fff0f1;
    box-shadow: inset 0 0 0 2px rgba(241, 38, 50, 0.08);
  }
  .config-whitelist-mobile-options strong {
    font-size: 12px;
    line-height: 1.15;
  }
  .config-whitelist-mobile-options small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }
  .config-whitelist-mobile-options button.is-selected small { color: #c82630; }
  .config-whitelist-mobile-options button:focus-visible {
    outline: 3px solid rgba(241, 38, 50, 0.32);
    outline-offset: 2px;
  }
  .config-channel-note {
    margin: -1px 0 0;
    color: #8a3e45;
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 31px;
    opacity: 0;
    visibility: hidden;
  }
  .config-channel-note.is-visible {
    opacity: 1;
    visibility: visible;
  }
  .tariff-configurator-summary p { min-height: 35px; }
  .tariff-rules { grid-template-columns: 1fr; }
  .tariff-rules article { min-height: 0; }
}

@media (max-width: 560px) {
  .billing-period { gap: 3px; padding: 4px; }
  .billing-period button { min-height: 52px; padding: 7px 4px; font-size: 12.5px; }
  .tariff-card {
    padding: 23px 18px 18px;
  }
  .tariff-configurator { padding: 16px 14px; }
  .tariff-configurator-head { align-items: center; gap: 12px; }
  .tariff-configurator-head > div > span,
  .tariff-configurator-head p { display: none; }
  .tariff-configurator-head h3 { margin: 0; font-size: 24px; }
  .tariff-configurator-head > button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .tariff-configurator-grid { margin-top: 14px; }
  .config-option { align-items: stretch; flex-direction: column; padding: 19px; }
  .config-option-whitelist {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 12px;
  }
  .config-option-whitelist .config-option-copy > span { display: none; }
  .config-option-whitelist .config-option-copy h4 {
    margin: 0 0 6px;
    font-size: 22px;
  }
  .config-option-whitelist .config-option-copy p {
    max-width: none;
    font-size: 12px;
    line-height: 1.45;
  }
  .config-stepper,
  .config-whitelist-toggle { width: 100%; min-width: 0; }
  .config-whitelist-mobile-options small {
    font-size: 10px;
  }
  .config-included { width: 100%; }
  .tariff-configurator-summary {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding: 14px;
  }
  .tariff-configurator-summary > div { gap: 3px; }
  .tariff-configurator-summary strong { font-size: 26px; }
  .tariff-configurator-summary p { min-height: 35px; }
  .tariff-configurator-summary .btn { width: 100%; min-width: 0; min-height: 48px; }
  .tariff-configurator-note { margin-top: 9px; }
  .tariff-details > summary { min-height: 72px; padding: 14px 15px; font-size: 18px; }
  .tariff-details > summary i { width: 38px; min-width: 38px; height: 38px; }
  .tariff-details-body { padding: 0 10px 14px; }
}

.limits-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-strong);
}

.limits-line strong { color: var(--text); }

/* Checkout */
.checkout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.checkout.is-telegram {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.checkout.is-telegram .checkout-panel {
  display: none;
}

.checkout.is-telegram .summary-panel {
  width: 100%;
}

.checkout-panel,
.summary-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.checkout-panel h3,
.summary-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

#legacyPaymentOptions[hidden],
#legacyCheckoutContact[hidden] {
  display: none;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.payment-option:hover { border-color: var(--border-strong); }

.payment-option.selected {
  border-color: rgba(241, 38, 50, 0.55);
  background: var(--red-soft);
}

.payment-option.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

.payment-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.payment-icon svg { width: 20px; height: 20px; }

.payment-info { flex: 1; }
.payment-name { font-weight: 650; font-size: 0.95rem; }
.payment-tags { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.payment-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
}

.payment-option.selected .payment-radio {
  border-color: var(--red);
  background: var(--red);
}

.payment-radio svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  color: #fff;
}

.payment-option.selected .payment-radio svg { opacity: 1; }

.contact-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.auto-renew-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.auto-renew-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.auto-renew-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.auto-renew-box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.15s;
}

.auto-renew-toggle input:checked + .auto-renew-box {
  border-color: var(--red);
  background: var(--red);
}

.auto-renew-toggle input:checked + .auto-renew-box svg {
  opacity: 1;
}

.auto-renew-toggle:hover .auto-renew-box {
  border-color: rgba(241, 38, 50, 0.55);
}

.auto-renew-toggle input:focus-visible + .auto-renew-box {
  outline: 2px solid rgba(241, 38, 50, 0.45);
  outline-offset: 2px;
}

.contact-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-type-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-type-btn.selected {
  border-color: rgba(241, 38, 50, 0.55);
  background: var(--red-soft);
  color: #ffc9cc;
}

.contact-input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}

.contact-input + .contact-input {
  margin-top: 10px;
}

.contact-input:focus {
  border-color: rgba(241, 38, 50, 0.55);
}

.contact-error {
  margin-top: 10px;
  color: #ff9ea4;
  font-size: 0.88rem;
}

.contact-input.is-invalid {
  border-color: rgba(241, 38, 50, 0.75);
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.18);
}

.pay-error {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.checkout-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  z-index: 10000;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: #2a1216;
  border: 1px solid rgba(241, 38, 50, 0.55);
  color: #ffc7cb;
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.summary-plan {
  color: var(--muted);
  margin-bottom: 8px;
}

.summary-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.checkout-tariff-note {
  margin: -6px 0 16px;
  padding: 12px 13px;
  border: 1px solid rgba(241, 38, 50, 0.22);
  border-radius: 11px;
  color: #c6c9cf;
  background: rgba(241, 38, 50, 0.07);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-tariff-note.is-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.btn-pay {
  width: 100%;
  margin-bottom: 10px;
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-disclaimer {
  color: var(--muted-2);
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 18px;
}

.btn-disclaimer a {
  color: #ff9ea4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summary-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-features svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.pay-logos span {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 16px;
}

.trust-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list .t-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

.trust-list .t-icon svg { width: 16px; height: 16px; }

.review-stars {
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.review-text {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.review-author {
  color: var(--muted);
  font-size: 0.88rem;
}

.tg-support {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tg-support p {
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}

/* FAQ */
#faq {
  position: relative;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 650;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: var(--type-lead-line);
}

/* Light chapters: pricing/payment and FAQ */
#pricing,
#faq {
  --text: #101216;
  --muted: #6d737c;
  --muted-2: #858b93;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fa;
  --border: rgba(15, 18, 24, 0.1);
  --border-strong: rgba(15, 18, 24, 0.18);
  color: var(--text);
}

#pricing {
  border-block-color: rgba(15, 18, 24, 0.1);
  background:
    radial-gradient(62% 44% at 101% 3%, rgba(241, 38, 50, 0.1), transparent 70%),
    radial-gradient(46% 40% at -8% 54%, rgba(241, 38, 50, 0.055), transparent 72%),
    #ffffff;
}

#pricing .billing-period {
  border-color: rgba(15, 18, 24, 0.26);
  background: #f1f3f5;
  box-shadow: 0 16px 38px rgba(24, 28, 36, 0.08);
}

#pricing .billing-period button {
  color: #4f5661;
}

#pricing .billing-period button:hover {
  color: #101216;
  border-color: rgba(15, 18, 24, 0.14);
  background: #ffffff;
}

#pricing .billing-period button.active {
  color: #ffffff;
  border-color: rgba(241, 38, 50, 0.72);
  background: #111317;
  box-shadow: 0 0 0 2px rgba(241, 38, 50, 0.08), 0 8px 18px rgba(17, 19, 23, 0.12);
}

#pricing .billing-period button small {
  border-color: rgba(107, 63, 160, 0.72);
  color: #fff;
  background: linear-gradient(135deg, #5f3694, #8b5fc0);
  box-shadow: 0 4px 12px rgba(107, 63, 160, 0.28);
  font-weight: 800;
}

#pricing .billing-period button:hover small,
#pricing .billing-period button:focus-visible small {
  border-color: #6b3fa0;
  color: #fff;
  background: linear-gradient(135deg, #6b3fa0, #9a6bce);
}

#pricing .billing-period button.active small {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: linear-gradient(135deg, #7446a9, #a06fd0);
  box-shadow: 0 4px 14px rgba(107, 63, 160, 0.42);
}

#pricing .tariff-card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(24, 28, 36, 0.07);
}

#pricing .tariff-card:hover {
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(24, 28, 36, 0.12);
}

#pricing .tariff-card.selected:not(.tariff-maximum) {
  background:
    radial-gradient(circle at 88% 4%, rgba(241, 38, 50, 0.1), transparent 36%),
    #ffffff;
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.08), 0 22px 48px rgba(24, 28, 36, 0.11);
}

#pricing .tariff-device-note,
#pricing .tariff-config-button,
#pricing .tariff-details > summary i,
#pricing .payment-option,
#pricing .pay-logos span {
  background: #f6f7f8;
}

#pricing .tariff-config-button {
  color: #171a20;
  border-color: rgba(15, 18, 24, 0.28);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(24, 28, 36, 0.08);
}

#pricing .tariff-config-button:hover,
#pricing .tariff-config-button[aria-expanded="true"] {
  color: #a30f1b;
  border-color: #e13a44;
  background: #fff0f1;
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.1);
}

#pricing .tariff-tune-icon i::after {
  background: #ffffff;
}

#pricing .tariff-maximum {
  --text: #f5f6f7;
  --muted: #a8adb6;
  --muted-2: #858b95;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(241, 38, 50, 0.3), transparent 38%),
    #0b0d10;
  box-shadow: 0 22px 48px rgba(15, 18, 24, 0.16);
}

#pricing .tariff-maximum:hover,
#pricing .tariff-maximum.selected {
  background:
    radial-gradient(circle at 82% 8%, rgba(241, 38, 50, 0.36), transparent 40%),
    #0d0f13;
}

#pricing .tariff-maximum .tariff-tune-icon i::after {
  background: #15181d;
}

#pricing .tariff-maximum .tariff-device-note,
#pricing .tariff-maximum .tariff-config-button {
  background: rgba(255, 255, 255, 0.09);
}

#pricing .tariff-maximum .tariff-config-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

#pricing .tariff-maximum .tariff-config-button:hover,
#pricing .tariff-maximum .tariff-config-button[aria-expanded="true"] {
  color: #ffffff;
  border-color: #ff6670;
  background: rgba(241, 38, 50, 0.24);
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.16);
}

#pricing .tariff-configurator {
  background:
    radial-gradient(circle at 88% 8%, rgba(241, 38, 50, 0.1), transparent 34%),
    #ffffff;
  box-shadow: 0 28px 70px rgba(24, 28, 36, 0.12);
}

#pricing .tariff-configurator-head > button,
#pricing .config-option,
#pricing .tariff-configurator-summary {
  background: #f7f8f9;
}

#pricing .config-stepper,
#pricing .config-whitelist-toggle,
#pricing .config-whitelist-volume {
  background: #eef0f3;
}

#pricing .config-stepper button {
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
}

#pricing .config-stepper button:hover:not(:disabled) {
  background: #e6e9ed;
}

#pricing .config-stepper output,
#pricing .config-whitelist-toggle b {
  color: var(--text);
}

#pricing .config-whitelist-box {
  color: transparent;
  background: #ffffff;
}

#pricing .config-whitelist-toggle input:checked + .config-whitelist-box {
  color: #ffffff;
  border-color: #a30f1b;
  background: #f12632;
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.16);
}

#pricing .config-whitelist-toggle.is-selected {
  border-color: rgba(241, 38, 50, 0.62);
  background: #fff0f1;
  box-shadow: 0 0 0 3px rgba(241, 38, 50, 0.09);
}

#pricing .config-whitelist-volume:not(.is-disabled) {
  border-color: rgba(241, 38, 50, 0.55);
  background: #fff7f7;
}

#pricing .tariff-selection,
#pricing .tariff-details,
#pricing .checkout-panel,
#pricing .summary-panel {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(24, 28, 36, 0.09);
}

#pricing .tariff-table-wrap {
  background: #ffffff;
}

#pricing .tariff-table thead th,
#pricing .tariff-rules article {
  background: #f6f7f8;
}

#pricing .payment-option:hover {
  background: #ffffff;
}

#pricing .payment-option.selected {
  background: rgba(241, 38, 50, 0.075);
}

#pricing .payment-icon {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--border);
}

#pricing .contact-type-btn.selected {
  color: #a30f1b;
}

#pricing .contact-input {
  color: var(--text);
  background: #ffffff;
}

#pricing .contact-input::placeholder {
  color: #9298a1;
}

#pricing .checkout-tariff-note {
  color: var(--muted);
}

#pricing .btn-disclaimer a {
  color: #a30f1b;
}

#faq {
  border-block: 1px solid rgba(15, 18, 24, 0.1);
  background: #ffffff;
}

#faq .faq-item {
  background: #f7f8fa;
  box-shadow: 0 8px 24px rgba(24, 28, 36, 0.045);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

#faq .faq-item:hover,
#faq .faq-item[open] {
  border-color: rgba(241, 38, 50, 0.24);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 28, 36, 0.07);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: var(--type-lead-line);
  margin-top: 14px;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* Reveal animations — visible by default if app.js never loads (Safari/MTU stalls) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-ready .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  html.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

/* Responsive */
/* Header compact: avoid logo/nav/flags overlap on mid widths + long locales */
@media (max-width: 1240px) {
  .nav {
    grid-template-columns: auto auto;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-sm { min-width: 0; }
  .lang-flag-code { display: none; }
  .lang-flag-btn { min-width: 34px; padding: 0 6px; }
  .brand { background: none; padding-right: 0; }
  .nav-actions { background: none; padding-left: 0; }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 9, 11, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    gap: 4px;
    overflow: visible;
    z-index: 40;
    max-width: none;
  }
  .nav-links.is-open a {
    font-size: 1.05rem;
    padding: 12px 14px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-lead { margin-inline: auto; }
  .hero-cta {
    justify-content: stretch;
    grid-template-columns: 1fr;
    max-width: none;
  }
  .hero-title { min-height: 0; }
  .hero-lead { min-height: 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 440px;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-stage {
    height: min(480px, 58vh);
  }


  .stats-row,
  .plans,
  .steps,
  .trust-grid,
  .checkout,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .vpn-compare-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .vpn-compare-side {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    grid-template-columns: auto minmax(280px, 360px);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .vpn-compare-actions {
    width: 100%;
  }

  .smart-board {
    padding: 20px 16px 24px;
  }

  .smart-board-head,
  .smart-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .smart-side-label,
  .smart-side-label.vpn,
  .smart-side-label.hub {
    text-align: center;
  }

  .smart-board-head .smart-side-label:not(.hub) {
    display: none;
  }

  .route-col-label {
    display: block;
    margin: 4px 2px 2px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .route-col-label.direct {
    color: #8fe0b0;
  }

  .route-col-label.vpn {
    color: #ffb0b5;
  }

  .route-hub {
    order: -1;
    min-height: auto;
    padding: 8px 0 4px;
  }

  .route-lines { display: none; }

  .route-center {
    margin: 0 auto;
  }

  .devices-stage {
    min-height: 360px;
    padding: 36px 16px 28px;
  }

  .devices-cluster {
    height: 300px;
  }

  .device-phone-sm {
    width: 110px;
    height: 220px;
  }

  .device-laptop-wrap {
    width: min(360px, 68%);
  }

  .lifestyle {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lifestyle-media {
    min-height: 360px;
    order: 0;
  }

  .lifestyle-person {
    max-height: 400px;
  }

  .lifestyle-content {
    padding: 28px 24px 36px;
    order: 0;
  }
}

@media (max-width: 640px) {
  .vpn-compare-side {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .vpn-compare-actions { width: 100%; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }

  .container { width: min(100% - 28px, var(--container)); }
  .hero { padding-top: 36px; }
  .hero-stage { height: min(400px, 52vh); }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .vpn-compare-band { padding-bottom: 42px; }
  .vpn-compare-card { padding: 22px 18px; border-radius: 18px; }
  .lifestyle-content { padding: 28px 20px 32px; }
  .lifestyle-media { min-height: 320px; }
  .lifestyle-person { max-height: 340px; }
  .device-phone-sm { display: none; }
  .devices-cluster { height: auto; }
  .device-laptop-wrap { width: min(420px, 92%); }
  .checkout-panel, .summary-panel { padding: 22px 18px; }

  /* Compact header — prevent flag/logo overlap + horizontal scroll */
  .nav {
    height: var(--header-h);
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .brand {
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
  }
  .site-header .brand-symbol {
    width: 15px;
    height: 17px;
  }
  .site-header .brand-symbol img {
    top: -5.5px;
    left: -7px;
    width: 27px;
    height: 27px;
  }
  .site-header .brand-name {
    font-size: 32px;
  }
  .nav-actions {
    gap: 6px;
    padding-left: 0;
    max-width: 100%;
  }
  .nav-actions .btn-sm {
    display: none; /* CTA lives in hero; frees header width */
  }
  .lang-dropdown-trigger {
    width: 46px;
    height: 34px;
    padding-inline: 6px;
    gap: 3px;
    border-radius: 10px;
  }
  .lang-dropdown-trigger .lang-flag-img {
    width: 18px;
    height: 13px;
  }
  .lang-dropdown-chevron {
    width: 8px;
    height: 5px;
  }
  .lang-dropdown-menu {
    top: calc(100% + 7px);
    min-width: 48px;
    padding: 4px;
    border-radius: 12px;
  }
  .lang-dropdown-option {
    width: 38px;
    min-width: 38px;
    height: 32px;
  }
  .lang-dropdown-option .lang-flag-img {
    width: 20px;
    height: 14px;
  }
  .lang-flags {
    gap: 0;
    padding: 2px;
  }
  .lang-flag-btn {
    min-width: 30px;
    width: 30px;
    height: 28px;
    padding: 0;
  }
  .lang-flag-img {
    width: 16px;
    height: 16px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 8.2vw, 2.4rem);
  }
  .hero-lead {
    font-size: var(--type-lead);
    line-height: var(--type-lead-line);
    max-width: none;
  }
  .hero-cta {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .site-header .brand-name { font-size: 28px; }
  .lang-dropdown-trigger {
    width: 44px;
    padding-inline: 5px;
  }
  .lang-flag-btn {
    min-width: 28px;
    width: 28px;
    height: 26px;
  }
}

/* Wide desktop: full landing, not a phone strip */
@media (min-width: 1241px) {
  :root {
    --container: 1200px;
    --header-h: 88px;
  }

  .brand {
    gap: 8px;
    padding-right: 0;
  }

  .brand-symbol {
    width: 42px;
    height: 46px;
  }

  .brand-symbol img {
    top: -16px;
    left: -21px;
    width: 78px;
    height: 78px;
  }

  .site-header .brand-name {
    font-size: var(--type-logo);
  }

  .lang-flag-code {
    display: none;
  }

  .lang-flag-btn {
    min-width: 34px;
    height: 30px;
    padding: 0 6px;
  }

  .lang-flag-img {
    width: 22px;
    height: 15px;
  }

  .hero-grid {
    gap: 32px 56px;
    min-height: calc(100svh - 140px);
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-cta {
    max-width: 540px;
  }

  .smart-diagram {
    gap: 24px;
  }

  .plans {
    gap: 18px;
  }

  .checkout {
    gap: 28px;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1280px;
  }

  .hero-title {
    font-size: var(--type-h1);
  }

  .section {
    padding: 80px 0;
  }
}

@media (min-width: 1800px) {
  :root {
    --container: 1600px;
  }
}

/* Enlarged hero portrait with a QR layer tied to the phone coordinates. */
@media (min-width: 981px) and (max-width: 1240px) {
  .hero-person-wrap {
    height: 110%;
    left: -1%;
    top: 9%;
    transform: none;
  }
}

@media (min-width: 1241px) {
  .hero-person-wrap {
    height: 125%;
    left: -1%;
    top: 21%;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-vulpine-title {
    font-size: clamp(48px, 14vw, 64px);
    line-height: 0.99;
  }

  .hero-kicker {
    max-width: 42ch;
    margin-inline: auto;
    font-size: 11px;
    white-space: normal;
  }

  .hero-cta.hero-cta-single {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .hero-vulpine-title {
    font-size: clamp(42px, 13vw, 54px);
    line-height: 1;
  }
}

/* Stability editorial: scoped to the new hero, independent of checkout styles. */
.hero-stability-title {
  min-height: 0;
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  white-space: normal;
}
.hero-stability-title > span { display: block; }
.hero-copy:has(.hero-stability-title) .hero-kicker {
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
  font-size: 0.875rem;
  white-space: normal;
}
.hero-stability-lead {
  min-height: 0;
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.55;
  white-space: pre-line;
}
@media (max-width: 980px) {
  .hero-stability-title { font-size: clamp(1.75rem, 9.5vw, 4rem); }
  .hero-copy:has(.hero-stability-title) .hero-kicker { width: fit-content; }
}
@media (max-width: 600px) {
  .hero-stability-lead { font-size: 1rem; line-height: 1.6; }
}

/* Email belongs to the purchase summary on desktop and mobile. */
.summary-panel #legacyCheckoutContact { margin: 16px 0 18px; }
.summary-panel #legacyCheckoutContact .contact-hint {
  display: block;
  margin: 0 0 8px;
}
.summary-panel .contact-error { margin: 0 0 14px; }

.auto-renew-toggle[hidden] { display: none; }
