:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #fbfcfd;
  --surface-soft: #e9ebef;
  --surface-strong: #1b2026;
  --text: #171b20;
  --text-soft: #59616b;
  --text-inverse: #f5f7fa;
  --line: #d4d8dd;
  --line-strong: #aeb5bd;
  --accent: #a42e2e;
  --accent-hover: #832424;
  --accent-soft: #f0dddd;
  --focus: #d35252;
  --shadow: 0 24px 70px rgba(40, 47, 56, 0.12);
  --radius-card: 20px;
  --radius-control: 12px;
  --radius-button: 999px;
  --shell: min(1420px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PT Root UI", "Golos Text", "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  background: var(--surface-strong);
  color: var(--text-inverse);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff6f6;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
  white-space: nowrap;
}

.desktop-nav a,
.phone-link {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.phone-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  padding: 0 25px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button-primary {
  background: var(--accent);
  color: #fff7f7;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--text);
  background: var(--surface);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 2px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.mobile-nav {
  position: fixed;
  inset: 73px 0 0;
  z-index: 18;
  padding: 26px 24px;
  background: var(--bg);
}

.mobile-nav a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 18px 2px;
  font-size: 22px;
  font-weight: 720;
}

.hero {
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(34px, 5vw, 72px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.25vw, 82px);
  font-weight: 790;
}

.hero-lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.48;
}

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

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: clamp(360px, 38vw, 500px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-visual figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px;
}

.hero-visual figcaption span {
  color: var(--text-soft);
  font-size: 13px;
}

.hero-visual figcaption strong {
  text-align: right;
  font-size: 14px;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  display: grid;
  gap: 4px;
  min-height: 112px;
  align-content: center;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
}

.proof-grid div:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  font-size: 17px;
}

.proof-grid span {
  color: var(--text-soft);
  font-size: 14px;
}

.section {
  padding: clamp(84px, 9vw, 148px) 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(38px, 5vw, 70px);
}

.section-heading h2,
.maintenance-copy h2,
.contract-grid h2,
.faq-grid h2,
.contact-section h2 {
  font-size: clamp(38px, 4.1vw, 66px);
  font-weight: 770;
}

.section-heading p,
.contract-grid > div > p,
.faq-grid > div > p,
.contact-copy > p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 18px;
}

.compact-heading {
  max-width: 760px;
}

.choice-section {
  padding-bottom: clamp(62px, 7vw, 110px);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.choice-panel {
  min-height: 380px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.choice-panel-dark {
  background: var(--surface-strong);
  color: var(--text-inverse);
}

.choice-panel-light {
  background: var(--surface);
}

.choice-index {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.62;
  font-size: 13px;
  font-weight: 800;
}

.choice-panel h3 {
  max-width: 520px;
  margin: 52px 0 16px;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.choice-panel p {
  max-width: 570px;
  margin: 0;
  color: inherit;
  font-size: 17px;
  opacity: 0.74;
}

.choice-panel a,
.text-link {
  width: fit-content;
  margin-top: 36px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
  font-weight: 780;
}

.services-section {
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: minmax(300px, auto) minmax(320px, auto);
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 38px);
  background: var(--surface);
}

.service-featured {
  grid-row: span 2;
  justify-content: flex-end;
  background: var(--surface-strong);
  color: var(--text-inverse);
}

.service-red {
  background: var(--accent);
  color: #fff7f7;
}

.service-lined {
  background-image: linear-gradient(135deg, transparent 49.8%, color-mix(in srgb, var(--line) 70%, transparent) 50%, transparent 50.2%);
}

.service-image-card {
  grid-column: 3;
  grid-row: 2;
  padding: 0;
}

.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-code {
  margin-bottom: auto;
  color: currentColor;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  opacity: 0.62;
}

.service-card h3 {
  margin: 44px 0 14px;
  font-size: clamp(25px, 2.15vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.service-card p {
  margin: 0;
  color: inherit;
  opacity: 0.74;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  padding-top: 10px;
  font-size: 14px;
}

.scope-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.maintenance-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  gap: clamp(42px, 7vw, 110px);
}

.maintenance-visual {
  min-height: 720px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.maintenance-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maintenance-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.large-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(19px, 1.7vw, 25px);
}

.result-list {
  display: grid;
  margin-top: 42px;
}

.result-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

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

.result-list article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
}

.result-list h3 {
  margin: 0;
  font-size: 20px;
}

.result-list p {
  margin: 4px 0 0;
  color: var(--text-soft);
}

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

.security-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.security-primary,
.security-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 52px);
}

.security-primary {
  background: var(--surface);
}

.security-aside {
  background: var(--surface-soft);
}

.security-primary h3,
.security-aside h3 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 72px;
}

.security-list div {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}

.security-list span {
  font-size: 14px;
  font-weight: 820;
}

.security-list p,
.security-aside p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.aside-rule {
  height: 1px;
  margin: 54px 0 24px;
  background: var(--line-strong);
}

.aside-small {
  font-size: 14px;
}

.contract-section {
  background: var(--surface-strong);
  color: var(--text-inverse);
}

.contract-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 130px);
}

.contract-grid > div > p {
  color: color-mix(in srgb, var(--text-inverse) 68%, transparent);
}

.contract-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: color-mix(in srgb, var(--text-inverse) 18%, transparent);
}

.contract-items article {
  display: grid;
  min-height: 190px;
  align-content: space-between;
  padding: 28px;
  background: var(--surface-strong);
}

.contract-items strong {
  font-size: 24px;
}

.contract-items span {
  max-width: 270px;
  color: color-mix(in srgb, var(--text-inverse) 64%, transparent);
}

.process-section {
  background: var(--surface);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-track li {
  min-height: 240px;
  padding: 24px 22px 24px 0;
  border-top: 2px solid var(--line-strong);
}

.process-track li + li {
  padding-left: 22px;
}

.process-track span {
  display: block;
  margin-top: 80px;
  font-size: 22px;
  font-weight: 780;
}

.process-track p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(52px, 8vw, 130px);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  padding: 25px 50px 25px 0;
  font-size: 19px;
  font-weight: 720;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 22px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  margin: 0 0 26px;
  color: var(--text-soft);
}

.contact-section {
  padding: clamp(84px, 9vw, 140px) 0;
  background: var(--accent-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(48px, 8vw, 125px);
}

.contact-direct {
  display: grid;
  margin-top: 52px;
}

.contact-direct span {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct a {
  margin-top: 5px;
  font-size: clamp(19px, 2vw, 28px);
}

.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3.8vw, 48px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

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

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

.lead-form label > span,
.lead-form legend {
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--bg);
  color: var(--text);
}

.lead-form input,
.lead-form select {
  min-height: 52px;
  padding: 0 14px;
}

.lead-form textarea {
  min-height: 106px;
  resize: vertical;
  padding: 13px 14px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: color-mix(in srgb, var(--text-soft) 82%, transparent);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--focus);
  outline: 3px solid color-mix(in srgb, var(--focus) 25%, transparent);
}

.lead-form [aria-invalid="true"] {
  border-color: var(--accent);
}

.field-hint,
.field-error {
  min-height: 17px;
  font-size: 12px;
}

.field-hint {
  color: var(--text-soft);
}

.field-error {
  color: var(--accent);
}

.lead-form fieldset {
  margin: 8px 0 20px;
  padding: 0;
  border: 0;
}

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

.service-options label {
  display: inline-flex;
  cursor: pointer;
}

.service-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.service-options span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  padding: 0 15px;
  color: var(--text-soft);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.service-options input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.service-options input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.comment-field {
  margin-bottom: 18px;
}

.consent-row {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px !important;
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent-row span {
  color: var(--text-soft) !important;
  font-weight: 500 !important;
  line-height: 1.4;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.button-submit {
  width: 100%;
  margin-top: 24px;
  border: 0;
}

.button-submit:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 13px;
}

.form-status.is-error {
  color: var(--accent);
}

.form-status.is-success {
  color: #287a55;
}

.form-status.is-demo {
  color: var(--text-soft);
}

.site-footer {
  padding: 68px 0 24px;
  background: var(--surface-strong);
  color: var(--text-inverse);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr;
  gap: 48px;
}

.footer-brand .brand-copy small {
  color: color-mix(in srgb, var(--text-inverse) 58%, transparent);
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid > div > strong {
  margin-bottom: 7px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  margin: 0;
  color: color-mix(in srgb, var(--text-inverse) 64%, transparent);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--text-inverse);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  border-top: 1px solid color-mix(in srgb, var(--text-inverse) 18%, transparent);
  padding-top: 22px;
  color: color-mix(in srgb, var(--text-inverse) 48%, transparent);
  font-size: 12px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .header-actions .phone-link {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.2vw, 66px);
  }

  .services-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto auto;
  }

  .service-featured {
    grid-row: span 2;
  }

  .service-image-card {
    grid-column: 2;
    grid-row: 3;
  }

  .security-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }
}

@media (max-width: 959px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .desktop-nav,
  .header-actions .button-small,
  .header-actions .phone-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 68px;
  }

  .hero-grid,
  .maintenance-grid,
  .contract-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual img {
    height: auto;
  }

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

  .hero h1 {
    max-width: 720px;
    font-size: clamp(47px, 9.2vw, 72px);
  }

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

  .proof-grid div:nth-child(3),
  .proof-grid div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .choice-grid,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .choice-panel {
    min-height: 340px;
  }

  .maintenance-visual {
    min-height: 620px;
  }

  .maintenance-copy {
    padding-top: 10px;
  }

  .contract-items {
    min-width: 0;
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 28px;
  }

  .process-track li + li {
    padding-left: 0;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
    --radius-card: 16px;
  }

  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: 76px;
  }

  .header-inner {
    min-height: 64px;
  }

  .mobile-nav {
    inset: 65px 0 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(42px, 13.4vw, 58px);
    line-height: 0.98;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .button {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero-visual figcaption {
    display: grid;
    gap: 2px;
    padding: 15px 16px;
  }

  .hero-visual figcaption strong {
    text-align: left;
  }

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

  .proof-grid div {
    min-height: 90px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 16px 20px;
  }

  .proof-grid div:first-child {
    border-top: 0;
  }

  .section {
    padding: 76px 0;
  }

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

  .section-heading h2,
  .maintenance-copy h2,
  .contract-grid h2,
  .faq-grid h2,
  .contact-section h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .section-heading p,
  .contract-grid > div > p,
  .faq-grid > div > p,
  .contact-copy > p {
    margin-top: 17px;
    font-size: 16px;
  }

  .choice-grid {
    gap: 12px;
  }

  .choice-panel {
    min-height: 320px;
    padding: 24px;
  }

  .choice-panel h3 {
    margin-top: 42px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .service-featured,
  .service-image-card {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card {
    min-height: 290px;
  }

  .service-image-card {
    min-height: 420px;
  }

  .service-card h3 {
    font-size: 28px;
  }

  .maintenance-grid,
  .contract-grid,
  .faq-grid,
  .contact-grid {
    gap: 42px;
  }

  .maintenance-visual {
    min-height: 500px;
  }

  .security-primary,
  .security-aside {
    padding: 26px;
  }

  .contract-items {
    grid-template-columns: 1fr;
  }

  .contract-items article {
    min-height: 160px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-track li {
    min-height: auto;
    padding: 22px 0 28px;
  }

  .process-track span {
    margin-top: 32px;
  }

  .contact-section {
    padding: 76px 0;
  }

  .contact-direct {
    margin-top: 36px;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lead-form {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 30;
    display: inline-flex;
    min-height: 54px;
    box-shadow: 0 14px 36px rgba(46, 15, 15, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* P0 commercial landing: maintenance of APS and SOUE */
.service-commercial-page {
  overflow-x: clip;
  color: var(--engineering-ink);
  background: var(--engineering-paper);
}

.service-commercial-page .eyebrow {
  color: var(--signal-green-deep);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: none;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 28px;
}

.service-commercial-page h1,
.service-commercial-page h2,
.service-commercial-page h3 {
  color: var(--engineering-ink);
}

.service-commercial-page h1 {
  font-weight: 760;
  letter-spacing: -0.052em;
}

.service-commercial-page h2 {
  font-weight: 700;
  letter-spacing: -0.038em;
}

.service-commercial-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(58px, 6.4vw, 94px) clamp(70px, 7.5vw, 112px);
  background:
    radial-gradient(circle at 82% 16%, rgba(51, 121, 103, 0.1), transparent 26rem),
    #f7f7f4;
}

.service-commercial-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(23, 26, 32, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 32, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 76% 44%, #000 0%, transparent 68%);
  content: "";
}

.service-commercial-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(480px, 0.95fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

.service-commercial-copy {
  position: relative;
  z-index: 2;
}

.service-commercial-copy .breadcrumbs {
  margin: 0 0 34px;
  color: var(--engineering-muted);
  font-size: 12px;
}

.service-commercial-copy .breadcrumbs a {
  color: inherit;
}

.service-commercial-copy h1 {
  max-width: 880px;
  margin: 18px 0 0;
  font-size: clamp(58px, 6.2vw, 94px);
  line-height: 0.92;
}

.service-commercial-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--engineering-muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
}

.service-commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 32px;
}

.service-incident-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  color: var(--signal-red);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

.service-incident-link span {
  font-size: 20px;
  transition: transform 180ms ease;
}

.service-incident-link:hover span {
  transform: translateX(4px);
}

.service-commercial-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  gap: 0 24px;
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid var(--engineering-line);
  list-style: none;
}

.service-commercial-facts li {
  position: relative;
  padding: 15px 0 15px 18px;
  border-bottom: 1px solid var(--engineering-line);
  color: var(--engineering-ink);
  font-size: 12px;
  font-weight: 570;
  line-height: 1.45;
}

.service-commercial-facts li::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-green);
  content: "";
}

.service-commercial-facts a {
  color: inherit;
  text-underline-offset: 3px;
}

.service-commercial-note {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--engineering-muted);
  font-size: 12px;
  line-height: 1.55;
}

.service-detector-visual {
  position: relative;
  width: calc(100% + min(7vw, 110px));
  min-height: 700px;
  margin-right: min(-7vw, -110px);
}

.service-detector-visual img {
  position: absolute;
  inset: -4% 0 0 0;
  width: 100%;
  height: 106%;
  object-fit: cover;
  object-position: center 9%;
  filter: grayscale(0.08) saturate(0.7) contrast(1.04);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 91%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 22%, #000 100%);
  mask-composite: intersect;
}

.service-detector-visual svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.detector-ring {
  fill: none;
  stroke: var(--signal-red);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: detectorPulse 3.2s ease-out infinite;
}

.detector-ring-two {
  animation-delay: 0.55s;
}

.detector-route {
  fill: none;
  stroke: var(--signal-red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: detectorRoute 4.6s cubic-bezier(0.45, 0, 0.2, 1) 0.6s infinite;
}

.detector-end {
  fill: var(--engineering-paper);
  stroke: var(--signal-red);
  stroke-width: 3;
}

@keyframes detectorPulse {
  0%, 18% { opacity: 0; transform: scale(0.48); }
  38% { opacity: 0.74; }
  70%, 100% { opacity: 0; transform: scale(1.16); }
}

@keyframes detectorRoute {
  0%, 12% { stroke-dashoffset: 1; opacity: 0; }
  24% { opacity: 1; }
  74%, 100% { stroke-dashoffset: 0; opacity: 0.88; }
}

.service-detector-visual figcaption {
  position: absolute;
  right: 7%;
  bottom: 4%;
  z-index: 3;
  max-width: 360px;
  padding: 17px 0 0 20px;
  border-top: 1px solid var(--engineering-line);
  border-left: 3px solid var(--signal-red);
  background: color-mix(in srgb, var(--engineering-paper) 86%, transparent);
  backdrop-filter: blur(12px);
}

.service-detector-visual figcaption span {
  color: var(--signal-red);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-detector-visual figcaption strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 650;
}

.service-anchor-nav {
  position: sticky;
  top: 108px;
  z-index: 20;
  border-top: 1px solid var(--engineering-line);
  border-bottom: 1px solid var(--engineering-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.service-anchor-nav .shell {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-anchor-nav a {
  display: flex;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 18px;
  color: var(--engineering-muted);
  font-size: 11px;
  font-weight: 590;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.service-anchor-nav a:hover {
  color: var(--engineering-ink);
  background: var(--engineering-paper);
}

.service-scope-section,
.service-documents-section,
.service-brands-section,
.service-questions-section {
  background: #fff;
}

.service-scope-layout,
.service-cost-layout,
.service-documents-layout,
.service-brands-layout,
.service-brief-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.74fr) minmax(560px, 1.26fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: start;
}

.service-section-intro {
  position: sticky;
  top: 190px;
}

.service-section-intro h2,
.service-documents-layout h2,
.service-cost-layout h2,
.service-brands-layout h2,
.service-brief-copy h2 {
  margin: 15px 0 0;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 0.98;
}

.service-section-intro > p:last-child,
.service-documents-layout > div:first-child > p:last-child,
.service-cost-layout > div:first-child > p:last-child,
.service-brands-layout > div:first-child > p:not(.eyebrow),
.service-brief-copy > p {
  max-width: 590px;
  margin-top: 24px;
  color: var(--engineering-muted);
  font-size: 17px;
  line-height: 1.6;
}

.service-scope-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--engineering-line);
  list-style: none;
}

.service-scope-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  padding: 27px 0 31px;
  border-bottom: 1px solid var(--engineering-line);
}

.service-scope-list li > span,
.takeover-track li > span,
.service-documents-register article > span {
  color: var(--signal-green);
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.service-scope-list h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
}

.service-scope-list p {
  max-width: 760px;
  margin: 11px 0 0;
  color: var(--engineering-muted);
  line-height: 1.58;
}

.takeover-section,
.service-cost-section,
.service-brief-section {
  background: var(--engineering-paper);
}

.takeover-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--engineering-line);
  list-style: none;
}

.takeover-track li {
  min-height: 290px;
  padding: 30px;
  background: var(--engineering-paper);
}

.takeover-track li:nth-child(2),
.takeover-track li:nth-child(4) {
  background: #e9edea;
}

.takeover-track strong {
  display: block;
  margin-top: 74px;
  font-size: 23px;
  font-weight: 650;
}

.takeover-track p {
  margin: 14px 0 0;
  color: var(--engineering-muted);
  line-height: 1.55;
}

.takeover-section .engineering-text-link {
  margin-top: 28px;
}

.service-documents-register {
  border-top: 1px solid var(--engineering-line);
}

.service-documents-register article {
  display: grid;
  grid-template-columns: 50px minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: baseline;
  padding: 25px 0 29px;
  border-bottom: 1px solid var(--engineering-line);
}

.service-documents-register h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
}

.service-documents-register p {
  margin: 0;
  color: var(--engineering-muted);
  line-height: 1.55;
}

.service-cost-factors {
  margin: 0;
  border-top: 1px solid var(--engineering-line);
}

.service-cost-factors > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 26px;
  padding: 23px 0 27px;
  border-bottom: 1px solid var(--engineering-line);
}

.service-cost-factors dt {
  color: var(--signal-green);
  font-size: 11px;
  font-weight: 650;
}

.service-cost-factors dd {
  margin: 0;
}

.service-cost-factors strong,
.service-cost-factors span {
  display: block;
}

.service-cost-factors strong {
  font-size: 22px;
  font-weight: 650;
}

.service-cost-factors span {
  margin-top: 8px;
  color: var(--engineering-muted);
  line-height: 1.5;
}

.service-brands-layout .engineering-text-link {
  margin-top: 20px;
}

.service-brand-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--engineering-line);
  border-left: 1px solid var(--engineering-line);
}

.service-brand-list span {
  display: grid;
  min-height: 132px;
  place-items: center;
  border-right: 1px solid var(--engineering-line);
  border-bottom: 1px solid var(--engineering-line);
  color: var(--engineering-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.service-question-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--engineering-line);
  border-left: 1px solid var(--engineering-line);
}

.service-question-list article {
  min-height: 250px;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--engineering-line);
  border-bottom: 1px solid var(--engineering-line);
}

.service-question-list h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.08;
}

.service-question-list p {
  margin: 48px 0 0;
  color: var(--engineering-muted);
  line-height: 1.58;
}

.service-brief-copy {
  position: sticky;
  top: 190px;
}

.service-brief-copy ol {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--engineering-line);
  list-style: none;
}

.service-brief-copy li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--engineering-line);
  line-height: 1.5;
}

.service-brief-copy li span {
  color: var(--signal-green);
  font-size: 10px;
  font-weight: 650;
}

.service-brief-direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}

.service-brief-direct a {
  color: var(--engineering-ink);
  font-weight: 620;
  text-underline-offset: 3px;
}

.service-brief-form {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--engineering-line);
  background: #fff;
  box-shadow: none;
}

@media (max-width: 1020px) {
  .service-commercial-hero-grid,
  .service-scope-layout,
  .service-cost-layout,
  .service-documents-layout,
  .service-brands-layout,
  .service-brief-layout {
    grid-template-columns: 1fr;
  }

  .service-detector-visual {
    width: 100%;
    min-height: 620px;
    margin: 0;
  }

  .service-section-intro,
  .service-brief-copy {
    position: static;
  }

  .takeover-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-anchor-nav {
    top: 72px;
  }
}

@media (max-width: 720px) {
  .service-commercial-hero {
    padding-block: 44px 62px;
  }

  .service-commercial-copy .breadcrumbs {
    margin-bottom: 24px;
  }

  .service-commercial-copy h1 {
    font-size: clamp(43px, 12.4vw, 58px);
    line-height: 0.96;
  }

  .service-commercial-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .service-commercial-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-commercial-actions > * {
    justify-content: center;
  }

  .service-commercial-facts {
    grid-template-columns: 1fr;
  }

  .service-detector-visual {
    min-height: 470px;
  }

  .service-detector-visual img {
    inset-inline: -8%;
    width: 116%;
  }

  .service-detector-visual figcaption {
    right: 0;
    max-width: 280px;
  }

  .service-anchor-nav {
    top: 68px;
  }

  .service-section-intro h2,
  .service-documents-layout h2,
  .service-cost-layout h2,
  .service-brands-layout h2,
  .service-brief-copy h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .takeover-track,
  .service-question-list {
    grid-template-columns: 1fr;
  }

  .takeover-track li {
    min-height: 250px;
  }

  .service-documents-register article {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .service-documents-register p {
    grid-column: 2;
  }

  .service-brand-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-question-list article {
    min-height: 0;
  }

  .service-question-list p {
    margin-top: 26px;
  }

  .service-brief-form {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detector-ring,
  .detector-route {
    animation: none !important;
  }

  .detector-route {
    stroke-dashoffset: 0;
  }

  .detector-ring {
    opacity: 0.35;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* 2026 engineering-dossier redesign */
.brand-mark {
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100dvh - 72px);
  padding-block: clamp(58px, 7vw, 108px);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0 8%, var(--accent) 8% 24%, var(--line) 24% 92%, transparent 92%);
  content: "";
}

.hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(510px, 1.02fr);
  align-items: stretch;
  gap: clamp(54px, 7vw, 116px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(58px, 6.25vw, 100px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.89;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(18px, 1.35vw, 21px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(46px, 6vw, 82px) 0 0;
  border-block: 1px solid var(--line);
}

.hero-facts div {
  min-width: 0;
  padding: 17px 16px 18px 0;
}

.hero-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.hero-facts dt {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-height: 680px;
  border-radius: 2px;
  box-shadow: none;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.plan-header strong {
  color: var(--accent);
}

.hero-visual img {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  filter: saturate(0.78) contrast(1.04);
}

.signal-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-preview span {
  position: relative;
  min-width: 0;
  padding: 17px 11px 15px 22px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.signal-preview span + span {
  border-left: 1px solid var(--line);
}

.signal-preview span::before {
  position: absolute;
  top: 21px;
  left: 10px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "";
}

.signal-preview .is-live {
  color: var(--text);
}

.signal-preview .is-live::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.hero-visual figcaption {
  padding: 18px 16px;
}

.route-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.route-heading {
  max-width: 1040px;
}

.route-heading .eyebrow,
.services-section .eyebrow {
  margin-bottom: 20px;
}

.route-board {
  display: grid;
  grid-template-columns: minmax(480px, 1.12fr) minmax(380px, 0.88fr);
  min-height: 620px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.route-tabs {
  position: relative;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  counter-reset: route;
}

.route-tab {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(150px, 0.72fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 28px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.route-tab:last-child {
  border-bottom: 0;
}

.route-tab:hover {
  background: var(--surface-soft);
}

.route-tab.is-active {
  background: var(--surface-strong);
  color: var(--text-inverse);
}

.route-tab.is-active::after {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 5px;
  background: var(--accent);
  content: "";
}

.route-tab > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 820;
  opacity: 0.7;
}

.route-tab strong {
  font-size: clamp(21px, 1.8vw, 28px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.route-tab small {
  color: currentColor;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.07em;
  opacity: 0.58;
  text-transform: uppercase;
}

.route-detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px solid var(--line);
  padding: clamp(36px, 5vw, 72px);
  background-color: var(--surface);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
}

.route-detail > * {
  position: relative;
  z-index: 1;
}

.route-detail::before {
  position: absolute;
  content: none;
}

.route-detail-kicker {
  margin: 0 0 auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.route-detail h3 {
  max-width: 540px;
  margin: 120px 0 24px;
  font-size: clamp(34px, 3.5vw, 56px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.route-detail > p:not(.route-detail-kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

.route-detail-systems {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
  padding-top: 15px;
}

.route-detail-systems span {
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.route-detail-systems strong {
  font-size: 13px;
}

.services-section {
  border-top: 0;
}

.service-register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: start;
  gap: clamp(34px, 5vw, 80px);
}

.service-register {
  border-top: 2px solid var(--text);
}

.service-register article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 170px;
  gap: clamp(20px, 3vw, 42px);
  align-items: start;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}

.service-register article:first-child {
  padding-top: 34px;
}

.service-register .service-code {
  margin: 5px 0 0;
  color: var(--accent);
  opacity: 1;
}

.service-register h3 {
  margin: 0 0 9px;
  font-size: clamp(24px, 2.3vw, 35px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service-register p {
  max-width: 620px;
  margin: 0;
  color: var(--text-soft);
}

.service-register article > strong {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-register-visual {
  position: sticky;
  top: 98px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-register-visual img {
  width: 100%;
  height: clamp(460px, 48vw, 680px);
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.service-register-visual figcaption {
  display: grid;
  gap: 7px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.service-register-visual figcaption span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.service-register-visual figcaption strong {
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.84fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(56px, 6.6vw, 78px);
  }

  .route-board {
    grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.82fr);
  }

  .route-tab {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .route-tab small {
    display: none;
  }

  .service-register article {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .service-register article > strong {
    grid-column: 2;
  }
}

@media (max-width: 959px) {
  .hero-grid,
  .route-board,
  .service-register-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 640px;
  }

  .hero-facts {
    margin-top: 48px;
  }

  .route-board {
    min-height: auto;
  }

  .route-tabs {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: none;
  }

  .route-tab {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 13px;
    min-height: 138px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 14px;
  }

  .route-tab strong {
    font-size: 16px;
  }

  .route-tab.is-active::after {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 5px;
  }

  .route-detail {
    min-height: 520px;
    border-left: 0;
  }

  .service-register-visual {
    position: static;
  }

  .service-register-visual img {
    height: min(78vw, 650px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-block: 42px 54px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(47px, 14vw, 64px);
    line-height: 0.91;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .hero-facts div,
  .hero-facts div + div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    padding: 14px 0;
  }

  .hero-facts dd {
    margin-top: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img {
    min-height: 330px;
  }

  .plan-header {
    font-size: 8px;
  }

  .signal-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-preview span:nth-child(3),
  .signal-preview span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .route-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .route-tab {
    flex: 0 0 46%;
    min-height: 124px;
    scroll-snap-align: start;
  }

  .route-detail {
    min-height: 500px;
    padding: 28px 24px;
    background-size: 32px 32px;
  }

  .route-detail h3 {
    margin-top: 96px;
    font-size: 38px;
  }

  .service-register article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 26px;
  }

  .service-register article > strong {
    grid-column: 1;
  }

  .service-register-visual img {
    height: 122vw;
    max-height: 580px;
  }
}

/* digital.moscow brand alignment */
:root {
  --bg: #f4f4f7;
  --surface: #fcfcfd;
  --surface-soft: #e9e9f0;
  --surface-strong: #211d43;
  --text: #171722;
  --text-soft: #626173;
  --text-inverse: #f7f7fb;
  --line: #d8d7e1;
  --line-strong: #aaa8b8;
  --accent: #24745e;
  --accent-hover: #185946;
  --accent-soft: #dcebe6;
  --focus: #3d8e76;
  --brand-violet: #4f4a8a;
  --brand-navy: #211d43;
  --fire: #c6524c;
  --shadow: 0 28px 80px rgba(33, 29, 67, 0.16);
}

body {
  background-image: radial-gradient(circle at 12% 2%, rgba(79, 74, 138, 0.07), transparent 28rem);
}

.site-header {
  background: color-mix(in srgb, #ffffff 92%, transparent);
}

.header-inner {
  min-height: 80px;
}

.brand-logo {
  width: 164px;
  height: auto;
}

.ecosystem-link {
  color: var(--brand-violet);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.ecosystem-link:hover {
  color: var(--accent);
}

.button {
  border-radius: 10px;
}

.hero {
  min-height: calc(100dvh - 80px);
}

.hero::after {
  position: absolute;
  top: 12%;
  left: -8rem;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(79, 74, 138, 0.06);
  content: "";
}

.hero h1 {
  color: var(--brand-navy);
  font-size: clamp(54px, 5.65vw, 90px);
  text-wrap: balance;
}

.hero-lead {
  max-width: 670px;
  text-wrap: pretty;
}

.hero-facts dt {
  color: var(--brand-violet);
  font-variant-numeric: tabular-nums;
}

.hero-visual {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--brand-navy);
  box-shadow: var(--shadow);
}

.plan-header {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.64);
}

.plan-header strong {
  color: #83c7b3;
}

.hero-visual img {
  filter: saturate(0.9) contrast(1.04);
}

.signal-preview {
  border-color: rgba(255, 255, 255, 0.14);
  background: #191b2d;
}

.signal-preview span {
  color: rgba(255, 255, 255, 0.62);
}

.signal-preview span + span,
.signal-preview span:nth-child(3),
.signal-preview span:nth-child(4) {
  border-color: rgba(255, 255, 255, 0.14);
}

.signal-preview .is-live {
  color: #ffffff;
}

.signal-preview .is-live::before {
  border-color: #6cbaa3;
  background: #6cbaa3;
  box-shadow: 0 0 0 4px rgba(108, 186, 163, 0.18);
}

.hero-visual figcaption {
  background: var(--brand-navy);
  color: var(--text-inverse);
}

.hero-visual figcaption span {
  color: rgba(255, 255, 255, 0.62);
}

.proof-strip a {
  color: var(--brand-violet);
  font-size: 13px;
  font-weight: 760;
}

.proof-strip a:hover {
  color: var(--accent);
}

.route-tab.is-active {
  background: var(--brand-navy);
}

.route-tab.is-active::after {
  background: var(--accent);
}

.route-detail-kicker,
.service-register .service-code,
.service-register-visual figcaption span {
  color: var(--brand-violet);
}

.brands-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.brand-heading {
  max-width: 980px;
}

.brand-groups {
  border-top: 2px solid var(--brand-navy);
}

.brand-group {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.brand-group header {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: start;
}

.brand-group header > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand-violet);
  font-size: 10px;
  font-weight: 820;
}

.brand-group-fire header > span {
  border-color: color-mix(in srgb, var(--fire) 50%, var(--line));
  color: var(--fire);
}

.brand-group h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brand-group header p {
  max-width: 430px;
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.brand-logo-grid a {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  background: #ffffff;
  transition: background-color 180ms ease, transform 180ms ease;
}

.brand-logo-grid a:hover {
  z-index: 1;
  background: #f1f0f7;
  transform: translateY(-2px);
}

.brand-logo-grid img {
  width: 100%;
  max-width: 128px;
  max-height: 42px;
  object-fit: contain;
}

.brands-all-link {
  margin-top: 34px;
}

.security-section {
  background: #efeff4;
}

.security-primary {
  overflow: hidden;
  border: 0;
  background: var(--brand-navy);
  color: var(--text-inverse);
}

.security-primary h3 {
  color: var(--text-inverse);
}

.security-list {
  grid-template-columns: repeat(2, 1fr);
}

.security-list div {
  border-color: #6eb69f;
}

.security-list p {
  color: rgba(255, 255, 255, 0.64);
}

.security-aside {
  border: 0;
  background: #ffffff;
}

.security-aside-label {
  display: block;
  margin-bottom: 26px;
  color: var(--brand-violet);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.security-aside .text-link {
  margin-top: 32px;
}

.license-section {
  background: var(--brand-navy);
  color: var(--text-inverse);
}

.license-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(58px, 8vw, 130px);
  align-items: start;
}

.license-summary {
  position: sticky;
  top: 118px;
}

.license-summary .eyebrow {
  color: #7dc0ac;
}

.license-summary h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(45px, 4.8vw, 76px);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.license-number {
  margin-top: 32px;
  color: #ffffff;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(18px, 2vw, 28px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.license-meta {
  display: grid;
  margin: 40px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.license-meta div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 0;
}

.license-meta dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-meta dd {
  margin: 0;
  font-size: 14px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #6dc29f;
  box-shadow: 0 0 0 5px rgba(109, 194, 159, 0.12);
}

.license-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.license-actions .text-link {
  color: var(--text-inverse);
}

.license-scope {
  border-top: 2px solid rgba(255, 255, 255, 0.74);
}

.license-scope-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.license-scope-header strong {
  color: #7dc0ac;
}

.license-scope ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.license-scope li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: start;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 21px 0;
}

.license-scope li span {
  color: #7dc0ac;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.license-scope li p {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 25px);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.license-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.contract-section {
  background: #2b2852;
}

.contact-section {
  background: #e4eee9;
}

.consent-row a {
  border-bottom: 1px solid currentColor;
}

.brand-logo-white {
  width: 180px;
}

@media (max-width: 1320px) {
  .header-actions .phone-link {
    display: none;
  }
}

@media (max-width: 1180px) {
  .header-actions .ecosystem-link {
    display: none;
  }

  .brand-group,
  .license-layout {
    grid-template-columns: 1fr;
  }

  .license-summary {
    position: static;
  }
}

@media (max-width: 959px) {
  .brand-logo {
    width: 154px;
  }

  .brand-group {
    gap: 28px;
  }

  .security-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 142px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .hero-visual {
    border-radius: 12px;
  }

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

  .brand-group header {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .brand-logo-grid a {
    min-height: 82px;
    padding: 14px;
  }

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

  .license-layout {
    gap: 48px;
  }

  .license-summary h2 {
    font-size: 46px;
  }

  .license-meta div {
    grid-template-columns: 82px 1fr;
  }

  .license-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .license-scope li {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .license-scope li p {
    font-size: 18px;
  }
}

/* Partner acquisition */
.partner-section {
  position: relative;
  overflow: clip;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 12%, rgba(79, 74, 138, 0.1), transparent 25rem),
    var(--bg);
}

.partner-section::after {
  position: absolute;
  right: -8rem;
  bottom: -13rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(79, 74, 138, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5rem rgba(79, 74, 138, 0.025);
  content: "";
  pointer-events: none;
}

.partner-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(58px, 8vw, 128px);
  align-items: start;
}

.partner-intro {
  position: sticky;
  top: 118px;
}

.partner-intro h2 {
  max-width: 680px;
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(46px, 4.75vw, 74px);
  letter-spacing: -0.058em;
  line-height: 0.96;
  text-wrap: balance;
}

.partner-lead {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.partner-audience {
  margin: 42px 0 0;
  padding: 0;
  border-top: 2px solid var(--brand-navy);
  list-style: none;
}

.partner-audience li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 19px 0 21px;
  border-bottom: 1px solid var(--line);
}

.partner-audience li > span {
  padding-top: 3px;
  color: var(--brand-violet);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.partner-audience strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.partner-audience p {
  max-width: 480px;
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.partner-response {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  margin-top: 30px;
  border-left: 3px solid var(--accent);
  padding: 7px 0 7px 18px;
}

.partner-response span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.partner-response p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.partner-form {
  border: 0;
  border-top: 4px solid var(--brand-navy);
  border-radius: 18px 18px 10px 10px;
  box-shadow: 0 34px 90px rgba(33, 29, 67, 0.13);
}

.partner-form-header {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.partner-form-header > span {
  color: var(--brand-violet);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.13em;
}

.partner-form-header h3 {
  max-width: 580px;
  margin: 13px 0 0;
  color: var(--brand-navy);
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.partner-form-header p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.partner-direction-options span {
  border-radius: 8px;
}

.partner-form .button-submit {
  min-height: 58px;
}

@media (max-width: 1180px) {
  .partner-layout {
    grid-template-columns: minmax(300px, 0.7fr) minmax(500px, 1.3fr);
    gap: 52px;
  }
}

@media (max-width: 959px) {
  .partner-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .partner-intro {
    position: static;
  }

  .partner-intro h2 {
    max-width: 720px;
    font-size: clamp(40px, 8.8vw, 64px);
  }

  .partner-audience {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .partner-section {
    padding-block: 76px 88px;
  }

  .partner-intro h2 {
    font-size: clamp(38px, 11.4vw, 50px);
  }

  .partner-response {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .partner-form-header {
    margin-bottom: 26px;
  }

  .partner-form-header h3 {
    font-size: 31px;
  }
}

/* Multi-page structure */
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--brand-navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 150px) 0 clamp(78px, 9vw, 132px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.page-hero::after {
  position: absolute;
  top: -15rem;
  right: -12rem;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(79, 74, 138, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7rem rgba(79, 74, 138, 0.025);
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: end;
}

.breadcrumbs {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--brand-violet);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(58px, 7vw, 108px);
  letter-spacing: -0.065em;
  line-height: 0.91;
  text-wrap: balance;
}

.page-hero-copy > p {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
}

.page-hero-aside {
  border-top: 2px solid var(--brand-navy);
  padding-top: 20px;
}

.page-hero-aside span {
  color: var(--brand-violet);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.page-hero-aside p {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.page-directory {
  background: var(--surface);
}

.page-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--brand-navy);
}

.page-directory-card {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  gap: 46px;
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 4vw, 50px);
  color: var(--text);
  transition: background-color 180ms ease, color 180ms ease;
}

.page-directory-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.page-directory-card:hover {
  background: var(--brand-navy);
  color: var(--text-inverse);
}

.page-directory-card span {
  color: var(--brand-violet);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.page-directory-card:hover span,
.page-directory-card:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.page-directory-card h2,
.page-directory-card h3 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.page-directory-card p {
  max-width: 560px;
  margin: 15px 0 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.scope-table {
  border-top: 2px solid var(--brand-navy);
}

.scope-table article {
  display: grid;
  grid-template-columns: 90px minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 25px 0 29px;
}

.scope-table article > span {
  color: var(--brand-violet);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.scope-table h3 {
  margin: 0;
  font-size: clamp(21px, 2vw, 30px);
  letter-spacing: -0.035em;
}

.scope-table p {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.page-cta {
  background: #e4eee9;
}

.page-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
}

.page-cta h2 {
  max-width: 900px;
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.page-cta p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.55;
}

.inner-footer .footer-grid {
  margin-top: 0;
}

@media (max-width: 959px) {
  .page-hero-grid,
  .page-cta-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: clamp(50px, 11vw, 78px);
  }

  .page-hero-aside {
    max-width: 640px;
  }

  .scope-table article {
    grid-template-columns: 58px 1fr;
  }

  .scope-table article p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 62px 0 72px;
  }

  .page-hero h1 {
    font-size: clamp(43px, 13vw, 61px);
  }

  .page-directory-grid {
    grid-template-columns: 1fr;
  }

  .page-directory-card:nth-child(odd) {
    border-right: 0;
  }

  .page-directory-card {
    min-height: 220px;
  }

  .scope-table article {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }
}

/* digital.moscow adapted header and footer */
.dm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(51, 50, 90, 0.09);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 10px 32px rgba(33, 29, 67, 0.035);
  backdrop-filter: blur(18px);
}

.dm-header-main {
  display: grid;
  min-height: 57px;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.dm-header-brand {
  display: inline-flex;
  align-items: center;
}

.dm-header-brand .brand-logo {
  width: 158px;
}

.dm-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.dm-incident-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid #edc8cd;
  border-radius: 8px;
  padding: 0 16px;
  background: #fff7f8;
  color: #b34855;
  font-size: 13px;
  font-weight: 760;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.dm-incident-link:hover {
  border-color: #d999a2;
  background: #fff0f2;
}

.dm-project-link {
  min-height: 40px;
  border-radius: 8px;
  padding-inline: 18px;
  font-size: 13px;
}

.dm-utility-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #315e53;
  transition: background-color 180ms ease, color 180ms ease;
}

.dm-utility-link:hover {
  background: #eaf2ef;
  color: var(--accent);
}

.dm-utility-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.dm-header-actions .menu-toggle {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.dm-header-actions .menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1.5px;
  margin: 0;
  background: currentColor;
  transform-origin: center;
}

.dm-header-actions .menu-toggle span:first-child {
  transform: translate(-50%, -4px);
}

.dm-header-actions .menu-toggle span:last-child {
  transform: translate(-50%, 4px);
}

.dm-header-actions .menu-toggle[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.dm-header-actions .menu-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.dm-primary-bar {
  border-top: 1px solid rgba(51, 50, 90, 0.06);
}

.dm-primary-nav {
  min-height: 42px;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 46px);
}

.dm-primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: #1f2021;
  font-size: 13px;
  font-weight: 640;
  text-decoration: none;
}

.dm-primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.dm-primary-nav a:hover,
.dm-primary-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.dm-primary-nav a[aria-current="page"]::after {
  background: var(--accent);
}

.dm-mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 22px 50px rgba(33, 29, 67, 0.12);
}

.dm-footer {
  padding: 0;
  border-top: 1px solid rgba(51, 50, 90, 0.12);
  background: #fff;
  color: var(--text);
}

.dm-footer-main {
  display: grid;
  grid-template-columns: minmax(340px, 1.45fr) repeat(3, minmax(155px, 0.7fr));
  gap: clamp(38px, 5vw, 78px);
  padding: 72px 0 64px;
}

.dm-footer-company > p {
  max-width: 560px;
  margin: 25px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.dm-footer-logo {
  display: inline-flex;
}

.dm-footer-logo img {
  width: 188px;
  height: auto;
}

.dm-company-details {
  display: grid;
  gap: 6px;
  margin-top: 25px;
  color: #4e4f53;
  font-size: 13px;
  line-height: 1.45;
}

.dm-company-details strong {
  color: var(--text);
}

.dm-company-details a:hover {
  color: var(--accent);
}

.dm-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.dm-footer-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #bfc1bd;
  border-radius: 7px;
  padding: 0 10px;
  background: #f3f4f1;
  color: #3d3e3b;
  font-size: 11px;
  font-weight: 750;
}

.dm-social-links {
  display: flex;
  gap: 8px;
  margin-top: 17px;
}

.dm-social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #bfc1bd;
  border-radius: 10px;
  background: #fff;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.dm-social-links a:hover {
  border-color: #929793;
  background: #f7f8f6;
  transform: translateY(-2px);
}

.dm-social-links img {
  width: 24px;
  height: 24px;
  transition: transform 180ms ease;
}

.dm-social-links a:hover img {
  transform: scale(1.06);
}

.dm-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.dm-footer-column h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.015em;
}

.dm-footer-column a {
  color: #55565a;
  font-size: 13px;
  line-height: 1.35;
}

.dm-footer-column a:hover {
  color: var(--accent);
}

.dm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  border-block: 1px solid var(--line);
  padding: 17px 0;
}

.dm-footer-legal a {
  color: #404146;
  font-size: 11px;
  font-weight: 720;
}

.dm-footer-legal a:hover {
  color: var(--accent);
}

.dm-footer-bottom {
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 18px 0 25px;
}

.dm-footer-bottom strong {
  font-size: 12px;
  white-space: nowrap;
}

.dm-footer-bottom p {
  max-width: 920px;
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .dm-footer-main {
    grid-template-columns: minmax(300px, 1.25fr) repeat(3, minmax(135px, 0.65fr));
    gap: 30px;
  }

  .dm-primary-nav {
    gap: 22px;
  }
}

@media (max-width: 959px) {
  .dm-primary-bar {
    display: none;
  }

  .dm-header-main {
    min-height: 72px;
  }

  .dm-header-actions .menu-toggle {
    display: grid;
  }

  .dm-mobile-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 39;
    display: block;
    height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 20px 24px 96px;
    background: #fff;
    box-shadow: none;
  }

  .dm-mobile-nav[hidden] {
    display: none;
  }

  .dm-mobile-nav a {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 680;
    line-height: 1.25;
  }

  .dm-mobile-nav a[aria-current="page"] {
    color: var(--accent);
    text-decoration: none;
  }

  .dm-footer-main {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .dm-footer-company {
    grid-row: span 3;
  }

  .dm-footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .dm-header-main {
    gap: 12px;
  }

  .dm-header-brand .brand-logo {
    width: 142px;
  }

  .dm-incident-link,
  .dm-utility-link {
    display: none;
  }

  .dm-project-link {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .dm-footer-main {
    grid-template-columns: 1fr;
    padding: 56px 0 46px;
  }

  .dm-footer-company {
    grid-row: auto;
  }

  .dm-footer-column {
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }

  .dm-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .dm-footer-bottom strong {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .dm-project-link {
    display: none;
  }
}

/* 2026-08-30 engineering redesign: Onest, borderless hero and signal narrative */
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

:root {
  --signal-green: #337967;
  --signal-green-deep: #21584b;
  --signal-green-soft: #dce9e4;
  --signal-red: #c6463e;
  --signal-red-soft: #f0d9d6;
  --engineering-ink: #171a20;
  --engineering-muted: #626870;
  --engineering-paper: #f3f4f1;
  --engineering-line: #d8ddd9;
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Onest", "Segoe UI", sans-serif;
}

body {
  font-weight: 430;
}

:where(h1, h2, h3, strong) {
  font-family: "Onest", "Segoe UI", sans-serif;
}

.engineering-home {
  overflow-x: clip;
  color: var(--engineering-ink);
  background: var(--engineering-paper);
}

.engineering-home .eyebrow {
  color: var(--signal-green-deep);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: none;
}

.engineering-home h1 {
  font-weight: 760;
  letter-spacing: -0.052em;
}

.engineering-home h2 {
  font-weight: 700;
  letter-spacing: -0.038em;
}

.engineering-home h3 {
  font-weight: 650;
  letter-spacing: -0.025em;
}

.engineering-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  color: var(--engineering-ink);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

.engineering-text-link span {
  color: var(--signal-green);
  font-size: 20px;
  transition: transform 180ms ease;
}

.engineering-text-link:hover span {
  transform: translateX(4px);
}

.engineering-text-link:focus-visible,
.scene-switcher button:focus-visible,
.scene-hotspot:focus-visible,
.intent-row:focus-visible,
.system-matrix a:focus-visible,
.knowledge-bridge-layout a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--signal-green) 40%, transparent);
  outline-offset: 4px;
}

/* Borderless engineering hero */
.engineering-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: clip;
  padding-block: clamp(42px, 4.5vw, 68px) clamp(68px, 7vw, 106px);
  background:
    radial-gradient(circle at 86% 16%, rgba(51, 121, 103, 0.09), transparent 28rem),
    linear-gradient(180deg, #f7f7f4 0%, var(--engineering-paper) 100%);
}

.engineering-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(23, 26, 32, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 32, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 75% 40%, #000 0%, transparent 67%);
  content: "";
}

.engineering-hero-grid {
  display: grid;
  grid-template-columns: minmax(480px, 0.88fr) minmax(620px, 1.12fr);
  gap: clamp(34px, 4.2vw, 68px);
  align-items: center;
}

.engineering-hero-copy {
  position: relative;
  z-index: 3;
  padding-block: 12px;
}

.engineering-hero h1 {
  max-width: 830px;
  margin: 20px 0 0;
  font-size: clamp(54px, 5.1vw, 78px);
  line-height: 0.93;
}

.engineering-hero .hero-lead {
  max-width: 650px;
  margin-top: 28px;
  color: var(--engineering-muted);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
}

.engineering-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 32px;
}

.engineering-proof-line {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  max-width: 660px;
  margin: clamp(36px, 4.5vw, 58px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--engineering-line);
}

.engineering-proof-line div {
  min-width: 0;
  padding-right: 18px;
}

.engineering-proof-line div + div {
  padding-left: 18px;
  border-left: 1px solid var(--engineering-line);
}

.engineering-proof-line dt {
  color: var(--engineering-muted);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.engineering-proof-line dd {
  margin: 7px 0 0;
  color: var(--engineering-ink);
  font-size: 12px;
  font-weight: 590;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.engineering-proof-line a {
  color: inherit;
  text-underline-offset: 3px;
}

.scene-switcher {
  display: flex;
  gap: 6px;
  margin-top: 30px;
}

.scene-switcher button {
  min-height: 40px;
  padding: 8px 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--engineering-muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 570;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.scene-switcher button:hover {
  color: var(--engineering-ink);
  background: rgba(255, 255, 255, 0.56);
}

.scene-switcher button.is-active {
  border-color: var(--signal-green);
  color: var(--engineering-ink);
}

.hero-system-visual {
  position: relative;
  width: calc(100% + min(9vw, 150px));
  min-height: 680px;
  margin: 0 min(-9vw, -150px) 0 0;
  color: var(--engineering-ink);
}

.scene-images {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 89%, transparent 100%);
}

.scene-panel-image,
.scene-detector-image {
  position: absolute;
  display: block;
  object-fit: cover;
  filter: grayscale(0.18) saturate(0.74) contrast(1.06);
}

.scene-panel-image {
  top: -6%;
  right: 4%;
  width: 55%;
  height: 112%;
  object-position: 57% center;
  opacity: 0.9;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
}

.scene-detector-image {
  top: 1%;
  left: 1%;
  width: 44%;
  height: 50%;
  object-position: 49% 8%;
  opacity: 0.82;
  mask-image: radial-gradient(ellipse at 48% 42%, #000 28%, transparent 72%);
}

.hero-system-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--engineering-paper) 0%, transparent 18%),
    linear-gradient(0deg, var(--engineering-paper) 0%, transparent 23%);
  content: "";
}

.scene-signal {
  position: absolute;
  inset: 2% 0 auto 0;
  z-index: 2;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.scene-line,
.scene-branch {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-line-base {
  stroke: rgba(51, 121, 103, 0.24);
  stroke-width: 2;
}

.scene-line-live,
.scene-branch {
  stroke: var(--signal-red);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: url(#signalGlow);
}

.hero-system-visual[data-mode="access"] .scene-line-live,
.hero-system-visual[data-mode="access"] .scene-branch,
.hero-system-visual[data-mode="video"] .scene-line-live,
.hero-system-visual[data-mode="video"] .scene-branch,
.hero-system-visual[data-mode="service"] .scene-line-live,
.hero-system-visual[data-mode="service"] .scene-branch {
  stroke: var(--signal-green);
}

.scene-svg-node circle:first-child {
  fill: var(--engineering-paper);
  stroke: var(--signal-green);
  stroke-width: 3;
}

.scene-node-ring {
  fill: none;
  stroke: var(--signal-red);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-system-visual.is-running .scene-line-live {
  animation: signalDraw 4.8s cubic-bezier(0.45, 0, 0.2, 1) 0.35s 1 forwards;
}

.hero-system-visual.is-running .scene-branch-one {
  animation: signalDraw 1.1s ease 3.45s 1 forwards;
}

.hero-system-visual.is-running .scene-branch-two {
  animation: signalDraw 1s ease 3.65s 1 forwards;
}

.hero-system-visual.is-running .scene-node-ring {
  animation: nodePulse 850ms ease-out 1 forwards;
}

.hero-system-visual.is-running .scene-svg-node-detector .scene-node-ring { animation-delay: 0.15s; }
.hero-system-visual.is-running .scene-svg-node-panel .scene-node-ring { animation-delay: 1.4s; }
.hero-system-visual.is-running .scene-svg-node-logic .scene-node-ring { animation-delay: 2.55s; }
.hero-system-visual.is-running .scene-svg-node-soue .scene-node-ring { animation-delay: 3.7s; }
.hero-system-visual.is-running .scene-svg-node-access .scene-node-ring { animation-delay: 3.9s; }
.hero-system-visual.is-running .scene-svg-node-log .scene-node-ring { animation-delay: 4.4s; }

@keyframes signalDraw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.92; }
}

@keyframes nodePulse {
  0% { opacity: 0; transform: scale(0.4); }
  32% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.45); }
}

.scene-hotspot {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  min-width: 132px;
  padding: 8px 10px;
  border: 0;
  color: var(--engineering-ink);
  background: rgba(247, 247, 244, 0.86);
  box-shadow: 0 12px 34px rgba(30, 46, 39, 0.08);
  backdrop-filter: blur(12px);
  text-align: left;
  cursor: help;
  transition: transform 180ms ease, background-color 180ms ease;
}

.scene-hotspot:hover,
.scene-hotspot:focus-visible,
.scene-hotspot.is-inspected {
  background: rgba(255, 255, 255, 0.97);
  transform: translateY(-3px);
}

.scene-hotspot.is-inspected {
  box-shadow: 0 0 0 2px rgba(39, 129, 101, 0.2), 0 16px 38px rgba(30, 46, 39, 0.12);
}

.scene-hotspot span {
  grid-row: 1 / 3;
  margin-right: 9px;
  color: var(--signal-green);
  font-size: 10px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.scene-hotspot strong {
  font-size: 11px;
  font-weight: 650;
}

.scene-hotspot small {
  margin-top: 2px;
  color: var(--engineering-muted);
  font-size: 9px;
}

.scene-hotspot-detector { top: 7%; left: 10%; }
.scene-hotspot-panel { top: 27%; left: 30%; }
.scene-hotspot-logic { top: 40%; left: 51%; }
.scene-hotspot-soue { top: 20%; right: 2%; }
.scene-hotspot-access { top: 51%; right: 10%; }
.scene-hotspot-log { top: 63%; right: 3%; }

@media (min-width: 1021px) {
  .scene-hotspot-soue { right: calc(min(6vw, 96px) + 2%); }
  .scene-hotspot-access { right: calc(min(6vw, 96px) + 10%); }
  .scene-hotspot-log { right: calc(min(6vw, 96px) + 3%); }
}

.scene-caption {
  position: absolute;
  right: 6%;
  bottom: 1%;
  z-index: 5;
  width: min(450px, 54%);
  padding: 20px 0 0 24px;
  border-top: 1px solid var(--engineering-line);
  border-left: 3px solid var(--signal-green);
  background: color-mix(in srgb, var(--engineering-paper) 88%, transparent);
  backdrop-filter: blur(12px);
}

.scene-caption > span {
  color: var(--signal-green-deep);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scene-caption strong {
  display: block;
  margin-top: 7px;
  font-size: 18px;
  font-weight: 670;
}

.scene-caption p {
  margin: 7px 0 0;
  color: var(--engineering-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Conversion routes */
.engineering-proof-strip {
  background: #fff;
}

.engineering-proof-strip .proof-grid div {
  min-height: 96px;
}

.intent-section {
  background: #fff;
}

.intent-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.2fr) minmax(280px, 0.7fr);
  max-width: none;
  gap: 32px;
  align-items: end;
}

.intent-heading h2,
.signal-story-copy h2,
.deliverables-copy h2,
.license-bridge-layout h2,
.knowledge-bridge-layout h2 {
  margin: 0;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 0.98;
}

.intent-heading > p:last-child {
  margin: 0;
  color: var(--engineering-muted);
  line-height: 1.55;
}

.intent-list {
  border-top: 1px solid var(--engineering-line);
}

.intent-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(190px, auto);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: center;
  min-height: 156px;
  padding-block: 28px;
  border-bottom: 1px solid var(--engineering-line);
  color: inherit;
  text-decoration: none;
  transition: padding-inline 220ms ease, background-color 220ms ease;
}

.intent-row:hover {
  padding-inline: 20px;
  background: #f5f7f4;
}

.intent-number {
  align-self: start;
  padding-top: 7px;
  color: var(--signal-green);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.intent-row h3 {
  margin: 0;
  font-size: clamp(28px, 2.55vw, 42px);
  line-height: 1.05;
}

.intent-row p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--engineering-muted);
  line-height: 1.5;
}

.intent-row > strong {
  color: var(--signal-green-deep);
  font-size: 13px;
  font-weight: 620;
  text-align: right;
}

.intent-row-urgent .intent-number,
.intent-row-urgent > strong {
  color: var(--signal-red);
}

/* Signal chain */
.signal-story-section {
  background: var(--engineering-paper);
}

.signal-story-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(68px, 9vw, 140px);
  align-items: start;
}

.signal-story-copy {
  position: sticky;
  top: 150px;
}

.signal-story-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 24px;
  color: var(--engineering-muted);
  font-size: 18px;
  line-height: 1.6;
}

.signal-story-copy .engineering-text-link {
  margin-top: 22px;
}

.signal-story-track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-story-track::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 31px;
  width: 1px;
  background: linear-gradient(var(--signal-green), var(--engineering-line));
  content: "";
}

.signal-story-track li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 30px;
  min-height: 132px;
  padding: 24px 0 30px;
}

.signal-story-track li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--engineering-line);
  border-radius: 50%;
  color: var(--signal-green-deep);
  background: var(--engineering-paper);
  font-size: 11px;
  font-weight: 650;
}

.signal-story-track strong {
  display: block;
  font-size: 24px;
  font-weight: 670;
}

.signal-story-track p {
  margin: 9px 0 0;
  color: var(--engineering-muted);
  line-height: 1.55;
}

/* Matrix */
.system-matrix-section {
  color: #eef3f0;
  background: #17231f;
}

.system-matrix-section .eyebrow {
  color: #8fc1b1;
}

.system-matrix-section .section-heading p:last-child {
  color: rgba(238, 243, 240, 0.64);
}

.system-matrix {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.system-matrix-head,
.system-matrix a {
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) repeat(5, minmax(78px, 0.52fr));
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.system-matrix-head {
  min-height: 50px;
  color: rgba(238, 243, 240, 0.5);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.system-matrix a {
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms ease, padding-inline 180ms ease;
}

.system-matrix a:hover {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.system-matrix a strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 620;
}

.system-matrix a span {
  color: #78b6a1;
  font-size: 8px;
}

/* Deliverables */
.deliverables-section {
  overflow: hidden;
  background: #fff;
}

.deliverables-layout,
.license-bridge-layout,
.knowledge-bridge-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(68px, 9vw, 140px);
  align-items: center;
}

.deliverables-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 24px;
  color: var(--engineering-muted);
  font-size: 18px;
  line-height: 1.6;
}

.deliverables-copy .engineering-text-link {
  margin-top: 20px;
}

.document-stack {
  position: relative;
  min-height: 570px;
  perspective: 1200px;
}

.document-sheet {
  position: absolute;
  width: min(510px, 80%);
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--engineering-line);
  color: var(--engineering-ink);
  background: #fbfbf8;
  box-shadow: 0 28px 70px rgba(42, 54, 48, 0.12);
}

.document-sheet-project { top: 0; left: 4%; transform: rotate(-4deg); }
.document-sheet-test { top: 110px; right: 0; transform: rotate(3deg); }
.document-sheet-service { bottom: 0; left: 14%; transform: rotate(-1deg); }

.document-sheet > span {
  color: var(--signal-green-deep);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.document-sheet h3 {
  max-width: 330px;
  margin: 24px 0 0;
  font-size: 30px;
}

.document-sheet p {
  max-width: 390px;
  margin: 12px 0 0;
  color: var(--engineering-muted);
  line-height: 1.5;
}

.document-sheet div {
  height: 92px;
  margin-top: 30px;
  background: repeating-linear-gradient(180deg, var(--engineering-line) 0 1px, transparent 1px 20px);
}

/* Object contexts */
.object-scenarios-section {
  background: var(--engineering-paper);
}

.object-scenarios {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr 0.95fr;
  gap: 1px;
  background: var(--engineering-line);
}

.object-scenarios article {
  min-height: 360px;
  padding: clamp(28px, 3.4vw, 46px);
  background: var(--engineering-paper);
}

.object-scenarios article:nth-child(2) {
  background: #e7ece8;
}

.object-scenarios span {
  color: var(--signal-green-deep);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.object-scenarios h3 {
  margin: 90px 0 0;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.05;
}

.object-scenarios p {
  margin: 18px 0 0;
  color: var(--engineering-muted);
  line-height: 1.55;
}

/* License and knowledge */
.license-bridge-section {
  color: #eef3f0;
  background: #17231f;
}

.license-bridge-section .eyebrow {
  color: #8fc1b1;
}

.license-bridge-number {
  padding-left: clamp(32px, 5vw, 78px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.license-bridge-number > span {
  color: rgba(238, 243, 240, 0.56);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.license-bridge-number > strong {
  display: block;
  margin-top: 15px;
  color: #fff;
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 640;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.license-bridge-number p {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(238, 243, 240, 0.68);
  line-height: 1.55;
}

.license-bridge-number .button {
  margin-top: 28px;
}

.knowledge-bridge-section {
  background: #fff;
}

.knowledge-bridge-layout {
  align-items: start;
}

.knowledge-bridge-layout nav {
  border-top: 1px solid var(--engineering-line);
}

.knowledge-bridge-layout nav a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  min-height: 104px;
  align-items: center;
  border-bottom: 1px solid var(--engineering-line);
  color: inherit;
  text-decoration: none;
  transition: padding-inline 180ms ease, color 180ms ease;
}

.knowledge-bridge-layout nav a:hover {
  padding-inline: 12px;
  color: var(--signal-green-deep);
}

.knowledge-bridge-layout nav span {
  color: var(--engineering-muted);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knowledge-bridge-layout nav strong {
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 610;
}

.engineering-page-cta {
  background:
    radial-gradient(circle at 86% 22%, rgba(51, 121, 103, 0.12), transparent 26rem),
    var(--engineering-paper);
}

@media (max-width: 1240px) {
  .engineering-hero-grid {
    grid-template-columns: minmax(430px, 0.88fr) minmax(520px, 1.12fr);
  }

  .hero-system-visual {
    width: calc(100% + 6vw);
    margin-right: -6vw;
  }

  .scene-hotspot {
    min-width: 112px;
  }

  .scene-hotspot small {
    display: none;
  }
}

@media (max-width: 1020px) {
  .engineering-hero-grid,
  .signal-story-layout,
  .deliverables-layout,
  .license-bridge-layout,
  .knowledge-bridge-layout {
    grid-template-columns: 1fr;
  }

  .engineering-hero-grid {
    gap: 34px;
  }

  .engineering-hero h1 {
    max-width: 850px;
  }

  .hero-system-visual {
    width: 100%;
    min-height: 630px;
    margin: 0;
  }

  .intent-heading {
    grid-template-columns: 0.5fr 1.5fr;
  }

  .intent-heading > p:last-child {
    grid-column: 2;
  }

  .signal-story-copy {
    position: static;
  }

  .document-stack {
    max-width: 760px;
  }

  .object-scenarios {
    grid-template-columns: 1fr;
  }

  .object-scenarios article {
    min-height: 260px;
  }

  .object-scenarios h3 {
    margin-top: 56px;
  }

  .license-bridge-number {
    padding: 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .engineering-hero {
    min-height: auto;
    padding-block: 48px 64px;
  }

  .engineering-hero::before {
    opacity: 0.17;
    background-size: 36px 36px;
  }

  .engineering-hero h1 {
    margin-top: 16px;
    font-size: clamp(44px, 12.5vw, 60px);
    line-height: 0.96;
    letter-spacing: -0.047em;
  }

  .engineering-hero .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .engineering-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .engineering-hero .button,
  .engineering-hero .engineering-text-link {
    justify-content: center;
  }

  .engineering-proof-line {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 34px;
    padding-top: 0;
  }

  .engineering-proof-line div,
  .engineering-proof-line div + div {
    display: grid;
    grid-template-columns: 72px 1fr;
    padding: 12px 0;
    border-top: 1px solid var(--engineering-line);
    border-left: 0;
  }

  .engineering-proof-line dd {
    margin-top: 0;
  }

  .scene-switcher {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 24px;
    border-bottom: 1px solid var(--engineering-line);
  }

  .scene-switcher button {
    padding-inline: 4px;
  }

  .hero-system-visual {
    min-height: 480px;
  }

  .scene-panel-image {
    right: -6%;
    width: 62%;
  }

  .scene-detector-image {
    top: 0;
    left: -5%;
    width: 56%;
    height: 47%;
  }

  .scene-signal {
    top: 5%;
  }

  .scene-hotspot {
    min-width: 0;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
  }

  .scene-hotspot strong,
  .scene-hotspot small {
    display: none;
  }

  .scene-hotspot span {
    grid-row: auto;
    margin: 0;
    font-size: 9px;
  }

  .scene-caption {
    right: 0;
    bottom: 0;
    width: 76%;
    padding: 16px 0 0 18px;
  }

  .scene-caption p {
    display: none;
  }

  .intent-heading {
    display: block;
  }

  .intent-heading h2,
  .signal-story-copy h2,
  .deliverables-copy h2,
  .license-bridge-layout h2,
  .knowledge-bridge-layout h2 {
    margin-top: 14px;
    font-size: clamp(40px, 11vw, 54px);
  }

  .intent-heading > p:last-child {
    margin-top: 20px;
  }

  .intent-row {
    grid-template-columns: 40px 1fr;
    min-height: 0;
    gap: 18px;
    padding-block: 26px;
  }

  .intent-row > strong {
    grid-column: 2;
    text-align: left;
  }

  .intent-row h3 {
    font-size: 28px;
  }

  .signal-story-layout,
  .deliverables-layout,
  .license-bridge-layout,
  .knowledge-bridge-layout {
    gap: 50px;
  }

  .signal-story-track li {
    grid-template-columns: 52px 1fr;
    gap: 20px;
  }

  .signal-story-track::before {
    left: 25px;
  }

  .signal-story-track li > span {
    width: 52px;
    height: 52px;
  }

  .system-matrix {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .system-matrix-head,
  .system-matrix a {
    min-width: 720px;
  }

  .document-stack {
    min-height: 510px;
  }

  .document-sheet {
    width: 88%;
    min-height: 285px;
    padding: 26px;
  }

  .document-sheet h3 {
    font-size: 25px;
  }

  .knowledge-bridge-layout nav a {
    grid-template-columns: 90px 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-system-visual .scene-line-live,
  .hero-system-visual .scene-branch {
    stroke-dashoffset: 0;
    opacity: 0.72;
    animation: none !important;
  }

  .hero-system-visual .scene-node-ring {
    display: none;
  }
}

/* Knowledge base and editorial articles */
.kb-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 9vw, 132px) 0 clamp(58px, 7vw, 102px);
  background:
    linear-gradient(112deg, rgba(164, 46, 46, 0.08), transparent 42%),
    var(--surface);
}

.kb-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -38%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(164, 46, 46, 0.18);
  border-radius: 50%;
  content: "";
}

.kb-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.4fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: end;
}

.kb-hero h1 {
  max-width: 970px;
  margin: 20px 0 24px;
  font-size: clamp(46px, 6.5vw, 104px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.kb-hero-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
}

.kb-hero-index {
  display: grid;
  gap: 13px;
  border-left: 1px solid var(--line-strong);
  padding-left: 24px;
}

.kb-hero-index strong {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.kb-hero-index span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 740;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kb-featured-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.kb-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #17211f;
  color: #f3f5f2;
}

.kb-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(36px, 5vw, 72px);
}

.kb-featured-label,
.article-category {
  color: #d6a1a1;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kb-featured h2 {
  max-width: 900px;
  margin: 30px 0 22px;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.kb-featured p {
  max-width: 730px;
  margin: 0;
  color: #b9c3bf;
  font-size: 18px;
}

.kb-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
  font-weight: 780;
}

.kb-featured-link::after {
  font-size: 26px;
  content: "↗";
}

.kb-featured-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255,255,255,0.14);
  padding: clamp(32px, 4vw, 56px);
  background:
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255,255,255,0.035) 24px 25px),
    #202c29;
}

.kb-featured-aside span {
  color: #98a7a2;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kb-featured-aside ol {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.kb-featured-aside li {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 18px;
  font-size: 15px;
}

.kb-routes {
  padding: 0 0 clamp(72px, 9vw, 126px);
}

.kb-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}

.kb-route {
  min-height: 255px;
  padding: 34px 32px 38px;
}

.kb-route + .kb-route {
  border-left: 1px solid var(--line-strong);
}

.kb-route span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.kb-route h2 {
  margin: 48px 0 13px;
  font-size: clamp(26px, 2.3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.kb-route p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.kb-register {
  border-top: 1px solid var(--line-strong);
  padding: clamp(72px, 9vw, 126px) 0;
  background: var(--surface);
}

.kb-register-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.kb-register-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.kb-register-heading p {
  max-width: 650px;
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}

.kb-list {
  border-top: 1px solid var(--line-strong);
}

.kb-entry {
  display: grid;
  grid-template-columns: 58px 150px minmax(0, 1fr) 34px;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 29px 4px;
  transition: background-color 180ms ease, padding-inline 180ms ease;
}

.kb-entry:hover {
  padding-inline: 18px;
  background: #eef0ed;
}

.kb-entry-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
}

.kb-entry-category {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kb-entry h3 {
  margin: -4px 0 8px;
  font-size: clamp(23px, 2.2vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.kb-entry p {
  max-width: 790px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.kb-entry-arrow {
  font-size: 24px;
  line-height: 1;
}

.kb-editorial-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line-strong);
  padding: 50px 0;
}

.kb-editorial-note h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.kb-editorial-note p {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
}

.article-hero {
  border-bottom: 1px solid var(--line-strong);
  padding: clamp(56px, 7vw, 96px) 0 clamp(50px, 6vw, 82px);
  background: var(--surface);
}

.article-hero-inner {
  max-width: 1120px;
}

.article-hero h1 {
  max-width: 1080px;
  margin: 22px 0 25px;
  font-size: clamp(43px, 6vw, 86px);
  font-weight: 710;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.article-lead {
  max-width: 850px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  color: var(--text-soft);
  font-size: 13px;
}

.article-main {
  padding: clamp(58px, 7vw, 100px) 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 800px);
  gap: clamp(54px, 8vw, 126px);
  justify-content: center;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 144px;
  display: grid;
  gap: 10px;
  border-top: 2px solid var(--text);
  padding-top: 18px;
}

.article-toc strong {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc a {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.article-toc a:hover {
  color: var(--accent);
}

.article-body {
  min-width: 0;
}

.article-body > p:first-child {
  margin-top: 0;
  font-size: 20px;
  line-height: 1.55;
}

.article-body p,
.article-body li {
  color: #373d43;
  font-size: 17px;
  line-height: 1.72;
}

.article-body h2 {
  margin: 72px 0 22px;
  font-size: clamp(32px, 4vw, 49px);
  letter-spacing: -0.045em;
  line-height: 1.06;
  scroll-margin-top: 150px;
}

.article-body h3 {
  margin: 40px 0 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding-left: 24px;
}

.article-body a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-callout {
  margin: 42px 0;
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  background: var(--surface);
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.article-callout p {
  margin: 0;
  font-size: 15px;
}

.article-checklist {
  margin: 34px 0;
  border-block: 1px solid var(--line-strong);
}

.article-checklist div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.article-checklist div:last-child {
  border-bottom: 0;
}

.article-checklist span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
}

.article-checklist p {
  margin: 0;
}

.article-service-cta {
  margin: 64px 0 12px;
  border-radius: var(--radius-card);
  padding: clamp(30px, 5vw, 52px);
  background: #17211f;
  color: #f4f6f3;
}

.article-service-cta h2 {
  margin: 0 0 15px;
  color: inherit;
  font-size: clamp(30px, 3.8vw, 46px);
}

.article-service-cta p {
  margin: 0 0 26px;
  color: #b8c3bf;
  font-size: 16px;
}

.article-sources {
  margin-top: 58px;
  border-top: 1px solid var(--line-strong);
  padding-top: 28px;
}

.article-sources h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.article-sources ol {
  gap: 9px;
}

.article-sources li,
.article-disclaimer {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.article-related {
  border-top: 1px solid var(--line-strong);
  padding: clamp(56px, 7vw, 94px) 0;
  background: var(--surface);
}

.article-related-grid {
  display: grid;
  grid-template-columns: 0.55fr repeat(2, 1fr);
  gap: 28px;
}

.article-related-grid > h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.article-related-link {
  border-left: 1px solid var(--line-strong);
  padding-left: 28px;
}

.article-related-link span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 790;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-related-link h3 {
  margin: 26px 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.article-related-link p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .kb-featured,
  .kb-register-heading {
    grid-template-columns: 1fr;
  }

  .kb-featured-aside {
    border-top: 1px solid rgba(255,255,255,0.14);
    border-left: 0;
  }

  .article-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 54px;
  }
}

@media (max-width: 780px) {
  .kb-hero-grid,
  .kb-editorial-note,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .kb-hero-index {
    max-width: 240px;
  }

  .kb-route-grid {
    grid-template-columns: 1fr;
  }

  .kb-route {
    min-height: 0;
  }

  .kb-route + .kb-route {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .kb-entry {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 14px;
  }

  .kb-entry-category {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .kb-entry-copy {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .kb-entry-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

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

  .article-toc {
    position: static;
    display: none;
  }

  .article-related-link {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .kb-hero h1,
  .article-hero h1 {
    font-size: 42px;
  }

  .kb-featured {
    border-radius: 14px;
  }

  .kb-featured h2 {
    font-size: 38px;
  }

  .kb-entry {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .kb-entry-arrow {
    display: none;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .article-service-cta {
    border-radius: 14px;
  }
}

/* 2026-08-30 cross-page alignment and responsive polish */
:root {
  --page-gutter: clamp(20px, 3.333vw, 48px);
  --shell: min(1344px, calc(100% - var(--page-gutter) - var(--page-gutter)));
  --section-space: clamp(72px, 7.2vw, 112px);
  --section-space-compact: clamp(52px, 5.5vw, 84px);
  --content-measure: 68ch;
  --motion-fast: 180ms ease;
}

html {
  scroll-padding-top: 116px;
}

body {
  min-width: 320px;
  font-synthesis: none;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

:where(p, li) {
  text-wrap: pretty;
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(36px, 4.2vw, 60px);
}

.section-heading p,
.page-hero-copy > p:not(.breadcrumbs),
.page-cta p,
.partner-lead,
.article-lead {
  max-width: var(--content-measure);
}

.button,
.dm-incident-link,
.dm-utility-link,
.dm-primary-nav a,
.dm-mobile-nav a,
.dm-footer a {
  touch-action: manipulation;
}

.button,
.dm-incident-link,
.dm-utility-link,
.page-directory-card,
.brand-logo-grid a,
.article-related-link,
.kb-entry {
  transition-duration: 180ms;
}

/* Header */
.dm-header-main {
  min-height: 64px;
  gap: 24px;
}

.dm-header-brand .brand-logo {
  width: 160px;
}

.dm-primary-nav {
  min-height: 44px;
  gap: clamp(22px, 2.8vw, 42px);
}

.dm-primary-nav a {
  min-height: 44px;
  font-size: 13px;
}

.dm-incident-link,
.dm-project-link {
  min-height: 44px;
}

.dm-utility-link {
  width: 44px;
  height: 44px;
}

/* Home hero and proof strip */
.hero {
  min-height: auto;
  padding-block: clamp(64px, 7vw, 104px) clamp(72px, 7.5vw, 112px);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(500px, 1.04fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(56px, 5.55vw, 84px);
  line-height: 0.92;
}

.hero-lead {
  margin-top: 26px;
}

.hero-facts {
  margin-top: clamp(38px, 4.8vw, 64px);
}

.hero-visual {
  min-height: 620px;
}

.proof-grid div {
  min-height: 104px;
  padding-inline: clamp(20px, 2.2vw, 30px);
}

/* Shared inner-page hero */
.page-hero {
  padding-block: clamp(68px, 7.4vw, 108px) clamp(64px, 7vw, 100px);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.6fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: end;
}

.page-hero h1 {
  max-width: 930px;
  font-size: clamp(56px, 6.3vw, 92px);
  line-height: 0.93;
}

.page-hero-copy > .breadcrumbs {
  max-width: none;
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.page-hero-copy > p:not(.breadcrumbs) {
  margin-top: 26px;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.5;
}

.page-hero-aside {
  max-width: 480px;
  padding-top: 18px;
}

.page-hero-aside p {
  margin-top: 12px;
}

/* Grids, cards and tables */
.page-directory-card {
  min-height: 236px;
  gap: 36px;
  padding: clamp(28px, 3.4vw, 46px);
}

.scope-table article {
  grid-template-columns: 72px minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(22px, 3vw, 40px);
  padding-block: 27px 31px;
}

.brands-section {
  padding-block: var(--section-space-compact) var(--section-space);
}

.brand-group {
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  padding-block: 30px;
}

.brand-logo-grid a {
  min-height: 96px;
}

.brand-logo-grid > a:last-child:nth-child(3n + 2) {
  grid-column: span 2;
}

.security-layout,
.contact-grid,
.partner-layout,
.license-layout,
.maintenance-grid {
  align-items: start;
}

.security-primary,
.security-aside,
.lead-form,
.partner-form {
  height: auto;
}

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

.page-cta h2 {
  max-width: 860px;
  font-size: clamp(42px, 4.5vw, 68px);
}

/* Knowledge base and articles use the same rhythm as service pages */
.kb-hero {
  padding-block: clamp(68px, 7.4vw, 108px) clamp(60px, 6.5vw, 94px);
  background:
    radial-gradient(circle at 12% 10%, rgba(36, 116, 94, 0.08), transparent 28rem),
    var(--surface);
}

.kb-hero h1 {
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: 0.94;
}

.kb-featured-section,
.kb-register,
.article-main,
.article-related {
  padding-block: var(--section-space);
}

.kb-featured {
  min-height: 480px;
}

.kb-featured-label,
.article-category {
  color: #9dcbbc;
}

.kb-routes {
  padding-bottom: var(--section-space);
}

.kb-entry {
  grid-template-columns: 52px 142px minmax(0, 1fr) 32px;
  padding-block: 27px;
}

.article-hero {
  padding-block: clamp(64px, 6.8vw, 96px) clamp(56px, 6vw, 82px);
}

.article-hero h1 {
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 1;
}

.article-layout {
  grid-template-columns: minmax(210px, 260px) minmax(0, 780px);
  gap: clamp(52px, 7vw, 104px);
}

.article-body h2 {
  margin-top: 64px;
}

.article-related-grid {
  gap: clamp(24px, 3vw, 40px);
}

/* Footer */
.dm-footer-main {
  grid-template-columns: minmax(320px, 1.35fr) repeat(3, minmax(150px, 0.65fr));
  gap: clamp(32px, 4vw, 64px);
  padding-block: 64px 56px;
}

.dm-footer-column {
  gap: 11px;
}

.dm-footer-column h2 {
  margin-bottom: 10px;
}

.dm-footer-bottom {
  align-items: center;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.3vw, 72px);
  }

  .hero-visual {
    min-height: 560px;
  }

  .dm-primary-nav {
    gap: clamp(18px, 2.1vw, 26px);
  }

  .dm-footer-main {
    grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(130px, 0.62fr));
    gap: 26px;
  }
}

@media (max-width: 959px) {
  :root {
    --page-gutter: 28px;
    --section-space: clamp(68px, 9vw, 88px);
    --section-space-compact: clamp(52px, 7vw, 68px);
  }

  html {
    scroll-padding-top: 92px;
  }

  .dm-header-main {
    min-height: 72px;
  }

  .hero {
    padding-block: 64px 80px;
  }

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

  .hero-grid {
    gap: 52px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(52px, 9vw, 70px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .page-hero {
    padding-block: 64px 72px;
  }

  .page-hero-grid {
    gap: 46px;
  }

  .page-hero h1 {
    max-width: 760px;
    font-size: clamp(54px, 9.5vw, 72px);
  }

  .page-hero-aside {
    max-width: 660px;
  }

  .scope-table article {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .scope-table article p {
    grid-column: 2;
  }

  .brand-group,
  .license-layout,
  .partner-layout,
  .contact-grid,
  .maintenance-grid {
    gap: 48px;
  }

  .dm-footer-main {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 34px 42px;
  }
}

@media (max-width: 780px) {
  .kb-hero-grid {
    gap: 40px;
  }

  .kb-hero h1,
  .article-hero h1 {
    max-width: 680px;
    font-size: clamp(46px, 9.5vw, 64px);
  }

  .kb-entry {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
  }

  .article-related-grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
    --section-space: 72px;
    --section-space-compact: 52px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    padding-bottom: 0;
  }

  body.has-mobile-cta {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .dm-header-main {
    min-height: 68px;
    gap: 10px;
  }

  .dm-header-brand .brand-logo {
    width: 144px;
  }

  .dm-mobile-nav {
    top: 100%;
    height: calc(100dvh - 68px);
    padding: 16px var(--page-gutter) calc(88px + env(safe-area-inset-bottom));
  }

  .dm-mobile-nav a {
    min-height: 52px;
    padding-block: 14px;
    font-size: 17px;
  }

  .hero {
    padding-block: 48px 68px;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.6vw, 54px);
    line-height: 0.96;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

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

  .hero-facts {
    margin-top: 38px;
  }

  .hero-visual {
    min-height: 0;
    border-radius: 14px;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .plan-header {
    gap: 12px;
    padding: 11px 13px;
    font-size: 8px;
  }

  .signal-preview span {
    padding: 13px 6px 12px 17px;
    font-size: 8px;
  }

  .hero-visual figcaption {
    padding: 14px;
  }

  .proof-grid div {
    min-height: 82px;
    padding: 14px 16px;
  }

  .page-hero {
    padding-block: 48px 60px;
  }

  .page-hero-grid {
    gap: 38px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 12.8vw, 54px);
    line-height: 0.96;
  }

  .page-hero-copy > .breadcrumbs {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .page-hero-copy > p:not(.breadcrumbs) {
    margin-top: 22px;
    font-size: 17px;
  }

  .page-hero-aside {
    padding-top: 16px;
  }

  .page-directory-card {
    min-height: 196px;
    gap: 30px;
    padding: 26px 22px;
  }

  .page-directory-card h2,
  .page-directory-card h3 {
    font-size: 32px;
  }

  .scope-table article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding-block: 23px 25px;
  }

  .brands-section {
    padding-top: 52px;
  }

  .brand-group {
    gap: 24px;
    padding-block: 28px;
  }

  .brand-logo-grid a {
    min-height: 86px;
  }

  .brand-logo-grid > a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .page-cta-grid {
    gap: 30px;
  }

  .page-cta h2 {
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1;
  }

  .page-cta .button {
    width: 100%;
  }

  .kb-hero,
  .article-hero {
    padding-block: 48px 60px;
  }

  .kb-hero h1,
  .article-hero h1 {
    font-size: clamp(40px, 11vw, 48px);
    line-height: 1;
  }

  .kb-featured-section,
  .kb-register,
  .article-main,
  .article-related {
    padding-block: 72px;
  }

  .kb-featured {
    min-height: 0;
    border-radius: 14px;
  }

  .kb-featured-copy,
  .kb-featured-aside {
    padding: 28px 24px;
  }

  .kb-featured h2 {
    margin-top: 24px;
    font-size: 37px;
  }

  .kb-entry {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px 12px;
    padding-block: 24px;
  }

  .article-body h2 {
    margin-top: 52px;
  }

  .article-body h3 {
    margin-top: 34px;
  }

  .article-callout {
    padding: 22px 20px;
  }

  .article-service-cta {
    margin-top: 52px;
    padding: 28px 24px;
  }

  .dm-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 52px 44px;
  }

  .dm-footer-column {
    gap: 0;
  }

  .dm-footer-column h2 {
    margin-bottom: 8px;
  }

  .dm-footer-column a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .dm-footer-legal a {
    display: flex;
    min-height: 40px;
    align-items: center;
  }

  .dm-footer-bottom {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    right: var(--page-gutter);
    bottom: max(12px, env(safe-area-inset-bottom));
    left: var(--page-gutter);
    min-height: 54px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity 180ms ease, transform 220ms ease;
  }

  body.mobile-cta-visible .mobile-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .dm-header-brand .brand-logo {
    width: 140px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(40px, 12.2vw, 48px);
  }
}
