:root {
  --bg: #020816;
  --bg-deep: #01040d;
  --surface: #071224;
  --surface-2: #0a1830;
  --surface-3: #0e1e38;
  --line: #23324a;
  --line-soft: #142239;
  --text: #f4fbff;
  --muted: #a8b6c8;
  --muted-2: #728198;
  --cyan: #00a9b5;
  --frost: #56dce7;
  --amber: #f2b84b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --content: 1200px;
  --header: 74px;
  --gutter: 28px;
  --radius: 8px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(2, 8, 22, 0.94), rgba(1, 4, 13, 1) 720px),
    linear-gradient(90deg, rgba(86, 220, 231, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(86, 220, 231, 0.035) 1px, transparent 1px),
    var(--bg-deep);
  background-size: auto, 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(86, 220, 231, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(0, 169, 181, 0.08), transparent 34%);
  opacity: 0.55;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

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

::selection {
  background: rgba(86, 220, 231, 0.24);
  color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 300;
  padding: 9px 12px;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(86, 220, 231, 0.16);
  background: rgba(2, 8, 22, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 176px;
}

.brand-logo {
  width: 176px;
  height: auto;
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.9;
}

.footer-logo {
  width: 190px;
  height: auto;
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.72;
}

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

.nav-links a,
.nav-action,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgba(86, 220, 231, 0.2);
  background: rgba(86, 220, 231, 0.06);
  color: var(--text);
}

.nav-action {
  border: 1px solid rgba(86, 220, 231, 0.45);
  border-radius: var(--radius);
  padding: 9px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  background: rgba(86, 220, 231, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-action:hover,
.nav-action:focus-visible {
  border-color: rgba(86, 220, 231, 0.8);
  background: rgba(86, 220, 231, 0.13);
}

main {
  position: relative;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 820px;
  padding: 116px 0 58px;
  border-bottom: 1px solid rgba(86, 220, 231, 0.16);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 4, 13, 0.98) 0%, rgba(1, 4, 13, 0.82) 37%, rgba(1, 4, 13, 0.42) 67%, rgba(1, 4, 13, 0.88) 100%),
    linear-gradient(180deg, rgba(1, 4, 13, 0.18) 0%, rgba(1, 4, 13, 0.76) 86%, rgba(1, 4, 13, 1) 100%),
    url("./image/hero-latent-space.png");
  background-position: center center;
  background-size: cover;
  opacity: 0.9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(86, 220, 231, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(86, 220, 231, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 72%);
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  min-height: 640px;
  grid-template-columns: minmax(0, 720px) minmax(260px, 360px);
  gap: 72px;
  align-items: end;
  justify-content: space-between;
}

.hero-copy {
  max-width: 720px;
  padding: 72px 0 42px;
}

.eyebrow,
.mono {
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

h1 {
  max-width: 650px;
  color: var(--text);
  font-size: 72px;
  font-weight: 640;
  line-height: 0.98;
}

h2 {
  max-width: 760px;
  color: var(--text);
  font-size: 46px;
  font-weight: 630;
  line-height: 1.08;
}

h3 {
  color: var(--text);
  font-size: 22px;
  font-weight: 620;
  line-height: 1.25;
}

.hero-lede {
  margin-top: 24px;
  max-width: 610px;
  color: #c9d6e6;
  font-size: 19px;
  line-height: 1.65;
}

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

.button {
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  border: 1px solid rgba(86, 220, 231, 0.75);
  background:
    linear-gradient(180deg, rgba(86, 220, 231, 0.24), rgba(0, 169, 181, 0.16)),
    #071624;
  color: var(--white);
  box-shadow: 0 14px 36px rgba(0, 169, 181, 0.16);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(7, 18, 36, 0.66);
  color: var(--text);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.hero-facts div {
  min-height: 96px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(2, 8, 22, 0.64);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  margin-bottom: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-facts dd {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.hero-readout {
  width: 100%;
  margin-bottom: 42px;
}

.hero-telemetry {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(2, 8, 22, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-telemetry div {
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-telemetry div:last-child {
  border-bottom: 0;
}

.metric-value {
  display: block;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.signal-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 18, 36, 0.72);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
  padding-bottom: 0;
}

.signal-grid > div {
  min-height: 170px;
  border-left: 1px solid var(--line-soft);
  padding: 24px 22px;
}

.signal-grid > div:last-child {
  border-right: 1px solid var(--line-soft);
}

.signal-grid strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}

.signal-grid p {
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.problem-section,
.products-section,
.compatibility-section,
.usecase-section,
.company-section {
  border-bottom: 1px solid var(--line-soft);
}

.platform-section,
.telemetry-section,
.security-section,
.resources-section,
.final-cta {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 18, 36, 0.48);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.64fr);
  gap: 56px;
  align-items: end;
}

.split-head > p,
.section-head > p,
.company-grid p,
.final-panel p {
  font-size: 17px;
  line-height: 1.72;
}

.section-head {
  max-width: 800px;
}

.section-head.align-left {
  max-width: 520px;
}

.section-head h2 + p,
.section-head p:last-child,
.split-head h2 + p {
  margin-top: 18px;
}

.diagnostic-table {
  width: calc(100% - (var(--gutter) * 2));
  margin-top: 42px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 8, 22, 0.44);
}

.table-row {
  display: grid;
  grid-template-columns: 1.08fr 1.16fr 0.9fr 1.16fr;
  border-top: 1px solid var(--line-soft);
}

.table-row:first-child {
  border-top: 0;
}

.table-row span {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.table-row span:last-child {
  border-right: 0;
  color: #c8f8fd;
}

.table-head span {
  background: rgba(10, 24, 48, 0.82);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.architecture-panel {
  display: grid;
  width: calc(100% - (var(--gutter) * 2));
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  margin-top: 42px;
  padding: 0;
  border: 1px solid rgba(86, 220, 231, 0.22);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.architecture-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.arch-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-soft);
  padding: 36px;
}

.arch-copy p {
  margin-top: 14px;
  font-size: 16px;
}

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

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(86, 220, 231, 0.72);
  background: rgba(86, 220, 231, 0.18);
}

.product-stack {
  display: grid;
  gap: 26px;
  margin-top: 42px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 18, 36, 0.74);
}

.product-card-reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.95fr);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 366px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-reverse img {
  order: 2;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-left: 1px solid var(--line-soft);
}

.product-card-reverse .product-copy {
  border-right: 1px solid var(--line-soft);
  border-left: 0;
}

.product-copy h3 {
  margin-top: 12px;
  font-size: 30px;
}

.product-copy p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
}

.capability-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.capability-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-top: 1px solid var(--line-soft);
}

.capability-list div:first-child {
  border-top: 0;
}

.capability-list dt,
.capability-list dd {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.capability-list dt {
  border-right: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.capability-list dd {
  color: var(--text);
}

.workflow-grid,
.metrics-grid,
.compatibility-grid,
.security-list,
.usecase-grid,
.resource-grid {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

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

.workflow-grid div,
.metrics-grid div,
.compatibility-grid div,
.security-list article,
.usecase-grid article,
.resource-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 18, 36, 0.68);
}

.workflow-grid div {
  min-height: 260px;
  padding: 22px;
}

.workflow-grid span {
  display: block;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.workflow-grid h3 {
  margin-top: 46px;
}

.workflow-grid p {
  margin-top: 14px;
  font-size: 14px;
}

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

.metrics-grid div {
  min-height: 210px;
  padding: 24px;
}

.metrics-grid strong {
  display: block;
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 42px;
  line-height: 1;
}

.metrics-grid span,
.compatibility-grid span,
.resource-grid span {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-weight: 750;
}

.metrics-grid p,
.compatibility-grid p,
.security-list p,
.usecase-grid p,
.resource-grid p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

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

.compatibility-grid div {
  min-height: 190px;
  padding: 24px;
}

.compatibility-grid span {
  margin-top: 0;
  font-size: 20px;
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.security-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.security-list article,
.usecase-grid article,
.resource-grid article {
  padding: 24px;
}

.security-list h3,
.usecase-grid h3,
.resource-grid h3 {
  font-size: 20px;
}

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

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

.resource-grid article {
  min-height: 270px;
}

.resource-grid span {
  margin-top: 0;
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.resource-grid h3 {
  margin-top: 44px;
}

.resource-grid a {
  display: inline-flex;
  margin-top: 22px;
  color: #d4fbff;
  font-size: 14px;
  font-weight: 750;
}

.resource-grid a:hover,
.resource-grid a:focus-visible {
  color: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 70px;
}

.company-grid p + p {
  margin-top: 20px;
}

.final-panel {
  overflow: hidden;
  border: 1px solid rgba(86, 220, 231, 0.28);
  border-radius: var(--radius);
  padding: 48px;
  background:
    linear-gradient(100deg, rgba(7, 18, 36, 0.98), rgba(10, 24, 48, 0.84)),
    var(--surface);
}

.final-panel h2 {
  margin-top: 10px;
}

.final-panel p {
  max-width: 700px;
  margin-top: 18px;
}

.final-panel .button {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid rgba(86, 220, 231, 0.14);
  background: #01040d;
  padding: 54px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 54px;
}

.footer-grid p {
  margin-top: 18px;
  font-size: 14px;
}

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

.footer-links div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links strong {
  color: var(--text);
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--frost);
}

@media (max-width: 1080px) {
  .hero-grid,
  .architecture-panel,
  .product-card,
  .product-card-reverse,
  .security-grid,
  .company-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .hero-readout {
    max-width: 520px;
    margin-bottom: 0;
  }

  h1 {
    max-width: 720px;
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .architecture-panel img,
  .product-card img {
    min-height: auto;
  }

  .arch-copy,
  .product-copy,
  .product-card-reverse .product-copy {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .product-card-reverse img {
    order: 0;
  }

  .workflow-grid,
  .metrics-grid,
  .compatibility-grid,
  .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-list,
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 66px;
    --gutter: 20px;
  }

  body {
    background-size: auto, 56px 56px, 56px 56px, auto;
  }

  .nav-shell {
    gap: 14px;
  }

  .brand {
    min-width: 148px;
  }

  .brand-logo {
    width: 148px;
  }

  .nav-links {
    display: none;
  }

  .nav-action {
    padding: 8px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 50px;
  }

  .hero::before {
    background-size: 56px 56px;
  }

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

  h1 {
    font-size: 46px;
    line-height: 1.04;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .split-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .signal-grid > div {
    min-height: 150px;
  }

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

  .table-row span:nth-child(2n) {
    border-right: 0;
  }

  .table-row span:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    gap: 28px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-facts,
  .workflow-grid,
  .metrics-grid,
  .compatibility-grid,
  .security-list,
  .usecase-grid,
  .resource-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .hero-telemetry div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-telemetry div:last-child {
    border-bottom: 0;
  }

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

  .signal-grid > div,
  .signal-grid > div:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .signal-grid > div:first-child {
    border-top: 0;
  }

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

  .table-row span,
  .table-row span:nth-child(2n) {
    border-right: 0;
  }

  .table-row span + span {
    border-top: 1px solid var(--line-soft);
  }

  .table-head {
    display: none;
  }

  .arch-copy,
  .product-copy,
  .final-panel {
    padding: 24px;
  }

  .product-copy h3 {
    font-size: 25px;
  }

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

  .capability-list dt {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow-grid div,
  .metrics-grid div,
  .compatibility-grid div,
  .security-list article,
  .usecase-grid article,
  .resource-grid article {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .container {
    --gutter: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .brand {
    min-width: 120px;
  }

  .brand-logo {
    width: 120px;
  }

  .nav-action {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
  }
}
