:root {
  --bg: #c8e4d2;
  --bg-alt: rgba(255, 255, 255, 0.16);
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.9);
  --glass-line: rgba(255, 255, 255, 0.55);
  --text: #1a2a21;
  --text-soft: #456354;
  --muted: #6f8c7c;
  --green-1: #d8f2e0;
  --green-2: #6ecf8f;
  --green-3: #3fa866;
  --green-4: #2a8a50;
  --accent: #1a6340;
  --line: rgba(45, 110, 75, 0.14);
  --shadow: 0 12px 32px rgba(22, 72, 48, 0.1);
  --shadow-soft: 0 4px 14px rgba(22, 72, 48, 0.06);
  --radius: clamp(12px, 2vw, 18px);
  --radius-lg: clamp(16px, 2.5vw, 24px);
  --gap: clamp(8px, 1.5vw, 14px);
  --section-y: clamp(1.35rem, 3.5vw, 2.25rem);
  --header-h: clamp(52px, 8vw, 60px);
  --max: min(1080px, 100% - 2rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.875rem, 1.6vw, 0.95rem);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  z-index: 1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--green-4);
}

.ico--btn { width: 1rem; height: 1rem; color: currentColor; }
.ico--eyebrow { width: 0.9rem; height: 0.9rem; color: var(--green-3); }
.ico--kicker { width: 0.85rem; height: 0.85rem; }
.ico--stat { width: 1.1rem; height: 1.1rem; color: var(--green-3); }
.ico--tag { width: 0.75rem; height: 0.75rem; color: #c8f0d4; }
.ico--list { width: 0.8rem; height: 0.8rem; color: var(--green-3); }
.ico--info { width: 1rem; height: 1rem; color: var(--green-4); }

.container {
  width: var(--max);
  margin-inline: auto;
}

/* Unified semi-transparent backdrop */
.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.site-backdrop__wash {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 95% 75% at 12% 8%, rgba(176, 228, 192, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 85% 70% at 92% 15%, rgba(140, 210, 165, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 90% 75% at 50% 100%, rgba(190, 232, 205, 0.42) 0%, transparent 62%),
    linear-gradient(165deg, rgba(232, 247, 237, 0.82) 0%, rgba(206, 232, 216, 0.76) 50%, rgba(220, 242, 228, 0.8) 100%);
  animation: wash-drift 52s ease-in-out infinite;
}

.site-backdrop__falling {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.falling-leaf {
  position: absolute;
  top: 0;
  left: var(--x, 50%);
  width: var(--size, 32px);
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -12vh, 0) rotate(0deg);
  animation: leaf-fall var(--duration, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes wash-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.2%, -0.8%, 0) scale(1.012); }
}

@keyframes leaf-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  6% { opacity: var(--opacity, 0.12); }
  22% { transform: translate3d(var(--sway1, 30px), 24vh, 0) rotate(72deg); }
  48% { transform: translate3d(var(--sway2, -20px), 52vh, 0) rotate(168deg); }
  72% { transform: translate3d(var(--sway3, 25px), 78vh, 0) rotate(264deg); }
  92% { opacity: var(--opacity, 0.12); }
  100% {
    transform: translate3d(var(--sway4, 10px), 112vh, 0) rotate(var(--spin, 360deg));
    opacity: 0;
  }
}

@keyframes leaf-fall-drift {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  8% { opacity: var(--opacity, 0.12); }
  30% { transform: translate3d(var(--sway1, 40px), 28vh, 0) rotate(95deg); }
  55% { transform: translate3d(var(--sway2, 55px), 55vh, 0) rotate(190deg); }
  80% { transform: translate3d(var(--sway3, 35px), 82vh, 0) rotate(300deg); }
  94% { opacity: var(--opacity, 0.12); }
  100% {
    transform: translate3d(var(--sway4, 20px), 112vh, 0) rotate(var(--spin, 360deg));
    opacity: 0;
  }
}

@keyframes leaf-fall-spiral {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  7% { opacity: var(--opacity, 0.12); }
  18% { transform: translate3d(var(--sway1, -45px), 18vh, 0) rotate(120deg); }
  36% { transform: translate3d(var(--sway2, 50px), 38vh, 0) rotate(240deg); }
  54% { transform: translate3d(var(--sway3, -35px), 58vh, 0) rotate(360deg); }
  72% { transform: translate3d(var(--sway4, 40px), 78vh, 0) rotate(480deg); }
  90% { transform: translate3d(var(--sway1, -15px), 96vh, 0) rotate(600deg); opacity: var(--opacity, 0.12); }
  100% {
    transform: translate3d(0, 112vh, 0) rotate(var(--spin, 720deg));
    opacity: 0;
  }
}

@keyframes leaf-fall-flutter {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: var(--opacity, 0.12); }
  15% { transform: translate3d(var(--sway1, 25px), 14vh, 0) rotate(45deg); }
  28% { transform: translate3d(var(--sway2, -30px), 28vh, 0) rotate(-30deg); }
  42% { transform: translate3d(var(--sway3, 20px), 44vh, 0) rotate(110deg); }
  58% { transform: translate3d(var(--sway4, -25px), 60vh, 0) rotate(20deg); }
  72% { transform: translate3d(var(--sway1, 15px), 76vh, 0) rotate(200deg); }
  86% { transform: translate3d(var(--sway2, -18px), 92vh, 0) rotate(310deg); opacity: var(--opacity, 0.12); }
  100% {
    transform: translate3d(var(--sway3, 8px), 112vh, 0) rotate(var(--spin, 420deg));
    opacity: 0;
  }
}

@keyframes leaf-fall-arc {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: var(--opacity, 0.12); }
  35% { transform: translate3d(var(--sway1, 60px), 35vh, 0) rotate(140deg); }
  65% { transform: translate3d(var(--sway2, -10px), 68vh, 0) rotate(260deg); }
  92% { opacity: var(--opacity, 0.12); }
  100% {
    transform: translate3d(var(--sway3, -50px), 112vh, 0) rotate(var(--spin, 380deg));
    opacity: 0;
  }
}

@keyframes leaf-fall-zigzag {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  6% { opacity: var(--opacity, 0.12); }
  12% { transform: translate3d(var(--sway1, -35px), 10vh, 0) rotate(40deg); }
  24% { transform: translate3d(var(--sway2, 35px), 22vh, 0) rotate(100deg); }
  36% { transform: translate3d(var(--sway3, -30px), 36vh, 0) rotate(160deg); }
  48% { transform: translate3d(var(--sway4, 30px), 50vh, 0) rotate(220deg); }
  60% { transform: translate3d(var(--sway1, -25px), 64vh, 0) rotate(280deg); }
  72% { transform: translate3d(var(--sway2, 25px), 78vh, 0) rotate(340deg); }
  84% { transform: translate3d(var(--sway3, -15px), 92vh, 0) rotate(400deg); }
  94% { opacity: var(--opacity, 0.12); }
  100% {
    transform: translate3d(var(--sway4, 10px), 112vh, 0) rotate(var(--spin, 480deg));
    opacity: 0;
  }
}

.falling-leaf--pattern-0 { animation-name: leaf-fall; animation-timing-function: linear; }
.falling-leaf--pattern-1 { animation-name: leaf-fall-drift; animation-timing-function: ease-in-out; }
.falling-leaf--pattern-2 { animation-name: leaf-fall-spiral; animation-timing-function: cubic-bezier(0.45, 0.05, 0.55, 0.95); }
.falling-leaf--pattern-3 { animation-name: leaf-fall-flutter; animation-timing-function: ease-in; }
.falling-leaf--pattern-4 { animation-name: leaf-fall-arc; animation-timing-function: ease-out; }
.falling-leaf--pattern-5 { animation-name: leaf-fall-zigzag; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

.falling-leaf--depth-back {
  filter: blur(0.4px);
  z-index: 0;
}

.falling-leaf--depth-front {
  z-index: 1;
}

@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes soft-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.15); }
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow-soft), 0 0 0 0 rgba(69, 176, 109, 0); }
  50% { box-shadow: var(--shadow), 0 0 20px rgba(69, 176, 109, 0.18); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 252, 249, 0.62);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(22, 72, 48, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  letter-spacing: -0.02em;
}

.brand img {
  width: clamp(32px, 7vw, 36px);
  height: clamp(32px, 7vw, 36px);
  border-radius: 9px;
  box-shadow: var(--shadow-soft);
}

.brand small {
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a:not(.btn) {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:not(.btn):hover { background: rgba(110, 207, 143, 0.12); color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.15rem;
}

.nav-actions a:not(.btn) {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-actions a:not(.btn):hover { background: rgba(110, 207, 143, 0.12); color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-3) 0%, var(--green-4) 55%, #267a48 100%);
  box-shadow: 0 6px 20px rgba(42, 138, 80, 0.3);
}

.btn-primary:hover { box-shadow: 0 6px 18px rgba(45, 138, 82, 0.32); }

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent);
}

.btn-light {
  background: var(--card-strong);
  color: var(--accent);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; }

.btn-block {
  width: 100%;
  justify-content: flex-start;
  padding: 0.6rem 0.85rem;
}

.ico--on-primary { color: #fff; }

.btn-ghost .ico--btn { color: #229ED9; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 4vw, 2rem) 0 var(--section-y);
}

.hero-copy {
  animation: fade-up 0.65s ease-out both;
}

.hero-visual {
  animation: fade-up 0.65s ease-out 0.12s both;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--glass-line);
  color: var(--green-4);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
  animation: soft-pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--green-4), #5ecf8a, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-soft);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  max-width: 42ch;
  margin-bottom: 0.85rem;
}

.hero-lead-block {
  max-width: 42ch;
  margin-bottom: 1rem;
}

.hero-lead--tagline {
  margin-bottom: 0.3rem;
}

.hero-lead--muted {
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  opacity: 0.88;
  margin-top: 0;
}

.hero-trial-link,
.hero-tariffs-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-4);
  transition: color 0.15s ease;
}

.hero-trial-link {
  margin: 0;
}

.hero-trial-link:hover,
.hero-tariffs-link:hover { color: var(--accent); }

.hero-connect {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 17.5rem;
  margin-bottom: 0.5rem;
}

.hero-tariffs-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-4);
  margin-bottom: 0.85rem;
  transition: color 0.15s ease;
}

.hero-tariffs-link:hover { color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.35rem, 1.2vw, 0.45rem);
  margin-bottom: 0.65rem;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: clamp(0.28rem, 1.2vw, 0.38rem);
  min-height: 0;
  padding: clamp(0.28rem, 1vw, 0.38rem) clamp(0.38rem, 1.2vw, 0.48rem);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-soft);
}

.stat-pill__text {
  min-width: 0;
  line-height: 1.15;
}

.stat-pill__icon {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: clamp(1.35rem, 3.8vw, 1.55rem);
  height: clamp(1.35rem, 3.8vw, 1.55rem);
  border-radius: 7px;
  background: var(--green-1);
  overflow: hidden;
  line-height: 0;
}

.stat-pill__icon .ico--stat-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: calc(0.72rem + 4px);
  height: calc(0.72rem + 4px);
  margin: 0;
  padding: 0;
  flex: none;
  color: var(--green-4);
  transform: translate(calc(-50% + 1px), calc(-50% + 1px));
  transform-origin: center;
  overflow: visible;
}

.stat-pill strong {
  display: block;
  font-size: clamp(0.72rem, 2.1vw, 0.84rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-pill span {
  display: block;
  margin-top: 0.1rem;
  font-size: clamp(0.54rem, 1.45vw, 0.62rem);
  color: var(--muted);
  line-height: 1.2;
}

.stat-pill--devices span {
  font-size: clamp(0.5rem, 1.25vw, 0.58rem);
  line-height: 1.15;
}

.apps-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.apps-strip__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-chip {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--green-1);
  border: 1px solid rgba(69, 176, 109, 0.2);
}

.hero-visual { position: relative; }

.price-tag {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(18, 45, 30, 0.12);
  font-size: clamp(0.62rem, 1.6vw, 0.7rem);
  color: var(--muted);
  pointer-events: none;
}

.price-tag strong {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  color: var(--accent);
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
  aspect-ratio: 5 / 3.5;
  background: #dceee2;
  container-type: inline-size;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.35s ease;
}

.hero-card:hover .hero-bg {
  transform: scale(1.03);
}

.hero-logo {
  position: absolute;
  top: clamp(44%, 47%, 49%);
  left: 50%;
  width: clamp(10rem, 40vw, 18.5rem);
  width: clamp(10rem, 58cqi, 18.5rem);
  max-width: 90%;
  height: auto;
  transform: translate(-50%, -50%);
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 12px 32px rgba(18, 45, 30, 0.32));
  object-fit: contain;
}

.hero-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  padding: 0.65rem 0.85rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(16, 36, 24, 0.55));
  color: #eefaf2;
  pointer-events: none;
}

.hero-card-caption {
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: rgba(16, 36, 24, 0.42);
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #eefaf2;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
}

#pricing {
  scroll-margin-top: calc(var(--header-h) + 0.65rem);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(1rem, 3vw, 1.5rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: clamp(0.78rem, 2.1vw, 0.95rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-4);
}

.section-kicker .ico--kicker {
  width: clamp(0.95rem, 2.4vw, 1.1rem);
  height: clamp(0.95rem, 2.4vw, 1.1rem);
}

.section-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--text-soft);
  font-size: clamp(0.82rem, 2vw, 0.9rem);
}

/* Features — ровно 4 × 2 на десктопе */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.feature-card {
  padding: 0.6rem 0.55rem;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(69, 176, 109, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.45rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green-1), rgba(110, 207, 143, 0.25));
}

.feature-icon .ico { width: 1.1rem; height: 1.1rem; }

.feature-card h3 {
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.4;
}

/* Servers — узкие компактные карточки */
.servers-layout {
  display: flex;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.servers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  max-width: none;
}

.server-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 4.85rem;
  min-height: 4.1rem;
  padding: 0.38rem 0.28rem;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.flag {
  width: 1.25rem;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.flag--pennant {
  width: 1.2rem;
  height: 1.2rem;
  aspect-ratio: 1;
  border-radius: 0;
  box-shadow: none;
}

.server-name {
  width: 100%;
  min-width: 0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-3);
  flex-shrink: 0;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(69, 176, 109, 0.45);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 5px rgba(69, 176, 109, 0);
  }
}

/* Special nodes */
.special-nodes {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(26, 99, 64, 0.92), rgba(42, 138, 80, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 20px 50px rgba(18, 45, 30, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.special-nodes__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(255, 200, 200, 0.12), transparent 40%),
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 9px
    );
  pointer-events: none;
}

.special-nodes__head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.1rem;
}

.special-nodes__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dff5e8;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.special-nodes__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: #f4fcf7;
}

.special-nodes__head p {
  margin: 0 auto;
  max-width: 36ch;
  color: rgba(232, 247, 237, 0.82);
  font-size: clamp(0.78rem, 2vw, 0.88rem);
}

.special-nodes__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.special-node {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  align-items: start;
  text-align: left;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(12, 36, 24, 0.14);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.special-node::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-2), var(--accent));
}

.special-node--youtube::before {
  background: linear-gradient(90deg, #ff8a80, #e53935);
}

.special-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(12, 36, 24, 0.18);
}

.special-node__icon-wrap {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-top: 0.15rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--green-1), rgba(110, 207, 143, 0.28));
  border: 1px solid rgba(69, 176, 109, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.special-node--bypass .special-node__icon-wrap {
  border-radius: 10px;
  background: var(--green-4);
  border-color: rgba(42, 138, 80, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.special-node--youtube .special-node__icon-wrap {
  background: linear-gradient(145deg, #ffebee, rgba(229, 57, 53, 0.14));
  border-color: rgba(229, 57, 53, 0.2);
}

.special-node__icon-wrap .flag--pennant {
  width: 1.35rem;
  height: 1.35rem;
}

.special-node__icon {
  width: 1.3rem;
  height: 1.3rem;
  color: #e53935;
}

.special-node h4 {
  grid-column: 2;
  font-size: 0.86rem;
  margin: 0.35rem 0 0;
  line-height: 1.25;
}

.special-node p {
  grid-column: 2;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.73rem;
  line-height: 1.45;
  padding-right: 0.25rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: var(--gap);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.6rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.price-card:hover { border-color: rgba(69, 176, 109, 0.35); }

.pricing-fallback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* «Хит» — только бейдж, без постоянной подсветки карточки */

.price-badge {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--green-3);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-duration {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-title {
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0.15rem 0 0.4rem;
}

.price-amount {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-amount small {
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  margin-left: 1px;
}

.price-per {
  font-size: 0.65rem;
  color: var(--muted);
  margin: 0.15rem 0 0.45rem;
}

.price-list {
  list-style: none;
  margin-top: auto;
  display: grid;
  gap: 0.25rem;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: var(--text-soft);
}

.price-card--selected {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 243, 0.85));
  border: 2px solid rgba(69, 176, 109, 0.55);
  box-shadow: var(--shadow), 0 0 0 2px rgba(110, 207, 143, 0.2);
}

.pricing-checkout {
  margin-top: 1rem;
  padding: clamp(0.7rem, 2vw, 0.85rem) clamp(0.85rem, 2.5vw, 1rem);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}

.pricing-checkout__summary {
  margin: 0;
  flex: 1 1 10rem;
  min-width: 0;
  font-size: clamp(0.76rem, 2vw, 0.82rem);
  color: var(--text-soft);
  text-align: left;
}

.pricing-checkout__summary strong {
  color: var(--accent);
}

.pricing-checkout__buy {
  flex: 0 0 auto;
  width: auto;
  min-width: clamp(9rem, 26vw, 11.5rem);
  margin: 0;
  margin-left: auto;
  padding-inline: 1.15rem;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .pricing-checkout {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .pricing-checkout__summary {
    flex: 0 0 auto;
  }

  .pricing-checkout__buy {
    width: 100%;
    margin-left: 0;
  }
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-soft);
  background: var(--card);
  border: 1px solid var(--line);
}

.info-chip strong { color: var(--accent); }

.cta-band {
  margin-top: 0.85rem;
  padding: clamp(0.85rem, 3vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-4), var(--accent));
  color: #f0faf4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-band h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 0.2rem;
}

.cta-band p {
  font-size: 0.78rem;
  opacity: 0.92;
  max-width: 40ch;
  margin: 0;
}

.cta-band__note {
  margin-top: 0.35rem !important;
  font-size: 0.72rem !important;
  opacity: 0.78 !important;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  background: transparent;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-brand img { border-radius: 6px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 28rem; margin-inline: auto; width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    background: rgba(248, 252, 249, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav.nav--animate {
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav.nav--instant {
    transition: none !important;
  }

  .nav a:not(.btn) { padding: 0.6rem 0.75rem; }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    margin-top: 0.35rem;
    padding: 0.55rem 0.2rem 0.2rem;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .nav-actions a:not(.btn) {
    width: 100%;
    padding: 0.58rem 0.75rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--green-4);
    background: rgba(110, 207, 143, 0.1);
    border: 1px solid rgba(69, 176, 109, 0.18);
  }

  .nav-actions .btn {
    width: 100%;
    align-self: stretch;
    margin-top: 0;
    padding: 0.62rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-3) 0%, var(--accent) 100%);
    box-shadow: 0 4px 14px rgba(26, 99, 64, 0.22);
  }

  .nav-actions .btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(26, 99, 64, 0.18);
  }
}

@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .special-nodes__grid {
    grid-template-columns: 1fr;
  }

  .special-node {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .server-card {
    width: 4.35rem;
    min-height: 3.85rem;
  }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat-pill:last-child { grid-column: span 2; }
  .hero-connect { max-width: 100%; }
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .nav-toggle span { transition: none; }
  .status-dot,
  .site-backdrop__wash,
  .falling-leaf,
  .eyebrow-dot,
  .price-card--selected { animation: none; }
  .hero-copy,
  .hero-visual { animation: none; }
  .feature-card:hover,
  .special-node:hover,
  .hero-card:hover .hero-bg { transform: none; }
}


/* Login buttons: SVG fragment refs must not steal clicks from parent <a>. */
a[data-mm-login],
a[data-mm-login] .ico,
a[data-mm-login] svg {
  pointer-events: auto;
}
a[data-mm-login] svg,
a[data-mm-login] .ico {
  pointer-events: none;
}
