:root {
  color-scheme: dark;
  --bg: #0b0d0f;
  --panel: #13171a;
  --panel-soft: #171c20;
  --text: #f1f4f2;
  --muted: #98a3a0;
  --line: #242b2f;
  --line-soft: #1c2226;
  --ling: #1673ff;
  --nvidia: #76b900;
  --claw: #ff5f45;
  --hf: #ffd21e;
  --max: 1100px;
}

* { 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;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.2em; }
img { display: block; }
code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0e1214;
  font: 500 0.86em ui-monospace, SFMono-Regular, Menlo, monospace;
}

.spectrum {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--ling) 0 25%,
    var(--nvidia) 25% 50%,
    var(--claw) 50% 75%,
    var(--hf) 75% 100%
  );
}

main { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-dots { display: inline-flex; gap: 3px; }
.brand-dots i { width: 6px; height: 6px; border-radius: 2px; }
.brand-dots i:nth-child(1) { background: var(--ling); }
.brand-dots i:nth-child(2) { background: var(--nvidia); }
.brand-dots i:nth-child(3) { background: var(--claw); }
.brand-dots i:nth-child(4) { background: var(--hf); }
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 0.9rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero {
  padding: 96px 0 88px;
  max-width: 860px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.lede { margin: 0; max-width: 620px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
}
.button:hover { border-color: var(--muted); }
.button.primary { background: var(--text); color: #0b0d0f; border-color: var(--text); }

section:not(.hero) { padding: 84px 0; border-top: 1px solid var(--line); }
section[id] { scroll-margin-top: 24px; }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }

/* Brand tones ------------------------------------------------------------ */
.tone-ling { --tone: #4f92ff; --tone-rule: var(--ling); }
.tone-nvidia { --tone: #9ede3c; --tone-rule: var(--nvidia); }
.tone-claw { --tone: #ff7d63; --tone-rule: var(--claw); }
.tone-hf { --tone: #ffd75e; --tone-rule: var(--hf); }

.brand-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.brand-row li {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--tone-rule);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 0.15s ease;
}
.brand-row li:hover { border-color: var(--line-soft); border-top-color: var(--tone-rule); }
.logo { display: flex; align-items: center; height: 42px; margin-bottom: 16px; }
.logo img { width: auto; max-height: 42px; }
.logo img.logo-wide { max-height: 20px; max-width: 140px; }
.brand-name { margin: 0 0 2px; font-weight: 700; letter-spacing: -0.02em; }
.brand-role { margin: 0; color: var(--muted); font-size: 0.9rem; }

.flow-grid, .model-grid, .credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.flow-grid article {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.flow-grid .step {
  display: block;
  margin-bottom: 30px;
  color: var(--muted);
  font: 600 0.78rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
.flow-grid p { margin-bottom: 18px; color: var(--muted); }
.chip {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 999px;
  color: var(--tone);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.chip-ling { --tone: #4f92ff; border-color: rgba(22, 115, 255, 0.5); }
.chip-nvidia { --tone: #9ede3c; border-color: rgba(118, 185, 0, 0.5); }
.chip-claw { --tone: #ff7d63; border-color: rgba(255, 95, 69, 0.5); }
.chip-hf { --tone: #ffd75e; border-color: rgba(255, 210, 30, 0.45); }

.model-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--tone-rule);
  border-radius: 14px;
  background: var(--panel);
}
.tag {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--tone);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.model-card p { margin: 0; color: var(--muted); }
.model-card dl { margin: 26px 0 0; }
.model-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}
.model-card dt { color: var(--muted); }
.model-card dd { margin: 0; font-weight: 650; }

.demo { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.demo-copy { color: var(--muted); font-size: 1.06rem; }
.demo-copy p:first-child { margin-top: 0; }
.demo-copy a { color: var(--text); font-weight: 650; text-decoration: none; }
.demo-copy a:hover { text-decoration: underline; }
.boundary {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}
.boundary li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.boundary strong { color: var(--text); }

.credit { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.credit header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--tone-rule);
}
.credit header img { width: auto; max-height: 32px; }
.credit header img.logo-wide { max-height: 17px; max-width: 140px; }
.credit header img.logo-tall { max-height: 32px; }
.credit h3 { margin: 0; font-size: 1.08rem; }
.credit header p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.credit ul { margin: 0; padding: 0; list-style: none; }
.credit li {
  position: relative;
  padding: 0 0 12px 18px;
  color: var(--muted);
  font-size: 0.97rem;
}
.credit li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--tone-rule);
}
.credit-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 0; font-size: 0.92rem; }
.credit-links a { color: var(--tone); font-weight: 650; text-decoration: none; }
.credit-links a:hover { text-decoration: underline; }

.notes { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.notes h3 { font-size: 1.05rem; letter-spacing: -0.02em; }
.notes ul { margin: 0; padding: 0; list-style: none; max-width: 840px; }
.notes li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}
.notes strong { color: var(--text); font-weight: 650; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.checklist li::before { content: "✓"; margin-right: 12px; color: var(--muted); }
.proof-links { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0 0; font-weight: 650; }
.proof-links a { text-decoration: none; }
.proof-links a:hover { text-decoration: underline; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  padding: 40px 0 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
}
footer p { margin: 0; max-width: 680px; }
footer a { text-decoration: none; white-space: nowrap; }
footer a:hover { color: var(--text); }

@media (max-width: 940px) {
  .hero { padding: 72px 0 64px; }
  .brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  main { padding: 0 18px; }
  nav { flex-wrap: wrap; padding: 14px 0; row-gap: 8px; }
  .flow-grid, .model-grid, .credit-grid, .checklist { grid-template-columns: 1fr; gap: 14px; }
  section:not(.hero) { padding: 62px 0; }
  footer { flex-direction: column; }
}
@media (max-width: 520px) {
  .brand-row { grid-template-columns: 1fr; }
}
