/* ==========================================================
   Granit Cloud — VDS landing page
   ========================================================== */

:root {
  --bg: #07080a;
  --bg-alt: #0a0c0f;
  --panel: #0f1216;
  --panel-2: #151920;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eef0ea;
  --muted: #9097a0;
  --dim: #5f666f;
  --accent: #c6ff3d;
  --accent-soft: rgba(198, 255, 61, .12);
  --accent-ink: #0b0e04;
  --danger: #ff5d3a;
  --radius: 20px;
  --radius-sm: 12px;
  /* Manrope covers scripts Archivo lacks (e.g. Cyrillic) */
  --font-display: "Archivo", "Manrope", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --gutter: 24px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
strong, b { font-weight: 700; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.hl { color: var(--accent); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, 0);
}
.btn--primary:hover {
  background: #d6ff6b;
  box-shadow: 0 8px 32px -8px rgba(198, 255, 61, .55);
}
.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }

.btn .tg-icon { flex: none; }
.btn:hover .tg-icon { transform: translate(2px, -2px); }
.tg-short { display: none; }

.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled {
  background: rgba(7, 8, 10, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { color: var(--accent); }
.logo__text {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
}
.logo__text em {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
}

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.nav__links a { white-space: nowrap; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.lang__btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.lang__chev { color: var(--muted); transition: transform .2s ease; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #101317;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.lang__menu button span { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--dim); }
.lang__menu button:hover { background: rgba(255, 255, 255, .06); }
.lang__menu button.is-active { background: var(--accent-soft); color: var(--accent); }
.lang__menu button.is-active span { color: var(--accent); }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s ease, top .22s ease;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 19.500px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 19.500px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 0;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero__glow {
  position: absolute;
  top: -320px; left: 50%;
  width: 1100px; height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(198, 255, 61, .16), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s, border-color .15s;
}
.pill:hover { color: var(--text); border-color: rgba(198, 255, 61, .5); }
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}

.hero__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero__lead {
  margin-top: 28px;
  max-width: 540px;
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--muted);
}
.hero__lead strong { color: var(--text); }

.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg, .included svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Terminal */
.hero__visual { position: relative; min-width: 0; }

.terminal {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #12161b, #0b0d10);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  overflow: hidden;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
}
.terminal__dots { display: inline-flex; gap: 6px; }
.terminal__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3038; }
.terminal__title { flex: 1; }
.terminal__badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.terminal__body {
  margin: 0;
  padding: 20px 20px 22px;
  min-height: 252px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #b9c0c8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terminal__body .t-prompt { color: var(--accent); }
.terminal__body .t-cmd { color: var(--text); }
.terminal__body .t-dim { color: var(--dim); }
.terminal__body .t-ok { color: var(--accent); font-weight: 700; }
.terminal__body .t-val { color: var(--text); }
.terminal__body .t-cursor {
  display: inline-block;
  width: 8px; height: 1.1em;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  display: grid;
  gap: 6px;
}
.metric__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim);
}
.metric__value {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.metric__value small {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.metric__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.metric__bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .9s ease; }

/* Stats */
.stats {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat {
  padding: 30px 24px 34px;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: 14px; color: var(--muted); }
.stat dd {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat dd small {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: .36em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--tight { padding: 88px 0 0; }

.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__head--left { margin-inline: 0; text-align: left; margin-bottom: 40px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__head h2, .cta__box h2 {
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section__head p {
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  text-wrap: pretty;
}
.section__head .btn { margin-top: 28px; }

/* ---------- Cards / bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.card {
  grid-column: span 2;
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0c0e11);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(198, 255, 61, .35); transform: translateY(-3px); }
.card--cpu { grid-column: span 4; }

.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__spec { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }

.card h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.card--cpu h3 { font-size: clamp(22px, 2.4vw, 30px); }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card--cpu p { max-width: 560px; }

.bignum {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -.04em;
}
.bignum small {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
}

.bench { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bench__head {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.bench__note { color: var(--dim); text-transform: none; letter-spacing: 0; }
.bench__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.bench__name { color: var(--muted); }
.bench__row:nth-child(2) .bench__name { color: var(--text); font-weight: 700; }
.bench__track { height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.bench__fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 4px;
  background: #3a424c;
  transform-origin: left;
}
.bench__fill--accent { background: linear-gradient(90deg, #8fd400, var(--accent)); }
.js .reveal .bench__fill { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .25s; }
.js .reveal.in .bench__fill { transform: scaleX(1); }
.bench__val { font-family: var(--font-mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }

.ramgrid { margin-top: 24px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.ramgrid i {
  height: 44px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(198, 255, 61, .5), rgba(198, 255, 61, .08));
  animation: ram 2.4s ease-in-out infinite;
}
.ramgrid i:nth-child(2) { animation-delay: .15s; }
.ramgrid i:nth-child(3) { animation-delay: .3s; }
.ramgrid i:nth-child(4) { animation-delay: .45s; }
.ramgrid i:nth-child(5) { animation-delay: .6s; }
.ramgrid i:nth-child(6) { animation-delay: .75s; }
.ramgrid i:nth-child(7) { animation-delay: .9s; }
.ramgrid i:nth-child(8) { animation-delay: 1.05s; }
@keyframes ram { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.split__copy, .split__visual { min-width: 0; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.features li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.features__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(198, 255, 61, .22);
}
.features__icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.800;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.features h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.features p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* Shield (DDoS chart) */
.shield {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #12161b, #0b0d10);
  padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.shield__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shield__title { display: block; font-weight: 700; font-size: 16px; }
.shield__sub { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.800s ease-out infinite;
}
.live--sm { padding: 3px 9px; font-size: 11px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .6); }
  100% { box-shadow: 0 0 0 8px rgba(198, 255, 61, 0); }
}

.shield__chart {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  background: #090b0d;
  border: 1px solid var(--line);
}
.shield__legend {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 13px;
  color: var(--muted);
}
.shield__legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.dot--danger { background: var(--danger); }
.dot--accent { background: var(--accent); }

.shield__stats {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.shield__stats span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.shield__stats b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(17px, 1.900vw, 22px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.shield__stats em { font-style: normal; }

.badges { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.badges li {
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.billing {
  margin-top: 32px;
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--panel);
}
.billing__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.billing__btn.is-active { background: var(--text); color: var(--bg); }
.billing__save {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0c0e11);
  transition: border-color .25s ease, transform .25s ease;
}
.plan:hover { border-color: var(--line-2); transform: translateY(-3px); }
.plan--featured {
  border-color: var(--accent);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(198, 255, 61, .13), transparent 70%),
    linear-gradient(180deg, #141a12, #0c0e11);
  box-shadow: 0 30px 80px -40px rgba(198, 255, 61, .45);
}
.plan--featured:hover { border-color: var(--accent); }
.plan__tag {
  position: absolute;
  top: -13px; left: 24px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.plan__name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.01em;
}
.plan__desc { margin-top: 8px; min-height: 68px; font-size: 14.5px; color: var(--muted); }
.plan__price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.plan__cur { font-size: 24px; color: var(--muted); font-weight: 700; }
.plan__amount { font-size: clamp(38px, 3.800vw, 50px); font-variant-numeric: tabular-nums; }
.cents {
  display: inline-block;
  vertical-align: top;
  margin: .12em 0 0 .04em;
  font-size: .46em;
  font-weight: 800;
  letter-spacing: -.01em;
}
.plan__per { margin-left: 4px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan__bill { margin-top: 8px; font-size: 13px; color: var(--dim); }
.plan__tax { margin-top: 4px; font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.plan__specs {
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: start;
  font-size: 15px;
  color: var(--muted);
}
.plan__specs li { display: flex; align-items: baseline; gap: 6px; }
.plan__specs b { color: var(--text); font-family: var(--font-mono); font-weight: 700; font-size: 14.5px; }
.plan__specs span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
}

.included {
  margin-top: 36px;
  padding: 22px 26px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  font-size: 14.5px;
  color: var(--muted);
}
.included li { display: inline-flex; align-items: center; gap: 8px; }

/* How ordering works */
.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.steps__num {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 16px;
}
.steps b { display: block; font-size: 16px; line-height: 1.3; }
.steps p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* Payment methods */
.payments {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
}
.payments__label {
  margin-right: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
.payments__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  font-size: 14.5px;
  font-weight: 600;
}
.payments__item svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.800;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Configurator ---------- */
.config {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--panel);
  overflow: hidden;
  overflow: clip; /* clips the rounded corners without breaking the sticky summary */
}
.config__form { padding: 40px; display: grid; gap: 30px; align-content: start; min-width: 0; }

.field { min-width: 0; }
.field__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.field__head label, .field__label { font-weight: 700; font-size: 15px; }
.field__label { display: block; margin-bottom: 10px; }
.field__head output {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.field__scale {
  margin-top: 8px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dim);
}

input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, .1) var(--fill));
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, .1) var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--text);
  border: 5px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  transition: transform .15s;
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text);
  border: 5px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 13px 40px 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-overflow: ellipsis;
}
.select select:hover { border-color: rgba(255, 255, 255, .28); }
.select option { background: var(--panel); color: var(--text); }

.toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.toggle {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .18s;
}
.toggle:hover { border-color: var(--line-2); }
.toggle:has(input:checked) { border-color: rgba(198, 255, 61, .45); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui {
  width: 44px; height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  position: relative;
  transition: background .2s;
}
.toggle__ui::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--text);
  transition: transform .2s ease, background .2s;
}
.toggle input:checked + .toggle__ui { background: var(--accent); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); background: var(--accent-ink); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--accent); outline-offset: 3px; }
.toggle__text b { display: block; font-size: 15px; line-height: 1.3; }
.toggle__text small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Add-on services */
.addons { margin: 0; padding: 0; border: 0; min-width: 0; }
.addons legend { padding: 0; font-weight: 700; font-size: 15px; }
.addons__hint { margin-top: 4px; font-size: 13px; color: var(--muted); }
.addons__grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.addon {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.addon:hover { border-color: var(--line-2); }
.addon:has(input:checked) { border-color: rgba(198, 255, 61, .45); background: rgba(198, 255, 61, .05); }
.addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon__box {
  width: 22px; height: 22px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  border-radius: 7px;
  background: rgba(255, 255, 255, .04) center / 14px no-repeat;
  transition: background-color .18s, border-color .18s;
}
.addon input:checked + .addon__box {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0e04' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.addon input:focus-visible + .addon__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.addon__text b { display: block; font-size: 14.5px; line-height: 1.3; }
.addon__text small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.addon__price {
  padding-top: 1px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.summary {
  padding: 40px;
  background:
    radial-gradient(100% 50% at 50% 100%, rgba(198, 255, 61, .1), transparent 70%),
    var(--panel-2);
  border-left: 1px solid var(--line);
  min-width: 0;
}
.summary__inner {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
}
.summary__list--addons { margin-top: 0; }
.summary__list--addons b { color: var(--accent); font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.summary__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.summary__list { margin-top: 20px; display: grid; }
.summary__list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.summary__list span { color: var(--muted); }
.summary__list b { text-align: right; font-weight: 600; }
.summary__list--totals { margin-top: 14px; }
.summary__list--totals li { padding: 4px 0; border-bottom: 0; }
.summary__list--totals b { font-family: var(--font-mono); font-size: 14px; font-weight: 500; white-space: nowrap; }
.summary__total { margin: 14px 0 22px; padding-top: 16px; border-top: 1px solid var(--line-2); display: grid; gap: 4px; }
.summary__total > span:first-child { font-size: 14px; color: var(--muted); }
.summary__price {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.summary__price small { font-size: 28px; color: var(--muted); font-weight: 700; }
.summary__price b { font-size: clamp(40px, 4.4vw, 56px); font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__hint { font-size: 13px; color: var(--dim); }
.summary__foot { margin-top: 14px; text-align: center; font-size: 13px; color: var(--dim); }

/* ---------- Locations ---------- */
.locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.loc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color .25s, transform .25s;
}
.loc:hover { border-color: rgba(198, 255, 61, .35); transform: translateY(-3px); }
.loc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.loc__code { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--dim); }
.loc h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.loc p { color: var(--muted); font-size: 14.5px; }
.loc__ping { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.loc__bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.loc__bar i { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: var(--accent); }
.loc__ping b { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Guarantees ---------- */
.guarantees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
}
.guarantee { padding: 34px 28px; border-left: 1px solid var(--line); }
.guarantee:first-child { border-left: 0; }
.guarantee__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--accent);
}
.guarantee h3 { font-size: 17px; font-weight: 700; }
.guarantee p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 10px 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 10px no-repeat,
    rgba(255, 255, 255, .07);
  transition: transform .25s ease, background-color .2s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 2px 10px no-repeat,
    var(--accent);
}
.faq__item p { padding: 0 22px 22px; max-width: 640px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 120px; }
.cta__box {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(198, 255, 61, .3);
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(198, 255, 61, .2), transparent 70%),
    var(--panel);
  text-align: center;
  overflow: hidden;
}
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
}
.cta__box > *:not(.cta__grid) { position: relative; }
.cta__box h2 { font-size: clamp(32px, 5.4vw, 68px); }
.cta__box p { margin: 22px auto 0; max-width: 520px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }
.cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer__inner {
  padding-block: 64px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand p { margin: 16px 0 20px; max-width: 280px; font-size: 14.5px; color: var(--muted); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer__col a { font-size: 14.5px; color: var(--muted); transition: color .15s; width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  padding-block: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 13px;
  color: var(--dim);
}
.footer__mono { font-family: var(--font-mono); font-size: 12px; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .25s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .plan__desc { min-height: 0; }
  .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantee:nth-child(3) { border-left: 0; }
  .guarantee:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .features { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .toggles, .addons__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1280px) {
  .tg-long { display: none; }
  .tg-short { display: inline; }
  .nav__links a { padding-inline: 10px; }
}

@media (max-width: 1100px) {
  .nav__links {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav__links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 980px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--cpu { grid-column: span 1; }
  .card--cpu { grid-column: 1 / -1; }
  .config { grid-template-columns: minmax(0, 1fr); }
  .summary { border-left: 0; border-top: 1px solid var(--line); }
  .summary__inner { position: static; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq .section__head { position: static; }
  .section { padding: 88px 0; }
  .section--tight { padding: 72px 0 0; }
  .cta { padding-bottom: 88px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .stat { padding: 22px 16px 24px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section__head { margin-bottom: 44px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .locs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .loc { padding: 18px; }
  .loc h3 { font-size: 18px; font-stretch: 105%; overflow-wrap: anywhere; }
  .config__form, .summary { padding: 26px 20px; }
  .toggles, .field-row, .addons__grid { grid-template-columns: minmax(0, 1fr); }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
  .terminal__body { font-size: 12px; padding: 16px; min-height: 236px; }
  .metric { padding: 12px; }
  .metric__value { font-size: 20px; }
  .metric__value small { font-size: 10.5px; margin-left: 2px; }
  .metric__label { font-size: 10px; letter-spacing: .04em; }
  .metrics { gap: 8px; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card, .card--cpu { grid-column: 1 / -1; padding: 22px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .guarantees { grid-template-columns: minmax(0, 1fr); }
  .guarantee { border-left: 0; padding: 26px 22px; }
  .guarantee + .guarantee { border-top: 1px solid var(--line); }
  .bench__row { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 10px; }
  .included { justify-content: flex-start; padding: 20px; }
  .shield { padding: 16px; }
  .shield__chart { height: 200px; }
  .nav__actions .btn--primary { padding-inline: 12px; }
}

@media (max-width: 480px) {
  /* Telegram button becomes icon-only to make room for the language switcher */
  .nav__tg .tg-short { display: none; }
  .nav__tg { padding-inline: 11px; }
  .nav__actions { gap: 8px; }
  .lang__btn { padding: 0 9px; gap: 5px; }
}

@media (max-width: 380px) {
  .logo__text em { display: none; }
}

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