@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #273044;
  --graphite: #343d50;
  --muted: #687586;
  --line: #d8e2e8;
  --paper: #f0f6f8;
  --paper-2: #f8fbfc;
  --white: #ffffff;
  --red: #d84540;
  --red-2: #b92f31;
  --blue: #2e6b91;
  --green: #1f8b66;
  --yellow: #d9a441;
  --shadow: 0 28px 80px rgba(39, 48, 68, 0.16);
  --shadow-soft: 0 16px 50px rgba(39, 48, 68, 0.1);
  --radius: 8px;
  --ease: cubic-bezier(.2, .85, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper-2);
  letter-spacing: 0;
}

body.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .58s var(--ease), transform .58s var(--ease);
}

body.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background:
    linear-gradient(rgba(39, 48, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 48, 68, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f9fcfd 0%, #eef5f8 50%, #ffffff 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 226, 232, 0.8);
  background: rgba(248, 251, 252, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1220px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
}

.brand img {
  width: 230px;
  height: auto;
}

.brand span {
  display: inline-flex;
  min-height: 28px;
  padding-left: 14px;
  align-items: center;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #4e5b6a;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}

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

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 120;
  width: min(280px, 80vw);
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(216, 226, 232, 0.96);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(39, 48, 68, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  white-space: normal;
}

.nav-menu a::after {
  display: none;
}

.nav-menu a:hover {
  background: rgba(216, 69, 64, 0.08);
  color: var(--red);
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

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

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

.menu-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(216, 69, 64, 0.22);
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--red-2);
  box-shadow: 0 16px 36px rgba(216, 69, 64, 0.28);
}

.button.secondary {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(39, 48, 68, 0.18);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(39, 48, 68, 0.18);
  box-shadow: none;
}

.band.dark .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.band.dark .button.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(9, 15, 28, 0.18);
}

.login-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(39, 48, 68, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(39, 48, 68, 0.08);
}

.login-button:hover {
  background: var(--white);
  box-shadow: 0 14px 30px rgba(39, 48, 68, 0.12);
}

.button-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.compact {
  padding: 64px 0;
}

.band {
  border-top: 1px solid rgba(216, 226, 232, 0.84);
  border-bottom: 1px solid rgba(216, 226, 232, 0.84);
  background: rgba(255, 255, 255, 0.72);
}

.band.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(216, 69, 64, 0.18), transparent 42%),
    linear-gradient(160deg, #273044 0%, #343d50 100%);
  border: 0;
}

.band.dark .eyebrow,
.band.dark .section-lead,
.band.dark .muted {
  color: rgba(255, 255, 255, 0.74);
}

.band.dark .card {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 46px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -8% -10% 38%;
  background:
    radial-gradient(circle at 52% 52%, rgba(216, 69, 64, 0.16), transparent 0 24%, transparent 35%),
    radial-gradient(circle at 48% 45%, rgba(46, 107, 145, 0.12), transparent 0 38%, transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(240, 246, 248, 0.18));
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(440px, .82fr) minmax(620px, 1.18fr);
  gap: 34px;
  align-items: center;
}

.docsriver-hero .hero-grid {
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: minmax(440px, 0.92fr) minmax(360px, 0.58fr);
  gap: clamp(28px, 4vw, 64px);
}

.hero-copy {
  display: grid;
  gap: 24px;
  align-content: start;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

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

.hero-copy,
.article-body,
.section-head,
.card,
.wiki-links,
.wiki-links a,
.sitemap-links a {
  min-width: 0;
}

.hero-copy h1,
.hero-copy .lead,
.article-body h1,
.article-body h2,
.article-body p,
.card h3,
.card p,
.wiki-links a,
.sitemap-links a {
  overflow-wrap: break-word;
}

h1 {
  max-width: 740px;
  font-size: clamp(38px, 4.9vw, 64px);
  line-height: 1;
  font-weight: 700;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 4.25vw, 58px);
  line-height: 1.03;
}

.hero h1.hero-title-compact {
  font-size: clamp(34px, 3.45vw, 50px);
  line-height: 1.05;
}

h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
  font-weight: 700;
}

.section-head h1 {
  max-width: 820px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
}

.lead {
  max-width: 700px;
  color: #506070;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head.balanced-head {
  align-items: center;
}

.section-head.top-head {
  align-items: start;
}

.product-section-head {
  align-items: center;
}

.section-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.media-grid h2 + .section-lead,
.partner-copy h2 + p {
  margin-top: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(39, 48, 68, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #4c5a68;
  font-size: 13px;
  font-weight: 600;
}

.band.dark .chip {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.visual-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-product-visual {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 1;
  display: grid;
  align-items: center;
  justify-self: end;
  margin-right: -48px;
  border-radius: 24px;
  isolation: isolate;
}

.hero-product-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 54%, rgba(216, 69, 64, 0.18), transparent 0 24%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.78), transparent 0 62%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-product-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.92) 68%, rgba(0, 0, 0, 0.38) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.92) 68%, rgba(0, 0, 0, 0.38) 86%, transparent 100%);
  filter: drop-shadow(0 34px 70px rgba(39, 48, 68, 0.12));
}

.platform-orbit {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.platform-core {
  position: relative;
  z-index: 2;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 226, 232, 0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 246, 248, 0.74)),
    radial-gradient(circle at 35% 25%, rgba(46, 107, 145, 0.22), transparent 40%);
  box-shadow: var(--shadow);
}

.platform-core::before,
.platform-core::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(46, 107, 145, 0.16);
  border-radius: 50%;
}

.platform-core::after {
  inset: 26%;
  border-color: rgba(216, 69, 64, 0.18);
}

.core-label {
  position: relative;
  z-index: 3;
  text-align: center;
}

.core-label strong {
  display: block;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1;
}

.core-label span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.orbit-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
}

.orbit-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.orbit-card:nth-child(2) {
  top: 7%;
  left: 0;
}

.orbit-card:nth-child(3) {
  top: 12%;
  right: 0;
}

.orbit-card:nth-child(4) {
  bottom: 4%;
  left: 15%;
}

.pulse-line {
  position: absolute;
  inset: 7%;
  border: 1px dashed rgba(46, 107, 145, 0.28);
  border-radius: 50%;
  animation: slow-spin 28s linear infinite;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

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

.card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(39, 48, 68, 0.06);
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 69, 64, 0.34);
  box-shadow: 0 20px 48px rgba(39, 48, 68, 0.12);
}

.card .num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(216, 69, 64, 0.1);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(216, 69, 64, 0.1);
}

.card-russian-dev {
  padding-right: 92px;
}

.flat-flag {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 46px;
  height: 30px;
  border: 1px solid rgba(39, 48, 68, 0.72);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(39, 48, 68, 0.08);
}

.flat-flag.ru {
  background: linear-gradient(
    to bottom,
    #fff 0 33.333%,
    #2253a3 33.333% 66.666%,
    #d84540 66.666% 100%
  );
}

.card-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red);
  font-weight: 700;
}

.card:has(.card-link) {
  cursor: pointer;
}

.card:has(.card-link):hover .card-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card:has(.card-link) .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card:has(.card-link:focus-visible) {
  outline: 3px solid rgba(46, 107, 145, 0.3);
  outline-offset: 4px;
}

.image-card.is-clickable,
.image-card:has(.card-link) {
  cursor: pointer;
}

.product-card {
  display: grid;
  grid-template-rows: 300px 1fr auto;
  align-content: stretch;
  min-height: 590px;
  padding: 0;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.product-card.blue::before {
  background: var(--blue);
}

.product-card.green::before {
  background: var(--green);
}

.product-card-media {
  height: 300px;
  overflow: hidden;
  background: var(--paper);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s var(--ease), filter .45s var(--ease);
}

.product-card-media.docsriver img {
  object-position: center bottom;
}

.product-card-media.excellence img {
  object-position: center;
}

.product-card:hover .product-card-media img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.02);
}

.product-card-content {
  padding: 26px 24px 0;
}

.product-card .card-link {
  margin: 22px 24px 26px;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
}

.photo-frame {
  position: relative;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease), filter .45s var(--ease);
}

.photo-frame:hover img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.02);
}

.photo-frame.tall {
  aspect-ratio: 3 / 4;
}

.photo-frame.docsriver-hero-media {
  width: min(100%, 410px);
  justify-self: start;
  aspect-ratio: 941 / 1672;
  background: var(--white);
}

.photo-frame.docsriver-hero-media img {
  object-fit: cover;
  object-position: center;
}

.photo-frame.docsriver-hero-media .overlay-note {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.photo-frame.wide {
  aspect-ratio: 16 / 10;
}

.photo-frame.product {
  aspect-ratio: 4 / 3;
}

.overlay-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(39, 48, 68, 0.86);
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
  backdrop-filter: blur(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), background .28s var(--ease);
}

@media (hover: hover) {
  .photo-frame .overlay-note {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }

  .photo-frame:hover .overlay-note,
  .photo-frame:focus-within .overlay-note {
    opacity: 1;
    transform: translateY(0);
    background: rgba(39, 48, 68, 0.9);
  }
}

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

.image-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(39, 48, 68, 0.08);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 69, 64, 0.28);
  box-shadow: 0 22px 54px rgba(39, 48, 68, 0.13);
}

.image-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.image-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease), filter .45s var(--ease);
}

.image-card:hover .image-card-media img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

.image-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.image-card-body .card-link {
  align-self: end;
  margin-top: 18px;
}

.image-card-body h3 {
  margin: 0;
}

.image-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.image-card:has(.card-link) .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.print-modes-section .section-head {
  align-items: start;
}

.print-modes-section .section-lead {
  margin-top: 40px;
}

.print-mode-groups {
  display: grid;
  gap: 22px;
}

.print-mode-group {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 40px rgba(39, 48, 68, 0.06);
}

.print-mode-group-head {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.print-mode-group-head span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.print-mode-group-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.print-mode-card {
  position: relative;
  display: grid;
  grid-template-rows: 170px 1fr;
  overflow: hidden;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(39, 48, 68, 0.07);
}

.print-mode-card.wide {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
  grid-template-rows: auto;
  align-items: center;
}

.print-mode-media {
  height: 170px;
  overflow: hidden;
  background: var(--paper);
}

.print-mode-card.wide .print-mode-media {
  height: 260px;
  min-height: 0;
  aspect-ratio: auto;
}

.print-mode-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.print-mode-body {
  padding: 24px;
}

.print-mode-body h3 {
  display: block;
  min-height: 66px;
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.22;
}

.print-mode-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.print-mode-card.wide .print-mode-body {
  align-content: center;
  padding: 28px;
}

.print-mode-card.wide .print-mode-body h3 {
  min-height: 0;
}

.direct-print-card {
  min-height: 320px;
}

.direct-print-media img {
  object-fit: contain;
  object-position: center;
  background: #f6fbfd;
}

.pilot-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  border: 2px solid rgba(216, 69, 64, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 252, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(216, 69, 64, 0.13), transparent 34%);
  box-shadow: 0 24px 70px rgba(216, 69, 64, 0.14), var(--shadow-soft);
}

.pilot-callout-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.pilot-callout h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.98;
}

.pilot-callout p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.pilot-callout .button {
  justify-self: start;
  margin-top: 4px;
}

.pilot-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pilot-steps div {
  min-height: 0;
  padding: 17px 18px;
  border: 1px solid rgba(216, 226, 232, 0.9);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.pilot-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.pilot-steps span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.split-list {
  display: grid;
  gap: 22px;
}

.list-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.list-item::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 10px 22px rgba(216, 69, 64, 0.24);
}

.list-item strong {
  display: block;
  margin-bottom: 7px;
}

.list-item span {
  color: var(--muted);
  line-height: 1.58;
}

.partner-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px) 0;
  border-top: 1px solid rgba(46, 107, 145, 0.22);
  border-bottom: 1px solid rgba(46, 107, 145, 0.22);
}

.partner-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: center;
}

.partner-logo {
  display: block;
  width: min(100%, 430px);
}

.partner-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.partner-card span,
.partner-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.partner-card span {
  color: #2e6b91;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.partner-copy p {
  max-width: 760px;
  font-size: 18px;
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid rgba(216, 226, 232, 0.9);
  background:
    linear-gradient(90deg, rgba(46, 107, 145, 0.24), transparent 22%, transparent 78%, rgba(31, 139, 102, 0.22)),
    var(--ink);
  color: var(--white);
}

.marquee-track {
  display: flex;
  min-width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  padding: 16px 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.terminal-marquee {
  margin-top: 0;
}

.excellence-marquee {
  margin-top: 0;
}

.marquee span {
  position: relative;
}

.marquee span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 69, 64, 0.16);
  vertical-align: 1px;
}

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

.mock-dashboard {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mock-toolbar,
.mock-row,
.mock-stats {
  display: grid;
  gap: 10px;
}

.mock-toolbar {
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.mock-search,
.mock-pill,
.mock-cell,
.mock-chart {
  border-radius: 6px;
  background: var(--paper);
}

.mock-search {
  height: 38px;
}

.mock-pill {
  width: 82px;
  height: 38px;
}

.mock-stats {
  grid-template-columns: repeat(3, 1fr);
}

.mock-stat {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
}

.mock-stat strong {
  display: block;
  font-size: 28px;
  color: var(--blue);
}

.mock-stat span {
  color: var(--muted);
  font-size: 13px;
}

.mock-row {
  grid-template-columns: 1.2fr .7fr .7fr .4fr;
}

.mock-cell {
  height: 34px;
}

.mock-chart {
  height: 140px;
  background:
    linear-gradient(to top, rgba(46, 107, 145, 0.18) 0 38%, transparent 38%),
    linear-gradient(to top, rgba(31, 139, 102, 0.2) 0 62%, transparent 62%),
    linear-gradient(to top, rgba(216, 69, 64, 0.18) 0 46%, transparent 46%),
    linear-gradient(to top, rgba(46, 107, 145, 0.18) 0 78%, transparent 78%),
    var(--paper);
  background-size: 18% 100%;
  background-repeat: no-repeat;
  background-position: 10% 0, 34% 0, 58% 0, 82% 0, 0 0;
}

.terminal-hero {
  padding-top: 0;
}

.scroll-scene {
  position: relative;
  min-height: 300vh;
  border-bottom: 1px solid rgba(216, 226, 232, 0.9);
}

.scroll-sticky {
  position: sticky;
  top: 74px;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 36px 0 52px;
}

.scroll-grid {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(460px, 1fr);
  gap: 42px;
  align-items: center;
}

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

.sequence-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.sequence-canvas {
  width: min(100%, 760px);
  aspect-ratio: 820 / 612;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.terminal-hero .sequence-canvas {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sequence-progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(39, 48, 68, 0.12);
  overflow: hidden;
}

.sequence-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width .08s linear;
}

.terminal-hero .sequence-progress {
  display: none;
}

.terminal-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.terminal-specs.light {
  margin-top: 0;
}

.spec {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 226, 232, 0.9);
}

.spec strong {
  display: block;
  font-size: 20px;
}

.spec span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.36;
}

.band.dark .spec {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.band.dark .spec strong {
  color: var(--ink);
}

.band.dark .spec span {
  color: #566373;
}

.insight-band .section-head {
  align-items: center;
}

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

.insight-card {
  position: relative;
  min-height: 124px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(9, 15, 28, 0.12);
}

.insight-card-registry {
  padding-right: 86px;
}

.insight-card-registry .flat-flag {
  top: 22px;
  right: 22px;
  width: 42px;
  height: 28px;
  border-color: rgba(9, 15, 28, 0.92);
  box-shadow: 0 10px 24px rgba(9, 15, 28, 0.18);
}

.insight-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.1;
}

.insight-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.excellence-layers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0, rgba(46, 107, 145, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 248, 0.92));
  box-shadow: 0 24px 70px rgba(39, 48, 68, 0.1);
}

.excellence-core {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.excellence-core span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(216, 69, 64, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.excellence-core strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}

.excellence-layer,
.capability-card,
.module-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(39, 48, 68, 0.07);
}

.excellence-layer::before,
.capability-card::before,
.module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--red);
}

.excellence-layer.blue::before,
.capability-card.blue::before,
.module-card.blue::before {
  background: var(--blue);
}

.excellence-layer.green::before,
.capability-card.green::before,
.module-card.green::before {
  background: var(--green);
}

.excellence-layer.red::before,
.capability-card.red::before,
.module-card.red::before {
  background: var(--red);
}

.excellence-layer h3,
.excellence-layer p,
.capability-card h3,
.capability-card p,
.module-card h3,
.module-card p {
  margin: 0;
}

.excellence-layer p,
.capability-card p,
.module-card p {
  color: var(--muted);
  line-height: 1.52;
}

.counter-capability {
  min-height: 380px;
  padding: clamp(20px, 2vw, 26px);
  gap: 12px;
}

.counter-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 226, 232, 0.95);
}

.counter-card-head span {
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.counter-capability.green .counter-card-head span {
  color: var(--green);
}

.counter-card-head h3 {
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.08;
}

.counter-capability > p {
  font-size: clamp(16px, 1.2vw, 20px);
}

.counter-card-media {
  overflow: hidden;
  margin: 2px 0 0;
  border-radius: calc(var(--radius) - 6px);
  background: transparent;
}

.counter-card-media img {
  width: 100%;
  height: auto;
  display: block;
}

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

.module-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(190px, 0.92fr);
  gap: 22px;
  align-items: stretch;
  min-height: 260px;
  padding: clamp(18px, 2.2vw, 24px);
}

.module-card-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-left: 4px;
}

.module-card-copy > span {
  width: max-content;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.module-card.green .module-card-copy > span {
  color: var(--green);
}

.module-card-media {
  overflow: hidden;
  min-height: 210px;
  border-radius: calc(var(--radius) - 2px);
  background: var(--paper);
}

.module-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.map-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 226, 232, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.excellence-security-band {
  position: relative;
  overflow: hidden;
}

.excellence-security-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.8;
  pointer-events: none;
}

.excellence-security-band .section {
  position: relative;
}

.security-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.data-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  margin-top: 36px;
}

.data-routes div {
  display: grid;
  gap: 8px;
  min-height: 130px;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(9, 15, 28, 0.16);
}

.data-routes strong {
  color: var(--white);
  font-size: 20px;
}

.data-routes span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.security-scenario {
  display: grid;
  gap: 15px;
  align-content: start;
  min-height: 252px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  box-shadow: 0 18px 44px rgba(9, 15, 28, 0.18);
}

.security-scenario h3,
.security-scenario p {
  margin: 0;
}

.security-scenario h3 {
  color: var(--white);
}

.security-scenario p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.security-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.52fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.security-note strong {
  grid-column: 1;
  color: var(--white);
  font-size: 20px;
}

.security-note span {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.security-note .button {
  grid-column: 1;
  justify-self: start;
  white-space: nowrap;
}

.security-note-photo {
  grid-column: 2;
  grid-row: 1 / span 3;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(9, 15, 28, 0.18);
}

.security-note-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.visual-band {
  border-top: 1px solid rgba(216, 226, 232, 0.8);
  border-bottom: 1px solid rgba(216, 226, 232, 0.8);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(240, 246, 248, 0.78)),
    linear-gradient(90deg, rgba(216, 69, 64, 0.05), rgba(46, 107, 145, 0.05));
}

.visual-system {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.visual-copy {
  max-width: 560px;
}

.visual-copy h2 {
  margin-top: 12px;
  font-size: clamp(28px, 2.55vw, 38px);
  line-height: 1.1;
}

.visual-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.visual-copy .wiki-links {
  margin-top: 26px;
}

.visual-map {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(39, 48, 68, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 48, 68, 0.032) 1px, transparent 1px),
    rgba(255, 255, 255, 0.86);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow-soft);
}

.visual-core {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.visual-core span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-core strong {
  font-size: 24px;
  line-height: 1.15;
}

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

.visual-node {
  min-height: 158px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(39, 48, 68, 0.05);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.visual-node.red {
  border-top-color: var(--red);
}

.visual-node.green {
  border-top-color: var(--green);
}

a.visual-node:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 69, 64, 0.34);
  box-shadow: 0 18px 38px rgba(39, 48, 68, 0.12);
}

.visual-node strong {
  font-size: 18px;
  line-height: 1.18;
}

.visual-node > span:not(.icon-badge) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.ops-board {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(39, 48, 68, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 48, 68, 0.032) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 248, 0.9));
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: var(--shadow-soft);
}

.hero-board {
  align-self: center;
}

.ops-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 226, 232, 0.86);
}

.ops-board-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ops-board-head strong {
  max-width: 320px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  text-align: right;
}

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

.ops-lane {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 15px;
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.ops-lane strong {
  font-size: 17px;
  line-height: 1.16;
}

.ops-lane small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ops-board-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-board-foot span {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.diagram {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 226, 232, 0.92);
}

.diagram-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: center;
  gap: 12px;
}

.diagram-node {
  min-height: 100px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 700;
}

.diagram-node.dark {
  background: var(--ink);
  color: var(--white);
}

.diagram-arrow {
  height: 2px;
  background: var(--line);
  position: relative;
}

.diagram-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--line);
  border-right: 2px solid var(--line);
  transform: rotate(45deg);
}

.terminal-connect {
  display: block;
  width: min(86%, 820px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.terminal-connect img {
  display: block;
  width: 100%;
  height: auto;
}

.connect-node {
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.connect-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(46, 107, 145, 0.12);
  color: var(--blue);
  font-weight: 800;
}

.connect-node strong {
  font-size: 21px;
  line-height: 1.15;
}

.connect-node small,
.connect-server span {
  color: var(--muted);
  line-height: 1.45;
}

.connect-node.terminal {
  border-color: rgba(216, 69, 64, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 244, 0.82));
}

.connect-node.terminal img {
  max-height: 138px;
  object-fit: contain;
}

.connect-node.printer span {
  background: rgba(31, 139, 102, 0.12);
  color: var(--green);
}

.connect-line {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 107, 145, 0.18), rgba(216, 69, 64, 0.62));
}

.connect-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  width: 13px;
  height: 13px;
  border-top: 3px solid rgba(216, 69, 64, 0.62);
  border-right: 3px solid rgba(216, 69, 64, 0.62);
  transform: rotate(45deg);
}

.connect-server {
  grid-column: 2 / 5;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  align-items: center;
  margin-top: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(46, 107, 145, 0.22);
  border-radius: var(--radius);
  background: rgba(240, 246, 248, 0.95);
}

.connect-server::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(216, 69, 64, 0.12);
}

.audit-board,
.service-desk-board,
.mps-economy-board {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 28px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(39, 48, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 48, 68, 0.03) 1px, transparent 1px),
    rgba(255, 255, 255, 0.9);
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: var(--shadow-soft);
}

.audit-board.hero-board,
.service-desk-board.hero-board,
.mps-economy-board.hero-board {
  align-self: center;
}

.audit-board::before,
.service-desk-board::before,
.mps-economy-board::before {
  content: "";
  position: absolute;
  inset: auto -12% -36% 18%;
  height: 72%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 69, 64, 0.16), transparent 68%);
  pointer-events: none;
}

.audit-board-head,
.desk-topbar {
  position: relative;
  z-index: 1;
}

.audit-board-head {
  display: grid;
  gap: 8px;
}

.audit-board-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-board-head strong,
.economy-copy strong {
  max-width: 520px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.02;
}

.audit-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.audit-metrics div {
  padding: 16px;
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.audit-metrics b,
.desk-column strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.audit-metrics span,
.desk-column p,
.economy-copy p {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.audit-heatmap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.audit-heatmap span {
  min-height: 34px;
  border-radius: 7px;
  background: rgba(46, 107, 145, 0.12);
}

.audit-heatmap .mid {
  background: rgba(217, 164, 65, 0.22);
}

.audit-heatmap .high {
  background: rgba(216, 69, 64, 0.22);
}

.audit-route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.audit-route i {
  height: 2px;
  border-radius: 999px;
  background: rgba(216, 69, 64, 0.42);
}

.desk-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.desk-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(216, 69, 64, 0.5);
}

.desk-topbar span:nth-child(2) {
  background: rgba(217, 164, 65, 0.65);
}

.desk-topbar span:nth-child(3) {
  background: rgba(31, 139, 102, 0.55);
}

.desk-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.18fr .86fr;
  gap: 14px;
  align-items: stretch;
}

.desk-column {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(216, 226, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.desk-column.accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 248, 0.9));
  border-color: rgba(46, 107, 145, 0.22);
}

.desk-ticket {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 9px;
  align-items: center;
  padding: 12px;
  border-radius: 7px;
  background: rgba(240, 246, 248, 0.95);
  color: var(--muted);
  font-size: 13px;
}

.desk-ticket span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.desk-ticket.hot span {
  background: var(--red);
}

.desk-progress {
  height: 12px;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(216, 226, 232, 0.82);
  overflow: hidden;
}

.desk-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.desk-stock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  align-items: end;
}

.desk-stock span {
  min-height: 54px;
  border-radius: 7px;
  background: rgba(31, 139, 102, 0.16);
}

.desk-stock span:nth-child(2) {
  min-height: 88px;
  background: rgba(46, 107, 145, 0.16);
}

.desk-stock span:nth-child(3) {
  min-height: 70px;
  background: rgba(216, 69, 64, 0.14);
}

.mps-economy-board {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.economy-ring {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 0 48%, transparent 49%),
    conic-gradient(var(--red) 0 42%, var(--green) 42% 74%, var(--blue) 74% 100%);
  box-shadow: 0 18px 48px rgba(39, 48, 68, 0.14);
}

.economy-ring span {
  font-size: 24px;
  font-weight: 800;
}

.economy-bars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
  align-self: stretch;
}

.economy-bars span {
  min-height: 70px;
  border-radius: 8px 8px 0 0;
  background: rgba(46, 107, 145, 0.14);
}

.economy-bars span:nth-child(2) {
  min-height: 130px;
  background: rgba(216, 69, 64, 0.18);
}

.economy-bars span:nth-child(3) {
  min-height: 96px;
  background: rgba(217, 164, 65, 0.24);
}

.economy-bars span:nth-child(4) {
  min-height: 158px;
  background: rgba(31, 139, 102, 0.18);
}

.economy-copy,
.economy-tags {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
}

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

.economy-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(216, 226, 232, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: flow;
}

.flow-step {
  counter-increment: flow;
  padding: 22px;
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(39, 48, 68, 0.07);
}

.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.form-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 226, 232, 0.94);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-item {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
}

.contact-item span,
.contact-item a {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.contact-item span + a {
  margin-top: 6px;
}

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

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

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.lead-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 64px;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 38px) 50%,
    calc(100% - 30px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.lead-form textarea {
  min-height: 118px;
  resize: vertical;
}

.form-extra {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(190px, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.captcha-image-wrap {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 8px;
}

.captcha-image-wrap img {
  width: 132px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  object-fit: cover;
}

.captcha-refresh {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}

.captcha-refresh:hover {
  color: var(--ink);
  border-color: rgba(183, 58, 54, 0.38);
}

.smart-captcha-holder {
  min-height: 1px;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  accent-color: var(--red);
}

.consent-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: rgba(216, 69, 64, 0.64);
  box-shadow: 0 0 0 4px rgba(216, 69, 64, 0.08);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.form-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.form-submit {
  min-width: 210px;
  justify-content: center;
}

.form-status {
  border-radius: var(--radius);
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  padding: 13px 15px;
  width: 100%;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  background: rgba(47, 125, 81, 0.1);
  border: 1px solid rgba(47, 125, 81, 0.28);
  color: #2f7d51;
}

.form-status.is-error {
  background: rgba(178, 68, 58, 0.1);
  border: 1px solid rgba(178, 68, 58, 0.28);
  color: #b2443a;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: .68;
}

.rent-offer {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.rent-offer strong {
  font-size: 22px;
}

.rent-offer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: #455466;
  line-height: 1.55;
}

.rent-offer p,
.rent-note {
  color: var(--muted);
  line-height: 1.55;
}

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

.device-card {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(39, 48, 68, 0.06);
}

.device-media {
  display: flex;
  min-height: 136px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 226, 232, 0.88);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f5f8fa);
}

.device-media img {
  width: 100%;
  max-height: 136px;
  object-fit: contain;
}

.device-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.device-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.device-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper);
  color: #4d5a67;
  font-size: 12px;
  font-weight: 700;
}

.device-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.device-specs div {
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  border-radius: 8px;
  background: var(--paper);
}

.device-specs span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.device-specs strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.device-docsriver {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  color: #4d5a67;
  font-size: 14px;
}

.rent-note {
  margin-top: 18px;
  padding: 18px;
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.compare-table div {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.compare-table strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 20px;
}

.compare-table span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.icon-badge {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  background: rgba(216, 69, 64, 0.1);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(216, 69, 64, 0.12);
}

.icon-badge svg,
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-badge.blue {
  background: rgba(46, 107, 145, 0.1);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(46, 107, 145, 0.14);
}

.icon-badge.green {
  background: rgba(31, 139, 102, 0.1);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(31, 139, 102, 0.14);
}

.downloads-hero {
  min-height: auto;
  padding: 76px 0 82px;
}

.download-grid {
  align-items: stretch;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.download-card-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.download-card-head > div {
  min-width: 0;
}

.download-card-head .icon-badge {
  flex: 0 0 auto;
}

.download-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.download-button {
  justify-content: space-between;
  width: 100%;
}

.download-button .platform {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.platform-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

.download-qr-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px;
  border: 1px solid rgba(35, 48, 68, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.download-qr-item img {
  width: min(128px, 100%);
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(35, 48, 68, 0.08);
}

.download-qr-item strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.download-qr-item span {
  color: var(--muted);
  font-size: 0.84rem;
}


.product-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: rgba(216, 69, 64, 0.09);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(216, 69, 64, 0.12);
}

.card-icon.blue {
  background: rgba(46, 107, 145, 0.09);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(46, 107, 145, 0.13);
}

.card-icon.green {
  background: rgba(31, 139, 102, 0.09);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(31, 139, 102, 0.13);
}

.card-icon.ink {
  background: rgba(39, 48, 68, 0.08);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(39, 48, 68, 0.11);
}

.band.dark .card-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.seo-prose {
  max-width: 980px;
  display: grid;
  gap: 20px;
}

.seo-prose p {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.inline-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(216, 69, 64, 0.18);
}

.inline-link:hover {
  color: #a92d29;
  box-shadow: inset 0 -2px 0 rgba(216, 69, 64, 0.36);
}

.band.dark .seo-prose p {
  color: rgba(255, 255, 255, 0.74);
}

.band.dark .inline-link {
  color: #ff8a84;
  box-shadow: inset 0 -2px 0 rgba(255, 138, 132, 0.28);
}

.band.dark .inline-link:hover {
  color: var(--white);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.42);
}

.wiki-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.wiki-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.wiki-links a,
.sitemap-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(39, 48, 68, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.band.dark .wiki-links span {
  color: rgba(255, 255, 255, 0.72);
}

.band.dark .wiki-links a {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

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

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

.article-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(216, 226, 232, 0.94);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.article-item:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 69, 64, 0.32);
  box-shadow: var(--shadow-soft);
}

.article-item span {
  color: var(--muted);
  font-size: 13px;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
}

.blog-pagination a,
.blog-pagination strong,
.blog-pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(216, 226, 232, 0.94);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.blog-pagination a:hover {
  border-color: rgba(216, 69, 64, 0.36);
  color: var(--red);
}

.blog-pagination strong {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.blog-pagination span {
  color: var(--muted);
}

.article-thumb {
  min-height: 108px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 30px;
  font-weight: 800;
}

.article-body {
  max-width: 820px;
  display: grid;
  gap: 22px;
  font-size: 18px;
  line-height: 1.7;
}

.rich-article {
  max-width: 920px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.article-cover {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 226, 232, 0.94);
  box-shadow: var(--shadow-soft);
}

.article-content {
  display: grid;
  gap: 18px;
}

.article-content p {
  color: #455466;
}

.article-content a {
  color: var(--red);
  font-weight: 700;
}

.article-content ul,
.article-content ol {
  margin: 0;
  padding-left: 24px;
  color: #455466;
}

.article-body h2 {
  margin-top: 18px;
  font-size: clamp(26px, 2.6vw, 36px);
}

.article-body ol,
.article-body ul {
  margin: 0;
  padding-left: 26px;
  color: #455466;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body li ul {
  margin-top: 8px;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(520px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.footer-logo {
  display: block;
  width: 214px;
  height: auto;
  margin-bottom: 22px;
}

.footer-brand-block p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 36px;
}

.footer a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-group {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-group strong,
.footer-contact span {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-group a {
  font-size: 16px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px 28px;
  margin-top: 28px;
  max-width: 720px;
}

.footer-contact a,
.footer-contact div {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.footer-contact span {
  margin-bottom: 5px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 760px;
  padding: 16px;
  border: 1px solid rgba(216, 226, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  color: #455466;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--red);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.desktop-only {
  display: initial;
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    width: 100%;
    padding: 22px 20px 28px;
    background: rgba(248, 251, 252, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    white-space: normal;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(216, 226, 232, 0.72);
  }

  .nav-item {
    display: grid;
  }

  .nav-item > a {
    display: block;
  }

  .nav-menu {
    position: static;
    width: 100%;
    padding: 0 0 10px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-menu::before {
    display: none;
  }

  .nav-menu a {
    padding: 9px 0;
    border-bottom: 0;
    color: var(--muted);
  }

  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    transform: none;
  }

  .burger {
    display: block;
  }

  .nav-actions .button {
    display: none;
  }

  .hero-grid,
  .scroll-grid,
  .media-grid,
  .form-panel,
  .pilot-callout,
  .visual-system,
  .excellence-layers,
  .module-pair {
    grid-template-columns: 1fr;
  }

  .excellence-core {
    grid-template-columns: 1fr;
  }

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

  .module-card-media {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

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

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

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

  .security-note-photo {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    grid-row: auto;
  }

  .hero-grid {
    gap: 32px;
  }

  .docsriver-hero .hero-grid {
    grid-template-columns: 1fr;
    width: min(100% - 40px, 760px);
  }

  .photo-frame.docsriver-hero-media {
    justify-self: center;
    width: min(100%, 380px);
  }

  .hero::before {
    inset: 36% -20% -12%;
  }

  .hero-product-visual {
    justify-self: center;
    width: min(108%, 760px);
    margin-right: 0;
  }

  .visual-stage {
    min-height: auto;
  }

  .scroll-grid {
    min-height: calc(100vh - 74px);
    align-content: center;
  }

  .cards-grid,
  .cards-grid.two,
  .cards-grid.four,
  .terminal-specs,
  .insight-grid,
  .image-card-grid,
  .print-mode-grid,
  .visual-nodes,
  .ops-lanes,
  .service-flow,
  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .print-mode-card.wide {
    grid-template-columns: 1fr;
  }

  .connect-line {
    width: 3px;
    height: 42px;
    justify-self: center;
  }

  .connect-line::after {
    right: -5px;
    top: auto;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .connect-server {
    grid-column: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .connect-server::before {
    margin: 0 auto;
  }

  .desk-layout,
  .mps-economy-board {
    grid-template-columns: 1fr;
  }

  .desk-column {
    min-height: auto;
  }

  .economy-ring {
    justify-self: center;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .print-modes-section .section-lead {
    margin-top: 0;
  }

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

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

  .partner-panel {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .nav,
  .section,
  .hero-grid,
  .scroll-grid,
  .footer-inner {
    width: min(100% - 28px, 1220px);
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 190px;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 58px;
  }

  .photo-frame.docsriver-hero-media {
    width: min(86vw, 360px);
  }

  .hero::before {
    inset: 48% -42% -8%;
  }

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

  .hero h1.hero-title-compact {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.08;
  }

  .hero-product-visual {
    width: min(116%, 540px);
    margin: -8px -8% 0;
  }

  h2 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.08;
  }

  .section-head h1 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.08;
  }

  .visual-copy h2 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
  }

  .visual-copy p {
    font-size: 16px;
    line-height: 1.52;
  }

  .lead {
    font-size: 17px;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero .trust-row {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section.compact {
    padding: 48px 0;
  }

  .cards-grid,
  .cards-grid.two,
  .cards-grid.four,
  .terminal-specs,
  .service-flow,
  .device-grid,
  .field-grid,
  .mock-stats,
  .insight-grid,
  .image-card-grid,
  .print-mode-grid,
  .pilot-steps,
  .visual-nodes,
  .ops-lanes,
  .security-scenarios {
    grid-template-columns: 1fr;
  }

  .captcha-row,
  .captcha-image-wrap {
    grid-template-columns: 1fr;
  }

  .pilot-callout {
    padding: 22px;
  }

  .pilot-steps div {
    min-height: 0;
  }

  .print-mode-group {
    padding: 14px;
  }

  .print-mode-group-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .security-note-photo {
    width: 100%;
  }

  .security-note .button {
    justify-self: start;
  }

  .print-mode-card.wide {
    grid-template-columns: 1fr;
  }

  .print-mode-card.wide .print-mode-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .print-mode-body,
  .print-mode-card.wide .print-mode-body {
    padding: 18px;
  }

  .visual-map,
  .ops-board {
    padding: 16px;
  }

  .ops-board-head {
    display: grid;
    align-items: start;
  }

  .ops-board-head strong {
    max-width: none;
    text-align: left;
  }

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

  .device-media {
    min-height: 160px;
  }

  .compare-table,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .platform-orbit {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    gap: 12px;
  }

  .platform-core {
    width: 100%;
    min-height: 220px;
    border-radius: var(--radius);
  }

  .pulse-line {
    display: none;
  }

  .orbit-card {
    position: relative;
    inset: auto !important;
    width: 100%;
  }

  .scroll-scene {
    min-height: auto;
  }

  .scroll-sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .sequence-canvas {
    width: 100%;
  }

  .terminal-hero.scroll-scene {
    min-height: 300vh;
  }

  .terminal-hero .scroll-sticky {
    position: sticky;
    top: 74px;
    min-height: calc(100vh - 74px);
    align-items: start;
    padding: 22px 0 26px;
    overflow: hidden;
  }

  .terminal-hero .scroll-grid {
    gap: 14px;
  }

  .terminal-hero .sequence-copy {
    gap: 14px;
  }

  .terminal-hero .sequence-copy .lead {
    font-size: 16px;
    line-height: 1.42;
  }

  .terminal-hero .sequence-canvas {
    width: min(106%, 520px);
    margin: -4px -3% 0;
  }

  .terminal-hero .sequence-progress {
    display: none;
  }

  .diagram-row {
    grid-template-columns: 1fr;
  }

  .diagram-arrow {
    width: 2px;
    height: 38px;
    margin: 0 auto;
  }

  .diagram-arrow::after {
    right: -5px;
    top: auto;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .audit-board,
  .service-desk-board,
  .mps-economy-board {
    min-height: auto;
    padding: 18px;
  }

  .audit-metrics,
  .audit-route {
    grid-template-columns: 1fr;
  }

  .audit-route i {
    width: 2px;
    height: 26px;
    justify-self: center;
  }

  .audit-heatmap {
    grid-template-columns: repeat(3, 1fr);
  }

  .connect-node {
    min-height: 150px;
    padding: 18px;
  }

  .connect-node.terminal img {
    max-height: 118px;
  }

  .economy-ring {
    width: 150px;
    height: 150px;
  }

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

  .article-thumb {
    min-height: 180px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .partner-panel {
    padding: 22px;
  }

  .partner-links .button {
    width: 100%;
  }

  .desktop-only {
    display: none;
  }

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

  .download-button {
    width: 100%;
  }

  .download-card-head {
    gap: 14px;
  }

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

  .download-qr-item {
    padding: 10px;
  }

  .download-qr-item img {
    width: min(112px, 100%);
  }
}

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