:root {
  color-scheme: light;
  --ink: #101622;
  --muted: #526174;
  --line: #d9e0ea;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --plum: #5a0041;
  --plum-deep: #300024;
  --gold: #f4b842;
  --teal: #007f78;
  --teal-soft: #e1f5f2;
  --blue: #2d5bff;
  --slate: #172033;
  --shadow: 0 18px 50px rgba(24, 34, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button.dark {
  background: var(--slate);
  border-color: var(--slate);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 20px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(48, 0, 36, 0.96), rgba(48, 0, 36, 0.82) 52%, rgba(16, 22, 34, 0.72)),
    url("./qllm-logo.png") center right 8% / min(560px, 62vw) no-repeat,
    var(--plum-deep);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(244, 184, 66, 0.7);
  border-radius: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 80px;
  max-width: 900px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.hero-strip div {
  min-height: 94px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip strong {
  display: block;
  font-size: 26px;
  color: #fff;
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.section-head p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(16, 22, 34, 0.04);
}

.card.dark {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.55;
}

.card.dark p,
.card.dark li {
  color: #c9d2df;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.gold {
  background: #fff4d7;
  color: #805600;
}

.tag.blue {
  background: #e7ecff;
  color: var(--blue);
}

.model-card {
  display: grid;
  gap: 14px;
  min-height: 270px;
}

.model-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.model-card h3 {
  margin: 0;
  font-size: 24px;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.terminal {
  border-radius: 8px;
  background: #0e1524;
  color: #dfe7f3;
  padding: 22px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.metric-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-table th,
.metric-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.metric-table th {
  background: var(--wash);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.metric-table tr:last-child td {
  border-bottom: 0;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #fff8e6;
  padding: 18px 20px;
  border-radius: 8px;
  color: #4f3a00;
  line-height: 1.55;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price {
  font-size: 36px;
  font-weight: 900;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .nav-links,
  .nav-actions {
    justify-content: start;
    flex-wrap: wrap;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(48, 0, 36, 0.97), rgba(16, 22, 34, 0.86)),
      url("./qllm-logo.png") center 18% / min(420px, 78vw) no-repeat,
      var(--plum-deep);
  }

  .hero-inner {
    padding-top: 230px;
  }

  .hero-strip,
  .grid.four,
  .grid.three,
  .grid.two,
  .pricing,
  .split {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }
}

