/* ---------- Fonts (self-hosted, latin + cyrillic) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0F14;
  --bg-alt: #0E1319;
  --bg-elevated: #12171D;
  --text: #E8ECEF;
  --text-muted: #8B98A5;
  --accent: #A78BFA;
  --accent-hover: #C4B5FD;
  --accent-contrast: #0B0F14;
  --error: #FF8A7A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --gutter: clamp(24px, 5vw, 64px);
  --header-h: 90px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--accent-contrast); }

.container { max-width: 1200px; margin: 0 auto; }
.section {
  scroll-margin-top: var(--header-h);
  padding: clamp(20px, 2.5vw, 32px) var(--gutter) clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--border);
}
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
}
.h2 {
  font-size: clamp(24px, 2.9vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-contrast); border: none; }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-contrast); }
.btn--ghost { background: none; border: 1px solid var(--border-strong); color: var(--text); font-weight: 500; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { font-size: 16px; padding: 16px 26px; }
.btn--sm { font-size: 14px; padding: 11px 20px; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Logo ---------- */
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.logo:hover { color: var(--text); }
.logo__mark {
  position: relative;
  width: 25px; height: 25px;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  flex: none;
}
.logo__mark::before, .logo__mark::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 1px;
}
.logo__mark::before { left: 3.5px; top: 3.5px; }
.logo__mark::after { left: 9.5px; top: 9.5px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.45);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.header.is-scrolled { background: rgba(11, 15, 20, 0.82); border-bottom-color: var(--border); }
.header { padding: 0 var(--gutter); }
.header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 0;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.nav {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  margin: 0 auto;
  padding: 4px;
  font-size: 15px; font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.nav a {
  color: var(--text);
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(167, 139, 250, 0.14); color: var(--accent); }

.burger { display: none; }

@media (max-width: 859px) {
  .header__inner { gap: 12px; flex-wrap: nowrap; }
  .header .btn--sm { margin-left: auto; }
  .burger {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: none;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    color: var(--text);
    cursor: pointer;
  }
  .burger__lines, .burger__lines::before, .burger__lines::after {
    display: block;
    width: 18px; height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s ease, background .2s ease;
  }
  .burger__lines { position: relative; }
  .burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
  .burger__lines::before { top: -6px; }
  .burger__lines::after { top: 6px; }
  .burger[aria-expanded="true"] .burger__lines { background: transparent; }
  .burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: var(--bg);
    font-size: 17px;
  }
  .header.is-open { background: var(--bg); border-bottom-color: var(--border); }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav a:hover { background: none; }
}

@media (max-width: 400px) {
  .header .btn--sm { padding: 10px 14px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  scroll-margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 96px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1100px 520px at 72% 18%, rgba(167, 139, 250, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.hero__lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; margin: 0 0 16px; max-width: 60ch; text-wrap: pretty; }
.hero__sub { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0 0 32px; max-width: 58ch; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  padding: 20px;
  overflow: hidden;
}
.panel-caption {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hero__visual img { width: 100%; height: auto; border-radius: 4px; }
.hero__labels {
  position: absolute; top: 60px; right: 32px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}
.hero__labels span {
  background: rgba(11, 15, 20, 0.85);
  border: 1px solid var(--border);
  padding: 5px 9px;
  border-radius: 3px;
  opacity: 0;
  animation: tl-label 7s ease-in-out infinite;
}
.hero__labels span:nth-child(1) { animation-delay: .4s; }
.hero__labels span:nth-child(2) { animation-delay: 1.8s; color: var(--accent); }
.hero__labels span:nth-child(3) { animation-delay: 3.2s; }
.hero__labels span:nth-child(4) { animation-delay: 4.6s; }

@keyframes tl-label {
  0%, 12% { opacity: 0; transform: translateY(6px); }
  22%, 62% { opacity: 1; transform: translateY(0); }
  78%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes tl-blip { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- How it works (L1–L5) ---------- */
.how .h2 { margin-bottom: 24px; max-width: 40ch; }
.how__intro {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.how__intro img { width: 100%; height: auto; max-height: 420px; object-fit: contain; border-radius: 10px; }
.how__intro .lead + .levels { margin-top: 24px; }
.levels { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.levels li { display: flex; align-items: baseline; gap: 14px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.levels__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 4px;
  padding: 4px 8px;
  flex: none;
}
.levels b { font-weight: 600; }
.levels__desc { color: var(--text-muted); }
.lead strong { color: var(--text); font-weight: 600; }

@media (max-width: 767px) {
  .how__intro { grid-template-columns: 1fr; }
  .how__intro img { display: none; }
}

.slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}
.slider__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  min-height: clamp(240px, 26vw, 320px);
}
.slider__media > * {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.slider__media picture img { width: 100%; height: 100%; object-fit: cover; }
.slider__text {
  position: relative;
  background: linear-gradient(120deg, var(--bg) 0%, var(--bg-elevated) 55%, rgba(167, 139, 250, 0.10) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 40px) clamp(64px, 6vw, 72px);
  min-height: clamp(240px, 26vw, 320px);
  display: flex; flex-direction: column; justify-content: center;
}
.slider__text h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.slider__text p { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; max-width: 44ch; }
.slider__prev, .slider__next { position: absolute; top: 50%; transform: translateY(-50%); }
.slider__prev { left: 14px; }
.slider__next { right: 14px; }
.slider__footer { display: flex; align-items: flex-start; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.slider__effect p { margin: 0; }
.slider__effect { flex: 1 1 320px; min-width: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; }
.slider__dots { display: flex; gap: 6px; flex: none; padding-top: 8px; }
.slider__dots button {
  width: 22px; height: 4px;
  border: none; border-radius: 2px; padding: 0;
  cursor: pointer;
  background: var(--border-strong);
  position: relative;
}
.slider__dots button::before { content: ""; position: absolute; inset: -10px -2px; }
.slider__dots button[aria-current="true"] { background: var(--accent); }

@media (max-width: 479px) {
  .slider__text { padding: 28px 24px 80px; }
  .slider__prev, .slider__next { top: auto; bottom: 20px; transform: none; }
  .slider__prev { left: 24px; }
  .slider__next { left: 74px; right: auto; }
}

/* ---------- Demo / case ---------- */
.demo .h2 { margin-bottom: 20px; }
.demo .lead { line-height: 1.55; margin-bottom: 40px; }
.demo__marker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.demo__marker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: tl-blip 2s ease-in-out infinite;
}
.demo__tabs { display: none; gap: 8px; margin-bottom: 12px; }
.demo__tabs button {
  flex: 1;
  padding: 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.demo__tabs button[aria-selected="true"] { background: rgba(167, 139, 250, 0.12); color: var(--accent); border-color: var(--accent); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.split__pane { position: relative; background: var(--bg); padding: 20px; min-height: 300px; }
.split__pane .panel-caption { margin-bottom: 14px; }
.split__pane--twin .panel-caption { color: var(--accent); }
.split__media {
  position: relative;
  overflow: hidden;
  height: calc(100% - 34px);
  min-height: 250px;
  border-radius: 6px;
  background: var(--bg-elevated);
}
.split__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__pane--twin .split__media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.25);
  pointer-events: none;
}

@media (max-width: 859px) {
  .demo__tabs { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split[data-tab="real"] .split__pane--twin,
  .split[data-tab="twin"] .split__pane--real { display: none; }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1px;
  margin: 2px 0 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.metrics > div { background: var(--bg); padding: 22px 18px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.metrics dt { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.metrics dd { margin: 0; font-family: var(--font-mono); font-size: 30px; line-height: 1; }
.metrics dd.is-accent { color: var(--accent); }
.metrics dd.is-text { font-size: 17px; line-height: 1.3; padding-top: 6px; overflow-wrap: anywhere; }
.demo__footnote { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin: 14px 0 0; }

/* ---------- CNC marquee ---------- */
.cnc { padding-top: clamp(40px, 5vw, 56px); padding-bottom: clamp(40px, 5vw, 56px); }
.cnc__wrap { position: relative; }
.cnc__track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cnc__track::-webkit-scrollbar { display: none; }
.cnc__list { display: flex; margin: 0; padding: 0; list-style: none; flex: none; }
.cnc__list li {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(24px, 3vw, 44px);
  min-height: 96px;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
  transition: color .2s ease;
}
.cnc__list li:hover { color: var(--brand, var(--text)); }
.cnc__prev, .cnc__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(11, 15, 20, 0.85); }
.cnc__prev { left: -6px; }
.cnc__next { right: -6px; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: 8px; padding: 28px; }
.card svg { margin-bottom: 18px; }
.card h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.card p { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item h3 { margin: 0; font: inherit; }
.faq__q {
  width: 100%;
  background: none; border: none;
  padding: 24px 0;
  display: flex; gap: 20px; align-items: flex-start; justify-content: space-between;
  text-align: left;
  color: var(--text);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}
.faq__q:hover { color: var(--accent); }
.faq__sign { font-family: var(--font-mono); color: var(--accent); font-size: 20px; flex: none; line-height: 1.2; }
.faq__sign::before { content: "+"; }
.faq__q[aria-expanded="true"] .faq__sign::before { content: "–"; }
.faq__a { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #080C10 55%, rgba(167, 139, 250, 0.07) 100%); }
.contact__box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: clamp(28px, 4vw, 56px); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.contact h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 24px; text-wrap: pretty; }
.contact__img { width: 100%; aspect-ratio: 21 / 9; max-height: 200px; object-fit: cover; object-position: center 40%; border-radius: 10px; margin-bottom: 24px; }
.contact__text { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0 0 16px; max-width: 50ch; text-wrap: pretty; }
.contact__side { display: flex; flex-direction: column; }
@media (min-width: 860px) { .contact__side { margin-top: clamp(92px, 8vw, 116px); } }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted); }
.field input, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check span { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.check + .error { margin-top: -12px; }
.form .btn { font-size: 16px; padding: 17px 26px; }

.sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 8px 0; }
.sent__icon { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; }
.sent__title { font-size: 20px; font-weight: 600; }
.sent p { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; max-width: 40ch; }
.sent .btn { font-size: 15px; padding: 12px 22px; margin-top: 6px; font-weight: 400; }

/* ---------- Footer ---------- */
.footer {
  scroll-margin-top: var(--header-h);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
}
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer .logo { margin-bottom: 16px; }
.footer__about { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0; max-width: 30ch; }
.footer__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted); margin: 0 0 16px; font-weight: 400; }
.footer__title--spaced { margin-top: 24px; display: none; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-muted); list-style: none; margin: 0; padding: 0; font-style: normal; }
.footer__links--row { flex-direction: row; gap: 16px; display: none; }
.footer__links a { color: var(--text); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 859px) { .footer__nav { display: none; } }
.footer__bottom a { color: var(--text-muted); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Text pages (privacy, 404) ---------- */
.page { padding: clamp(48px, 6vw, 80px) var(--gutter); }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px; }
.page h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
.page p, .page li { font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.page ul { padding-left: 20px; }
.page .todo { color: var(--error); font-family: var(--font-mono); font-size: 14px; }
.page--wide .container { max-width: 1200px; }

/* ---------- Solutions page ---------- */
.solutions { display: flex; flex-direction: column; gap: 20px; }
.solution {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.solution__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 10px;
}
.solution h2 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.25; margin: 0; color: var(--text); }
.solution p { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 60ch; }
.solution .mono { display: inline-block; margin-top: 14px; font-size: 14px; }

@media (max-width: 767px) {
  .solution { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__labels span { opacity: 1; }
}
