:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --text: #000000;
  --muted: #333333;
  --muted-soft: #7d7d7d;
  --accent: #086522;
  --accent-strong: #095a16;
  --accent-soft: rgba(8, 101, 34, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --page-gutter: clamp(18px, 4vw, 28px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Montserrat", Arial, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

button,
input,
textarea {
  font: inherit;
}

select {
  font: inherit;
}

a,
button,
input,
textarea,
select {
  min-width: 0;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.46;
  pointer-events: none;
}

.site-shell {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.home-splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.home-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: home-loader-out 0.9s ease 4s forwards;
}

.home-logo {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.home-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(72vw, 520px);
  min-height: min(32vw, 220px);
  padding: 24px 52px;
  background: rgba(0, 0, 0, 0.92);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    0 0 26px rgba(8, 101, 34, 0.16),
    0 0 78px rgba(8, 101, 34, 0.1);
  animation: logo-breathe 6.6s ease-in-out infinite;
}

.home-logo__text {
  color: rgba(0, 0, 0, 0.72);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  animation: logo-breathe-soft 6.6s ease-in-out infinite;
}

.home-intro {
  width: min(100%, 860px);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: home-intro-in 1.1s ease 4s forwards;
}

.home-intro h1 {
  max-width: none;
  margin: 0 auto 20px;
}

.home-intro__title {
  position: relative;
  min-height: clamp(190px, 25vw, 300px);
}

.home-intro__phrase {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
}

.home-intro__phrase--start {
  animation: home-phrase-start 4.2s ease 4.05s forwards;
}

.home-intro__phrase--solution {
  animation: home-phrase-solution 5.2s ease 7.55s forwards;
}

.home-intro__phrase--outsource {
  animation: home-phrase-outsource 5.2s ease 12.45s forwards;
}

.home-intro__phrase--ready {
  animation: home-phrase-ready 1.05s ease 17.45s forwards;
}

.home-intro__visual {
  position: relative;
  width: min(100%, 480px);
  min-height: 190px;
  margin: 0 auto;
}

.home-code-window {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 10px;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(8, 101, 34, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  animation: home-code-window-life 5.1s ease 7.85s forwards;
}

.home-code-window::before {
  content: "";
  width: 48px;
  height: 9px;
  margin-bottom: 4px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 4px 50%, var(--accent) 0 4px, transparent 4.5px),
    radial-gradient(circle at 24px 50%, rgba(8, 101, 34, 0.42) 0 4px, transparent 4.5px),
    radial-gradient(circle at 44px 50%, rgba(0, 0, 0, 0.18) 0 4px, transparent 4.5px);
}

.home-code-window__line {
  display: block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  border-right: 2px solid var(--accent);
  color: #12381d;
  font-family: "Courier New", monospace;
  font-size: clamp(0.78rem, 1.9vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.home-code-window__line--one {
  animation: home-code-type 0.8s steps(27, end) 8.15s forwards, home-code-caret 0.65s step-end 8.15s 4;
}

.home-code-window__line--two {
  animation: home-code-type 0.62s steps(17, end) 8.9s forwards, home-code-caret 0.65s step-end 8.9s 3;
}

.home-code-window__line--three {
  animation: home-code-type 0.72s steps(26, end) 9.45s forwards, home-code-caret 0.65s step-end 9.45s 4;
}

.home-network-map {
  position: absolute;
  inset: 0;
  width: min(100%, 420px);
  margin: 0 auto;
  fill: none;
  opacity: 0;
  transform: translateY(16px);
  animation: home-network-map-life 5.05s ease 12.75s forwards;
}

.home-network-map__line {
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  opacity: 0.74;
}

.home-network-map__line--one {
  animation: home-network-line 1.2s ease 13.08s forwards;
}

.home-network-map__line--two {
  animation: home-network-line 1.2s ease 13.24s forwards;
}

.home-network-map__line--three {
  animation: home-network-line 1.2s ease 13.4s forwards;
}

.home-network-map__line--four {
  animation: home-network-line 1.2s ease 13.56s forwards;
}

.home-network-map__line--five {
  animation: home-network-line 1.2s ease 13.72s forwards;
}

.home-network-map__node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: home-network-node 0.8s ease forwards;
}

.home-network-map__node rect {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--accent);
  stroke-width: 2.3;
}

.home-network-map__node path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-network-map__node--core {
  animation-delay: 12.95s;
}

.home-network-map__node--core rect {
  fill: rgba(8, 101, 34, 0.09);
}

.home-network-map__node--top {
  animation-delay: 13.14s;
}

.home-network-map__node--left-top {
  animation-delay: 13.3s;
}

.home-network-map__node--left-bottom {
  animation-delay: 13.46s;
}

.home-network-map__node--right-top {
  animation-delay: 13.62s;
}

.home-network-map__node--right-bottom {
  animation-delay: 13.78s;
}

.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(16px);
  animation: home-actions-in 0.9s ease 17.8s forwards;
}

.home-intro .lead {
  max-width: 48ch;
  margin: 0 auto;
}

.error-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-card {
  width: min(100%, 760px);
  padding: 48px 40px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.error-card h1 {
  max-width: none;
  margin: 0 auto 18px;
}

.error-card .lead {
  margin: 0 auto;
}

.error-actions {
  justify-content: center;
}

@keyframes logo-breathe {
  0%,
  100% {
    opacity: 0.92;
    transform: scale(1);
    box-shadow:
      0 0 26px rgba(8, 101, 34, 0.16),
      0 0 78px rgba(8, 101, 34, 0.1);
  }

  50% {
    opacity: 1;
    transform: scale(1.028);
    box-shadow:
      0 0 34px rgba(8, 101, 34, 0.22),
      0 0 96px rgba(8, 101, 34, 0.16);
  }
}

@keyframes logo-breathe-soft {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 0.96;
  }
}

@keyframes home-loader-out {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes home-intro-in {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-phrase-start {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(5px);
  }

  18%,
  68% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-16px);
    filter: blur(5px);
  }
}

@keyframes home-phrase-solution {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(5px);
  }

  22%,
  74% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-16px);
    filter: blur(5px);
  }
}

@keyframes home-phrase-outsource {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(5px);
  }

  22%,
  76% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-16px);
    filter: blur(5px);
  }
}

@keyframes home-phrase-ready {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes home-code-window-life {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  18%,
  72% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes home-code-type {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes home-code-caret {
  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: var(--accent);
  }
}

@keyframes home-network-map-life {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  20%,
  76% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes home-network-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes home-network-node {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }

  70% {
    opacity: 1;
    transform: scale(1.12);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes home-actions-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.section {
  padding: 70px 0;
}

.section--fill {
  min-height: calc(100vh - 185px);
  display: flex;
  align-items: center;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.home-header {
  opacity: 0;
  transform: translateY(-18px);
  animation: home-intro-in 1.1s ease 4s forwards;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}

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

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 14px;
  border-radius: 0;
  background: var(--text);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__text {
  font-size: 0.9rem;
  color: var(--muted-soft);
}

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

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

.site-subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 15;
  min-width: 240px;
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.site-subnav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.site-subnav a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.site-subnav a::after {
  display: none;
}

.site-subnav a:hover,
.site-subnav a:focus-visible {
  background: var(--accent-soft);
}

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

.header-phone {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  background: #ffffff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 3px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  max-width: 13ch;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.lead {
  font-size: 1.05rem;
  max-width: 60ch;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.placeholder-box {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.placeholder-box h1 {
  max-width: none;
  margin-bottom: 16px;
}

.hero-grid,
.cta-box,
.info-grid,
.story-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  align-items: end;
}

.hero {
  padding-top: 52px;
}

.hero-copy,
.hero-card,
.feature-card,
.service-card,
.pricing-card,
.contact-card,
.legal-card,
.story-panel,
.placeholder-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
}

.hero-actions,
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

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

.button--primary {
  color: #ffffff;
  background: var(--text);
  border-color: transparent;
}

.button--ghost {
  background: #ffffff;
}

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

.hero-stats div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.hero-card {
  padding: 30px;
}

.hero-card--compact {
  display: grid;
  align-content: start;
}

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

.hero-mini-grid article {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.hero-mini-grid h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.hero-card__label,
.pricing-card__tag,
.footer-title,
.contact-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li + li,
.plain-list li + li {
  margin-top: 12px;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card__contact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}


.feature-grid,
.service-grid,
.pricing-grid,
.contact-grid,
.placeholder-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-card,
.pricing-card,
.contact-card,
.placeholder-card,
.legal-card {
  padding: 30px;
}

.service-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  transform-origin: center center;
}

.service-card[data-open-modal] {
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.035);
  border-color: rgba(8, 101, 34, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.service-card[data-open-modal]:focus-visible {
  outline: 3px solid rgba(8, 101, 34, 0.28);
  outline-offset: 4px;
}

.service-card__media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 20px;
  border: 1px solid rgba(8, 101, 34, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(8, 101, 34, 0.04);
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.scroll-reveal {
  --reveal-y: 22px;
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition:
    opacity 0.5s ease var(--reveal-delay),
    transform 0.5s ease var(--reveal-delay),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal .service-card__media img {
  transform: scale(1.02);
}

.scroll-reveal.is-visible.service-card:hover .service-card__media img {
  transform: scale(1.055);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
}

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

.product-card {
  position: relative;
  overflow: visible;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 101, 34, 0.22);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.product-card__logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding: 12px;
  border: 1px solid rgba(8, 101, 34, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(8, 101, 34, 0.04);
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 800;
}

.product-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card__preview {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  z-index: 3;
  overflow: hidden;
  width: min(420px, 78vw);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(8, 101, 34, 0.12);
  border-radius: calc(var(--radius-sm) + 4px);
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-8px) scale(0.96);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.product-card:nth-child(3n) .product-card__preview {
  right: calc(100% + 18px);
  left: auto;
  transform: translateY(-50%) translateX(8px) scale(0.96);
}

.product-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(8, 101, 34, 0.12) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: product-preview-sheen 2.8s ease-in-out infinite;
}

.product-card:hover .product-card__preview,
.product-card:focus-within .product-card__preview {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

.product-card__preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__preview-scene {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(8, 101, 34, 0.08), transparent 42%),
    #ffffff;
}

.product-card__preview-scene span {
  display: block;
  min-height: 34px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(8, 101, 34, 0.16), rgba(8, 101, 34, 0.05));
  animation: product-preview-pulse 1.8s ease-in-out infinite;
}

.product-card__preview-scene span:nth-child(2) {
  width: 76%;
  animation-delay: 0.18s;
}

.product-card__preview-scene span:nth-child(3) {
  width: 58%;
  animation-delay: 0.36s;
}

.product-card__meta,
.product-card h3,
.product-card p,
.product-card__footer {
  position: relative;
  z-index: 1;
}

.product-card__meta {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__details {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
}

.product-card__price {
  color: var(--text);
  font-weight: 800;
}

.product-empty {
  grid-column: 1 / -1;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.product-detail__content {
  display: grid;
  gap: 18px;
}

.product-detail__text {
  display: grid;
  gap: 12px;
}

.product-detail__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(8, 101, 34, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-detail__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(8, 101, 34, 0.14);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.product-detail__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature-card {
  grid-column: span 6;
}

.feature-grid--compact .feature-card h3 {
  margin-bottom: 12px;
}

.service-card,
.pricing-card {
  grid-column: span 4;
}

body[data-page="products"] .service-card {
  grid-column: span 6;
}

.pricing-card--featured {
  background: #ffffff;
  border-color: rgba(8, 101, 34, 0.28);
  box-shadow: inset 0 0 0 1px rgba(8, 101, 34, 0.12);
}

.price {
  margin: 16px 0;
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
}

.tariff-summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

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

.tariff-summary::after {
  content: "";
  display: inline-flex;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.tariff-summary::before {
  content: "описание";
  display: inline-flex;
  margin-top: 2px;
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card[open] .tariff-summary::after {
  transform: rotate(225deg);
}

.tariff-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.tariff-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.tariff-meta div:last-child {
  border-bottom: 1px solid var(--line);
}

.tariff-meta dt,
.tariff-meta dd {
  margin: 0;
}

.tariff-meta dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tariff-meta dd {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.tariff-details {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.tariff-action {
  width: 100%;
}

.pricing-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 101, 34, 0.45) rgba(0, 0, 0, 0.06);
}

.pricing-track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.pricing-card--marquee {
  width: 320px;
  flex: 0 0 320px;
  scroll-snap-align: start;
  cursor: pointer;
}

body[data-page="services"] .pricing-card--marquee {
  grid-column: auto;
}

.pricing-marquee::-webkit-scrollbar {
  height: 10px;
}

.pricing-marquee::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
}

.pricing-marquee::-webkit-scrollbar-thumb {
  background: rgba(8, 101, 34, 0.45);
  border-radius: 999px;
}

.pricing-marquee:active {
  cursor: grabbing;
}

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

.timeline article {
  padding: 26px;
  border-top: 3px solid var(--accent);
  background: #ffffff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.timeline--compact article {
  min-height: 100%;
}

.cta-box {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
}

.cta-box p,
.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.cta-box h2 {
  max-width: 17ch;
}

.cta-box .button--primary {
  background: #ffffff;
  color: #000000;
}

.cta-box .button--ghost {
  background: rgba(255, 255, 255, 0.96);
  color: #000000;
  border-color: rgba(255, 255, 255, 0.96);
}

.page-hero {
  padding-top: 64px;
}

.page-hero__box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.page-hero__aside {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.product-hero .page-hero__box {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.product-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.7rem, 4.4vw, 4.15rem);
  overflow-wrap: normal;
  word-break: normal;
}

.product-hero .lead {
  max-width: 66ch;
}

.info-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.info-strip__list {
  align-content: start;
}

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

.story-panel {
  padding: 30px;
}

.story-panel h3 {
  margin-bottom: 14px;
}

.about-roadmap-hero .page-hero__box {
  align-items: center;
}

.about-roadmap__head {
  margin-bottom: 18px;
}

.roadmap-track {
  position: relative;
  display: grid;
  gap: 34px;
  padding: 34px 0 8px;
  --roadmap-progress: 0;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(8, 101, 34, 0),
    rgba(8, 101, 34, 0.42) 12%,
    rgba(8, 101, 34, 0.42) 88%,
    rgba(8, 101, 34, 0)
  );
  transform: translateX(-50%);
}

.roadmap-track::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(8, 101, 34, 0),
    rgba(8, 101, 34, 0.84) 10%,
    rgba(8, 101, 34, 0.84) 90%,
    rgba(8, 101, 34, 0)
  );
  transform: translateX(-50%) scaleY(var(--roadmap-progress));
  transform-origin: top;
  transition: transform 0.16s linear;
}

.roadmap-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: center;
  min-height: 230px;
}

.roadmap-ready .roadmap-step {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.roadmap-ready .roadmap-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-step__marker {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(8, 101, 34, 0.28);
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.07),
    inset 0 0 0 8px rgba(8, 101, 34, 0.07);
  color: var(--accent);
  font-weight: 800;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.roadmap-ready .roadmap-step.is-visible .roadmap-step__marker {
  background: var(--accent);
  color: #ffffff;
  box-shadow:
    0 16px 34px rgba(8, 101, 34, 0.2),
    0 0 0 10px rgba(8, 101, 34, 0.09);
  transform: scale(1.04);
}

.roadmap-step__card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.roadmap-ready .roadmap-step.is-visible .roadmap-step__card {
  border-color: rgba(8, 101, 34, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.roadmap-step__card h3 {
  margin-bottom: 14px;
}

.roadmap-step:nth-child(odd) .roadmap-step__card {
  grid-column: 1;
  margin-right: 18px;
}

.roadmap-step:nth-child(even) .roadmap-step__card {
  grid-column: 3;
  margin-left: 18px;
}

.about-roadmap-summary {
  border-top: 1px solid var(--line);
}

.contact-card {
  grid-column: span 4;
}

.contact-card--wide {
  grid-column: span 8;
}

.map-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.map-card__info {
  display: grid;
  align-content: start;
  gap: 16px;
}

.map-frame {
  min-height: 420px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f3f3f3;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-stack a,
.contact-stack span {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.legal-card,
.placeholder-card {
  grid-column: span 6;
}

.legal-card h3,
.placeholder-card h3 {
  margin-bottom: 14px;
}

.placeholder-meta {
  margin-top: 18px;
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 34px;
  background: #ffffff;
}

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

.blog-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 101, 34, 0.22);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.blog-card__meta {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card__link {
  color: var(--accent);
  font-weight: 700;
}

.article-layout {
  display: grid;
  gap: 20px;
}

.article-back {
  color: var(--accent);
  font-weight: 700;
}

.article-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.article-content {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  max-width: 78ch;
}

.article-content p {
  white-space: pre-wrap;
}

.partners-section {
  overflow: hidden;
}

.partners-head {
  margin-bottom: 22px;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
}

.partners-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 0 16px;
  animation: partners-scroll 150s linear infinite;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 16px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-partners-section {
  overflow: hidden;
}

.partners-orbit__head {
  margin-bottom: 12px;
}

.partners-orbit {
  position: relative;
  min-height: 280px;
  margin-top: 12px;
  border: 1px solid rgba(8, 101, 34, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(8, 101, 34, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.68);
  perspective: 900px;
}

.partners-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 98px;
  width: min(76vw, 740px);
  height: 118px;
  border: 1px solid rgba(8, 101, 34, 0.18);
  border-top-color: transparent;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.partner-orbit-card {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 58px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translate(-50%, 0);
  will-change: transform, opacity;
}

.partner-orbit-card:hover,
.partner-orbit-card:focus-visible {
  border-color: rgba(8, 101, 34, 0.32);
  box-shadow: 0 18px 38px rgba(8, 101, 34, 0.14);
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }

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

@keyframes product-preview-sheen {
  0%,
  42% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes product-preview-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(8px);
  }
}

.admin-shell {
  width: min(100%, 1180px);
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.admin-login {
  width: min(100%, 560px);
  margin: 60px auto 0;
  padding: 36px;
}

.admin-panel {
  padding: 34px;
}

.admin-panel__head,
.admin-panel__actions,
.admin-list-head,
.admin-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-top: 28px;
}

.admin-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.admin-editor,
.admin-list-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.admin-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.admin-item {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.is-hidden {
  display: none !important;
}


.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(calc(100% - 36px), 980px);
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent__text {
  display: grid;
  gap: 5px;
}

.cookie-consent__title {
  color: var(--text);
  font-weight: 800;
}

.cookie-consent__text p:not(.cookie-consent__title) {
  font-size: 0.92rem;
}

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

.cookie-consent__link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-consent__button {
  min-height: 46px;
  padding: 0 20px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(calc(100dvh - 48px), 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted-soft);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.feedback-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feedback-block {
  width: 100%;
}

.feedback-block__card {
  width: min(100%, 620px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.feedback-block__lead {
  max-width: 52ch;
}

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

.field span,
.checkbox-field span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}


.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 15px 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(8, 101, 34, 0.65);
  box-shadow: 0 0 0 3px rgba(8, 101, 34, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 42vh;
}

.field--captcha {
  gap: 10px;
}

.field--local-captcha {
  gap: 10px;
}

.captcha-panel {
  display: grid;
  grid-template-columns: minmax(0, 186px) 48px;
  align-items: stretch;
  gap: 10px;
  max-width: 244px;
}

.captcha-image {
  width: 100%;
  max-width: 186px;
  height: 64px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #f6f8f6;
  object-fit: cover;
}

.captcha-refresh {
  width: 48px;
  min-height: 64px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.captcha-refresh:hover {
  border-color: rgba(8, 101, 34, 0.65);
  box-shadow: 0 0 0 3px rgba(8, 101, 34, 0.1);
  transform: translateY(-1px);
}

.turnstile-slot {
  min-height: 66px;
}

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

.form-message {
  min-height: 20px;
  font-size: 0.88rem;
  color: var(--muted-soft);
}

.form-message.is-error {
  color: #b42318;
}

.form-message.is-success {
  color: var(--accent);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.checkbox-field input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.footer-grid,
.footer-bottom {
  display: grid;
  gap: 20px;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-copy {
  max-width: 40ch;
  margin-top: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero__box,
  .product-hero .page-hero__box,
  .about-roadmap-hero .page-hero__box,
  .info-strip,
  .cta-box,
  .product-detail,
  .footer-grid,
  .map-card {
    grid-template-columns: 1fr;
  }

  .timeline,
  .blog-grid,
  .product-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card:nth-child(even) .product-card__preview {
    right: calc(100% + 18px);
    left: auto;
    transform: translateY(-50%) translateX(8px) scale(0.96);
  }

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

  .feature-card,
  .service-card,
  .pricing-card,
  .contact-card,
  .legal-card,
  .placeholder-card {
    grid-column: span 6;
  }

  .contact-card--wide {
    grid-column: span 12;
  }

  .info-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-track::before {
    left: 38px;
  }

  .roadmap-track::after {
    left: 38px;
  }

  .roadmap-step {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    min-height: auto;
  }

  .roadmap-step__marker {
    grid-column: 1;
  }

  .roadmap-step:nth-child(odd) .roadmap-step__card,
  .roadmap-step:nth-child(even) .roadmap-step__card {
    grid-column: 2;
    margin: 0;
  }

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

@media (max-width: 840px) {
  :root {
    --page-gutter: clamp(18px, 5vw, 24px);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100%, var(--container));
  }

  .site-shell,
  main,
  section,
  .site-footer {
    max-width: 100%;
    overflow-x: clip;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(14px, 4vw, 22px);
    right: clamp(14px, 4vw, 22px);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav__item > a {
    font-size: 0.86rem;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 13px 12px;
    border-radius: 12px;
  }

  .site-nav a::after {
    display: block;
    left: 12px;
    right: 12px;
    bottom: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    background: transparent;
  }

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

  .site-nav__item {
    width: 100%;
    display: grid;
    gap: 8px;
    align-items: stretch;
  }

  .site-subnav {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: 8px;
    border-radius: 16px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(8, 101, 34, 0.05);
  }

  .site-subnav::before {
    display: none;
  }

  .site-subnav a {
    padding: 11px 12px;
    font-size: 0.84rem;
  }

  .site-subnav a::after {
    display: none;
  }

  .site-nav__item:hover .site-subnav,
  .site-nav__item:focus-within .site-subnav {
    display: grid;
    transform: none;
  }

  .nav-open .site-nav {
    display: flex;
    z-index: 1000;
  }

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

  .hero-grid,
  .page-hero__box,
  .info-strip,
  .cta-box,
  .product-detail,
  .map-card,
  .footer-grid,
  .footer-bottom {
    width: 100%;
    min-width: 0;
  }

  .hero-grid,
  .page-hero__box,
  .product-hero .page-hero__box,
  .about-roadmap-hero .page-hero__box,
  .info-strip,
  .cta-box,
  .product-detail,
  .map-card,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero__aside,
  .hero-copy,
  .hero-card,
  .cta-box,
  .map-card__info,
  .feature-card,
  .service-card,
  .pricing-card,
  .contact-card,
  .legal-card,
  .story-panel,
  .placeholder-card,
  .product-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

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

  .roadmap-track {
    gap: 24px;
    padding-top: 18px;
  }

  .feature-card,
  .service-card,
  .pricing-card,
  .contact-card,
  .contact-card--wide,
  .legal-card,
  .placeholder-card {
    grid-column: span 12;
  }

  .timeline,
  .blog-grid,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .feature-grid,
  .pricing-grid,
  .contact-grid,
  .placeholder-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-card,
  .pricing-card,
  .contact-card,
  .contact-card--wide,
  .legal-card,
  .placeholder-card,
  body[data-page="products"] .service-card {
    grid-column: auto;
  }

  .product-card {
    overflow: hidden;
  }

  .product-card__preview,
  .product-card:nth-child(3n) .product-card__preview,
  .product-card:nth-child(even) .product-card__preview {
    inset: 16px;
    width: auto;
    aspect-ratio: auto;
    transform: translateY(10px) scale(0.96);
  }

  .product-card:hover .product-card__preview,
  .product-card:focus-within .product-card__preview {
    transform: translateY(0) scale(1);
  }

  .partners-orbit {
    min-height: 320px;
  }

  .partners-orbit::before {
    top: 122px;
    width: 92vw;
    height: 108px;
  }

  .partner-orbit-card {
    min-width: 132px;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 0.76rem;
  }

  .pricing-card--marquee {
    width: min(320px, calc(100vw - (var(--page-gutter) * 2)));
    flex-basis: min(320px, calc(100vw - (var(--page-gutter) * 2)));
  }
}

@media (max-width: 640px) {
  :root {
    --radius: 16px;
    --radius-sm: 12px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 42px 0;
  }

  .page-hero {
    padding-top: 36px;
  }

  .hero-copy,
  .hero-card,
  .feature-card,
  .service-card,
  .product-card,
  .pricing-card,
  .contact-card,
  .story-panel,
  .legal-card,
  .placeholder-card,
  .page-hero__box,
  .cta-box,
  .modal__dialog {
    padding: 24px;
  }

  .placeholder-box,
  .article-card,
  .roadmap-step__card,
  .admin-login,
  .admin-panel,
  .admin-editor,
  .admin-list-wrap,
  .feedback-block__card,
  .map-card {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 100%;
  }

  .product-hero h1 {
    font-size: clamp(1.9rem, 9.4vw, 2.7rem);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    max-width: 100%;
  }

  h3 {
    font-size: 1.08rem;
  }

  .lead,
  p,
  li {
    line-height: 1.5;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 22px;
  }

  .page-hero__box,
  .hero-grid,
  .cta-box,
  .info-grid,
  .story-grid,
  .contact-grid,
  .legal-grid,
  .feature-grid,
  .service-grid,
  .pricing-grid,
  .placeholder-grid,
  .blog-grid,
  .product-showcase,
  .product-detail {
    gap: 14px;
  }

  .home-intro__title {
    min-height: 210px;
  }

  .home-intro__visual {
    width: min(100%, 340px);
    min-height: 164px;
  }

  .home-code-window {
    width: min(100%, 340px);
    padding: 16px;
  }

  .home-code-window__line {
    font-size: 0.72rem;
  }

  .home-network-map {
    width: min(100%, 340px);
  }

  .home-intro__actions {
    width: min(100%, 340px);
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    min-width: 48px;
    height: 48px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .brand__text {
    max-width: 92px;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .home-logo__mark {
    min-width: min(84vw, 520px);
    min-height: 140px;
    padding: 22px 26px;
    letter-spacing: 0.1em;
  }

  .home-logo__text {
    letter-spacing: 0.22em;
    text-align: center;
  }

  .hero-actions,
  .cta-box__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    text-align: center;
    white-space: normal;
  }

  .price {
    font-size: 1.65rem;
  }

  .map-frame {
    min-height: 320px;
  }

  .modal {
    align-items: start;
    padding: 12px;
    overflow-y: auto;
  }

  .modal__dialog {
    max-height: calc(100dvh - 24px);
    margin: auto 0;
  }

  .feedback-form {
    gap: 15px;
    margin-top: 22px;
  }

  .feedback-block__lead {
    font-size: 0.98rem;
  }

  .field {
    gap: 7px;
  }

  .field input,
  .field textarea,
  .field select {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 104px;
    max-height: 34vh;
  }

  .captcha-panel {
    grid-template-columns: minmax(0, 1fr) 48px;
    max-width: none;
  }

  .captcha-image {
    max-width: none;
  }

  .checkbox-field {
    gap: 12px;
  }

  .checkbox-field input {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .checkbox-field span {
    font-size: 0.9rem;
  }

  .footer-grid {
    gap: 24px;
    padding: 24px 0;
  }

  .footer-links {
    gap: 12px;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cookie-consent__link {
    white-space: normal;
  }

  .footer-bottom div {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 18px;
  }

  .section {
    padding: 38px 0;
  }

  .site-header {
    padding: 10px 0;
  }

  .brand__mark {
    min-width: 46px;
    height: 46px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .brand__text {
    max-width: 82px;
    font-size: 0.72rem;
  }

  .page-hero__box,
  .hero-copy,
  .hero-card,
  .feature-card,
  .service-card,
  .product-card,
  .pricing-card,
  .contact-card,
  .story-panel,
  .legal-card,
  .placeholder-card,
  .cta-box,
  .feedback-block__card {
    padding: 20px;
  }

  .page-hero {
    padding-top: 30px;
  }

  .contact-stack,
  .footer-links {
    gap: 11px;
  }

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

@media (max-width: 420px) {
  :root {
    --page-gutter: 18px;
  }

  .section {
    padding: 34px 0;
  }

  .hero-copy,
  .hero-card,
  .feature-card,
  .service-card,
  .product-card,
  .pricing-card,
  .contact-card,
  .story-panel,
  .legal-card,
  .placeholder-card,
  .page-hero__box,
  .cta-box,
  .placeholder-box,
  .article-card,
  .roadmap-step__card,
  .admin-login,
  .admin-panel,
  .admin-editor,
  .admin-list-wrap,
  .feedback-block__card,
  .map-card {
    padding: 20px;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-wrap {
    gap: 8px;
  }

  .brand__text {
    display: none;
  }

  h1 {
    font-size: clamp(1.78rem, 9.5vw, 2.35rem);
  }

  .product-hero h1 {
    font-size: clamp(1.68rem, 8.8vw, 2.15rem);
  }

  h2 {
    font-size: clamp(1.38rem, 8vw, 1.85rem);
  }

  .lead,
  .contact-stack a,
  .contact-stack span {
    font-size: 0.94rem;
  }

  .eyebrow {
    font-size: 0.76rem;
  }

  .roadmap-track::before {
    left: 28px;
  }

  .roadmap-track::after {
    left: 28px;
  }

  .roadmap-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .roadmap-step__marker {
    width: 56px;
    height: 56px;
    font-size: 0.86rem;
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.06),
      inset 0 0 0 6px rgba(8, 101, 34, 0.07);
  }

  .field input,
  .field textarea,
  .field select {
    min-height: 46px;
    padding: 13px 14px;
  }

  .field textarea {
    min-height: 96px;
  }

  .captcha-panel {
    grid-template-columns: 1fr 44px;
    gap: 8px;
  }

  .captcha-refresh {
    width: 44px;
    min-height: 58px;
  }

  .captcha-image {
    height: 58px;
  }

  .feedback-form .button {
    min-height: 48px;
  }

  .checkbox-field input {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .scroll-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 16px;
  }

  h1 {
    font-size: clamp(1.58rem, 9vw, 2rem);
  }

  h2 {
    font-size: clamp(1.24rem, 7.5vw, 1.6rem);
  }

  .brand__text {
    display: none;
  }

  .page-hero__box,
  .hero-copy,
  .hero-card,
  .feature-card,
  .service-card,
  .product-card,
  .pricing-card,
  .contact-card,
  .story-panel,
  .legal-card,
  .placeholder-card,
  .cta-box,
  .feedback-block__card {
    padding: 18px;
  }

  .button {
    min-height: 46px;
    padding: 0 14px;
  }

  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-track::after {
    transition: none;
  }

  .roadmap-ready .roadmap-step,
  .roadmap-ready .roadmap-step.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .roadmap-ready .roadmap-step.is-visible .roadmap-step__marker {
    transform: none;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-reveal .service-card__media img,
  .scroll-reveal.is-visible.service-card:hover .service-card__media img {
    transform: none;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1280px;
  }

  .section {
    padding: 86px 0;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .home-splash {
    min-height: 560px;
  }

  .home-logo__mark {
    min-height: 120px;
    font-size: clamp(3rem, 10vw, 5.2rem);
  }

  .modal {
    align-items: start;
    overflow-y: auto;
    padding: 10px;
  }

  .modal__dialog {
    max-height: calc(100dvh - 20px);
    padding: 20px;
  }

  .feedback-form {
    gap: 10px;
    margin-top: 16px;
  }

  .field input,
  .field textarea,
  .field select {
    min-height: 42px;
    padding: 10px 12px;
  }

  .field textarea {
    min-height: 72px;
    max-height: 26vh;
  }

  .captcha-panel {
    grid-template-columns: minmax(0, 170px) 42px;
    gap: 8px;
    max-width: 220px;
  }

  .captcha-image {
    height: 50px;
  }

  .captcha-refresh {
    width: 42px;
    min-height: 50px;
  }

  .form-message {
    min-height: 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 840px) {
  .site-shell,
  main,
  .section,
  .site-footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }

  .section,
  .site-footer {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .section .container,
  .site-footer .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero__box,
  .product-hero .page-hero__box,
  .about-roadmap-hero .page-hero__box,
  .hero-grid,
  .info-strip,
  .info-grid,
  .story-grid,
  .feature-grid,
  .service-grid,
  .pricing-grid,
  .contact-grid,
  .legal-grid,
  .placeholder-grid,
  .blog-grid,
  .product-showcase,
  .product-detail,
  .cta-box,
  .map-card,
  .footer-grid,
  .footer-bottom {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero__box,
  .hero-copy,
  .hero-card,
  .feature-card,
  .service-card,
  .product-card,
  .pricing-card,
  .contact-card,
  .story-panel,
  .legal-card,
  .placeholder-card,
  .article-card,
  .cta-box,
  .map-card,
  .feedback-block__card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-bottom,
  .footer-bottom div,
  .footer-links {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .section,
  .site-footer {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}
