:root {
  color-scheme: dark;
  --bg: #10131a;
  --bg-2: #151a23;
  --panel: #1b212c;
  --panel-2: #232b38;
  --text: #f2f6fb;
  --muted: #aab4c3;
  --line: #334052;
  --cyan: #28d7e9;
  --blue: #1686ff;
  --jade: #29df91;
  --amber: #f7b84b;
  --violet: #8b5cf6;
  --ink: #091018;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.hero {
  min-height: 78vh;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(40, 215, 233, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(247, 184, 75, 0.11), transparent 38%),
    linear-gradient(180deg, #171c25 0%, #10131a 100%);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
}

.brand img {
  border-radius: 9px;
}

.nav-links {
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.footer a,
.source-grid a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.source-grid a:hover,
.source-grid a:focus-visible {
  color: var(--text);
}

.hero-stage {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.hero-mark {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 22px;
  width: min(48vw, 520px);
  height: auto;
  opacity: 0.58;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.5));
}

.hero-copy,
.signal-list {
  position: relative;
  z-index: 1;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 6vw, 74px);
  white-space: nowrap;
}

h2 {
  max-width: 880px;
  font-size: clamp(30px, 4.6vw, 50px);
}

h3 {
  font-size: 19px;
}

.lede {
  margin: 22px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
}

.actions,
.signal-list,
.flow,
.command-grid,
.release-grid,
.source-grid {
  display: flex;
  flex-wrap: wrap;
}

.actions {
  margin-top: 32px;
  gap: 12px;
}

.button {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
}

.button.primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 760;
}

.button.subtle {
  color: var(--muted);
}

.signal-list {
  max-width: 920px;
  margin: 54px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.signal-list li,
article,
.source-grid a,
.flow span,
.command-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 33, 44, 0.88);
}

.signal-list li {
  min-width: 220px;
  padding: 14px 16px;
}

.signal-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-head,
.showcase,
.tiles,
.flow,
.table-wrap,
.narrow,
.command-grid,
.release-grid,
.roadmap,
.source-notes,
.source-grid {
  width: min(1080px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 30px;
}

.section-head p,
article p,
.narrow,
.roadmap {
  color: var(--muted);
}

.section-head > p:last-child {
  max-width: 760px;
  margin-top: 18px;
  font-size: 17px;
}

.showcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 26px; align-items: center; padding: 0; border: 0; background: transparent; }
.showcase + .showcase { margin-top: 34px; }
.showcase.reverse { grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr); }
.showcase.reverse .shot { order: 2; }
.shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1169; object-fit: cover; }
.shot figcaption { padding: 11px 14px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.showcopy { min-width: 0; }
.showcopy p, .showcopy li { color: var(--muted); }
.showcopy ul { margin: 18px 0 0; padding-left: 20px; }

.flow {
  gap: 10px;
  margin-bottom: 26px;
}

.flow span {
  padding: 10px 12px;
  color: var(--text);
  font-size: 13px;
}

.flow span:nth-child(2n) {
  border-color: rgba(40, 215, 233, 0.55);
}

.flow span:nth-child(3n) {
  border-color: rgba(41, 223, 145, 0.55);
}

.tiles {
  display: grid;
  gap: 16px;
}

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

article {
  padding: 22px;
}

article p {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.matrix th,
.matrix td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.matrix tbody tr:last-child td {
  border-bottom: 0;
}

.matrix thead {
  background: var(--panel-2);
}

.command-grid,
.release-grid,
.source-grid {
  gap: 16px;
}

.command-grid > div,
.release-grid article {
  flex: 1 1 330px;
  min-width: 0;
}

.command-grid > div {
  padding: 18px;
}

.command-grid p,
.release-grid p {
  margin-top: 0;
}

pre {
  margin: 0;
  padding: 16px;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 7px;
  background: #080b10;
  color: var(--jade);
}

.narrow {
  max-width: 780px;
  margin-top: 18px;
}

.roadmap {
  padding-left: 22px;
}

.roadmap li {
  margin: 12px 0;
}

.source-grid a {
  flex: 1 1 250px;
  padding: 15px 16px;
  color: var(--cyan);
}

.source-notes {
  margin-top: 18px;
  color: var(--muted);
}

.source-notes p {
  margin: 8px 0 0;
}

.footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    padding: 38px 0 50px;
  }

  .hero-mark {
    position: static;
    width: min(72vw, 330px);
    margin: 0 0 26px;
    opacity: 1;
  }

  .tiles.three {
    grid-template-columns: 1fr;
  }

  .showcase,
  .showcase.reverse {
    grid-template-columns: 1fr;
  }

  .showcase.reverse .shot {
    order: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 38px;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .signal-list li,
  .flow span {
    width: 100%;
  }

  .matrix {
    min-width: 100%;
    table-layout: auto;
  }

  .matrix th,
  .matrix td {
    padding: 10px 8px;
    font-size: 12px;
  }

  pre code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
