:root {
  color-scheme: light dark;
  --background: #f2f5f3;
  --foreground: #18201d;
  --surface: #ffffff;
  --muted: #e6ece8;
  --muted-foreground: #63716b;
  --border: #d2ddd7;
  --primary: #176d5b;
  --primary-strong: #0f594a;
  --primary-soft: #d7eee7;
  --accent: #c44551;
  --hero-ink: #f2fbf7;
  --focus: #176d5b;
  --radius: 7px;
  --font-sans: "Avenir Next", "Segoe UI", "Noto Sans", sans-serif;
  --font-display: "DIN Alternate", "Avenir Next Condensed", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 8px 28px rgba(12, 29, 23, 0.2);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  background: rgba(242, 245, 243, 0.94);
  background: color-mix(in srgb, var(--background) 94%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: var(--radius);
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

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

nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition-property: background-color, color, transform;
  transition-duration: 150ms;
}

nav a:hover {
  background: var(--muted);
  color: var(--foreground);
}

nav .nav-console {
  background: var(--primary);
  color: #ffffff;
}

nav .nav-console:hover {
  background: var(--primary-strong);
  color: #ffffff;
}

nav a:active,
.button:active,
.product:active {
  transform: scale(0.96);
}

.hero {
  position: relative;
  height: clamp(480px, calc(100svh - 154px), 720px);
  min-height: 480px;
  overflow: hidden;
  background: #0d1512;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-scrim {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(64%, 900px);
  background: rgba(7, 18, 14, 0.88);
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
  color: var(--hero-ink);
}

.eyebrow {
  margin: 0 0 10px;
  color: #76d7bf;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 600px;
  margin: 22px 0 0;
  color: #d3e6df;
  font-size: 24px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition-property: background-color, color, transform;
  transition-duration: 150ms;
}

.button-primary {
  background: #62c9ad;
  color: #09251d;
}

.button-primary:hover {
  background: #83d8c0;
}

.button-quiet {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.14);
}

.signal-band {
  background: #13201b;
  color: #e5f3ed;
}

.signal-grid {
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.signal-grid > div {
  min-width: 0;
  padding: 12px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

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

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  font-size: 15px;
}

.signal-grid span {
  color: #aabdb5;
  font-size: 13px;
}

.platform-band,
.ecosystem-band {
  padding: 90px 0;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 8vw, 118px);
  align-items: start;
}

.section-heading .eyebrow,
.console-copy .eyebrow {
  color: var(--primary);
}

.section-heading h2,
.console-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.console-copy > p {
  margin: 18px 0 0;
  color: var(--muted-foreground);
  font-size: 18px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.capability-list article:last-child {
  border-bottom: 1px solid var(--border);
}

.capability-index {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.capability-list h3 {
  margin: 0;
  font-size: 19px;
}

.capability-list p {
  margin: 6px 0 0;
  color: var(--muted-foreground);
}

.console-band {
  padding: 86px 0;
  background: var(--muted);
  border-block: 1px solid var(--border);
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  color: var(--primary);
  font-weight: 750;
}

.console-facts {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow:
    0 1px 1px rgba(10, 30, 22, 0.04),
    0 16px 44px rgba(10, 30, 22, 0.08);
}

.console-facts div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}

.console-facts div:first-child {
  border-top: 0;
}

.console-facts dt {
  color: var(--muted-foreground);
}

.console-facts dd {
  margin: 0;
  font-weight: 650;
}

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product {
  min-height: 92px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--foreground);
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px var(--border),
    0 8px 30px rgba(15, 35, 27, 0.04);
  transition-property: box-shadow, transform;
  transition-duration: 150ms;
}

.product:hover {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--primary) 58%, var(--border)),
    0 12px 34px rgba(15, 35, 27, 0.08);
}

.product-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #2e7d32;
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.math-mark {
  background: #2e7d32;
}

.matrix-mark {
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 2px;
  background: #38678c;
}

.matrix-mark i {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #ffffff;
}

.matrix-mark i:nth-child(even) {
  opacity: 0.65;
}

.product:nth-child(3) .product-mark {
  background: #8a5b34;
}

.product:nth-child(4) .product-mark {
  background: #76558f;
}

.product strong,
.product small {
  display: block;
}

.product small {
  margin-top: 2px;
  color: var(--muted-foreground);
  font-size: 13px;
}

footer {
  padding: 25px 0;
  background: var(--foreground);
  color: var(--background);
}

.footer-inner,
.footer-inner div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-inner {
  font-size: 14px;
}

@media (max-width: 780px) {
  .site-header {
    padding-inline: 14px;
  }

  nav a:not(.nav-console) {
    display: none;
  }

  .hero {
    height: calc(100svh - 156px);
    min-height: 410px;
  }

  .hero-media {
    object-position: 36% top;
  }

  .hero-scrim {
    width: 100%;
    background: rgba(7, 18, 14, 0.82);
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 58px;
  }

  .hero-summary {
    font-size: 19px;
  }

  .signal-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .signal-grid > div,
  .signal-grid > div:first-child {
    padding: 9px 0;
    border: 0;
  }

  .platform-band,
  .console-band,
  .ecosystem-band {
    padding-block: 56px;
  }

  .platform-layout,
  .console-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading h2,
  .console-copy h2 {
    font-size: 36px;
  }

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

@media (max-width: 420px) {
  .brand span {
    font-size: 17px;
  }

  nav a {
    padding-inline: 11px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .console-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1613;
    --foreground: #edf5f1;
    --surface: #18211d;
    --muted: #202b26;
    --muted-foreground: #a4b3ac;
    --border: #314038;
    --primary: #69cfb3;
    --primary-strong: #83dcc4;
    --primary-soft: #1c463b;
    --focus: #69cfb3;
  }

  .site-header {
    background: rgba(15, 22, 19, 0.94);
  }

  nav .nav-console {
    background: var(--primary);
    color: #082219;
  }

  nav .nav-console:hover {
    background: var(--primary-strong);
    color: #082219;
  }

  .product,
  .console-facts {
    box-shadow:
      inset 0 0 0 1px var(--border),
      0 12px 34px rgba(0, 0, 0, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
