:root {
  color-scheme: dark;
  --bg-page: #0D171C;
  --bg-section: #111E24;
  --bg-card: #16262D;
  --bg-card-strong: #1B2E36;
  --text-main: #F4F7F5;
  --text-muted: rgba(244, 247, 245, 0.68);
  --text-soft: rgba(244, 247, 245, 0.48);
  --accent-main: #1F7A37;
  --accent-hover: #289544;
  --accent-deep: #14552A;
  --accent-soft: rgba(31, 122, 55, 0.18);
  --accent-glow: rgba(31, 122, 55, 0.22);
  --accent-border: rgba(31, 122, 55, 0.42);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.26);
  --font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg-page);
}

body {
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-main);
  font-family: var(--font);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 24%),
    var(--bg-page);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.24;
  background:
    radial-gradient(circle at 74% 12%, rgba(31, 122, 55, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 44%);
  mask-image: linear-gradient(180deg, #000, transparent 64%);
}

body::after {
  content: "";
  position: fixed;
  inset: -160px -8% auto;
  z-index: -3;
  height: 620px;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(circle at 18% 18%, var(--accent-glow), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(31, 122, 55, 0.12), transparent 34%);
  filter: blur(28px);
  animation: ambientDrift 16s ease-in-out infinite alternate;
}

main {
  position: relative;
  max-width: 100%;
  overflow-x: clip;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 860;
  overflow-wrap: normal;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.2;
  font-weight: 800;
  text-wrap: balance;
}

p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.58;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-inner {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.section-band {
  position: relative;
  padding: 82px 0;
  border-top: 1px solid var(--line-soft);
  overflow: visible;
}

.section-band:nth-of-type(even) {
  background: rgba(17, 30, 36, 0.74);
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.section-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 30;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  background: #0D171C;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: none;
}

.nav-shell {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(17, 30, 36, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  position: relative;
  z-index: 50;
}

.brand-logo {
  width: 286px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  transition: color 170ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-hover);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 170ms ease, transform 170ms ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-menu-toggle {
  display: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 50;
}

.button {
  position: relative;
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.045);
  font-size: 16px;
  font-weight: 780;
  line-height: 1.12;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58% 100%);
  transform: translateX(-112%);
  transition: transform 560ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 149, 68, 0.56);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24), 0 0 0 4px rgba(31, 122, 55, 0.07);
}

.button:hover::before {
  transform: translateX(112%);
}

.button:active,
.button.is-touched {
  transform: translateY(-1px) scale(0.99);
  border-color: rgba(40, 149, 68, 0.68);
  box-shadow: 0 14px 34px rgba(31, 122, 55, 0.24), 0 0 0 4px rgba(31, 122, 55, 0.1);
}

.button:focus-visible,
.question-button:focus-visible,
.nav-menu-toggle:focus-visible,
.crm-tabs button:focus-visible {
  outline: 2px solid rgba(40, 149, 68, 0.82);
  outline-offset: 3px;
}

.button-primary {
  color: var(--text-main);
  border-color: var(--accent-border);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--accent-main), var(--accent-deep));
  box-shadow: 0 18px 44px rgba(31, 122, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-primary:hover {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.22), transparent 44%),
    linear-gradient(135deg, var(--accent-hover), var(--accent-main));
  box-shadow: 0 26px 62px rgba(31, 122, 55, 0.36), 0 0 0 6px rgba(31, 122, 55, 0.12);
}

.button-secondary {
  color: var(--text-main);
}

.button-small {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 14px;
}

.nav-cta {
  position: relative;
  z-index: 50;
}

.cta-short {
  display: none;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: clamp(28px, 4.6vh, 54px) 0 clamp(44px, 6vh, 70px);
  border-top: 0;
  overflow: visible;
  background:
    radial-gradient(circle at 78% 46%, rgba(31, 122, 55, 0.30), transparent 28%),
    radial-gradient(circle at 32% 84%, rgba(31, 122, 55, 0.10), transparent 24%),
    radial-gradient(ellipse at 52% 100%, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(180deg, #0B1418 0%, #0D171C 58%, var(--bg-page) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  height: auto;
  pointer-events: none;
  background:
    radial-gradient(ellipse 56% 32% at 78% 48%, rgba(31, 122, 55, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 46%);
  opacity: 0.62;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 7% auto;
  width: min(34vw, 460px);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 122, 55, 0.22), transparent 68%);
  filter: blur(22px);
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.hero-copy {
  max-width: 760px;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 24px;
  color: rgba(244, 247, 245, 0.78);
  font-size: 17.5px;
  line-height: 1.54;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.microcopy {
  margin: 15px 0 0;
  color: rgba(201, 211, 207, 0.82);
  font-size: 14.5px;
  line-height: 1.48;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 16px;
}

.hero-proof span {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  color: rgba(244, 247, 245, 0.76);
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.018);
  font-size: 13px;
  font-weight: 760;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, color 170ms ease;
}

.hero-proof strong {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(31, 122, 55, 0.2);
  font-size: 12px;
  font-weight: 900;
}

.hero-proof small {
  font-size: 12.8px;
  font-weight: 760;
  line-height: 1.2;
}

.hero-proof span:hover,
.hero-proof span.is-touched {
  transform: translateY(-2px);
  border-color: rgba(40, 149, 68, 0.42);
  color: var(--text-main);
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.2), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.024);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 0 96px 0;
}

.portrait-card {
  position: relative;
  width: min(100%, 398px);
  margin: 0;
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(31, 122, 55, 0.46);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--glow-x, 56%) var(--glow-y, 26%), rgba(31, 122, 55, 0.25), transparent 36%),
    linear-gradient(180deg, #1A2B32, #081014 86%);
  filter: drop-shadow(0 38px 74px rgba(0, 0, 0, 0.48));
  box-shadow: 0 0 0 1px rgba(31, 122, 55, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 48%, rgba(0, 0, 0, 0.18));
}

.portrait-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 149, 68, 0.72);
  filter: drop-shadow(0 42px 74px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 24px rgba(31, 122, 55, 0.14));
  box-shadow: 0 0 0 1px rgba(40, 149, 68, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portrait-card.is-touched {
  transform: translateY(-3px) scale(0.995);
  border-color: rgba(40, 149, 68, 0.72);
  filter: drop-shadow(0 38px 76px rgba(0, 0, 0, 0.5));
  box-shadow: 0 0 0 1px rgba(40, 149, 68, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portrait-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.28;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(180deg, transparent 66%, rgba(0, 0, 0, 0.42)),
    var(--bg-card);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: object-position 240ms ease, filter 240ms ease;
}

.portrait-card:hover .portrait-frame img {
  object-position: 50% 28%;
  filter: saturate(1.04) contrast(1.02);
}

.portrait-card figcaption {
  display: none;
  position: relative;
  z-index: 2;
  margin-top: 12px;
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: rgba(9, 17, 22, 0.34);
  transition: border-color 190ms ease, background 190ms ease, transform 190ms ease;
}

.portrait-card:hover figcaption {
  border-color: rgba(40, 149, 68, 0.36);
  background: rgba(9, 17, 22, 0.42);
  transform: translateY(-1px);
}

.portrait-card figcaption span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
}

.portrait-card strong,
.portrait-card small,
.portrait-card em {
  display: block;
}

.portrait-card strong {
  color: var(--text-main);
  font-size: 16.5px;
  line-height: 1.22;
  font-weight: 900;
}

.portrait-card small {
  color: rgba(244, 247, 245, 0.58);
  font-size: 12.8px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.38;
  white-space: nowrap;
}

.portrait-card small::before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  margin: 0 7px 2px 0;
  border-radius: 999px;
  background: var(--accent-hover);
  box-shadow: 0 0 14px rgba(40, 149, 68, 0.36);
}

.system-signal {
  width: min(100%, 420px);
  display: grid;
  gap: 5px;
  justify-self: center;
  padding: 14px 16px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.2), rgba(255, 255, 255, 0.035)),
    rgba(9, 17, 22, 0.84);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.system-signal span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.system-signal strong {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.25;
}

.routine-card {
  position: absolute;
  left: 50%;
  bottom: -8px;
  z-index: 4;
  width: min(94%, 360px);
  display: grid;
  gap: 11px;
  justify-self: auto;
  margin-top: 0;
  padding: 15px 16px 16px;
  border: 1px solid rgba(31, 122, 55, 0.48);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--glow-x, 74%) var(--glow-y, 18%), rgba(31, 122, 55, 0.22), transparent 40%),
    linear-gradient(145deg, rgba(17, 30, 36, 0.94), rgba(8, 15, 19, 0.9));
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 24px rgba(31, 122, 55, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(31, 122, 55, 0.25);
  transform: translateX(-50%);
  transition: transform 210ms ease, border-color 210ms ease, filter 210ms ease, background 210ms ease;
}

.routine-card:hover,
.routine-card.is-touched {
  transform: translateX(-50%) translateY(-5px);
  border-color: rgba(40, 149, 68, 0.7);
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 36px rgba(31, 122, 55, 0.18));
}

.routine-card small {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.routine-card strong {
  max-width: 310px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.22;
  font-weight: 880;
}

.routine-card p {
  margin: 0;
  color: rgba(244, 247, 245, 0.64);
  font-size: 12.8px;
  line-height: 1.35;
}

.routine-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.routine-flow span {
  min-height: 30px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid rgba(31, 122, 55, 0.42);
  border-radius: 999px;
  color: rgba(244, 247, 245, 0.8);
  background: rgba(31, 122, 55, 0.14);
  font-size: 11.5px;
  font-weight: 820;
}

.routine-flow b,
.routine-flow em {
  display: block;
  font-style: normal;
  line-height: 1.1;
}

.routine-flow em {
  margin-top: 3px;
  color: rgba(244, 247, 245, 0.48);
  font-size: 10px;
  font-weight: 760;
}

.routine-flow i {
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--accent-hover), transparent),
    rgba(255, 255, 255, 0.08);
  transform-origin: left center;
}

.routine-meter {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.routine-meter span {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.routine-meter i {
  content: "";
  display: block;
  width: var(--line);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover));
  box-shadow: 0 0 18px rgba(40, 149, 68, 0.28);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 920ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.routine-card.is-visible .routine-meter i {
  transform: scaleX(1);
}

.contour-grid,
.method-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.2), transparent 1px) 0 50% / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(31, 122, 55, 0.16), transparent 1px) 33.33% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(31, 122, 55, 0.16), transparent 1px) 66.66% 0 / 1px 100% no-repeat,
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.method-grid {
  padding: 0;
  border: 0;
  background:
    linear-gradient(90deg, transparent 0 31%, rgba(31, 122, 55, 0.18) 31% 32%, transparent 32% 65%, rgba(31, 122, 55, 0.18) 65% 66%, transparent 66%),
    linear-gradient(180deg, transparent 0 31%, rgba(31, 122, 55, 0.18) 31% 32%, transparent 32% 65%, rgba(31, 122, 55, 0.18) 65% 66%, transparent 66%);
  background-size: 100% 100%, 100% 100%;
  box-shadow: none;
}

.contour-summary {
  max-width: none;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  color: var(--text-main);
  background: var(--accent-soft);
  font-weight: 780;
  text-align: center;
}

.zone-card,
.lead-card,
.audience-card,
.module-card,
.method-node,
.diagnostic-result,
.trust-card,
.format-card,
.control-card,
.question-item,
.final-panel {
  position: relative;
  overflow: visible;
  isolation: isolate;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(22, 38, 45, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.zone-card::before,
.lead-card::before,
.audience-card::before,
.module-card::before,
.method-node::before,
.diagnostic-result::before,
.trust-card::before,
.format-card::before,
.control-card::before,
.final-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 12%), var(--accent-glow), transparent 34%);
  transition: opacity 190ms ease;
}

.zone-card:hover,
.zone-card.is-touched,
.lead-card:hover,
.lead-card.is-touched,
.audience-card:hover,
.audience-card.is-touched,
.module-card:hover,
.module-card.is-touched,
.method-node:hover,
.method-node.is-touched,
.diagnostic-result:hover,
.diagnostic-result.is-touched,
.trust-card:hover,
.trust-card.is-touched,
.format-card:hover,
.format-card.is-touched,
.control-card:hover,
.control-card.is-touched,
.question-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  background: var(--bg-card-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  filter: drop-shadow(0 0 18px rgba(31, 122, 55, 0.08));
}

.zone-card:hover::before,
.zone-card.is-touched::before,
.lead-card:hover::before,
.lead-card.is-touched::before,
.audience-card:hover::before,
.audience-card.is-touched::before,
.module-card:hover::before,
.module-card.is-touched::before,
.method-node:hover::before,
.method-node.is-touched::before,
.diagnostic-result:hover::before,
.diagnostic-result.is-touched::before,
.trust-card:hover::before,
.trust-card.is-touched::before,
.format-card:hover::before,
.format-card.is-touched::before,
.control-card:hover::before,
.control-card.is-touched::before,
.final-panel:hover::before,
.final-panel.is-touched::before {
  opacity: 1;
}

.zone-card > *,
.lead-card > *,
.audience-card > *,
.module-card > *,
.method-node > *,
.diagnostic-result > *,
.trust-card > *,
.format-card > *,
.control-card > *,
.final-panel > * {
  position: relative;
  z-index: 1;
}

.zone-card {
  min-height: 184px;
  padding: 22px;
}

.zone-card p,
.module-card p,
.method-node p,
.trust-card p,
.format-card p,
.control-card p,
.diagnostic-result p {
  margin-bottom: 0;
  font-size: 15.5px;
}

.line-icon {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-grid;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
}

.line-icon svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  overflow: visible;
  stroke: var(--accent-hover);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.line-icon:has(svg)::before,
.line-icon:has(svg)::after {
  content: none;
}

.zone-card:hover .line-icon,
.zone-card.is-touched .line-icon,
.module-card:hover .line-icon,
.module-card.is-touched .line-icon,
.control-card:hover .line-icon,
.control-card.is-touched .line-icon,
.diagnostic-core:hover .line-icon,
.diagnostic-core.is-touched .line-icon {
  border-color: rgba(40, 149, 68, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(31, 122, 55, 0.22);
  box-shadow: 0 0 0 5px rgba(31, 122, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.icon-content::before { width: 20px; height: 22px; border: 2px solid var(--accent-hover); border-radius: 4px; background: linear-gradient(180deg, transparent 0 22%, rgba(40, 149, 68, 0.22) 22% 28%, transparent 28%); }
.icon-content::after { width: 12px; height: 2px; background: var(--accent-hover); border: 0; box-shadow: 0 5px 0 var(--accent-hover), 0 10px 0 var(--accent-hover); transform: translate(1px, 0); }
.icon-chat::before { width: 25px; height: 18px; border: 2px solid var(--accent-hover); border-radius: 7px; box-shadow: inset 6px 0 0 rgba(40, 149, 68, 0.14); }
.icon-chat::after { width: 12px; height: 2px; background: var(--accent-hover); border: 0; box-shadow: -5px 0 0 var(--accent-hover), 5px 0 0 var(--accent-hover), 0 6px 0 var(--accent-hover); transform: translate(0, -1px); }
.icon-lead::before { width: 24px; height: 18px; border: 2px solid var(--accent-hover); border-radius: 5px; background: linear-gradient(135deg, transparent 48%, rgba(40, 149, 68, 0.22) 49%); }
.icon-lead::after { width: 14px; height: 9px; border-right: 2px solid var(--accent-hover); border-bottom: 2px solid var(--accent-hover); transform: translate(1px, -1px) rotate(42deg); }
.icon-crm::before { width: 25px; height: 21px; border: 2px solid var(--accent-hover); border-radius: 4px; background: linear-gradient(90deg, transparent 31%, rgba(40, 149, 68, 0.42) 31% 36%, transparent 36% 64%, rgba(40, 149, 68, 0.42) 64% 69%, transparent 69%), linear-gradient(180deg, transparent 31%, rgba(40, 149, 68, 0.42) 31% 37%, transparent 37% 64%, rgba(40, 149, 68, 0.42) 64% 70%, transparent 70%); }
.icon-crm::after { width: 25px; height: 2px; top: 13px; background: var(--accent-hover); border: 0; opacity: .75; }
.icon-return::before { width: 25px; height: 25px; border: 2px solid var(--accent-hover); border-radius: 50%; border-right-color: transparent; transform: rotate(-30deg); }
.icon-return::after { width: 9px; height: 9px; border-top: 2px solid var(--accent-hover); border-left: 2px solid var(--accent-hover); transform: translate(-9px, -8px) rotate(-8deg); }
.icon-case::before { width: 25px; height: 17px; border: 2px solid var(--accent-hover); border-radius: 4px; transform: translateY(3px); }
.icon-case::after { content: "★★★★★"; width: auto; height: auto; color: var(--accent-hover); background: transparent; border: 0; font-size: 8px; font-weight: 900; line-height: 1; transform: translate(0, -5px); }
.icon-pack::before,
.icon-offer::before { width: 24px; height: 24px; border: 2px solid var(--accent-hover); border-radius: 5px; }
.icon-pack::after,
.icon-offer::after { width: 18px; height: 18px; border: 2px solid var(--accent-hover); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.icon-ai::before { width: 5px; height: 5px; background: var(--accent-hover); border: 0; border-radius: 50%; box-shadow: -10px -5px 0 var(--accent-hover), 9px -7px 0 var(--accent-hover), -6px 10px 0 var(--accent-hover), 10px 8px 0 var(--accent-hover); }
.icon-ai::after { width: 24px; height: 20px; border: 2px solid var(--accent-hover); border-inline-color: transparent; border-radius: 50%; transform: rotate(-18deg); }
.icon-editorial::before { width: 24px; height: 18px; border: 2px solid var(--accent-hover); border-radius: 4px; box-shadow: 6px 6px 0 rgba(40, 149, 68, 0.2); transform: translate(-3px, -3px); }
.icon-editorial::after { width: 12px; height: 2px; background: var(--accent-hover); border: 0; box-shadow: 0 6px 0 var(--accent-hover); transform: translate(-2px, -3px); }
.icon-dialog::before { width: 25px; height: 18px; border: 2px solid var(--accent-hover); border-radius: 8px; }
.icon-dialog::after { width: 6px; height: 6px; background: var(--accent-hover); border: 0; border-radius: 50%; box-shadow: -8px 0 0 var(--accent-hover), 8px 0 0 var(--accent-hover); transform: translateY(-1px); }
.icon-board::before { width: 25px; height: 21px; border: 2px solid var(--accent-hover); border-radius: 4px; background: linear-gradient(90deg, transparent 45%, rgba(40, 149, 68, 0.38) 45% 53%, transparent 53%), linear-gradient(180deg, transparent 34%, rgba(40, 149, 68, 0.38) 34% 42%, transparent 42% 68%, rgba(40, 149, 68, 0.38) 68% 76%, transparent 76%); }
.icon-board::after { width: 5px; height: 5px; background: var(--accent-hover); border: 0; border-radius: 50%; box-shadow: 9px 0 0 var(--accent-hover), 0 8px 0 var(--accent-hover), 9px 8px 0 var(--accent-hover); transform: translate(-5px, -4px); }
.icon-auto::before { width: 24px; height: 16px; border: 2px solid var(--accent-hover); border-left-color: transparent; border-radius: 999px; transform: rotate(-18deg); }
.icon-auto::after { width: 10px; height: 10px; border-top: 2px solid var(--accent-hover); border-right: 2px solid var(--accent-hover); transform: translate(8px, -6px) rotate(45deg); }
.icon-repeat::before { width: 25px; height: 19px; border: 2px solid var(--accent-hover); border-left-color: transparent; border-radius: 999px; transform: rotate(-12deg); }
.icon-repeat::after { width: 9px; height: 9px; border-top: 2px solid var(--accent-hover); border-right: 2px solid var(--accent-hover); transform: translate(9px, -7px) rotate(45deg); }
.icon-quality::before { width: 24px; height: 22px; border: 2px solid var(--accent-hover); clip-path: polygon(50% 0, 100% 24%, 84% 100%, 16% 100%, 0 24%); }
.icon-quality::after { width: 12px; height: 6px; border-left: 2px solid var(--accent-hover); border-bottom: 2px solid var(--accent-hover); transform: rotate(-45deg); }
.icon-shield-check::before { width: 23px; height: 25px; border: 2px solid var(--accent-hover); clip-path: polygon(50% 0, 94% 18%, 82% 86%, 50% 100%, 18% 86%, 6% 18%); }
.icon-shield-check::after { width: 12px; height: 7px; border-left: 2px solid var(--accent-hover); border-bottom: 2px solid var(--accent-hover); transform: rotate(-45deg); }
.icon-status::before { width: 22px; height: 2px; background: var(--accent-hover); border: 0; box-shadow: 0 -7px 0 var(--accent-hover), 0 7px 0 var(--accent-hover); transform: translateX(3px); }
.icon-status::after { width: 5px; height: 5px; background: var(--accent-hover); border: 0; border-radius: 50%; box-shadow: 0 -7px 0 var(--accent-hover), 0 7px 0 var(--accent-hover); transform: translateX(-11px); }
.icon-rules::before { width: 22px; height: 20px; border: 2px solid var(--accent-hover); border-radius: 4px; }
.icon-rules::after { width: 14px; height: 7px; border-left: 2px solid var(--accent-hover); border-bottom: 2px solid var(--accent-hover); transform: translate(2px, -1px) rotate(-45deg); }
.icon-logs::before { width: 20px; height: 24px; border: 2px solid var(--accent-hover); border-radius: 3px; box-shadow: -4px 3px 0 rgba(40, 149, 68, 0.22); }
.icon-logs::after { width: 12px; height: 2px; background: var(--accent-hover); border: 0; box-shadow: 0 6px 0 var(--accent-hover), 0 -6px 0 var(--accent-hover); }
.icon-human::before { width: 23px; height: 18px; border: 2px solid var(--accent-hover); border-radius: 5px; background: linear-gradient(90deg, transparent 43%, rgba(40, 149, 68, 0.36) 43% 51%, transparent 51%); }
.icon-human::after { width: 12px; height: 7px; border-left: 2px solid var(--accent-hover); border-bottom: 2px solid var(--accent-hover); transform: translate(0, 0) rotate(-45deg); }

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.lead-card {
  min-width: 0;
  padding: 24px;
}

.lead-card-table {
  padding: 18px;
  align-self: start;
  background:
    radial-gradient(circle at 72% 18%, rgba(31, 122, 55, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(22, 38, 45, 0.88)),
    var(--bg-card);
}

.lead-card-plan {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px 28px;
  align-items: start;
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 122, 55, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(17, 30, 36, 0.96)),
    #111E24;
}

.lead-card-plan > h3,
.lead-card-plan > p,
.lead-card-plan .plan-visual {
  grid-column: 1 / 2;
}

.lead-card-plan > p {
  margin-bottom: 0;
}

.lead-card-plan .plan-list {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
  align-self: stretch;
}

.lead-card-plan .plan-list li {
  min-height: 64px;
}

.card-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--text-main);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 780;
}

.crm-shell {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 122, 55, 0.48);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--glow-x, 70%) var(--glow-y, 20%), rgba(31, 122, 55, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(13, 23, 28, 0.86));
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.4), 0 0 0 7px rgba(31, 122, 55, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.crm-topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 13px;
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.26), rgba(255, 255, 255, 0.04)),
    rgba(9, 17, 22, 0.72);
}

.crm-topbar i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-main);
  opacity: 0.8;
}

.crm-topbar strong {
  color: var(--text-main);
  font-size: 20px;
  font-weight: 860;
}

.crm-title {
  display: grid;
  gap: 3px;
  margin-left: 7px;
}

.crm-title small {
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.28;
}

.sheet-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 245, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(8, 15, 19, 0.62);
  font-size: 12.5px;
  font-weight: 740;
}

.sheet-toolbar .sheet-menu {
  color: var(--text-main);
}

.sheet-toolbar .sheet-state {
  margin-left: auto;
  color: rgba(40, 149, 68, 0.96);
}

.crm-tabs,
.crm-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px 16px 0;
}

.crm-tabs button,
.crm-statuses span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 760;
}

.sheet-formula {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  margin: 14px 16px 0;
  color: rgba(244, 247, 245, 0.66);
  font-size: 13px;
}

.sheet-formula span,
.sheet-formula strong {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.sheet-formula span {
  justify-content: center;
  color: var(--text-soft);
  font-weight: 850;
}

.sheet-formula strong {
  overflow: hidden;
  color: rgba(244, 247, 245, 0.76);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crm-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.crm-tabs button:hover,
.crm-tabs button.is-active,
.crm-tabs button.is-touched {
  color: var(--text-main);
  border-color: var(--accent-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--accent-soft);
}

.crm-statuses span {
  min-height: auto;
  gap: 7px;
  padding: 0;
  color: rgba(244, 247, 245, 0.68);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.crm-statuses span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-hover);
  box-shadow: 0 0 10px rgba(40, 149, 68, 0.24);
}

.table-wrap {
  max-width: 100%;
  margin: 18px 16px 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(13, 23, 28, 0.82);
  scrollbar-color: var(--accent-main) rgba(255, 255, 255, 0.06);
}

.crm-table {
  min-width: 1220px;
}

.crm-row {
  display: grid;
  grid-template-columns: 46px 82px 82px 106px 126px 194px 142px 150px 92px 150px 150px;
  border-top: 1px solid var(--line-soft);
  transition: background 160ms ease, color 160ms ease;
}

.crm-row:first-child {
  border-top: 0;
}

.crm-row span {
  min-width: 0;
  padding: 13px 9px;
  color: rgba(244, 247, 245, 0.74);
  font-size: 14px;
  line-height: 1.38;
  border-left: 1px solid var(--line-soft);
}

.sheet-cols span {
  min-height: 30px;
  padding: 6px 9px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.026);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.crm-row span:first-child {
  border-left: 0;
}

.crm-head span {
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    #091116;
  font-weight: 800;
}

.crm-row:not(.crm-head):hover {
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.18), transparent 72%),
    rgba(255, 255, 255, 0.035);
}

.crm-row:not(.crm-head):hover span,
.crm-row:not(.crm-head).is-touched span {
  color: var(--text-main);
}

.crm-row:not(.crm-head).is-touched {
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.2), transparent 72%),
    rgba(255, 255, 255, 0.04);
}

.status-text {
  display: inline-flex;
  align-items: center;
  color: rgba(148, 226, 166, 0.95);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.status-text::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(40, 149, 68, 0.28);
}

.status-new {
  color: rgba(244, 247, 245, 0.78);
}

.status-work {
  color: rgba(118, 205, 146, 0.96);
}

.status-return {
  color: rgba(201, 211, 207, 0.68);
}

.plan-visual {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(31, 122, 55, 0.46);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 20%, rgba(31, 122, 55, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(31, 122, 55, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(9, 17, 22, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.plan-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.plan-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover));
  box-shadow: 0 0 24px rgba(31, 122, 55, 0.28);
}

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

.plan-zones span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 780;
  text-align: center;
}

.plan-result {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.plan-result:hover,
.plan-result.is-touched {
  transform: translateY(-2px);
  border-color: rgba(40, 149, 68, 0.68);
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 122, 55, 0.2), transparent 34%),
    var(--accent-soft);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.plan-result small {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.plan-result strong {
  color: var(--text-main);
  font-size: 22px;
  line-height: 1.12;
}

.plan-result p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.plan-list li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-main);
  font-weight: 740;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.plan-list li:hover,
.plan-list li.is-touched {
  transform: translateX(4px);
  border-color: var(--accent-border);
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.plan-list span,
.method-node span,
.trust-card span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--text-main);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.route-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.route-strip::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, var(--accent-hover), transparent),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58% 100%);
  background-size: 100% 100%, 220% 100%;
  transform: translateY(-50%);
  animation: lineFlow 5.8s ease-in-out infinite;
}

.route-strip span {
  position: relative;
  z-index: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(17, 30, 36, 0.96);
  font-weight: 800;
  text-align: center;
}

.section-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 50%, rgba(31, 122, 55, 0.26), transparent 28%),
    var(--accent-soft);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.section-action .microcopy {
  max-width: 760px;
  min-width: min(100%, 440px);
  margin: 0;
}

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

.audience-section .section-heading {
  margin-bottom: 24px;
}

.audience-card,
.format-card {
  min-height: 260px;
  padding: 26px;
}

.audience-card {
  display: grid;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(22, 38, 45, 0.88)),
    var(--bg-card);
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 0 5px rgba(31, 122, 55, 0.055);
}

.audience-card h2 {
  font-size: clamp(25px, 2.5vw, 34px);
}

.audience-card ul {
  display: grid;
  gap: 12px;
}

.audience-card li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  line-height: 1.45;
}

.audience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-deep);
  box-shadow: 0 0 0 5px rgba(31, 122, 55, 0.11);
}

.audience-early li::before {
  background: rgba(201, 211, 207, 0.42);
  box-shadow: 0 0 0 5px rgba(201, 211, 207, 0.075);
}

.module-map {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(31, 122, 55, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 48%), rgba(31, 122, 55, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.018);
  box-shadow: var(--shadow-soft);
}

.module-map::before,
.module-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(31, 122, 55, 0.42), transparent);
}

.module-map::before {
  left: 5%;
  right: 5%;
  top: 154px;
  height: 2px;
}

.module-map::after {
  display: none;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(31, 122, 55, 0.36), transparent);
}

.module-core {
  position: relative;
  left: auto;
  top: auto;
  z-index: 3;
  width: 218px;
  min-height: 104px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(40, 149, 68, 0.72);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(135deg, var(--accent-deep), var(--accent-main)),
    var(--bg-card);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.44), 0 0 0 10px rgba(31, 122, 55, 0.1), 0 0 58px rgba(31, 122, 55, 0.18);
  text-align: center;
  justify-self: center;
  transform: none;
}

.module-core strong {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 900;
}

.module-core span {
  color: rgba(244, 247, 245, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

.module-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  min-height: 218px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(22, 38, 45, 0.88)),
    var(--bg-card);
}

.module-a,
.module-f {
  background:
    linear-gradient(180deg, rgba(31, 122, 55, 0.14), rgba(22, 38, 45, 0.9)),
    var(--bg-card);
}

.module-c,
.module-d {
  border-color: rgba(31, 122, 55, 0.36);
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 122, 55, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(22, 38, 45, 0.88));
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 149, 68, 0.62);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(31, 122, 55, 0.06);
}

.method-node {
  min-height: 168px;
  padding: 20px;
}

.method-node {
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 122, 55, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(22, 38, 45, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.method-node::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms ease;
}

.method-node:hover::after,
.method-node.is-touched::after,
.method-node.is-visible::after {
  transform: scaleX(1);
}

.method-node:hover span,
.method-node.is-touched span {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-main));
  box-shadow: 0 0 0 5px rgba(31, 122, 55, 0.08);
}

.method-node span,
.trust-card span {
  margin-bottom: 14px;
}

.diagnostic-map {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), var(--accent-glow), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.018);
  box-shadow: var(--shadow-soft);
}

.diagnostic-map::before {
  content: "";
  position: absolute;
  inset: 22px;
  pointer-events: none;
  border: 1px solid rgba(31, 122, 55, 0.18);
  border-radius: var(--radius);
}

.diagnostic-core {
  position: relative;
  z-index: 2;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  place-content: center;
  gap: 8px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 85, 42, 0.72), rgba(31, 122, 55, 0.34)),
    rgba(9, 17, 22, 0.78);
  box-shadow: 0 0 0 7px rgba(31, 122, 55, 0.08), var(--shadow-soft);
  text-align: center;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease, box-shadow 190ms ease;
}

.diagnostic-core:hover,
.diagnostic-core.is-touched {
  transform: translateY(-3px);
  border-color: rgba(40, 149, 68, 0.72);
  box-shadow: 0 0 0 9px rgba(31, 122, 55, 0.1), var(--shadow-soft);
}

.diagnostic-core .line-icon {
  margin-bottom: 6px;
}

.diagnostic-core strong {
  color: var(--text-main);
  font-size: 22px;
  font-weight: 860;
}

.diagnostic-core p {
  max-width: 260px;
  margin: 0;
  font-size: 14px;
}

.diagnostic-result {
  min-height: 146px;
  padding: 20px;
}

.diagnostic-result::after {
  content: "";
  position: absolute;
  inset: auto 20px 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-hover), transparent);
  opacity: 0;
  transform: translateY(8px) scaleX(0.5);
  transform-origin: left center;
  transition: opacity 260ms ease, transform 260ms ease;
}

.diagnostic-result:hover,
.diagnostic-result.is-touched {
  transform: translateY(-4px) scale(1.008);
}

.diagnostic-result:hover::after,
.diagnostic-result.is-touched::after {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

.result-a { grid-column: 1 / 2; grid-row: 1 / 2; }
.result-b { grid-column: 3 / 4; grid-row: 1 / 2; }
.result-c { grid-column: 1 / 2; grid-row: 2 / 3; }
.result-d { grid-column: 3 / 4; grid-row: 2 / 3; }
.result-e { grid-column: 1 / 4; grid-row: 3 / 4; }

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

.artem-grid {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(31, 122, 55, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 8%, rgba(31, 122, 55, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.018);
  box-shadow: var(--shadow-soft);
}

.artem-grid::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(40, 149, 68, 0.58), transparent);
}

.trust-card,
.control-card {
  min-height: 214px;
  padding: 22px;
}

.trust-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(22, 38, 45, 0.9)),
    var(--bg-card);
}

.trust-card span {
  border-radius: var(--radius);
}

.trust-card:nth-child(2),
.trust-card:nth-child(3) {
  border-color: rgba(31, 122, 55, 0.3);
  background:
    radial-gradient(circle at 18% 16%, rgba(31, 122, 55, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(22, 38, 45, 0.9));
}

.trust-card:hover span,
.trust-card.is-touched span {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-main));
}

.control-card .line-icon {
  margin-bottom: 16px;
}

.format-card {
  min-height: 264px;
  display: grid;
  align-content: start;
  background:
    linear-gradient(145deg, rgba(31, 122, 55, 0.1), transparent 42%),
    rgba(22, 38, 45, 0.88);
}

.format-partner {
  border-color: var(--accent-border);
  background:
    radial-gradient(circle at 82% 14%, rgba(31, 122, 55, 0.22), transparent 34%),
    linear-gradient(135deg, var(--accent-soft), rgba(22, 38, 45, 0.9));
}

.format-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.format-badge {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--text-main);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.format-head strong {
  color: var(--text-main);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.12;
}

.support-strip {
  margin-top: 18px;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.support-strip strong {
  color: var(--text-main);
  font-size: 18px;
}

.support-strip p {
  margin: 0;
}

.accordion {
  display: grid;
  gap: 12px;
}

.question-item {
  background: rgba(22, 38, 45, 0.8);
}

.question-item:has(.question-button[aria-expanded="true"]) {
  border-color: rgba(40, 149, 68, 0.58);
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.14), transparent 68%),
    rgba(22, 38, 45, 0.92);
}

.question-button {
  width: 100%;
  min-height: 70px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.question-button:hover,
.question-button.is-touched {
  background:
    linear-gradient(90deg, rgba(31, 122, 55, 0.13), transparent 74%),
    rgba(255, 255, 255, 0.018);
}

.question-button span {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.question-button b {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
}

.question-button b::before,
.question-button b::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.question-button b::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.question-button[aria-expanded="true"] b::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.question-button:hover b,
.question-button.is-touched b,
.question-button[aria-expanded="true"] b {
  border-color: rgba(40, 149, 68, 0.72);
  background: rgba(31, 122, 55, 0.26);
  box-shadow: 0 0 0 5px rgba(31, 122, 55, 0.08);
}

.question-answer {
  display: grid;
  grid-template-rows: 1fr;
  padding: 0 22px 20px;
  animation: accordionOpen 190ms ease;
}

.question-answer[hidden] {
  display: none !important;
}

.question-answer p {
  max-width: 920px;
  margin: 0;
  font-size: 15.5px;
}

.final-section {
  padding-top: 58px;
}

.final-panel {
  padding: 44px;
  border-color: rgba(40, 149, 68, 0.54);
  background:
    radial-gradient(circle at var(--glow-x, 82%) var(--glow-y, 22%), rgba(31, 122, 55, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(31, 122, 55, 0.2), rgba(255, 255, 255, 0.045)),
    var(--bg-card);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.34), 0 0 0 7px rgba(31, 122, 55, 0.055);
}

.final-panel h2,
.final-panel p {
  max-width: 760px;
}

.final-panel .button {
  margin-top: 10px;
}

.site-footer {
  padding: 58px 0 30px;
  border-top: 1px solid rgba(31, 122, 55, 0.24);
  background:
    radial-gradient(circle at 18% 0, rgba(31, 122, 55, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.035), transparent 22%),
    linear-gradient(180deg, #0A1217, #071014);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(240px, 0.42fr);
  gap: 42px;
  align-items: start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
  font-size: 24px;
  font-weight: 900;
}

.footer-brand span {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-weight: 760;
}

.footer-brand p {
  max-width: 700px;
  margin: 0;
  font-size: 15.5px;
}

.footer-contacts {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-contacts strong {
  color: var(--text-soft);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 4px 10px 4px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  transition: color 160ms ease, transform 160ms ease, filter 160ms ease, border-color 160ms ease, background 160ms ease;
}

.footer-contacts a:hover {
  color: var(--text-main);
  border-color: rgba(31, 122, 55, 0.28);
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(3px);
  filter: drop-shadow(0 0 14px rgba(31, 122, 55, 0.18));
}

.footer-contacts a.is-touched {
  color: var(--text-main);
  border-color: rgba(31, 122, 55, 0.32);
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(2px);
  filter: drop-shadow(0 0 12px rgba(31, 122, 55, 0.16));
}

.footer-contacts svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  flex: 0 0 auto;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--accent-soft);
  stroke: var(--text-main);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: none;
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 760ms ease,
    clip-path 760ms cubic-bezier(0.2, 0.82, 0.2, 1),
    mask-position 900ms cubic-bezier(0.2, 0.82, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter, clip-path;
}

.motion-child {
  filter: none;
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 680ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js-motion-ready .reveal:not(.is-visible),
.js-motion-ready .motion-child:not(.is-visible) {
  opacity: .001;
  filter: blur(12px);
  transform: translateY(46px) scale(0.965);
}

.js-motion-ready [data-motion="slide-left"]:not(.is-visible) {
  transform: translateX(-38px) scale(0.98);
}

.js-motion-ready [data-motion="slide-right"]:not(.is-visible) {
  transform: translateX(38px) scale(0.98);
}

.js-motion-ready [data-motion="scale-in"]:not(.is-visible) {
  transform: translateY(18px) scale(0.92);
  filter: blur(6px);
}

.js-motion-ready [data-motion="lift"]:not(.is-visible) {
  transform: translateY(60px);
  filter: blur(8px);
}

.js-motion-ready [data-motion="unmask"]:not(.is-visible) {
  clip-path: inset(0 0 24% 0 round 8px);
  transform: translateY(24px);
}

.js-motion-ready .routine-card.reveal:not(.is-visible) {
  transform: translateX(-50%) translateY(46px) scale(0.965);
}

@media (hover: hover) and (pointer: fine) {
  .js-motion-ready .reveal-left:not(.is-visible) {
    transform: translateX(-38px) scale(0.98);
  }

  .js-motion-ready .reveal-right:not(.is-visible) {
    transform: translateX(38px) scale(0.98);
  }

  .tilt-card {
    transform-style: preserve-3d;
  }

  .tilt-card:hover {
    transform: perspective(900px) translateY(-6px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  }
}

.js-motion-ready .reveal.is-visible,
.js-motion-ready .motion-child.is-visible:not(:hover):not(.is-touched) {
  opacity: 1;
  filter: none;
  clip-path: inset(0 0 0 0 round 0);
  transform: none;
}

.js-motion-ready .routine-card.reveal.is-visible:not(:hover):not(.is-touched) {
  transform: translateX(-50%);
}

@keyframes lineFlow {
  0%, 100% { background-position: 0 0, 0 0; }
  50% { background-position: 100% 0, 100% 0; }
}

@keyframes methodFlow {
  0%, 100% {
    background-position: 0 33.33%, 0 66.66%, 33.33% 0, 66.66% 0;
  }

  50% {
    background-position: 100% 33.33%, 100% 66.66%, 33.33% 100%, 66.66% 100%;
  }
}

@keyframes ambientDrift {
  from { transform: translate3d(-1%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

@keyframes accordionOpen {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .js-motion-ready .reveal,
  .js-motion-ready .reveal-left,
  .js-motion-ready .reveal-right,
  .js-motion-ready .motion-child {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
    gap: 36px;
  }

  .portrait-card {
    width: min(100%, 360px);
  }

  .brand-logo {
    width: 238px;
  }

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

@media (max-width: 1024px) {
  .section-inner {
    width: min(100% - 48px, var(--max));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: minmax(168px, auto) 1fr auto 42px;
  }

  .nav-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 35;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 0, rgba(31, 122, 55, 0.18), transparent 34%),
      rgba(5, 10, 13, 0.54);
    backdrop-filter: blur(8px);
    transition: opacity 180ms ease;
  }

  .nav-shell.is-menu-open::before {
    opacity: 1;
  }

  .nav-links {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 82px;
    z-index: 45;
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(31, 122, 55, 0.38);
    border-radius: var(--radius);
    background:
      radial-gradient(circle at 76% 10%, rgba(31, 122, 55, 0.2), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(17, 30, 36, 0.96)),
      rgba(17, 30, 36, 0.98);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.035);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links::before {
    content: "AGB Expert";
    display: block;
    margin: 2px 2px 4px;
    color: rgba(244, 247, 245, 0.52);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .nav-shell.is-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: var(--radius);
    color: var(--text-main);
    background:
      linear-gradient(90deg, rgba(31, 122, 55, 0.1), rgba(255, 255, 255, 0.035)),
      rgba(255, 255, 255, 0.036);
    font-size: 16px;
    font-weight: 820;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .nav-links a::after {
    content: "";
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: inline-block;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    opacity: 1;
    transform: none;
    background:
      linear-gradient(135deg, transparent 47%, var(--accent-hover) 48% 55%, transparent 56%),
      var(--accent-soft);
    box-shadow: 0 0 0 5px rgba(31, 122, 55, 0.055);
  }

  .nav-menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: var(--text-main);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
      rgba(255, 255, 255, 0.045);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }

  .nav-menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: opacity 160ms ease, transform 160ms ease;
  }

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

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

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

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

  .hero-visual {
    justify-items: start;
    grid-template-columns: minmax(250px, 430px) minmax(240px, 1fr);
    align-items: end;
    gap: 16px;
    padding-bottom: 0;
  }

  .portrait-card {
    width: min(100%, 430px);
  }

  .portrait-card figcaption {
    display: grid;
  }

  .routine-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    justify-self: start;
    margin-top: 0;
    transform: none;
  }

  .routine-card:hover,
  .routine-card.is-touched {
    transform: translateY(-5px);
  }

  .js-motion-ready .routine-card.reveal:not(.is-visible) {
    transform: translateY(34px) scale(0.975);
  }

  .js-motion-ready .routine-card.reveal.is-visible:not(:hover):not(.is-touched) {
    transform: none;
  }

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

  .module-map {
    display: grid;
    gap: 22px;
  }

  .module-core {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 360px);
    min-height: 74px;
    justify-self: center;
    transform: none;
  }

  .contour-grid,
  .method-grid {
    background: rgba(255, 255, 255, 0.018);
  }

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

  .lead-card-plan {
    grid-template-columns: 1fr;
  }

  .lead-card-plan > h3,
  .lead-card-plan > p,
  .lead-card-plan .plan-visual,
  .lead-card-plan .plan-list {
    grid-column: auto;
    grid-row: auto;
  }

  .diagnostic-map {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .diagnostic-core,
  .result-a,
  .result-b,
  .result-c,
  .result-d,
  .result-e {
    grid-column: auto;
    grid-row: auto;
  }

  .diagnostic-core {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body::before {
    background:
      radial-gradient(circle at 76% 8%, rgba(31, 122, 55, 0.1), transparent 30%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 44%);
  }

  body::after {
    inset: -120px 0 auto 0;
    width: 100%;
    height: 460px;
    opacity: 0.2;
    filter: blur(22px);
    background:
      radial-gradient(circle at 50% 12%, rgba(31, 122, 55, 0.2), transparent 42%);
  }

  .section-inner {
    width: min(100% - 36px, var(--max));
  }

  .section-band {
    padding: 54px 0;
  }

  .site-header {
    padding: 0;
  }

  .nav-shell {
    width: 100%;
    min-height: 56px;
    grid-template-columns: minmax(128px, auto) 1fr 38px;
    gap: 8px;
    padding: 7px 18px;
    border-inline: 0;
    border-radius: 0;
  }

  .brand-logo {
    width: 176px;
    max-height: 52px;
  }

  .nav-cta {
    justify-self: end;
  }

  .nav-menu-toggle {
    justify-self: end;
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .portrait-card {
    width: min(100%, 390px);
    max-width: 100%;
  }

  .hero-actions,
  .section-action {
    align-items: stretch;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof span {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .button,
  .section-action .button,
  .final-panel .button {
    width: 100%;
  }

  .contour-grid,
  .module-grid,
  .method-grid,
  .audience-grid,
  .format-grid,
  .artem-grid,
  .control-grid,
  .route-strip,
  .diagnostic-map,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .module-map {
    padding: 18px;
  }

  .module-map::before,
  .module-map::after,
  .artem-grid::before {
    display: none;
  }

  .zone-card,
  .module-card,
  .method-node,
  .trust-card,
  .control-card,
  .audience-card,
  .format-card {
    min-height: auto;
  }

  .route-strip::before,
  .diagnostic-map::before {
    display: none;
  }

  .section-action,
  .support-strip {
    display: grid;
    gap: 10px;
  }

  .section-action .microcopy {
    min-width: 0;
  }

  .js-motion-ready .reveal:not(.is-visible),
  .js-motion-ready .motion-child:not(.is-visible),
  .js-motion-ready .reveal-left:not(.is-visible),
  .js-motion-ready .reveal-right:not(.is-visible) {
    transform: translateY(14px);
  }

  .final-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 430px) {
  .section-inner {
    width: min(100% - 36px, var(--max));
  }

  h1 {
    font-size: clamp(32px, 8.2vw, 36px);
    line-height: 1.04;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  p,
  .hero-text {
    font-size: 15.5px;
  }

  .button {
    min-height: 48px;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }

  .nav-cta .cta-full {
    display: none;
  }

  .nav-cta .cta-short {
    display: inline;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .brand-logo {
    width: 140px;
    max-height: 46px;
  }

  .portrait-card {
    padding: 12px;
  }

  .routine-card {
    padding: 15px 16px 16px;
  }

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

  .routine-flow i {
    width: 2px;
    height: 14px;
    justify-self: center;
    background:
      linear-gradient(180deg, var(--accent-hover), transparent),
      rgba(255, 255, 255, 0.08);
  }

  .routine-card strong {
    font-size: 16px;
  }

  .portrait-card figcaption {
    display: grid;
    gap: 0;
    padding: 15px 16px;
  }

  .portrait-card figcaption span {
    gap: 7px;
    flex-wrap: wrap;
  }

  .portrait-card strong {
    font-size: 16.5px;
  }

  .portrait-card small {
    font-size: 13.5px;
    white-space: normal;
  }

  .zone-card,
  .lead-card,
  .audience-card,
  .module-card,
  .method-node,
  .diagnostic-result,
  .trust-card,
  .format-card,
  .control-card {
    padding: 20px;
  }

  .crm-table {
    min-width: 980px;
  }

  .plan-zones {
    grid-template-columns: 1fr;
  }

  .crm-row span {
    padding: 10px 8px;
    font-size: 13.2px;
  }

  .question-button {
    min-height: 62px;
    padding-inline: 16px;
  }

  .question-button span {
    font-size: 16px;
  }

  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .section-inner {
    width: min(100% - 36px, var(--max));
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .nav-shell {
    padding-inline: 10px;
  }

  .brand-logo {
    width: 124px;
  }

  .button-small {
    padding-inline: 9px;
    font-size: 12px;
  }
}
