@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20BD, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("assets/fonts/playfair-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20BD, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("assets/fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20BD, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #e8e0d4;
  --ink: #16111b;
  --muted: #615967;
  --deep: #031d36;
  --violet: #6e25ff;
  --violet-dark: #281247;
  --pink: #ff69de;
  --orange: #ff5500;
  --acid: #d8ff43;
  --sky: #00b8ff;
  --line: rgba(22, 17, 27, 0.18);
  --line-strong: rgba(22, 17, 27, 0.46);
  --radius: 8px;
  --progress: 0;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.custom-cursor {
  cursor: none;
}

body.custom-cursor * {
  cursor: none !important;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 10px;
  z-index: 200;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--violet-dark);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

a,
button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.cursor-dot {
  --cursor-size: 22px;
  position: fixed;
  left: -80px;
  top: -80px;
  z-index: 120;
  display: none;
  place-items: center;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  box-shadow:
    0 0 0 6px rgba(110, 37, 255, 0.24),
    0 0 24px rgba(255, 105, 222, 0.62);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: normal;
  transition:
    width 160ms ease,
    height 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

body.custom-cursor .cursor-dot {
  display: grid;
  place-items: center;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  box-shadow:
    0 0 0 6px rgba(110, 37, 255, 0.24),
    0 0 24px rgba(255, 105, 222, 0.62);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: normal;
  transition:
    width 160ms ease,
    height 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.cursor-dot::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.cursor-dot.is-hovering {
  --cursor-size: 44px;
  background: rgba(255, 105, 222, 0.88);
  border-color: var(--paper);
  box-shadow:
    0 0 0 8px rgba(22, 17, 27, 0.28),
    0 0 34px rgba(110, 37, 255, 0.72);
}

.scroll-meter {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--orange));
  box-shadow: 0 0 18px rgba(255, 105, 222, 0.55);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 138px;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}

.brand-type {
  display: grid;
  align-content: center;
  margin-left: -1px;
  color: var(--ink);
  line-height: 1;
}

.brand-type strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: lowercase;
}

.brand-type small {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav nav a,
.nav-action,
.button,
.console-tabs button {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.site-nav nav a {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav nav a:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px;
  color: var(--paper);
  background: var(--ink);
  font: 800 0.82rem/1 var(--font-body);
  cursor: pointer;
}

.nav-action:hover {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-2px);
}

.nav-action svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 86px 18px auto;
  z-index: 29;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(22, 17, 27, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 200ms ease, transform 240ms ease, visibility 200ms;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.mobile-menu nav a {
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.mobile-menu .button {
  width: 100%;
}

/* ===== Hero-слайдер ===== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 105, 222, 0.22), transparent 22rem),
    radial-gradient(circle at 6% 86%, rgba(216, 255, 67, 0.16), transparent 18rem),
    var(--paper);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 120px 0 84px;
}

.hero-bg-type {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  align-content: center;
  padding-left: 4vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(22, 17, 27, 0.12);
  font-family: var(--font-display);
  font-size: clamp(6rem, 17vw, 16rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.hero-bg-type span:nth-child(2) {
  margin-left: 12vw;
}

.hero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: none;
}

.hero-slide.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 360ms ease, transform 560ms cubic-bezier(0.17, 0.84, 0.3, 1);
}

/* Управление слайдером */
.hero-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.hero-arrow:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 30px;
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease;
}

.hero-dots button.is-active {
  width: 46px;
  background: var(--violet);
}

.eyebrow,
.section-index,
.service-issue span,
.price-rows span,
.brief-poster span {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2,
.manifesto h2,
.section-title h2,
.lab-copy h2,
.audit-main h2,
.brief-poster h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.hero-slide h1 {
  max-width: 13ch;
  margin-top: 16px;
  font-size: clamp(3.2rem, 4.6vw, 5.1rem);
}

.hero-slide h2 {
  max-width: 14ch;
  margin-top: 16px;
  font-size: clamp(2.8rem, 4vw, 4.6rem);
}

.hero-slide p:not(.eyebrow),
.manifesto p,
.lab-copy p,
.service-issue p,
.system-steps p,
.price-rows p,
.brief-poster p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.hero-slide p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 900;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-line {
  background: rgba(244, 241, 234, 0.5);
}

.button-acid {
  color: var(--ink);
  background: var(--acid);
}

.button:disabled {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.button:hover {
  transform: translateY(-3px) rotate(-1deg);
}

/* Hero - область визуалов слайдера */
.hero-visuals {
  position: relative;
  min-height: 460px;
}

.hero-vis {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.96) translateY(14px);
  transition: none;
}

.hero-vis.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.17, 0.84, 0.3, 1);
}

.vis-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--ink);
}

.vis-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--violet);
}

/* Визуал: оффер / посадочная */
.offer-card {
  background: var(--paper-2);
}

.offer-h {
  display: block;
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.1;
}

.offer-lead {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.offer-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.offer-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
}

.offer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.offer-meta {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.offer-btn {
  appearance: none;
  padding: 11px 15px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.offer-btn:hover {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-2px);
}

/* Визуал: экосистема */
.eco-card,
.growth-card {
  color: var(--paper);
  background:
    radial-gradient(circle at 82% -10%, rgba(110, 37, 255, 0.5), transparent 58%),
    var(--deep);
}

.eco-card .vis-tag,
.growth-card .vis-tag {
  color: var(--pink);
}

.eco-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.eco-tile {
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.06);
}

.eco-tile:nth-child(1) {
  border-color: var(--violet);
}

.eco-tile:nth-child(4) {
  border-color: var(--acid);
}

.eco-tile b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}

.eco-tile em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(244, 241, 234, 0.62);
}

/* Визуал: рост по неделям */
.growth-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  height: 180px;
  margin: 22px 0;
}

.growth-bars i {
  display: block;
  height: var(--h);
  border: 1px solid var(--ink);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--acid), var(--violet));
}

.growth-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
}

.growth-foot b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--acid);
}

.growth-foot em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(244, 241, 234, 0.7);
}

/* Главная панель «путь до заявки» */
.journey-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    radial-gradient(circle at 82% -10%, rgba(110, 37, 255, 0.55), transparent 58%),
    var(--deep);
  box-shadow: 14px 14px 0 var(--ink);
}

.journey-head {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.journey-head span {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.journey-head strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1.05;
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.journey-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.06);
}

.journey-steps i {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 800;
  font-size: 0.82rem;
  color: rgba(244, 241, 234, 0.55);
}

.journey-steps b {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
}

.journey-steps em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(244, 241, 234, 0.6);
}

.journey-steps .is-goal {
  border-color: var(--acid);
  background: rgba(216, 255, 67, 0.16);
}

.journey-steps .is-goal i {
  color: var(--acid);
}

.journey-steps .is-goal em {
  color: var(--acid);
}

/* Hero - плавающие акценты на визуале */
.hero-chip {
  position: absolute;
  z-index: 4;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
  animation: none;
}

.chip-a {
  top: -16px;
  left: 14px;
  color: var(--ink);
  background: var(--acid);
}

.chip-b {
  top: -16px;
  right: 14px;
  color: var(--paper);
  background: var(--violet);
}

.reference-band {
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.reference-band div {
  display: flex;
  width: max-content;
  gap: 32px;
  padding: 16px 0;
  animation: marquee 26s linear infinite;
}

.reference-band span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-band span::after {
  content: "/";
  margin-left: 32px;
  color: var(--pink);
}

.section-block,
.yandex-lab,
.brief {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 98px;
}

.manifesto,
.services,
.audit-board,
.system,
.pricing {
  padding: 92px 0;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 80px 0 0;
}

.signal-strip article {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.24), transparent 140px),
    var(--paper-2);
}

.signal-strip article:nth-child(2) {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.32), transparent 140px),
    var(--ink);
  color: var(--paper);
}

.signal-strip article:nth-child(4) {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 85, 0, 0.24), transparent 140px),
    var(--paper);
}

.signal-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 6.5vw, 6.8rem);
  line-height: 0.9;
}

.signal-strip span {
  display: block;
  max-width: 210px;
  margin-top: 18px;
  color: currentColor;
  font-weight: 900;
  line-height: 1.25;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: end;
  margin-top: 18px;
}

.manifesto h2,
.section-title h2,
.lab-copy h2,
.audit-main h2,
.brief-poster h2 {
  font-size: clamp(2.75rem, 4.8vw, 5.35rem);
}

.lab-copy h2 {
  max-width: 9.5ch;
  font-size: clamp(2.65rem, 4.3vw, 4.75rem);
}

.audit-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.72fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 10px;
}

.audit-card,
.audit-board article {
  position: relative;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.24), transparent 150px),
    var(--paper-2);
}

.audit-main {
  grid-row: span 2;
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.24), transparent 180px),
    var(--violet-dark);
}

.audit-main::after {
  content: "audit";
  position: absolute;
  right: -0.16em;
  bottom: -0.3em;
  color: rgba(244, 241, 234, 0.08);
  font-family: var(--font-display);
  font-size: 16rem;
  font-weight: 900;
  line-height: 0.75;
}

.audit-board article:nth-child(3) {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 184, 255, 0.18), transparent 150px),
    var(--paper);
}

.audit-board article:nth-child(4) {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 85, 0, 0.22), transparent 150px),
    var(--acid);
}

.audit-card span,
.audit-board article span {
  color: var(--violet);
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
}

.audit-main span {
  color: var(--pink);
}

.audit-board h3 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
}

.audit-board p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.service-spread {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, auto);
  gap: 10px;
}

.service-issue {
  position: relative;
  grid-column: span 2;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.18), transparent 150px),
    var(--paper-2);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.service-issue h3,
.system-steps h3,
.price-rows h3 {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.05rem;
  line-height: 1.1;
}

.issue-wide {
  grid-column: span 3;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.2), transparent 160px),
    var(--acid);
}

.service-issue.deep {
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.26), transparent 180px),
    var(--deep);
}

.deep p,
.dark p,
.violet p,
.service-visual p {
  color: rgba(244, 241, 234, 0.82);
}

/* Услуги - визуал-панель «охват каналов» */
.service-visual {
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% -10%, rgba(110, 37, 255, 0.5), transparent 58%),
    var(--deep);
}

.visual-label {
  color: var(--pink) !important;
}

.visual-bars {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 26px;
}

.vbar {
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  gap: 12px;
  align-items: center;
}

.vbar em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
}

.vtrack {
  height: 14px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.16);
  overflow: hidden;
}

.vtrack i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--acid));
  animation: barGlow 2.6s ease-in-out infinite;
}

.vbar b {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: right;
}

.violet {
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.18), transparent 150px),
    var(--violet);
}

.orange {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(244, 241, 234, 0.26), transparent 150px),
    var(--orange);
}

.dark {
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(110, 37, 255, 0.42), transparent 170px),
    var(--ink);
}

.yandex-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: start;
  padding: 92px 0;
  border-block: 1px solid var(--ink);
}

.lab-copy p {
  max-width: 580px;
}

.lab-console {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 12px 12px 0 var(--ink);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.console-tabs button {
  min-height: 56px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.console-tabs button:last-child {
  border-right: 0;
}

.console-tabs button.is-active {
  color: var(--paper);
  background: var(--violet);
}

.console-readout {
  padding: 24px;
}

.console-readout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.console-readout p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mode-chips span {
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-visual {
  display: grid;
  gap: 12px;
  padding: 0 28px 28px;
}

.console-visual span {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-visual span::after {
  content: "";
  height: 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--orange) var(--v), transparent 0),
    var(--paper);
  animation: barGlow 2.6s ease-in-out infinite;
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.system-steps article,
.price-rows article {
  min-height: 245px;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.18), transparent 150px),
    var(--paper-2);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.system-steps article:nth-child(even) {
  transform: translateY(48px);
  background: var(--paper);
}

.system-steps span {
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
}

.price-rows {
  display: grid;
  gap: 10px;
}

.price-rows article {
  display: grid;
  grid-template-columns: 0.18fr 0.25fr 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 150px;
}

.price-rows h3,
.price-rows p {
  margin: 0;
}

.price-rows strong {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--acid);
  white-space: nowrap;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 0 92px;
}

.flow-strip div {
  position: relative;
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.22), transparent 130px),
    var(--paper);
  overflow: hidden;
}

.flow-strip div::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 50%;
  width: 88px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-14deg);
}

.flow-strip span {
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 900;
}

.flow-strip strong {
  display: block;
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 1.95rem;
  line-height: 1;
}

.flow-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.brief {
  padding: 40px 0 100px;
}

.brief-poster {
  position: relative;
  min-height: 520px;
  padding: 34px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.2), transparent 220px),
    linear-gradient(135deg, rgba(255, 105, 222, 0.35), transparent 36%),
    var(--violet-dark);
  overflow: hidden;
}

.brief-note {
  position: relative;
  margin: 0;
  max-width: 720px;
  color: rgba(244, 241, 234, 0.78) !important;
}

.brief-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 26px;
}

.brief-mail {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(244, 241, 234, 0.7);
  border-bottom: 1px solid rgba(244, 241, 234, 0.3);
}

.brief-mail:hover {
  color: var(--acid);
}

.brief-poster::before {
  content: "V";
  position: absolute;
  right: -0.08em;
  bottom: -0.32em;
  color: rgba(244, 241, 234, 0.08);
  font-family: var(--font-display);
  font-size: min(78vw, 52rem);
  line-height: 0.75;
}

.brief-poster h2 {
  position: relative;
  max-width: 980px;
  margin: 24px 0 18px;
}

.brief-poster .button {
  position: relative;
  color: var(--ink);
  background: var(--acid);
}

/* ---- Страница статей ---- */
.site-nav nav a.is-current {
  color: var(--paper);
  background: var(--violet);
  transform: translateY(-1px);
}

.articles-page {
  background:
    linear-gradient(90deg, rgba(22, 17, 27, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(22, 17, 27, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.articles-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: 36px;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  min-height: 660px;
  margin: 0 auto;
  padding: 126px 0 72px;
}

.articles-hero::before {
  content: "статьи";
  position: absolute;
  left: -0.05em;
  bottom: 0.2em;
  z-index: -1;
  color: rgba(22, 17, 27, 0.065);
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 900;
  line-height: 0.75;
}

.articles-hero-copy {
  display: grid;
  gap: 20px;
}

.articles-page:not(.article-detail-page) .articles-hero-copy > * {
  opacity: 0;
  animation: articleHeroReveal 760ms cubic-bezier(0.17, 0.84, 0.3, 1) forwards;
}

.articles-page:not(.article-detail-page) .articles-hero-copy > *:nth-child(2) {
  animation-delay: 70ms;
}

.articles-page:not(.article-detail-page) .articles-hero-copy > *:nth-child(3) {
  animation-delay: 140ms;
}

.articles-page:not(.article-detail-page) .articles-hero-copy > *:nth-child(4) {
  animation-delay: 200ms;
}

.articles-page:not(.article-detail-page) .articles-hero-copy > *:nth-child(5) {
  animation-delay: 250ms;
}

.articles-hero h1,
.article-long h2,
.articles-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
}

.articles-hero h1 {
  max-width: 860px;
  font-size: 4.05rem;
}

.articles-hero p,
.article-lead,
.article-long p,
.articles-cta p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.articles-hero p {
  max-width: 710px;
  margin: 0;
  font-size: 1.08rem;
}

.editorial-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editorial-routes a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.72);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.editorial-routes a:hover {
  color: var(--paper);
  background: var(--violet);
  transform: translateY(-2px) rotate(-1deg);
}

.articles-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.articles-hero-visual::before,
.articles-hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.58);
}

.articles-hero-visual::before {
  inset: 70px 36px 44px 12px;
  transform: rotate(-7deg);
}

.articles-hero-visual::after {
  inset: 40px 8px 74px 58px;
  background: var(--acid);
  transform: rotate(5deg);
}

.article-radar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(380px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background:
    radial-gradient(circle, rgba(216, 255, 67, 0.22) 0 8%, transparent 8% 21%, rgba(255, 105, 222, 0.18) 21% 22%, transparent 22% 42%, rgba(0, 184, 255, 0.16) 42% 43%, transparent 43%),
    conic-gradient(from 30deg, rgba(255, 105, 222, 0.34), rgba(216, 255, 67, 0.08), rgba(110, 37, 255, 0.52), rgba(255, 105, 222, 0.34)),
    var(--violet-dark);
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
  animation: articleRadarPulse 4.8s ease-in-out infinite;
}

.article-radar::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto 50%;
  width: 52%;
  height: 2px;
  background: linear-gradient(90deg, var(--acid), transparent);
  transform-origin: left center;
  animation: articleRadarSweep 5.2s linear infinite;
}

.article-radar::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(244, 241, 234, 0.36);
  border-radius: 50%;
}

.article-radar span {
  position: absolute;
  padding: 9px 12px;
  border: 1px solid rgba(244, 241, 234, 0.45);
  border-radius: 999px;
  background: rgba(22, 17, 27, 0.58);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-radar span:nth-child(1) {
  top: 18%;
  left: 12%;
}

.article-radar span:nth-child(2) {
  top: 28%;
  right: 9%;
  color: var(--acid);
}

.article-radar span:nth-child(3) {
  right: 14%;
  bottom: 22%;
}

.article-radar span:nth-child(4) {
  left: 13%;
  bottom: 27%;
  color: var(--pink);
}

.article-radar strong {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 7.3rem;
  line-height: 0.82;
  transform: translate(-50%, -58%);
}

.article-radar em {
  position: absolute;
  top: 61%;
  left: 50%;
  z-index: 1;
  width: 150px;
  margin-top: 0;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.72);
  transform: translateX(-50%);
}

.article-index,
.article-feed {
  padding: 88px 0;
}

.tag-search {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.18), transparent 210px),
    var(--paper-2);
}

.tag-search-head {
  display: grid;
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 0.78fr);
  gap: 14px;
  align-items: center;
}

.tag-search label,
.tag-search-status,
.tag-filters button,
.article-card small,
.article-tags a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-search label {
  color: var(--violet);
}

.tag-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.tag-search-field {
  position: relative;
}

.tag-search-field input {
  padding-right: 52px;
}

.tag-search-field > span {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 900;
  pointer-events: none;
  transform: translateY(-50%) rotate(12deg);
}

.tag-search input:focus {
  outline: 3px solid rgba(110, 37, 255, 0.28);
  outline-offset: 0;
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.tag-filters button:hover {
  transform: translateY(-2px);
}

.tag-filters button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.tag-filters em {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-style: normal;
}

.tag-search-status {
  margin: 0;
  color: var(--muted);
}

.article-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}

.article-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-sort select {
  min-height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  cursor: pointer;
}

.article-empty {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.article-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 330px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.22), transparent 150px),
    var(--paper-2);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, opacity 180ms ease;
}

.article-card[hidden] {
  display: none;
}

.article-card[data-reveal] {
  opacity: 0;
  clip-path: inset(10% 0 0 0);
  transform: translate3d(0, 34px, 0) rotate(0.8deg);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.17, 0.84, 0.3, 1), clip-path 620ms ease, box-shadow 220ms ease;
}

.article-card:nth-child(3n + 2)[data-reveal] {
  transform: translate3d(0, 46px, 0) rotate(-0.9deg);
}

.article-card[data-reveal].is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) rotate(0);
}

.article-card:nth-child(4n + 2) {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.3), transparent 150px),
    var(--paper);
}

.article-card:nth-child(4n + 3) {
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 105, 222, 0.28), transparent 150px),
    var(--deep);
}

.article-card:nth-child(4n + 4) {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(244, 241, 234, 0.36), transparent 150px),
    var(--acid);
}

.article-card:hover {
  z-index: 2;
  transform: translateY(-5px) rotate(-0.6deg);
  box-shadow: 9px 9px 0 var(--ink);
}

.article-card-meta time,
.article-card-meta span,
.article-card-meta i,
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  padding-right: 46px;
}

.article-card-meta time {
  color: var(--violet);
}

.article-card:nth-child(4n + 3) .article-card-meta time {
  color: var(--pink);
}

.article-card-meta span,
.article-card-meta i {
  color: currentColor;
  opacity: 0.58;
}

.article-card-meta i {
  font-style: normal;
}

.article-card-number {
  position: absolute;
  top: 11px;
  right: 14px;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.1;
}

.article-card strong {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.68rem;
  font-weight: 800;
  line-height: 1.06;
}

.article-card p {
  position: relative;
  z-index: 1;
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.48;
}

.article-card:nth-child(4n + 3) p {
  color: rgba(244, 241, 234, 0.76);
}

.article-card small {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.article-card small b,
.article-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 900;
}

.article-card small b {
  font-size: 0.68rem;
}

.article-card em {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card em span {
  margin-left: 8px;
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.article-card:hover em span {
  transform: translateX(4px);
}

.article-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.article-more:hover {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 7px 7px 0 var(--ink);
  transform: translateY(-3px);
}

.article-more em {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--acid);
  font-style: normal;
}

.article-more[hidden] {
  display: none;
}

.article-feed {
  display: grid;
  gap: 14px;
}

.article-long {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.72);
  scroll-margin-top: 104px;
  overflow: hidden;
}

.article-long::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--violet), var(--pink), var(--acid));
}

.article-long:nth-child(even) {
  background: var(--paper-2);
}

.article-long:nth-child(3n) {
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 4%, rgba(216, 255, 67, 0.12), transparent 260px),
    var(--violet-dark);
}

.article-long:nth-child(3n) p,
.article-long:nth-child(3n) .article-lead {
  color: rgba(244, 241, 234, 0.78);
}

.article-long h2 {
  grid-column: 2;
  font-size: 2.65rem;
}

.article-meta {
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 14px;
  color: var(--violet);
}

.article-long:nth-child(3n) .article-meta {
  color: var(--pink);
}

.article-meta span {
  max-width: 250px;
  color: currentColor;
  opacity: 0.68;
  line-height: 1.45;
}

.article-lead {
  grid-column: 2;
  max-width: 760px;
  margin: 0;
  font-weight: 700;
}

.article-cols {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.article-cols h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.08;
}

.article-cols p {
  margin: 0;
}

.article-cols ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.article-long:nth-child(3n) .article-cols ul {
  color: rgba(244, 241, 234, 0.78);
}

.articles-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 96px;
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.22), transparent 260px),
    linear-gradient(135deg, rgba(255, 105, 222, 0.28), transparent 40%),
    var(--violet-dark);
}

.articles-cta h2 {
  max-width: 760px;
  margin: 14px 0;
  font-size: 3.3rem;
}

.articles-cta p {
  max-width: 690px;
  margin: 0;
  color: rgba(244, 241, 234, 0.76);
}

.articles-cta .button {
  color: var(--ink);
  background: var(--acid);
}

.article-detail {
  padding: 132px 0 92px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 26px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.article-back:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.article-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 32px;
  align-items: stretch;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink);
}

.article-detail-hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
  font-family: var(--font-display);
  font-size: 4.1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.article-detail-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.article-detail-meta span,
.article-detail-meta time {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.article-tags a {
  color: var(--violet);
  background: rgba(110, 37, 255, 0.08);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.article-tags a:hover {
  color: var(--paper);
  background: var(--violet);
  transform: translateY(-2px);
}

.article-detail-note,
.article-aside-cta {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 67, 0.2), transparent 190px),
    var(--violet-dark);
  color: var(--paper);
}

.article-detail-note {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  box-shadow: 10px 10px 0 var(--ink);
}

.article-detail-note span {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-detail-note ul,
.article-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.article-detail-note li {
  color: rgba(244, 241, 234, 0.82);
  line-height: 1.48;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 32px;
  align-items: start;
  padding-top: 56px;
}

.article-body {
  display: grid;
  gap: 38px;
}

.article-body section {
  position: relative;
  scroll-margin-top: 118px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.article-body.is-observed section[data-article-section] {
  opacity: 0.22;
  transform: translate3d(0, 24px, 0);
  transition: opacity 520ms ease, transform 660ms cubic-bezier(0.17, 0.84, 0.3, 1);
}

.article-body.is-observed section[data-article-section].is-section-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.article-section-number {
  display: block;
  margin-bottom: 10px;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.article-body section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-body h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.05;
}

.article-body p,
.article-body li,
.article-aside p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.article-body p {
  max-width: 820px;
  margin: 0 0 16px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body ul {
  max-width: 780px;
  margin-top: 8px;
}

.article-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
}

.article-toc {
  display: grid;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.article-toc > .section-index {
  margin-bottom: 12px;
}

.article-toc a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 160ms ease, transform 160ms ease;
}

.article-toc a span {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
}

.article-toc a:hover,
.article-toc a[aria-current="true"] {
  color: var(--ink);
  transform: translateX(3px);
}

.article-toc a[aria-current="true"] span {
  color: var(--pink);
}

.article-aside-cta {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.article-aside-cta strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.article-aside-cta p {
  margin: 0;
  color: rgba(244, 241, 234, 0.78);
}

.article-aside-cta .button {
  justify-self: start;
  color: var(--ink);
  background: var(--acid);
}

.article-sources > p {
  margin-bottom: 20px;
}

.article-sources ol {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-sources a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-2);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-sources a:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translateY(-2px);
}

.article-sources a span {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.article-related {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: 28px;
  margin-top: 78px;
  padding-top: 34px;
  border-top: 1px solid var(--ink);
}

.article-related h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.03;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.article-related-grid a {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 210px;
  padding: 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.article-related-grid a:nth-child(2) {
  background: var(--acid);
}

.article-related-grid a:nth-child(3) {
  color: var(--paper);
  background: var(--deep);
}

.article-related-grid a:hover {
  z-index: 1;
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-3px) rotate(-0.4deg);
}

.article-related-grid span,
.article-related-grid em {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.66;
}

.article-related-grid strong {
  align-self: center;
  margin: 22px 0;
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.05;
}

.article-related-grid em {
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 64px;
}

.article-nav a {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 var(--ink);
}

.article-nav span {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-nav strong {
  display: block;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
}

/* ---- Отраслевые воронки ---- */
.niches-hero,
.niche-hero {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: 56px;
  align-items: center;
  min-height: 760px;
  padding: 128px 0 72px;
}

.niches-hero h1,
.niche-hero h1 {
  max-width: 12ch;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.01;
}

.niches-hero p,
.niche-hero-copy > p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.niche-back {
  display: inline-flex;
  margin-bottom: 30px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.niches-hero-visual,
.niche-hero-system {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 0, color-mix(in srgb, var(--niche-accent, var(--pink)) 36%, transparent), transparent 54%),
    var(--deep);
  box-shadow: 14px 14px 0 var(--ink);
  overflow: hidden;
}

.niches-hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: center;
  padding: 34px;
}

.niches-hero-visual span {
  padding: 18px;
  border: 1px solid rgba(244, 241, 234, 0.3);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
}

.niches-hero-visual strong {
  position: absolute;
  left: 22px;
  top: 20px;
  color: var(--pink);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.niches-hero-visual em {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.niche-hero-system {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.niche-system-label {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.niche-hero-system > strong {
  max-width: 9ch;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.niche-system-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.channel-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 10px 5px 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.channel-lockup b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: #ef3124;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

.channel-lockup.is-violet b {
  background: var(--violet);
}

.niche-system-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 241, 234, 0.2);
}

.niche-system-output span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.niche-system-output b {
  color: var(--niche-accent, var(--acid));
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-align: right;
}

.niche-reference {
  width: 100%;
}

.niche-hub,
.niche-channel-section,
.niche-funnel-section,
.niche-plan-section {
  padding: 92px 0;
}

.niche-hub-grid,
.niche-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.niche-hub-card,
.niche-preview-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--ink);
  border-top: 7px solid var(--card-accent, var(--violet));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--card-accent, var(--violet)) 20%, transparent), transparent 150px),
    var(--paper-2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.niche-hub-card:hover,
.niche-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--ink);
}

.niche-hub-card > span,
.niche-preview-card > span {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.niche-hub-card strong,
.niche-preview-card strong {
  max-width: 13ch;
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.02;
}

.niche-hub-card p,
.niche-preview-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.niche-card-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}

.niche-card-channels i {
  padding: 6px 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.niches-preview .section-title {
  margin-bottom: 26px;
}

.niches-preview-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.niche-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.niche-channel-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.niche-channel-card:nth-child(3n + 2) {
  background: color-mix(in srgb, var(--niche-accent) 14%, var(--paper-2));
}

.niche-channel-card h3 {
  max-width: 17ch;
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.04;
}

.niche-channel-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.niche-funnel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.niche-funnel article {
  position: relative;
  min-height: 270px;
  padding: 22px 18px;
  border-right: 1px solid var(--ink);
}

.niche-funnel article:last-child {
  border-right: 0;
  color: var(--paper);
  background: var(--deep);
}

.niche-funnel article > span {
  color: var(--niche-accent);
  font-family: var(--font-mono);
  font-weight: 800;
}

.niche-funnel h3 {
  margin: 52px 0 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.04;
}

.niche-funnel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.niche-funnel article:last-child p {
  color: rgba(244, 241, 234, 0.72);
}

.niche-funnel small {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.niche-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.niche-plan-grid article {
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.niche-plan-grid article:nth-child(2) {
  background: var(--acid);
}

.niche-plan-grid article:nth-child(4) {
  color: var(--paper);
  background: var(--deep);
}

.niche-plan-grid span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.niche-plan-grid h3 {
  margin: 42px 0 16px;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.niche-plan-grid ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
}

.niche-metrics,
.niche-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 42px;
  align-items: center;
  margin-top: 30px;
  padding: 56px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--deep);
}

.niche-metrics h2,
.niche-cta h2 {
  max-width: 15ch;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

.niche-metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.niche-metric-list span {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, 0.26);
  border-radius: var(--radius);
  font-weight: 800;
}

.niche-sources {
  padding: 54px 0;
  border-bottom: 1px solid var(--ink);
}

.niche-sources > p {
  max-width: 720px;
  color: var(--muted);
}

.niche-sources > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.niche-sources a {
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
}

.niche-cta {
  margin-bottom: 92px;
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--niche-accent, var(--violet)) 46%, transparent), transparent 42%),
    var(--violet-dark);
}

.niche-cta p {
  max-width: 640px;
  color: rgba(244, 241, 234, 0.72);
  line-height: 1.5;
}

.niche-cta .button {
  justify-self: end;
}

@media (max-width: 1060px) {
  .niches-hero,
  .niche-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .niche-hero-system,
  .niches-hero-visual {
    min-height: 390px;
  }

  .niche-hub-grid,
  .niche-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .niche-funnel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    gap: 10px;
  }

  .niche-funnel article,
  .niche-funnel article:last-child {
    border: 1px solid var(--ink);
    border-radius: var(--radius);
  }

  .niche-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .niches-hero,
  .niche-hero {
    width: min(100% - 20px, 1200px);
    gap: 30px;
    padding: 100px 0 54px;
  }

  .niches-hero h1,
  .niche-hero h1 {
    max-width: none;
    font-size: 2.7rem;
  }

  .niches-hero p,
  .niche-hero-copy > p {
    font-size: 0.98rem;
  }

  .niche-back {
    margin-bottom: 22px;
  }

  .niche-hero-system,
  .niches-hero-visual {
    min-height: 350px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .niche-hero-system {
    padding: 20px;
  }

  .niche-hero-system > strong {
    font-size: 2.1rem;
  }

  .niche-hub,
  .niche-channel-section,
  .niche-funnel-section,
  .niche-plan-section {
    padding: 64px 0;
  }

  .niche-hub-grid,
  .niche-preview-grid,
  .niche-channel-grid,
  .niche-funnel,
  .niche-plan-grid,
  .niche-metrics,
  .niche-cta {
    grid-template-columns: 1fr;
  }

  .niche-hub-card,
  .niche-preview-card,
  .niche-channel-card,
  .niche-funnel article,
  .niche-plan-grid article {
    min-height: auto;
  }

  .niche-funnel h3,
  .niche-channel-card h3,
  .niche-plan-grid h3 {
    margin-top: 28px;
  }

  .niche-funnel small {
    position: static;
    display: block;
    margin-top: 30px;
  }

  .niche-metrics,
  .niche-cta {
    gap: 26px;
    padding: 24px;
  }

  .niche-metrics h2,
  .niche-cta h2 {
    font-size: 2.45rem;
  }

  .niche-metric-list {
    grid-template-columns: 1fr;
  }

  .niche-metric-list span {
    min-height: 70px;
  }

  .niche-cta .button {
    width: 100%;
    justify-self: stretch;
  }
}

/* ---- Modal: brief popup ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 16, 0.62);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  max-height: calc(100svh - 40px);
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    radial-gradient(circle at 90% -10%, rgba(110, 37, 255, 0.5), transparent 55%),
    var(--violet-dark);
  box-shadow: 18px 18px 0 var(--ink);
  transform: translateY(16px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.17, 0.84, 0.3, 1);
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 241, 234, 0.4);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(244, 241, 234, 0.06);
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(244, 241, 234, 0.16);
}

.modal-close svg {
  stroke-width: 2;
}

.modal-head {
  flex: 0 0 auto;
  margin-bottom: 22px;
  padding-right: 48px;
}

#briefForm {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.modal-head span {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-head strong {
  display: block;
  margin: 6px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.modal-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.16);
  overflow: hidden;
}

.modal-progress i {
  display: block;
  width: var(--p, 25%);
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--acid));
  transition: width 320ms cubic-bezier(0.17, 0.84, 0.3, 1);
}

.modal-head small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(244, 241, 234, 0.7);
}

.step {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.step.is-active {
  display: grid;
  max-height: min(420px, calc(100svh - 330px));
  overflow-y: auto;
  padding-right: 6px;
  animation: stepIn 300ms ease both;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.field {
  display: grid;
  gap: 6px;
}

.field-wide {
  grid-column: 1 / -1;
}

#briefForm label,
.field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 234, 0.78);
}

#briefForm input[type="text"],
#briefForm input[type="email"],
#briefForm input[type="url"],
#briefForm select,
#briefForm textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(244, 241, 234, 0.4);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.08);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 160ms ease, background 160ms ease;
}

#briefForm textarea {
  resize: vertical;
  min-height: 60px;
}

#briefForm select option {
  color: var(--ink);
}

#briefForm input::placeholder,
#briefForm textarea::placeholder {
  color: rgba(244, 241, 234, 0.5);
}

#briefForm input:focus,
#briefForm select:focus,
#briefForm textarea:focus {
  outline: none;
  border-color: var(--acid);
  background: rgba(244, 241, 234, 0.14);
}

#briefForm [aria-invalid="true"] {
  border-color: var(--pink);
}

.field-error {
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 800;
}

.brief-details {
  border: 1px solid rgba(244, 241, 234, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
}

.brief-details summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.brief-details summary::-webkit-details-marker {
  display: none;
}

.brief-details summary span {
  color: rgba(244, 241, 234, 0.58);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
}

.brief-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 14px 14px;
}

.consent a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-check {
  cursor: pointer;
}

.chip-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-check span {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid rgba(244, 241, 234, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.chip-check input:checked + span {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.chip-check input:focus-visible + span {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

#briefForm .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(244, 241, 234, 0.72);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--acid);
}

.consent input:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.modal-foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  background: var(--violet-dark);
}

.modal-foot .button-line {
  color: var(--paper);
  background: rgba(244, 241, 234, 0.06);
}

.modal-foot [data-next],
.modal-foot [data-submit] {
  margin-left: auto;
}

.form-status {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(244, 241, 234, 0.85);
}

.form-status[data-state="error"] {
  color: var(--pink);
}

.form-status[data-state="ok"] {
  color: var(--acid);
}

@media (max-width: 680px) {
  .modal {
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    border-radius: 0;
    box-shadow: none;
    padding: 64px 18px 24px;
  }

  .step.is-active {
    max-height: calc(100svh - 270px);
  }

  .step {
    grid-template-columns: 1fr;
  }

  .modal-foot .button {
    flex: 1 1 auto;
  }
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 18px 42px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--violet);
}

.service-issue[href] {
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-issue[href]:hover {
  z-index: 2;
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(-4px);
}

/* ---- Commercial service architecture ---- */
.service-hub-hero,
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: 48px;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  min-height: 700px;
  margin: 0 auto;
  padding: 118px 0 54px;
}

.service-hub-hero h1,
.service-hero h1,
.topic-hero h1,
.static-hero h1 {
  max-width: 14ch;
  margin: 18px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
  line-height: 0.96;
}

.service-hub-hero p,
.service-hero-copy > p,
.topic-hero > p,
.static-hero > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.service-hero-copy .article-back {
  display: table;
  margin-bottom: 28px;
}

.topic-hero .article-back {
  display: table;
  margin-bottom: 28px;
}

.service-orbit,
.service-signal {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 34px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--service-accent, var(--pink)) 42%, transparent), transparent 52%),
    var(--violet-dark);
  box-shadow: 12px 12px 0 var(--ink);
}

.service-orbit::before,
.service-orbit::after,
.service-signal::before,
.service-signal::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 50%;
}

.service-orbit::before,
.service-signal::before {
  width: 72%;
  aspect-ratio: 1;
}

.service-orbit::after,
.service-signal::after {
  width: 42%;
  aspect-ratio: 1;
}

.service-orbit strong,
.service-signal strong {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.96;
  text-align: center;
}

.service-orbit span,
.service-signal span,
.service-signal i {
  position: absolute;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.service-orbit span:nth-of-type(1),
.service-signal span { top: 24px; left: 24px; color: var(--acid); }
.service-orbit span:nth-of-type(2) { top: 24px; right: 24px; color: var(--pink); }
.service-orbit span:nth-of-type(3) { bottom: 24px; left: 24px; color: var(--sky); }
.service-orbit span:nth-of-type(4),
.service-signal i { right: 24px; bottom: 24px; color: var(--pink); }

.service-signal i {
  top: 24px;
  bottom: auto;
}

.service-hub,
.service-principles,
.service-scope,
.service-process,
.service-related,
.service-faq {
  padding: 92px 0;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-hub-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--service-accent) 16%, transparent), transparent 48%),
    var(--paper-2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-hub-card:hover {
  z-index: 1;
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(-4px);
}

.service-hub-card > span,
.service-hub-card em {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.service-hub-card strong {
  max-width: 14ch;
  margin: 42px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
}

.service-hub-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-hub-card em {
  align-self: end;
  margin-top: 30px;
  color: var(--violet);
}

.service-scope-grid,
.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-scope-grid article,
.service-process-grid article {
  min-height: 280px;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.service-scope-grid article:nth-child(2),
.service-process-grid article:nth-child(3) { background: var(--acid); }
.service-scope-grid article:nth-child(4),
.service-process-grid article:nth-child(4) { color: var(--paper); background: var(--deep); }

.service-scope-grid span,
.service-process-grid span {
  color: var(--service-accent, var(--violet));
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-scope-grid h3,
.service-process-grid h3 {
  margin: 54px 0 14px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.02;
}

.service-scope-grid p,
.service-process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.service-scope-grid article:nth-child(4) p,
.service-process-grid article:nth-child(4) p { color: rgba(244, 241, 234, 0.75); }

.service-metrics {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  gap: 42px;
  align-items: center;
  margin-top: 24px;
  padding: 56px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--deep);
}

.service-metrics h2 {
  max-width: 14ch;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
}

.service-metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-metric-list span {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, 0.26);
  border-radius: var(--radius);
  font-weight: 800;
}

.service-faq-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.service-faq-list details {
  border-bottom: 1px solid var(--ink);
}

.service-faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.service-faq-list summary::-webkit-details-marker { display: none; }
.service-faq-list summary span { color: var(--violet); font-family: var(--font-mono); }
.service-faq-list details[open] summary span { transform: rotate(45deg); }
.service-faq-list p { max-width: 820px; margin: 0 0 24px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }

/* ---- Topic and static content pages ---- */
.topic-hero,
.static-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topic-hero {
  min-height: 650px;
  padding: 138px 0 78px;
  border-bottom: 1px solid var(--ink);
}

.static-shell {
  padding: 138px 0 92px;
}

.static-hero {
  padding-bottom: 54px;
  border-bottom: 1px solid var(--ink);
}

.static-hero time {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.static-content {
  display: grid;
  gap: 44px;
  max-width: 860px;
  padding-top: 54px;
}

.static-content section {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.static-content h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.02;
}

.static-content p,
.static-content li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.static-content ul { display: grid; gap: 8px; padding-left: 22px; }

.article-card,
.service-hub-card,
.niche-hub-card,
.niche-preview-card,
.static-content section {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.is-motion-paused,
.is-motion-paused * {
  animation-play-state: paused !important;
}

@media (max-width: 1060px) {
  .service-hub-hero,
  .service-hero { grid-template-columns: 1fr; min-height: auto; }
  .service-orbit,
  .service-signal { min-height: 390px; }
  .service-scope-grid,
  .service-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .service-hub-hero,
  .service-hero,
  .topic-hero,
  .static-shell { width: min(100% - 20px, 1200px); padding-top: 104px; }
  .service-hub-hero h1,
  .service-hero h1,
  .topic-hero h1,
  .static-hero h1 { max-width: none; font-size: 2.4rem; line-height: 1; }
  .service-hub-hero,
  .service-hero { gap: 26px; padding-bottom: 34px; }
  .service-hero { padding-bottom: 12px; }
  .service-hub-hero p,
  .service-hero-copy > p { font-size: 0.94rem; line-height: 1.5; }
  .service-hub-hero .hero-actions,
  .service-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .service-hub-hero .hero-actions .button,
  .service-hero .hero-actions .button { width: auto; min-width: 0; padding-inline: 10px; font-size: 0.82rem; }
  .service-orbit,
  .service-signal { min-height: 250px; box-shadow: 7px 7px 0 var(--ink); }
  .service-orbit strong,
  .service-signal strong { max-width: 12ch; font-size: 2.25rem; }
  .service-hero-copy .article-back { margin-bottom: 22px; }
  .service-hub,
  .service-principles,
  .service-scope,
  .service-process,
  .service-related,
  .service-faq { padding: 64px 0; }
  .service-hub-grid,
  .service-scope-grid,
  .service-process-grid,
  .service-metrics,
  .service-metric-list,
  .brief-details-grid { grid-template-columns: 1fr; }
  .service-hub-card,
  .service-scope-grid article,
  .service-process-grid article { min-height: auto; }
  .service-scope-grid h3,
  .service-process-grid h3 { margin-top: 30px; }
  .service-metrics { padding: 24px; }
  .service-metrics h2 { font-size: 2.45rem; }
  .service-metric-list span { min-height: 70px; }
  .topic-hero { min-height: auto; padding-bottom: 54px; }
  .static-content p,
  .static-content li { font-size: 0.98rem; line-height: 1.64; }
  .footer span:nth-child(2) { display: flex; flex-wrap: wrap; gap: 6px; }
}

[data-reveal] {
  opacity: 0.96;
  transform: translate3d(0, 14px, 0);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.17, 0.84, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes routeDash {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes heroSceneGlitchIn {
  0% {
    filter: saturate(1.6) contrast(1.08);
  }
  16% {
    filter: saturate(2) contrast(1.18);
  }
  42% {
    filter: saturate(1.25) contrast(1);
  }
  100% {
    filter: none;
  }
}

@keyframes heroTextGlitchIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 38px, 0) skewY(1.5deg);
    clip-path: inset(0 0 100% 0);
  }
  18% {
    opacity: 1;
    transform: translate3d(-9px, 14px, 0) skewY(-1deg);
    clip-path: inset(0 0 38% 0);
  }
  32% {
    transform: translate3d(8px, 6px, 0) skewY(0.8deg);
    clip-path: inset(18% 0 10% 0);
  }
  48% {
    transform: translate3d(-3px, 0, 0);
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroGlitchSliceA {
  0%,
  12% {
    opacity: 0;
  }
  18% {
    opacity: 0.82;
    transform: translate3d(-12px, -2px, 0);
  }
  34% {
    opacity: 0.55;
    transform: translate3d(10px, 1px, 0);
  }
  52%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroGlitchSliceB {
  0%,
  8% {
    opacity: 0;
  }
  22% {
    opacity: 0.78;
    transform: translate3d(13px, 4px, 0);
  }
  38% {
    opacity: 0.5;
    transform: translate3d(-9px, -2px, 0);
  }
  56%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroEyebrowGlitch {
  0% {
    opacity: 0;
    transform: translate3d(-10px, 8px, 0);
  }
  28% {
    opacity: 1;
    transform: translate3d(7px, 0, 0);
    text-shadow: 2px 0 0 var(--pink), -2px 0 0 var(--sky);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    text-shadow: none;
  }
}

@keyframes heroCopyGlitchIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  42% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    box-shadow: 10px 10px 0 var(--ink);
    filter: saturate(1);
  }
  50% {
    box-shadow: 15px 15px 0 var(--ink);
    filter: saturate(1.14);
  }
}

@keyframes orbitSpin {
  0%,
  100% {
    translate: 0 0;
    rotate: -2deg;
  }
  50% {
    translate: 12px -16px;
    rotate: 4deg;
  }
}

@keyframes barGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.35);
  }
}

@keyframes articleRadarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes articleRadarPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.18) contrast(1.04);
  }
}

@keyframes articleHeroReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 28px, 0) skewY(0.8deg);
  }
  38% {
    opacity: 1;
    clip-path: inset(0 0 24% 0);
    transform: translate3d(-5px, 8px, 0) skewY(-0.35deg);
  }
  62% {
    clip-path: inset(0 0 0 0);
    transform: translate3d(3px, 0, 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) skewY(0);
  }
}

@media (max-width: 1060px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-end .nav-action {
    display: none;
  }


  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 108px 0 72px;
  }

  .hero-text {
    min-height: auto;
  }

  .hero-controls {
    position: static;
    margin-top: 26px;
  }

  .hero-visuals {
    min-height: 420px;
  }

  .manifesto-grid,
  .section-title,
  .yandex-lab {
    grid-template-columns: 1fr;
  }

  .yandex-lab {
    gap: 28px;
    align-items: stretch;
  }

  .lab-copy h2 {
    max-width: 12ch;
  }

  .signal-strip,
  .audit-board,
  .flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-main {
    grid-row: span 1;
    grid-column: span 2;
  }

  .service-spread {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-issue,
  .issue-wide,
  .service-visual {
    grid-column: span 1;
    grid-row: span 1;
  }

  .issue-wide,
  .service-visual {
    grid-column: span 2;
  }

  .system-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-rows article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .articles-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 118px 0 72px;
  }

  .articles-hero h1 {
    max-width: 760px;
    font-size: 3.35rem;
  }

  .articles-hero-visual {
    min-height: 390px;
  }

  .article-radar {
    max-width: 360px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tag-search-head {
    grid-template-columns: 1fr;
  }

  .article-long {
    grid-template-columns: 1fr;
  }

  .article-long h2,
  .article-lead,
  .article-cols {
    grid-column: 1;
  }

  .article-meta {
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 12px;
  }

  .article-meta span {
    max-width: none;
  }

  .articles-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .article-detail-hero,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-detail-hero h1 {
    font-size: 3.45rem;
  }

  .article-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  body {
    cursor: auto;
  }

  .cursor-dot {
    display: none;
  }

  .site-nav {
    top: 10px;
    left: 10px;
    right: 10px;
    min-height: 60px;
    padding: 7px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand {
    min-width: 124px;
  }

  .brand-type strong {
    font-size: 1.16rem;
  }

  .brand-type small {
    font-size: 0.5rem;
  }

  .nav-action {
    width: 38px;
    height: 38px;
  }

  /* Hero-слайдер на телефоне */
  .hero-inner {
    padding: 92px 0 48px;
    gap: 28px;
  }

  .hero-bg-type {
    display: none;
  }

  .hero-slide h1 {
    max-width: 14ch;
    font-size: clamp(2.9rem, 12vw, 3.5rem);
    line-height: 1.05;
  }

  .hero-slide h2 {
    max-width: 16ch;
    font-size: clamp(2.5rem, 10vw, 3.1rem);
    line-height: 1.05;
  }

  .hero-slide p:not(.eyebrow),
  .manifesto p,
  .lab-copy p,
  .service-issue p,
  .system-steps p,
  .price-rows p,
  .brief-poster p {
    font-size: 0.98rem;
  }

  .eyebrow,
  .section-index,
  .service-issue span,
  .price-rows span,
  .brief-poster span {
    font-size: 0.72rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-visuals {
    min-height: 360px;
  }

  .vis-panel,
  .journey-card {
    max-width: 100%;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
  }

  .manifesto,
  .services,
  .audit-board,
  .system,
  .pricing,
  .yandex-lab {
    padding: 64px 0;
  }

  .signal-strip {
    padding-top: 56px;
  }

  .manifesto h2,
  .section-title h2,
  .lab-copy h2,
  .audit-main h2,
  .brief-poster h2 {
    font-size: clamp(2.45rem, 10.8vw, 3.15rem);
    line-height: 1.02;
  }

  .lab-copy h2 {
    max-width: 11ch;
  }

  .section-title {
    gap: 14px;
    margin-bottom: 18px;
  }

  .signal-strip article,
  .audit-card,
  .audit-board article,
  .service-issue,
  .system-steps article,
  .price-rows article,
  .flow-strip div {
    min-height: auto;
    padding: 18px;
  }

  .signal-strip strong {
    font-size: 4.4rem;
  }

  .audit-board h3,
  .service-issue h3,
  .system-steps h3,
  .price-rows h3 {
    margin-top: 24px;
    font-size: 1.85rem;
    line-height: 1.03;
  }

  .signal-strip,
  .audit-board,
  .flow-strip,
  .service-spread,
  .system-steps {
    grid-template-columns: 1fr;
  }

  .service-spread > .service-issue,
  .service-spread > .issue-wide,
  .service-spread > .service-visual {
    grid-column: 1 / -1;
  }

  .audit-main {
    grid-column: span 1;
  }

  .flow-strip {
    padding-bottom: 64px;
  }

  .flow-strip div::after {
    display: none;
  }

  .system-steps article:nth-child(even) {
    transform: none;
  }

  .console-readout strong {
    font-size: 1.82rem;
  }

  .console-readout {
    padding: 18px;
  }

  .console-readout p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .console-tabs button {
    min-height: 46px;
    font-size: 0.84rem;
  }

  .mode-chips {
    gap: 6px;
    margin-top: 16px;
  }

  .mode-chips span {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .console-visual {
    gap: 10px;
    padding: 0 18px 18px;
  }

  .console-visual span {
    grid-template-columns: 54px 1fr;
    gap: 8px;
    font-size: 0.7rem;
  }

  .console-visual span::after {
    height: 14px;
  }

  .lab-console {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .brief-poster {
    min-height: auto;
    padding: 22px;
  }

  .articles-hero {
    width: min(100% - 20px, 1200px);
    gap: 22px;
    padding: 92px 0 42px;
  }

  .articles-hero::before {
    display: none;
  }

  .articles-hero h1 {
    font-size: 2.34rem;
    line-height: 1.04;
  }

  .articles-hero p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .articles-hero .hero-actions {
    margin-top: 4px;
  }

  .articles-hero-visual {
    min-height: 268px;
  }

  .articles-hero-visual::before {
    inset: 48px 22px 28px 8px;
  }

  .articles-hero-visual::after {
    inset: 26px 6px 48px 34px;
  }

  .article-radar {
    width: min(248px, calc(100vw - 58px));
    box-shadow: 7px 7px 0 var(--ink);
  }

  .article-radar strong {
    font-size: 4.45rem;
  }

  .article-radar em {
    top: 63%;
    width: 118px;
    font-size: 0.62rem;
  }

  .article-radar span {
    padding: 7px 9px;
    font-size: 0.62rem;
  }

  .article-index,
  .article-feed {
    width: min(100% - 20px, 1200px);
    padding: 60px 0;
  }

  .tag-search {
    padding: 14px;
  }

  .tag-search input {
    min-height: 44px;
  }

  .tag-filters {
    gap: 6px;
  }

  .tag-filters button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .tag-filters em {
    min-width: 21px;
    height: 21px;
  }

  .article-grid,
  .article-cols {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 252px;
    padding: 16px;
  }

  .article-card strong {
    margin-top: 22px;
    font-size: 1.45rem;
  }

  .article-card p {
    margin: 14px 0 18px;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .article-card small {
    margin-bottom: 16px;
  }

  .article-card small b {
    min-height: 26px;
    font-size: 0.62rem;
  }

  .article-card em {
    font-size: 0.66rem;
  }

  .article-long {
    gap: 16px;
    padding: 18px;
    scroll-margin-top: 82px;
  }

  .article-long h2 {
    font-size: 2rem;
    line-height: 1.04;
  }

  .article-lead,
  .article-long p,
  .article-cols ul {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .article-cols {
    gap: 18px;
  }

  .article-cols h3 {
    font-size: 1.34rem;
  }

  .article-meta {
    gap: 8px 12px;
    font-size: 0.68rem;
  }

  .articles-cta {
    width: min(100% - 20px, 1200px);
    margin-bottom: 64px;
    padding: 20px;
  }

  .articles-cta h2 {
    font-size: 2.2rem;
    line-height: 1.04;
  }

  .article-detail {
    width: min(100% - 20px, 1200px);
    padding: 96px 0 64px;
  }

  .article-back {
    margin-bottom: 20px;
  }

  .article-detail-hero {
    gap: 20px;
    padding-bottom: 38px;
  }

  .article-detail-hero h1 {
    margin: 14px 0 16px;
    font-size: 2.34rem;
    line-height: 1.04;
  }

  .article-detail-hero p {
    font-size: 1rem;
    line-height: 1.56;
  }

  .article-detail-note {
    padding: 18px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .article-shell {
    gap: 30px;
    padding-top: 38px;
  }

  .article-body {
    gap: 30px;
  }

  .article-body section {
    padding-bottom: 30px;
  }

  .article-body h2 {
    font-size: 1.95rem;
    line-height: 1.06;
  }

  .article-body p,
  .article-body li,
  .article-aside p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .article-aside {
    padding: 18px;
  }

  .article-aside strong {
    font-size: 1.65rem;
  }

  .article-nav {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .article-nav a {
    min-height: 126px;
    padding: 16px;
  }

  .article-nav strong {
    margin-top: 18px;
    font-size: 1.45rem;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 1060px) {
  .article-related {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-shell {
    display: grid;
  }

  .article-aside {
    position: static;
    display: contents;
  }

  .article-toc {
    order: 1;
  }

  .article-body {
    order: 2;
  }

  .article-aside-cta {
    order: 3;
    margin-top: 4px;
  }
}

@media (max-width: 680px) {
  .article-index .section-title h2 {
    font-size: 2.2rem;
    line-height: 1.03;
  }

  .editorial-routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-routes a {
    justify-content: center;
  }

  .article-results-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-sort {
    justify-content: space-between;
  }

  .article-sort select {
    min-width: 138px;
  }

  .article-card {
    min-height: 318px;
  }

  .article-card-meta {
    padding-right: 38px;
  }

  .article-card-number {
    right: 10px;
    font-size: 2.35rem;
  }

  .article-more {
    min-height: 54px;
  }

  .article-toc {
    padding: 16px;
  }

  .article-toc a {
    font-size: 0.8rem;
  }

  .article-aside-cta {
    padding: 18px;
  }

  .article-related {
    margin-top: 56px;
    padding-top: 26px;
  }

  .article-related h2 {
    font-size: 2rem;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .article-related-grid a {
    min-height: 176px;
  }

  .article-sources a {
    grid-template-columns: 26px 1fr;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
