:root {
  color-scheme: light;
  --ink: #141816;
  --muted: #58635d;
  --soft: #edf2ef;
  --line: #d7e0da;
  --paper: #f8faf6;
  --surface: #ffffff;
  --dark: #18221d;
  --green: #23735b;
  --blue: #255f8f;
  --amber: #b06b1f;
  --shadow: 0 24px 70px rgba(20, 24, 22, 0.11);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(248, 250, 246, 0.94)),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

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

.brand {
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 9vw, 112px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 88px);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6.5vw, 84px);
}

.lead {
  color: var(--muted);
  max-width: 760px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

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

.command-box {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-top: 34px;
  padding: 16px 18px;
  border: 1px solid rgba(35, 115, 91, 0.28);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(20, 24, 22, 0.08);
}

.command-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.command-box code,
pre {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.6;
}

.artifact {
  border: 1px solid rgba(24, 34, 29, 0.16);
  border-radius: 8px;
  background: var(--dark);
  padding: 20px;
  box-shadow: var(--shadow);
}

.artifact-bar {
  width: 100%;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
}

.artifact-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
}

.artifact-row.strong {
  color: #ffffff;
  font-weight: 760;
  background: rgba(255, 255, 255, 0.11);
}

.artifact-row.accent {
  color: #ffe0b8;
  border-color: rgba(255, 194, 116, 0.38);
  background: rgba(176, 107, 31, 0.24);
}

.band {
  padding: 78px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.observability {
  background: #ffffff;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  max-width: 860px;
  font-size: 18px;
  line-height: 1.65;
}

.model-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.model-card,
.install-grid > div,
.skill-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.model-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.model-card span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 760;
}

.model-card h3,
.install-grid h3,
.skill-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.model-card p,
.skill-card p,
.copy-block p {
  color: var(--muted);
  line-height: 1.65;
}

.metrics-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metrics-list li {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(37, 95, 143, 0.18);
  border-radius: 8px;
  background: #f6f9fb;
  color: #24435a;
  font-weight: 680;
  line-height: 1.35;
}

pre {
  margin: 0;
  padding: 16px;
  border-radius: 6px;
  background: #18221d;
  color: #eef7f0;
  font-size: 13px;
}

.skill-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .model-grid,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  nav {
    gap: 12px;
  }

  .model-grid,
  .skills-grid,
  .metrics-list {
    grid-template-columns: 1fr;
  }

  .band {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
