:root {
  --ink: #101716;
  --paper: #f3f6f4;
  --white: #ffffff;
  --mint: #32e69a;
  --green: #127a55;
  --yellow: #f2cd37;
  --coral: #ff654f;
  --line: #cbd5d1;
  --muted: #61706b;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  margin: 0;
}

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

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

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

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--mint);
  display: inline-flex;
  font-size: 0.75rem;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.hero {
  color: var(--white);
  height: min(82vh, 820px);
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  background-image: url("assets/hero-network.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
}

.hero-shade {
  background: rgba(8, 18, 16, 0.62);
}

.hero-brand {
  align-items: center;
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  left: max(24px, calc((100% - var(--content)) / 2));
  position: absolute;
  top: 28px;
  z-index: 3;
}

.language-switch {
  display: flex;
  gap: 14px;
  position: absolute;
  right: max(24px, calc((100% - var(--content)) / 2));
  top: 34px;
  z-index: 3;
}

.language-switch a {
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
  padding-bottom: 3px;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.active {
  border-color: var(--mint);
  color: #fff;
}

.hero-content {
  left: max(24px, calc((100% - var(--content)) / 2));
  max-width: 760px;
  position: absolute;
  top: 50%;
  transform: translateY(-44%);
  z-index: 2;
}

.eyebrow {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 6rem;
  line-height: 0.92;
  margin: 0;
}

.hero-lead {
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 28px 0 34px;
  max-width: 680px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 24px;
  justify-content: space-between;
  min-height: 50px;
  padding: 14px 18px;
}

.button-primary {
  background: var(--mint);
  color: var(--ink);
}

.button-light {
  background: var(--white);
  color: var(--ink);
  min-width: 230px;
}

.button:hover {
  background: var(--yellow);
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
  padding-bottom: 4px;
}

.hero-index {
  align-items: center;
  bottom: 24px;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 14px;
  left: max(24px, calc((100% - var(--content)) / 2));
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.hero-index span:first-child {
  color: var(--mint);
}

.signal-strip {
  background: var(--yellow);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}

.signal-track {
  animation: ticker 24s linear infinite;
  display: inline-flex;
  font-size: 0.77rem;
  font-weight: 900;
  gap: 28px;
  min-width: max-content;
  padding-left: 24px;
}

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

.section {
  margin: 0 auto;
  max-width: var(--content);
  padding: 110px 24px;
}

.section-label {
  border-top: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  padding-top: 12px;
  text-transform: uppercase;
}

.intro-copy {
  display: grid;
  gap: 70px;
  grid-template-columns: 1.2fr 0.8fr;
  margin: 54px 0 70px;
}

h2 {
  font-size: 4rem;
  line-height: 1;
  margin: 0;
}

.intro-copy p,
.product-heading p,
.comparison-head > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 8px 0 0;
}

.metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.metric {
  background: var(--white);
  min-height: 220px;
  padding: 28px;
}

.metric-accent {
  background: var(--coral);
}

.metric strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 62px;
}

.metric span {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  max-width: 150px;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
  padding: 110px max(24px, calc((100% - var(--content)) / 2));
}

.comparison-head {
  display: grid;
  gap: 80px;
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 66px;
}

.comparison-head > p {
  color: #aebbb6;
}

.price-board {
  border: 1px solid #3d4946;
  overflow-x: auto;
}

.board-row {
  align-items: stretch;
  border-bottom: 1px solid #3d4946;
  display: grid;
  grid-template-columns: 2.5fr repeat(5, 1fr);
  min-width: 840px;
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row > span {
  align-items: center;
  border-left: 1px solid #3d4946;
  display: flex;
  min-height: 74px;
  padding: 14px;
}

.board-row > span:first-child {
  border-left: 0;
  display: block;
}

.board-row small {
  color: #9badA7;
  display: block;
  margin-top: 6px;
}

.board-header {
  background: #202a28;
  font-size: 0.72rem;
  font-weight: 800;
}

.board-header > span {
  min-height: 48px;
}

.board-row .best {
  background: var(--mint);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.workflow-heading {
  margin: 54px 0 66px;
}

.steps {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  border-right: 1px solid var(--line);
  min-height: 300px;
  padding: 24px 26px 20px 0;
}

.step + .step {
  padding-left: 26px;
}

.step:last-child {
  border-right: 0;
}

.step > span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.step h3 {
  font-size: 1.4rem;
  margin: 100px 0 14px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.automation {
  background: var(--yellow);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 700px;
}

.automation-visual {
  align-items: center;
  display: flex;
  overflow: hidden;
  padding: 64px 40px 64px max(24px, calc((100vw - var(--content)) / 2));
}

.automation-map {
  aspect-ratio: 1 / 1;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 24px 24px 0 var(--coral);
  max-width: 560px;
  position: relative;
  width: 100%;
}

.map-core,
.map-node {
  align-items: center;
  display: flex;
  font-weight: 900;
  justify-content: center;
  position: absolute;
  z-index: 2;
}

.map-core {
  background: var(--mint);
  color: var(--ink);
  font-size: 2rem;
  height: 110px;
  left: calc(50% - 55px);
  top: calc(50% - 55px);
  width: 110px;
}

.map-node {
  background: var(--white);
  color: var(--ink);
  height: 54px;
  width: 54px;
}

.node-a { left: 10%; top: 14%; }
.node-b { right: 12%; top: 12%; }
.node-c { right: 8%; top: 62%; }
.node-d { bottom: 9%; left: 26%; }
.node-e { left: 7%; top: 53%; }

.map-line {
  background: #4d5c57;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: left center;
  width: 38%;
}

.line-a { transform: rotate(220deg); }
.line-b { transform: rotate(315deg); }
.line-c { transform: rotate(22deg); }
.line-d { transform: rotate(112deg); }
.line-e { transform: rotate(166deg); }

.capability-grid {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.capability-grid article {
  border-right: 1px solid var(--line);
  min-height: 300px;
  padding: 24px;
}

.capability-grid article:last-child {
  border-right: 0;
}

.capability-grid span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
}

.capability-grid h3 {
  font-size: 1.5rem;
  margin: 90px 0 16px;
}

.capability-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.automation-copy {
  align-self: center;
  max-width: 560px;
  padding: 70px 40px 70px 70px;
}

.automation-copy .eyebrow {
  color: var(--ink);
}

.automation-copy p {
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 28px 0 36px;
}

.feature-list {
  border-top: 1px solid var(--ink);
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  border-bottom: 1px solid var(--ink);
  display: flex;
  font-size: 0.88rem;
  font-weight: 750;
  gap: 22px;
  padding: 18px 0;
}

.product-heading {
  display: grid;
  gap: 70px;
  grid-template-columns: 1.2fr 0.8fr;
  margin: 54px 0 66px;
}

.gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.3fr 0.7fr;
}

.shot {
  background: var(--white);
  border: 1px solid var(--line);
  margin: 0;
  overflow: hidden;
}

.shot-wide {
  grid-row: span 2;
}

.shot img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}

.shot-wide img {
  min-height: 620px;
}

.shot-status img {
  min-height: 260px;
  object-fit: contain;
  padding: 28px;
}

.shot figcaption {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 14px;
  padding: 16px;
}

.shot figcaption span {
  color: var(--mint);
}

.security-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: var(--content);
}

.security-points {
  border-top: 1px solid #3d4946;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.security-points article {
  border-bottom: 1px solid #3d4946;
  min-height: 210px;
  padding: 24px;
}

.security-points article:nth-child(odd) {
  border-right: 1px solid #3d4946;
}

.security-points b {
  color: var(--mint);
  font-size: 1.35rem;
}

.security-points p {
  color: #aebbb6;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 70px 0 0;
}

.cta {
  align-items: end;
  background: var(--coral);
  display: flex;
  justify-content: space-between;
  min-height: 520px;
  padding: 90px max(24px, calc((100% - var(--content)) / 2));
}

.cta .eyebrow {
  color: var(--ink);
}

.cta h2 {
  max-width: 800px;
}

footer {
  align-items: center;
  background: var(--paper);
  display: grid;
  font-size: 0.8rem;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: var(--content);
  padding: 42px 24px;
}

footer p:last-child {
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signal-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero-content {
    right: 24px;
  }

  h2 {
    font-size: 3rem;
  }

  .intro-copy,
  .comparison-head,
  .product-heading,
  .security-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .metrics,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:nth-child(2) {
    border-right: 0;
  }

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

  .automation-visual {
    padding-right: 24px;
  }

  .automation-copy {
    padding: 70px 24px;
  }

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

  .capability-grid article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 230px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .hero {
    height: 88vh;
    min-height: 650px;
  }

  .language-switch {
    right: 18px;
    top: 32px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .section,
  .section-dark {
    padding: 76px 18px;
  }

  h2 {
    font-size: 2.5rem;
  }

  .metrics,
  .steps,
  .security-points {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 180px;
  }

  .metric strong {
    margin-bottom: 44px;
  }

  .step,
  .step + .step {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 220px;
    padding: 24px 0;
  }

  .step h3 {
    margin-top: 60px;
  }

  .automation-visual {
    padding: 48px 18px 24px;
  }

  .automation-map {
    box-shadow: 12px 12px 0 var(--coral);
  }

  .security-points article:nth-child(odd) {
    border-right: 0;
  }

  .cta {
    min-height: 520px;
    padding: 70px 18px;
  }

  footer {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  footer p:last-child {
    text-align: left;
  }
}
