/* ============================================================
   Denver VPN — dark privacy site, neon-lime accent
   ============================================================ */

:root {
  /* color */
  --bg: #0A0B0D;
  --surface-1: #101216;
  --surface-2: #15181D;
  --surface-3: #1D2127;
  --accent: #5B8CFF;
  --accent-press: #4376F0;
  --accent-ink: #08101F;        /* text on accent fill */
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 13%, transparent);
  --text: #F2F4F8;
  --text-2: #A6ADBA;
  --muted: #6B7180;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --success: #5B8CFF;

  /* type */
  --font-display: 'Geist', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  /* radius (scaled by tweak) */
  --r-scale: 1;
  --r-sm: calc(8px * var(--r-scale));
  --r-md: calc(14px * var(--r-scale));
  --r-lg: calc(20px * var(--r-scale));
  --r-full: 999px;

  /* layout */
  --maxw: 1200px;
  --pad: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.container--narrow { max-width: 760px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 0.875rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn--accent:active { background: var(--accent-press); transform: translateY(0); box-shadow: none; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn--ghost:active { background: var(--surface-3); }

.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- brand / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; }
.brand__logo { width: 34px; height: 34px; flex: none; }
.logo-tile { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 1; }
.logo-peaks { fill: var(--accent); filter: drop-shadow(0 0 5px var(--accent-glow)); }
.logo-dot { display: none; }
.brand__name { font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1; }
.brand__vpn { color: var(--accent); margin-left: 1px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface-1) 74%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.nav__links { display: flex; gap: 28px; font-size: 0.9375rem; color: var(--text-2); }
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.nav__sheet {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 8px var(--pad) 24px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}
.nav__sheet a:not(.btn) { padding: 14px 4px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav__sheet .btn { margin-top: 10px; }
.nav__sheet.is-open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: 64px; padding-bottom: 40px; }
.hero__glow {
  position: absolute; inset: -20% 0 auto 0; height: 560px;
  background: radial-gradient(60% 60% at 50% 0%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero__lead { font-size: 1.1875rem; color: var(--text-2); max-width: 36ch; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__trust { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--text-2); margin: 0; }
.hero__trust strong { color: var(--text); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* Happ phone */
.hero__visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 100%; max-width: 320px;
  background: linear-gradient(180deg, #14171c, #0c0e12);
  border: 1px solid var(--border-strong);
  border-radius: 38px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.phone__speaker { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 56px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.10); }
.happ {
  background: var(--surface-1);
  border-radius: 26px;
  padding: 22px 18px 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.happ__status { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--text-2); padding: 4px 6px 0; }
.happ__sysicons { display: inline-flex; gap: 4px; }
.happ__sysicons i { width: 13px; height: 9px; border-radius: 2px; background: var(--text-2); display: inline-block; opacity: .7; }
.happ__sysicons i:last-child { width: 18px; border: 1px solid var(--text-2); background: transparent; }
.happ__bar { display: flex; align-items: center; justify-content: space-between; }
.happ__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.happ__gear { color: var(--text-2); display: inline-flex; }
.happ__gear svg { width: 20px; height: 20px; }
.happ__pill { align-self: center; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; padding: 5px 11px; border-radius: var(--r-full); }
.status--on { background: var(--accent-soft); color: var(--accent); }
.status--off { background: var(--surface-3); color: var(--text-2); }
.status--off .status__dot::after { animation: none; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.status__dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: currentColor; opacity: .35; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }

.dial { position: relative; width: 200px; height: 200px; margin: 0 auto 24px; }
.dial__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial__track { fill: none; stroke: var(--surface-3); stroke-width: 10; }
.dial__prog {
  fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 540; stroke-dashoffset: 135;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1);
}

/* Happ connect button */
.connect {
  position: relative; align-self: center;
  width: 180px; height: 180px; margin: 6px 0;
  background: none; border: 0; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.connect:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 50%; }
.connect__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.connect__track { fill: none; stroke: var(--surface-3); stroke-width: 8; }
.connect__prog {
  fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 565; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transition: stroke-dashoffset .9s cubic-bezier(.2,.8,.2,1);
}
.connect__glyph { display: inline-flex; color: var(--muted); transition: color .25s ease; }
.connect__glyph svg { width: 40px; height: 40px; }
.connect__time { font-size: 1.0625rem; color: var(--text-2); letter-spacing: .04em; }
.connect.is-on .connect__glyph { color: var(--accent); filter: drop-shadow(0 0 8px var(--accent-glow)); }
.connect.is-on .connect__time { color: var(--text); }

/* Happ server row */
.happ__server {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
}
.happ__flag {
  width: 34px; height: 26px; flex: none; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 600; color: var(--accent-ink);
  background: linear-gradient(180deg, #AE1C28 33%, #fff 33% 66%, #21468B 66%);
  text-shadow: 0 0 3px rgba(0,0,0,.4);
}
.happ__loc { display: flex; flex-direction: column; gap: 1px; margin-right: auto; }
.happ__country { font-weight: 600; font-size: 0.9375rem; }
.happ__city { font-size: 0.75rem; color: var(--muted); letter-spacing: .03em; }
.happ__ping { font-size: 0.8125rem; color: var(--accent); }
.happ__chev { color: var(--muted); font-size: 1.25rem; line-height: 1; }

/* Happ speeds */
.happ__speeds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.happ__speed {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 11px 14px;
}
.happ__speed-ic { color: var(--accent); font-size: 1rem; font-weight: 700; }
.happ__speed-val { font-size: 1.0625rem; font-weight: 500; color: var(--text); display: inline-flex; align-items: baseline; gap: 3px; }
.happ__speed-val small { font-size: 0.625rem; color: var(--muted); font-weight: 400; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-block: 1px solid var(--border); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 22px; }
.trust__list { display: flex; flex-wrap: wrap; gap: 28px; color: var(--text-2); font-size: 0.9375rem; }
.trust__list li { display: flex; align-items: center; gap: 9px; }
.trust__list li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6F633' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}
.trust__badge { display: inline-flex; align-items: center; gap: 9px; font-size: 0.8125rem; color: var(--muted); }
.trust__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: 112px; }
.section--alt { background: var(--surface-1); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__title { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.12; }
.section__lead { font-size: 1.125rem; color: var(--text-2); margin: 18px 0 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .18s ease, transform .18s ease;
}
.section--alt .card { background: var(--surface-2); }
.card--half { grid-column: span 3; }
.card--third { grid-column: span 2; }
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-2); margin: 0; font-size: 0.9875rem; }
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; padding-top: 8px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--border-strong); color: var(--accent); font-size: 0.9375rem; font-weight: 500; margin-bottom: 18px; background: var(--bg); }
.step h3 { font-size: 1.375rem; margin-bottom: 8px; }
.step p { color: var(--text-2); margin: 0; max-width: 30ch; }

/* ============================================================
   PRICING CALCULATOR
   ============================================================ */
.pricing {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.pricing__group { display: flex; flex-direction: column; }
.pricing__label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }

.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.per-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.per-grid--vert { grid-template-columns: 1fr; }

.opt, .per {
  position: relative;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.opt:hover, .per:hover { border-color: var(--border-strong); }
.opt:active, .per:active { transform: scale(.99); }
.opt:focus-visible, .per:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.opt { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.opt__num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--text); line-height: 1; transition: color .15s ease; }
.opt__cap { font-size: 0.8125rem; color: var(--muted); }
.opt__cap--lg { font-size: 0.9375rem; color: var(--text-2); font-weight: 500; }
.opt--wide { grid-column: span 2; padding-block: 16px; }

.per { display: flex; flex-direction: column; gap: 8px; }
.per-grid--vert .per { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.per__name { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.per-grid--vert .per__name { font-size: 0.9375rem; text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 600; }
.per__price { font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; }
.per-grid--vert .per__price { font-size: 1.375rem; }

/* selected state */
.opt.is-sel, .per.is-sel {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface-2));
  box-shadow: 0 0 0 1px var(--accent), 0 0 22px color-mix(in srgb, var(--accent) 16%, transparent);
}
.opt.is-sel .opt__num { color: var(--accent); }

/* summary */
.pricing__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 4px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.summary__info { display: flex; flex-direction: column; gap: 4px; }
.summary__line { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.summary__note { font-size: 0.8125rem; color: var(--muted); }

.pricing__foot { text-align: center; color: var(--muted); font-size: 0.8125rem; margin-top: 20px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none;
  padding: 22px 0; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { position: relative; width: 16px; height: 16px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--text-2); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq__sign::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__sign::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__item[open] summary { color: var(--text); }
.faq__item p { color: var(--text-2); margin: 0; padding: 0 0 24px; max-width: 64ch; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding-block: 120px; text-align: center; position: relative; overflow: hidden; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-band__glow { inset: -40% 0 auto 0; height: 500px; }
.cta-band__title { font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.08; }
.cta-band__lead { font-size: 1.1875rem; color: var(--text-2); margin: 18px 0 32px; max-width: 44ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); background: var(--surface-1); }
.footer__inner { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-block: 56px; }
.footer__tag { color: var(--muted); font-size: 0.9375rem; margin: 16px 0 0; max-width: 26ch; }
.footer__col h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 16px; font-family: var(--font-body); }
.footer__col a { display: block; color: var(--text-2); font-size: 0.9375rem; padding: 6px 0; transition: color .15s ease; }
.footer__col a:hover { color: var(--text); }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8125rem; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--text); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .status__dot::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--half, .card--third { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .pricing { padding: 22px; }
  .dev-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: 88px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }
  .hero { padding-top: 40px; }
  .bento { grid-template-columns: 1fr; }
  .card--half, .card--third { grid-column: auto; }
  .trust__inner { justify-content: flex-start; }
  .section { padding-block: 64px; }
  .pricing { padding: 18px; }
  .dev-grid { grid-template-columns: 1fr 1fr; }
  .pricing__summary { flex-direction: column; align-items: stretch; }
  .pricing__summary .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   POLISH LAYER 2026-06 — лёгкое освежение (не меняем структуру)
   ============================================================ */
html{scroll-behavior:smooth}
*:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 45%,transparent);border-radius:10px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
.btn{transition:transform .14s ease,filter .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}
.btn--accent{box-shadow:0 6px 20px color-mix(in srgb,var(--accent) 30%,transparent)}
.btn--accent:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn--accent:active{transform:translateY(0)}
.btn--ghost:hover{border-color:var(--border-strong);background:var(--surface-2)}
.btn__arrow{transition:transform .18s ease}
.btn:hover .btn__arrow{transform:translateX(3px)}
.nav{backdrop-filter:saturate(140%) blur(12px)}
.card,.plan,.feature{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.card:hover,.feature:hover{transform:translateY(-2px);border-color:var(--border-strong)}
/* gentle entrance for hero */
.hero__inner>*{animation:dvUp .6s cubic-bezier(.4,0,.2,1) both}
.hero__inner>*:nth-child(2){animation-delay:.06s}
.hero__inner>*:nth-child(3){animation-delay:.12s}
@keyframes dvUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ════════════════════════════════════════════════════════════════
   LANDING GLASS REDESIGN — shdn.pro style (scoped to landing via :has)
   near-black bg · blurred indigo/violet orbs · glass cards · gradient CTA
   ════════════════════════════════════════════════════════════════ */
body:has(.hero){background:#030303;font-family:'Inter',system-ui,-apple-system,sans-serif}
body:has(.hero)::before,body:has(.hero)::after{content:"";position:fixed;border-radius:50%;filter:blur(150px);opacity:.45;z-index:-2;pointer-events:none}
body:has(.hero)::before{width:560px;height:560px;background:radial-gradient(circle,#6366f1,transparent 70%);top:-200px;left:-140px}
body:has(.hero)::after{width:640px;height:640px;background:radial-gradient(circle,#8b5cf6,transparent 70%);bottom:-260px;right:-180px}

body:has(.hero) .nav{background:rgba(3,3,3,.5);backdrop-filter:saturate(160%) blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}
body:has(.hero) .hero__title{font-size:clamp(2.6rem,6.2vw,4.6rem);letter-spacing:-.03em;line-height:1.04}
body:has(.hero) .hero__glow{background:radial-gradient(680px 460px at 50% -10%,rgba(99,102,241,.28),transparent 70%)}
body:has(.hero) .section__title{letter-spacing:-.02em}

body:has(.hero) .card,
body:has(.hero) .faq__item,
body:has(.hero) .pricing__group,
body:has(.hero) .step{
  background:rgba(255,255,255,.025);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.08);border-radius:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 24px 60px -28px rgba(0,0,0,.7);
  transition:transform .25s ease,border-color .25s ease;
}
body:has(.hero) .card:hover,
body:has(.hero) .faq__item:hover,
body:has(.hero) .step:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.16)}

body:has(.hero) .btn--accent{background:linear-gradient(135deg,#6366f1,#8b5cf6 55%,#3b82f6);color:#fff;border:none;box-shadow:0 10px 34px -10px rgba(99,102,241,.75)}
body:has(.hero) .btn--accent:hover{filter:brightness(1.08);transform:translateY(-2px)}
body:has(.hero) .btn--ghost{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(8px)}
body:has(.hero) .btn--ghost:hover{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07)}

body:has(.hero) .cta-band{background:linear-gradient(135deg,rgba(99,102,241,.16),rgba(139,92,246,.06));border:1px solid rgba(255,255,255,.14);border-radius:24px}
body:has(.hero) .footer{border-top:1px solid rgba(255,255,255,.07)}
@media(prefers-reduced-motion:reduce){body:has(.hero) .card,body:has(.hero) .faq__item,body:has(.hero) .step{transition:none}}

/* ─── Landing: remove phone mockup, center hero, nicer login button + icons ─── */
body:has(.hero) .hero__visual{display:none!important}
body:has(.hero) .hero__inner{display:block;max-width:860px;margin:0 auto;text-align:center}
body:has(.hero) .hero__copy{display:flex;flex-direction:column;align-items:center}
body:has(.hero) .hero__cta{justify-content:center}
body:has(.hero) .hero__lead{max-width:62ch;margin-left:auto;margin-right:auto}
body:has(.hero) .hero__trust{justify-content:center}
body:has(.hero) .eyebrow{margin-left:auto;margin-right:auto}

/* Login button → gradient pill with login icon */
body:has(.hero) .nav__actions .btn--accent,
body:has(.hero) .nav__sheet .btn--accent{border-radius:999px;padding:10px 20px;font-weight:700;gap:9px;align-items:center}
body:has(.hero) .nav__actions .btn--accent::before,
body:has(.hero) .nav__sheet .btn--accent::before{
  content:"";width:17px;height:17px;flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Feature icons → glass gradient tiles */
body:has(.hero) .icon{
  width:50px;height:50px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:15px;background:linear-gradient(135deg,rgba(99,102,241,.24),rgba(139,92,246,.10));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 26px -12px rgba(99,102,241,.55);
}
body:has(.hero) .icon svg{width:24px;height:24px;color:#c3ccff;stroke:#c3ccff}

/* ─── Fixes: login button double-arrow, orb perf, FAQ width ─── */
/* keep the login icon, drop the redundant trailing → arrow on login buttons */
body:has(.hero) .nav__actions .btn--accent .btn__arrow,
body:has(.hero) .nav__sheet .btn--accent .btn__arrow{display:none}
/* lighter orbs — blur(150px) on big orbs was GPU-heavy (jank) */
body:has(.hero)::before{width:480px;height:480px;filter:blur(100px);opacity:.4}
body:has(.hero)::after{width:520px;height:520px;filter:blur(110px);opacity:.4}
/* FAQ: a bit wider so it doesn't look empty on wide screens (stays centered, text capped for readability) */
body:has(.hero) #faq .container--narrow{max-width:880px}

/* ─── Round 13: step cards — inner padding + glass number badges + even text ─── */
/* glass cards inherited only padding-top:8px → content was flush to the edge; give real padding */
body:has(.hero) .step{padding:30px 26px}
body:has(.hero) .steps{gap:22px}
/* 01/02/03 badges → glass gradient tiles matching the feature icons (were plain dark circles) */
body:has(.hero) .step__num{
  width:46px;height:46px;border-radius:14px;
  background:linear-gradient(135deg,rgba(99,102,241,.30),rgba(139,92,246,.12));
  border:1px solid rgba(255,255,255,.14);color:#c3ccff;
  font-weight:600;font-size:1rem;letter-spacing:.02em;margin-bottom:20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 26px -12px rgba(99,102,241,.55);
}
/* even out card text: consistent left alignment, no cramped max-width inside the card */
body:has(.hero) .step h3{font-size:1.25rem;margin-bottom:10px}
body:has(.hero) .step p{max-width:none;color:#a6adba;line-height:1.6}
/* hero / CTA-band "Подключить" — no arrow icon, plain centered label */
body:has(.hero) .hero__cta .btn--accent,
body:has(.hero) .cta-band .btn--accent{display:inline-flex;align-items:center;justify-content:center}
body:has(.hero) .hero__cta .btn--accent .btn__arrow,
body:has(.hero) .cta-band .btn--accent .btn__arrow{display:none!important}

/* ─── Round 14: FAQ inner padding (text was flush to box edges) + drop login SVG icon ─── */
/* FAQ items are now glass boxes — give them spacing + real inner padding so text/sign aren't flush */
body:has(.hero) .faq{gap:14px}
body:has(.hero) .faq__item{border-bottom:none}
body:has(.hero) .faq__item summary{padding:20px 24px}
body:has(.hero) .faq__item p{padding:0 24px 22px;max-width:none}
/* login button: no SVG icon AND no arrow — plain "Войти" */
body:has(.hero) .nav__actions .btn--accent::before,
body:has(.hero) .nav__sheet .btn--accent::before{content:none!important;display:none!important}
body:has(.hero) .nav__actions .btn--accent .btn__arrow,
body:has(.hero) .nav__sheet .btn--accent .btn__arrow{display:none!important}

/* ════════════════════════════════════════════════════════════════
   Round 17 — убрать градиент / вернуть старые цвета + бегущая строка
   ════════════════════════════════════════════════════════════════ */
/* old bg, drop the blurred indigo/violet orbs */
body:has(.hero){background:var(--bg)}
body:has(.hero)::before,body:has(.hero)::after{display:none!important}
/* hero glow back to subtle blue accent (was indigo gradient) */
body:has(.hero) .hero__glow{background:radial-gradient(60% 60% at 50% 0%,var(--accent-glow) 0%,transparent 70%)}
/* solid accent buttons (were indigo→violet gradient) */
body:has(.hero) .btn--accent{background:var(--accent)!important;color:var(--accent-ink)!important;border:none;box-shadow:0 6px 20px color-mix(in srgb,var(--accent) 30%,transparent)}
body:has(.hero) .btn--accent:hover{background:var(--accent-press)!important;filter:none;transform:translateY(-1px)}
/* cards back to solid old surfaces (no glass blur, no gradient) */
body:has(.hero) .card,
body:has(.hero) .faq__item,
body:has(.hero) .pricing__group,
body:has(.hero) .step{background:var(--surface-2);backdrop-filter:none;-webkit-backdrop-filter:none;border:1px solid var(--border)}
/* feature icons + step badges back to old accent-soft (no gradient) */
body:has(.hero) .icon{background:var(--accent-soft);border:none;box-shadow:none}
body:has(.hero) .icon svg{color:var(--accent);stroke:var(--accent)}
body:has(.hero) .step__num{background:var(--bg);border:1px solid var(--border-strong);color:var(--accent);box-shadow:none}
/* CTA band back to plain (no gradient fill) */
body:has(.hero) .cta-band{background:transparent;border:none;border-radius:0}

/* trust bar → slow left→right marquee */
body:has(.hero) .trust{overflow:hidden}
body:has(.hero) .trust__marquee{overflow:hidden;width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
body:has(.hero) .trust__track{display:flex;flex-wrap:nowrap;width:max-content;gap:44px;padding-block:18px;animation:denver-marquee 48s linear infinite;will-change:transform}
body:has(.hero) .trust__track li{white-space:nowrap}
body:has(.hero) .trust:hover .trust__track{animation-play-state:paused}
@keyframes denver-marquee{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){body:has(.hero) .trust__track{animation:none;flex-wrap:wrap}}
/* highlight "Обход белых списков" in a separate (green) colour */
body:has(.hero) .trust__hl{color:#34d399;font-weight:600}
body:has(.hero) .trust__hl::before{
  background:rgba(52,211,153,.14)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:11px!important}
