:root {
  --bg: #fafafa;
  --bg-alt: #f2f2f6;
  --surface: #ffffff;
  --border: #e6e6ee;
  --text: #16161f;
  --text-muted: #6b6b7d;
  --text-faint: #9c9cae;
  --accent: #6366f1;
  --accent-soft: #e6e5fd;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 20, 40, 0.08);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --maxw: 880px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: 1.3rem; margin-bottom: 0.9em; }
h3 { font-size: 1.15rem; margin-bottom: 0.5em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--text-muted); }
.small { font-size: 0.88rem; }

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

.topnav {
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.hero { padding: 72px 0 48px; }
.hero .lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.section { padding: 24px 0 72px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.model-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.model-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.model-card .tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.model-card h3 { margin-bottom: 0.3em; }
.model-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

.model-card-cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.more-note { margin-top: 20px; }

@media (max-width: 560px) {
  .hero { padding-top: 48px; }
}
