:root {
  color-scheme: only light;
  --bg: #f1f1f1;
  --paper: #ffffff;
  --ink: #1e1e1e;
  --ink-2: #34302b;
  --muted: #6f6a64;
  --line: rgba(30, 30, 30, 0.12);
  --dark: #1e1e1e;
  --dark-2: #292620;
  --light-text: #fff7f0;
  --accent: #c97a4f;
  --accent-2: #f2d2c2;
  --focus: #2e77ff;
  --success: #1f7a49;
  --error: #b42318;
  --radius-sm: 8px;
  --radius-md: 8px;
  --shadow-soft: 0 24px 60px rgba(30, 30, 30, 0.16);
  --container: 1360px;
  --section: clamp(64px, 8vw, 120px);
  --gap: clamp(16px, 2vw, 28px);
  --font-body: "Inter", Arial, sans-serif;
  --font-display: "Stack Sans Notch", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: only light;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  background: var(--bg);
  overflow-x: clip;
}

body {
  color-scheme: only light;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}

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

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

.nowrap {
  white-space: nowrap;
}

.container {
  width: min(100% - 24px, var(--container));
  margin-inline: auto;
}

main > section {
  scroll-margin-top: 88px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 241, 241, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(201, 122, 79, 0.16);
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 30px);
  min-width: 0;
}

.header-nav a,
.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.header-nav a:hover,
.header-phone:hover,
.text-link:hover,
.footer-bottom a:hover,
.contact-list a:hover {
  color: var(--accent);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background-color: #c97a4f;
  background-image: linear-gradient(#c97a4f, #c97a4f);
  color: #ffffff;
  forced-color-adjust: none;
  -webkit-text-fill-color: #ffffff;
}

.btn-primary:hover {
  background-color: #af623b;
  background-image: linear-gradient(#af623b, #af623b);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(30, 30, 30, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--accent-2);
}

.btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--light-text);
  background: rgba(255, 255, 255, 0.08);
}

.btn-map {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--dark);
  color: var(--light-text);
}

.hero {
  padding: 0;
}

.hero-frame {
  position: relative;
  min-height: min(700px, calc(100svh - 120px));
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--dark);
  box-shadow: var(--shadow-soft);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.76), rgba(18, 18, 18, 0.48) 62%, rgba(18, 18, 18, 0.6)),
    linear-gradient(0deg, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.42) 48%, rgba(18, 18, 18, 0.52));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  padding: 40px;
  color: #ffffff;
}

.hero-summary {
  width: min(100%, 342px);
  max-width: 342px;
  margin: 0;
  justify-self: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.36;
  transform: translateX(-92px);
}

.hero-content {
  align-self: end;
  display: grid;
  gap: 18px;
}

.hero-title {
  max-width: 1260px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 800;
  line-height: 0.96;
}

.hero-title > span {
  display: block;
}

.hero-title .accent {
  color: var(--accent-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--line);
}

.hero-benefits div {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  padding: 18px;
  font-weight: 700;
}

.hero-benefits svg,
.hero-benefit-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.hero-benefits svg {
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding-block: var(--section);
}

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

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: var(--dark);
  color: var(--light-text);
}

.section-lead {
  background: #26231f;
  color: var(--light-text);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  min-width: 0;
  word-break: normal;
  hyphens: none;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: auto;
}

p,
li,
dd,
dt,
a,
button,
label,
input,
textarea {
  overflow-wrap: normal;
}

h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.1vw, 56px);
  line-height: 1.07;
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.16;
  font-weight: 800;
}

p {
  margin: 0;
  color: var(--muted);
}

.section-dark p,
.section-lead p {
  color: rgba(255, 247, 240, 0.72);
}

.section-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.section-copy > p:not(.eyebrow),
.section-head > p,
.lead-copy > p,
.case-copy > p {
  max-width: 650px;
  font-size: clamp(17px, 1.5vw, 22px);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(28px, 4.2vw, 56px);
}

.section-head-row {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  align-items: end;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 800;
}

.section-dark .text-link,
.section-lead .text-link {
  color: var(--light-text);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.wide-visual,
.case-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--dark);
}

.wide-visual img,
.case-visual img {
  width: 100%;
  aspect-ratio: 1360 / 700;
  object-fit: cover;
}

.compact-grid article,
.control-grid article,
.equipment-board article,
.timeline article,
.scenario-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.compact-grid p,
.control-grid p,
.equipment-board p,
.timeline p,
.scenario-card p {
  margin-top: 12px;
}

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

.section-action {
  margin-top: 28px;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 30, 30, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  background: transparent;
  transform: translateY(-1px);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button-wide {
  width: 84px;
  justify-content: flex-end;
  padding-right: 12px;
}

.icon-button-dark {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(30, 30, 30, 0.12);
}

.icon-button-dark:hover {
  background: rgba(30, 30, 30, 0.12);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.system-section {
  padding-block: 120px;
  background: var(--bg);
}

.system-scroll-shell {
  min-height: calc(700px + 220svh);
}

.system-stage {
  position: relative;
  position: sticky;
  top: 88px;
  min-height: 0;
  aspect-ratio: 1360 / 700;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
  isolation: isolate;
  contain: paint;
}

.system-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(30, 30, 30, 0.06), rgba(30, 30, 30, 0.16) 72%, rgba(30, 30, 30, 0.28)),
    linear-gradient(90deg, rgba(30, 30, 30, 0.12), rgba(30, 30, 30, 0) 42%, rgba(30, 30, 30, 0.12));
}

.system-stage-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.system-topbar {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.system-visible-title {
  width: 330px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 800;
}

.system-copy-point {
  position: absolute;
  left: 33.6%;
  top: 31.4%;
  z-index: 2;
  width: min(329px, 34%);
  display: grid;
  gap: 16px;
  color: #ffffff;
}

.system-copy-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(30, 30, 30, 0.26);
  backdrop-filter: blur(8px);
}

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

.system-copy-point p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
}

.system-tabs {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 40px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
}

.system-tab {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

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

.system-tab:hover {
  background: rgba(255, 255, 255, 0.12);
}

.system-tab.is-active:hover {
  background: #b76e4d;
}

.system-mobile-stack {
  display: none;
}

.scenarios-section {
  --pinned-rail-top: 88px;
  --rail-scroll-distance: 100vh;
  --pinned-rail-stage-height: 560px;
  padding: 120px 0 0;
  overflow: visible;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
}

.scenarios-section.is-pinned-rail,
.engineering-section.is-pinned-rail {
  position: relative;
  min-height: calc(var(--pinned-rail-stage-height) + var(--rail-scroll-distance) + var(--pinned-rail-top));
}

.pinned-rail-stage {
  position: relative;
  z-index: 1;
}

.is-pinned-rail .pinned-rail-stage {
  position: sticky;
  top: var(--pinned-rail-top);
}

.scenarios-head {
  min-height: 123px;
  margin-bottom: 40px;
}

.scenarios-copy {
  width: min(100%, 540px);
  margin-left: min(457px, max(0px, calc(100% - 540px)));
}

.scenarios-copy h2 {
  max-width: none;
  font-size: 34px;
  line-height: 1.24;
  white-space: nowrap;
}

.scenarios-copy p {
  max-width: 430px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
}

.scenario-strip {
  width: 100%;
  overflow: hidden;
}

.scenario-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(12px, calc((100vw - var(--container)) / 2));
  scroll-padding-right: max(12px, calc((100vw - var(--container)) / 2));
  overscroll-behavior-inline: contain;
  padding: 0;
  scrollbar-width: none;
  contain: paint;
}

.scenario-rail::-webkit-scrollbar {
  display: none;
}

.scenario-rail.is-page-scroll-linked,
.engineering-rail.is-page-scroll-linked {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.scenario-rail.is-page-scroll-linked .scenario-card,
.engineering-rail.is-page-scroll-linked .engineering-card {
  scroll-snap-align: none;
}

.scenario-card {
  position: relative;
  flex: 0 0 446px;
  aspect-ratio: 446 / 279;
  height: auto;
  overflow: hidden;
  scroll-snap-align: start;
  border: 0;
  border-radius: 0;
  background: #090807;
  color: #ffffff;
}

.scenario-card:first-child {
  margin-left: max(12px, calc((100vw - var(--container)) / 2));
}

.scenario-card:last-child {
  margin-right: max(12px, calc((100vw - var(--container)) / 2));
}

.scenario-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.04) 58%, rgba(0, 0, 0, 0.08));
}

.scenario-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-card-top,
.scenario-card > p {
  position: absolute;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.scenario-card-top {
  top: 20px;
  display: grid;
  gap: 2px;
  width: 260px;
}

.scenario-card-top span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 19px;
}

.scenario-card h3 {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
}

.scenario-card > p {
  bottom: 20px;
  right: auto;
  width: min(390px, calc(100% - 40px));
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 19px;
}

.scenarios-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.engineering-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.scenarios-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.scenarios-action .btn {
  min-width: 306px;
}

.control-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--bg);
}

.control-mobile-bg,
.control-mobile-cards {
  display: none;
}

.control-head,
.engineering-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.control-head {
  grid-template-columns: minmax(0, 1fr);
  min-height: 42px;
  margin-bottom: 80px;
}

.control-head h2,
.engineering-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.16;
}

.control-head h2 {
  max-width: 600px;
}

.control-rows {
  display: grid;
  gap: 10px;
}

.control-row {
  position: relative;
  height: 332px;
  overflow: hidden;
  background: var(--paper);
}

.control-text {
  position: absolute;
  top: 126px;
  z-index: 2;
  width: 320px;
  color: var(--ink);
}

.control-text-left {
  left: 32px;
}

.control-text-right {
  left: calc(100% - 458px);
  top: 117px;
}

.control-text h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.control-text p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 19px;
}

.control-media {
  position: absolute;
  top: 16px;
  z-index: 1;
  width: min(590px, 43.4%);
  height: 300px;
  margin: 0;
  overflow: hidden;
  background: #0c0b09;
}

.control-media-left {
  left: 16px;
}

.control-media-right {
  left: auto;
  right: 16px;
}

.control-media img,
.equipment-card-media-full,
.engineering-card img,
.equipment-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.control-media figcaption {
  position: absolute;
  top: 47px;
  right: 56px;
  width: 181px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
}

.equipment-section {
  --equipment-card-radius: 4px;
  --equipment-card-radius-lg: 50px;
  position: relative;
  min-height: 796px;
  overflow: hidden;
  padding: 120px 0;
  background: #000000;
  color: #ffffff;
  isolation: isolate;
}

.equipment-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 1;
}

.equipment-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.24));
}

.equipment-shell {
  display: grid;
  gap: 40px;
}

.equipment-copy h2 {
  max-width: 840px;
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.16;
}

.equipment-copy h2 span,
.engineering-head h2 span {
  display: block;
}

.equipment-copy p {
  max-width: 713px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 19px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 446px);
  gap: 10px;
}

.equipment-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--equipment-card-radius);
  background: #171510;
  color: #ffffff;
  isolation: isolate;
}

.equipment-card--controllers {
  border-radius: var(--equipment-card-radius) var(--equipment-card-radius) var(--equipment-card-radius-lg) var(--equipment-card-radius);
}

.equipment-card--sensors {
  border-radius: var(--equipment-card-radius) var(--equipment-card-radius) var(--equipment-card-radius) var(--equipment-card-radius-lg);
}

.equipment-card--app {
  border-radius: var(--equipment-card-radius) var(--equipment-card-radius-lg) var(--equipment-card-radius) var(--equipment-card-radius);
}

.equipment-card--integrations {
  border-radius: var(--equipment-card-radius-lg) var(--equipment-card-radius) var(--equipment-card-radius) var(--equipment-card-radius);
}

.equipment-card-media {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.equipment-card-media-full {
  inset: 0;
  border-radius: inherit;
}

.equipment-card-media-app {
  top: 0;
  right: 0;
  width: 209px;
  height: 180px;
}

.equipment-card-media-switches-bg {
  opacity: 0.5;
}

.equipment-card-media-switches-panel {
  top: 38px;
  right: 36px;
  width: 105px;
  height: 105px;
  border-radius: 2px;
}

.equipment-card-media-integrations {
  top: -28.6px;
  left: 129.9px;
  width: 378.6px;
  height: 237.2px;
  object-fit: cover;
}

.equipment-card--switches::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #171510 0%, #171510 50%, rgba(23, 21, 16, 0) 100%);
}

.equipment-card > div {
  position: relative;
  z-index: 2;
  width: min(406px, calc(100% - 40px));
  padding: 20px;
}

.equipment-card-lower > div {
  padding-top: 71px;
}

.equipment-card--integrations > div {
  width: 263px;
}

.equipment-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
}

.equipment-card p {
  width: min(252px, 100%);
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 19px;
}

.equipment-card--integrations p {
  width: 222px;
}

.engineering-section {
  --pinned-rail-top: 88px;
  --rail-scroll-distance: 90vh;
  --pinned-rail-stage-height: 780px;
  padding: 120px 0;
  overflow: visible;
  overflow-x: clip;
  background: var(--bg);
}

.engineering-head {
  margin-bottom: 40px;
}

.engineering-head h2 {
  max-width: 500px;
}

.engineering-strip {
  width: 100%;
  overflow: hidden;
}

.engineering-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(12px, calc((100vw - var(--container)) / 2));
  scroll-padding-right: max(12px, calc((100vw - var(--container)) / 2));
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  contain: paint;
}

.engineering-rail::-webkit-scrollbar {
  display: none;
}

.engineering-card {
  position: relative;
  flex: 0 0 333px;
  height: 543px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #000000;
  color: #ffffff;
}

.engineering-card:first-child {
  margin-left: max(12px, calc((100vw - var(--container)) / 2));
}

.engineering-card:last-child {
  margin-right: max(12px, calc((100vw - var(--container)) / 2));
}

.engineering-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.engineering-card > div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
}

.engineering-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
}

.engineering-card p {
  max-width: 285px;
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--ink);
  font-weight: 800;
}

.cases {
  overflow: hidden;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}

.case-copy {
  display: grid;
  gap: 22px;
}

.case-facts {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}

.case-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.case-facts dt {
  color: rgba(255, 247, 240, 0.54);
}

.case-facts dd {
  margin: 0;
  color: var(--light-text);
  font-weight: 700;
}

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

.timeline article {
  min-height: 250px;
  padding: clamp(18px, 1.8vw, 24px);
}

.designers-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.designers-panel .btn {
  justify-self: start;
}

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}

.section-lead .check-list li {
  color: rgba(255, 247, 240, 0.82);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list.compact {
  gap: 8px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

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

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

.faq-item h3 {
  margin: 0;
  font-size: 20px;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 16px 0;
  text-align: left;
  font-weight: 800;
}

.faq-item button::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 160ms ease;
}

.faq-item button[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-3px);
}

.faq-panel {
  padding: 0 0 20px;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.lead-copy {
  display: grid;
  gap: 22px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

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

.form-field label,
.consent {
  color: var(--light-text);
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 13px 14px;
}

.form-field textarea {
  resize: vertical;
  min-height: 112px;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.consent input[aria-invalid="true"] {
  border-color: var(--error);
}

.form-error {
  min-height: 18px;
  color: #ffd7d2;
  font-size: 13px;
}

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

.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.consent a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent a,
.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.form-submit {
  width: 100%;
  min-height: 54px;
}

.form-status {
  min-height: 22px;
  color: var(--accent-2);
  font-weight: 700;
}

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

.form-status.is-error {
  color: #ffd7d2;
}

.site-footer {
  padding-block: clamp(50px, 7vw, 90px) 24px;
  background: var(--dark);
  color: var(--light-text);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(240px, 0.5fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-list {
  display: grid;
  gap: 14px;
  color: rgba(255, 247, 240, 0.76);
  font-style: normal;
}

.contact-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--light-text);
  font-weight: 800;
}

.map-placeholder {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(201, 122, 79, 0.22), rgba(255, 255, 255, 0.03)),
    #25231f;
}

.map-grid {
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotate(-8deg);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 14px rgba(201, 122, 79, 0.16);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 247, 240, 0.66);
  font-size: 13px;
}

.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.legal-page {
  min-height: 100svh;
  background: var(--bg);
}

.legal-shell {
  padding-block: 28px 80px;
}

.legal-card {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 54px);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 22px;
}

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

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(30, 30, 30, 0.88), rgba(30, 30, 30, 0.55)),
    url("../images/figma-system.webp") center / cover;
  color: var(--light-text);
}

.error-panel {
  width: min(100% - 24px, 980px);
  display: grid;
  gap: 24px;
  padding-block: 64px;
}

.error-code {
  color: var(--accent-2);
  font-size: 18px;
  font-weight: 800;
}

.error-panel h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
}

.error-panel p {
  max-width: 620px;
  color: rgba(255, 247, 240, 0.78);
  font-size: clamp(18px, 2vw, 24px);
}

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

@media (max-width: 1320px) and (min-width: 701px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .header-phone {
    display: none;
  }

  .header-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

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

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .header-phone {
    display: none;
  }

  .header-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

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

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .hero-summary {
    transform: translateX(-40px);
  }

  .hero-title {
    font-size: 78px;
  }

  .system-tabs {
    left: 20px;
    right: 20px;
    gap: 6px;
  }

  .system-tab {
    padding-inline: 8px;
    font-size: 13px;
  }

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

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .split-section,
  .split-section.reverse,
  .case-layout,
  .faq-layout,
  .lead-layout,
  .footer-layout,
  .section-head-row {
    grid-template-columns: 1fr;
  }

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

  .hero-summary {
    justify-self: start;
    transform: none;
  }

  .hero-title {
    font-size: 62px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

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

  .control-text-right {
    left: calc(100% - 390px);
  }

  .control-media {
    width: min(460px, 43.4%);
  }

  .equipment-section {
    padding-block: 96px;
  }

  .system-scroll-shell {
    min-height: auto;
  }

  .system-stage {
    position: relative;
    top: auto;
    min-height: 620px;
    aspect-ratio: auto;
  }

  .system-topbar {
    left: 24px;
    right: 24px;
  }

  .system-copy-point {
    left: 24px;
    top: 190px;
    width: min(320px, calc(100% - 48px));
  }

  .system-tabs {
    left: 20px;
    right: 20px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .system-tabs::-webkit-scrollbar {
    display: none;
  }

  .system-tab {
    flex: 0 0 170px;
    scroll-snap-align: start;
  }

  .rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }

  .scenario-card {
    flex: 0 0 min(78vw, 340px);
    scroll-snap-align: start;
  }

  .scenarios-head {
    grid-template-columns: 1fr auto;
  }

  .scenarios-copy {
    margin-left: 0;
  }

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

@media (max-width: 700px) {
  .scenarios-section.is-pinned-rail,
  .engineering-section.is-pinned-rail {
    min-height: auto;
  }

  .is-pinned-rail .pinned-rail-stage {
    position: relative;
    top: auto;
  }

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

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
    padding-block: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .header-nav,
  .header-phone {
    display: none;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    padding-inline: 13px;
  }

  .header-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hero {
    padding: 0;
  }

  .hero-frame {
    min-height: 620px;
  }

  .hero-image {
    object-position: 72% top;
  }

  .hero-frame::after {
    background:
      linear-gradient(180deg, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.56) 38%, rgba(18, 18, 18, 0.88)),
      linear-gradient(90deg, rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.54));
  }

  .hero-overlay {
    inset: 0;
    gap: 14px;
    padding: 40px 14px;
  }

  .hero-summary {
    width: min(100%, 320px);
    max-width: 320px;
    font-size: 14px;
    line-height: 1.36;
  }

  .hero-content {
    gap: 14px;
  }

  .hero-title {
    max-width: 100%;
    font-size: 46px;
    line-height: 0.98;
  }

  .hero-title .accent {
    font-size: 36px;
    line-height: 1.06;
  }

  .hero-title .accent > span {
    display: block;
  }

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

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

  .hero-benefits div {
    min-height: 64px;
    padding: 16px;
  }

  .section {
    padding-block: 58px;
  }

  .system-section,
  .scenarios-section {
    padding-block: 58px;
  }

  .scenarios-section {
    padding-bottom: 58px;
  }

  .control-section {
    min-height: auto;
    padding: 56px 0 64px;
    color: var(--ink);
    background: var(--bg);
  }

  .control-mobile-bg {
    display: none;
  }

  .control-head {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 66px;
    margin-bottom: 28px;
  }

  .control-head h2 {
    width: 282px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.18;
  }

  .control-desktop-controls,
  .control-rows {
    display: none;
  }

  .control-mobile-cards {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    width: calc(100% - 32px);
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .control-mobile-card {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    color: #1f1f1f;
  }

  .control-mobile-card::before {
    content: none;
  }

  .control-mobile-card h3 {
    margin: 0;
    color: #1f1f1f;
    font-size: 18px;
    line-height: 1.16;
  }

  .control-mobile-card p {
    margin: 0;
    color: #1f1f1f;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
  }

  .control-mobile-card img {
    display: block;
    width: 100%;
    aspect-ratio: 235 / 184;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }

  .equipment-section {
    min-height: 1664px;
    padding: 80px 0;
  }

  .equipment-bg {
    display: block;
    opacity: 0.72;
    object-position: center top;
  }

  .equipment-section::after {
    display: block;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.26) 40%, rgba(0, 0, 0, 0.62)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.36));
  }

  .equipment-shell {
    gap: 40px;
  }

  .equipment-copy h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .equipment-copy p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 19px;
  }

  .equipment-copy br {
    display: none;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .equipment-card {
    min-height: 240px;
    border-radius: 4px;
    background: #171510;
  }

  .equipment-card::before {
    content: none;
  }

  .equipment-card--controllers,
  .equipment-card--sensors,
  .equipment-card--app,
  .equipment-card--integrations {
    border-radius: 4px;
  }

  .equipment-card-media-full,
  .equipment-card-media-app,
  .equipment-card-media-switches-bg,
  .equipment-card-media-integrations {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: transparent;
    object-fit: cover;
    object-position: center center;
  }

  .equipment-card--controllers .equipment-card-media-full {
    object-position: 93% 50%;
  }

  .equipment-card--sensors .equipment-card-media-full {
    object-position: 91% 50%;
  }

  .equipment-card--switches .equipment-card-media-full {
    object-position: 78% 50%;
  }

  .equipment-card--app .equipment-card-media-full {
    object-position: 86% 50%;
  }

  .equipment-card--integrations .equipment-card-media-full {
    object-position: 82% 50%;
  }

  .equipment-card-media-app {
    object-position: 56% 50%;
  }

  .equipment-card-media-integrations {
    object-position: 72% 50%;
  }

  .equipment-card-media-switches-bg {
    opacity: 1;
    object-position: 76% 50%;
  }

  .equipment-card--switches::after {
    display: none;
  }

  .equipment-card-media-switches-panel {
    top: 68px;
    right: 33px;
    width: 74px;
    height: 74px;
  }

  .equipment-card > div,
  .equipment-card-lower > div {
    width: 226px;
    height: 200px;
    padding: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .equipment-card h3 {
    font-size: 18px;
    line-height: 1.16;
  }

  .equipment-card p {
    width: 226px;
    margin: 0;
    font-size: 13px;
    line-height: 19px;
  }

  .equipment-card:nth-child(3) {
    order: 1;
  }

  .equipment-card:nth-child(1) {
    order: 2;
  }

  .equipment-card:nth-child(2) {
    order: 3;
  }

  .equipment-card:nth-child(4) {
    order: 4;
  }

  .equipment-card:nth-child(5) {
    order: 5;
  }

  .engineering-section {
    position: relative;
    min-height: 889px;
    padding: 80px 0 160px;
  }

  .engineering-head {
    display: block;
    margin-bottom: 40px;
  }

  .engineering-head h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .engineering-card {
    flex-basis: min(356px, calc(100vw - 34px));
    height: 543px;
  }

  .engineering-card:first-child {
    margin-left: 12px;
  }

  .engineering-card:last-child {
    margin-right: 12px;
  }

  h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .section-copy > p:not(.eyebrow),
  .section-head > p,
  .lead-copy > p,
  .case-copy > p {
    font-size: 17px;
  }

  .equipment-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }

  .system-scroll-shell {
    min-height: auto;
  }

  .system-stage {
    display: none;
  }

  .system-mobile-stack {
    display: grid;
    gap: 12px;
  }

  .system-mobile-title {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.12;
  }

  .system-mobile-stack article {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--dark);
    color: #ffffff;
  }

  .system-mobile-stack img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .system-mobile-stack article > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 0;
  }

  .system-mobile-stack h3 {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.16;
  }

  .system-mobile-stack p:not(.system-mobile-title) {
    padding: 12px 16px 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.36;
  }

  .system-mobile-stack .system-copy-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

  .scenarios-head {
    min-height: auto;
    margin-bottom: 24px;
  }

  .scenarios-controls {
    margin-top: 20px;
  }

  .engineering-controls {
    margin-top: 20px;
  }

  .scenarios-copy h2 {
    font-size: clamp(30px, 9vw, 38px);
    white-space: normal;
  }

  .scenarios-copy p {
    margin-top: 14px;
    font-size: 15px;
  }

  .scenario-card {
    flex-basis: min(86vw, 340px);
  }

  .scenarios-action {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .scenarios-action .btn {
    width: 100%;
    min-width: 0;
  }

  .case-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .designers-panel,
  .lead-form {
    padding: 20px;
  }

  .footer-actions,
  .error-actions,
  .legal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .text-link,
  .header-nav a,
  .contact-list a {
    min-height: 44px;
  }

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

}

@media (max-width: 380px) {
  .hero-frame {
    min-height: 590px;
  }

  .hero-overlay {
    padding-inline: 12px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-title .accent {
    font-size: 30px;
  }

  .hero-actions .btn {
    padding-inline: 14px;
  }
}

.figma-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 60px;
  background-color: #c97a4f;
  background-image: linear-gradient(#c97a4f, #c97a4f);
  color: #ffffff;
  forced-color-adjust: none;
  -webkit-text-fill-color: #ffffff;
  padding: 8px 8px 8px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.figma-pill i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: #000000;
  background-image: linear-gradient(#000000, #000000);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.figma-pill svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.figma-pill-wide {
  min-height: 60px;
  width: 416px;
  padding-inline: 20px;
  font-size: 15px;
}

.figma-pill-outline {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: transparent;
  background-image: none;
}

.figma-pill-outline i {
  background-color: var(--accent-2);
  background-image: linear-gradient(var(--accent-2), var(--accent-2));
  color: #1e1e1e;
  -webkit-text-fill-color: #1e1e1e;
}

.calculator-section {
  padding: 40px 0 120px;
  background: var(--bg);
}

.calculator-frame {
  position: relative;
  height: 700px;
  display: grid;
  grid-template-columns: minmax(340px, 390px) minmax(430px, 1fr) minmax(380px, 420px);
  align-items: start;
  gap: 16px;
  overflow: hidden;
  padding: 40px;
  color: #ffffff;
  isolation: isolate;
}

.calculator-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calculator-bg-mobile {
  display: none;
}

.calculator-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 32px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(2px);
}

.calculator-question {
  margin: 0 0 24px;
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.calculator-options {
  display: grid;
}

.calculator-option {
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 19px;
}

.calculator-option:last-child {
  border-bottom: 0;
}

.calculator-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #3d3e41;
  accent-color: var(--accent-2);
}

.calculator-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 19px;
}

.calculator-bottom b {
  color: var(--accent-2);
}

.calculator-title {
  position: relative;
  z-index: 1;
  left: auto;
  top: auto;
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.16;
}

.lead-form-contract {
  position: relative;
  z-index: 2;
  right: auto;
  bottom: auto;
  width: 100%;
  gap: 10px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.lead-form-contract label {
  display: grid;
  gap: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.lead-form-contract input,
.lead-form-contract textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 12px 14px;
}

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

.lead-form-contract label:has(input[type="checkbox"]) {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.35;
}

.lead-form-contract input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--accent-2);
}

.lead-form-contract button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-2);
  color: #1e1e1e;
  font-weight: 800;
  cursor: pointer;
}

.lead-form-contract button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.65;
}

.cases-section {
  padding: 0 0 120px;
  background: var(--bg);
}

.cases-head {
  display: grid;
  gap: 24px;
  max-width: 911px;
  border-top: 2px solid #14161b;
  padding-top: 120px;
  color: var(--ink);
}

.cases-head h2 {
  max-width: none;
  font-size: 36px;
  line-height: 1.16;
  white-space: nowrap;
}

.cases-head p {
  width: 472px;
  max-width: 100%;
  color: rgba(30, 30, 30, 0.7);
  font-size: 16px;
  line-height: 19px;
}

.cases-list {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}

.case-card {
  height: 543px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  background: #ffffff;
  padding: 8px 8px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: rgba(183, 110, 77, 0.45);
  box-shadow: 0 16px 40px rgba(20, 22, 27, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.case-card-large {
  width: 911px;
  justify-self: center;
}

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

.case-card img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 895 / 404;
  object-fit: cover;
}

.case-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 12px;
}

.case-card:not(.case-card-large) .case-card-body {
  flex-direction: column;
  gap: 16px;
}

.case-price {
  display: grid;
  gap: 16px;
}

.case-price h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.case-price p {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: rgba(30, 30, 30, 0.4);
  font-size: 16px;
  line-height: 19px;
}

.case-price strong {
  color: #b76e4d;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.case-price sup {
  font-size: 10px;
}

.case-side {
  display: grid;
  justify-items: end;
  gap: 16px;
}

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

.case-tags li {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: rgba(239, 205, 190, 0.25);
  color: #c79f8d;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
}

.case-brand-divider,
.process-brand-divider {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  place-items: center;
  min-height: 280px;
  color: rgba(0, 0, 0, 0.4);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-brand-divider::before,
.case-brand-divider::after,
.process-brand-divider::before,
.process-brand-divider::after {
  content: "";
  width: 1px;
  height: 100%;
  background: #d9d9d9;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.case-modal[hidden] {
  display: none;
}

html.is-case-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-case-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 27, 0.64);
}

.case-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  height: min(820px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
}

.case-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.case-modal-close svg,
.case-slider-control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-benefit-icon {
  display: block;
  object-fit: contain;
}

.case-modal-media {
  position: relative;
  min-width: 0;
  min-height: 520px;
  background: #14161b;
}

.case-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.case-slider-control {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.case-slider-prev {
  left: 16px;
}

.case-slider-next {
  right: 16px;
}

.case-slide-count {
  position: absolute;
  left: 16px;
  bottom: 16px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(20, 22, 27, 0.72);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1;
}

.case-modal-content {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  overflow: hidden;
  padding: 48px 36px 36px;
}

.case-modal-eyebrow {
  color: #b76e4d;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.case-modal-content h3 {
  font-size: 30px;
  line-height: 1.16;
}

.case-modal-content p {
  color: rgba(30, 30, 30, 0.72);
  font-size: 16px;
  line-height: 1.5;
}

#case-modal-description {
  min-height: 0;
  overflow-y: auto;
}

.process-section {
  padding: 40px 0 120px;
  background: var(--bg);
}

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.process-head h2 {
  max-width: none;
  font-size: 36px;
  line-height: 1.16;
}

.process-head p {
  width: 902px;
  max-width: 100%;
  color: rgba(30, 30, 30, 0.7);
  font-size: 16px;
  line-height: 19px;
}

.process-copy-mobile {
  display: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 446px);
  grid-auto-rows: 280px;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
}

.process-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #171510;
  color: #ffffff;
  padding: 20px;
}

.process-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.process-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.process-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.process-card:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.process-card:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
}

.process-brand-divider {
  grid-column: 2;
  grid-row: 3;
}

.process-card:nth-child(7) {
  grid-column: 3;
  grid-row: 3;
}

.process-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-card h3,
.process-card p {
  position: relative;
  z-index: 1;
}

.process-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 19px;
}

.designers-section {
  padding: 120px 0;
  background: var(--bg);
}

.designers-section h2 {
  max-width: none;
  font-size: 36px;
  line-height: 1.16;
}

.designers-stage {
  position: relative;
  height: 600px;
  margin-top: 40px;
  overflow: hidden;
  padding: 40px;
  color: #ffffff;
}

.designers-stage picture,
.designers-stage img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.designers-stage img {
  object-fit: cover;
}

.designers-points {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 329px);
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.designers-points li {
  width: min(244px, 100%);
  display: grid;
  gap: 16px;
}

.designers-points span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
}

.designers-points p {
  width: 244px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
}

.designers-cta {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 1;
  width: 416px;
  display: grid;
  gap: 18px;
}

.designers-cta p {
  width: 401px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.faq-section {
  padding: 0 0 120px;
  background: var(--bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 903px;
  gap: 40px;
  align-items: start;
}

.faq-layout h2 {
  max-width: none;
  font-size: 72px;
  line-height: 1;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-top: 0;
  border-bottom: 1px solid #d9d9d9;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  min-height: 72px;
  padding: 24px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.16;
}

.faq-item button::after {
  width: 24px;
  height: 24px;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transform: none;
}

.faq-item button[aria-expanded="true"]::after {
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat;
  transform: none;
}

.faq-panel {
  padding: 0 0 24px;
}

.faq-panel p {
  color: rgba(30, 30, 30, 0.7);
  font-size: 15px;
  line-height: 1.25;
}

.site-footer {
  position: relative;
  min-height: 559px;
  overflow: hidden;
  padding: 40px 0;
  background: #11100e;
  color: #ffffff;
  isolation: isolate;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bg-mobile {
  display: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 280px) auto;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.footer-brand {
  display: grid;
  gap: 30px;
}

.footer-brand-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 7px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.16;
}

.footer-nav a,
.footer-social a,
.footer-bottom a,
.footer-contacts a {
  min-height: 0;
}

.footer-social {
  display: flex;
  gap: 45px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr) auto;
  align-items: flex-end;
  gap: 40px;
  margin-top: 100px;
}

.footer-map {
  position: relative;
  display: block;
  width: 100%;
  height: 292px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.footer-map-link {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(30, 30, 30, 0.82);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  backdrop-filter: blur(8px);
}

.footer-contacts {
  display: grid;
  gap: 16px;
  color: #ffffff;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  line-height: 1.16;
}

.footer-contacts a:first-child {
  font-size: 24px;
}

.footer-contacts a:nth-child(2) {
  font-size: 64px;
  white-space: nowrap;
}

.footer-contacts span {
  display: none;
}

.footer-actions {
  display: flex;
  gap: 16px;
}

.footer-actions .figma-pill {
  width: 247px;
  padding-inline: 16px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 24px;
  margin-top: 100px;
  padding-top: 0;
  border-top: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .calculator-frame {
    grid-template-columns: minmax(300px, 350px) minmax(360px, 1fr) minmax(320px, 360px);
    gap: 12px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .process-card,
  .process-card:nth-child(n),
  .process-brand-divider {
    grid-column: auto;
    grid-row: auto;
  }

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

  .footer-contacts a:nth-child(2) {
    font-size: clamp(48px, 5vw, 64px);
  }
}

@media (max-width: 980px) {
  .calculator-frame {
    grid-template-columns: minmax(280px, 340px) minmax(320px, 1fr) minmax(320px, 380px);
    gap: 12px;
    padding: 24px;
  }

  .calculator-title {
    left: auto;
  }

  .lead-form-contract {
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .case-card-large {
    width: 100%;
  }

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

  .case-brand-divider {
    min-height: 120px;
  }

  .case-modal-panel {
    grid-template-columns: 1fr;
    height: auto;
    max-height: min(820px, calc(100vh - 48px));
    overflow-y: auto;
  }

  .case-modal-media,
  .case-modal-media img {
    min-height: 360px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .process-card,
  .process-card:nth-child(n),
  .process-brand-divider {
    grid-column: auto;
    grid-row: auto;
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-main {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-contacts a:nth-child(2) {
    font-size: 48px;
  }
}

@media (max-width: 700px) {
  .figma-pill {
    width: 100%;
    min-height: 48px;
    padding: 8px 8px 8px 20px;
    font-size: 14px;
  }

  .calculator-section {
    padding: 0 0 80px;
  }

  .calculator-frame {
    height: auto;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .calculator-bg-desktop {
    display: none;
  }

  .calculator-bg-mobile {
    display: block;
  }

  .calculator-title {
    position: relative;
    order: -1;
    left: auto;
    top: auto;
    max-width: none;
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.16;
  }

  .calculator-panel {
    display: none;
  }

  .lead-form-contract {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: auto;
    padding: 18px;
  }

  .cases-section {
    padding-bottom: 80px;
  }

  .cases-head {
    gap: 16px;
    padding-top: 80px;
  }

  .cases-head h2 {
    white-space: normal;
    font-size: 28px;
    line-height: 1.16;
  }

  .cases-head p {
    width: auto;
    font-size: 15px;
  }

  .case-card {
    height: auto;
    min-height: 520px;
  }

  .case-card-body,
  .case-card-large .case-card-body {
    flex-direction: column;
    gap: 16px;
  }

  .case-side {
    justify-items: start;
  }

  .case-price h3 {
    font-size: 24px;
  }

  .case-price strong {
    color: var(--ink);
    font-size: 24px;
  }

  .case-brand-divider {
    display: none;
  }

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

  .case-modal-panel {
    width: 100%;
    max-height: none;
  }

  .case-modal-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .case-modal-media img {
    min-height: 0;
  }

  .case-modal-content {
    padding: 24px 18px 20px;
  }

  .case-modal-content h3 {
    font-size: 24px;
  }

  .case-slider-control {
    width: 44px;
    height: 44px;
  }

  .process-section {
    padding: 40px 0 80px;
  }

  .process-shell {
    position: relative;
    min-height: 660px;
    height: auto;
    overflow: hidden;
    display: grid;
    gap: clamp(96px, 24vh, 220px);
    padding: 20px;
    color: #ffffff;
    background: #171510;
    isolation: isolate;
  }

  .process-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../images/figma-process-people-clean.webp") center / cover no-repeat;
  }

  .process-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg, rgba(15, 14, 13, 0.78), rgba(15, 14, 13, 0.22) 50%, rgba(15, 14, 13, 0.72)),
      linear-gradient(180deg, rgba(15, 14, 13, 0.55), rgba(15, 14, 13, 0.08) 44%, rgba(15, 14, 13, 0.7));
  }

  .process-head {
    gap: 20px;
    min-height: 0;
    padding: 0;
    background: transparent;
  }

  .process-head h2 {
    width: auto;
    max-width: 100%;
    min-width: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.16;
  }

  .process-head p {
    width: auto;
    max-width: 100%;
    min-width: 0;
    color: #ffffff;
    font-size: 13px;
  }

  .process-copy-desktop {
    display: none;
  }

  .process-copy-mobile {
    display: block;
  }

  .process-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    margin-top: 0;
    padding: 0;
    scrollbar-width: none;
  }

  .process-grid::-webkit-scrollbar {
    display: none;
  }

  .process-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 112px;
    height: auto;
    scroll-snap-align: start;
    padding: 20px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(2px);
  }

  .process-card:first-child {
    margin-left: 0;
  }

  .process-card:nth-child(n + 2) {
    opacity: 1;
  }

  .process-card img,
  .process-brand-divider {
    display: none;
  }

  .process-card h3 {
    margin: 0;
    color: var(--accent-2);
    font-size: 16px;
  }

  .process-card p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.18;
  }

  .process-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 105px;
    height: 1px;
    background: var(--accent-2);
  }

  .designers-section {
    padding: 80px 0;
  }

  .designers-section h2 {
    font-size: 28px;
    line-height: 1.16;
  }

  .designers-stage {
    height: 600px;
    padding: 20px;
  }

  .designers-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .designers-points li {
    width: min(100%, 329px);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .designers-points span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    font-size: 13px;
  }

  .designers-points p {
    width: auto;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.18;
  }

  .designers-cta {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    max-width: calc(100% - 40px);
  }

  .designers-cta > * {
    min-width: 0;
  }

  .designers-cta p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .designers-cta .figma-pill {
    white-space: normal;
  }

  .designers-cta .figma-pill span {
    min-width: 0;
    white-space: normal;
    line-height: 1.12;
  }

  .faq-section {
    padding: 40px 0 80px;
  }

  .faq-layout {
    gap: 24px;
  }

  .faq-layout h2 {
    font-size: 54px;
  }

  .faq-item button {
    min-height: 53px;
    padding: 16px 0;
    font-size: 15px;
  }

  .faq-item button::after {
    width: 20px;
    height: 20px;
  }

  .faq-panel {
    padding-bottom: 16px;
  }

  .faq-panel p {
    font-size: 14px;
  }

  .site-footer {
    min-height: 949px;
    padding: 40px 0;
  }

  .footer-bg-desktop {
    display: none;
  }

  .footer-bg-mobile {
    display: block;
  }

  .footer-top {
    display: grid;
    gap: 40px;
  }

  .footer-nav {
    display: grid;
    gap: 7px;
    font-size: 15px;
  }

  .footer-social {
    gap: 45px;
  }

  .footer-main {
    display: grid;
    gap: 40px;
    margin-top: 40px;
  }

  .footer-map {
    position: relative;
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
  }

  .footer-contacts a:first-child {
    font-size: 20px;
  }

  .footer-contacts a:nth-child(2) {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.16;
  }

  .footer-contacts span {
    display: block;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
  }

  .footer-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-actions .figma-pill {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 12px;
    margin-top: 40px;
    font-size: 12px;
  }
}

.motion-reveal {
  --reveal-delay: 0ms;
  --reveal-y: 26px;
  --reveal-x: 0px;
  --reveal-scale: 1;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 620ms ease var(--reveal-delay),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay),
    filter 620ms ease var(--reveal-delay);
  will-change: opacity, transform;
}

.motion-reveal.motion-from-left {
  --reveal-x: -24px;
  --reveal-y: 0px;
}

.motion-reveal.motion-from-right {
  --reveal-x: 24px;
  --reveal-y: 0px;
}

.motion-reveal.motion-scale {
  --reveal-y: 14px;
  --reveal-scale: 0.985;
}

.scenario-rail .motion-reveal.motion-scale,
.engineering-rail .motion-reveal.motion-scale {
  --reveal-y: 0px;
}

.motion-reveal.motion-line {
  --reveal-y: 0px;
  --reveal-scale: 1;
  transform-origin: 50% 0%;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}

.motion-parallax {
  will-change: transform;
}

.site-header {
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(241, 241, 241, 0.94);
  border-color: rgba(30, 30, 30, 0.16);
  box-shadow: 0 10px 28px rgba(30, 30, 30, 0.08);
}

.header-nav a,
.footer-nav a,
.footer-social a,
.footer-bottom a {
  position: relative;
  transition: color 180ms ease, opacity 180ms ease;
}

.header-nav a::after,
.footer-nav a::after,
.footer-social a::after,
.footer-bottom a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.footer-nav a::after,
.footer-social a::after,
.footer-bottom a::after {
  left: 0;
  right: 0;
  bottom: -4px;
}

.header-nav a:hover::after,
.footer-nav a:hover::after,
.footer-social a:hover::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
}

.btn,
.figma-pill,
.icon-button,
.system-tab,
.calculator-option,
.faq-item button {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover,
.figma-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(30, 30, 30, 0.14);
}

.btn svg,
.figma-pill svg,
.icon-button svg {
  transition: transform 180ms ease;
}

.btn:hover svg,
.figma-pill:hover svg,
.icon-button-wide:hover svg {
  transform: translateX(3px);
}

.icon-button:hover {
  box-shadow: 0 10px 24px rgba(30, 30, 30, 0.08);
}

.hero-image {
  transform-origin: center;
}

.motion-ready .hero-image.is-visible {
  animation: heroImageIntro 900ms ease both;
}

@keyframes heroImageIntro {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

.scenario-strip,
.engineering-strip {
  position: relative;
}

.scenario-strip::before,
.scenario-strip::after,
.engineering-strip::before,
.engineering-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: min(80px, 12vw);
  pointer-events: none;
  opacity: 1;
  transition: opacity 180ms ease;
}

.scenario-strip::before,
.engineering-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(241, 241, 241, 0));
}

.scenario-strip::after,
.engineering-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(241, 241, 241, 0));
}

@media (max-width: 700px) {
  .scenario-strip::before,
  .scenario-strip::after,
  .engineering-strip::before,
  .engineering-strip::after {
    display: none;
  }
}

.scenario-strip.is-rail-start::before,
.engineering-strip.is-rail-start::before,
.scenario-strip.is-rail-end::after,
.engineering-strip.is-rail-end::after {
  opacity: 0;
}

.scenario-card,
.engineering-card,
.case-card,
.process-card,
.equipment-card,
.control-row,
.designers-stage,
.calculator-frame {
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    filter 240ms ease,
    opacity 240ms ease;
}

.scenario-card img,
.engineering-card img,
.case-card img,
.process-card img,
.equipment-card img,
.control-media img,
.designers-stage img,
.calculator-bg,
.footer-bg {
  transition: transform 520ms ease, filter 260ms ease, opacity 260ms ease;
  transform-origin: center;
}

.scenario-card:hover img,
.engineering-card:hover img,
.case-card:hover img,
.process-card:hover img,
.equipment-card:hover img,
.control-row:hover .control-media img {
  transform: scale(1.03);
}

.scenario-card:hover,
.engineering-card:hover,
.case-card:hover,
.process-card:hover,
.equipment-card:hover,
.control-row:hover {
  box-shadow: 0 20px 52px rgba(30, 30, 30, 0.14);
}

.scenario-card.is-active-card,
.engineering-card.is-active-card {
  opacity: 1;
  transform: scale(1);
}

.scenario-card:not(.is-active-card),
.engineering-card:not(.is-active-card) {
  opacity: 0.88;
}

.scenario-card:hover,
.engineering-card:hover {
  opacity: 1;
}

.system-stage-image {
  transition: opacity 220ms ease, transform 520ms ease;
}

.system-stage-image.is-swapping {
  opacity: 0.45;
  transform: scale(1.01);
}

.system-copy-point {
  transition: opacity 220ms ease, transform 220ms ease;
}

.system-copy-point.is-updating {
  opacity: 0;
  transform: translateY(8px);
}

.system-tab:hover,
.system-tab:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.calculator-option:hover {
  color: var(--accent-2);
}

.calculator-option:has(input:checked) {
  color: var(--accent-2);
}

.calculator-option:has(input:checked) input {
  box-shadow: 0 0 0 5px rgba(242, 210, 194, 0.16);
}

.case-card:hover .case-tags li {
  background: rgba(239, 205, 190, 0.42);
}

.case-card:hover .case-price strong {
  color: var(--accent);
}

.process-card:hover h3,
.equipment-card:hover h3,
.engineering-card:hover h3,
.scenario-card:hover h3 {
  color: var(--accent-2);
}

.designers-points li {
  transition: opacity 220ms ease, transform 220ms ease;
}

.designers-points li:hover {
  transform: translateY(-2px);
}

.designers-points li:hover span {
  background: var(--accent);
  color: #ffffff;
}

.designers-points li:hover p {
  color: #ffffff;
}

.faq-item {
  transition: border-color 180ms ease, opacity 220ms ease;
}

.faq-item button:hover {
  color: var(--accent);
}

.faq-panel {
  animation: faqPanelIn 220ms ease both;
}

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

.footer-map,
.footer-contacts a,
.footer-actions .figma-pill {
  transition: transform 200ms ease, filter 200ms ease, opacity 200ms ease, border-color 200ms ease;
}

.footer-map:hover,
.footer-contacts a:hover {
  transform: translateY(-1px);
}

.quiz-section {
  padding: 80px 0 120px;
  background: var(--bg);
}

.quiz-frame.calculator-frame {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  padding: 0;
  color: var(--ink);
}

.marquiz-inline {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(30, 30, 30, 0.08);
  background: #ffffff;
}

.quiz-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: 36px;
  line-height: 1.16;
}

@media (max-width: 900px) {
  .quiz-title {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .marquiz-inline {
    min-height: 480px;
  }
}

@media (max-width: 700px) {
  .quiz-section {
    padding: 0 0 80px;
  }

  .marquiz-inline {
    min-height: 420px;
  }
}

@media (hover: none) {
  .scenario-card:hover img,
  .engineering-card:hover img,
  .case-card:hover img,
  .process-card:hover img,
  .equipment-card:hover img,
  .control-row:hover .control-media img {
    transform: none;
  }

  .scenario-card:not(.is-active-card),
  .engineering-card:not(.is-active-card) {
    opacity: 1;
  }
}

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

  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .motion-parallax,
  .scenario-card img,
  .engineering-card img,
  .case-card img,
  .process-card img,
  .equipment-card img,
  .control-media img,
  .designers-stage img,
  .calculator-bg,
  .footer-bg {
    transform: none !important;
  }
}
