:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #0b1120;
  color: #f8fafc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #0b1120;
}

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

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 17, 32, 0.94), rgba(11, 17, 32, 0.72) 45%, rgba(11, 17, 32, 0.9)),
    url("assets/loom-banner.svg") center / cover no-repeat;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.page-hero {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(11, 17, 32, 0.98), rgba(11, 17, 32, 0.76)),
    url("assets/loom-banner.svg") center / cover no-repeat;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: #cbd5e1;
  font-size: 15px;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a[aria-current="page"] {
  color: #38bdf8;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 72px 0 120px;
}

.page-heading {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 48px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  font-weight: 950;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #dbeafe;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: #e0f2fe;
  color: #082f49;
}

.button.secondary {
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.4);
}

.band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.band.contrast {
  width: 100%;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
  background: #101827;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

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

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
}

.runtime-grid,
.feature-list,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.architecture-flow > div {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.62);
}

.architecture-flow span,
.status-grid article > span {
  display: inline-flex;
  margin-bottom: 24px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.architecture-flow strong {
  display: block;
  margin-bottom: 14px;
  font-size: 21px;
}

article,
.feature-list > div {
  min-height: 214px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.74);
}

article span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #172554;
  color: #bfdbfe;
  font-weight: 900;
}

.status-grid article > span {
  width: auto;
  height: auto;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #172554;
}

h3 {
  margin: 26px 0 12px;
  font-size: 20px;
}

article p,
.feature-list p,
.architecture-flow p,
.note {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
}

.inline-link {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: #cbd5e1;
  line-height: 1.75;
}

pre {
  max-width: 760px;
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: #020617;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  color: #d1fae5;
}

.note {
  max-width: 760px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 48px 0 84px;
  }

  .runtime-grid,
  .feature-list,
  .architecture-flow,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}
