:root {
  --bg: #080a0c;
  --panel: #101419;
  --panel-strong: #151b22;
  --text: #f5f7fa;
  --muted: #a8b0b8;
  --quiet: #737d87;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --green: #39ff88;
  --blue: #66d9ff;
  --amber: #ffcb5b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(57, 255, 136, 0.08), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(102, 217, 255, 0.07), transparent 25%),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  margin-top: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 12, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  border-color: var(--line-strong);
  background: rgba(8, 10, 12, 0.92);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  width: 152px;
  height: 42px;
  overflow: hidden;
}

.brand img {
  width: 152px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.desktop-nav a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

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

.nav-cta,
.primary-action {
  border: 1px solid rgba(57, 255, 136, 0.36);
  color: #07100b;
  background: var(--green);
  box-shadow: 0 0 34px rgba(57, 255, 136, 0.17);
}

.nav-cta:hover,
.primary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 42px rgba(57, 255, 136, 0.24);
}

main {
  padding-bottom: 70px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.hero {
  min-height: calc(100vh - 104px);
  padding: 86px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.intro-band > p,
.ownership p,
.contact p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-lede {
  max-width: 660px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.hero-actions span {
  max-width: 310px;
  color: var(--quiet);
  font-size: 14px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 780;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-console {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
    rgba(16, 20, 25, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(57, 255, 136, 0.18) 45%, transparent 70%);
  transform: translateX(-80%);
  animation: scan 7s ease-in-out infinite;
  pointer-events: none;
}

.console-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 10, 12, 0.55);
}

.console-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--quiet);
}

.console-topbar span:first-child {
  background: var(--green);
}

.console-topbar p {
  margin: 0 0 0 auto;
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.console-grid {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.console-product {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.console-product.active {
  border-color: rgba(57, 255, 136, 0.45);
}

.console-product div,
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.console-product p {
  margin: 0 auto 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.console-product strong {
  display: block;
  margin-top: 18px;
  color: var(--quiet);
  font-size: 13px;
  text-transform: uppercase;
}

.metric {
  display: block;
  margin-top: 4px;
  font-size: 33px;
  font-weight: 780;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(57, 255, 136, 0.6);
}

.status-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 203, 91, 0.5);
}

.status-dot.blue {
  background: var(--blue);
  box-shadow: 0 0 16px rgba(102, 217, 255, 0.5);
}

.signal-board {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 12, 0.45);
}

.signal-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
}

.signal-row span {
  color: var(--muted);
  font-size: 13px;
}

.signal-row div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.signal-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.intro-band,
.ownership,
.contact {
  margin: 0 0 104px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
}

.intro-band p {
  margin: 0;
}

.products,
.ai-system,
.operating-model {
  padding: 8px 0 104px;
}

.section-heading {
  max-width: 720px;
}

.section-heading p {
  margin: 20px 0 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.product-card {
  position: relative;
  min-height: 362px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--blue));
  opacity: 0.7;
}

.product-card:hover,
.product-card.is-hovered {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(150deg, rgba(57, 255, 136, 0.1), rgba(102, 217, 255, 0.045)),
    var(--panel-strong);
}

.product-index {
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(57, 255, 136, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
}

.product-card h3 {
  margin-top: 42px;
}

.product-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.product-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.agent-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(102, 217, 255, 0.09), rgba(57, 255, 136, 0.035)),
    rgba(16, 20, 25, 0.76);
}

.agent-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(102, 217, 255, 0.32);
  border-radius: 50%;
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
}

.agent-card h3 {
  margin-top: 40px;
}

.agent-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 4px;
  }

  .desktop-nav a {
    padding: 0 10px;
    font-size: 13px;
  }

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

.principles {
  display: grid;
  gap: 12px;
}

.principles article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.principles span {
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.principles p {
  margin: 8px 0 0;
  color: var(--muted);
}

.ownership {
  padding: clamp(34px, 7vw, 82px);
  background:
    linear-gradient(135deg, rgba(255, 203, 91, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(16, 20, 25, 0.72);
}

.ownership-inner {
  max-width: 900px;
}

.ownership p {
  max-width: 780px;
  margin: 22px 0 0;
}

.contact {
  display: grid;
  justify-items: start;
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px);
}

.contact h2 {
  max-width: 720px;
}

.contact p {
  max-width: 690px;
  margin: 20px 0 30px;
}

.site-footer {
  margin: 0 0 40px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tagline {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
}

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

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

@keyframes scan {
  0%,
  55% {
    transform: translateX(-90%);
  }
  100% {
    transform: translateX(90%);
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav {
    display: none;
  }

  .section-grid,
  .intro-band,
  .product-grid,
  .agent-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .product-console {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    min-height: 64px;
    gap: 10px;
    padding: 9px;
    border-radius: 16px;
  }

  .brand {
    width: 126px;
    height: 36px;
  }

  .brand img {
    width: 126px;
    height: 36px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(40px, 12.5vw, 58px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.04;
  }

  h3 {
    font-size: 23px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .hero {
    padding-bottom: 44px;
  }

  .hero-lede,
  .section-heading p,
  .intro-band > p,
  .ownership p,
  .contact p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions span {
    max-width: 100%;
  }

  .product-console {
    padding: 10px;
    border-radius: 20px;
  }

  .console-product,
  .signal-board,
  .principles article,
  .product-card,
  .agent-card {
    border-radius: 16px;
  }

  .console-topbar p {
    font-size: 10px;
    letter-spacing: 0;
  }

  .metric {
    font-size: 27px;
  }

  .signal-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .intro-band,
  .ownership,
  .contact {
    margin-bottom: 72px;
    border-radius: 20px;
    padding: 24px;
  }

  .products,
  .ai-system,
  .operating-model {
    padding-bottom: 72px;
  }

  .product-card {
    min-height: auto;
    padding: 22px;
  }

  .agent-card {
    min-height: auto;
    padding: 20px;
  }

  .agent-card h3 {
    margin-top: 28px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
  }

  .site-header {
    top: 8px;
    min-height: 58px;
    padding: 8px;
  }

  .brand {
    width: 112px;
    height: 32px;
  }

  .brand img {
    width: 112px;
    height: 32px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 52px;
  }

  .primary-action {
    width: 100%;
    min-height: 50px;
  }

  .console-product {
    padding: 15px;
  }

  .metric {
    font-size: 24px;
  }

  .product-card ul {
    gap: 6px;
  }

  .product-card li {
    padding: 7px 9px;
    font-size: 12px;
  }
}

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