﻿@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@500;600;700;800&display=swap");

:root {
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Unbounded", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-graphite: #101512;
  --color-forest: #18382d;
  --color-ivy: #2f6f54;
  --color-paper: #f7f4ea;
  --color-ivory: #fffdf5;
  --color-moss: #747b70;
  --color-cyan: #36d6c9;
  --color-gold: #c8a96a;
  --color-coral: #ff7a5c;
  --color-blue: #4e8df5;
  --bg: var(--color-paper);
  --paper: var(--color-ivory);
  --ink: var(--color-graphite);
  --muted: var(--color-moss);
  --line: rgba(16, 21, 18, 0.12);
  --accent: var(--color-ivy);
  --accent-dark: var(--color-forest);
  --signal: #b7e85a;
  --signal-bright: #c6f06d;
  --cyan: var(--color-cyan);
  --gold: var(--color-gold);
  --coral: var(--color-coral);
  --blue: var(--color-blue);
  --steel: #dce5d2;
  --rose: #e9c8bb;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 22px 56px rgba(16, 21, 18, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  isolation: isolate;
  overflow-x: clip;
}

html.magic-reality-open,
html.magic-reality-open body {
  overflow: hidden;
}

.particle-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

body > *:not(.particle-field):not(.site-header):not(.magic-reality) {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3,
.proof-card-top strong,
.dash-card strong,
.flow-preview-title,
.flow-status-card strong,
.magic-reality-card h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero-lead,
.section-lead,
.post-content,
.post-content p,
.post-content li,
.lead-form,
.contact-copy,
.site-footer,
.article-body,
.btn,
.site-nav a,
.locale-switch a,
.language-switcher a,
.eyebrow,
.service-kicker,
.blog-card-meta,
.blog-card-read,
.niche-label {
  font-family: var(--font-body);
}

.btn,
.site-nav a,
.locale-switch a,
.language-switcher a,
.blog-card-meta,
.blog-card-read {
  font-weight: 750;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(47, 111, 84, 0.16);
}

a,
button,
.btn {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 111, 84, 0.28);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto 12px;
  padding: 12px 18px 12px 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 244, 234, 0.9));
  backdrop-filter: blur(20px) saturate(1.08);
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 44px rgba(16, 21, 18, 0.07);
  transition:
    min-height 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-compact {
  min-height: 60px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.96), rgba(247, 244, 234, 0.94));
  box-shadow: 0 18px 50px rgba(16, 21, 18, 0.1);
}

.scroll-progress {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: none;
}

.brand-text {
  max-width: none;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #2b2a27;
  font-size: 14px;
}

.site-nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover {
  border-color: rgba(47, 111, 84, 0.14);
  background: rgba(47, 111, 84, 0.06);
  color: var(--accent-dark);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding: 3px;
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 253, 245, 0.78);
}

.language-switcher a {
  display: inline-grid;
  min-width: 32px;
  min-height: 28px;
  place-items: center;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
  border-color: rgba(47, 111, 84, 0.18);
  background: var(--accent-dark);
  color: var(--paper);
  box-shadow: 0 8px 18px rgba(16, 21, 18, 0.12);
}

.locale-page main {
  background:
    radial-gradient(circle at 18% 8%, rgba(151, 228, 45, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(247, 246, 241, 0.94), rgba(247, 246, 241, 1));
}

.locale-hero {
  min-height: auto;
  padding-top: 88px;
}

.locale-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.64fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
}

.locale-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 0.94;
}

.locale-hero .hero-lead {
  max-width: 760px;
  color: var(--muted);
}

.locale-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.72);
  box-shadow: 0 24px 80px rgba(21, 21, 21, 0.08);
}

.locale-panel p {
  color: var(--muted);
}

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

.locale-grid article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.86);
}

.locale-grid h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
}

.locale-grid p {
  margin: 0;
  color: var(--muted);
}

.locale-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.scroll-system-rail {
  position: fixed;
  top: 50%;
  right: max(18px, calc((100vw - var(--max)) / 2 - 86px));
  z-index: 8;
  width: 108px;
  height: 330px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.scroll-system-rail.is-visible {
  opacity: 1;
}

.rail-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 12px;
  width: 1px;
  background: rgba(21, 21, 21, 0.14);
}

.rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: calc(var(--flow-progress, 0) * 100%);
  background: linear-gradient(180deg, var(--accent-dark), var(--accent));
  box-shadow: 0 0 14px rgba(47, 111, 84, 0.18);
}

.rail-packet {
  position: absolute;
  left: -5px;
  top: calc(var(--flow-progress, 0) * 100%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 5px rgba(215, 255, 95, 0.15),
    0 0 22px rgba(215, 255, 95, 0.45);
  transform: translateY(-50%);
}

.rail-node {
  position: absolute;
  top: var(--rail-node-y);
  left: 0;
  display: grid;
  grid-template-columns: 25px 1fr;
  column-gap: 10px;
  align-items: center;
  width: 108px;
  transform: translateY(-50%);
  color: rgba(21, 21, 21, 0.44);
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.rail-node::before {
  content: attr(data-step);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: 50%;
  background: rgba(247, 246, 241, 0.88);
  color: inherit;
  font-size: 10px;
  font-weight: 800;
}

.rail-node strong {
  display: block;
  color: inherit;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rail-node span {
  display: block;
  margin-top: 3px;
  color: rgba(21, 21, 21, 0.42);
  font-size: 11px;
}

.rail-node.is-active {
  color: var(--accent-dark);
  transform: translateY(-50%) translateX(-5px);
}

.rail-node.is-active::before {
  border-color: var(--accent);
  background: var(--signal);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-pad {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 94px 24px;
}

section.hero.section-pad {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.section-pad > * {
  position: relative;
  z-index: 1;
}

.section-pad::before {
  content: "";
  position: absolute;
  inset: 18px 12px;
  z-index: 0;
  display: none;
  pointer-events: none;
  border: 1px solid rgba(20, 24, 23, 0);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0);
  box-shadow: 0 28px 80px rgba(20, 24, 23, 0);
  opacity: 0;
  transition:
    opacity 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.section-pad:hover::before,
.section-pad:focus-within::before {
  display: none;
}

section.hero:hover::before,
section.hero:focus-within::before,
.system-flow-section:hover::before,
.system-flow-section:focus-within::before,
.ai-tech-section:hover::before,
.ai-tech-section:focus-within::before {
  display: block;
}

.hero {
  display: grid;
  align-items: stretch;
  padding-top: 0;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-liquid-canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  opacity: 0.86;
  pointer-events: none;
  filter: blur(20px) saturate(1.32) contrast(1.04);
  mix-blend-mode: multiply;
  transform: translateX(-50%);
  mask-image:
    radial-gradient(ellipse at 52% 42%, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.84) 56%, transparent 88%);
}

section.hero::before,
section.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

section.hero::before {
  background:
    radial-gradient(circle, rgba(47, 111, 84, 0.18) 0 1.2px, transparent 1.8px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 58% 44%, rgba(0, 0, 0, 0.72), transparent 74%);
  opacity: 0.48;
  transform: translate3d(calc(var(--scroll-progress, 0) * -34px), calc(var(--scroll-progress, 0) * 18px), 0);
}

section.hero::after {
  display: none;
}

.hero-flow-mobile,
.flow-ribbon,
.flow-moving-dot {
  display: none !important;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 380px);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 88px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vh, 96px) 24px;
}

.hero-flow-mobile {
  display: none;
}

@media (max-width: 980px) {
  .hero-flow-mobile {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    contain: paint;
    pointer-events: none;
    opacity: 0.56;
  }

  .flow-ribbon,
  .flow-node,
  .flow-moving-dot {
    position: absolute;
    display: block;
  }

  .flow-ribbon {
    height: 2px;
    border-radius: 999px;
    background:
      linear-gradient(90deg, transparent, rgba(160, 223, 77, 0.42), rgba(47, 111, 84, 0.62), transparent);
    box-shadow: 0 0 18px rgba(47, 111, 84, 0.12);
    transform-origin: center;
    animation: flow-ribbon-drift 7s ease-in-out infinite;
  }

  .flow-ribbon-one {
    top: 19%;
    right: -18%;
    width: 76%;
    transform: rotate(-11deg);
  }

  .flow-ribbon-two {
    top: 39%;
    left: -22%;
    width: 84%;
    transform: rotate(9deg);
    animation-delay: -2.2s;
  }

  .flow-ribbon-three {
    right: -14%;
    bottom: 22%;
    width: 68%;
    transform: rotate(13deg);
    animation-delay: -4s;
  }

  .flow-node {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(47, 111, 84, 0.48);
    border-radius: 50%;
    background: rgba(255, 253, 245, 0.84);
    box-shadow: 0 0 20px rgba(47, 111, 84, 0.24);
  }

  .flow-node-one {
    top: 18%;
    right: 18%;
  }

  .flow-node-two {
    top: 43%;
    left: 12%;
  }

  .flow-node-three {
    right: 11%;
    bottom: 24%;
  }

  .flow-moving-dot {
    top: 41%;
    left: 10%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(160, 223, 77, 0.92);
    box-shadow: 0 0 16px rgba(160, 223, 77, 0.44), 0 0 28px rgba(47, 111, 84, 0.24);
    animation: flow-dot-travel 6.8s cubic-bezier(0.42, 0, 0.2, 1) infinite;
  }

  @keyframes flow-ribbon-drift {
    0%, 100% { opacity: 0.44; filter: blur(0); }
    50%      { opacity: 0.76; filter: blur(0.2px); }
  }

  @keyframes flow-dot-travel {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    12%  { opacity: 0.84; }
    44%  { transform: translate3d(38vw, -11vh, 0); opacity: 0.84; }
    72%  { transform: translate3d(66vw, 13vh, 0); opacity: 0.66; }
    100% { transform: translate3d(82vw, -3vh, 0); opacity: 0; }
  }
}

@media (max-width: 720px) {
  .hero-flow-mobile {
    opacity: 0.46;
  }

  .hero-liquid-canvas {
    opacity: 0.36;
    filter: blur(18px) saturate(1.04);
  }

  .flow-ribbon-one {
    top: 13%;
    right: -34%;
    width: 96%;
  }

  .flow-ribbon-two {
    top: 34%;
    left: -46%;
    width: 112%;
  }

  .flow-ribbon-three {
    right: -38%;
    bottom: 18%;
    width: 92%;
  }

  .flow-node-one {
    top: 14%;
    right: 13%;
  }

  .flow-node-two {
    top: 36%;
    left: 8%;
  }

  .flow-node-three {
    right: 9%;
    bottom: 20%;
  }
}

.hero-logo-mark {
  margin-bottom: 32px;
}

.hero-logo-mark img {
  display: block;
  width: clamp(140px, 13vw, 190px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(20, 24, 23, 0.10));
}

/* Сбрасываем унаследованные отступы старого hero для нового layout */
.hero-inner .hero-copy > .eyebrow,
.hero-inner .hero-copy > h1,
.hero-inner .hero-copy > .hero-lead,
.hero-inner .hero-copy > .hero-actions,
.hero-inner .hero-copy > .hero-trust {
  margin-left: 0;
}

.hero-trust {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.hero-signal {
  justify-self: end;
  width: 100%;
  animation: none;
  opacity: 1;
}

.signal-card,
.loss-counter {
  transform: translateY(calc(var(--scroll-shift, 0px) * 0.09));
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .signal-card,
  .loss-counter {
    transform: none;
    will-change: auto;
  }
}

/* Hero right panel */
.loss-counter {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(47, 111, 84, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(47, 111, 84, 0.10), rgba(160, 223, 77, 0.06) 56%, transparent),
    rgba(255, 253, 245, 0.96);
  box-shadow:
    0 24px 64px rgba(20, 24, 23, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.loss-counter::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(47, 111, 84, 0.12);
  border-radius: 9px;
  pointer-events: none;
  opacity: 0.7;
}

.loss-counter.has-event {
  border-color: rgba(220, 60, 60, 0.34);
  box-shadow:
    0 26px 70px rgba(20, 24, 23, 0.12),
    0 0 0 1px rgba(220, 60, 60, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.lead-flow-preview {
  gap: 18px;
  padding: 24px;
  overflow-x: clip;
  overflow-y: visible;
}

.flow-preview-title {
  margin: 0;
  max-width: 340px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 0.98;
}

.lead-pipeline {
  display: grid;
  gap: 10px;
}

.pipeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 111, 84, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.68);
  overflow: hidden;
}

.pipeline-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(47, 111, 84, 0.22);
}

.pipeline-step.is-active::before {
  background: var(--signal);
  box-shadow: 0 0 18px rgba(183, 232, 90, 0.22);
}

.pipeline-step span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(47, 111, 84, 0.10);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.pipeline-step strong {
  font-size: 15px;
  line-height: 1.15;
}

.pipeline-step small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.flow-status-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.flow-status-card div {
  padding: 14px;
  border: 1px solid rgba(47, 111, 84, 0.16);
  border-radius: 10px;
  background: rgba(255, 253, 245, 0.82);
}

.flow-status-card span,
.result-metrics span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.flow-status-card strong,
.result-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
}

.loss-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(47, 111, 84, 0.92);
}

.loss-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(47, 111, 84, 0.9);
  box-shadow: 0 0 0 0 rgba(47, 111, 84, 0.34);
  animation: loss-pulse 1.8s ease-in-out infinite;
}

@keyframes loss-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 111, 84, 0.34); }
  55%      { box-shadow: 0 0 0 7px rgba(47, 111, 84, 0); }
}

.loss-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.loss-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.loss-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--muted);
}

.loss-value {
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease;
}

.loss-value.is-ticking {
  color: rgba(200, 50, 50, 0.85);
}

.loss-value.is-ticking,
.loss-sub-value.is-updated {
  animation: loss-number-pulse 360ms ease both;
}

@keyframes loss-number-pulse {
  0%, 100% { transform: translateY(0); }
  45%      { transform: translateY(-2px); }
}

.loss-unit-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}

.loss-flow-line {
  position: relative;
  height: 1px;
  margin: -2px 2px 0;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(47, 111, 84, 0.22), transparent);
}

.loss-flow-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(47, 111, 84, 0.54), transparent);
  animation: loss-flow-scan 2.8s ease-in-out infinite;
}

@keyframes loss-flow-scan {
  0%   { transform: translateX(-110%); opacity: 0; }
  18%  { opacity: 0.9; }
  82%  { opacity: 0.9; }
  100% { transform: translateX(250%); opacity: 0; }
}

.loss-sub-metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.5);
}

.loss-sub-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.loss-sub-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: color 180ms ease;
}

.loss-sub-value.is-updated {
  color: rgba(200, 50, 50, 0.9);
}

.loss-sub-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.loss-sub-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.loss-cta {
  width: 100%;
  background: rgba(47, 111, 84, 0.96);
  border-color: rgba(47, 111, 84, 0.96);
  color: white;
}

.loss-cta:hover {
  background: rgba(31, 84, 63, 0.98);
  border-color: rgba(31, 84, 63, 0.98);
}

.loss-disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  opacity: 0.7;
}

.signal-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(47, 111, 84, 0.06), transparent 50%),
    rgba(255, 253, 245, 0.92);
  box-shadow:
    0 24px 64px rgba(20, 24, 23, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(8px);
}

.signal-card-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 4px;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.5);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.signal-item:hover {
  border-color: rgba(47, 111, 84, 0.28);
  background: rgba(255, 253, 245, 0.95);
  box-shadow: 0 8px 24px rgba(20, 24, 23, 0.06);
}

.signal-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(158, 212, 52, 0.55);
  animation: signal-pulse 2.6s ease-in-out infinite;
}

.signal-item:nth-child(3) .signal-dot { animation-delay: 0.85s; }
.signal-item:nth-child(4) .signal-dot { animation-delay: 1.7s; }

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(158, 212, 52, 0.55); }
  55%       { box-shadow: 0 0 0 7px rgba(158, 212, 52, 0); }
}

.signal-body {
  display: grid;
  gap: 2px;
}

.signal-body strong {
  font-size: 15px;
  font-weight: 760;
  line-height: 1.1;
}

.signal-body span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

.signal-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.signal-status {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: signal-pulse 2s ease-in-out infinite;
}

.hero-scroll-scene {
  max-width: var(--max);
  min-height: clamp(720px, 118vh, 980px);
  padding: clamp(18px, 2.5vw, 34px) 24px clamp(36px, 5vh, 58px);
}

.hero-sticky {
  position: sticky;
  top: 88px;
  display: grid;
  align-items: stretch;
  min-height: calc(100vh - 104px);
  overflow: visible;
  padding: 0;
}

.hero-sticky > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  min-height: 50vh;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
  padding-top: 76px;
  padding-bottom: 76px;
}

.content-section {
  background: var(--bg);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 19px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 104px);
  padding-bottom: clamp(72px, 10vh, 128px);
}

.hero-logo-stage {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: min(175px, 23vw);
  margin: 0 0 0 clamp(18px, 3.8vw, 58px);
  padding: 0;
  text-align: left;
  transform: none;
  transform-origin: left center;
  transition: opacity 180ms ease;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .hero-lead,
.hero-copy > .hero-actions,
.hero-copy > .hero-metrics {
  margin-left: clamp(18px, 3.8vw, 58px);
}

.hero-copy > .eyebrow {
  margin-left: clamp(18px, 3.8vw, 58px);
}

.hero-statement {
  max-width: 820px;
  margin-bottom: clamp(44px, 7vw, 84px);
  padding-top: clamp(8px, 2vw, 24px);
}

.hero-statement .hero-lead,
.hero-statement .hero-actions,
.hero-statement .hero-metrics,
.hero-statement .hero-lead-form {
  margin-left: 0;
}

.hero-copy > h1 {
  margin-top: clamp(22px, 3.4vh, 38px);
}

.hero-ivi-mark {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 7;
  filter: drop-shadow(0 24px 52px rgba(20, 24, 23, 0.12));
}

.hero-ivi-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  margin-bottom: 18px;
}

h1 {
  max-width: 900px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  font-size: 21px;
  line-height: 1.14;
  font-weight: 700;
}

.hero-lead {
  max-width: 670px;
  margin-top: 28px;
  color: #4d4b45;
  font-size: clamp(18px, 2vw, 22px);
}

.offer-line {
  max-width: 840px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 780;
  line-height: 1.08;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-lead-form {
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto;
  align-items: end;
  gap: 10px;
  max-width: 760px;
  margin-top: 18px;
  margin-left: clamp(18px, 3.8vw, 58px);
  padding: 12px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  background: rgba(255, 253, 245, 0.72);
  box-shadow: 0 18px 50px rgba(20, 24, 23, 0.08);
}

.hero-lead-form label {
  gap: 5px;
}

.hero-lead-form span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead-form input,
.hero-lead-form select {
  min-height: 43px;
  padding: 10px 11px;
}

.hero-lead-form .btn {
  min-height: 43px;
  padding: 10px 14px;
  white-space: nowrap;
}

.hero-lead-form .form-note {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  font-weight: 760;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-dark);
}

.btn-secondary:hover {
  background: rgba(24, 56, 45, 0.08);
  border-color: var(--accent-dark);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 48px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 245, 0.86);
  border-radius: var(--radius);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-metrics div:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 24, 23, 0.28);
  background: var(--signal);
  box-shadow: 0 18px 50px rgba(157, 255, 34, 0.2);
}

.hero-metrics dt {
  font-size: 30px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.system-flow-section {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.96), rgba(238, 241, 232, 0.92)),
    var(--paper);
}

.system-flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(157, 255, 34, 0.18), transparent 22%),
    radial-gradient(circle at 82% 68%, rgba(47, 111, 84, 0.12), transparent 24%),
    linear-gradient(90deg, transparent, rgba(47, 111, 84, 0.07), transparent);
  opacity: 0.78;
  transform: translate3d(0, calc((var(--scroll-progress, 0) - 0.5) * 34px), 0);
}

.system-flow-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.system-flow-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.system-flow-layout::before,
.system-flow-layout::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.system-flow-layout::before {
  top: 50%;
  left: 18px;
  right: 18px;
  z-index: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(157, 255, 34, 0.42), rgba(47, 111, 84, 0.24), transparent);
  opacity: 0.62;
  transform: translateY(-50%);
}

.system-flow-layout::after {
  display: none;
}

.system-flow-layout > * {
  position: relative;
  z-index: 2;
}

.flow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 24, 23, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.78);
  box-shadow: 0 24px 70px rgba(20, 24, 23, 0.08);
  overflow: hidden;
}

.flow-map::before {
  display: none;
}

.flow-map-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(20, 24, 23, 0.10);
  border-radius: 12px;
  background: rgba(255, 253, 245, 0.92);
}

.flow-map-node span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(47, 111, 84, 0.18);
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.flow-map-node h3 {
  margin: auto 0 12px;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1;
}

.flow-map-node p {
  margin: 0;
  color: var(--muted);
}

.result-preview {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 24px;
  border: 1px solid rgba(215, 255, 95, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(157, 255, 34, 0.16), transparent 52%),
    var(--ink);
  color: var(--paper);
  box-shadow: 0 24px 70px rgba(20, 24, 23, 0.16);
}

.result-preview .eyebrow {
  color: var(--signal);
}

.result-preview-top strong {
  display: block;
  margin-top: 12px;
  color: var(--paper);
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 0.98;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 18px;
}

.result-metrics div {
  padding: 12px;
  border: 1px solid rgba(255, 252, 244, 0.12);
  border-radius: 10px;
  background: rgba(255, 252, 244, 0.06);
}

.result-metrics span,
.result-list p {
  color: rgba(255, 252, 244, 0.66);
}

.result-metrics strong {
  color: var(--paper);
  font-size: 16px;
}

.result-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.result-list div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.result-list p {
  margin: 0;
  font-size: 14px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 252, 244, 0.42);
}

.status-dot.good {
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(183, 232, 90, 0.24);
  animation: statusPing 2.8s ease-in-out infinite;
}

.status-dot.wait {
  background: var(--gold);
  box-shadow:
    0 0 0 5px rgba(200, 169, 106, 0.1),
    0 0 16px rgba(200, 169, 106, 0.22);
}

.result-heartbeat {
  position: relative;
  width: 100%;
  height: 44px;
  margin: auto 0 18px;
  overflow: hidden;
  opacity: 0.96;
}

.result-heartbeat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 255, 95, 0.09), transparent);
  transform: translateY(-50%);
}

.heartbeat-wave {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 44px;
  overflow: visible;
}

.heartbeat-wave path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heartbeat-wave-base {
  opacity: 0.12;
  stroke: rgba(183, 232, 90, 0.16);
}

.heartbeat-wave-pulse {
  opacity: 0;
  stroke: var(--signal);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 7px rgba(183, 232, 90, 0.38));
  animation: heartbeatTrace 6.9s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.heartbeat-wave-soft {
  animation-delay: 0s;
}

.heartbeat-wave-sharp {
  stroke: var(--signal-bright);
  animation-delay: 2.25s;
}

.heartbeat-wave-double {
  stroke: var(--cyan);
  animation-delay: 4.55s;
}

.result-preview .btn {
  margin-top: auto;
  justify-self: flex-start;
  color: var(--paper);
  border-color: rgba(255, 252, 244, 0.28);
}

.result-preview .btn-secondary:hover,
.result-preview .btn-secondary:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.ai-tech-section {
  max-width: none;
  background:
    linear-gradient(135deg, rgba(54, 214, 201, 0.055), transparent 32%),
    linear-gradient(180deg, #101512 0%, #121814 100%);
  color: var(--paper);
}

.ai-tech-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(54, 214, 201, 0.045) 50%, transparent 56%),
    linear-gradient(90deg, rgba(255, 252, 244, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 252, 244, 0.03) 1px, transparent 1px);
  background-size: 100% 420px, 96px 96px, 96px 96px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88) 16%, rgba(0, 0, 0, 0.72) 82%, transparent);
  transform: translate3d(0, calc((var(--scroll-progress, 0) - 0.5) * -70px), 0);
  animation: aiSectionScan 16s linear infinite;
}

.ai-tech-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.ai-tech-section .eyebrow {
  color: var(--signal);
}

.ai-tech-section .section-lead {
  color: rgba(255, 252, 244, 0.72);
}

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

.ai-tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border: 1px solid rgba(255, 252, 244, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.08), rgba(255, 252, 244, 0.035)),
    rgba(255, 252, 244, 0.03);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.ai-tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 252, 244, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 252, 244, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.54), transparent 70%);
  opacity: 0.28;
}

.ai-tech-card > * {
  position: relative;
  z-index: 1;
}

.ai-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: auto;
}

.ai-card-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(54, 214, 201, 0.34);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.ai-card-kicker {
  margin: 0;
  color: rgba(255, 252, 244, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-tech-card h3 {
  margin: 54px 0 12px;
  color: var(--paper);
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.02;
}

.ai-tech-card p {
  margin: 0;
  color: rgba(255, 252, 244, 0.72);
}

.ai-scan-list,
.ai-architecture-map,
.ai-agent-console {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.ai-scan-item,
.ai-flow-step,
.ai-agent-row {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 252, 244, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.055);
}

.ai-scan-item {
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
}

.ai-scan-item span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0c75e;
  animation: none;
}

.ai-scan-item.is-hot span {
  background: #ff8066;
}

.ai-scan-item.is-calm span {
  background: var(--signal);
}

.ai-scan-item strong,
.ai-flow-step strong {
  color: var(--paper);
  font-size: 15px;
}

.ai-scan-item strong,
.ai-scan-item small {
  grid-column: 2;
}

.ai-scan-item small,
.ai-flow-step span,
.ai-agent-row span {
  color: rgba(255, 252, 244, 0.58);
  font-size: 12px;
  line-height: 1.3;
}

.ai-flow-step {
  overflow: hidden;
}

.ai-flow-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--cyan);
  opacity: 0.5;
  transform: scaleY(0.32);
  transform-origin: top;
  animation: aiFlow 5.8s ease-in-out infinite;
}

.ai-flow-step:nth-child(2)::before {
  animation-delay: 0.22s;
}

.ai-flow-step:nth-child(3)::before {
  animation-delay: 0.44s;
}

.ai-flow-step:nth-child(4)::before {
  animation-delay: 0.66s;
}

.ai-agent-console {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid rgba(54, 214, 201, 0.16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.ai-agent-row {
  animation: none;
}

.ai-agent-row:nth-child(2) {
  animation-delay: 0.35s;
}

.ai-agent-row:nth-child(3) {
  animation-delay: 0.7s;
}

.ai-agent-row p {
  color: rgba(255, 252, 244, 0.84);
  font-size: 14px;
}

.ai-agent-row.result {
  border-color: rgba(157, 255, 34, 0.26);
}

@keyframes aiPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

@keyframes aiFlow {
  0%,
  100% {
    transform: scaleY(0.32);
    opacity: 0.42;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.92;
  }
}

@keyframes aiRowGlow {
  0%,
  100% {
    border-color: rgba(255, 252, 244, 0.12);
    background: rgba(255, 252, 244, 0.055);
  }
  50% {
    border-color: rgba(157, 255, 34, 0.24);
    background: rgba(157, 255, 34, 0.07);
  }
}

@keyframes heroDataDrift {
  0% {
    background-position: 0 0, center 56%;
  }
  100% {
    background-position: 360px 160px, center 56%;
  }
}

@keyframes systemFlowDot {
  0% {
    transform: translate3d(0, 0, 0) scale(0.78);
    opacity: 0;
  }
  12% {
    opacity: 0.92;
  }
  48% {
    transform: translate3d(clamp(280px, 58vw, 820px), 0, 0) scale(1);
    opacity: 0.92;
  }
  78% {
    transform: translate3d(clamp(380px, 74vw, 1060px), 0, 0) scale(0.9);
    opacity: 0.58;
  }
  100% {
    transform: translate3d(clamp(380px, 74vw, 1060px), 0, 0) scale(0.78);
    opacity: 0;
  }
}

@keyframes aiSectionScan {
  0% {
    background-position: 0 -360px, 0 0, 0 0;
  }
  100% {
    background-position: 0 360px, 86px 86px, 86px 86px;
  }
}

@keyframes flow-line-grow {
  0%, 100% { transform: scaleX(0.18); opacity: 0.42; }
  52%      { transform: scaleX(1); opacity: 1; }
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 510px);
  min-height: 330px;
  margin: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(47, 111, 84, 0.16), transparent 36%),
    linear-gradient(320deg, rgba(157, 255, 34, 0.34), transparent 36%),
    var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: none;
  transition:
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.system-map {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 330px;
  padding: 18px;
}

.motion-layer {
  display: none;
}

.motion-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(20, 24, 23, 0.18);
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 10px rgba(157, 255, 34, 0.1),
    0 0 38px rgba(157, 255, 34, 0.36);
  transition:
    transform 320ms ease,
    opacity 320ms ease;
}

.node-a {
  top: 10%;
  right: 10%;
  transform: translate3d(calc(var(--pointer-x, 0px) * 0.018), calc(var(--pointer-y, 0px) * 0.018), 0);
}

.node-b {
  top: 47%;
  right: 6%;
  width: 10px;
  height: 10px;
  background: rgba(47, 111, 84, 0.72);
  transform: translate3d(calc(var(--pointer-x, 0px) * -0.014), calc(var(--pointer-y, 0px) * 0.014), 0);
}

.node-c {
  left: 8%;
  bottom: 9%;
  width: 18px;
  height: 18px;
  background: rgba(255, 253, 245, 0.82);
  transform: translate3d(calc(var(--pointer-x, 0px) * 0.012), calc(var(--pointer-y, 0px) * -0.012), 0);
}

.motion-line {
  position: absolute;
  display: block;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 21, 21, 0.34), transparent);
  transform-origin: center;
  opacity: 0.42;
}

.line-a {
  top: 30%;
  right: 8%;
  transform: rotate(-24deg) translateY(calc(var(--scroll-shift, 0px) * 0.04));
}

.line-b {
  left: 3%;
  bottom: 31%;
  transform: rotate(28deg) translateY(calc(var(--scroll-shift, 0px) * -0.05));
}

.hero-visual:hover .motion-node {
  opacity: 0.92;
}

.hero-visual:hover .node-a {
  transform: translate3d(12px, -10px, 0);
}

.hero-visual:hover .node-b {
  transform: translate3d(-14px, 8px, 0);
}

.hero-visual:hover .node-c {
  transform: translate3d(14px, 10px, 0);
}

.map-node {
  position: relative;
  padding: 18px;
  background: rgba(255, 252, 244, 0.78);
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.map-node.is-active {
  border-color: rgba(20, 24, 23, 0.22);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.96), rgba(157, 255, 34, 0.78)),
    var(--signal);
  box-shadow: 0 18px 52px rgba(157, 255, 34, 0.22);
}

.map-node::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.74), rgba(157, 255, 34, 0.42)),
    var(--signal);
  opacity: 0;
  transition: opacity 220ms ease;
}

.map-node span,
.map-node strong,
.map-node small {
  position: relative;
  z-index: 1;
}

.map-node span,
.index,
.service-kicker,
.case-list span,
.blog-grid span,
.process-steps span {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.map-node strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.map-node small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.map-line {
  width: 1px;
  height: 28px;
  margin-left: 28px;
  background: var(--ink);
  opacity: 0.2;
}

.map-panel {
  margin-top: 16px;
  padding: 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.map-panel p {
  color: rgba(255, 252, 244, 0.72);
  margin-bottom: 12px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 42px;
}

.section-head.wide {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.section-lead {
  max-width: 760px;
  margin-top: -18px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.definition-panel,
.mentor-panel,
.training-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.12), transparent 45%),
    rgba(255, 253, 245, 0.78);
}

.definition-left h2 {
  margin-top: 14px;
}

.definition-right {
  display: grid;
  gap: 24px;
}

.definition-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 17px;
}

/* Architecture block */
.def-architecture {
  display: grid;
  gap: 14px;
}

/* IVI Core */
.def-core {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border: 1px solid rgba(47, 111, 84, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 111, 84, 0.10), transparent 60%),
    rgba(255, 253, 245, 0.82);
  box-shadow:
    0 0 0 1px rgba(158, 212, 52, 0.12) inset,
    0 4px 18px rgba(47, 111, 84, 0.08);
  animation: core-pulse 4s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(158, 212, 52, 0.12) inset, 0 4px 18px rgba(47, 111, 84, 0.08); }
  50%       { box-shadow: 0 0 0 1px rgba(158, 212, 52, 0.28) inset, 0 4px 24px rgba(47, 111, 84, 0.14); }
}

.def-core-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(47, 111, 84, 0.10);
  border: 1px solid rgba(47, 111, 84, 0.22);
  border-radius: 4px;
  padding: 3px 8px;
  flex-shrink: 0;
}

.def-core-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.75;
}

.def-sep {
  color: var(--accent);
  font-size: 12px;
  opacity: 0.5;
}

/* Expertise */
.def-expertise-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin: 0 0 8px;
}

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

.def-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(47, 111, 84, 0.20);
  border-radius: 20px;
  background: rgba(255, 253, 245, 0.70);
  color: var(--ink);
  cursor: default;
  opacity: 0;
  transform: translateY(8px);
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.def-chip:hover {
  border-color: rgba(47, 111, 84, 0.38);
  background: rgba(255, 253, 245, 0.96);
  box-shadow: 0 4px 14px rgba(47, 111, 84, 0.10);
  transform: translateY(-2px);
}

/* Chips animate in when section is visible */
.definition-section.is-visible .def-chip {
  animation: chipIn 340ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  animation-delay: calc(var(--chip-i) * 100ms + 200ms);
}

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

/* Accent line */
.def-accent {
  font-size: 15px;
  font-weight: 760;
  color: var(--accent);
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(47, 111, 84, 0.16);
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .def-core { animation: none; }
  .definition-section.is-visible .def-chip {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.role-grid,
.check-grid,
.program-grid,
.packages-grid {
  display: grid;
  gap: 16px;
}

.role-grid,
.packages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.role-grid article,
.check-grid article,
.program-grid article,
.packages-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.74);
}

.role-grid span,
.program-grid span,
.packages-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-grid h3,
.program-grid h3,
.packages-grid h3 {
  margin-top: 34px;
  font-size: clamp(21px, 1.55vw, 27px);
  line-height: 1.14;
  text-wrap: pretty;
}

.role-grid p,
.program-grid p,
.packages-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.program-grid strong,
.packages-grid strong {
  display: block;
  margin-top: 22px;
  color: var(--accent-dark);
  line-height: 1.35;
}

.packages-grid article {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.packages-grid strong {
  margin-top: auto;
  padding-top: 26px;
  font-size: 20px;
}

.role-note {
  max-width: 760px;
  margin-top: 22px;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 780;
}

.training-panel {
  grid-template-columns: 1fr auto;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(47, 111, 84, 0.34), transparent 42%),
    var(--ink);
  color: var(--paper);
}

.training-panel .eyebrow {
  color: var(--signal);
}

.training-panel p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 16px;
  color: rgba(255, 253, 245, 0.68);
}

.training-hero {
  min-height: 62vh;
}

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

.training-choice-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.10), transparent 52%),
    rgba(255, 252, 244, 0.76);
}

.training-choice-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-choice-grid h3 {
  margin-top: 34px;
  font-size: clamp(21px, 1.55vw, 27px);
  line-height: 1.14;
  text-wrap: pretty;
}

.training-choice-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.training-format-grid article {
  min-height: 300px;
}

.problem-grid,
.service-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog.section-pad .section-heading {
  margin-bottom: clamp(38px, 5vw, 72px);
}

.blog.section-pad .section-heading h2 {
  max-width: 1180px;
}

.blog-grid article.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card-link {
  display: flex;
  min-height: 100%;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}

.blog-card-link h3 {
  margin: 24px 0 14px;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.14;
  text-wrap: pretty;
}

.blog-card-link p {
  margin-top: auto;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.blog-card-read {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.blog-card-link::after {
  content: "Читать";
  width: fit-content;
  margin-top: 24px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.blog-grid article.blog-card:hover .blog-card-link::after,
.blog-grid article.blog-card.is-focus-active .blog-card-link::after {
  border-color: rgba(21, 21, 21, 0.28);
  background: var(--accent);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(21, 21, 21, 0.32);
}

.post-hero {
  min-height: auto;
  align-content: end;
  padding-top: 86px;
}

.post-title-compact {
  max-width: min(860px, 100%);
  font-size: clamp(32px, 3.65vw, 50px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.blog-detail-page .post-title-compact {
  max-width: min(860px, 100%);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.post-meta span,
.keyword-list span,
.article-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.post-content {
  min-width: 0;
  max-width: 780px;
}

.post-content h2 {
  margin: 48px 0 16px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.post-content h3 {
  margin: 32px 0 12px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
}

.post-content p,
.post-content li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.post-content ul,
.post-content ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.post-insight {
  display: grid;
  gap: 10px;
  margin: 34px 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(47, 111, 84, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.16), transparent 44%),
    rgba(255, 253, 245, 0.82);
}

.post-insight strong {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
}

.post-insight p {
  margin: 0;
}

.post-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 42px;
}

.post-scenario-grid article {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.78);
}

.post-scenario-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.post-scenario-grid h3 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 26px);
}

.post-scenario-grid p {
  margin: 0;
}

.post-table-wrap {
  max-width: 100%;
  margin: 28px 0 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.78);
}

.post-compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.post-compare-table th,
.post-compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.post-compare-table th,
.post-compare-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.post-compare-table tr:last-child td {
  border-bottom: 0;
}

.post-note,
.post-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.78);
}

.post-note {
  margin: 30px 0;
  padding: 24px;
}

.post-aside {
  position: sticky;
  top: 98px;
  padding: 24px;
}

.post-aside h2,
.post-aside h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.08;
}

.post-aside p {
  color: var(--muted);
  line-height: 1.55;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}

.post-cta {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.24), transparent 54%),
    rgba(255, 253, 245, 0.92);
}

.service-page-hero {
  min-height: 64vh;
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 0.32fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  width: min(100%, 1360px);
  margin-inline: auto;
  padding-inline: clamp(18px, 2.6vw, 34px);
}

.dashboard-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 0.98;
}

.dashboard-preview-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(47, 111, 84, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 16%, rgba(183, 232, 90, 0.22), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(54, 214, 201, 0.16), transparent 34%),
    rgba(255, 253, 245, 0.82);
  box-shadow: 0 26px 70px rgba(16, 21, 18, 0.12);
  backdrop-filter: blur(12px);
}

.dashboard-preview-top,
.dashboard-preview-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.dashboard-preview-top span,
.dashboard-preview-metrics span {
  min-width: 0;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.dashboard-preview-top strong {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.dashboard-preview-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(88px, 1.1fr);
  align-items: stretch;
  gap: 10px;
}

.dashboard-preview-metrics article {
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.62);
  text-align: left;
}

.dashboard-preview-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.dashboard-preview-metrics article:nth-child(3) strong {
  font-size: clamp(22px, 2vw, 28px);
}

.dashboard-preview-bars {
  display: grid;
  gap: 10px;
  padding: 8px 0;
}

.dashboard-preview-bars i {
  position: relative;
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 21, 18, 0.08);
}

.dashboard-preview-bars i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bar-fill, linear-gradient(90deg, rgba(47, 111, 84, 0.94), rgba(54, 214, 201, 0.72)));
  transform: scaleX(0.9);
  transform-origin: left center;
  animation: dashboardBarFillBreath 4.6s ease-in-out infinite;
}

.dashboard-preview-bars i:nth-child(1) {
  --bar-min: 0.86;
  --bar-fill: linear-gradient(90deg, rgba(47, 111, 84, 0.94), rgba(54, 214, 201, 0.74), rgba(183, 232, 90, 0.58));
  width: 86%;
}

.dashboard-preview-bars i:nth-child(2) {
  --bar-min: 0.9;
  --bar-fill: linear-gradient(90deg, rgba(183, 232, 90, 0.72), rgba(47, 111, 84, 0.88));
  width: 62%;
}

.dashboard-preview-bars i:nth-child(3) {
  --bar-min: 0.84;
  --bar-fill: linear-gradient(90deg, rgba(183, 232, 90, 0.58), rgba(54, 214, 201, 0.66), rgba(47, 111, 84, 0.9));
  width: 74%;
}

.dashboard-preview-bars i:nth-child(2)::before {
  animation-delay: -1.15s;
}

.dashboard-preview-bars i:nth-child(3)::before {
  animation-delay: -2.35s;
}

.dashboard-preview-bars i::after {
  content: "";
  position: absolute;
  top: 0;
  right: -18%;
  bottom: 0;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 245, 0.68), transparent);
  opacity: 0.36;
  transform: translateX(18%) scaleX(0.55);
  transform-origin: right center;
  animation: dashboardBarRightPulse 4.6s ease-in-out infinite;
}

.dashboard-preview-bars i:nth-child(2)::after {
  animation-delay: -1.4s;
}

.dashboard-preview-bars i:nth-child(3)::after {
  animation-delay: -2.7s;
}

.dashboard-preview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.service-page-content {
  min-width: 0;
  max-width: 860px;
}

.service-page-content .article-status {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0 0 22px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.18), rgba(255, 253, 245, 0.86) 62%),
    var(--paper);
  color: var(--accent-dark);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 760;
  line-height: 1.48;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.service-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 34px;
}

.service-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 42px;
}

.service-check-grid article,
.service-fit-grid article {
  min-width: 0;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.76);
}

.service-fit-grid article {
  min-height: 180px;
}

.service-fit-grid article p {
  max-width: 18em;
}

.service-check-grid span,
.service-fit-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-check-grid h3 {
  margin: 24px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.service-check-grid p,
.service-fit-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.diagnostic-grid.service-deliverables {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 36px;
}

.service-deliverables article {
  min-height: 230px;
  grid-template-rows: auto auto 1fr;
}

.service-deliverables h3 {
  max-width: 11em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-deliverables p {
  max-width: 18em;
}

.faq-grid.service-faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.service-faq article {
  min-width: 0;
  min-height: 190px;
}

.service-faq h3 {
  max-width: 10em;
  overflow-wrap: anywhere;
}

.service-aside a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.service-aside a:hover {
  color: var(--accent-dark);
}

@media (max-width: 1180px) {
  .service-fit-grid {
    grid-template-columns: 1fr;
  }

  .service-fit-grid article {
    min-height: auto;
  }

  .system-flow-layout {
    grid-template-columns: 1fr;
  }

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

  .flow-map::before {
    display: none;
  }
}

.fit-grid,
.build-grid {
  display: grid;
  gap: 16px;
}

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

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

.problem-grid article,
.blog-grid article,
.fit-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.72);
}

.fit-grid article {
  min-height: 220px;
  padding: 24px;
}

.problem-grid h3,
.blog-grid h3,
.fit-grid h3 {
  margin: 42px 0 14px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.04;
}

/* ── Niche card accordion ─────────────────────────────── */
.niche-card {
  cursor: pointer;
  user-select: none;
  outline: none;
  min-height: 0 !important;
  padding: 0 !important;
  transition:
    top 360ms cubic-bezier(0.4, 0, 0.2, 1),
    left 240ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.niche-card:focus-visible {
  outline: 3px solid rgba(47, 111, 84, 0.4);
  outline-offset: 3px;
}

.niche-card[aria-expanded="true"] {
  border-color: rgba(47, 111, 84, 0.18);
  background: rgba(255, 253, 245, 0.98);
  box-shadow: 0 8px 24px rgba(47, 111, 84, 0.06);
}

.niche-card-top {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-content: start;
}

.niche-label {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(47, 111, 84, 0.86);
}

.niche-arrow {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  flex-shrink: 0;
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0;
  color: var(--muted);
  transition:
    transform 280ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.niche-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -22%) rotate(45deg);
}

.niche-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -58%);
}

.niche-card[aria-expanded="true"] .niche-arrow {
  transform: rotate(180deg);
  border-color: var(--accent);
  background: rgba(47, 111, 84, 0.08);
  color: var(--accent);
}

.niche-card-top h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 10px 0 8px;
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.14;
  font-weight: 650;
}

.niche-card-top p {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.fit-grid.is-masonry {
  display: block;
  position: relative;
}

.fit-grid.is-masonry .niche-card {
  position: absolute;
}

.niche-expansion {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.niche-card[aria-expanded="true"] .niche-expansion {
  grid-template-rows: 1fr;
}

.niche-expansion-inner {
  overflow: hidden;
  padding: 0 20px;
}

.niche-card[aria-expanded="true"] .niche-expansion-inner {
  padding: 0 20px 20px;
}

.niche-block {
  margin-bottom: 12px;
}

.niche-block:first-child {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.niche-block strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 5px;
}

.niche-block p {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.niche-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 3px;
}

.niche-list li {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  opacity: 0.82;
}

.niche-note {
  font-size: 12px !important;
  color: var(--muted) !important;
  font-style: italic;
  margin-top: 6px !important;
}

.niche-cta {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  font-size: 14px;
  min-height: 42px;
  padding: 10px 16px;
}

/* Fit footer mini-block */
.fit-footer {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.72);
  display: grid;
  gap: 16px;
}

.fit-footer-text {
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

.fit-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fit-footer-tags span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  border: 1px solid rgba(47, 111, 84, 0.20);
  border-radius: 20px;
  color: var(--accent);
  background: rgba(47, 111, 84, 0.05);
}

.fit-footer-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.fit-footer-cta p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

/* ── Problem card accordion ─────────────────────────────── */
.problem-card {
  cursor: pointer;
  user-select: none;
  outline: none;
  transition:
    top 360ms cubic-bezier(0.4, 0, 0.2, 1),
    left 240ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
  min-height: 0 !important;
  padding: 0 !important;
}

.problem-grid.is-masonry {
  display: block;
  position: relative;
}

.problem-grid.is-masonry .problem-card {
  position: absolute;
  margin: 0;
  will-change: top, left;
}

.problem-card:focus-visible {
  outline: 3px solid rgba(47, 111, 84, 0.4);
  outline-offset: 3px;
}

.problem-card-top {
  padding: 28px;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  align-content: start;
}

.problem-card .index {
  grid-column: 1;
  grid-row: 1;
  display: block;
}

.problem-arrow {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 13px;
  color: var(--muted);
  transition:
    transform 300ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.problem-arrow::after {
  content: "↓";
  line-height: 1;
}

.problem-card[aria-expanded="true"] .problem-arrow {
  transform: rotate(180deg);
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.problem-card[aria-expanded="true"] {
  border-color: rgba(47, 111, 84, 0.28);
  background: rgba(255, 253, 245, 0.98);
  box-shadow: 0 12px 40px rgba(47, 111, 84, 0.10);
}

.problem-card-top h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 14px 0 14px;
  font-size: clamp(26px, 2.05vw, 32px);
  line-height: 1.06;
}

.problem-card-top p {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 34em;
  color: var(--muted);
}

/* Expansion grid trick для плавной высоты */
.problem-expansion {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card[aria-expanded="true"] .problem-expansion {
  grid-template-rows: 1fr;
}

.problem-expansion-inner {
  overflow: hidden;
  padding: 0 28px;
}

.problem-card[aria-expanded="true"] .problem-expansion-inner {
  padding: 0 28px 28px;
}

@media (max-width: 1180px) {
  .problem-card-top {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .problem-card-top {
    min-height: auto;
  }
}

.problem-blocks {
  display: grid;
  gap: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.problem-block strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 5px;
}

.problem-block p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.problem-cta {
  width: 100%;
  justify-content: center;
}

.problem-grid p,
.blog-grid p,
.fit-grid p,
.service-card p,
.process-steps p,
.case-list p,
.contact-grid p,
.site-footer p {
  color: var(--muted);
}

.fit-grid p {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.55;
}

.fit-grid span {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.build-section {
  padding-top: 26px;
}

.build-grid article {
  min-height: 116px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.12), transparent 54%),
    rgba(255, 252, 244, 0.78);
  color: #242824;
  font-size: 18px;
  font-weight: 780;
  line-height: 1.18;
}

.model-section {
  padding-top: 24px;
}

.founder-section {
  padding-top: 40px;
}

.founder-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.5fr);
  gap: 34px 42px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(54, 214, 201, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(47, 111, 84, 0.24), transparent 42%),
    var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.founder-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 253, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 245, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
}

.founder-panel > * {
  position: relative;
  z-index: 1;
}

.founder-copy {
  align-self: center;
  max-width: 720px;
}

.founder-copy .eyebrow {
  color: var(--signal);
}

.founder-name {
  margin: 12px 0 0;
  color: var(--paper);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1;
}

.founder-copy h2 {
  margin-top: 18px;
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.02;
}

.founder-copy p:not(.eyebrow):not(.founder-name) {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 253, 245, 0.68);
  font-size: 18px;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.founder-actions .btn-secondary {
  color: var(--paper);
  border-color: rgba(255, 253, 245, 0.28);
  background: rgba(255, 253, 245, 0.06);
}

.founder-actions .btn-secondary:hover {
  color: var(--paper);
  border-color: rgba(255, 253, 245, 0.42);
  background: rgba(255, 253, 245, 0.10);
}

.founder-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 0.78;
  min-height: 0;
  border: 1px solid rgba(255, 253, 245, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 34%, rgba(255, 253, 245, 0.12), transparent 32%),
    linear-gradient(180deg, transparent 58%, rgba(20, 24, 23, 0.78)),
    #050606;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 253, 245, 0.05) inset;
}

.founder-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) brightness(1.12) saturate(0.96);
  transform: scale(1.01);
}

.founder-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 33%, rgba(255, 253, 245, 0.075), transparent 34%),
    linear-gradient(180deg, rgba(20, 24, 23, 0.02), rgba(20, 24, 23, 0.10) 54%, rgba(20, 24, 23, 0.76)),
    linear-gradient(90deg, rgba(20, 24, 23, 0.16), transparent 48%);
  pointer-events: none;
}

.founder-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 253, 245, 0.14);
  border-radius: var(--radius);
  background: rgba(20, 24, 23, 0.68);
  backdrop-filter: blur(12px);
}

.founder-badge span {
  color: var(--signal);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.founder-badge strong {
  color: rgba(255, 253, 245, 0.6);
  font-size: 11px;
  text-align: right;
}

.founder-ticker {
  grid-column: 1 / -1;
  overflow: hidden;
  contain: paint;
  padding: 20px 0 4px;
  border-top: 1px solid rgba(255, 253, 245, 0.12);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  opacity: 0.48;
}

.founder-ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 42s linear infinite;
  will-change: transform;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticker-set {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}

.ticker-set span:not(.ticker-dot) {
  color: rgba(255, 253, 245, 0.55);
}

.ticker-dot {
  color: var(--signal);
  font-size: 14px;
  line-height: 1;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .founder-ticker-track {
    animation: none;
    will-change: auto;
  }
}

.founder-manifest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.founder-manifest span {
  padding: 9px 12px;
  border: 1px solid rgba(183, 232, 90, 0.22);
  border-radius: 999px;
  color: var(--signal);
  background: rgba(183, 232, 90, 0.045);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.founder-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.founder-facts article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 253, 245, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.07);
  backdrop-filter: blur(12px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.founder-facts article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 253, 245, 0.20);
  background: rgba(255, 253, 245, 0.095);
}

.founder-facts span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.founder-facts strong {
  display: block;
  margin-top: 28px;
  font-size: 26px;
  line-height: 1;
}

.founder-facts p {
  margin-top: 10px;
  color: rgba(255, 253, 245, 0.62);
  font-size: 14px;
}

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

.model-grid article {
  position: relative;
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.72);
  overflow: hidden;
}

.model-grid article::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 96px;
  height: 96px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
}

.model-grid span {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-grid h3 {
  margin: 42px 0 16px;
  font-size: clamp(26px, 3vw, 42px);
}

.model-grid p,
.model-grid li {
  color: var(--muted);
}

.model-grid ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.growth-section {
  padding-top: 20px;
}

.growth-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 111, 84, 0.44), transparent 38%),
    linear-gradient(315deg, rgba(200, 169, 106, 0.14), transparent 42%),
    var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.growth-panel .eyebrow {
  color: var(--signal);
}

.growth-panel p {
  margin-top: 18px;
  color: rgba(255, 252, 244, 0.68);
}

.growth-stack {
  display: grid;
  gap: 12px;
}

.growth-stack article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 102px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 252, 244, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.075);
  backdrop-filter: blur(12px);
}

.growth-stack span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 28px rgba(157, 255, 34, 0.2);
}

.growth-stack strong {
  display: block;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.18;
}

.growth-stack p {
  margin: 0;
  font-size: 14px;
}

.dashboard-section {
  padding-top: 20px;
}

.chaos-system-section {
  height: 240vh;
  background: var(--paper);
}

.chaos-sticky {
  position: sticky;
  top: 0;
  display: grid;
  align-content: center;
  height: 100vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vh, 64px) 24px;
  overflow: hidden;
}

.chaos-copy {
  max-width: 820px;
  margin-bottom: clamp(18px, 3vh, 28px);
}

.chaos-copy h2 {
  max-width: 900px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1;
}

.chaos-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.chaos-stage {
  position: relative;
  min-height: clamp(320px, 43vh, 420px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at calc(12% + var(--chaos-progress, 0) * 72%) 50%, rgba(157, 255, 34, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(233, 200, 187, 0.22), transparent 34%),
    linear-gradient(270deg, rgba(216, 228, 223, 0.58), transparent 34%),
    var(--bg);
  box-shadow: var(--shadow);
}

.chaos-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(47, 111, 84, 0.18) 1.2px, transparent 1.6px);
  background-size: 34px 34px;
  opacity: calc(0.22 + var(--chaos-progress, 0) * 0.22);
  transform: translateX(calc(var(--chaos-progress, 0) * -10px));
}

.chaos-stage::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 9%;
  top: calc(50% - 44px);
  z-index: 1;
  height: 88px;
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.56);
  box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.06);
  opacity: calc(0.2 + var(--chaos-progress, 0) * 0.62);
}

.chaos-label {
  display: none;
}

.chaos-label-left {
  left: 22px;
  top: 22px;
}

.chaos-label-right {
  right: 22px;
  bottom: 22px;
  text-align: right;
}

.chaos-connector {
  position: absolute;
  left: 12%;
  right: 17%;
  top: 50%;
  z-index: 2;
  height: 2px;
  background: rgba(21, 21, 21, 0.12);
  transform: scaleX(var(--chaos-progress, 0));
  transform-origin: left;
  transition: transform 80ms linear;
}

.chaos-connector span {
  position: absolute;
  right: -6px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 24px rgba(215, 255, 95, 0.55);
}

.chaos-item {
  position: absolute;
  z-index: 3;
  left: calc(var(--start-x) + (var(--end-x) - var(--start-x)) * var(--chaos-progress, 0));
  top: calc(var(--start-y) + (var(--end-y) - var(--start-y)) * var(--chaos-progress, 0));
  transform: translate(-50%, -50%) rotate(calc((1 - var(--chaos-progress, 0)) * var(--tilt, -8deg)));
  min-width: 148px;
  padding: 14px 17px 14px 42px;
  border: 1px solid rgba(21, 21, 21, 0.15);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(21, 21, 21, 0.1);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.chaos-item::before {
  content: "0" counter(chaos-step);
  counter-increment: chaos-step;
  position: absolute;
  left: 13px;
  top: 50%;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(157, 255, 34, 0.92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  transform: translateY(-50%);
}

.chaos-stage {
  counter-reset: chaos-step;
}

.chaos-item:nth-of-type(odd) {
  --tilt: 9deg;
}

.chaos-item:hover {
  border-color: var(--accent);
  background: var(--signal);
  box-shadow: 0 22px 54px rgba(47, 111, 84, 0.16);
}

.system-output {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 4;
  width: 205px;
  padding: 18px 18px 17px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  opacity: var(--chaos-progress, 0);
  transform: translateY(-50%) translateX(calc((1 - var(--chaos-progress, 0)) * 22px));
  box-shadow: 0 26px 60px rgba(21, 21, 21, 0.22);
}

.system-output strong,
.system-output span {
  display: block;
}

.system-output span {
  margin-top: 7px;
  color: rgba(255, 252, 244, 0.62);
  font-size: 13px;
}

.dashboard-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 123, 103, 0.12), transparent 34%),
    linear-gradient(320deg, rgba(215, 255, 95, 0.28), transparent 42%),
    #191a18;
  color: var(--paper);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 252, 244, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 252, 244, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: translateY(calc(var(--scroll-shift, 0px) * -0.04));
  opacity: 0.58;
}

.dashboard-shell::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle, rgba(215, 255, 95, 0.34), transparent 62%);
  transform: translate3d(calc(var(--dash-x, 0px) * 0.02), calc(var(--dash-y, 0px) * 0.02), 0);
  transition: transform 180ms ease;
}

.dashboard-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(17, 24, 20, 0.18);
}

.dash-topbar,
.dash-grid,
.dash-lower {
  position: relative;
  z-index: 2;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(255, 252, 244, 0.12);
}

.dash-topbar span {
  display: block;
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dash-topbar strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.dash-topbar p {
  color: rgba(255, 252, 244, 0.54);
  font-size: 14px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 252, 244, 0.12);
}

.dash-card {
  min-height: 166px;
  padding: 24px;
  background: rgba(25, 26, 24, 0.78);
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.dash-card:hover {
  background: rgba(255, 252, 244, 0.08);
  transform: translateY(-3px);
}

.dash-card span {
  color: rgba(255, 252, 244, 0.58);
  font-size: 13px;
  font-weight: 760;
}

.dash-card strong {
  display: block;
  margin-top: 30px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.92;
}

.dash-card p {
  margin-top: 10px;
  color: rgba(255, 252, 244, 0.58);
}

.dash-card-accent strong {
  color: var(--signal);
}

.dash-lower {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  background: rgba(255, 252, 244, 0.12);
}

.dash-chart,
.dash-flow {
  min-height: 260px;
  background: rgba(25, 26, 24, 0.72);
}

.dash-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 32px;
}

.dash-chart span {
  flex: 1;
  min-width: 22px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--signal), rgba(15, 123, 103, 0.78));
  transform-origin: bottom;
  animation: barRise 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.dash-chart span:nth-child(2) {
  animation-delay: 80ms;
}

.dash-chart span:nth-child(3) {
  animation-delay: 140ms;
}

.dash-chart span:nth-child(4) {
  animation-delay: 200ms;
}

.dash-chart span:nth-child(5) {
  animation-delay: 260ms;
}

.dash-chart span:nth-child(6) {
  animation-delay: 320ms;
}

.dash-chart span:nth-child(7) {
  animation-delay: 380ms;
}

.dash-flow {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}

.dash-flow div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 252, 244, 0.74);
  font-size: 14px;
}

.dash-flow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(215, 255, 95, 0.38);
  animation: statusPing 2.8s ease-in-out infinite;
}

.services {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}

.services > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.services {
  position: relative;
  overflow: hidden;
}

.services-depth-canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  max-width: none;
  height: 100%;
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.82;
  mix-blend-mode: normal;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--services-pointer-x, 50%) var(--services-pointer-y, 36%), rgba(54, 214, 201, 0.045), transparent 24rem),
    radial-gradient(circle at 26% 38%, rgba(183, 232, 90, 0.026), transparent 24rem);
  opacity: var(--services-pointer-alpha, 0.48);
  transition: opacity 320ms ease;
}

.services .eyebrow,
.services .service-kicker {
  color: var(--signal);
}

.services .section-lead {
  color: rgba(255, 252, 244, 0.66);
}

.services .section-head h2,
.services .module-grid strong,
.services .service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.services .section-head h2 {
  max-width: 920px;
  line-height: 1.04;
}

.services .module-grid strong {
  line-height: 1.12;
}

.services .service-card h3 {
  font-size: clamp(25px, 2.15vw, 34px);
  line-height: 1.08;
}

.services .build-grid {
  gap: 10px;
  margin-bottom: 16px;
}

.services .build-grid article {
  border-color: rgba(255, 252, 244, 0.14);
  background:
    linear-gradient(135deg, rgba(54, 214, 201, 0.055), transparent 58%),
    rgba(255, 252, 244, 0.045);
  color: rgba(255, 252, 244, 0.88);
}

.services .build-grid article:hover,
.services .build-grid article.is-focus-active {
  color: var(--ink);
}

.services .module-grid article {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 16px 18px;
}

.module-grid article span {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 8px;
  border: 1px solid rgba(183, 232, 90, 0.20);
  border-radius: 999px;
  color: rgba(183, 232, 90, 0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.module-grid article strong {
  display: block;
  margin-top: 22px;
  color: var(--paper);
  font-size: 17px;
  line-height: 1.15;
}

.module-grid article p {
  margin: 8px 0 0;
  color: rgba(255, 252, 244, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.services .module-grid article:hover span,
.services .module-grid article.is-focus-active span {
  border-color: rgba(20, 24, 23, 0.20);
  color: var(--green);
}

.services .module-grid article:hover strong,
.services .module-grid article.is-focus-active strong {
  color: var(--ink);
}

.services .module-grid article:hover p,
.services .module-grid article.is-focus-active p {
  color: rgba(20, 24, 23, 0.72);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 24px;
  border: 1px solid rgba(255, 252, 244, 0.18);
  border-radius: var(--radius);
  background: #20201e;
}

.service-card.featured {
  background: var(--paper);
  color: var(--ink);
}

.service-card h3 {
  margin: 16px 0 14px;
  font-size: 29px;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.service-result {
  margin: 18px 0 0;
  padding: 12px 13px;
  border: 1px solid rgba(215, 255, 95, 0.20);
  border-radius: 10px;
  background: rgba(255, 252, 244, 0.06);
  color: rgba(255, 252, 244, 0.82);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.service-card.featured .service-result {
  border-color: rgba(47, 111, 84, 0.18);
  background: rgba(47, 111, 84, 0.08);
  color: var(--ink);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 24px;
  padding-left: 18px;
  color: inherit;
}

.service-card p,
.service-card li {
  color: rgba(255, 252, 244, 0.7);
}

.service-card.featured p,
.service-card.featured li {
  color: #5e5a50;
}

.service-card a {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  font-weight: 800;
}

.service-grid-secondary {
  margin-top: 18px;
}

.service-grid-secondary .service-card {
  min-height: 390px;
}

.training-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 252, 244, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.06);
}

.training-strip p {
  margin: 0;
  color: rgba(255, 252, 244, 0.68);
}

.training-strip strong {
  color: var(--paper);
}

.training-strip a {
  color: var(--signal);
  font-weight: 800;
  white-space: nowrap;
}

.formats-section {
  padding-top: 26px;
}

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

.formats-grid article {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 253, 245, 0.88), rgba(255, 253, 245, 0.64)),
    var(--paper);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.formats-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 255, 34, 0.48);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.2), transparent 52%),
    var(--paper);
  box-shadow: 0 20px 58px rgba(21, 21, 21, 0.1);
}

.formats-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.formats-grid h3 {
  margin-top: 42px;
  font-size: clamp(21px, 1.5vw, 26px);
  line-height: 1.14;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.formats-grid p {
  margin-top: 16px;
  color: var(--muted);
}

.formats-grid strong {
  display: block;
  margin-top: auto;
  padding-top: 34px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.formats-grid a {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 21, 21, 0.16);
  color: var(--accent-dark);
  font-weight: 800;
}

.formats-grid a:hover {
  color: var(--accent);
}

.formats-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(157, 255, 34, 0.2), transparent 54%),
    rgba(255, 253, 245, 0.78);
}

.formats-note p {
  max-width: 780px;
  color: var(--muted);
}

.proof-section {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(54, 214, 201, 0.045), transparent 34%),
    var(--color-paper);
}

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

.proof-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  border: 1px solid rgba(16, 21, 18, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 253, 245, 0.96), rgba(255, 253, 245, 0.76)),
    var(--paper);
  box-shadow: 0 16px 42px rgba(16, 21, 18, 0.055);
}

.proof-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
}

.proof-card-top span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.proof-card-top strong {
  max-width: 170px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.04;
  text-align: right;
}

.proof-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.proof-mini-map,
.proof-table-preview,
.proof-bars,
.proof-report-list {
  margin-top: auto;
}

.proof-mini-map {
  display: grid;
  gap: 8px;
  padding-top: 28px;
}

.proof-mini-map span {
  position: relative;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(47, 111, 84, 0.14);
  border-radius: 8px;
  background: rgba(247, 244, 234, 0.72);
  color: #33403a;
  font-size: 13px;
  font-weight: 760;
}

.proof-mini-map span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
  width: 6px;
  height: 1px;
  background: rgba(47, 111, 84, 0.2);
}

.proof-mini-map span:first-child::before {
  display: none;
}

.proof-table-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 84, 0.13);
  border-radius: 8px;
  background: rgba(247, 244, 234, 0.62);
}

.proof-table-preview i,
.proof-table-preview b {
  min-height: 34px;
  padding: 9px 10px;
  border-right: 1px solid rgba(47, 111, 84, 0.1);
  border-bottom: 1px solid rgba(47, 111, 84, 0.1);
  font-size: 11px;
  font-style: normal;
  line-height: 1.15;
}

.proof-table-preview i {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-table-preview b {
  color: #39423d;
  font-weight: 700;
}

.proof-table-preview :nth-child(3n) {
  border-right: 0;
}

.proof-table-preview :nth-last-child(-n + 3) {
  border-bottom: 0;
}

.proof-bars {
  display: grid;
  gap: 12px;
  padding-top: 30px;
}

.proof-bars span {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47, 111, 84, 0.09);
}

.proof-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dark), var(--cyan));
  opacity: 0.76;
  transform-origin: left center;
  animation: proofBarFlow 3.8s ease-in-out infinite;
  will-change: width, transform;
}

.proof-bars span:nth-child(2)::before {
  animation-delay: -1.25s;
  animation-duration: 4.4s;
}

.proof-bars span:nth-child(3)::before {
  animation-delay: -2.1s;
  animation-duration: 4.1s;
}

.proof-report-list {
  display: grid;
  gap: 9px;
  padding-top: 24px;
}

.proof-report-list span {
  padding: 10px 12px;
  border-left: 3px solid rgba(47, 111, 84, 0.35);
  border-radius: 0 8px 8px 0;
  background: rgba(247, 244, 234, 0.74);
  color: #33403a;
  font-size: 13px;
  font-weight: 760;
}

.proof-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(16, 21, 18, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.72);
}

.proof-note p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
}

.proof-note .btn-secondary {
  color: var(--accent-dark);
  white-space: nowrap;
}

.leadmagnet-section {
  padding-top: 20px;
}

.leadmagnet-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 38px 42px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 48%, rgba(183, 232, 90, 0.12), transparent 44%),
    radial-gradient(ellipse at 86% 18%, rgba(54, 214, 201, 0.045), transparent 46%),
    var(--color-paper);
  box-shadow: 0 18px 46px rgba(16, 21, 18, 0.08);
}

.leadmagnet-panel p {
  max-width: 720px;
  margin-top: 16px;
  color: #3f4945;
}

.leadmagnet-panel .diagnostic-grid {
  grid-column: 1 / -1;
  gap: 18px;
  margin-top: 16px;
}

.diagnostic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.diagnostic-list li {
  padding: 9px 11px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.52);
  color: #33403a;
  font-size: 13px;
  font-weight: 760;
}

.leadmagnet-body {
  display: grid;
  gap: 0;
}

.diagnostic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.diagnostic-chips span {
  padding: 7px 13px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.72);
  color: #33403a;
  font-size: 13px;
  font-weight: 700;
}

.leadmagnet-action {
  display: grid;
  gap: 12px;
  justify-items: start;
  min-width: 200px;
}

.diagnostic-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #33403a;
}

.diag-avail-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(47, 111, 84, 0.26);
  animation: signal-pulse 3.4s ease-in-out infinite;
}

.diag-note {
  font-size: 12px !important;
  color: rgba(63, 73, 69, 0.65) !important;
  margin: 0 !important;
}

.diagnostic-result-section,
.before-after-section,
.tools-section,
.faq-section {
  padding-top: 28px;
}

.diagnostic-grid,
.before-after-grid,
.tools-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

.diagnostic-grid article,
.faq-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 245, 0.92), rgba(255, 253, 245, 0.64)),
    var(--paper);
}

.leadmagnet-panel .diagnostic-grid article {
  min-height: clamp(190px, 17vw, 230px);
  display: grid;
  grid-template-rows: auto minmax(58px, auto) 1fr;
  align-content: start;
  padding: clamp(20px, 2vw, 28px);
}

.diagnostic-grid article > span,
.tools-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.diagnostic-grid h3,
.faq-grid h3 {
  margin-top: 36px;
  font-size: clamp(24px, 2.6vw, 33px);
  line-height: 1.06;
}

.leadmagnet-panel .diagnostic-grid h3 {
  max-width: 11em;
  margin-top: 22px;
  font-size: clamp(22px, 1.65vw, 29px);
  line-height: 1.08;
}

.leadmagnet-panel .diagnostic-grid h3 span {
  display: inline;
}

.leadmagnet-panel .diagnostic-grid .diagnostic-title-balanced {
  display: grid;
  gap: 0.02em;
  max-width: 8em;
}

.leadmagnet-panel .diagnostic-grid .diagnostic-title-balanced span {
  display: block;
}

.diagnostic-grid p,
.faq-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.leadmagnet-panel .diagnostic-grid p {
  max-width: 17em;
  margin-top: 12px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.42;
}

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

.before-after-grid article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.78);
}

.before-after-grid .after-card {
  border-color: rgba(157, 255, 34, 0.42);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.34), rgba(255, 253, 245, 0.86) 62%),
    var(--paper);
}

.before-after-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.before-after-grid ul {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.before-after-grid li {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.35;
}

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

.tools-grid span {
  justify-content: center;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.76);
  color: var(--accent-dark);
  text-align: center;
}

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

.faq-grid article {
  min-height: 220px;
}

.case-list {
  display: grid;
  gap: 16px;
}

.case-list article {
  display: grid;
  grid-template-columns: 180px 0.85fr 1.25fr;
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.case-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.process {
  max-width: none;
  background: var(--paper);
}

.process > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.process-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 360px);
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 22px;
  border: 1px solid rgba(47, 111, 84, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 22%, rgba(54, 214, 201, 0.07), transparent 28%),
    radial-gradient(circle at 10% 84%, rgba(183, 232, 90, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.94), rgba(247, 244, 234, 0.78));
  box-shadow: 0 24px 80px rgba(16, 21, 18, 0.07);
  overflow: hidden;
}

.process-top::after {
  display: none;
}

.process-copy {
  max-width: 820px;
}

.process-copy h2 {
  margin: 18px 0 18px;
}

.process-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
}

.magic-switch-panel {
  justify-self: end;
  width: min(100%, 330px);
  padding: 18px;
  border: 1px solid rgba(47, 111, 84, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 14%, rgba(183, 232, 90, 0.18), transparent 34%),
    rgba(255, 253, 245, 0.78);
  box-shadow: 0 18px 52px rgba(16, 21, 18, 0.08);
}

.magic-switch-panel p {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.magic-switch {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(16, 21, 18, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 21, 18, 0.94), rgba(24, 56, 45, 0.98));
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 14px 34px rgba(16, 21, 18, 0.18),
    0 0 0 1px rgba(255, 253, 245, 0.05) inset;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.magic-switch:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 232, 90, 0.45);
  box-shadow:
    0 20px 48px rgba(16, 21, 18, 0.22),
    0 0 28px rgba(183, 232, 90, 0.14);
}

.magic-switch-light {
  position: relative;
  display: block;
  width: 62px;
  height: 36px;
  border: 1px solid rgba(255, 253, 245, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(183, 232, 90, 0.16), rgba(54, 214, 201, 0.1)),
    rgba(255, 253, 245, 0.06);
  box-shadow: 0 0 22px rgba(183, 232, 90, 0.12) inset;
}

.magic-switch-light::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 6px rgba(183, 232, 90, 0.12),
    0 0 24px rgba(183, 232, 90, 0.56);
  transition: transform 220ms ease;
}

.magic-switch:hover .magic-switch-light::before {
  transform: translateX(26px);
}

.magic-switch-copy strong,
.magic-switch-copy span {
  display: block;
}

.magic-switch-copy strong {
  font-size: 16px;
  line-height: 1.08;
}

.magic-switch-copy span {
  margin-top: 4px;
  color: rgba(255, 253, 245, 0.62);
  font-size: 12px;
}

.magic-action-panel {
  position: relative;
  justify-self: stretch;
  width: min(100%, 360px);
  padding: 18px;
  border-color: rgba(47, 111, 84, 0.24);
  background:
    radial-gradient(circle at 82% 12%, rgba(183, 232, 90, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.94), rgba(247, 244, 234, 0.7));
  box-shadow: 0 20px 58px rgba(16, 21, 18, 0.1);
  transform: translateY(6px);
}

.magic-action-panel::before {
  content: "";
  display: block;
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(47, 111, 84, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.magic-action-button {
  grid-template-columns: 1fr 94px;
  min-height: 70px;
  padding: 10px 10px 10px 18px;
  border-color: rgba(16, 21, 18, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.98), rgba(230, 233, 228, 0.9));
  color: var(--ink);
  box-shadow:
    0 2px 4px rgba(16, 21, 18, 0.08) inset,
    0 14px 34px rgba(16, 21, 18, 0.08);
}

.magic-action-button:hover {
  border-color: rgba(47, 111, 84, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 1), rgba(232, 237, 231, 0.94));
  box-shadow:
    0 2px 4px rgba(16, 21, 18, 0.08) inset,
    0 18px 44px rgba(16, 21, 18, 0.11);
}

.magic-action-button .magic-switch-light {
  order: 2;
  width: 82px;
  height: 46px;
  border: 1px solid rgba(16, 21, 18, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.96), rgba(224, 230, 226, 0.88));
  box-shadow:
    0 6px 16px rgba(16, 21, 18, 0.12),
    0 1px 4px rgba(16, 21, 18, 0.12) inset;
}

.magic-action-button .magic-switch-light::before {
  top: 50%;
  left: auto;
  right: 5px;
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 253, 245, 0.98), rgba(215, 224, 221, 0.92));
  box-shadow:
    0 8px 18px rgba(16, 21, 18, 0.16),
    0 0 0 1px rgba(16, 21, 18, 0.08);
  transform: translateY(-50%);
}

.magic-action-button:hover .magic-switch-light::before {
  transform: translateY(-50%) translateX(-30px);
}

.magic-action-button .magic-switch-copy {
  order: 1;
}

.magic-action-button .magic-switch-copy strong {
  color: var(--accent-dark);
  font-size: 17px;
}

.magic-action-button .magic-switch-copy span {
  color: rgba(16, 21, 18, 0.52);
}

.magic-plaque {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(47, 111, 84, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.72);
  color: var(--ink);
}

.magic-plaque span {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(183, 232, 90, 0.18);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.magic-plaque strong {
  font-size: 15px;
  line-height: 1.12;
}

.magic-action-panel small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.magic-reality {
  position: fixed !important;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(47, 111, 84, 0.12), transparent 34%),
    rgba(6, 8, 7, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.process > .magic-reality {
  max-width: none;
  margin: 0;
}

.magic-reality:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.magic-reality-card {
  width: min(100%, 720px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 253, 245, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 21, 18, 0.96), rgba(24, 56, 45, 0.88));
  color: var(--paper);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(183, 232, 90, 0.08) inset;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition:
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 560ms ease 160ms;
}

.magic-reality:not([hidden]) .magic-reality-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.magic-reality-card h3 {
  max-width: 620px;
  margin: 14px 0 18px;
  color: var(--paper);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.magic-reality-card p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 253, 245, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.magic-reality-note {
  margin: 18px 0 0;
  color: rgba(183, 232, 90, 0.78);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.magic-reality-card .btn {
  margin-top: 28px;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  justify-content: center;
  gap: 14px;
  width: min(100%, var(--max));
  padding: 28px 0 0;
  margin: 0 auto;
  list-style: none;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 111, 84, 0.18),
    rgba(54, 214, 201, 0.18),
    rgba(200, 169, 106, 0.18),
    transparent
  );
}

.process-steps li {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 28px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 10% 10%, rgba(47, 111, 84, 0.05), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.96), rgba(247, 244, 234, 0.84));
  box-shadow: 0 18px 48px rgba(16, 21, 18, 0.055);
  overflow: hidden;
}

.process-steps li::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 30px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 0 1px rgba(47, 111, 84, 0.18);
}

.process-steps li:nth-child(1) {
  border-color: rgba(47, 111, 84, 0.22);
  background:
    radial-gradient(ellipse at 0% 12%, rgba(54, 214, 201, 0.08), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(247, 244, 234, 0.9));
}

.process-steps li:nth-child(2),
.process-steps li:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 0.9), rgba(247, 244, 234, 0.72));
}

.process-steps li:nth-child(3) {
  border-color: rgba(47, 111, 84, 0.2);
  background:
    radial-gradient(ellipse at 0% 12%, rgba(47, 111, 84, 0.08), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(247, 244, 234, 0.9));
}

.process-steps li:nth-child(4) {
  border-color: rgba(200, 169, 106, 0.22);
}

.process-steps li:nth-child(4)::before {
  background: var(--gold);
}

.process-steps li:nth-child(4):hover {
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 0.94), rgba(247, 244, 234, 0.76));
}

.process-steps h3 {
  margin: 34px 0 12px;
}

.audience-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  background: var(--steel);
  border-radius: var(--radius);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 10px 13px;
  background: rgba(255, 252, 244, 0.68);
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  color: #3c3b36;
  font-size: 14px;
}

.contact {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact-page h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
}

.contact-page .contact-grid {
  align-items: center;
}

.contact .eyebrow {
  color: var(--signal);
}

.contact-grid p {
  color: rgba(255, 253, 245, 0.68);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 10px 13px;
  border: 1px solid rgba(255, 252, 244, 0.24);
  border-radius: 999px;
  color: var(--paper);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}

.contact .lead-form {
  border: 1px solid rgba(255, 253, 245, 0.18);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(54, 214, 201, 0.035), transparent 44%),
    rgba(255, 253, 245, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form .form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lead-form span {
  color: #4d4b45;
  font-size: 14px;
  font-weight: 760;
}

.contact .lead-form span {
  color: rgba(16, 21, 18, 0.66);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 21, 21, 0.16);
  background: #fffefb;
  color: var(--ink);
  border-radius: 6px;
  padding: 13px 12px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--signal);
  border-color: var(--ink);
}

.lead-form button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.form-note {
  min-height: 24px;
  color: var(--accent-dark);
  font-size: 14px;
}

.form-privacy-note {
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact .form-privacy-note {
  color: rgba(16, 21, 18, 0.58);
}

.contact .lead-form .form-note {
  color: var(--accent-dark);
}

.lead-form.is-error .form-note {
  color: #9b2c2c;
}

.lead-form.is-success .form-note {
  color: var(--signal);
}

.brief-page .page-hero {
  overflow: visible;
}

.brief-hero-grid,
.brief-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.brief-hero h1 {
  max-width: 880px;
}

.brief-hero .hero-lead {
  max-width: 760px;
}

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

.brief-hero-note {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.brief-summary-card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(47, 111, 84, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(183, 232, 90, 0.16), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(54, 214, 201, 0.12), transparent 34%),
    rgba(255, 253, 245, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brief-summary-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.brief-signal-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.brief-signal-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.66);
  color: var(--forest);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 780;
}

.brief-signal-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(54, 214, 201, 0.12);
}

.brief-steps-section {
  padding-top: clamp(42px, 7vw, 90px);
}

.brief-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.brief-step-grid article {
  min-height: 260px;
  padding: clamp(20px, 2.3vw, 28px);
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.74);
  box-shadow: 0 18px 54px rgba(16, 21, 18, 0.06);
}

.brief-step-grid span {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--forest);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
}

.brief-step-grid h3 {
  margin-bottom: 14px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
}

.brief-step-grid p {
  color: var(--muted);
}

.brief-result-section {
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: 0;
}

.brief-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 12%, rgba(183, 232, 90, 0.18), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(54, 214, 201, 0.14), transparent 34%),
    rgba(255, 253, 245, 0.78);
  box-shadow: var(--shadow-soft);
}

.brief-result-card h2 {
  max-width: 760px;
}

.brief-result-card > * {
  min-width: 0;
  max-width: 100%;
}

.brief-result-card p {
  max-width: 760px;
  color: var(--muted);
}

.brief-result-list {
  display: grid;
  gap: 10px;
}

.brief-result-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.72);
  color: var(--forest);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.brief-result-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 169, 106, 0.14);
}

.brief-contact {
  padding-top: clamp(44px, 7vw, 100px);
}

.brief-form {
  background:
    radial-gradient(circle at 20% 0%, rgba(183, 232, 90, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.82), rgba(247, 244, 234, 0.94));
}

.brief-form textarea {
  min-height: 190px;
}

@media (max-width: 980px) {
  .brief-hero-grid,
  .brief-form-grid,
  .brief-step-grid,
  .brief-result-card {
    grid-template-columns: 1fr;
  }

  .brief-step-grid article {
    min-height: auto;
  }

  .brief-step-grid span {
    margin-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .brief-hero-actions {
    flex-direction: column;
  }

  .brief-hero-actions .btn {
    width: 100%;
  }

  .brief-summary-card,
  .brief-step-grid article,
  .brief-result-card {
    padding: 20px;
  }

  .brief-result-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

.brief-page .brief-contact .scene-card,
.brief-page .brief-contact .attention-node {
  transform: none;
}

.values {
  padding-top: 0;
}

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

.value-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.72);
}

.value-grid span {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.hero-copy {
  align-self: center;
  margin-bottom: 0;
  animation: heroIn 780ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-visual {
  animation: visualIn 900ms cubic-bezier(0.2, 0.75, 0.25, 1) 120ms both;
}

.map-node {
  animation: none;
}

.map-node:nth-of-type(3) {
  animation-delay: 0s;
}

.map-node:nth-of-type(5) {
  animation-delay: 0s;
}

.map-node:nth-of-type(3)::before {
  animation-delay: 0s;
}

.map-node:nth-of-type(5)::before {
  animation-delay: 0s;
}

.map-panel {
  animation: none;
}

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 26px)) scale(var(--reveal-scale, 1));
  transition:
    opacity 720ms ease,
    transform 760ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-item {
  opacity: 0;
  transform: translateY(var(--reveal-y, 24px)) scale(var(--reveal-scale, 0.99));
  transition:
    opacity 620ms ease,
    transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-scene {
  --scene-copy-x: 0px;
  --scene-copy-y: 0px;
  --scene-copy-opacity: 1;
  position: relative;
  overflow: visible;
}

.scroll-scene::after {
  content: "";
  position: absolute;
  inset: 12% 5% auto;
  z-index: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(157, 255, 34, 0.28), rgba(47, 111, 84, 0.16), transparent);
  opacity: 0.46;
  transform: rotate(-1.2deg);
}

.services.scroll-scene::after,
.leadmagnet-section.scroll-scene::after {
  background: linear-gradient(90deg, transparent, rgba(215, 255, 95, 0.34), rgba(255, 252, 244, 0.14), transparent);
}

.leadmagnet-section.scroll-scene::after {
  inset: 8% 5% auto;
  height: 58%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 24% 50%, rgba(183, 232, 90, 0.10), transparent 55%),
    radial-gradient(ellipse at 78% 46%, rgba(54, 214, 201, 0.05), transparent 52%);
  opacity: 0.5;
  filter: blur(32px);
  transform: translate3d(calc((var(--scroll-progress, 0) - 0.5) * 26px), 0, 0);
}

.scroll-scene .section-head {
  position: relative;
  z-index: 1;
  opacity: var(--scene-copy-opacity);
  transform: translate3d(var(--scene-copy-x), var(--scene-copy-y), 0);
  transition:
    opacity 140ms linear,
    transform 140ms linear;
  will-change: opacity, transform;
}

.scroll-scene .scene-card {
  position: relative;
  z-index: 1;
  opacity: var(--motion-opacity, 1);
  transform: translate3d(var(--motion-x, 0px), var(--motion-y, 0px), 0) scale(var(--motion-scale, 1));
  transition:
    opacity 120ms linear,
    transform 120ms linear,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  will-change: opacity, transform;
}

.service-detail-page .reveal {
  opacity: 1;
  transform: none;
}

.blog-detail-page .reveal {
  opacity: 1;
  transform: none;
}

.problem-grid article,
.blog-grid article,
.fit-grid article,
.build-grid article,
.diagnostic-grid article,
.before-after-grid article,
.tools-grid span,
.faq-grid article,
.service-card,
.case-list article,
.process-steps li,
.model-grid article,
.growth-stack article,
.value-grid article,
.tags span {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.problem-grid article,
.fit-grid article,
.build-grid article,
.diagnostic-grid article,
.faq-grid article,
.process-steps li,
.service-card {
  --reveal-y: 34px;
  --reveal-scale: 0.985;
}

.problem-grid article:nth-child(2n),
.fit-grid article:nth-child(2n),
.build-grid article:nth-child(2n),
.diagnostic-grid article:nth-child(2n),
.faq-grid article:nth-child(2n),
.process-steps li:nth-child(2n),
.service-card:nth-child(2n) {
  --reveal-delay: 70ms;
}

.problem-grid article:nth-child(3n),
.fit-grid article:nth-child(3n),
.build-grid article:nth-child(3n),
.diagnostic-grid article:nth-child(3n),
.faq-grid article:nth-child(3n),
.process-steps li:nth-child(3n),
.service-card:nth-child(3n) {
  --reveal-delay: 130ms;
}

.problem-grid article:hover,
.blog-grid article:hover,
.fit-grid article:hover,
.build-grid article:hover,
.diagnostic-grid article:hover,
.before-after-grid article:hover,
.tools-grid span:hover,
.faq-grid article:hover,
.service-card:hover,
.process-steps li:hover,
.model-grid article:hover,
.growth-stack article:hover,
.value-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(21, 21, 21, 0.1);
  border-color: rgba(21, 21, 21, 0.22);
}

.problem-grid article:hover,
.model-grid article:hover,
.fit-grid article:hover,
.build-grid article:hover,
.diagnostic-grid article:hover,
.before-after-grid article:hover,
.faq-grid article:hover,
.value-grid article:hover,
.blog-grid article:hover,
.process-steps li:hover {
  background:
    radial-gradient(ellipse at 0% 24%, rgba(54, 214, 201, 0.035), transparent 48%),
    rgba(255, 253, 245, 0.96);
}

.attention-node {
  outline: 0 solid transparent;
  outline-offset: 0;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    outline-color 240ms ease,
    outline-width 240ms ease;
}

.attention-node.is-focus-active {
  border-color: rgba(47, 111, 84, 0.24);
  outline: 1px solid rgba(47, 111, 84, 0.10);
  outline-offset: 3px;
  box-shadow:
    0 18px 54px rgba(16, 21, 18, 0.09),
    0 0 0 1px rgba(47, 111, 84, 0.08) inset;
}

.signal-item {
  transition:
    border-color 400ms ease,
    background-color 400ms ease,
    box-shadow 400ms ease;
}

.signal-item.is-signal-active {
  border-color: rgba(47, 111, 84, 0.32);
  background: rgba(255, 253, 245, 0.95);
  box-shadow:
    0 8px 28px rgba(47, 111, 84, 0.10),
    0 0 0 1px rgba(158, 212, 52, 0.18) inset;
}

.problem-grid article.is-focus-active,
.model-grid article.is-focus-active,
.fit-grid article.is-focus-active,
.build-grid article.is-focus-active,
.diagnostic-grid article.is-focus-active,
.before-after-grid article.is-focus-active,
.tools-grid span.is-focus-active,
.faq-grid article.is-focus-active,
.formats-grid article.is-focus-active,
.blog-grid article.is-focus-active,
.case-list article.is-focus-active,
.process-steps li.is-focus-active {
  background:
    radial-gradient(ellipse at 0% 24%, rgba(54, 214, 201, 0.04), transparent 50%),
    rgba(255, 253, 245, 0.97);
}

.definition-panel.is-focus-active,
.leadmagnet-panel.is-focus-active {
  background:
    linear-gradient(90deg, rgba(183, 232, 90, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(54, 214, 201, 0.06), transparent 54%),
    var(--color-paper);
}

.leadmagnet-panel.attention-node.is-focus-active {
  border-color: rgba(47, 111, 84, 0.16);
  outline: 1px solid rgba(47, 111, 84, 0.08);
  outline-offset: 2px;
  box-shadow: 0 22px 64px rgba(16, 21, 18, 0.09);
}

.leadmagnet-panel .diagnostic-grid article.is-focus-active {
  border-color: rgba(47, 111, 84, 0.18);
  background:
    radial-gradient(ellipse at 0% 42%, rgba(54, 214, 201, 0.035), transparent 46%),
    linear-gradient(135deg, rgba(255, 253, 245, 0.96), rgba(255, 253, 245, 0.76));
  box-shadow: 0 14px 34px rgba(16, 21, 18, 0.07);
}

.training-panel.is-focus-active,
.service-card.is-focus-active:not(.featured),
.growth-stack article.is-focus-active,
.dash-card.is-focus-active {
  border-color: rgba(215, 255, 95, 0.5);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.2), transparent 58%),
    rgba(25, 26, 24, 0.9);
}

.service-card.featured.is-focus-active {
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.26), transparent 52%),
    var(--paper);
}

.founder-manifest span.is-focus-active,
.contact-links a.is-focus-active,
.chaos-item.is-focus-active,
.system-output.is-focus-active {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.contact-links a.is-focus-active {
  border-color: rgba(255, 252, 244, 0.42);
  background: rgba(255, 252, 244, 0.06);
  color: var(--paper);
}

.contact .lead-form.is-focus-active {
  border-color: rgba(255, 253, 245, 0.22);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.2);
}

.contact .lead-form.is-focus-active span {
  color: rgba(16, 21, 18, 0.66);
}

.contact .lead-form.is-focus-active label:focus-within span {
  color: var(--accent-dark);
}

.contact .lead-form.is-focus-active .form-privacy-note {
  color: rgba(16, 21, 18, 0.58);
}

.contact a:focus-visible,
.contact button:focus-visible,
.contact input:focus-visible,
.contact select:focus-visible,
.contact textarea:focus-visible,
.consent-banner button:focus-visible,
.consent-panel button:focus-visible {
  outline-color: var(--signal);
}

.service-card:hover {
  border-color: rgba(215, 255, 95, 0.42);
}

.service-card:hover a,
.case-list article:hover a {
  color: var(--signal);
}

.service-card.featured:hover {
  border-color: rgba(20, 24, 23, 0.26);
  background:
    linear-gradient(135deg, rgba(157, 255, 34, 0.22), transparent 48%),
    var(--paper);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 20px auto;
  width: 72px;
  height: 72px;
  border: 1px solid currentColor;
  opacity: 0.12;
  transform: rotate(12deg) translateY(18px);
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.service-card:hover::after {
  opacity: 0.26;
  transform: rotate(0deg) translateY(0);
}

.service-card,
.service-card.featured,
.service-card.is-focus-active:not(.featured),
.service-card.featured.is-focus-active,
.service-card:hover,
.service-card.featured:hover {
  background:
    radial-gradient(ellipse at 0% 18%, rgba(183, 232, 90, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(247, 244, 234, 0.94));
  color: var(--ink);
}

.service-card .service-kicker,
.service-card.featured .service-kicker,
.service-card h3,
.service-card.featured h3,
.service-card a,
.service-card.featured a,
.service-card.is-focus-active:not(.featured) .service-kicker,
.service-card.is-focus-active:not(.featured) h3,
.service-card.is-focus-active:not(.featured) a,
.service-card.featured.is-focus-active .service-kicker,
.service-card.featured.is-focus-active h3,
.service-card.featured.is-focus-active a {
  color: var(--accent-dark);
}

.service-card p,
.service-card li,
.service-card.featured p,
.service-card.featured li,
.service-card.is-focus-active:not(.featured) p,
.service-card.is-focus-active:not(.featured) li,
.service-card.featured.is-focus-active p,
.service-card.featured.is-focus-active li {
  color: var(--muted);
}

.service-card .service-result,
.service-card.featured .service-result,
.service-card.is-focus-active:not(.featured) .service-result,
.service-card.featured.is-focus-active .service-result {
  border-color: rgba(47, 111, 84, 0.14);
  background: rgba(47, 111, 84, 0.06);
  color: var(--ink);
}

.service-card a,
.service-card:hover a,
.service-card.featured:hover a,
.case-list article:hover a {
  border-top-color: rgba(47, 111, 84, 0.2);
  color: var(--accent-dark);
}

.snake-section {
  height: auto;
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0 104px;
}

.snake-sticky {
  position: relative;
  display: grid;
  align-content: start;
  height: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
}

.snake-copy {
  max-width: 860px;
  margin-bottom: 34px;
}

.snake-copy h2 {
  max-width: 920px;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.03;
}

.snake-copy .eyebrow {
  color: var(--signal);
}

.snake-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 14px;
  color: rgba(255, 252, 244, 0.62);
  font-size: 17px;
}

.snake-board {
  position: relative;
  min-height: 640px;
  border: 1px solid rgba(255, 252, 244, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 123, 103, 0.2), transparent 34%),
    linear-gradient(320deg, rgba(215, 255, 95, 0.16), transparent 42%),
    #1e1f1d;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.24);
}

.snake-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 252, 244, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 252, 244, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.65;
}

.snake-bg-label {
  display: none;
}

.label-a {
  left: 24px;
  top: 24px;
}

.label-b {
  right: 24px;
  bottom: 24px;
  text-align: right;
}

.snake-path {
  position: absolute;
  inset: 94px 54px 74px;
  width: calc(100% - 108px);
  height: calc(100% - 168px);
  overflow: visible;
  opacity: 0.92;
}

.snake-path path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.snake-shadow-path {
  stroke: rgba(0, 0, 0, 0.36);
  stroke-width: 18;
}

.snake-base-path {
  stroke: rgba(255, 252, 244, 0.14);
  stroke-width: 7;
  stroke-dasharray: 1 18;
}

.snake-progress-path {
  stroke: url("#snakeGradient");
  stroke-width: 7;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--snake-progress, 0));
  filter: drop-shadow(0 0 16px rgba(215, 255, 95, 0.24));
}

.snake-packet {
  position: absolute;
  z-index: 3;
  left: calc(var(--snake-x, 8%) - 8px);
  top: calc(var(--snake-y, 22%) - 8px);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 12px rgba(215, 255, 95, 0.12),
    0 0 34px rgba(215, 255, 95, 0.56);
  transition:
    left 80ms linear,
    top 80ms linear;
  display: none;
}

.snake-packet span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.snake-node {
  position: absolute;
  z-index: 2;
  width: min(330px, 28vw);
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 252, 244, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.065);
  backdrop-filter: blur(12px);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.snake-node span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.snake-node h3 {
  margin-top: 22px;
  font-size: 28px;
}

.snake-node p {
  margin-top: 10px;
  color: rgba(255, 252, 244, 0.62);
  font-size: 15px;
  line-height: 1.48;
}

.snake-node small {
  display: block;
  margin-top: 16px;
  color: rgba(215, 255, 95, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.snake-node.is-active,
.snake-node:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 255, 95, 0.42);
  background: rgba(255, 252, 244, 0.105);
}

.node-1 {
  left: 4%;
  top: 7%;
}

.node-2 {
  right: 4%;
  top: 7%;
}

.node-3 {
  left: 12%;
  bottom: 8%;
}

.node-4 {
  right: 4%;
  bottom: 7%;
}

.case-list article:hover {
  transform: translateX(8px);
  padding-left: 18px;
  padding-right: 18px;
  border-color: rgba(20, 24, 23, 0.18);
  background:
    linear-gradient(90deg, rgba(157, 255, 34, 0.16), transparent 52%),
    rgba(255, 253, 245, 0.72);
  border-radius: var(--radius);
}

.tags span:hover {
  transform: translateY(-2px);
  background: var(--paper);
}

.leadmagnet-panel,
.contact-links a,
.btn {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.leadmagnet-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 111, 84, 0.18);
  background:
    radial-gradient(ellipse at 0% 48%, rgba(183, 232, 90, 0.13), transparent 44%),
    radial-gradient(ellipse at 86% 18%, rgba(54, 214, 201, 0.05), transparent 46%),
    var(--color-paper);
  box-shadow: 0 24px 68px rgba(16, 21, 18, 0.09);
}

.contact-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 252, 244, 0.42);
  background: rgba(255, 252, 244, 0.06);
  color: var(--paper);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(157, 255, 34, 0.18);
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(20, 24, 23, 0.08);
}

/* Commercial subpages: calmer premium layer aligned with the new IVI homepage. */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 245, 0.94), rgba(247, 244, 234, 0.9)),
    radial-gradient(circle at 14% 20%, rgba(54, 214, 201, 0.12), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(200, 169, 106, 0.14), transparent 28%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  width: min(360px, 32vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 111, 84, 0.38), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.page-hero h1,
.about-hero-copy h1,
.contact-page h1 {
  letter-spacing: 0;
}

.growth-panel,
.mentor-panel,
.training-panel,
.leadmagnet-panel {
  box-shadow: 0 24px 70px rgba(16, 21, 18, 0.08);
}

.service-card,
.about-lens-grid article,
.about-proof-row article,
.about-process-list article,
.about-fit-grid article,
.case-list article,
.training-choice-grid article,
.program-grid article,
.packages-grid article,
.formats-grid article,
.check-grid article {
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 0.96), rgba(247, 244, 234, 0.88)),
    var(--paper);
  box-shadow: 0 18px 44px rgba(16, 21, 18, 0.06);
}

.service-card.featured {
  background:
    radial-gradient(ellipse at 0% 18%, rgba(183, 232, 90, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(247, 244, 234, 0.94));
  border-color: rgba(47, 111, 84, 0.24);
}

.service-card.soft-glass-demo {
  --glass-accent-a: rgba(183, 232, 90, 0.7);
  --glass-accent-b: rgba(54, 214, 201, 0.5);
  --glass-accent-c: rgba(255, 151, 74, 0.44);
  --glass-flow-speed: 5.4s;
  position: relative;
  isolation: isolate;
  contain: paint;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 255, 250, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    0 22px 42px rgba(16, 21, 18, 0.1),
    0 46px 90px rgba(16, 21, 18, 0.14);
  backdrop-filter: blur(22px) saturate(1.06) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.06) brightness(1.08);
}

.service-grid .service-card.soft-glass-demo:nth-child(2) {
  --glass-accent-a: rgba(54, 214, 201, 0.58);
  --glass-accent-b: rgba(183, 232, 90, 0.5);
  --glass-accent-c: rgba(78, 141, 245, 0.38);
  --glass-flow-speed: 5.9s;
}

.service-grid .service-card.soft-glass-demo:nth-child(3) {
  --glass-accent-a: rgba(255, 151, 74, 0.64);
  --glass-accent-b: rgba(183, 232, 90, 0.46);
  --glass-accent-c: rgba(54, 214, 201, 0.42);
  --glass-flow-speed: 5.6s;
}

.service-card.soft-glass-demo > * {
  position: relative;
  z-index: 2;
}

.service-card.soft-glass-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(128deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 34% 35%, transparent 35% 100%),
    linear-gradient(42deg, transparent 0 58%, rgba(16, 21, 18, 0.08) 58% 59%, transparent 59% 100%),
    radial-gradient(circle at 12% 18%, var(--glass-accent-a), transparent 26%),
    radial-gradient(circle at 82% 14%, var(--glass-accent-b), transparent 30%),
    radial-gradient(circle at 76% 86%, var(--glass-accent-c), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 250, 0.76), rgba(235, 242, 232, 0.54));
  background-size: 120% 120%, 120% 120%, 165% 165%, 150% 150%, 155% 155%, 100% 100%;
  filter: blur(10px) saturate(1.28);
  opacity: 0.9;
  will-change: background-position;
  transition:
    opacity 260ms ease,
    filter 260ms ease,
    background-position 420ms ease;
  animation: softGlassColorFlow var(--glass-flow-speed) ease-in-out infinite alternate;
}

.service-card.soft-glass-demo::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.88), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.56), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 250, 0.8), rgba(246, 248, 240, 0.64));
  box-shadow:
    inset 0 22px 42px rgba(255, 255, 255, 0.28),
    inset 0 -18px 38px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  transition:
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.service-card.soft-glass-demo .service-result {
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 234, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(16, 21, 18, 0.055);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.service-card.soft-glass-demo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(24, 56, 45, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(183, 232, 90, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(24, 56, 45, 0.96), rgba(16, 21, 18, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 30px rgba(16, 21, 18, 0.16);
  color: var(--paper);
  text-align: center;
  line-height: 1.1;
  white-space: normal;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.service-card.soft-glass-demo:hover,
.service-card.soft-glass-demo.is-focus-active {
  transform: none;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 26px 54px rgba(16, 21, 18, 0.12),
    0 58px 110px rgba(16, 21, 18, 0.18);
}

.service-card.soft-glass-demo:hover::before,
.service-card.soft-glass-demo.is-focus-active::before {
  opacity: 1;
  filter: blur(8px) saturate(1.38);
  background-position: 88% 18%, 8% 82%, 74% 16%, 22% 34%, 16% 78%, 0 0;
}

.service-card.soft-glass-demo:hover::after,
.service-card.soft-glass-demo.is-focus-active::after {
  border-color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.58), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 250, 0.78), rgba(246, 248, 240, 0.6));
  box-shadow:
    inset 0 26px 48px rgba(255, 255, 255, 0.34),
    inset 0 -16px 36px rgba(255, 255, 255, 0.12),
    0 0 38px rgba(255, 255, 255, 0.14);
}

.service-card.soft-glass-demo:hover .service-result,
.service-card.soft-glass-demo.is-focus-active .service-result {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(247, 244, 234, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 38px rgba(16, 21, 18, 0.12);
}

.service-card.soft-glass-demo a:hover,
.service-card.soft-glass-demo a.is-focus-active {
  transform: translateY(-2px);
  border-color: rgba(183, 232, 90, 0.55);
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 38px rgba(16, 21, 18, 0.2);
}

.service-card.soft-glass-demo .service-kicker,
.service-card.soft-glass-demo h3 {
  color: var(--accent-dark);
}

.service-card.soft-glass-demo p,
.service-card.soft-glass-demo li {
  color: rgba(16, 21, 18, 0.72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.training-panel {
  background:
    linear-gradient(145deg, rgba(24, 56, 45, 0.98), rgba(16, 21, 18, 0.98));
  border-color: rgba(183, 232, 90, 0.3);
}

.service-card.featured .service-kicker,
.service-card.featured h3 {
  color: var(--accent-dark);
}

.service-card.featured p,
.service-card.featured li {
  color: var(--muted);
}

.service-card.featured a {
  color: var(--accent-dark);
}

.case-list article,
.about-process-list article {
  border-left: 3px solid rgba(47, 111, 84, 0.34);
}

.case-list article:nth-child(2n),
.about-process-list article:nth-child(2n) {
  border-left-color: rgba(54, 214, 201, 0.45);
}

.case-list article:nth-child(3n) {
  border-left-color: rgba(200, 169, 106, 0.52);
}

.contact-page .lead-form {
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(247, 244, 234, 0.94));
  border: 1px solid rgba(183, 232, 90, 0.32);
  box-shadow: 0 28px 80px rgba(16, 21, 18, 0.24);
}

.contact-page .contact-links a:hover,
.contact-page .contact-links a.is-focus-active {
  background: rgba(255, 253, 245, 0.08);
  border-color: rgba(183, 232, 90, 0.55);
  color: var(--paper);
}

.service-card:not(.featured) {
  color: var(--ink);
}

.service-card:not(.featured) .service-kicker,
.service-card:not(.featured) h3,
.service-card:not(.featured) a {
  color: var(--accent-dark);
}

.service-card:not(.featured) p,
.service-card:not(.featured) li {
  color: var(--muted);
}

.service-card:not(.featured) .service-result {
  border-color: rgba(47, 111, 84, 0.14);
  background: rgba(47, 111, 84, 0.06);
  color: var(--ink);
}

.service-card:not(.featured) a {
  border-top-color: rgba(47, 111, 84, 0.2);
}

.service-card.soft-glass-demo a,
.service-card.soft-glass-demo:hover a,
.service-card.soft-glass-demo.featured:hover a,
.service-card.soft-glass-demo.is-focus-active a,
.service-card.soft-glass-demo a:hover,
.service-card.soft-glass-demo a.is-focus-active {
  border-top: 0;
  color: var(--paper);
}

.service-card.soft-glass-demo .service-result,
.service-card.soft-glass-demo.featured .service-result,
.service-card.soft-glass-demo.is-focus-active .service-result,
.service-card.soft-glass-demo.featured.is-focus-active .service-result {
  border-color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 234, 0.48));
}

.service-card.soft-glass-demo:hover .service-result,
.service-card.soft-glass-demo.is-focus-active .service-result,
.service-card.soft-glass-demo.featured:hover .service-result,
.service-card.soft-glass-demo.featured.is-focus-active .service-result {
  border-color: rgba(255, 255, 255, 0.94);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 244, 234, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 38px rgba(16, 21, 18, 0.12);
  transform: translateY(-4px);
}

.service-card.soft-glass-demo .service-kicker,
.service-card.soft-glass-demo.featured .service-kicker,
.service-card.soft-glass-demo:not(.featured) .service-kicker,
.service-card.soft-glass-demo h3,
.service-card.soft-glass-demo.featured h3,
.service-card.soft-glass-demo:not(.featured) h3 {
  color: var(--accent-dark);
}

.service-card.soft-glass-demo p:not(.service-kicker),
.service-card.soft-glass-demo li,
.service-card.soft-glass-demo.featured p:not(.service-kicker),
.service-card.soft-glass-demo.featured li,
.service-card.soft-glass-demo:not(.featured) p:not(.service-kicker),
.service-card.soft-glass-demo:not(.featured) li {
  color: rgba(16, 21, 18, 0.74);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.post-compare-table th,
.post-compare-table td {
  overflow-wrap: normal;
  word-break: normal;
}

.case-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
  gap: 20px;
  align-items: start;
}

.case-list span,
.case-list h3,
.case-list p {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

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

@keyframes visualIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes logoDotBounce {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(1.16, 0.84);
    box-shadow:
      0 0 0 12px rgba(157, 255, 34, 0.1),
      0 12px 28px rgba(157, 255, 34, 0.28);
  }
  5% {
    transform: translate3d(-50%, calc(-50% - 3px), 0) scale(1.08, 0.92);
  }
  20% {
    transform: translate3d(-50%, calc(-50% - 34px), 0) scale(0.94, 1.06);
  }
  33% {
    transform: translate3d(-50%, calc(-50% - 46px), 0) scale(1);
    box-shadow:
      0 0 0 8px rgba(157, 255, 34, 0.08),
      0 30px 68px rgba(157, 255, 34, 0.36);
  }
  47% {
    transform: translate3d(-50%, calc(-50% - 34px), 0) scale(1);
  }
  62% {
    transform: translate3d(-50%, calc(-50% - 9px), 0) scale(1.02, 0.98);
  }
  69% {
    transform: translate3d(-50%, calc(-50% + 2px), 0) scale(1.22, 0.78);
    box-shadow:
      0 0 0 14px rgba(157, 255, 34, 0.13),
      0 10px 28px rgba(157, 255, 34, 0.3);
  }
  76% {
    transform: translate3d(-50%, calc(-50% - 15px), 0) scale(0.96, 1.04);
  }
  86% {
    transform: translate3d(-50%, calc(-50% - 6px), 0) scale(1);
  }
  93% {
    transform: translate3d(-50%, calc(-50% + 1px), 0) scale(1.12, 0.88);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1.16, 0.84);
  }
}

@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes mapNodeFocus {
  0%,
  28%,
  100% {
    opacity: 0;
  }
  6%,
  20% {
    opacity: 1;
  }
}

@keyframes mapLightSwitch {
  0%,
  24% {
    top: 98px;
    transform: translateY(0) scale(1);
  }
  29% {
    transform: translateY(72px) scale(0.86, 1.12);
  }
  34%,
  56% {
    top: 258px;
    transform: translateY(0) scale(1);
  }
  61% {
    transform: translateY(72px) scale(0.86, 1.12);
  }
  66%,
  88% {
    top: 418px;
    transform: translateY(0) scale(1);
  }
  94% {
    top: 98px;
    transform: translateY(-22px) scale(0.96, 1.04);
  }
  100% {
    top: 98px;
    transform: translateY(0) scale(1);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(215, 255, 95, 0);
  }
  50% {
    box-shadow: 0 0 34px rgba(215, 255, 95, 0.16);
  }
}

@keyframes softGlassColorFlow {
  0% {
    background-position: 10% 12%, 88% 76%, -8% 18%, 108% 10%, 72% 92%, 0 0;
  }
  36% {
    background-position: 82% 18%, 12% 82%, 42% 4%, 66% 32%, 46% 76%, 0 0;
  }
  68% {
    background-position: 28% 88%, 78% 18%, 12% 38%, 94% 8%, 30% 62%, 0 0;
  }
  100% {
    background-position: 92% 42%, 10% 24%, 52% 12%, 56% 46%, 86% 68%, 0 0;
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0.2);
    opacity: 0.2;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes proofBarFlow {
  0%,
  100% {
    transform: scaleX(0.72);
  }
  45% {
    transform: scaleX(1);
  }
  72% {
    transform: scaleX(0.86);
  }
}

@keyframes dashboardBarFlow {
  0% {
    background-position: 0% 50%;
    transform: scaleX(0.84);
  }
  42% {
    background-position: 92% 50%;
    transform: scaleX(1);
  }
  68% {
    background-position: 128% 50%;
    transform: scaleX(0.9);
  }
  100% {
    background-position: 220% 50%;
    transform: scaleX(0.84);
  }
}

@keyframes dashboardBarFillBreath {
  0%,
  100% {
    transform: scaleX(var(--bar-min, 0.88));
  }
  48% {
    transform: scaleX(1);
  }
  72% {
    transform: scaleX(0.96);
  }
}

@keyframes dashboardBarRightPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(18%) scaleX(0.55);
  }
  44% {
    opacity: 0.74;
    transform: translateX(-8%) scaleX(1);
  }
  70% {
    opacity: 0.42;
    transform: translateX(-2%) scaleX(0.76);
  }
}

@keyframes statusPing {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(183, 232, 90, 0.22);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(183, 232, 90, 0);
  }
}

@keyframes heartbeatTrace {
  0% {
    opacity: 0;
    stroke-dashoffset: 100;
    transform: translateX(0);
  }
  4% {
    opacity: 0;
    stroke-dashoffset: 100;
  }
  8% {
    opacity: 1;
    stroke-dashoffset: 100;
  }
  30% {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translateX(0);
  }
  39%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
    transform: translateX(0);
  }
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding-top: clamp(92px, 12vh, 132px);
  padding-bottom: clamp(46px, 8vh, 86px);
  border-bottom: 1px solid var(--line);
}

.about-hero-copy h1 {
  max-width: 980px;
}

.about-hero-copy .hero-lead {
  max-width: 760px;
}

.about-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 1px solid rgba(20, 24, 23, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 24, 23, 0.04), rgba(20, 24, 23, 0.72)),
    #151515;
  box-shadow: var(--shadow);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) brightness(1.08) saturate(0.96);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(20, 24, 23, 0.78));
  pointer-events: none;
}

.about-portrait-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255, 253, 245, 0.16);
  border-radius: var(--radius);
  background: rgba(20, 24, 23, 0.7);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.about-portrait-caption span {
  color: var(--signal);
  font-size: 20px;
  font-weight: 800;
}

.about-portrait-caption strong {
  color: rgba(255, 253, 245, 0.64);
  font-size: 11px;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-proof-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(8px, 2vw, 18px);
}

.about-proof-row article,
.about-lens-grid article,
.about-process-list article,
.about-fit-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.74);
  box-shadow: 0 12px 34px rgba(20, 24, 23, 0.04);
}

.about-proof-row article {
  padding: 18px;
}

.about-proof-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-proof-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

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

.about-lens-grid article {
  min-height: 220px;
  padding: 24px;
}

.about-lens-grid span,
.about-process-list > article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(47, 111, 84, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.about-lens-grid h3,
.about-process-list h3,
.about-fit-grid h2 {
  margin: 0;
}

.about-lens-grid p,
.about-process-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.about-process-list {
  display: grid;
  gap: 14px;
}

.about-process-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
}

.about-process-list > article > span {
  margin-bottom: 0;
  background: var(--signal);
  color: var(--ink);
}

.about-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-fit-grid article {
  padding: clamp(24px, 3vw, 34px);
}

.about-fit-grid ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
}

.about-fit-grid li::marker {
  color: var(--accent);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: clamp(72px, 8vw, 112px) auto 0;
  padding: clamp(30px, 4vw, 44px) 24px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 0;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.82), rgba(245, 244, 237, 0.92)),
    radial-gradient(circle at 36% 24%, rgba(15, 123, 103, 0.08), transparent 26%);
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

.site-footer p {
  max-width: 640px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.site-footer .footer-credit {
  display: block;
  margin-top: 12px;
  color: rgba(21, 21, 21, 0.5);
  font-size: 13px;
  line-height: 1.35;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
  color: var(--muted);
}

.site-footer a,
.site-footer .footer-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover,
.site-footer .footer-link-button:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 72px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .about-hero,
  .about-fit-grid {
    grid-template-columns: 1fr;
  }

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

  .about-portrait {
    justify-self: start;
    width: min(100%, 420px);
  }

  .about-proof-row,
  .about-lens-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .process-top,
  .content-grid,
  .audience-panel,
  .definition-panel,
  .mentor-panel,
  .training-panel,
  .growth-panel,
  .leadmagnet-panel,
  .contact-grid,
  .founder-panel {
    grid-template-columns: 1fr;
  }

  .founder-visual {
    justify-self: start;
    width: min(100%, 420px);
    aspect-ratio: 0.82;
  }

  .magic-switch-panel {
    justify-self: stretch;
    width: min(100%, 420px);
  }

  .process-top {
    padding: 26px;
  }

  .process-top::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 0;
  }

  .system-map {
    min-height: 460px;
  }

  .problem-grid,
  .fit-grid,
  .ai-tech-grid,
  .service-grid,
  .model-grid,
  .build-grid,
  .diagnostic-grid,
  .before-after-grid,
  .tools-grid,
  .faq-grid,
  .role-grid,
  .check-grid,
  .training-choice-grid,
  .program-grid,
  .packages-grid,
  .blog-grid,
  .dash-grid,
  .value-grid,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

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

  .post-layout {
    grid-template-columns: 1fr;
  }

  .service-page-layout {
    grid-template-columns: 1fr;
  }

  .service-check-grid,
  .service-fit-grid,
  .service-deliverables,
  .service-faq {
    grid-template-columns: 1fr;
  }

  .post-aside {
    position: static;
  }

  .formats-note {
    grid-template-columns: 1fr;
  }

  .training-strip {
    grid-template-columns: 1fr;
  }

  .training-strip a {
    white-space: normal;
  }

  .dash-lower {
    grid-template-columns: 1fr;
  }

  .snake-section {
    height: auto;
  }

  .chaos-system-section {
    height: auto;
  }

  .chaos-sticky {
    position: relative;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .chaos-stage {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 18px;
  }

  .chaos-label,
  .chaos-connector {
    display: none;
  }

  .chaos-item,
  .system-output {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    transform: none;
    opacity: 1;
  }

  .snake-sticky {
    position: relative;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .snake-board {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 18px;
  }

  .snake-path,
  .snake-packet {
    display: none;
  }

  .snake-node {
    position: relative;
    inset: auto;
    width: auto;
  }

  .case-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .system-flow-layout::before,
  .system-flow-layout::after {
    display: none;
  }

  .ai-tech-section::before {
    opacity: 0.48;
  }
}

@media (max-width: 1180px) {
  .leadmagnet-panel .diagnostic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scroll-system-rail {
    display: none;
  }
}

@media (max-height: 820px) and (min-width: 981px) {
  .chaos-sticky,
  .snake-sticky {
    padding-top: 24px;
    padding-bottom: 84px;
  }

  .chaos-copy,
  .snake-copy {
    margin-bottom: 16px;
  }

  .chaos-copy h2,
  .snake-copy h2 {
    font-size: clamp(36px, 5.2vw, 62px);
    line-height: 0.98;
  }

  .chaos-copy p:not(.eyebrow),
  .snake-copy p:not(.eyebrow) {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .snake-board {
    min-height: 600px;
  }

  .snake-node {
    min-height: 190px;
    padding: 20px;
  }

  .snake-node h3 {
    margin-top: 14px;
  }

  .snake-node p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
  }

  .snake-node small {
    margin-top: 12px;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 18px 78px;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero-signal {
    justify-self: stretch;
    min-width: 0;
  }

  .signal-card {
    padding: 18px;
  }

  .hero-scroll-scene {
    height: auto;
  }

  .hero-sticky {
    position: relative;
    min-height: auto;
    overflow: visible;
    padding: 44px 16px 64px;
  }

  .founder-panel {
    padding: 24px;
  }

  .founder-copy h2 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .founder-copy p:not(.eyebrow):not(.founder-name) {
    font-size: 16px;
  }

  .founder-actions {
    flex-direction: column;
  }

  .founder-visual {
    width: 100%;
    aspect-ratio: 0.86;
  }

  .founder-badge {
    align-items: flex-start;
    flex-direction: column;
  }

  .founder-badge strong {
    text-align: left;
  }

  .founder-facts {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
    top: 8px;
    min-height: 66px;
    padding: 10px 16px;
    margin-bottom: 8px;
    border-radius: 0 0 8px 8px;
    z-index: 60;
  }

  .brand-text {
    display: block;
    max-width: 128px;
    font-size: 11px;
  }

  .brand-logo {
    width: 70px;
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .scroll-system-rail {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    background: rgba(255, 253, 245, 0.96);
    border: 1px solid rgba(16, 21, 18, 0.12);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 21, 18, 0.2);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    display: block;
    padding: 17px 22px;
    border: 0;
    border-bottom: 1px solid rgba(21, 21, 21, 0.08);
    border-radius: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.2;
  }

  .site-nav > a:last-of-type {
    border-bottom: 0;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    justify-content: stretch;
    margin: 18px 8px 2px;
    padding: 5px;
    border: 1px solid rgba(16, 21, 18, 0.1);
    border-radius: 999px;
    background: rgba(247, 244, 234, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 253, 245, 0.8);
  }

  .language-switcher a {
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    box-shadow: none;
  }

  .language-switcher a:hover,
  .language-switcher a[aria-current="true"] {
    background: var(--accent-dark);
    color: var(--paper);
    box-shadow: 0 10px 24px rgba(24, 56, 45, 0.2);
  }

  html.nav-open {
    overflow: hidden;
  }

  html.nav-open .site-header {
    background: rgba(247, 246, 241, 0.98);
  }

  html.nav-open body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(20, 24, 23, 0.12);
    backdrop-filter: blur(3px);
  }

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

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

  .nav-toggle span {
    transition: transform 180ms ease;
  }

  .section-pad {
    padding: 64px 16px;
  }

  h1 {
    font-size: clamp(40px, 12.5vw, 58px);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-logo-stage {
    width: min(260px, 68vw);
    margin: 34px auto 24px;
    justify-items: center;
    text-align: center;
  }

  .hero-copy > .eyebrow,
  .hero-copy > h1,
  .hero-copy > .hero-lead,
  .hero-copy > .hero-actions,
  .hero-copy > .hero-metrics,
  .hero-copy > .hero-lead-form {
    margin-left: 0;
  }

  .hero-metrics,
  .hero-lead-form,
  .problem-grid,
  .fit-grid,
  .service-grid,
  .model-grid,
  .build-grid,
  .diagnostic-grid,
  .before-after-grid,
  .tools-grid,
  .faq-grid,
  .role-grid,
  .check-grid,
  .training-choice-grid,
  .program-grid,
  .packages-grid,
  .blog-grid,
  .value-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .blog-card-link {
    padding: 22px;
  }

  .blog-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .post-content p,
  .post-content li {
    font-size: 16px;
  }

  .post-cta {
    padding: 22px;
  }

  .hero-metrics div,
  .hero-lead-form,
  .problem-grid article,
  .blog-grid article,
  .fit-grid article,
  .build-grid article,
  .role-grid article,
  .check-grid article,
  .program-grid article,
  .packages-grid article,
  .formats-grid article,
  .diagnostic-grid article,
  .before-after-grid article,
  .faq-grid article,
  .tools-grid span,
  .model-grid article,
  .growth-panel,
  .leadmagnet-panel,
  .service-card,
  .process-steps li,
  .lead-form {
    padding: 22px;
  }

  .service-card,
  .service-grid-secondary .service-card,
  .process-steps li,
  .model-grid article,
  .value-grid article {
    min-height: auto;
  }

  .service-card h3 {
    font-size: 27px;
  }

  .service-card ul {
    margin: 20px 0 24px;
  }

  .lead-flow-preview {
    margin-bottom: 18px;
    padding: 18px 18px 24px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero-signal,
  .hero-signal .loss-counter {
    transform: none;
    will-change: auto;
  }

  .flow-preview-title {
    font-size: 28px;
  }

  .pipeline-step {
    min-height: 58px;
    padding: 11px 12px;
  }

  .flow-status-card,
  .result-metrics {
    grid-template-columns: 1fr;
  }

  .system-flow-layout {
    gap: 14px;
  }

  section.hero::after {
    opacity: 0.24;
  }

  .system-flow-layout::before,
  .system-flow-layout::after {
    display: none;
  }

  .ai-tech-section::before {
    opacity: 0.38;
  }

  .flow-map {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .flow-map-node {
    min-height: 180px;
    padding: 20px;
  }

  .flow-map-node h3 {
    margin-top: 34px;
  }

  .result-preview {
    min-height: auto;
    padding: 22px;
  }

  .result-preview-top strong {
    font-size: 31px;
  }

  .ai-tech-grid {
    grid-template-columns: 1fr;
  }

  .ai-tech-card {
    min-height: auto;
    padding: 22px;
  }

  .ai-tech-card h3 {
    margin-top: 54px;
    font-size: 31px;
  }

  .ai-card-top {
    align-items: flex-start;
  }

  .ai-scan-list,
  .ai-architecture-map,
  .ai-agent-console {
    margin-top: 22px;
  }

  .services .module-grid article {
    min-height: 164px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .services .module-grid article strong {
    margin-top: 34px;
    font-size: 20px;
  }

  .services .module-grid article p {
    font-size: 15px;
  }

  .leadmagnet-panel .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .leadmagnet-panel .diagnostic-grid article {
    min-height: auto;
    grid-template-rows: auto auto auto;
  }

  .leadmagnet-panel .diagnostic-grid h3 {
    max-width: none;
    margin-top: 24px;
    font-size: 25px;
  }

  .leadmagnet-panel .diagnostic-grid p {
    max-width: none;
  }

  .niche-card-top h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .niche-card-top p {
    font-size: 16px;
    line-height: 1.5;
  }

  .faq-grid article {
    min-height: auto;
  }

  .faq-grid h3 {
    margin-top: 32px;
    font-size: 24px;
  }

  .process-steps li {
    min-height: 220px;
  }

  .process-steps h3 {
    margin: 38px 0 12px;
    font-size: 26px;
  }

  .model-grid h3 {
    margin-top: 34px;
  }

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

  .leadmagnet-panel .btn {
    justify-self: stretch;
  }

  .system-map {
    min-height: auto;
    padding: 22px;
  }

  .map-node {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 16px;
  }

  .map-node span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(21, 21, 21, 0.16);
    border-radius: 50%;
    background: rgba(255, 252, 244, 0.72);
  }

  .map-node strong {
    min-width: 0;
    margin-top: 0;
    font-size: 22px;
    line-height: 1.05;
  }

  .map-node small {
    grid-column: 2;
    margin-top: 4px;
    font-size: 13px;
  }

  .map-line {
    height: 24px;
    margin-left: 32px;
  }

  .map-panel {
    margin-top: 18px;
    padding: 20px;
  }

  .motion-layer {
    display: none;
  }

  .audience-panel {
    padding: 24px;
  }

  .contact-grid {
    gap: 32px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .dash-grid,
  .dash-lower {
    grid-template-columns: 1fr;
  }

  .dash-topbar {
    flex-direction: column;
  }

  .dash-card {
    min-height: 140px;
  }

  .dash-chart {
    min-height: 210px;
    padding: 24px;
  }

  .btn {
    width: 100%;
  }

  html {
    overflow-x: hidden;
  }

  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 16px;
  }


  .hero,
  .hero-scroll-scene,
  .hero-sticky,
  .hero-grid {
    min-height: auto;
  }

  .hero-scroll-scene {
    padding: 28px 16px 42px;
  }

  .hero-sticky {
    top: auto;
    padding: 0;
  }

  .hero-grid {
    gap: 24px;
    align-items: stretch;
    padding-bottom: 0;
  }

  .hero-copy {
    margin: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-logo-stage {
    width: min(190px, 58vw);
    margin: 18px 0 8px;
    justify-items: start;
    text-align: left;
  }

  .hero-copy > .eyebrow {
    max-width: 100%;
    font-size: 11px;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    width: 100%;
    min-height: auto;
    margin: 0;
    border-radius: 8px;
    transform: none !important;
  }

  .hero-statement {
    margin-bottom: 44px;
    padding-top: 0;
  }

  .page-hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-head {
    gap: 18px;
  }

  .section-lead {
    font-size: 17px;
  }

  h1 {
    font-size: clamp(32px, 9.6vw, 44px);
    line-height: 1.06;
  }

  .page-hero h1,
  .locale-hero h1,
  .contact-page h1 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.08;
  }

  .blog-detail-page .post-hero h1,
  .service-detail-page .post-hero h1,
  .dashboard-hero-copy h1 {
    font-size: clamp(32px, 8.8vw, 40px);
    line-height: 1.08;
  }

  .dashboard-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dashboard-preview-card {
    padding: 18px;
  }

  .dashboard-preview-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(31px, 8.8vw, 40px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero .hero-lead {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.52;
    overflow-wrap: break-word;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  h2 {
    font-size: clamp(27px, 7.8vw, 38px);
    line-height: 1.08;
  }

  .section-head h2,
  .services .section-head h2,
  .fit-section .section-head h2,
  .leadmagnet-section h2,
  .process h2,
  .faq-section h2,
  .contact h2 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .hero-lead-form,
  .lead-form {
    gap: 14px;
  }

  .hero-metrics div,
  .hero-lead-form,
  .problem-grid article,
  .blog-grid article,
  .fit-grid article,
  .build-grid article,
  .role-grid article,
  .check-grid article,
  .program-grid article,
  .packages-grid article,
  .formats-grid article,
  .diagnostic-grid article,
  .before-after-grid article,
  .faq-grid article,
  .tools-grid span,
  .model-grid article,
  .growth-panel,
  .leadmagnet-panel,
  .service-card,
  .process-steps li,
  .lead-form {
    padding: 20px;
    border-radius: 8px;
  }

  .system-map {
    padding: 16px;
  }

  .map-node {
    padding: 14px;
  }

  .map-panel {
    padding: 18px;
  }

  .snake-section {
    padding: 64px 0 70px;
  }

  .snake-copy h2,
  .chaos-copy h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.02;
  }

  .snake-board,
  .chaos-stage {
    border-radius: 8px;
  }

  .site-footer {
    padding: 30px 16px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  p,
  a,
  button,
  input,
  select,
  textarea {
    overflow-wrap: anywhere;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    max-width: 148px;
    overflow-wrap: normal;
  }

  .particle-field {
    display: none;
  }

  .contact-page h1,
  .hero-statement h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.8vw, 52px);
  }

  .contact-links a,
  .diagnostic-list li,
  .tags span {
    max-width: 100%;
  }

  .formats-note,
  .leadmagnet-panel,
  .training-panel,
  .growth-panel {
    gap: 18px;
  }

  .dashboard-shell {
    border-radius: 8px;
  }

  .dashboard-shell::before,
  .dashboard-shell::after {
    opacity: 0.45;
  }

  .dash-grid {
    gap: 12px;
  }

  .case-list article {
    padding: 20px 0;
  }

  .locale-hero {
    padding-top: 56px;
  }

  .locale-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .locale-hero h1 {
    font-size: clamp(40px, 12vw, 66px);
  }

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

  .locale-grid article {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .site-header {
    top: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-text {
    max-width: 118px;
    font-size: 10px;
    line-height: 1.1;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .site-nav {
    top: 78px;
    left: 10px;
    right: 10px;
    max-height: calc(100svh - 82px);
  }

  .section-pad {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-scroll-scene {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-logo-stage {
    width: min(172px, 62vw);
  }

  .hero-ivi-mark img {
    max-height: 122px;
  }

  .hero-statement h1,
  .contact-page h1 {
    font-size: clamp(34px, 10.4vw, 46px);
  }

  h2 {
    font-size: clamp(29px, 9vw, 39px);
  }

  .hero-lead,
  .section-lead,
  .contact-grid p {
    font-size: 16px;
  }

  .map-node {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 10px;
  }

  .map-node span {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .map-node strong {
    font-size: 20px;
  }

  .map-line {
    margin-left: 28px;
  }

  .hero-metrics div,
  .hero-lead-form,
  .problem-grid article,
  .blog-grid article,
  .fit-grid article,
  .build-grid article,
  .role-grid article,
  .check-grid article,
  .program-grid article,
  .packages-grid article,
  .formats-grid article,
  .diagnostic-grid article,
  .before-after-grid article,
  .faq-grid article,
  .tools-grid span,
  .model-grid article,
  .growth-panel,
  .leadmagnet-panel,
  .service-card,
  .process-steps li,
  .lead-form,
  .audience-panel,
  .founder-panel {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .about-hero {
    padding-top: 84px;
  }

  .about-proof-row,
  .about-lens-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    width: 100%;
    aspect-ratio: 0.86;
  }

  .about-process-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .service-card.soft-glass-demo {
    border-radius: 30px;
  }

  .service-card.soft-glass-demo::after {
    inset: 8px;
    border-radius: 24px;
  }

  .service-card.soft-glass-demo a {
    width: 100%;
    min-height: 54px;
    margin-top: auto;
    padding: 0 16px;
    font-size: 16px;
  }

  .magic-action-button {
    grid-template-columns: 1fr 76px;
    min-height: 62px;
    padding: 8px 8px 8px 14px;
  }

  .magic-action-button .magic-switch-light {
    width: 68px;
    height: 40px;
  }

  .magic-action-button .magic-switch-light::before {
    width: 30px;
    height: 30px;
  }

  .magic-action-button:hover .magic-switch-light::before {
    transform: translateY(-50%) translateX(-22px);
  }

  .magic-action-button .magic-switch-copy strong {
    font-size: 15px;
  }

  .magic-action-button .magic-switch-copy span {
    font-size: 11px;
  }

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

  .scroll-scene {
    overflow-x: clip;
    overflow-y: visible;
  }

  .proof-card {
    min-height: 280px;
    padding: 20px;
  }

  .proof-card-top strong {
    max-width: 210px;
    font-size: 21px;
  }
}

@media (max-width: 820px) {
  html,
  body.blog-detail-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .blog-detail-page *,
  .blog-detail-page *::before,
  .blog-detail-page *::after {
    box-sizing: border-box;
  }

  .blog-detail-page main,
  .blog-detail-page .section-pad {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    overflow-x: clip;
  }

  .blog-detail-page .section-pad {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .blog-detail-page .section-pad > * {
    width: 100%;
    max-width: 100%;
  }

  .blog-detail-page .post-hero {
    width: 100%;
    overflow-x: clip;
  }

  .blog-detail-page .post-title-compact {
    width: 100%;
    max-width: 100%;
    font-size: clamp(23px, 6.5vw, 30px);
    line-height: 1.14;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .blog-detail-page .post-hero .hero-lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .blog-detail-page .breadcrumbs,
  .blog-detail-page .post-layout,
  .blog-detail-page .post-content,
  .blog-detail-page .post-aside,
  .blog-detail-page .post-insight,
  .blog-detail-page .post-scenario-grid,
  .blog-detail-page .post-scenario-grid article,
  .blog-detail-page .post-note,
  .blog-detail-page .keyword-list,
  .blog-detail-page blockquote {
    min-width: 0;
    max-width: 100%;
  }

  .blog-detail-page .post-content {
    width: 100%;
    overflow-wrap: break-word;
  }

  .blog-detail-page .post-content p,
  .blog-detail-page .post-content li,
  .blog-detail-page .post-content strong,
  .blog-detail-page .post-content a,
  .blog-detail-page .post-insight strong,
  .blog-detail-page .post-scenario-grid h3 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .blog-detail-page .post-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .post-scenario-grid {
    grid-template-columns: 1fr;
  }

  .post-table-wrap {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .post-compare-table {
    min-width: 430px;
    table-layout: fixed;
  }

  .post-compare-table th,
  .post-compare-table td {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .post-meta span {
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .blog-detail-page .post-title-compact {
    font-size: clamp(22px, 6.15vw, 27px);
    line-height: 1.16;
  }

  .blog-detail-page .post-content h2 {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.08;
  }

  .blog-detail-page .post-content h3 {
    font-size: clamp(22px, 7vw, 27px);
  }

  .blog-detail-page .post-content p,
  .blog-detail-page .post-content li {
    font-size: 16px;
    line-height: 1.62;
  }

  .post-compare-table {
    min-width: 390px;
  }
}

@media (max-width: 390px) {
  .blog-detail-page .post-title-compact {
    font-size: clamp(21px, 5.95vw, 25px);
  }

  .blog-detail-page .post-meta span,
  .blog-detail-page .keyword-list span,
  .blog-detail-page .article-status {
    font-size: 12px;
    line-height: 1.25;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .motion-layer,
  .motion-node,
  .motion-line,
  .hero-flow-mobile,
  section.hero::before,
  section.hero::after,
  .loss-flow-line,
  .system-flow-section::before,
  .system-flow-layout::before,
  .system-flow-layout::after,
  .flow-map::before,
  .ai-tech-section::before,
  .ai-tech-card::before,
  .ai-flow-step::before,
  .scroll-scene::after,
  .dashboard-shell::before,
  .dashboard-shell::after {
    display: none;
    transform: none !important;
  }

  .scroll-scene .section-head,
  .scroll-scene .scene-card,
  .motion-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .heartbeat-wave-pulse {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
}

.btn,
.site-nav a,
.locale-switch a,
.language-switcher a,
.service-card a,
.service-card .service-result,
.niche-label,
.niche-card-top h3,
.blog-card-meta,
.blog-card-read,
.blog-card-link::after {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.btn,
.service-card a,
.blog-card-link::after {
  font-weight: 680;
}

.niche-card-top h3 {
  font-weight: 600;
}

.service-card .service-result,
.proof-card-top span,
.module-grid article span,
.service-fit-grid span,
.fit-grid span,
.process-steps span,
.eyebrow,
.service-kicker,
.blog-card-meta,
.blog-card-read,
.niche-label {
  font-weight: 680;
  letter-spacing: 0.04em;
}

.service-card p,
.service-card li,
.fit-grid p,
.problem-card-top p,
.niche-card-top p,
.proof-card p,
.process-steps p,
.module-grid article p {
  font-weight: 400;
  line-height: 1.58;
}

.service-card h3,
.proof-card-top strong,
.process-steps h3,
.module-grid article strong,
.niche-card-top h3,
.problem-card-top h3 {
  line-height: 1.12;
}

.proof-card-top strong {
  font-weight: 650;
}

.service-card .service-result {
  line-height: 1.45;
}

.consent-root {
  position: relative;
  z-index: 80;
}

.consent-banner,
.consent-panel {
  color: var(--paper);
  font-family: inherit;
}

.consent-banner[hidden],
.consent-panel[hidden] {
  display: none;
}

.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(244, 240, 229, 0.14);
  border-radius: 8px;
  background: rgba(12, 18, 16, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.consent-copy {
  display: grid;
  gap: 7px;
}

.consent-copy strong,
.consent-panel-head strong {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.consent-copy p,
.consent-panel p,
.consent-option small {
  max-width: 760px;
  margin: 0;
  color: rgba(244, 240, 229, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.consent-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.consent-links a,
.footer-link-button {
  color: rgba(244, 240, 229, 0.72);
  text-decoration: none;
}

.consent-links a:hover,
.footer-link-button:hover {
  color: var(--accent);
}

.consent-actions,
.consent-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-banner button,
.consent-panel button,
.footer-link-button {
  font: inherit;
}

.consent-banner .button-primary,
.consent-banner .button-secondary,
.consent-panel .button-primary,
.consent-panel .button-secondary {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
}

.consent-banner .button-primary,
.consent-panel .button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--paper);
  font-weight: 800;
}

.consent-banner .button-secondary,
.consent-panel .button-secondary {
  border: 1px solid rgba(244, 240, 229, 0.18);
  background: rgba(244, 240, 229, 0.06);
  color: var(--paper);
}

.consent-panel {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 8, 7, 0.62);
}

.consent-panel-card {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(244, 240, 229, 0.16);
  border-radius: 8px;
  background: #111916;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.5);
}

.consent-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.consent-icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 240, 229, 0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.consent-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(244, 240, 229, 0.12);
  border-radius: 8px;
  background: rgba(244, 240, 229, 0.04);
}

.consent-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent-option span {
  display: grid;
  gap: 4px;
}

.consent-option strong {
  color: var(--paper);
  font-size: 15px;
}

.consent-option.is-locked {
  opacity: 0.82;
}

.footer-link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 760px) {
  .consent-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: min(34vh, 188px);
    padding: 12px;
    overflow: auto;
  }

  .consent-copy {
    gap: 5px;
  }

  .consent-copy strong {
    font-size: 12px;
  }

  .consent-copy p {
    font-size: 12px;
    line-height: 1.35;
  }

  .consent-links {
    gap: 12px;
    font-size: 13px;
  }

  .consent-actions,
  .consent-panel-actions {
    justify-content: stretch;
  }

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .consent-banner .button-primary,
  .consent-banner .button-secondary,
  .consent-panel .button-primary,
  .consent-panel .button-secondary {
    flex: 1 1 100%;
  }

  .consent-banner .button-primary,
  .consent-banner .button-secondary {
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
    white-space: normal;
  }

  .consent-banner [data-consent-accept] {
    grid-column: 1 / -1;
    order: 1;
  }

  .consent-banner [data-consent-customize] {
    order: 2;
  }

  .consent-banner [data-consent-reject] {
    order: 3;
  }
}

@media (max-width: 390px) {
  .consent-banner {
    max-height: min(32vh, 172px);
    padding: 10px;
  }

  .consent-copy p {
    font-size: 11.5px;
  }

  .consent-banner .button-primary,
  .consent-banner .button-secondary {
    min-height: 36px;
    font-size: 12.5px;
  }
}

@media (max-width: 1120px) {
  .dashboard-hero-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-copy {
    max-width: 760px;
  }

  .dashboard-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(40px, 7.2vw, 68px);
    overflow-wrap: anywhere;
  }

.dashboard-preview-card {
  width: min(100%, 520px);
}
}

/* QA hardening: keep long multilingual headings and cards inside their boxes. */
h1,
h2,
h3,
.blog-card-link,
.blog-card-link h3,
.service-card,
.service-card h3,
.training-choice-grid h3,
.program-grid h3,
.packages-grid h3,
.about-fit-grid h2,
.service-deliverables h3,
.dashboard-hero-copy h1 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.blog-card-link h3,
.service-card h3,
.training-choice-grid h3,
.program-grid h3,
.packages-grid h3 {
  text-wrap: auto;
}

@media (max-width: 720px) {
  h1,
  h2,
  h3,
  .section-head h2,
  .about-fit-grid h2,
  .about-process h2 {
    text-wrap: auto;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    grid-column: 1 / -1;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 245, 0.96);
    box-shadow: 0 22px 58px rgba(16, 21, 18, 0.14);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .site-nav .language-switcher {
    margin: 8px 0 0;
  }
}

.services .service-card h3,
.service-grid-secondary .service-card h3 {
  hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 720px) {
  .services .service-card h3,
  .service-grid-secondary .service-card h3 {
    font-size: clamp(24px, 7.2vw, 32px);
    line-height: 1.08;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* Final typography guard: keep Cyrillic/Polish words from being chopped mid-word in cards. */
.formats-grid h3,
.formats-grid strong,
.formats-grid a,
.service-card h3,
.service-card a,
.service-card .service-result,
.module-grid strong,
.program-grid h3,
.packages-grid h3,
.training-choice-grid h3,
.fit-grid h3,
.about-fit-grid h2,
.process-steps h3,
.proof-card-top strong,
.blog-card-link h3 {
  hyphens: none;
  word-break: normal;
}

.formats-grid h3,
.service-card h3,
.module-grid strong,
.program-grid h3,
.packages-grid h3,
.training-choice-grid h3,
.fit-grid h3,
.about-fit-grid h2,
.process-steps h3,
.proof-card-top strong,
.blog-card-link h3 {
  overflow-wrap: normal;
}

.formats-grid p,
.formats-grid strong,
.formats-grid a,
.service-card p,
.service-card li,
.service-card a,
.service-card .service-result {
  overflow-wrap: break-word;
  word-break: normal;
}

/* Compact card headings need calmer sizing with the new display font. */
.blog-card-link h3 {
  font-family: var(--font-body);
  font-size: clamp(22px, 1.65vw, 28px);
  font-weight: 760;
  line-height: 1.12;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.blog-card-link p {
  max-width: 31em;
  margin-top: 0;
  font-size: 16px;
  line-height: 1.52;
}

.blog-card-meta {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.blog-card-link::after {
  margin-top: auto;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  transform: none;
}

.blog-grid article.blog-card,
.blog-grid article.blog-card:hover,
.blog-grid article.blog-card.is-focus-active {
  transform: none;
}

.blog-grid article.blog-card:hover .blog-card-link::after,
.blog-grid article.blog-card.is-focus-active .blog-card-link::after {
  color: var(--paper);
  transform: none;
}

.formats-grid h3,
.program-grid h3,
.training-choice-grid h3 {
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.16;
  text-wrap: pretty;
}

.about-fit-grid h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.04;
  text-wrap: balance;
}

.training-choice-grid h3 {
  font-size: clamp(18px, 1.08vw, 20px);
  line-height: 1.2;
}

.training-format-grid h3 {
  font-size: clamp(18px, 1.05vw, 21px);
  line-height: 1.2;
  text-wrap: pretty;
}

@media (min-width: 981px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(340px, 1fr));
  }
}

@media (max-width: 420px) {
  .blog-card-link h3 {
    font-size: 22px;
    line-height: 1.14;
  }

  .about-fit-grid h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.08;
    text-wrap: auto;
    overflow-wrap: break-word;
  }
}

