:root {
  --bg0: #070b14;
  --bg1: #0b1220;
  --bg2: #111827;
  --surface: #151d2e;
  --line: rgba(148, 163, 184, 0.22);
  --text: #e8eef8;
  --muted: #93a4be;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --accent: #6b2fa0;
  --accent-soft: #c4b5fd;
  --good: #34d399;
  --paper: #f4f7fb;
  --paper-text: #132033;
  --paper-muted: #5b6b82;
  --max: 1120px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg0);
  color: var(--text);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "ss01", "kern";
  line-height: 1.55;
}

html:has(body.page-home):not(.snap-motion) {
  scroll-snap-type: y mandatory;
}

.page-home .snap-screen {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

html.snap-motion,
html.snap-motion body.page-home {
  height: 100%;
  overflow: hidden;
  scroll-snap-type: none;
}
html.snap-motion body.page-home {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
html.snap-motion .nav {
  position: relative;
  z-index: 50;
  flex: 0 0 var(--nav-h);
}
html.snap-motion #content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
html.snap-motion .shot-stack {
  display: contents;
}
html.snap-motion .snap-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  scroll-snap-align: unset;
  scroll-snap-stop: normal;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
html.snap-motion .snap-screen.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 2;
}
html.snap-motion:not(.snap-ready) .snap-screen:first-child {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 2;
}
html.snap-motion .snap-screen.is-leaving {
  opacity: 0;
  transform: translate3d(0, -28px, 0);
  pointer-events: none;
  z-index: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Page boot bar */
.boot {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 90;
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0.12);
  animation: boot 0.9s var(--ease) forwards;
}
.boot.is-done { animation: boot-out 0.35s ease forwards; }

@keyframes boot {
  to { transform: scaleX(1); }
}
@keyframes boot-out {
  to { opacity: 0; }
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.88);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(37, 99, 235, 0.16);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg2);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: visible;
  padding: 72px 0 40px;
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
}
.page-home .hero.snap-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 56px;
  overflow: visible;
}
.page-home .hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(var(--max), calc(100% - 40px));
  overflow: visible;
}
.page-home .hero .wordmark {
  align-self: stretch;
}
html.snap-motion .page-home .hero.snap-screen {
  height: 100%;
  max-height: none;
  padding: 28px 0;
  overflow: visible;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}

.wordmark {
  --mx: 50%;
  --my: 50%;
  --spot: 13rem;
  --feather: 11rem;
  position: relative;
  isolation: isolate;
  margin: 8px calc(-1 * var(--feather)) 4px;
  padding: 0;
  max-width: none;
  overflow: visible;
  user-select: none;
  cursor: default;
  filter: none;
  text-shadow: none;
}
.wordmark-layer {
  display: block;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  white-space: nowrap;
  padding: 1.6rem var(--feather);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.wordmark-fill {
  position: relative;
  z-index: 0;
  background: linear-gradient(185deg, #dbeafe 8%, #60a5fa 42%, #2563eb 68%, #6b2fa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark.is-live .wordmark-fill {
  -webkit-mask-image: radial-gradient(
    circle var(--spot) at var(--mx) var(--my),
    rgb(0 0 0 / 0) 0%,
    rgb(0 0 0 / 0.02) 20%,
    rgb(0 0 0 / 0.12) 38%,
    rgb(0 0 0 / 0.36) 56%,
    rgb(0 0 0 / 0.68) 76%,
    rgb(0 0 0 / 1) 100%
  );
  mask-image: radial-gradient(
    circle var(--spot) at var(--mx) var(--my),
    rgb(0 0 0 / 0) 0%,
    rgb(0 0 0 / 0.02) 20%,
    rgb(0 0 0 / 0.12) 38%,
    rgb(0 0 0 / 0.36) 56%,
    rgb(0 0 0 / 0.68) 76%,
    rgb(0 0 0 / 1) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-origin: padding-box;
  mask-origin: padding-box;
}
.wordmark-dots {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1.6px #e0f2fe;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(
    circle var(--spot) at var(--mx) var(--my),
    rgb(0 0 0 / 1) 0%,
    rgb(0 0 0 / 0.88) 24%,
    rgb(0 0 0 / 0.52) 48%,
    rgb(0 0 0 / 0.2) 70%,
    rgb(0 0 0 / 0.05) 86%,
    rgb(0 0 0 / 0) 100%
  );
  mask-image: radial-gradient(
    circle var(--spot) at var(--mx) var(--my),
    rgb(0 0 0 / 1) 0%,
    rgb(0 0 0 / 0.88) 24%,
    rgb(0 0 0 / 0.52) 48%,
    rgb(0 0 0 / 0.2) 70%,
    rgb(0 0 0 / 0.05) 86%,
    rgb(0 0 0 / 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-origin: padding-box;
  mask-origin: padding-box;
}
.wordmark.is-live .wordmark-dots { opacity: 1; }
.wordmark-hint {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.lede {
  max-width: 640px;
  margin: 0 0 28px;
  color: #c5d2e6;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 28px;
}
.cta-row .btn {
  align-self: stretch;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  overflow: hidden;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-radial {
  --rx: 50%;
  --ry: 50%;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}
.btn-radial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle 140px at var(--rx) var(--ry), #60a5fa 0%, #2563eb 38%, #1e3a8a 78%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-radial:hover::before { opacity: 1; }
.btn-ghost {
  color: #dbeafe;
  background: transparent;
  border-color: rgba(96, 165, 250, 0.38);
}
.btn-ghost:hover { background: rgba(37, 99, 235, 0.14); }
.btn-tg {
  background: #1d4ed8;
  color: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 48px;
  list-style: none;
}
.page-home .chips { margin-bottom: 0; }
.chips li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* Neon — one frame only */
.neon-frame {
  position: relative;
  border-radius: 22px;
  padding: 1px;
  background: conic-gradient(from var(--spin, 180deg), #2563eb, #6b2fa0, #38bdf8, #2563eb);
}
.neon-frame > img,
.neon-frame > .neon-inner {
  border-radius: 21px;
  background: var(--bg2);
}
.neon-frame::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 0%, rgba(37, 99, 235, 0.28), transparent 46%);
  z-index: -1;
  pointer-events: none;
}

/* Sections */
.section { padding: 72px 0; }
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}
.section .sub {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted);
}

.paper {
  background: var(--paper);
  color: var(--paper-text);
}
.paper .sub { color: var(--paper-muted); }
.page-home .paper.snap-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) 0 32px;
}
html.snap-motion .page-home .paper.snap-screen {
  height: 100%;
  max-height: none;
  padding: 28px 0;
  overflow: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.step {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(19, 32, 51, 0.08);
}
.step p { margin-bottom: 0; }
.step b {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Full-page DEMO shot blocks */
.shot-stack {
  background: var(--bg0);
}
.shot-block {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  width: 100%;
  padding: calc(var(--nav-h) + 8px) 28px 18px;
  overflow: hidden;
  background: var(--bg0);
}
html.snap-motion .shot-block {
  height: 100%;
  max-height: none;
  padding: 16px 28px 18px;
}
.shot-block:nth-child(even) { background: var(--bg1); }
.shot-block-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: min(1440px, 100%);
  margin: 0 auto 8px;
}
.shot-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shot-count {
  margin: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
}
.shot-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(1440px, 100%);
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  margin: 0 auto;
}
.shot-stage {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.shot-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: unset;
  object-position: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.shot-figure figcaption {
  text-align: center;
  text-wrap: pretty;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.shot-figure figcaption span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
.shot-nav {
  position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shot-nav button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.shot-nav button:hover { background: #1e293b; }
.shot-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
.shot-block > .ext-carousel {
  flex: 1 1 auto;
  width: min(1440px, 100%);
  height: auto;
  min-height: 0;
  margin: 0 auto;
}

/* Contained «Внешний модуль» carousel — one snap screen, four inner shots */
.ext-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  width: 100%;
  padding: calc(var(--nav-h) + 8px) 28px 16px;
  overflow: hidden;
  background: var(--bg1);
}
html.snap-motion .ext-screen {
  height: 100%;
  max-height: none;
  padding: 16px 28px 16px;
}
.ext-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(1440px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
}
.ext-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.ext-head .sub {
  max-width: 52ch;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-wrap: pretty;
}
.ext-carousel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ext-viewport {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.ext-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.45s var(--ease);
}
.ext-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}
.ext-slide .shot-stage {
  width: 100%;
}
.ext-slide figcaption {
  flex: 0 0 auto;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
}
.ext-ui {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.ext-ui button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.ext-ui button:hover { background: #1e293b; }
.ext-count {
  margin: 0;
  min-width: 4.5ch;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
}
.ext-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
}
.ext-dots button {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.ext-dots button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(148, 163, 184, 0.45);
}
.ext-dots button[aria-current="true"]::after {
  background: #93c5fd;
}
.ext-dots button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.page-home .faq-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding: calc(var(--nav-h) + 20px) 0 0;
  overflow: hidden;
}
html.snap-motion .page-home .faq-screen {
  height: 100%;
  max-height: none;
  padding: 24px 0 0;
}
.page-home .faq-screen .wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.page-home .faq-screen .footer {
  flex: 0 0 auto;
  margin-top: auto;
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
}
.faq p { margin: 0 0 14px; color: var(--muted); }

/* KB */
.kb-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.kb-side {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg2);
}
.kb-side label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.kb-side input {
  width: 100%;
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg0);
  color: #fff;
}
.kb-toc {
  max-height: 64vh;
  overflow: auto;
  display: grid;
  gap: 4px;
}
.kb-toc a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  padding: 5px 6px;
  border-radius: 8px;
}
.kb-toc a:hover { color: #fff; background: rgba(37, 99, 235, 0.14); }

.module {
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.module[hidden] { display: none; }
.module h2 { font-size: 1.35rem; margin-bottom: 8px; }
.module .where {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(107, 47, 160, 0.18);
  color: #ddc7ff;
  font-size: 12px;
  font-weight: 700;
}
.module .shot {
  margin: 14px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.module .shot img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: top;
  background: #0b1220;
}
.badge-off {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  font-size: 11px;
}

/* Legal */
.legal {
  max-width: 820px;
  color: #d5deec;
  font-size: 15px;
}
.legal h1 { letter-spacing: -0.04em; }
.legal h2 { margin-top: 32px; font-size: 1.2rem; }
.legal .meta { color: var(--muted); font-size: 13px; }

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.card h2 { margin: 0 0 10px; }
.card p { margin: 0 0 12px; }
.card ol { padding-left: 18px; color: var(--muted); }
.card-cta {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card-cta .card-note {
  color: var(--muted);
  font-size: 14px;
}
.card-cta .btn {
  margin-top: auto;
  align-self: flex-start;
}
.card-follow { margin-top: 20px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: #bfdbfe; text-decoration: none; }
.footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.loader {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #93c5fd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.img-pending { background: linear-gradient(90deg, #1e293b, #243247, #1e293b); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 12px;
    background: #0b1220;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }
  .nav-links.is-open { display: flex; }
  .steps,
  .kb-layout,
  .support-grid { grid-template-columns: 1fr; }
  .kb-side { position: static; }
  .shot-block { padding-inline: 14px; }
  .shot-nav { right: 10px; bottom: 14px; }
  .ext-screen { padding-inline: 14px; }
  .wordmark {
    --feather: 4rem;
    --spot: 8rem;
    margin-inline: calc(-1 * var(--feather));
  }
  .wordmark-layer {
    white-space: nowrap;
    font-size: clamp(2.1rem, 9.5vw, 3.4rem);
    padding: 1.2rem var(--feather);
  }
}

@media (max-height: 720px) {
  .page-home .wordmark-layer {
    font-size: clamp(2.4rem, 8vh, 4.4rem);
    padding-block: 1rem;
  }
  .page-home .lede { margin-bottom: 16px; font-size: 1.05rem; }
  .page-home .cta-row { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html:has(body.page-home) { scroll-snap-type: none; }
  html.snap-motion,
  html.snap-motion body.page-home {
    height: auto;
    overflow: visible;
  }
  html.snap-motion #content { overflow: visible; }
  html.snap-motion .snap-screen {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 100dvh;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto;
  }
  .boot,
  .loader,
  .img-pending,
  .neon-frame { animation: none !important; }
  .wordmark-dots,
  .wordmark-fill {
    opacity: 1 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .btn-radial::before { transition: none !important; }
  .ext-track { transition: none !important; }
}
