:root {
  color-scheme: dark;
  --ink: #06110d;
  --ink-2: #0c2119;
  --paper: #f6f8ef;
  --muted: #9bb2a4;
  --line: rgba(246, 248, 239, 0.16);
  --green: #19c37d;
  --green-2: #0ba66f;
  --blue: #48b9ff;
  --coral: #ff6b4a;
  --chartreuse: #e4d25b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(246, 248, 239, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(246, 248, 239, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 13, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: min(240px, 48vw);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(25, 195, 125, 0.1);
  color: var(--paper);
  outline: none;
}

.section,
.section-band {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.section-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(25, 195, 125, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(255, 107, 74, 0.08), transparent 34%),
    rgba(12, 33, 25, 0.54);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 8vw, 7.6rem);
}

h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.28rem;
}

.hero-dek,
.section-heading p {
  color: #cfe0d5;
  font-size: 1.13rem;
}

.hero-dek {
  max-width: 700px;
  margin: 24px 0 0;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(246, 248, 239, 0.28);
  background: rgba(246, 248, 239, 0.06);
  color: var(--paper);
}

.source-note {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border: 1px solid rgba(246, 248, 239, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.metrics div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 17, 13, 0.9);
  padding: 24px;
}

.metric-value {
  color: var(--paper);
  font-size: 2rem;
  font-weight: 900;
}

.metric-label {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  margin-bottom: 36px;
}

.feature-grid,
.model-grid,
.lane-grid,
.resource-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.model-card,
.lane-card,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 33, 25, 0.7);
}

.feature-card,
.model-card,
.lane-card {
  padding: 24px;
}

.feature-card {
  min-height: 230px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--coral);
  font-weight: 900;
}

.feature-card p,
.model-card p,
.lane-card p,
.faq p {
  color: #c8d9cf;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(246, 248, 239, 0.2);
  border-radius: 6px;
  background: rgba(246, 248, 239, 0.04);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--green);
  background: rgba(25, 195, 125, 0.14);
  outline: none;
}

.results-count {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 700;
}

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

.model-card {
  min-height: 420px;
}

.model-card[hidden] {
  display: none;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.model-list li {
  border: 1px solid rgba(246, 248, 239, 0.16);
  border-radius: 6px;
  padding: 7px 10px;
  color: #eff7f1;
  background: rgba(6, 17, 13, 0.54);
  font-size: 0.9rem;
  font-weight: 700;
}

.deployment {
  border-bottom: 1px solid var(--line);
}

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

.lane-card {
  min-height: 210px;
  border-top: 4px solid var(--green);
}

.lane-card:nth-child(2) {
  border-top-color: var(--blue);
}

.lane-card:nth-child(3) {
  border-top-color: var(--coral);
}

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

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(6, 17, 13, 0.78);
}

caption {
  padding: 16px;
  color: var(--muted);
  text-align: left;
  font-weight: 800;
}

th,
td {
  padding: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}

thead th {
  color: var(--green);
  font-size: 0.82rem;
  text-transform: uppercase;
}

tbody th {
  color: var(--paper);
}

td {
  color: #d7e7de;
  font-variant-numeric: tabular-nums;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green);
  font-weight: 900;
}

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

.resource-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  text-decoration: none;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: var(--green);
  outline: none;
}

.resource-card span {
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-card strong {
  font-size: 1.28rem;
  line-height: 1.12;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 17, 13, 0.72);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--paper);
  font-weight: 900;
}

summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 54px;
  height: 54px;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

.site-footer a {
  margin-left: auto;
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    align-self: auto;
  }

  .metrics,
  .feature-grid,
  .model-grid,
  .lane-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand {
    width: min(230px, 74vw);
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .metrics,
  .feature-grid,
  .model-grid,
  .lane-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: 108px;
  }

  .model-card {
    min-height: auto;
  }

  .card-topline,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer a {
    margin-left: 0;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
