:root {
  --app-css-ready: 1;
  --bg: #000000;
  --surface-1: #0d0d0f;
  --surface-2: #232529;
  --surface-3: #2b2f33;
  --text: #d8eaff;
  --text-muted: #6c757f;
  --border: #565657;
  --accent-blue: #1f58f2;
  --accent-orange: #ff4105;
  --header-height: 72px;
  --page-padding: clamp(20px, 4vw, 64px);
  --spine-width: clamp(58px, 6.25vw, 90px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}

html.slider-dragging {
  scroll-behavior: auto;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body,
button,
input,
textarea {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}

a:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: var(--accent-blue);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
.logo {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 1200px;
  margin-bottom: 40px;
  font-size: clamp(64px, 7.1vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.15;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--page-padding);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31, 88, 242, 0.08), transparent 26%, transparent 74%, rgba(255, 65, 5, 0.07)),
    rgba(0, 0, 0, 0.96);
  isolation: isolate;
}

.site-header::before {
  position: absolute;
  bottom: -1px;
  left: -28%;
  z-index: -1;
  width: 28%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-orange), transparent);
  content: "";
  animation: header-scan 7s linear infinite;
}

.site-header::after {
  position: absolute;
  top: 0;
  left: -14%;
  z-index: -1;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31, 88, 242, 0.08), transparent);
  content: "";
  animation: header-light 9s linear infinite;
  pointer-events: none;
}

@keyframes header-scan {
  to { left: 100%; }
}

@keyframes header-light {
  to { left: 108%; }
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 180ms ease, letter-spacing 260ms ease;
}

.logo::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--accent-orange);
  content: "";
  vertical-align: 3px;
  animation: logo-signal 1.8s steps(2, end) infinite;
}

.logo::after {
  margin-left: 12px;
  color: var(--text-muted);
  content: "/ ONLINE";
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.logo:hover {
  color: var(--accent-orange);
  letter-spacing: 0.03em;
}

.header-signal {
  position: relative;
  min-width: 120px;
  max-width: 360px;
  height: 32px;
  flex: 1 1 260px;
  margin: 0 clamp(20px, 3vw, 48px);
  border-right: 1px solid rgba(86, 86, 87, 0.42);
  border-left: 1px solid rgba(86, 86, 87, 0.42);
  overflow: hidden;
  color: var(--text-muted);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.header-signal__beam {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(86, 86, 87, 0.44);
}

.header-signal__beam::after {
  position: absolute;
  top: -3px;
  left: -8px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent-blue);
  border-radius: 50%;
  background: var(--bg);
  content: "";
  animation: header-node 5.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes header-node {
  0% { left: -8px; }
  50% { border-color: var(--accent-orange); }
  100% { left: calc(100% + 2px); }
}

.header-signal__track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  width: max-content;
  align-items: center;
  gap: 16px;
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1;
  animation: header-ticker 16s linear infinite;
  transform: translateY(-50%);
}

.header-signal__track i {
  color: var(--accent-blue);
  font-style: normal;
  font-size: 6px;
}

@keyframes header-ticker {
  to { transform: translate(-50%, -50%); }
}

@keyframes logo-signal {
  50% { opacity: 0.25; }
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.3vw, 36px);
  align-items: center;
  margin-left: auto;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  position: relative;
}

.site-nav a {
  padding: 10px 0;
  transition: color 150ms ease, transform 180ms ease;
}

.site-nav a:hover {
  transform: translateY(-2px);
}

.site-nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 150ms ease;
}

.site-nav a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-chip {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--accent-orange);
  margin-left: clamp(16px, 2vw, 32px);
  color: var(--accent-orange);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-chip:hover {
  background: var(--accent-orange);
  color: var(--bg);
  transform: translateX(3px);
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--header-height));
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(72px, 10vh, 128px) var(--page-padding) clamp(48px, 7vh, 88px);
  isolation: isolate;
}

.hero-flow {
  --hero-flow-x: 0px;
  --hero-flow-y: 0px;
  position: absolute;
  top: 8%;
  right: 1%;
  z-index: 0;
  width: min(56vw, 780px);
  height: 67%;
  min-height: 430px;
  opacity: 0.58;
  pointer-events: none;
  transform: translate3d(var(--hero-flow-x), var(--hero-flow-y), 0);
  transition: opacity 320ms ease;
}

.hero:hover .hero-flow {
  opacity: 0.76;
}

.hero-flow__paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--accent-blue);
  stroke-dasharray: 4 12;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-flow__paths path {
  animation: hero-flow-path 9s linear infinite;
}

.hero-flow__paths path:nth-child(even) {
  stroke: var(--accent-orange);
  animation-direction: reverse;
  animation-duration: 12s;
}

@keyframes hero-flow-path {
  to { stroke-dashoffset: -160; }
}

.hero-flow__node,
.hero-flow__metric,
.hero-flow__core {
  position: absolute;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.72);
}

.hero-flow__node {
  display: flex;
  width: 118px;
  min-height: 58px;
  justify-content: center;
  flex-direction: column;
  padding: 10px 12px;
  animation: hero-flow-float 5s ease-in-out infinite alternate;
}

.hero-flow__node small,
.hero-flow__core small {
  color: var(--text-muted);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.hero-flow__node strong {
  color: var(--text);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero-flow__node--one { top: 9%; left: 0; }
.hero-flow__node--two { top: 43%; left: 5%; animation-delay: -1.7s; }
.hero-flow__node--three { bottom: 5%; left: 0; animation-delay: -3.1s; }

@keyframes hero-flow-float {
  to { transform: translateY(-10px); }
}

.hero-flow__core {
  top: 31%;
  left: 49%;
  display: flex;
  width: 166px;
  min-height: 150px;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px;
  border-color: var(--accent-blue);
  overflow: hidden;
}

.hero-flow__core::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent-orange);
  content: "";
  animation: hero-core-load 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  transform-origin: left;
}

@keyframes hero-core-load {
  0%, 12% { transform: scaleX(0.08); }
  72%, 100% { transform: scaleX(1); }
}

.hero-flow__core strong {
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-flow__core > span {
  color: var(--accent-blue);
  font-size: 6px;
  letter-spacing: 0.09em;
}

.hero-flow__metric {
  right: 0;
  width: 108px;
  padding: 11px;
  color: var(--text);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.hero-flow__metric span {
  margin-right: 7px;
  color: var(--accent-orange);
}

.hero-flow__metric--one { top: 20%; }
.hero-flow__metric--two { bottom: 18%; }

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

.section-tone {
  --section-from: rgba(0, 0, 0, 0.94);
  --section-color: rgba(0, 0, 0, 0.9);
  --section-accent: var(--accent-blue);
  position: relative;
  isolation: isolate;
}

.section-tone::after {
  position: absolute;
  inset: 0 calc(50% - 50vw) -1px;
  z-index: -1;
  background: linear-gradient(
    180deg,
    var(--section-from) 0,
    var(--section-color) clamp(130px, 18vh, 220px),
    var(--section-color) 100%
  );
  content: "";
  filter: saturate(0.72);
  opacity: 0.62;
  pointer-events: none;
  transition:
    opacity 1100ms ease,
    filter 1100ms ease;
}

.section-tone.is-tone-active::after {
  filter: saturate(1.08);
  opacity: 1;
}

.section-tone + .section-tone::before {
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  left: calc(50% - 50vw);
  z-index: 4;
  height: 1px;
  background: var(--border);
  content: "";
  pointer-events: none;
}

.section-tone--hero {
  --section-from: rgba(0, 0, 0, 0.9);
  --section-color: rgba(0, 0, 0, 0.86);
  --section-accent: #1f58f2;
}

.section-tone--hero::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.88) 0,
    rgba(0, 0, 0, 0.86) 72%,
    rgba(13, 13, 15, 0.95) 100%
  );
}

.section-tone--cases {
  --section-from: rgba(13, 13, 15, 0.95);
  --section-color: rgba(22, 24, 29, 0.92);
  --section-accent: #536dfe;
}

.section-tone--services {
  --section-from: rgba(43, 47, 51, 0.96);
  --section-color: rgba(4, 27, 39, 0.9);
  --section-accent: #1f9df2;
}

.section-tone--calculator {
  --section-from: rgba(26, 17, 38, 0.91);
  --section-color: rgba(21, 16, 45, 0.92);
  --section-accent: #9a78ff;
}

.section-tone--process {
  --section-from: rgba(4, 27, 39, 0.9);
  --section-color: rgba(29, 14, 21, 0.91);
  --section-accent: #ff5c33;
}

.section-tone--stack {
  --section-from: rgba(29, 14, 21, 0.91);
  --section-color: rgba(13, 25, 40, 0.91);
  --section-accent: #6b82ff;
}

.section-tone--faq {
  --section-from: rgba(13, 25, 40, 0.91);
  --section-color: rgba(26, 17, 38, 0.91);
  --section-accent: #a56bff;
}

.section-tone--contacts {
  --section-from: rgba(21, 16, 45, 0.92);
  --section-color: rgba(9, 31, 25, 0.92);
  --section-accent: #36c98f;
}

html.section-motion-ready .section-assembly [data-assembly-piece] {
  opacity: 0;
  clip-path: inset(10% 0 34% 0);
  transform: translate3d(var(--assembly-x, 0), 34px, 0) scale(0.985);
  transition:
    opacity 560ms ease,
    clip-path 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--assembly-order, 0) * 65ms);
  will-change: transform, opacity, clip-path;
}

html.section-motion-ready .section-assembly.is-assembled [data-assembly-piece] {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) scale(1);
}

html.section-motion-ready #services:not(.is-assembled) .service-card[data-assembly-piece] {
  clip-path: inset(35% 0 0);
  transform: translateY(70px) rotate(calc((var(--assembly-order) - 2.5) * 1.2deg)) scale(0.92);
}

html.section-motion-ready #services:not(.is-assembled) .section-heading[data-assembly-piece] {
  clip-path: inset(0 100% 0 0);
  transform: translateX(-54px);
}

html.section-motion-ready #process:not(.is-assembled) .section-heading[data-assembly-piece] {
  clip-path: inset(100% 0 0);
  transform: translateY(-42px) scaleY(0.9);
}

html.section-motion-ready #process:not(.is-assembled) .process-list > li[data-assembly-piece] {
  clip-path: inset(0 100% 0 0);
  transform: translateX(48px);
}

html.section-motion-ready #stack:not(.is-assembled) .tag-list > li[data-assembly-piece] {
  clip-path: inset(48% 48%);
  transform: translate3d(var(--assembly-x), 28px, 0) rotate(-4deg) scale(0.72);
}

html.section-motion-ready #stack:not(.is-assembled) .section-heading[data-assembly-piece] {
  clip-path: inset(0 42%);
  transform: scaleX(0.72);
}

html.section-motion-ready #stack:not(.is-assembled) .stack-readout[data-assembly-piece] {
  clip-path: inset(0 100% 0 0);
  transform: none;
}

html.section-motion-ready #stack:not(.is-assembled) .tag-list > li:nth-child(even)[data-assembly-piece] {
  transform: translate3d(var(--assembly-x), -18px, 0) rotate(5deg) scale(0.72);
}

html.section-motion-ready #faq:not(.is-assembled) .faq-list > details[data-assembly-piece] {
  clip-path: inset(0 0 0 100%);
  transform: translateX(-28px);
}

html.section-motion-ready #faq:not(.is-assembled) .section-heading[data-assembly-piece] {
  clip-path: inset(0 0 0 100%);
  transform: translateX(64px);
}

html.section-motion-ready #faq:not(.is-assembled) .faq-list > details:nth-child(even)[data-assembly-piece] {
  transform: translateX(28px);
}

html.section-motion-ready #calculator:not(.is-assembled) .calculator-shell[data-assembly-piece] {
  clip-path: inset(0 50%);
  transform: perspective(900px) rotateX(7deg) translateY(45px);
}

html.section-motion-ready #calculator:not(.is-assembled) .section-heading[data-assembly-piece] {
  clip-path: inset(0 0 100%);
  transform: translateY(50px) skewY(-2deg);
}

html.section-motion-ready #contacts:not(.is-assembled) .contact-card__intro > [data-assembly-piece] {
  clip-path: inset(0 0 100%);
  transform: translateY(-28px);
}

html.section-motion-ready #contacts:not(.is-assembled) .contact-form > [data-assembly-piece] {
  clip-path: inset(0 100% 0 0);
  transform: translateX(34px);
}

.page-slider {
  --slider-color: var(--accent-blue);
  --slider-progress: 0;
  position: fixed;
  top: 50%;
  right: clamp(10px, 1.4vw, 24px);
  z-index: 180;
  display: grid;
  width: 68px;
  justify-items: center;
  color: var(--slider-color);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color 240ms ease;
}

.page-slider__index,
.page-slider__percent {
  display: block;
  min-width: 38px;
  padding: 7px 4px;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, 0.72);
  text-align: center;
}

.page-slider__track {
  position: relative;
  width: 48px;
  height: min(54vh, 440px);
  min-height: 280px;
  padding: 0;
  border: 0;
  margin: 8px 0;
  outline: 0;
  background: transparent;
  color: inherit;
  cursor: ns-resize;
  pointer-events: auto;
  touch-action: none;
}

.page-slider__track:focus-visible {
  outline: 1px solid var(--accent-orange);
  outline-offset: 4px;
}

.page-slider__rail {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  background: rgba(0, 0, 0, 0.68);
}

.page-slider__rail::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 3px;
  background: color-mix(in srgb, currentColor 30%, transparent);
  content: "";
}

.page-slider__fill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 3px;
  height: calc(var(--slider-progress) * 100%);
  background: currentColor;
  transition: height 120ms linear;
}

.page-slider__thumb {
  position: absolute;
  top: calc(var(--slider-progress) * 100%);
  left: 0;
  z-index: 4;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: height 150ms ease;
}

.page-slider__thumb::after {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--bg);
  content: "";
  transform: translateY(-50%);
}

.page-slider__track:hover .page-slider__thumb,
.page-slider__track:focus-visible .page-slider__thumb,
.page-slider.is-dragging .page-slider__thumb {
  height: 4px;
}

.page-slider__markers {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-rows: repeat(var(--section-count, 8), minmax(0, 1fr));
}

.page-slider__marker {
  position: relative;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  background: transparent;
  transition: background-color 180ms ease, color 180ms ease;
}

.page-slider__marker:last-child {
  border-bottom: 0;
}

.page-slider__marker::before {
  position: absolute;
  top: 50%;
  right: 7px;
  z-index: 2;
  color: var(--text-muted);
  content: attr(data-index);
  font-size: 7px;
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.page-slider__marker.is-active {
  width: 100%;
  background: color-mix(in srgb, currentColor 19%, rgba(0, 0, 0, 0.82));
}

.page-slider__marker.is-active::before {
  color: currentColor;
  transform: translate(-3px, -50%);
}

.page-slider__marker::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  width: max-content;
  padding: 7px 9px;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, 0.9);
  color: currentColor;
  content: attr(data-name);
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(8px, -50%);
  transition: opacity 160ms ease, transform 180ms ease;
}

.page-slider__track:hover .page-slider__marker.is-active::after,
.page-slider__track:focus-visible .page-slider__marker.is-active::after,
.page-slider.is-dragging .page-slider__marker.is-active::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.page-slider__section {
  display: block;
  width: max-content;
  max-width: 92px;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.hero__inner::before {
  position: absolute;
  top: -34px;
  left: 0;
  width: 90px;
  height: 3px;
  background: var(--accent-orange);
  content: "";
  animation: hero-line 3.4s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
  transform-origin: left;
}

@keyframes hero-line {
  from { transform: scaleX(0.22); }
  to { transform: scaleX(1.8); }
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.hero h1 span {
  color: var(--accent-blue);
}

.hero__lead {
  max-width: 820px;
  margin-bottom: 36px;
  color: var(--text-muted);
  font-size: 15px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button--primary {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: var(--bg);
}

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

.hero__proof {
  display: grid;
  max-width: 980px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: clamp(38px, 6vh, 64px) 0 0;
  list-style: none;
}

.hero__proof li {
  display: flex;
  min-height: 84px;
  justify-content: center;
  flex-direction: column;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
  transition: background-color 220ms ease, padding-left 220ms ease;
}

.hero__proof li:last-child {
  border-right: 0;
}

.hero__proof li:hover {
  padding-left: 30px;
  background: rgba(31, 88, 242, 0.08);
}

.hero__proof strong {
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__proof span {
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 150ms ease, border-color 150ms ease;
}

.button:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.hero__actions .button--primary {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: var(--bg);
}

.hero__actions .button--primary:hover {
  background: transparent;
  color: var(--accent-orange);
}

.button:disabled {
  cursor: wait;
  opacity: 0.45;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.hero__status span {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
}

.cases-section {
  position: relative;
  height: calc(var(--case-count, 9) * 100vh);
  height: calc(var(--case-count, 9) * 100dvh);
  scroll-margin-top: var(--header-height);
}

.cases-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--surface-1);
  isolation: isolate;
}

.cases-loading {
  padding: calc(var(--header-height) + 24px) var(--page-padding);
  color: var(--text-muted);
  font-size: 12px;
}

.case-panel {
  --case-accent: var(--accent-blue);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  will-change: transform;
}

.case-panel[data-accent="orange"] {
  --case-accent: var(--accent-orange);
}

.case-panel[data-surface="1"] {
  background: var(--surface-1);
}

.case-panel[data-surface="2"] {
  background: var(--surface-2);
}

.case-panel[data-surface="3"] {
  background: var(--surface-3);
}

.case-spine {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  display: flex;
  width: var(--spine-width);
  align-items: center;
  padding: calc(var(--header-height) + 20px) 0 24px;
  border-left: 3px solid var(--case-accent);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  writing-mode: vertical-rl;
}

.case-spine__num {
  color: var(--case-accent);
  font-size: 12px;
}

.case-spine:hover .case-spine__num {
  color: var(--accent-orange);
}

.case-spine__title {
  flex: 0 0 auto;
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.case-spine__title--long {
  font-size: 11px;
}

.case-panel__body {
  position: relative;
  height: 100%;
  margin-left: var(--spine-width);
  padding: calc(var(--header-height) + 32px) clamp(24px, 4vw, 64px) clamp(32px, 6vh, 68px);
}

.case-panel__topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.case-number {
  --case-number-motion-opacity: 0.25;
  position: absolute;
  top: 48%;
  left: 8%;
  z-index: 2;
  margin: 0;
  color: transparent;
  font-family: "Inter", sans-serif;
  font-size: clamp(180px, 40vh, 430px);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.03em;
  opacity: 0.25;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px var(--text);
  user-select: none;
}

.case-number::after {
  position: absolute;
  inset: 0;
  color: transparent;
  content: attr(data-case-number);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  pointer-events: none;
  -webkit-text-stroke: 1px var(--case-accent);
  animation: case-number-scan 4.8s linear var(--case-number-delay, 0s) infinite;
  will-change: clip-path;
}

@media (min-width: 761px) {
  .case-number {
    --case-number-motion-opacity: 0.32;
    top: 54%;
    left: clamp(24px, 4vw, 68px);
    z-index: 0;
    font-size: var(--case-number-size, 48px);
    opacity: 0.22;
    transform: translateY(-50%) scale(0.94);
    transition: opacity 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .case-panel.is-active .case-number {
    opacity: 0.32;
    transform: translateY(-50%) scale(1);
  }

  .case-panel.is-number-compact .case-number {
    --case-number-motion-opacity: 0.45;
    top: calc(var(--header-height) + 18px);
    left: 0;
    z-index: 2;
    line-height: 0.7;
    opacity: 0.22;
    transform: translateY(-8px);
  }

  .case-panel.is-number-compact.is-active .case-number {
    opacity: 0.45;
    transform: translateY(0);
  }
}

.case-media {
  position: absolute;
  top: 17%;
  right: clamp(24px, 6vw, 100px);
  width: min(42vw, 620px);
  height: min(38vh, 380px);
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-3);
  opacity: 0.42;
  overflow: hidden;
}

.case-media--image {
  background: #090b0d;
  opacity: 0.78;
}

.case-media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.case-media__image {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.72) contrast(1.08);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-panel.is-active .case-media__image {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.case-media::before,
.case-media::after {
  position: absolute;
  content: "";
}

.case-media::before {
  top: 24px;
  right: 24px;
  left: 24px;
  height: 1px;
  background: var(--border);
}

.case-media::after {
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-right: 1px solid var(--case-accent);
  border-bottom: 1px solid var(--case-accent);
}

.case-content {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(28px, 6vh, 64px);
  z-index: 2;
  width: min(520px, calc(100% - clamp(48px, 8vw, 128px)));
  padding-top: 22px;
  border-top: 1px solid var(--text);
}

.case-content__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.case-content__category {
  margin: 0;
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-content__demo {
  padding: 2px 8px;
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.case-content h3 {
  margin-bottom: 16px;
}

.case-content__description {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.case-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-tags {
  margin-bottom: 22px;
}

.case-tags li,
.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.case-panel {
  --case-detail-x: -18px;
  --case-detail-y: 10px;
  --case-media-start: inset(0 100% 0 0 round 8px);
}

.case-panel:nth-child(3n + 2) {
  --case-detail-x: 18px;
  --case-media-start: inset(0 0 0 100% round 8px);
}

.case-panel:nth-child(3n) {
  --case-detail-x: 0px;
  --case-detail-y: 20px;
  --case-media-start: inset(100% 0 0 0 round 8px);
}

.case-panel.is-card-motion .case-number {
  animation: case-number-ink 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-panel.is-card-motion .case-media {
  animation: case-media-reveal 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-panel.is-card-motion .case-media::after {
  animation: case-corner-trace 680ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
}

.case-panel.is-card-motion .case-panel__topline > span {
  animation: case-topline-enter 480ms ease-out both;
}

.case-panel.is-card-motion .case-panel__topline > span:last-child {
  animation-delay: 90ms;
}

.case-panel.is-card-motion .case-content__meta,
.case-panel.is-card-motion .case-content h3,
.case-panel.is-card-motion .case-content__description,
.case-panel.is-card-motion .case-tags,
.case-panel.is-card-motion .case-content > .button {
  animation: case-detail-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-panel.is-card-motion .case-content__meta {
  animation-delay: 120ms;
}

.case-panel.is-card-motion .case-content h3 {
  animation-delay: 190ms;
}

.case-panel.is-card-motion .case-content__description {
  animation-delay: 260ms;
}

.case-panel.is-card-motion .case-tags {
  animation-delay: 330ms;
}

.case-panel.is-card-motion .case-content > .button {
  animation-delay: 470ms;
}

.case-panel.is-card-motion .case-tags li {
  animation: case-tag-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-panel.is-card-motion .case-tags li:nth-child(1) {
  animation-delay: 390ms;
}

.case-panel.is-card-motion .case-tags li:nth-child(2) {
  animation-delay: 440ms;
}

.case-panel.is-card-motion .case-tags li:nth-child(3) {
  animation-delay: 490ms;
}

.case-panel.is-card-motion .case-tags li:nth-child(4) {
  animation-delay: 540ms;
}

.case-panel.is-card-motion .case-content__demo {
  animation: case-demo-signal 720ms ease-out 420ms both;
}

@keyframes case-number-ink {
  0% {
    opacity: 0;
    letter-spacing: -0.14em;
    -webkit-text-stroke-width: 0;
  }
  58% {
    opacity: calc(var(--case-number-motion-opacity) + 0.12);
  }
  100% {
    opacity: var(--case-number-motion-opacity);
    letter-spacing: -0.03em;
    -webkit-text-stroke-width: 1px;
  }
}

@keyframes case-number-scan {
  from {
    clip-path: polygon(-24% 0, -8% 0, 4% 100%, -12% 100%);
  }
  to {
    clip-path: polygon(108% 0, 124% 0, 112% 100%, 96% 100%);
  }
}

@keyframes case-media-reveal {
  from {
    clip-path: var(--case-media-start);
  }
  to {
    clip-path: inset(0 0 0 0 round 8px);
  }
}

@keyframes case-corner-trace {
  from {
    width: 0;
    height: 0;
    opacity: 0;
  }
  to {
    width: 48px;
    height: 48px;
    opacity: 1;
  }
}

@keyframes case-topline-enter {
  from {
    opacity: 0;
    letter-spacing: 0.28em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.12em;
  }
}

@keyframes case-detail-enter {
  from {
    opacity: 0;
    transform: translate3d(var(--case-detail-x), var(--case-detail-y), 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes case-tag-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes case-demo-signal {
  0% {
    background: transparent;
    transform: scale(0.84);
  }
  48% {
    background: rgba(255, 65, 5, 0.16);
    transform: scale(1.06);
  }
  100% {
    background: transparent;
    transform: scale(1);
  }
}

.content-section {
  width: min(100%, 1440px);
  padding: clamp(96px, 12vw, 180px) var(--page-padding);
  margin: 0 auto;
  scroll-margin-top: var(--header-height);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.33fr) 1fr;
  align-items: start;
  margin-bottom: clamp(52px, 7vw, 96px);
}

.section-heading .eyebrow {
  margin: 9px 0 0;
}

.section-heading__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--text-muted);
}

.calculator-duration {
  margin: 18px 0 0;
  color: var(--section-accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.calculator-shell {
  --calculator-progress: 0;
  position: relative;
  min-height: 720px;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(7, 8, 14, 0.82);
}

.calculator-shell::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 18%, rgba(107, 130, 255, 0.08) 47%, transparent 72%),
    rgba(7, 8, 14, 0.18);
  content: "";
  pointer-events: none;
  transform: translateX(-12%);
}

.calculator-head,
.calculator-stage,
.calculator-controls {
  position: relative;
  z-index: 1;
}

.calculator-head {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 18px;
  align-items: center;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.calculator-progress {
  position: relative;
  height: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(216, 234, 255, 0.28) calc(20% - 1px) 20%),
    rgba(0, 0, 0, 0.5);
}

.calculator-progress span {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--calculator-progress) * 100%);
  height: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, var(--section-accent), var(--accent-blue), var(--section-accent));
  background-size: 220% 100%;
  animation: calculator-progress-flow 2.4s linear infinite;
  transition: width 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.calculator-progress span::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, transparent 0 9px, rgba(255, 255, 255, 0.28) 9px 11px, transparent 11px 20px);
  content: "";
  animation: calculator-progress-stripes 1.3s linear infinite;
}

.calculator-progress.is-advancing {
  border-color: var(--section-accent);
  animation: calculator-progress-pulse 620ms ease;
}

@keyframes calculator-progress-flow {
  to { background-position: -220% 0; }
}

@keyframes calculator-progress-stripes {
  to { transform: translateX(20px); }
}

@keyframes calculator-progress-pulse {
  50% { transform: scaleY(1.7); }
}

.calculator-stage {
  min-height: 520px;
  padding: clamp(54px, 7vw, 94px) 0 48px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 170ms ease, transform 170ms ease;
}

.calculator-stage.is-changing {
  opacity: 0;
  transform: translateY(14px);
}

.calculator-stage.is-choice-locked .calculator-option {
  pointer-events: none;
}

.calculator-stage__heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.33fr) minmax(0, 1fr);
  margin-bottom: 44px;
}

.calculator-stage__heading .eyebrow {
  margin: 8px 24px 0 0;
}

.calculator-stage__heading h3 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.calculator-stage__heading > p:last-child {
  grid-column: 2;
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

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

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

.calculator-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 180px;
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 0;
  outline: 0;
  background: rgba(13, 13, 15, 0.78);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.calculator-stage:not(.is-changing) .calculator-option {
  animation: calculator-option-arrive 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--option-order, 0) * 35ms);
}

@keyframes calculator-option-arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.calculator-options--features .calculator-option {
  min-height: 116px;
  padding: 18px 42px 18px 18px;
}

.calculator-option:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.calculator-option:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
}

.calculator-option.is-selected {
  border-color: var(--section-accent);
  background: color-mix(in srgb, var(--section-accent) 11%, rgba(13, 13, 15, 0.9));
  color: var(--text);
}

.calculator-option__check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  place-items: center;
  color: var(--text-muted);
  font-size: 13px;
}

.calculator-option.is-selected .calculator-option__check {
  border-color: var(--section-accent);
  color: var(--section-accent);
}

.calculator-option__icon {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  margin-bottom: 30px;
  place-items: center;
  color: var(--section-accent);
}

.calculator-option__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.3;
}

.calculator-option__title {
  padding-right: 18px;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.calculator-options--features .calculator-option__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0;
}

.calculator-option__description {
  margin: 14px 0 24px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.55;
}

.calculator-option__price {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.calculator-option.is-selected .calculator-option__price,
.calculator-option.is-selected .calculator-option__icon {
  color: var(--section-accent);
}

.calculator-option--exclusive {
  border-style: dashed;
}

.calculator-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.calculator-controls p {
  margin: 0;
  color: var(--text-muted);
  font-size: 9px;
  text-align: center;
}

.calculator-controls .button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.calculator-shell.is-result .calculator-controls {
  display: none;
}

.calculator-result {
  position: relative;
}

.calculator-result__price {
  margin: 0 0 46px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.calculator-result__price span {
  display: block;
}

.calculator-result__price span:first-child {
  color: var(--section-accent);
}

.calculator-stage__heading h3:focus-visible,
.calculator-result__price:focus-visible {
  outline: 0;
}

.calculator-result__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  border-top: 1px solid var(--border);
  margin: 0 0 36px;
}

.calculator-result__summary div {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.calculator-result__summary div:nth-child(odd) {
  padding-right: 22px;
  border-right: 1px solid var(--border);
}

.calculator-result__summary div:nth-child(even) {
  padding-left: 22px;
}

.calculator-result__summary dt {
  color: var(--text-muted);
  font-size: 9px;
  text-transform: uppercase;
}

.calculator-result__summary dd {
  margin: 0;
  font-size: 10px;
}

.calculator-result__notice {
  max-width: 900px;
  padding-left: 22px;
  border-left: 2px solid var(--section-accent);
  color: var(--text-muted);
  font-size: 11px;
}

.calculator-result__notice p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.calculator-result__actions,
.calculator-result__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.calculator-result__telegram {
  border-color: var(--section-accent);
  color: var(--section-accent);
}

.calculator-result__discuss {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: var(--bg);
}

.calculator-result__discuss:hover {
  background: transparent;
  color: var(--accent-orange);
}

.calculator-lead {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--section-accent);
  margin-top: 34px;
  background: rgba(5, 5, 12, 0.72);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.calculator-lead.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.calculator-lead__head {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  margin-bottom: 34px;
}

.calculator-lead__head .eyebrow {
  margin: 7px 20px 0 0;
}

.calculator-lead__head h4 {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.calculator-lead__head > p:last-child {
  grid-column: 2;
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 10px;
}

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

.calculator-lead__form > label:not(.calculator-lead__consent) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calculator-lead__form input,
.calculator-lead__form select,
.calculator-lead__form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--text);
  resize: vertical;
}

.calculator-lead__form input:focus,
.calculator-lead__form select:focus,
.calculator-lead__form textarea:focus {
  border-color: var(--section-accent);
}

.calculator-lead__form select option {
  background: var(--surface-1);
}

.calculator-lead__comment {
  grid-column: 1 / -1;
}

.calculator-lead__consent {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 9px;
  line-height: 1.5;
}

.calculator-lead__consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--border);
  margin: 1px 0 0;
  appearance: auto;
  background: transparent;
  accent-color: var(--accent-orange);
}

.calculator-lead__form .button {
  justify-self: start;
}

.calculator-lead__status {
  align-self: center;
  margin: 0;
  color: var(--text-muted);
  font-size: 9px;
}

.calculator-lead__status[data-state="success"] {
  color: var(--section-accent);
}

.calculator-lead__status[data-state="error"] {
  color: var(--accent-orange);
}

.calculator-result__secondary {
  margin-top: 18px;
}

.calculator-result__secondary button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 9px;
}

.calculator-result__secondary button:hover {
  color: var(--accent-orange);
}

.calculator-copy-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: var(--section-accent);
  font-size: 10px;
}

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

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

.service-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 16px;
  background: var(--surface-3);
}

.service-card__num {
  margin-bottom: auto;
  color: var(--accent-orange);
  font-size: 11px;
}

.service-card h3 {
  min-height: 56px;
}

.service-card > p:not(.service-card__num):not(.service-card__meta) {
  min-height: 72px;
  margin-bottom: 34px;
  color: var(--text-muted);
  font-size: 12px;
}

.service-card__meta {
  padding-top: 16px;
  margin: 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
}

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

.process-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.33fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.process-visual,
.faq-visual {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  min-height: 430px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.process-visual::before,
.faq-visual::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--section-accent);
  content: "";
  animation: visual-scan 3.8s ease-in-out infinite alternate;
  transform-origin: left;
}

@keyframes visual-scan {
  from { transform: scaleX(0.25); }
  to { transform: scaleX(1); }
}

.process-visual__kicker,
.faq-visual__kicker,
.process-visual__footer {
  margin: 0;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.process-visual__counter,
.faq-visual__counter {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 58px 0 26px;
  line-height: 1;
}

.process-visual__counter span,
.faq-visual__counter span {
  color: transparent;
  font-family: "Inter", sans-serif;
  font-size: clamp(86px, 9vw, 132px);
  letter-spacing: -0.06em;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-text-stroke: 1px var(--section-accent);
}

.process-visual.is-updating .process-visual__counter span,
.faq-visual.is-updating .faq-visual__counter span {
  opacity: 0;
  transform: translateY(-18px);
}

.process-visual__counter small,
.faq-visual__counter small {
  margin-top: 14px;
  color: var(--section-accent);
  font-size: 10px;
}

.process-visual__label,
.faq-visual__label {
  min-height: 52px;
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: opacity 220ms ease, transform 320ms ease;
}

.process-visual.is-updating .process-visual__label,
.faq-visual.is-updating .faq-visual__label {
  opacity: 0;
  transform: translateY(10px);
}

.process-visual__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 54px 0 24px;
}

.process-visual__track span {
  height: 3px;
  background: var(--border);
  transition: background-color 260ms ease, transform 260ms ease;
  transform-origin: left;
}

.process-visual__track span.is-active {
  background: var(--section-accent);
  transform: scaleY(2);
}

.faq-visual {
  min-height: 470px;
  border: 1px solid var(--border);
  padding: 24px;
  background: rgba(4, 4, 12, 0.36);
}

.faq-visual::before {
  top: auto;
  right: 24px;
  bottom: 24px;
  left: 24px;
  width: auto;
  height: 1px;
  background: var(--section-accent);
  animation: faq-line-travel 2.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: left;
}

@keyframes faq-line-travel {
  0%, 14% { transform: scaleX(0.08); transform-origin: left; }
  46% { transform: scaleX(1); transform-origin: left; }
  54% { transform: scaleX(1); transform-origin: right; }
  90%, 100% { transform: scaleX(0.08); transform-origin: right; }
}

.faq-visual__display {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: end;
  gap: 12px;
  margin: 42px 0 24px;
}

.faq-visual__glyph {
  display: block;
  color: var(--section-accent);
  font-family: "Inter", sans-serif;
  font-size: clamp(112px, 11vw, 176px);
  line-height: 0.7;
  transform-origin: 50% 70%;
  transition: opacity 200ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-visual.is-updating .faq-visual__glyph {
  opacity: 0.28;
  transform: rotateY(76deg) translateX(-12px) scale(0.84);
}

.faq-visual .faq-visual__counter {
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
}

.faq-visual .faq-visual__counter span {
  font-size: clamp(52px, 5vw, 72px);
  -webkit-text-stroke: 0;
  color: var(--text);
}

.faq-visual .faq-visual__counter small {
  margin-top: 6px;
}

.faq-visual__label {
  min-height: 74px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-visual__deck {
  display: grid;
  gap: 7px;
  margin-top: 30px;
}

.faq-visual__deck span {
  display: block;
  width: calc(42% + (var(--deck-size, 0) * 7%));
  height: 5px;
  background: var(--border);
  transition: width 520ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, transform 220ms ease;
}

.faq-visual__deck span:nth-child(1) { --deck-size: 1; }
.faq-visual__deck span:nth-child(2) { --deck-size: 4; }
.faq-visual__deck span:nth-child(3) { --deck-size: 2; }
.faq-visual__deck span:nth-child(4) { --deck-size: 6; }
.faq-visual__deck span:nth-child(5) { --deck-size: 3; }
.faq-visual__deck span:nth-child(6) { --deck-size: 5; }
.faq-visual__deck span:nth-child(7) { --deck-size: 2; }

.faq-visual__deck span.is-active {
  width: 100%;
  background: var(--section-accent);
  transform: translateX(10px);
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  transition: padding 280ms ease, background-color 280ms ease;
}

.process-list li::before,
.faq-list details::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--section-accent);
  content: "";
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.process-list li.is-active,
.process-list li:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.process-list li.is-active::before,
.process-list li:hover::before,
.faq-list details[open]::before {
  width: 100%;
}

.process-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.process-list > li > span {
  color: var(--accent-orange);
  font-size: 12px;
}

.process-list h3 {
  margin-bottom: 10px;
  transition: color 220ms ease, transform 280ms ease;
}

.process-list li.is-active h3,
.process-list li:hover h3 {
  color: var(--section-accent);
  transform: translateX(6px);
}

.process-list p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.stack-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading--compact {
  margin-bottom: 40px;
}

#stack-title {
  padding-bottom: 0.12em;
  line-height: 1.12;
}

.stack-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.33fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: stretch;
}

.stack-readout {
  position: relative;
  display: flex;
  min-height: 220px;
  justify-content: space-between;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(107, 130, 255, 0.12), transparent 58%),
    rgba(0, 0, 0, 0.34);
}

.stack-readout::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--section-accent);
  content: "";
  animation: stack-loader 3.2s steps(8, end) infinite;
  transform-origin: left;
}

@keyframes stack-loader {
  0% { transform: scaleX(0.08); }
  65%, 100% { transform: scaleX(1); }
}

.stack-readout > span,
.stack-readout small {
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.stack-readout strong {
  overflow: hidden;
  color: var(--section-accent);
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: opacity 140ms ease, transform 220ms ease;
}

.stack-readout.is-switching strong {
  opacity: 0;
  transform: translateY(14px);
}

.tag-list {
  align-content: start;
  gap: 9px;
}

.tag-list li {
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
  color: var(--text);
  cursor: default;
  font-size: 11px;
  transition: border-color 180ms ease, color 180ms ease, transform 220ms ease;
}

.tag-list li::before {
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  background: var(--section-accent);
  content: "";
  opacity: 0.14;
  transform: translateY(101%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tag-list li:hover,
.tag-list li.is-active {
  border-color: var(--section-accent);
  color: var(--section-accent);
  transform: translateY(-5px) rotate(-1deg);
}

.tag-list li:hover::before,
.tag-list li.is-active::before {
  transform: translateY(0);
}

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

.faq-list details {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  transition: background-color 360ms ease, padding 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-list details[open] {
  background: linear-gradient(90deg, color-mix(in srgb, var(--section-accent) 10%, transparent), transparent 68%);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 220ms ease, padding 360ms cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 360ms ease;
}

.faq-list details[open] summary {
  padding-left: 24px;
  color: var(--section-accent);
  letter-spacing: 0;
}

.faq-list details:not([open]):hover summary {
  padding-left: 12px;
}

.faq-list summary::after {
  position: absolute;
  top: 0;
  right: 58px;
  bottom: 0;
  width: 1px;
  background: var(--border);
  content: "";
}

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

.faq-list summary span {
  display: flex;
  min-width: 34px;
  align-items: center;
  justify-content: flex-end;
  color: var(--accent-blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  transition: color 220ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-list details[open] summary span {
  color: var(--accent-orange);
  transform: rotate(225deg) scale(1.16);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer__inner {
  max-width: 720px;
  padding: 0 64px 28px 0;
}

.faq-answer__inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.faq-answer__inner a {
  color: var(--section-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contacts-section {
  width: 100%;
  max-width: 1568px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 128px);
  padding: clamp(36px, 6vw, 88px);
  border-radius: 24px;
  background: var(--surface-1);
}

.contact-card__intro h2 {
  max-width: 620px;
  margin-bottom: 28px;
}

.contact-card__intro > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--text-muted);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.contact-icon-link {
  --channel-color: var(--text);
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
  padding: 13px 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.24);
  color: var(--channel-color);
  text-align: center;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.contact-icon-link--vk {
  --channel-color: #0077ff;
}

.contact-icon-link--telegram {
  --channel-color: #2aabee;
}

.contact-icon-link--max {
  --channel-color: #6e1aff;
}

.contact-icon-link--phone {
  --channel-color: #36c98f;
  min-height: 54px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  flex-direction: row;
  gap: 14px;
  padding: 12px 16px;
}

.contact-icon-link svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-icon-link .max-wordmark {
  width: 44px;
}

.contact-icon-link .max-wordmark text {
  fill: url(#max-contact-gradient);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -1px;
}

.contact-icon-link span {
  color: var(--text);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.contact-icon-link small {
  color: var(--text-muted);
  font-size: 7px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.contact-icon-link:hover {
  border-color: var(--accent-orange);
  background: rgba(255, 65, 5, 0.06);
  color: var(--accent-orange);
}

.contact-icon-link:hover span,
.contact-icon-link:hover small {
  color: inherit;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.contact-form > input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 28px;
  outline: 0;
  background: transparent;
  color: var(--text);
  resize: vertical;
}

.contact-select {
  position: relative;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  transition: border-color 180ms ease;
}

.contact-select:focus-within {
  border-color: var(--text);
}

.contact-select select {
  width: 100%;
  padding: 12px 36px 12px 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.contact-select select option {
  background: var(--surface-1);
  color: var(--text);
}

.contact-select > span {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--section-accent);
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.contact-select:focus-within > span {
  transform: translateY(-50%) rotate(180deg);
}

.contact-form > input:focus,
.contact-form textarea:focus {
  border-color: var(--text);
}

.contact-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: -2px 0 26px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
  text-transform: none !important;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--border);
  border-radius: 0;
  accent-color: var(--accent-orange);
  cursor: pointer;
}

.contact-consent:has(input:checked) {
  color: var(--text);
}

.contact-form .button {
  align-self: flex-start;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 11px;
}

.form-status[data-state="success"] {
  color: var(--text);
}

.form-status[data-state="error"] {
  color: var(--accent-orange);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 0.7fr));
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  min-height: 280px;
  padding: clamp(48px, 6vw, 88px) var(--page-padding);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(9, 31, 25, 0.92), rgba(0, 0, 0, 0.97));
  color: var(--text-muted);
  font-size: 10px;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.site-footer__brand .logo {
  color: var(--text);
}

.site-footer__brand .logo::after {
  display: inline;
}

.site-footer__brand p,
.site-footer__brand span,
.site-footer__column p {
  margin: 0;
}

.site-footer__brand p {
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.site-footer__column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.site-footer__column strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.site-footer__column > a {
  display: inline-block;
}

.site-footer__column--docs > span {
  color: var(--text);
}

.site-footer__column--docs p {
  margin-top: auto;
  padding-top: 30px;
}

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

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

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

@media (min-width: 1181px) {
  .service-card:not(:nth-child(4n))::after {
    position: absolute;
    top: 0;
    right: -8px;
    bottom: 0;
    width: 1px;
    background: var(--border);
    content: "";
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .service-card:nth-child(odd)::after {
    position: absolute;
    top: 0;
    right: -8px;
    bottom: 0;
    width: 1px;
    background: var(--border);
    content: "";
  }
}

@media (max-width: 1279px) {
  h2 {
    letter-spacing: -0.01em;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  .page-slider {
    right: 6px;
    width: 44px;
  }

  .page-slider__section {
    display: none;
  }

  .logo::after {
    display: none;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 56px;
    --page-padding: 16px;
  }

  body {
    font-size: 12px;
    line-height: 1.55;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
    touch-action: manipulation;
  }

  a,
  button,
  summary {
    touch-action: manipulation;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.01em;
  }

  h2 {
    font-size: 32px;
    line-height: 1.02;
  }

  h3 {
    font-size: 18px;
  }

  .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .logo {
    font-size: 17px;
  }

  .logo::before {
    width: 5px;
    height: 5px;
    margin-right: 7px;
  }

  .site-nav {
    display: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .header-chip {
    margin-left: 0;
    min-height: 32px;
    padding: 7px;
    font-size: 9px;
  }

  .header-signal {
    min-width: 32px;
    height: 24px;
    flex-basis: 52px;
    margin: 0;
  }

  .page-slider {
    display: none;
  }

  .hero {
    min-height: 0;
    align-items: flex-start;
    padding: 42px var(--page-padding) 24px;
  }

  .hero__inner::before {
    top: -20px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .hero__lead {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero__status {
    align-items: flex-start;
    margin-top: 12px;
    font-size: 8px;
  }

  .hero__status span {
    margin-top: 5px;
  }

  .hero-flow {
    top: -4%;
    right: -510px;
    width: 720px;
    height: 520px;
    min-height: 0;
    opacity: 0.22;
  }

  .hero:hover .hero-flow {
    opacity: 0.3;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: stretch;
    gap: 8px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 42px;
    padding: 9px 7px;
    font-size: 9px;
  }

  .hero__proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
  }

  .hero__proof li {
    min-height: 66px;
    padding: 9px 7px;
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .hero__proof li:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .hero__proof strong {
    font-size: 13px;
    line-height: 1.1;
  }

  .hero__proof span {
    margin-top: 4px;
    font-size: 6px;
    line-height: 1.35;
  }

  .cases-section {
    height: auto;
    padding: 0;
    overflow: hidden;
  }

  .cases-sticky {
    position: relative;
    display: flex;
    height: clamp(560px, 86svh, 640px);
    gap: 10px;
    padding: 0 var(--page-padding);
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    scroll-padding-inline: var(--page-padding);
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--section-accent) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .cases-sticky::-webkit-scrollbar {
    height: 3px;
  }

  .cases-sticky::-webkit-scrollbar-thumb {
    background: var(--section-accent);
  }

  .case-panel {
    position: relative;
    width: calc(100vw - 40px) !important;
    min-width: calc(100vw - 40px);
    height: 100%;
    min-height: 0;
    flex: 0 0 calc(100vw - 40px);
    border: 1px solid var(--border);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none !important;
  }

  .case-spine {
    display: none;
  }

  .case-panel__body {
    height: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 34px 14px 16px;
  }

  .case-number {
    top: 320px;
    left: 14px;
    font-size: min(38vw, 150px);
  }

  .case-media {
    top: 58px;
    right: 14px;
    width: calc(100% - 28px);
    height: clamp(146px, 23svh, 180px);
  }

  .case-content {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }

  .case-panel {
    min-height: 0;
  }

  .case-panel__body {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 16px;
  }

  .case-media {
    top: 58px;
    width: calc(100% - 28px);
    height: clamp(146px, 23svh, 180px);
  }

  .case-number {
    top: 320px;
    font-size: min(38vw, 150px);
  }

  .case-content {
    bottom: 14px;
    padding-top: 12px;
  }

  .case-content h3 {
    margin-bottom: 7px;
    font-size: 18px;
  }

  .case-content__category {
    margin-bottom: 0;
    font-size: 8px;
  }

  .case-content__meta {
    gap: 6px;
    margin-bottom: 6px;
  }

  .case-content__description {
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.45;
  }

  .case-tags {
    gap: 5px;
    margin-bottom: 10px;
  }

  .case-tags li {
    padding: 3px 5px;
    font-size: 8px;
  }

  .case-content .button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 9px;
  }

  .content-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading .eyebrow {
    margin: 0 0 10px;
  }

  .section-heading__lead {
    margin-top: 12px;
    font-size: 10px;
    line-height: 1.45;
  }

  .calculator-duration {
    margin: 8px 0 0;
    font-size: 8px;
  }

  .calculator-shell {
    min-height: 0;
    padding: 14px;
    border-radius: 12px;
  }

  .calculator-head {
    grid-template-columns: auto minmax(70px, 1fr) auto;
    gap: 10px;
    font-size: 8px;
  }

  .calculator-stage {
    min-height: 0;
    padding: 24px 0 20px;
  }

  .calculator-stage__heading {
    display: block;
    margin-bottom: 22px;
  }

  .calculator-stage__heading .eyebrow {
    margin-bottom: 8px;
  }

  .calculator-stage__heading h3 {
    font-size: 26px;
    line-height: 1.05;
  }

  .calculator-stage__heading > p:last-child {
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.45;
  }

  .calculator-options,
  .calculator-options--features {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, auto));
    grid-auto-flow: column;
    grid-auto-columns: min(44vw, 164px);
    gap: 7px;
    padding-bottom: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--section-accent) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .calculator-options::-webkit-scrollbar {
    height: 3px;
  }

  .calculator-options::-webkit-scrollbar-thumb {
    background: var(--section-accent);
  }

  .calculator-option {
    min-height: 118px;
    padding: 12px;
    scroll-snap-align: start;
  }

  .calculator-options--features .calculator-option {
    min-height: 72px;
    padding: 11px 30px 11px 11px;
  }

  .calculator-option__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }

  .calculator-option__icon svg {
    width: 18px;
    height: 18px;
  }

  .calculator-option__check {
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .calculator-option__title {
    padding-right: 8px;
    font-size: 15px;
    line-height: 1.12;
  }

  .calculator-options--features .calculator-option__title {
    font-size: 9px;
    line-height: 1.35;
  }

  .calculator-option__description {
    margin: 8px 0 12px;
    font-size: 9px;
    line-height: 1.35;
  }

  .calculator-option__price {
    padding-top: 8px;
    font-size: 8px;
  }

  .calculator-controls {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 14px;
  }

  .calculator-controls p {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 14px;
  }

  .calculator-controls .button {
    width: 100%;
    min-height: 40px;
    padding: 8px;
    font-size: 9px;
  }

  .calculator-result__price {
    margin-bottom: 24px;
    font-size: 40px;
    line-height: 0.94;
  }

  .calculator-result__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 22px;
  }

  .calculator-result__summary div:nth-child(odd),
  .calculator-result__summary div:nth-child(even) {
    display: block;
    padding: 11px;
  }

  .calculator-result__summary div:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .calculator-result__summary dt {
    margin-bottom: 4px;
    font-size: 7px;
  }

  .calculator-result__summary dd {
    font-size: 9px;
    line-height: 1.35;
  }

  .calculator-result__notice {
    padding-left: 12px;
    font-size: 9px;
    line-height: 1.45;
  }

  .calculator-result__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 20px;
  }

  .calculator-result__actions .button {
    width: 100%;
    padding: 8px;
    font-size: 9px;
  }

  .calculator-lead {
    padding: 16px;
  }

  .calculator-lead__head {
    display: block;
  }

  .calculator-lead__head .eyebrow {
    margin-bottom: 14px;
  }

  .calculator-lead__head > p:last-child {
    margin-top: 14px;
  }

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

  .calculator-lead__comment,
  .calculator-lead__consent {
    grid-column: 1 / -1;
  }

  .calculator-lead__form > label:nth-child(3) {
    grid-column: 1 / -1;
  }

  .calculator-lead__form .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 214px;
    padding: 13px;
    border-radius: 10px;
  }

  .service-card__num {
    margin-bottom: 14px;
    font-size: 8px;
  }

  .service-card h3 {
    min-height: 40px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.12;
  }

  .service-card > p:not(.service-card__num):not(.service-card__meta) {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 9px;
    line-height: 1.4;
  }

  .service-card__meta {
    padding-top: 9px;
    font-size: 8px;
    line-height: 1.3;
  }

  .process-layout,
  .faq-layout,
  .stack-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-visual,
  .faq-visual {
    display: none;
  }

  .tag-list {
    margin-left: 0;
  }

  .stack-readout {
    min-height: 96px;
    padding: 14px;
  }

  .stack-readout strong {
    font-size: 26px;
  }

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

  .tag-list {
    gap: 5px;
  }

  .tag-list li {
    padding: 5px 7px;
    font-size: 8px;
  }

  .process-list li {
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .process-list li.is-active,
  .process-list li:hover {
    padding-right: 8px;
    padding-left: 8px;
  }

  .process-list h3 {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .process-list > li > span {
    font-size: 9px;
  }

  .process-list p {
    font-size: 10px;
    line-height: 1.45;
  }

  .faq-list summary {
    min-height: 58px;
    gap: 10px;
    font-size: 16px;
  }

  .faq-list summary::after {
    right: 36px;
  }

  .faq-list details[open] summary,
  .faq-list details:not([open]):hover summary {
    padding-left: 8px;
  }

  .faq-list summary span {
    min-width: 24px;
    font-size: 17px;
  }

  .faq-answer__inner {
    padding: 0 38px 16px 8px;
  }

  .faq-answer__inner p {
    font-size: 10px;
    line-height: 1.45;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 18px;
    border-radius: 14px;
  }

  .contact-card__intro h2 {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .contact-card__intro > p:not(.eyebrow) {
    margin-bottom: 0;
    font-size: 10px;
    line-height: 1.45;
  }

  .contact-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
  }

  .contact-icon-link {
    min-height: 70px;
    gap: 5px;
    padding: 8px 3px;
  }

  .contact-icon-link svg {
    width: 23px;
    height: 23px;
  }

  .contact-icon-link .max-wordmark {
    width: 34px;
  }

  .contact-icon-link span {
    font-size: 7px;
  }

  .contact-icon-link--max small {
    display: none;
  }

  .contact-icon-link--phone {
    min-height: 44px;
    gap: 10px;
    padding: 8px 12px;
  }

  .contact-form label {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .contact-form > input,
  .contact-form textarea {
    padding: 8px 0;
    margin-bottom: 16px;
  }

  .contact-form textarea {
    min-height: 96px;
    height: 96px;
  }

  .contact-select {
    margin-bottom: 16px;
  }

  .contact-select select {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .contact-consent {
    gap: 9px;
    margin-bottom: 18px;
    line-height: 1.35;
  }

  .contact-form .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    min-height: 0;
    padding: 32px var(--page-padding);
  }

  .site-footer__brand,
  .site-footer__column--docs {
    grid-column: 1 / -1;
  }

  .site-footer__brand {
    gap: 8px;
  }

  .site-footer__brand p {
    font-size: 15px;
  }

  .site-footer__column {
    gap: 8px;
  }

  .site-footer__column strong {
    margin-bottom: 3px;
  }

  .site-footer__column--docs p {
    padding-top: 8px;
  }
}

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

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

  html.section-motion-ready .section-assembly [data-assembly-piece] {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .calculator-stage:not(.is-changing) .calculator-option,
  .process-visual::before,
  .faq-visual::before,
  .hero__inner::before,
  .site-header::before,
  .site-header::after,
  .header-signal__beam::after,
  .header-signal__track,
  .hero-flow__paths path,
  .hero-flow__node,
  .hero-flow__core::after,
  .logo::before,
  .calculator-progress span,
  .calculator-progress span::after,
  .stack-readout::after,
  .case-number::after,
  .case-panel.is-card-motion .case-number,
  .case-panel.is-card-motion .case-media,
  .case-panel.is-card-motion .case-media::after,
  .case-panel.is-card-motion .case-panel__topline > span,
  .case-panel.is-card-motion .case-content__meta,
  .case-panel.is-card-motion .case-content h3,
  .case-panel.is-card-motion .case-content__description,
  .case-panel.is-card-motion .case-tags,
  .case-panel.is-card-motion .case-tags li,
  .case-panel.is-card-motion .case-content > .button,
  .case-panel.is-card-motion .case-content__demo {
    animation: none !important;
  }
}
