:root {
  color-scheme: dark;
  --ink: #07100d;
  --ink-2: #0d1714;
  --panel: #111f1b;
  --line: rgba(209, 229, 219, 0.16);
  --text: #f2f7f2;
  --muted: #aab9b1;
  --green: #36d28f;
  --green-2: #1aa66b;
  --amber: #f4b247;
  --blue: #45a6ff;
  --red: #ef6257;
  --violet: #b88cff;
  --cream: #f7f1e4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(7, 16, 13, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 13, 0.94);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(54, 210, 143, 0.55);
  background:
    linear-gradient(135deg, rgba(54, 210, 143, 0.22), rgba(244, 178, 71, 0.12)),
    #0d1714;
  color: var(--cream);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: rgba(54, 210, 143, 0.16);
  color: var(--text);
}

.header-action:hover,
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(54, 210, 143, 0.55);
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(88vh - 72px);
  overflow: hidden;
  background: #07100d;
}

.hero-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  opacity: 0.7;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.96) 0%, rgba(7, 16, 13, 0.82) 42%, rgba(7, 16, 13, 0.42) 72%, rgba(7, 16, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 16, 13, 0.3), rgba(7, 16, 13, 0.9));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(50px, 8vw, 86px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(4.2rem, 12vw, 10rem);
  line-height: 0.86;
}

.hero-subtitle {
  margin: 20px 0 0;
  color: var(--amber);
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  font-weight: 700;
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 0;
  color: #d8e3dc;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

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

.btn.primary {
  background: var(--green);
  color: #04110b;
  border-color: transparent;
  font-weight: 800;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(209, 229, 219, 0.18);
  background:
    linear-gradient(135deg, rgba(17, 31, 27, 0.92), rgba(12, 22, 20, 0.64)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(54, 210, 143, 0.22);
  pointer-events: none;
}

.cabinet-row {
  position: absolute;
  right: 8%;
  bottom: 14%;
  left: 8%;
  display: grid;
  grid-template-columns: 0.92fr 1.12fr 0.92fr 0.92fr;
  align-items: end;
  gap: 12px;
}

.cabinet {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 220px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(247, 241, 228, 0.22);
  background:
    linear-gradient(180deg, rgba(247, 241, 228, 0.09), rgba(247, 241, 228, 0.02)),
    #13231e;
}

.cabinet.tall {
  min-height: 292px;
}

.cabinet.instrument {
  min-height: 242px;
  background:
    radial-gradient(circle at 50% 30%, rgba(184, 140, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(247, 241, 228, 0.09), rgba(247, 241, 228, 0.02)),
    #13231e;
}

.gauge-face {
  position: relative;
  width: min(76px, 70%);
  aspect-ratio: 1;
  margin: 2px auto 12px;
  border: 2px solid rgba(184, 140, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 210, 143, 0.22) 0 4px, transparent 5px),
    conic-gradient(from 210deg, rgba(54, 210, 143, 0.9), rgba(244, 178, 71, 0.78), rgba(239, 98, 87, 0.58), transparent 0);
}

.gauge-face::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 32%;
  height: 2px;
  background: var(--amber);
  transform-origin: left center;
  transform: rotate(-34deg);
}

.gauge-face::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -12px;
  height: 8px;
  border: 1px solid rgba(184, 140, 255, 0.5);
  border-top: 0;
}

.gauge-face i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
}

.cabinet span {
  display: block;
  height: 18px;
  background: linear-gradient(90deg, rgba(54, 210, 143, 0.75), rgba(69, 166, 255, 0.2));
}

.cabinet b {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--cream);
  font-size: 1.05rem;
}

.signal-map {
  position: absolute;
  inset: 16% 6% auto auto;
  width: 58%;
  height: 38%;
  border-top: 2px solid rgba(244, 178, 71, 0.75);
  border-right: 2px solid rgba(54, 210, 143, 0.55);
}

.signal-map i {
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

.signal-map i:nth-child(1) { top: -6px; left: 10%; }
.signal-map i:nth-child(2) { top: -6px; left: 52%; animation-delay: 0.35s; }
.signal-map i:nth-child(3) { right: -6px; top: 38%; animation-delay: 0.7s; }
.signal-map i:nth-child(4) { right: -6px; bottom: 8%; animation-delay: 1s; }

@keyframes pulse {
  0%, 100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(244, 178, 71, 0.45); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(244, 178, 71, 0); }
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  color: #13201a;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
}

.intro-grid p {
  max-width: 780px;
  margin: 0;
  font-size: 1.04rem;
}

.metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.metric-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(19, 32, 26, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.section,
.split-section,
.contact-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(68px, 10vw, 118px) 0;
}

.section.muted {
  width: 100%;
  background: #0b1411;
}

.section.muted > * {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

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

.section-heading h2,
.industry-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.industry-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-direct a:hover {
  border-color: rgba(54, 210, 143, 0.55);
}

.contact-direct span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-direct strong {
  color: var(--cream);
  font-size: 1.02rem;
  word-break: break-word;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.solution-card,
.timeline-step,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.solution-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 24px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  background: rgba(54, 210, 143, 0.14);
  color: var(--green);
  border: 1px solid rgba(54, 210, 143, 0.28);
}

.icon-box.amber {
  background: rgba(244, 178, 71, 0.12);
  color: var(--amber);
  border-color: rgba(244, 178, 71, 0.28);
}

.icon-box.red {
  background: rgba(239, 98, 87, 0.12);
  color: var(--red);
  border-color: rgba(239, 98, 87, 0.26);
}

.icon-box.blue {
  background: rgba(69, 166, 255, 0.12);
  color: var(--blue);
  border-color: rgba(69, 166, 255, 0.26);
}

.icon-box.violet {
  background: rgba(184, 140, 255, 0.12);
  color: var(--violet);
  border-color: rgba(184, 140, 255, 0.28);
}

.solution-card h3,
.timeline-step h3 {
  margin: 0 0 12px;
  color: var(--cream);
  font-size: 1.28rem;
}

.solution-card p,
.timeline-step p {
  margin: 0;
  color: var(--muted);
}

.solution-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 24px 0 0;
  color: #d4ded8;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 18px;
}

.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 2px;
  background: var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  padding: clamp(72px, 11vw, 126px) 0;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.industry-list span {
  padding: 12px 14px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.045);
  color: #dce6df;
}

.system-board {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 440px;
  padding: 28px;
  border: 1px solid rgba(54, 210, 143, 0.24);
  background:
    linear-gradient(180deg, rgba(54, 210, 143, 0.06), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px),
    #0d1714;
  box-shadow: var(--shadow);
}

.board-layer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 13, 0.78);
  color: var(--cream);
  font-weight: 800;
}

.board-layer.mid {
  justify-content: space-around;
}

.board-layer.mid span {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid rgba(54, 210, 143, 0.36);
  background: rgba(54, 210, 143, 0.09);
}

.board-lines {
  position: absolute;
  inset: 88px 80px;
  border-left: 2px solid rgba(244, 178, 71, 0.48);
  border-right: 2px solid rgba(69, 166, 255, 0.42);
  pointer-events: none;
}

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

.timeline-step {
  padding: 24px;
  min-height: 260px;
}

.timeline-step span {
  display: block;
  margin-bottom: 46px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
  padding: clamp(72px, 11vw, 128px) 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce6df;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(209, 229, 219, 0.22);
  border-radius: 6px;
  padding: 10px 12px;
  background: #08120f;
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050b09;
}

.site-footer span:first-child {
  color: var(--cream);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    justify-self: end;
  }

  .hero-inner,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    grid-template-columns: 42px auto;
  }

  .brand-mark {
    width: 42px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .language-switcher {
    justify-self: end;
  }

  .language-switcher button {
    min-width: 34px;
    padding: 0 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section,
  .split-section,
  .contact-section {
    width: min(100% - 30px, var(--max));
  }

  .hero-inner {
    padding: 52px 0 34px;
  }

  .hero-panel {
    min-height: 300px;
  }

  .cabinet-row {
    left: 4%;
    right: 4%;
    gap: 6px;
  }

  .cabinet {
    min-height: 164px;
    padding: 14px 8px;
  }

  .cabinet.tall {
    min-height: 214px;
  }

  .cabinet.instrument {
    min-height: 184px;
  }

  .cabinet span {
    height: 14px;
  }

  .cabinet b {
    right: 8px;
    bottom: 9px;
    font-size: 0.82rem;
  }

  .gauge-face {
    width: min(48px, 78%);
    margin-bottom: 8px;
  }

  .intro-grid,
  .solution-grid,
  .timeline,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    justify-content: flex-start;
  }

  .solution-card,
  .timeline-step {
    min-height: auto;
  }
}
