/* ═══════════════════════════════════════════
   LUNACY VISUALS — Full redesign
   Green × Violet · 2026
   ═══════════════════════════════════════════ */

:root {
  --bg: #05030c;
  --bg-elevated: #0e0a18;
  --bg-card: rgba(18, 12, 32, 0.82);
  --bg-card-solid: #120c20;
  --border: rgba(167, 139, 250, 0.14);
  --border-hover: rgba(52, 211, 153, 0.4);
  --text: #f5f3ff;
  --text-muted: #a39bb8;
  --text-dim: #6e6685;
  --green: #34d399;
  --green-deep: #10b981;
  --violet: #a78bfa;
  --violet-deep: #8b5cf6;
  --purple: #7c3aed;
  --danger: #f87171;
  --grad: linear-gradient(135deg, #34d399 0%, #8b5cf6 48%, #a78bfa 100%);
  --grad-btn: linear-gradient(135deg, #10b981 0%, #7c3aed 100%);
  --grad-glow: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.2), transparent 65%);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font-d: "Syne", system-ui, sans-serif;
  --font: "Outfit", system-ui, sans-serif;
  --nav-h: 70px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.2);

  /* legacy aliases */
  --accent: var(--green);
  --accent-2: var(--violet);
  --green-2: var(--green);
  --violet-2: var(--violet);
  --gradient: var(--grad);
  --bg-2: var(--bg-elevated);
  --font-display: var(--font-d);
  --font-body: var(--font);
  --border-strong: var(--border-hover);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--violet-deep) var(--bg); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
em { font-style: normal; }

.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }
.lead { color: var(--text-muted); max-width: 36rem; line-height: 1.65; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.84rem; }
.grad, .gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Atmosphere ── */
.lx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lx-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.lx-bg__blob--1 {
  width: 55vw; height: 55vw; max-width: 620px; max-height: 620px;
  top: -15%; left: -10%;
  background: rgba(16, 185, 129, 0.35);
}
.lx-bg__blob--2 {
  width: 50vw; height: 50vw; max-width: 560px; max-height: 560px;
  top: 5%; right: -12%;
  background: rgba(139, 92, 246, 0.4);
}
.lx-bg__blob--3 {
  width: 40vw; height: 40vw; max-width: 420px; max-height: 420px;
  bottom: -10%; left: 30%;
  background: rgba(124, 58, 237, 0.25);
}
.lx-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 70%);
}
.noise, .vignette, .orb, #aurora, .cursor, .cursor-dot, .loader { display: none !important; }

/* ── Floating Capsule Navbar (Островок / Подбородок) ── */
.nav {
  position: sticky;
  top: 14px;
  z-index: 999;
  width: min(1080px, calc(100% - 1.5rem));
  margin: 14px auto 0;
  height: 56px;
  border-radius: 9999px;
  background: rgba(12, 10, 20, 0.82);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 6px 12px;
  box-sizing: border-box;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.nav.is-scrolled, .nav.is-solid {
  background: rgba(9, 7, 16, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Logo Badge */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 2px;
}
.nav__logo:hover .nav__mark {
  transform: scale(1.06);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45), 0 0 12px rgba(52, 211, 153, 0.35);
}

.nav__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 12, 32, 0.75);
  border: 1px solid rgba(167, 139, 250, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.nav__mark svg {
  width: 20px;
  height: 20px;
}
.nav__mark:empty::before {
  content: 'LV';
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav .nav__brand {
  display: none;
}
.account-page .nav .nav__brand,
.auth-page .nav .nav__brand {
  display: inline-flex;
}
.nav__brand {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.nav__brand em, .nav__logo em {
  color: var(--text-muted);
  font-weight: 500;
  font-style: normal;
  margin-left: .2rem;
}

/* Links in capsule */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 1.1vw, 1rem);
  font-size: .88rem;
  color: var(--text-muted);
  margin-left: .75rem;
  margin-right: auto;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-decoration: none;
  padding: .42rem .85rem;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Dark pill badge like in screenshot */
.nav__pill, .nav__links a.nav__pill {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: .42rem 1.15rem !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9999px !important;
}
.nav__pill:hover, .nav__links a.nav__pill:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Right Section */
.nav__right {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}

/* Language Pill Button */
.nav__lang {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .44rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: all .2s var(--ease);
  line-height: 1;
}
.nav__lang:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Vibrant User / Action Button (Green × Violet) */
.nav__user-btn {
  background: linear-gradient(135deg, #10b981 0%, #8b5cf6 100%);
  color: #ffffff !important;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .88rem;
  padding: .48rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.45), 0 4px 14px rgba(139, 92, 246, 0.35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.nav__user-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 32px rgba(52, 211, 153, 0.7), 0 6px 20px rgba(139, 92, 246, 0.5);
  color: #fff;
}
.nav__user-btn:active {
  transform: translateY(0) scale(1);
}

/* Burger Button */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.lang { display: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s, background .18s, border-color .18s, opacity .15s;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 40px rgba(16, 185, 129, 0.35); }
.btn--ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover {
  border-color: var(--violet);
  background: rgba(167, 139, 250, 0.1);
}
.btn--sm { padding: .42rem .95rem; font-size: .84rem; }
.btn--lg { padding: .85rem 1.6rem; font-size: 1rem; }

/* ── Badge / eyebrow ── */
.badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .32rem .8rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(16, 185, 129, 0.1);
  margin-bottom: 1rem;
}
.badge i, .eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.badge--soft, .badge--violet {
  color: var(--violet);
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(139, 92, 246, 0.1);
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
}
.hero__inner, .hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero__lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-card, .hero__card {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
}
.hero-card__glow, .hero__card-glow {
  position: absolute;
  top: -30%; right: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
  pointer-events: none;
}
.hero-card__tag, .hero__card-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--violet);
  margin-bottom: .75rem;
}
.hero-card h3, .hero__card h3 {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}
.hero-card ul, .hero__card-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.hero-card ul li::before, .hero__card-list li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: .55rem;
  box-shadow: 0 0 8px var(--green);
  vertical-align: middle;
}
.hero-card__meta, .hero__card-meta {
  font-size: .8rem;
  color: var(--text-dim);
  font-family: ui-monospace, monospace;
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05), transparent);
}
.section__head { margin-bottom: 2.25rem; }
.section__head h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  letter-spacing: -0.025em;
  font-weight: 700;
}
.section__sub { color: var(--text-muted); margin-top: .5rem; font-size: .95rem; }

/* ── Feature cards ── */
.cards, .features, .services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.card, .feature-card, .service-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.card:hover, .feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.card__icon {
  display: inline-flex;
  width: 2.5rem; height: 2.5rem;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(52,211,153,.15), rgba(139,92,246,.18));
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.card h3, .feature-card h3 {
  font-family: var(--font-d);
  font-size: 1.08rem;
  margin-bottom: .45rem;
  font-weight: 700;
}
.card p, .feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.55; }

/* ── Pricing ── */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 760px;
}
.price, .price-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.price:hover, .price-card:hover { border-color: rgba(167, 139, 250, 0.3); }
.price--hot, .price-card--pro {
  border-color: rgba(52, 211, 153, 0.35);
  background:
    linear-gradient(165deg, rgba(16, 185, 129, 0.1), rgba(139, 92, 246, 0.12)),
    var(--bg-card);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.1), var(--shadow);
}
.price__badge {
  position: absolute;
  top: 1.15rem; right: 1.15rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #fff;
}
.price__tier, .price-card__tier {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
}
.price__amount, .price-card__amount {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin: .4rem 0 .15rem;
}
.price__period { color: var(--text-dim); font-size: .9rem; margin-bottom: .9rem; }
.price__list, .price-card__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .92rem;
  margin: .5rem 0 1.4rem;
  flex: 1;
}
.price__list li::before, .price-card__list li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}
.price .btn, .price-card .btn { width: 100%; margin-top: auto; }
.pricing-note { margin-top: 1.15rem; font-size: .88rem; color: var(--text-dim); }

/* ── CTA / download ── */
.cta-band, .download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding: 2.25rem 2.35rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.1), rgba(139, 92, 246, 0.14));
  box-shadow: var(--shadow);
}
.cta-band h2, .download-card h2 {
  font-family: var(--font-d);
  font-size: 1.55rem;
  font-weight: 700;
  margin: .3rem 0 .4rem;
}
.cta-band p, .download-card .lead { color: var(--text-muted); }
.cta-band__actions, .download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.25rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer__inner { display: flex; flex-direction: column; gap: 1.15rem; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-d);
  font-weight: 700;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.35rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--green); }
.footer__copy { font-size: .82rem; color: var(--text-dim); }

/* ── Forms ── */
.form, .auth-form, .stack {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
label span {
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
  font-weight: 500;
}
input, textarea, select {
  width: 100%;
  padding: .78rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--violet-deep);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-msg { font-size: .88rem; min-height: 1.25em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--danger); }

/* ── Auth ── */
.auth-main, .auth-solo {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-h) - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}
.auth-card, .panel.auth-card {
  width: min(420px, 100%);
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.auth-title {
  font-family: var(--font-d);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.auth-lead { margin-bottom: 1.35rem; }
.auth-switch {
  margin-top: 1.25rem;
  font-size: .9rem;
  color: var(--text-muted);
  text-align: center;
}
.auth-switch a { color: var(--green); font-weight: 600; }
.auth-legal {
  text-align: center;
  margin: 1.5rem 0 2rem;
  font-size: .85rem;
  opacity: .75;
}
.auth-legal a:hover { color: var(--violet); }

.modal[hidden] { display: none !important; }

/* ── Doc pages ── */
.doc-page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.5rem) 1.25rem 4rem;
}
.doc-page h1 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 .5rem;
  font-weight: 700;
}
.doc-page .doc-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 2rem; }
.doc-page h2 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  margin: 2rem 0 .75rem;
  font-weight: 700;
}
.doc-page p, .doc-page li {
  line-height: 1.7;
  color: var(--text);
  margin: .5rem 0;
}
.doc-page ul { padding-left: 1.25rem; list-style: disc; margin: .5rem 0 1rem; }
.doc-page a { color: var(--violet); }
.doc-page a:hover { color: var(--green); }
.doc-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: .95rem;
}
.doc-back:hover { color: var(--green); }
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.doc-nav a {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .9rem;
}
.doc-nav a:hover { border-color: var(--green); color: var(--green); }

/* ── Error pages ── */
.err-page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  text-align: center;
}
.err-code {
  font-family: var(--font-d);
  font-size: clamp(5rem, 18vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}
.err-title {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: .85rem 0 .5rem;
  font-weight: 700;
}
.err-lead {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 1.85rem;
  line-height: 1.6;
}
.err-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.err-hint { margin-top: 2rem; font-size: .85rem; color: var(--text-dim); }
.err-path { font-family: ui-monospace, monospace; font-size: .8rem; opacity: .55; margin-top: .4rem; word-break: break-all; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero__inner, .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards, .features, .services { grid-template-columns: 1fr 1fr; }
  .nav {
    width: min(1080px, calc(100% - 1.25rem));
    padding: 6px 8px 6px 10px;
  }
  .nav__links {
    position: fixed;
    top: 76px;
    left: 0.75rem;
    right: 0.75rem;
    margin-inline: auto;
    max-width: 480px;
    width: calc(100% - 1.5rem);
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem;
    background: rgba(12, 9, 20, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85);
    display: none;
    gap: .45rem;
    z-index: 998;
  }
  .nav__links.is-open {
    display: flex;
    animation: navFadeIn .2s var(--ease);
  }
  .nav__links a {
    text-align: center;
    padding: .65rem 1rem;
    font-size: .95rem;
  }
  .nav__burger { display: flex; }
  .pricing { grid-template-columns: 1fr; max-width: 420px; }
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .nav {
    padding: 4px 6px 4px 8px;
    height: 52px;
  }
  .nav__mark {
    width: 36px;
    height: 36px;
  }
  .nav__mark svg {
    width: 18px;
    height: 18px;
  }
  .nav__lang {
    padding: .38rem .8rem;
    font-size: .78rem;
  }
  .nav__user-btn {
    padding: .42rem 1.1rem;
    font-size: .82rem;
  }
  .nav__burger {
    width: 34px;
    height: 34px;
    padding: 7px;
  }
  .cards, .features, .services { grid-template-columns: 1fr; }
  .cta-band, .download-card { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; }
  .container { width: min(1120px, calc(100% - 1.25rem)); }
}

.pricing--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}
@media (max-width: 900px) {
  .pricing--3 { grid-template-columns: 1fr; max-width: 420px; }
}
