:root {
  color-scheme: dark;
  --ink: #f5fffb;
  --muted: #a8c9c1;
  --soft: #d7ebe4;
  --black: #020707;
  --panel: rgba(7, 25, 24, 0.78);
  --panel-strong: rgba(3, 12, 12, 0.88);
  --line: rgba(166, 255, 229, 0.22);
  --teal: #10e8d1;
  --emerald: #41ff8e;
  --copper: #f1a94e;
  --white: #ffffff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(16, 232, 209, 0.08), transparent 38%),
    linear-gradient(245deg, rgba(241, 169, 78, 0.09), transparent 42%),
    #020707;
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

a {
  color: inherit;
}

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

.network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.72;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  background: rgba(2, 7, 7, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: var(--black);
  background: linear-gradient(135deg, var(--teal), var(--emerald) 55%, var(--copper));
  font-weight: 900;
}

.brand-mark strong,
.brand-mark small {
  display: block;
  line-height: 1;
}

.brand-mark strong {
  font-size: 1rem;
}

.brand-mark small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(16, 232, 209, 0.12);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: 132px max(24px, calc((100vw - 1120px) / 2)) 64px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  animation: image-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 7, 7, 0.92), rgba(2, 7, 7, 0.62) 42%, rgba(2, 7, 7, 0.12)),
    linear-gradient(to top, #020707 0%, rgba(2, 7, 7, 0.18) 28%, transparent 55%);
}

.hero-content {
  width: min(690px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: 4.6rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 1.22rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #021111;
  background: linear-gradient(135deg, var(--teal), var(--emerald) 65%, var(--copper));
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-meter {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  width: min(520px, calc(100% - 48px));
}

.hero-meter span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 232, 209, 0.28);
  border-radius: 6px;
  background: rgba(2, 7, 7, 0.58);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
}

.section {
  position: relative;
  padding: 96px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 36px;
}

.section-heading h2 + p,
.copy-stack p,
.flow-shell p,
.signal-card p,
.value-card p,
.contact-card p,
.legal-panel p,
.legal-panel li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

.signal-card,
.value-card,
.contact-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.signal-card {
  position: relative;
}

.signal-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent, var(--copper));
  transform-origin: left;
  animation: scan-line 3.2s ease-in-out infinite;
}

.signal-index {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--copper);
  font-weight: 900;
}

.dark-band {
  background:
    linear-gradient(90deg, rgba(16, 232, 209, 0.12), transparent 34%, rgba(241, 169, 78, 0.1)),
    rgba(1, 10, 10, 0.86);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.deployment-steps {
  counter-reset: steps;
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.deployment-steps li {
  counter-increment: steps;
  position: relative;
  min-height: 112px;
  padding: 22px 22px 22px 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.deployment-steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 24px;
  color: var(--teal);
  font-weight: 900;
}

.deployment-steps span {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 900;
}

.deployment-steps p {
  margin: 0;
}

.cta-band {
  min-height: 340px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
}

.cta-band h2 {
  width: min(820px, 100%);
}

.page-hero {
  min-height: 76svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 56px;
  padding: 148px max(24px, calc((100vw - 1120px) / 2)) 72px;
  background:
    linear-gradient(135deg, rgba(16, 232, 209, 0.13), transparent 34%),
    linear-gradient(230deg, rgba(241, 169, 78, 0.12), transparent 40%);
}

.page-hero-copy {
  width: min(780px, 100%);
}

.page-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--soft);
  font-size: 1.14rem;
  line-height: 1.75;
}

.holo-panel {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(16, 232, 209, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent),
    repeating-linear-gradient(0deg, rgba(16, 232, 209, 0.12) 0 1px, transparent 1px 18px),
    rgba(3, 18, 18, 0.68);
  box-shadow: inset 0 0 60px rgba(16, 232, 209, 0.12), 0 32px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.holo-panel span {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(65, 255, 142, 0.28);
  border-radius: 6px;
  animation: orbit-square 8s linear infinite;
}

.holo-panel span:nth-child(2) {
  inset: 26%;
  animation-duration: 11s;
  animation-direction: reverse;
  border-color: rgba(241, 169, 78, 0.34);
}

.holo-panel span:nth-child(3) {
  inset: 40%;
  animation-duration: 5s;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 56px;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p {
  margin: 0;
}

.values-section {
  padding-top: 42px;
}

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

.value-card {
  min-height: 210px;
}

.contact-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.contact-orbit {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.contact-orbit strong {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--copper));
  color: var(--black);
  font-size: 1.8rem;
  box-shadow: 0 0 60px rgba(16, 232, 209, 0.34);
}

.contact-orbit span {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(16, 232, 209, 0.32);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.contact-orbit span:nth-child(2) {
  inset: 24%;
  border-color: rgba(65, 255, 142, 0.32);
  animation-duration: 7s;
  animation-direction: reverse;
}

.contact-orbit span:nth-child(3) {
  inset: 36%;
  border-color: rgba(241, 169, 78, 0.4);
  animation-duration: 13s;
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  min-height: 184px;
}

.contact-card:hover,
.contact-card:focus-visible {
  outline: none;
  border-color: rgba(16, 232, 209, 0.62);
  transform: translateY(-3px);
}

.contact-card span {
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 1.18rem;
  line-height: 1.35;
}

.legal-hero {
  min-height: 58svh;
  grid-template-columns: 1fr;
}

.legal-section {
  padding-top: 52px;
}

.legal-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.legal-panel h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p {
  margin: 0 0 14px;
}

.legal-note {
  margin-top: 28px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem !important;
}

.preference-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 6px;
}

.legal-panel a,
.footer-links a {
  color: var(--teal);
  text-decoration: none;
}

.legal-panel a:hover,
.legal-panel a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px max(24px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(2, 7, 7, 0.92);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  width: min(1040px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(16, 232, 209, 0.34);
  border-radius: var(--radius);
  background: rgba(2, 7, 7, 0.94);
  box-shadow: 0 26px 110px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.cookie-banner p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 44px;
  white-space: nowrap;
}

.not-found {
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: 140px max(24px, calc((100vw - 1120px) / 2)) 72px;
}

.not-found-content {
  width: min(680px, 100%);
  min-width: 0;
}

.not-found-code {
  margin: 0 0 28px;
  color: var(--teal);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
}

.not-found-code span {
  color: var(--copper);
}

.not-found h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}

.not-found-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

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

@keyframes image-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05) translateX(-1%);
  }
}

@keyframes scan-line {
  0%,
  100% {
    transform: scaleX(0.24);
    opacity: 0.55;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes orbit-square {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 920px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .signal-grid,
  .value-grid,
  .contact-grid,
  .flow-shell,
  .page-hero,
  .split-section,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .hero-meter {
    position: static;
    margin-top: 44px;
  }

  .page-hero {
    min-height: auto;
  }

  .holo-panel,
  .contact-orbit {
    width: min(360px, 100%);
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 8px;
    background: rgba(2, 7, 7, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 122px;
    padding-bottom: 44px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 7, 0.92), rgba(2, 7, 7, 0.42)),
      linear-gradient(to top, #020707 0%, rgba(2, 7, 7, 0.18) 36%, transparent);
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.7rem;
    line-height: 1.12;
  }

  .hero-copy,
  .page-hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

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

  .section,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .signal-card,
  .value-card,
  .contact-card {
    min-height: auto;
  }

  .deployment-steps li {
    padding-left: 22px;
    padding-top: 58px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: start;
  }

  .legal-panel {
    padding: 24px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 10px;
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
    overflow: auto;
  }

  .cookie-actions {
    justify-content: stretch;
  }
}

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

  .network-canvas {
    opacity: 0.28;
  }
}
