:root {
  color-scheme: dark;
  --ink: #f0f4ef;
  --muted: #9aa89f;
  --line: rgba(222, 236, 226, 0.16);
  --accent: #9fe0b5;
  --background: #0b110e;
  --panel: #111a15;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(72, 121, 88, 0.16), transparent 34rem),
    var(--background);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark {
  display: inline-flex;
  align-items: flex-end;
  width: 22px;
  height: 24px;
}

.mark span {
  display: block;
  width: 2px;
  height: 21px;
  background: var(--accent);
  transform-origin: bottom;
}

.mark span:first-child {
  transform: rotate(-42deg) translate(6px, -1px);
}

.mark span:nth-child(2) {
  height: 24px;
}

.mark span:last-child {
  transform: rotate(42deg) translate(-6px, -1px);
}

.status {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(159, 224, 181, 0.7);
}

.hero {
  display: grid;
  min-height: 650px;
  align-content: center;
  padding: 92px 0;
}

.eyebrow,
.number {
  margin: 0 0 24px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 8.6vw, 7.4rem);
  font-weight: 480;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.intro {
  max-width: 680px;
  margin: 44px 0 0;
  color: #bdc8c1;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.55;
}

.system {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: clamp(48px, 8vw, 120px);
  padding: 108px 0 124px;
  border-top: 1px solid var(--line);
}

.section-copy {
  align-self: start;
}

h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.capabilities {
  border-top: 1px solid var(--line);
}

.capabilities article {
  display: grid;
  grid-template-columns: 64px minmax(120px, 0.5fr) 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 31px 0 34px;
  border-bottom: 1px solid var(--line);
}

.number {
  margin: 0;
  color: var(--muted);
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 580;
}

.capabilities article > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 35px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer a {
  color: inherit;
  text-decoration-color: rgba(159, 224, 181, 0.55);
  text-underline-offset: 0.24em;
  transition: color 160ms ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

@media (max-width: 760px) {
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .masthead {
    min-height: 84px;
  }

  .status {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 590px;
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .intro {
    margin-top: 32px;
  }

  .system {
    grid-template-columns: 1fr;
    padding: 78px 0 86px;
  }

  .capabilities article {
    grid-template-columns: 42px 1fr;
  }

  .capabilities article > p:last-child {
    grid-column: 2;
  }

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

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