:root {
  --bg: #0A0F1A;
  --bg-panel: #121926;
  --bg-panel-2: #182236;
  --border: #232E42;
  --text: #E7ECF3;
  --text-dim: #8B96A9;
  --accent: #4FE0C4;
  --accent-dim: #2C7C6C;
  --violet: #8C93FF;
  --danger: #FF6B6B;
  --radius: 14px;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --mx: 50%;
  --my: 50%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
}

/* ---------- Анимированный фон ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  mix-blend-mode: screen;
}
.orb-1 {
  width: 480px; height: 480px;
  top: -140px; left: -100px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: orbFloat1 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 420px; height: 420px;
  bottom: -160px; right: -80px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  animation: orbFloat2 26s ease-in-out infinite alternate;
}
.orb-3 {
  width: 320px; height: 320px;
  top: 40%; left: 60%;
  background: radial-gradient(circle, #3FA0FF, transparent 70%);
  opacity: 0.22;
  animation: orbFloat3 30s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -50px) scale(1.1); }
}
@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-90px, 70px) scale(0.9); }
}

.site-header, .hero, .section, .site-footer, .auth-wrap {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-open span:nth-child(2) { opacity: 0; }
.nav-toggle-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.12s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #06110E; }
.btn-primary:hover { opacity: 0.9; box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -8px rgba(79, 224, 196, 0.55); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim); transform: translateY(-1px); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { box-shadow: 0 0 0 1px var(--danger); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
.btn-ghost .btn-ripple, .btn-danger .btn-ripple { background: rgba(255, 255, 255, 0.12); }
@keyframes rippleAnim {
  to { transform: scale(1); opacity: 0; }
}

/* ---------- Hero (tunnel signature) ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  animation: fadeSlideUp 0.6s ease both;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08;
  animation: fadeSlideUp 0.6s ease both 0.08s;
}
.hero p.lead {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 18px 0 30px;
  animation: fadeSlideUp 0.6s ease both 0.16s;
}
.hero-actions { display: flex; gap: 14px; animation: fadeSlideUp 0.6s ease both 0.24s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-wave {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  justify-self: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.wave-move { will-change: transform; }
.wave-move-1 { animation: waveScroll 9s linear infinite; }
.wave-move-2 { animation: waveScroll 14s linear infinite reverse; }
.wave-move-3 { animation: waveScroll 20s linear infinite; }
@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-400px); }
}
@media (prefers-reduced-motion: reduce) {
  .wave-move { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 12px; font-size: 1.9rem; }
.section-sub { text-align: center; color: var(--text-dim); max-width: 52ch; margin: 0 auto 44px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, border-color 0.2s;
  will-change: transform;
}
.card h3 { font-size: 1.05rem; }
.card p { color: var(--text-dim); font-size: 0.94rem; margin: 8px 0 0; }

.card.tilt:hover, .plan-card.tilt:hover { border-color: var(--accent-dim); }

.server-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.feature-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ---------- Plans ---------- */
.plan-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, border-color 0.2s;
  will-change: transform;
}
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-price { font-family: var(--font-display); font-size: 2rem; }
.plan-price span { font-size: 0.95rem; color: var(--text-dim); font-weight: 400; }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-features li { color: var(--text-dim); font-size: 0.9rem; padding-left: 22px; position: relative; }
.plan-features li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}

/* ---------- Forms ---------- */
.auth-wrap {
  max-width: 400px;
  margin: 72px auto;
  padding: 32px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 16px 0 6px;
}
input[type=text], input[type=email], input[type=password] {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.password-field { position: relative; }
.password-field input { padding-right: 84px; }
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 6px 8px;
}
.password-toggle:hover { text-decoration: underline; }

.error-box {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

/* ---------- Dashboard ---------- */
.dash-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; min-width: 0; }
/* Без этого правило grid позволяет широкому содержимому (например, таблице)
   растягивать всю колонку и всю страницу шире экрана на телефоне —
   это самая частая причина "горизонтальной прокрутки всей страницы" */
.dash-grid > div { min-width: 0; }
.dash-side { display: flex; flex-direction: column; gap: 8px; }
.dash-side a {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.dash-side a.active, .dash-side a:hover { background: var(--bg-panel); color: var(--text); }

.stat-row { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.stat {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  min-width: 160px;
}
.stat .label { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.stat .value { font-family: var(--font-display); font-size: 1.5rem; margin-top: 4px; }

table.devices { width: 100%; border-collapse: collapse; }
table.devices th, table.devices td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
table.devices th { color: var(--text-dim); font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.mono { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-dim); }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
}
.badge-active { background: rgba(79, 224, 196, 0.15); color: var(--accent); }
.badge-expired { background: rgba(255, 107, 107, 0.15); color: var(--danger); }

/* ---------- Family ---------- */
.invite-code {
  font-family: var(--font-mono);
  background: var(--bg);
  border: 1px dashed var(--border);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* ---------- Вкладки и шаги инструкций ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, transform 0.1s;
}
.tab-btn:hover { color: var(--text); border-color: var(--accent-dim); }
.tab-btn.active { color: #06110E; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.tab-btn:active { transform: scale(0.96); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeSlideUp 0.3s ease both; }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 56px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #06110E;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.86em;
}
/* ---------- Тост-уведомления ---------- */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(18, 25, 38, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-size: 0.92rem;
  max-width: 340px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-visible { opacity: 1; transform: translateY(0); }
.toast-error { border-color: rgba(255, 107, 107, 0.35); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
@media (max-width: 600px) {
  .toast { left: 16px; right: 16px; max-width: none; }
}
/* ---------- Тайм-лайн "как это работает" ---------- */
.steps-flow {
  position: relative;
  display: flex;
  gap: 0;
}
.steps-flow::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--violet), #3FA0FF);
  opacity: 0.5;
  z-index: 0;
}
.step-flow-item {
  flex: 1;
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}
.step-flow-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}
.step-flow-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step-flow-item p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }

@media (max-width: 860px) {
  .steps-flow { flex-direction: column; gap: 28px; }
  .steps-flow::before { display: none; }
}

/* ---------- Карточки тарифов v2 ---------- */
.plan-card-v2 {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.2s, box-shadow 0.2s;
}
.plan-card-v2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  opacity: 0.7;
}
.plan-card-v2:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dim);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.plan-card-v2.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-card-v2.featured:hover { box-shadow: 0 0 0 1px var(--accent), 0 20px 40px -20px rgba(0, 0, 0, 0.5); }

.plan-ribbon {
  position: absolute;
  top: 16px; right: -34px;
  background: var(--accent);
  color: #06110E;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(35deg);
}
.plan-icon { font-size: 1.8rem; }
.plan-card-v2 h3 { font-size: 1.1rem; margin: 0; }
.plan-card-v2 .plan-price { font-family: var(--font-display); font-size: 2.1rem; margin: 2px 0; }
.plan-card-v2 .plan-price span { font-size: 0.92rem; color: var(--text-dim); font-weight: 400; }

.plan-features-v2 {
  list-style: none;
  padding: 0;
  margin: 6px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features-v2 li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.plan-features-v2 li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(79, 224, 196, 0.15);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  margin-top: 60px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--text-dim); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { color: var(--text-dim); max-width: 32ch; margin: 0; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--text-dim);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .hero-wave { max-width: 280px; }
}

/* ==================================================================
   МОБИЛЬНОЕ МЕНЮ
   ================================================================== */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    height: calc(100vh - 68px);
    max-height: calc(100vh - 68px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    padding: 18px 20px 30px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    overflow-y: auto;
    z-index: 20;
  }
  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a, .nav form { width: 100%; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
  }
  .nav .btn { width: 100%; margin-top: 8px; }
  body.no-scroll { overflow: hidden; }
}

/* ==================================================================
   ГОРИЗОНТАЛЬНАЯ ПРОКРУТКА ДЛЯ ТАБЛИЦ НА УЗКИХ ЭКРАНАХ
   ================================================================== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 700px) {
  table.devices { min-width: 620px; }
}

/* ==================================================================
   БОКОВОЕ МЕНЮ ЛИЧНОГО КАБИНЕТА / АДМИНКИ — превращается в горизонтальную
   строку вкладок на узких экранах, а не в длинный вертикальный список
   ================================================================== */
@media (max-width: 860px) {
  .dash-side {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
  }
  .dash-side a {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .dash-side a[style*="border-top"] {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 10px !important;
  }
}

/* ==================================================================
   ОБЩАЯ ПОДСТРОЙКА ДЛЯ ТЕЛЕФОНОВ
   ================================================================== */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 40px 0 48px; }
  .section-title { font-size: 1.5rem; }

  .card, .plan-card-v2, .auth-wrap { padding: 20px; }
  .auth-wrap { margin: 32px auto; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .stat { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .stat-row { gap: 10px; }

  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab-btn { flex-shrink: 0; }

  .server-option { flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .plan-ribbon { right: -38px; top: 14px; font-size: 0.68rem; }
}

@media (max-width: 420px) {
  .brand { font-size: 1rem; }
  .btn { padding: 10px 16px; font-size: 0.88rem; }
  .plan-card-v2 .plan-price { font-size: 1.8rem; }
}
