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

:root {
  --bg: #0A0A0A;
  --fg: #FFFFFF;
  --muted: #A1A1A1;
  --accent: #582CFF;
  --accent-2: #BF40FF;
  --panel: #12121A;
  --border: #2A2A36;
  --wrap: 80rem;
  --font: "Inter", system-ui, sans-serif;
  --display: "Funnel Sans", "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}

/* nebula.glsl: локальные пятна, не заливка половины экрана */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  background:
    radial-gradient(ellipse 27.5rem 17.5rem at 25% 14%, rgba(88, 44, 255, 0.36), transparent 72%),
    radial-gradient(ellipse 55rem 35rem at 16% 16%, rgba(88, 44, 255, 0.28), transparent 72%),
    radial-gradient(ellipse 50rem 32.5rem at 16% 74%, rgba(191, 64, 255, 0.2), transparent 72%),
    radial-gradient(ellipse 45rem 27.5rem at 50% 22%, rgba(88, 44, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 45rem 27.5rem at 52% 44%, rgba(0, 242, 255, 0.08), transparent 70%);
}

img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #C4B5FF;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.875rem;
  border: 1px solid #582CFF66;
  border-radius: 999px;
  background: #582CFF22;
  color: #D4C4FF;
  font-size: 0.8125rem;
  font-weight: 500;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn--lg { min-height: 3.15rem; padding-inline: 1.35rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #6b45ff; }
.btn--ghost { border-color: var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: #C4B5FF; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}
.brand img { width: 1.75rem; height: 1.75rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.nav__links a:hover { color: var(--fg); }
.nav__toggle { display: none; padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 1.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 25%;
  width: 27.5rem;
  height: 17.5rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #582CFF;
  opacity: 0.14;
  filter: blur(80px);
  pointer-events: none;
}
.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 57.5rem;
  margin-inline: auto;
  text-align: center;
  gap: 1.125rem;
}
.hero__copy .lead { max-width: 42.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.section { padding: 5rem 0; }
.section__head { margin-bottom: 2rem; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin: 0.85rem auto 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
}
.chip:hover { color: var(--fg); }
.chip.is-active {
  border-color: var(--accent);
  background: rgba(88, 44, 255, 0.18);
  color: var(--fg);
}

.scenarios__hint {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.deck {
  position: relative;
  isolation: isolate;
  height: min(43.75rem, 56vw);
  margin-bottom: 1rem;
  background: transparent;
}

.deck__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 78%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 18%, rgba(0, 0, 0, 0.45) 52%, transparent 78%);
}

.deck__empty {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  align-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 2rem 2rem 8rem;
}
.deck__empty-sub { color: var(--muted); font-size: 0.9rem; }

.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  z-index: 2;
  max-width: 40rem;
  padding: 0 1.25rem;
  pointer-events: none;
}
.caption__kicker { color: #C4B5FF; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.caption h2 { margin: 0.35rem 0 0.6rem; }
.caption p:last-child {
  color: #E8E8EE;
  text-shadow: 0 1px 12px rgba(10, 10, 10, 0.65);
}

.ai { padding-top: 3.5rem; }
.ai__stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(38rem, 62vw);
}

.ai-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 48%, #000 16%, rgba(0, 0, 0, 0.42) 54%, transparent 80%);
  mask-image: radial-gradient(ellipse 78% 70% at 50% 48%, #000 16%, rgba(0, 0, 0, 0.42) 54%, transparent 80%);
}

.ai-field__logo {
  position: absolute;
  height: auto;
  opacity: 0.22;
  transform-origin: center center;
  animation-name: ai-sway;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.ai-field__logo--ink { filter: invert(1); opacity: 0.16; }

@keyframes ai-sway {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.6deg); }
  40% { transform: translate3d(10px, -12px, 0) rotate(1.8deg); }
  70% { transform: translate3d(-8px, 8px, 0) rotate(-0.8deg); }
}

.ai__copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.ai__copy h2 { margin: 0 0 0.85rem; }
.ai__copy p {
  color: #E8E8EE;
  text-shadow: 0 1px 14px rgba(10, 10, 10, 0.7);
}
.ai__copy a {
  color: #C4B5FF;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.ai__copy a:hover { color: #fff; }

.ai-field--page {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 88% 70% at 50% 28%, #000 8%, rgba(0, 0, 0, 0.35) 48%, transparent 78%);
  mask-image: radial-gradient(ellipse 88% 70% at 50% 28%, #000 8%, rgba(0, 0, 0, 0.35) 48%, transparent 78%);
}

.page-mcp .nav,
.page-mcp main,
.page-mcp .footer { position: relative; z-index: 1; }
.page-mcp .nav { background: rgba(10, 10, 10, 0.72); }

.mcp-hero { padding-bottom: 0.5rem; }
.mcp-doc { padding-top: 2.5rem; }
.mcp-doc__inner { display: grid; gap: 1.25rem; max-width: 48rem; }
.mcp-doc__panel { background: rgba(18, 18, 26, 0.78); backdrop-filter: blur(10px); }
.mcp-doc__panel h2 { margin: 0 0 0.75rem; }
.mcp-doc__panel h3 { margin: 1.35rem 0 0.45rem; }
.mcp-doc__panel p,
.mcp-doc__panel li { color: var(--muted); }
.mcp-doc__panel p + p { margin-top: 0.7rem; }
.mcp-doc__panel a { color: #C4B5FF; text-decoration: underline; text-underline-offset: 0.16em; }
.mcp-doc__panel a:hover { color: #fff; }
.mcp-doc__panel strong { color: var(--fg); font-weight: 600; }
.mcp-doc__panel code {
  padding: 0.08em 0.35em;
  border-radius: 4px;
  background: #0006;
  color: #EDE9FE;
  font-size: 0.86em;
}
.mcp-doc__list {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0;
  padding-left: 1.15rem;
  list-style: disc;
}
.mcp-doc__steps {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 0.9rem;
  padding-left: 1.2rem;
  list-style: decimal;
}
.mcp-doc__steps li { padding-left: 0.25rem; }
.mcp-tools { display: grid; gap: 0.65rem; margin-top: 1rem; }
.mcp-tools li {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0004;
}
.mcp-tools code { color: #C4B5FF; }
.mcp-tools span { color: #C8C8D0; font-size: 0.9rem; }
.mcp-doc__code {
  overflow-x: auto;
  margin: 0.65rem 0 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0008;
  color: #EDE9FE;
  font-size: 0.8rem;
  line-height: 1.45;
}
.mcp-doc__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}
.panel p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.split--3 { grid-template-columns: 1fr 1fr 1fr; }
.split--3 .shot { height: 18rem; }

.shot {
  position: relative;
  overflow: hidden;
  height: 25rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  background: #000;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot--chrome img { object-position: center 22%; }
.shot figcaption {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: #0A0A0ACC;
  color: #EDE9FE;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.shot--phone { max-width: 22rem; margin-inline: auto; }
.shot--phone img { object-position: center 12%; }

.types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.types li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  font-family: var(--display);
  font-weight: 600;
}
.types span { color: #C4B5FF; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.schema { margin-top: 2rem; }
.schema__label { margin-bottom: 0.75rem; color: var(--muted); font-size: 0.85rem; }
.schema__row { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; align-items: start; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.steps li {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}
.steps p { color: var(--muted); font-size: 0.92rem; }
.steps__n {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent);
  font-family: var(--display);
  font-weight: 700;
}

.contour__title { margin-bottom: 1.75rem; }
.contour {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 1rem;
}
.contour li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 13rem;
  padding: 1.2rem 1.2rem 1.2rem 1.35rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
}
.contour li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent);
}
.contour__n {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: #582CFF22;
  color: #C4B5FF;
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.contour strong {
  color: var(--fg);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}
.contour p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.contour a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.contour a:hover { color: var(--fg); }

.gallery {
  position: relative;
  height: 28rem;
  margin-top: 2.5rem;
  touch-action: pan-y;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--fg);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.gallery__nav:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 22%, var(--panel));
}
.gallery__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.gallery__nav--prev { left: 0.25rem; }
.gallery__nav--next { right: 0.25rem; }
.gallery .shot {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: min(72%, 48rem);
  height: 22rem;
  margin: 0;
  box-shadow: 0 16px 48px #0008, 0 0 0 1px var(--border);
  transition: transform 0.35s ease;
}
.gallery .shot:nth-of-type(1) { transform: translateX(-68%) rotate(-10deg); z-index: 1; }
.gallery .shot:nth-of-type(2) { transform: translateX(-60%) rotate(-6deg); z-index: 2; }
.gallery .shot:nth-of-type(3) { transform: translateX(-52%) rotate(-2deg); z-index: 3; }
.gallery .shot:nth-of-type(4) { transform: translateX(-44%) rotate(2deg); z-index: 4; }
.gallery .shot:nth-of-type(5) { transform: translateX(-36%) rotate(6deg); z-index: 5; }
.gallery .shot:nth-of-type(6) { transform: translateX(-28%) rotate(10deg); z-index: 6; }
.gallery .shot.is-front {
  z-index: 8;
  transform: translateX(-50%) rotate(0) translateY(-0.35rem);
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  background: transparent;
}
.shot-lightbox[open] { display: flex; }
.shot-lightbox::backdrop {
  background: #050508e6;
  backdrop-filter: blur(6px);
}
.shot-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(96vw, 92rem);
  max-height: calc(100vh - 3rem);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px #000a, 0 0 0 1px var(--border);
  background: var(--panel);
}
.shot-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--fg);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.shot-lightbox__close:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 22%, var(--panel));
}
.shot-lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 721px) {
  .gallery .shot { cursor: pointer; }
}

.use { display: grid; gap: 2rem; }
.use__row { max-width: 40rem; }
.use__row p:last-child { color: var(--muted); margin-top: 0.5rem; }
.use__row--media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: none;
}

.pricing {
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: 75rem;
  height: 40.625rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #582CFF;
  opacity: 0.13;
  filter: blur(200px);
  pointer-events: none;
}
.pricing__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.5rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  width: 100%;
}
.pricing-grid:empty { display: none; }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}
.pricing-card--featured { border-color: var(--accent); }
.pricing-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(88, 44, 255, 0.2);
  color: #C4B5FF;
  font-size: 0.7rem;
  font-weight: 600;
}
.pricing-card h3 { padding-right: 4rem; }
.pricing-card__tagline,
.pricing-card__yearly,
.pricing-card__meta { color: var(--muted); font-size: 0.9rem; }
.pricing-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem; }
.pricing-card__price strong { font-family: var(--display); font-size: 1.5rem; }
.pricing-card__price span { color: var(--muted); font-size: 0.85rem; }
.pricing-card__features { display: grid; gap: 0.4rem; margin-top: 0.4rem; color: #D4D4DC; font-size: 0.9rem; }
.pricing-card__features li { padding-left: 0.9rem; position: relative; }
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-card__cta { margin-top: auto; width: 100%; }

.trial {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: min(100%, 32rem);
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  text-align: center;
}
.trial__label { color: #C4B5FF; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.trial__days { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3rem); }
.trial__note { color: var(--muted); }
.trial--fallback { width: min(100%, 40rem); }

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}
.footer__inner { display: grid; gap: 1rem; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}
.footer__channels { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer__channel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer__channel:hover { color: var(--fg); }
.footer__channel-icon { width: 1.15rem; height: 1.15rem; flex: none; fill: currentColor; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem; }
.footer__links a { color: var(--muted); font-size: 0.875rem; }
.footer__links a:hover { color: var(--fg); }
.footer__copy { color: var(--muted); font-size: 0.8rem; }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1100;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 28rem;
  margin-left: auto;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(18, 18, 26, 0.96);
  color: var(--fg);
}
.cookie-banner__title { margin: 0 0 0.35rem; font-family: var(--display); font-size: 1.05rem; }
.cookie-banner__text { margin: 0; color: var(--muted); font-size: 0.875rem; }
.cookie-banner__text a { color: #C4B5FF; text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__btn {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner__btn--primary { background: var(--accent); color: #fff; }
.cookie-banner__btn--secondary { border-color: var(--border); background: transparent; color: var(--fg); }

@media (max-width: 960px) {
  .split,
  .split--3,
  .schema__row,
  .steps,
  .types,
  .use__row--media { grid-template-columns: 1fr; }
  .split--3 .shot { height: 22rem; }
  .types { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contour { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .ai__stage { min-height: min(30rem, 92vw); }
  .ai__copy h2 { font-size: 1.35rem; }
  .ai-field__logo { width: 4.2rem !important; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
  }
  .nav__links.is-open { display: flex; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .deck { height: min(28rem, 78vw); }
  .caption { bottom: 8%; }
  .caption h2 { font-size: 1.25rem; }
  .types, .steps, .contour { grid-template-columns: 1fr; }
  .contour { grid-auto-rows: auto; }
  .shot { height: 18rem; }
  .shot--phone { max-width: 18rem; }
  .gallery { height: 20rem; }
  .gallery__nav {
    width: 2.4rem;
    height: 2.4rem;
    margin-top: -1.2rem;
  }
  .gallery__nav--prev { left: 0; }
  .gallery__nav--next { right: 0; }
  .gallery .shot {
    width: min(88%, 28rem);
    height: 16rem;
    top: 1.5rem;
  }
  .gallery .shot:nth-of-type(1) { transform: translateX(-62%) rotate(-8deg); }
  .gallery .shot:nth-of-type(2) { transform: translateX(-56%) rotate(-5deg); }
  .gallery .shot:nth-of-type(3) { transform: translateX(-50%) rotate(-2deg); }
  .gallery .shot:nth-of-type(4) { transform: translateX(-44%) rotate(2deg); }
  .gallery .shot:nth-of-type(5) { transform: translateX(-38%) rotate(5deg); }
  .gallery .shot:nth-of-type(6) { transform: translateX(-32%) rotate(8deg); }
  .gallery .shot.is-front { transform: translateX(-50%) rotate(0) translateY(-0.2rem); }
}

@media (min-width: 640px) {
  .cookie-banner {
    right: 1.5rem;
    bottom: 1.5rem;
    left: auto;
    width: min(28rem, calc(100vw - 3rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ai-field__logo { animation: none; }
}
