/* ============================================================
   Tenzet — нейтральная монохромная тема
   Только белый, серый и графит. Герой — тёмная полноэкранная
   секция без рамок и теней, остальной сайт светлый.
   ============================================================ */

:root {
  /* поверхности */
  --bg:        #ffffff;
  --sheet:     #ffffff;
  --tile:      #f4f4f5;
  --tile-2:    #ebebed;
  --line:      #e4e4e7;
  --line-soft: #eeeef0;

  /* текст */
  --text:      #0d0d0f;
  --muted:     #6e6e73;
  --muted-2:   #9a9aa0;

  /* графит вместо цветного акцента */
  --dark:      #101012;
  --dark-2:    #26262b;

  /* тёмная секция */
  --ink:       #0a0a0b;
  --on-ink:        rgba(255, 255, 255, .70);
  --on-ink-soft:   rgba(255, 255, 255, .12);
  --on-ink-line:   rgba(255, 255, 255, .16);

  /* скругления */
  --r-xl: 44px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --pad: 24px;
  --max: 1180px;
  --header-h: 78px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
  --shadow-md: 0 14px 40px -18px rgba(0, 0, 0, .18);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.mono { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 10px; }

/* ─────────────────────────── КНОПКИ ─────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover svg { transform: translateX(3px); }

.btn--dark  { --btn-bg: var(--dark); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--dark-2); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--dark); }
.btn--light:hover { --btn-bg: #ededee; }

.btn--outline { border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: #cfcfd4; background: #fafafa; }

.btn--quiet { border-color: transparent; background: rgba(13, 13, 15, .05); }
.btn--quiet:hover { background: rgba(13, 13, 15, .09); }

.btn--onDark {
  --btn-fg: #fff;
  border-color: var(--on-ink-line);
  background: rgba(255, 255, 255, .07);
}
.btn--onDark:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .13); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: inherit;
  cursor: pointer; opacity: .7; transition: opacity .25s, background .25s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { opacity: 1; background: rgba(127, 127, 127, .14); }

.lang { position: relative; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30;
  display: grid; gap: 2px; min-width: 156px;
  padding: 6px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; translate: 0 -4px;
  transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s;
}
/* невидимый мостик, чтобы курсор не терял меню в зазоре под кнопкой */
.lang__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.lang:hover .lang__menu,
.lang:focus-within .lang__menu { opacity: 1; visibility: visible; translate: 0 0; }
.lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 9px 12px;
  border: 0; border-radius: 10px; background: transparent;
  color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600;
  text-align: left; cursor: pointer; transition: background .2s;
}
.lang__opt:hover { background: var(--tile); }
.lang__opt.is-active { background: var(--tile); }
.lang__opt.is-active::after { content: "✓"; color: var(--muted); font-size: 13px; }

/* ─────────────────────────── ШАПКА ─────────────────────────── */
/* Шапка подстраивается под то, что под ней:
   прозрачная у самого верха, тёмное стекло пока лежит на герое,
   светлое — когда герой прокручен. */
.header {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.header.is-over-hero { color: #fff; }

.header.is-stuck.is-over-hero {
  background: rgba(10, 10, 11, .62);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .09);
}
.header.is-stuck:not(.is-over-hero) {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line-soft);
}
.header__inner { display: flex; align-items: center; gap: 16px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px; border-radius: 999px;
  color: inherit; opacity: .7;
  font-size: 14.5px; font-weight: 600;
  transition: opacity .2s, background .2s;
}
.nav a:hover, .nav a.is-active { opacity: 1; background: rgba(127, 127, 127, .16); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 19px; }
.logo--center { position: absolute; left: 50%; transform: translateX(-50%); }
.logo__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--on-ink-line); border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: currentColor;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.logo__mark svg { width: 22px; height: 22px; }
.logo:hover .logo__mark { transform: translateY(-2px); }
.header:not(.is-over-hero) .logo__mark { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }

/* кнопка входа инвертируется вместе с шапкой */
.header.is-over-hero .btn--dark { --btn-bg: #fff; --btn-fg: var(--dark); }
.header.is-over-hero .btn--dark:hover { --btn-bg: #ededee; }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.burger {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--on-ink-line); border-radius: 999px;
  background: rgba(255, 255, 255, .08); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.header:not(.is-over-hero) .burger { border-color: var(--line); background: #fff; }
.burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 12px auto; z-index: 99;
  padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  animation: drop .28s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 2px; margin-bottom: 12px; }
.mobile-menu nav a { padding: 13px 14px; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; }
.mobile-menu nav a:hover { background: var(--tile); color: var(--text); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* ═══════════════════════ ГЕРОЙ ВО ВЕСЬ ЭКРАН ═══════════════════════ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(var(--header-h) * -1);   /* уходит под шапку */
  padding-top: var(--header-h);
  /* высота экрана + то, на что герой поднят вверх, иначе снизу видна полоса фона;
     lvh считает по развёрнутому окну, поэтому на мобильных не остаётся щели */
  min-height: calc(100vh + var(--header-h));
  min-height: calc(100lvh + var(--header-h));
  display: grid; align-items: center;
  background: var(--ink);
  color: #fff;
}

/* мягкое свечение слева, чтобы текст не лежал на глухом чёрном */
.hero__glow {
  position: absolute; left: -14%; top: -20%; width: 68%; height: 130%;
  background: radial-gradient(circle at 42% 45%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 66%);
  filter: blur(60px);
  pointer-events: none; z-index: 0;
}

/* пятно света за курсором — порт компонента Spotlight */
.spotlight {
  position: absolute; left: 0; top: 0; z-index: 1;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 46%, rgba(255, 255, 255, 0) 78%);
  filter: blur(26px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.hero.is-lit .spotlight { opacity: 1; }

/* сцена занимает правую половину до самых краёв */
.hero__stage {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 1;
  width: min(58%, 1000px);
}
.hero__canvas {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity .6s var(--ease);
}
.hero__canvas.is-ready { opacity: 1; }
.hero__canvas.is-failed { display: none; }

/* запасной вид, если сцена не загрузилась */
.hero__fallback {
  position: absolute; inset: 16%; opacity: 0; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .16) 44%, rgba(255, 255, 255, 0) 74%);
  filter: blur(24px);
  transition: opacity .6s var(--ease);
}
.hero__stage.is-fallback .hero__fallback { opacity: 1; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate3d(0, -22px, 0) scale(1.06); } }

/* индикатор загрузки сцены */
.hero__loader {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px;
  pointer-events: none;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(255, 255, 255, .16);
  border-top-color: rgba(255, 255, 255, .7);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* текст */
.hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero__copy { display: grid; justify-items: start; gap: 22px; max-width: 560px; }
/* курсор проходит сквозь текст к сцене, иначе робот перестаёт следить за мышью */
.hero__copy .badge, .hero__copy .btn { pointer-events: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px;
  border: 1px solid var(--on-ink-line); border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--on-ink); font-size: 13.5px; font-weight: 600;
}
.hero__title {
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 800; letter-spacing: -.05em; line-height: .94;
  background: linear-gradient(180deg, #fbfbfb 24%, #97979d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  max-width: 34ch;
  color: var(--on-ink);
  font-size: clamp(16px, 1.7vw, 20px); font-weight: 500; letter-spacing: -.01em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ═══════════════════════ СВЕТЛАЯ ЧАСТЬ ═══════════════════════ */
.sheet { position: relative; z-index: 3; background: var(--sheet); }

.section { padding: clamp(60px, 8vw, 110px) 0 0; }
.section--last { padding-bottom: clamp(60px, 8vw, 110px); }

.section__head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; }
.section__lead { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }

/* ─────────────────────────── ПРОДУКТ ─────────────────────────── */
.product {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: #fff; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.product__art {
  position: relative; min-height: 340px;
  background: radial-gradient(80% 70% at 40% 30%, #f7f7f8 0%, #f2f2f3 55%, #ececee 100%);
  overflow: hidden;
}
.chip {
  position: absolute; border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .55));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .95);
  animation: chip-float 9s ease-in-out infinite;
}
.chip::after {
  content: ""; position: absolute; inset: 13px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(13, 13, 15, .16) 0 3px, transparent 3px 10px),
    linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(236, 236, 238, .6));
}
.chip--1 { width: 46%; height: 32%; left: 11%; top: 18%; rotate: -7deg; }
.chip--2 { width: 38%; height: 27%; right: 9%;  top: 44%; rotate: 5deg;  animation-delay: -3s; }
.chip--3 { width: 31%; height: 22%; left: 24%; bottom: 9%; rotate: -3deg; animation-delay: -6s; opacity: .9; }
@keyframes chip-float { 50% { transform: translateY(-14px); } }

.product__body { display: grid; align-content: center; gap: 16px; padding: clamp(28px, 4vw, 52px); }
.product__eyebrow { color: var(--muted-2); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.product__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.product__text { color: var(--muted); font-size: 16px; }
.product__body .btn { justify-self: start; margin-top: 6px; }

/* что входит */
/* что входит — карточки, разложенные на доске: пунктирная сетка-подложка,
   широкие плитки задают ритм, рукописные пометки со стрелками поясняют цифры */
.board {
  position: relative; margin-top: 18px;
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px dashed #d7d7dc; border-radius: var(--r-xl);
  background: radial-gradient(circle, rgba(13, 13, 15, .085) 1px, transparent 1.4px) 0 0 / 24px 24px;
}
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inc {
  display: grid; align-content: start; gap: 7px;
  padding: 24px 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color .3s;
}
.inc:hover { border-color: #d0d0d6; }
.inc--wide { grid-column: span 2; }

.inc__icon {
  width: 40px; height: 40px; margin-bottom: 8px;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--tile); color: var(--text);
}
.inc__icon svg { width: 21px; height: 21px; }
.inc__title { font-size: 16.5px; font-weight: 700; }
.inc__text { color: var(--muted); font-size: 14.5px; }

.inc__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inc__row .inc__text { flex: 0 1 auto; }

.inc__stat { display: flex; align-items: baseline; gap: 7px; margin: 2px 0 1px; }
.inc__stat b { font-size: clamp(38px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.inc__stat span { color: var(--muted); font-size: 15px; font-weight: 600; }

/* пометка «от руки» со стрелкой к тому, что поясняет */
.note {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--muted-2); pointer-events: none; user-select: none;
}
.note__arrow { width: 62px; height: 23px; flex: none; }
.note__text {
  font-family: Caveat, "Segoe Script", cursive;
  font-size: 25px; font-weight: 600; line-height: 1; white-space: nowrap;
  transform: rotate(-3deg);
}

/* ─────────────────────────── ТАРИФЫ ─────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plans[hidden] { display: none; }

/* выбор локации */
.switch {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  width: max-content; max-width: 100%; margin-inline: auto;
  padding: 4px; border-radius: 999px; background: var(--tile);
}
.switch__btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .3s var(--ease), color .3s, box-shadow .3s;
}
.switch__btn.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.switch__btn:disabled { color: var(--muted-2); cursor: not-allowed; }
.switch__flag { flex: none; display: block; width: 18px; height: 12px; }
.switch__soon {
  padding: 3px 8px; border-radius: 999px;
  background: rgba(13, 13, 15, .06); color: var(--muted-2);
  font-size: 10.5px; font-style: normal; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
}

/* выбор линейки: Shared / Dedicated — описание внутри опции */
.plan-radio {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.type-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 10px; margin-top: 12px;
}
.type-row .switch { margin-inline: 0; }
.switch--info .switch__btn { padding: 10px 13px; cursor: default; }

#cpu-shared:checked    ~ .type-row .switch__btn[for="cpu-shared"],
#cpu-dedicated:checked ~ .type-row .switch__btn[for="cpu-dedicated"] {
  background: #fff; color: var(--text); box-shadow: var(--shadow-sm);
}
#cpu-shared:focus-visible    ~ .type-row .switch__btn[for="cpu-shared"],
#cpu-dedicated:focus-visible ~ .type-row .switch__btn[for="cpu-dedicated"] {
  outline: 2px solid var(--dark); outline-offset: 2px;
}

/* «i» — общая справка по линейкам */
.hint { position: relative; }
.hint__i {
  display: grid; place-items: center;
  width: 16px; height: 16px;
  border: 1.5px solid currentColor; border-radius: 50%;
  font-size: 10px; font-weight: 700; line-height: 1;
  opacity: .55; transition: opacity .25s;
}
.hint:hover .hint__i,
.hint:focus-visible .hint__i { opacity: 1; }

.hint__bubble {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  z-index: 5; display: grid; gap: 11px;
  width: max-content; max-width: min(330px, 82vw);
  padding: 13px 15px; border-radius: var(--r-sm);
  background: var(--dark); color: rgba(255, 255, 255, .8);
  font-size: 13px; font-weight: 500; line-height: 1.45; text-align: left;
  translate: -50% 4px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), translate .22s var(--ease), visibility .22s;
}
.hint__row { display: grid; gap: 3px; }
.hint__row b { color: #fff; font-size: 12.5px; font-weight: 700; }
.hint__bubble::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  width: 9px; height: 9px; background: var(--dark);
  translate: -50% -5px; rotate: 45deg; border-radius: 1px;
}
.hint:hover .hint__bubble,
.hint:focus-visible .hint__bubble { opacity: 1; visibility: visible; translate: -50% 0; }

/* показываем панель выбранной линейки */
.plan {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff;
}

.plan__name { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.plan__net { margin-top: -11px; color: var(--muted-2); font-size: 15px; }

/* три главные характеристики в колонках с разделителями */
.plan__core { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4px; }
.plan__core li { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); }
.plan__core li:first-child { padding-left: 0; border-left: 0; }
.plan__core b { font-size: 17px; font-weight: 600; }
.plan__core i { font-style: normal; }
.plan__core span { color: var(--muted-2); font-size: 14px; }

.plan__specs { display: grid; }
.plan__specs li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan__specs li:last-child { border-bottom: 0; }
.plan__specs span { color: var(--muted); }
.plan__specs b { font-weight: 600; }

/* цены: час и месяц отдельными плитками */
.plan__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.plan__price { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); background: var(--tile); }
.plan__price b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.plan__price span { color: var(--muted-2); font-size: 13.5px; }

.plan .btn { margin-top: 0; }

.plans-panel { margin-top: clamp(22px, 3vw, 34px); }
#cpu-shared:checked    ~ #panel-de,
#cpu-dedicated:checked ~ #panel-des { display: none; }


/* ─────────────────────────── ЛОКАЦИЯ ─────────────────────────── */
.location { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }

.location__map {
  position: relative; min-height: 320px;
  border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(70% 60% at 52% 40%, #f6f6f7 0%, #f1f1f2 60%, #ededee 100%);
  border: 1px solid var(--line);
}
.location__map::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(13, 13, 15, .18) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 60% 58% at 52% 44%, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 52% 44%, #000 30%, transparent 76%);
}
.location__map .ping {
  position: absolute; left: 52%; top: 42%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--dark);
  box-shadow: 0 0 0 4px rgba(13, 13, 15, .1), 0 6px 14px rgba(0, 0, 0, .25);
}
.location__map .ping::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid rgba(13, 13, 15, .35);
  animation: radar 2.8s ease-out infinite;
}
@keyframes radar { to { transform: scale(3); opacity: 0; } }
.location__label {
  position: absolute; left: 52%; top: 42%;
  transform: translate(22px, -50%);
  padding: 7px 14px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}

.location__facts {
  display: grid; align-content: center; gap: 14px;
  padding: clamp(26px, 3.4vw, 42px);
  border-radius: var(--r-xl); background: var(--tile);
}
.location__title { display: flex; align-items: center; gap: 10px; font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; }
.location__title .tag {
  display: inline-grid; place-items: center;
  min-width: 40px; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--muted);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.location__text { color: var(--muted); font-size: 15.5px; }
.location__list { display: grid; margin-top: 4px; border-top: 1px solid var(--line); }
.location__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.location__list span { color: var(--muted); }
.location__list b { font-weight: 700; }

/* ─────────────────────────── ПОЧЕМУ МЫ ─────────────────────────── */
.grid { display: grid; gap: 14px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }

.feature {
  display: grid; gap: 10px; align-content: start;
  padding: 30px 26px;
  border-radius: var(--r-lg); background: var(--tile);
  transition: background .3s, transform .3s var(--ease);
}
.feature:hover { background: var(--tile-2); transform: translateY(-3px); }
.feature h3 { font-size: 19px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 15px; }

/* ─────────────────────────── FAQ ─────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; transition: border-color .3s, background .3s;
}
.faq__item[open] { background: var(--tile); border-color: transparent; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-size: 16.5px; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  position: relative; flex: none; width: 32px; height: 32px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.faq__chev::before, .faq__chev::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
  border-radius: 2px; background: currentColor; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__chev::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq__answer { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }
.faq__answer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ─────────────────────────── ФИНАЛЬНЫЙ БЛОК ─────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: clamp(44px, 7vw, 82px) 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #f8f8f9, #efeff1);
  border: 1px solid var(--line);
}
.cta__orb {
  position: absolute; left: 50%; bottom: -72%;
  width: min(760px, 108%); aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 44% 30%, #ffffff 0%, rgba(247, 247, 248, .95) 38%, rgba(226, 226, 229, .8) 68%, rgba(214, 214, 218, .5) 88%, rgba(214, 214, 218, 0) 100%);
  box-shadow: inset -24px -30px 70px rgba(0, 0, 0, .07), inset 20px 22px 60px rgba(255, 255, 255, .9);
  animation: drift 16s ease-in-out infinite;
}
.cta h2, .cta p, .cta__actions { position: relative; }
.cta h2 { font-size: clamp(27px, 4vw, 44px); font-weight: 800; max-width: 16ch; }
.cta p { max-width: 52ch; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* ─────────────────────────── ПОДВАЛ ─────────────────────────── */
.footer { padding: clamp(46px, 6vw, 76px) 0 30px; border-top: 1px solid var(--line-soft); background: #fff; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 36px 24px; }
.footer__brand { display: grid; gap: 14px; align-content: start; max-width: 330px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; }
.footer__brand .logo { color: var(--text); }
.footer__brand .logo__mark { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.footer__brand .logo__text { font-size: 19px; }

.dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 rgba(127, 127, 127, .5); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(127, 127, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 127, 127, 0); } }

.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--muted-2); margin-bottom: 2px; }
.footer__col a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(34px, 5vw, 56px); padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2); font-size: 13.5px;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: var(--text); }
.footer__legal { display: flex; gap: 20px; flex: none; }

/* ─────────────────────────── АДАПТИВ ─────────────────────────── */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: 460px; }
}

@media (max-width: 900px) {
  .hero {
    display: block; min-height: 0;
    padding: var(--header-h) 0 clamp(28px, 6vw, 48px);
  }
  .hero__stage { position: relative; width: 100%; height: clamp(300px, 58vw, 440px); }
  .hero__copy { max-width: none; justify-items: center; text-align: center; margin-top: 8px; }
  .hero__sub { max-width: 42ch; }
  .hero__cta { justify-content: center; }
  .hero__glow { left: -30%; width: 160%; height: 90%; top: 0; }

  .nav--left { display: none; }
  .burger { display: flex; }
  .hide-sm { display: none; }
  .logo--center { position: static; transform: none; }
  .header__actions { margin-left: auto; }
  .grid--features { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__art { min-height: 260px; }
  .location { grid-template-columns: 1fr; }
  .location__map { min-height: 260px; }
}

@media (max-width: 640px) {
  :root { --pad: 16px; --r-xl: 30px; --r-lg: 22px; }
  .hero__stage { height: 300px; }
  .plans { grid-template-columns: 1fr; }
  .switch__btn { padding: 9px 14px; font-size: 14px; gap: 7px; }
  .type-row { position: relative; }
  .type-row .hint { position: static; }
  .type-row .hint__bubble { left: 50%; max-width: calc(100vw - 2 * var(--pad) - 8px); }
  .type-row .hint__bubble::after { display: none; }
  .included { grid-template-columns: 1fr; }
  .inc--wide { grid-column: span 1; }
  .board { padding: 0; border: 0; background: none; }
  .note { display: none; }
  .grid--features { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
