:root {
    --bg: #f7f6f2;
    --surface: #ffffff;
    --tint: #efede6;
    --ink: #15171c;
    --ink-2: #3c4049;
    --muted: #6b6f78;
    --line: #e2dfd6;
    --accent: #12b76a;
    --accent-ink: #067a46;
    --accent-soft: #dcf5e8;
    --dark: #121418;
    --dark-2: #1c1f25;
    --dark-line: #2c3038;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 8px 24px -12px rgba(21, 23, 28, .12);
    --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.num { font-family: var(--mono); font-feature-settings: "tnum"; }
.t-right { text-align: right; }
.muted { color: var(--muted); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 18px; border-radius: 10px; border: 0;
    font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #0fa05c; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(247, 246, 242, .86);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 66px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -0.02em; color: var(--muted); }
.wordmark strong { color: var(--ink); font-weight: 800; }
.wordmark-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.wordmark-mark span { width: 6px; border-radius: 2px; background: var(--ink); }
.wordmark-mark span:nth-child(1) { height: 9px; }
.wordmark-mark span:nth-child(2) { height: 15px; }
.wordmark-mark span:nth-child(3) { height: 22px; background: var(--accent); }
.main-nav { display: flex; gap: 22px; margin-left: 12px; font-size: 15px; color: var(--ink-2); }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.link-quiet { font-weight: 500; color: var(--ink-2); }

/* Pulse dot */
.pulse {
    position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); flex: none;
}
.pulse::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--accent); opacity: .35;
}

/* Hero */
.hero { padding: 76px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
    padding: 6px 14px 6px 12px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.lede { margin-top: 20px; max-width: 560px; font-size: 18px; color: var(--ink-2); }
.search {
    display: flex; align-items: center; gap: 10px; margin-top: 32px; max-width: 580px;
    padding: 7px 7px 7px 16px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px var(--font); color: var(--ink); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.popular a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); }
.popular a:hover { border-color: var(--ink-2); }

.hero-card {
    padding: 24px; border-radius: 20px; background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-card-head { display: flex; align-items: center; gap: 12px; }
.hero-card-name { font-weight: 700; }
.hero-card-domain { font-size: 14px; color: var(--muted); }
.rank-chip {
    margin-left: auto; padding: 5px 10px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.score-ring {
    --p: 0;
    display: grid; justify-items: center; gap: 8px; margin: 26px auto 22px;
}
.score-ring > div {
    display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%;
    background:
        radial-gradient(closest-side, var(--surface) 80%, transparent 81%),
        conic-gradient(var(--accent) calc(var(--p) * 1%), var(--tint) 0);
    grid-auto-flow: column; align-content: center; justify-content: center;
}
.score-ring .num { font-size: 40px; font-weight: 600; }
.score-ring .of { font-size: 14px; color: var(--muted); align-self: end; padding-bottom: 10px; }
.score-ring p { font-size: 14px; font-weight: 500; color: var(--muted); }
.check-list li {
    display: flex; justify-content: space-between; gap: 16px; padding: 11px 0;
    border-top: 1px solid var(--line); font-size: 14px;
}
.check-list span { color: var(--muted); }
.check-list strong { font-weight: 600; text-align: right; }

/* Shared badges */
.mono-badge {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
    background: var(--c); color: #fff; font: 600 15px var(--mono);
}
.mono-badge.sm { width: 34px; height: 34px; border-radius: 9px; font-size: 12px; }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head.center { justify-content: center; text-align: center; }
.kicker { margin-bottom: 10px; font: 600 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; }
.section-note { max-width: 380px; font-size: 15px; color: var(--muted); }
.link-arrow { font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: " \2192"; }

/* Spotlight */
.rotation {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px; white-space: nowrap;
    padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
    font-size: 14px; color: var(--ink-2);
}
.rotation .num { font-weight: 600; color: var(--ink); }
.rotation .slots { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card {
    display: flex; flex-direction: column; gap: 14px; padding: 22px;
    border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-2px); border-color: #cfcbbf; }
.tool-card-top { display: flex; align-items: center; gap: 12px; }
.tool-id h3 { font-size: 18px; font-weight: 700; }
.domain { font-size: 14px; color: var(--muted); }
.slot-no { margin-left: auto; align-self: flex-start; font: 500 12px var(--mono); color: var(--muted); }
.tagline { font-size: 15px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 9px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.metrics { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 12px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.metrics dt { font-size: 12px; color: var(--muted); }
.metrics dd { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.bar { position: relative; flex: 1; height: 6px; border-radius: 99px; background: var(--tint); overflow: hidden; min-width: 40px; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--accent); }
.open-slots {
    grid-column: span 2;
    align-items: flex-start; justify-content: center;
    background: repeating-linear-gradient(-45deg, var(--bg), var(--bg) 10px, #f1efe8 10px, #f1efe8 20px);
    border: 1.5px dashed #c9c5b9; box-shadow: none;
}
.open-count { font-size: 44px; font-weight: 600; line-height: 1; }
.open-title { font-size: 18px; font-weight: 700; margin-top: -6px; }
.open-text { font-size: 15px; color: var(--ink-2); max-width: 300px; }

/* Ranking table */
.table-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.rank-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank-table th {
    padding: 13px 20px; text-align: left; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); background: #fbfaf7; border-bottom: 1px solid var(--line);
}
.rank-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); }
.rank-table tbody tr:last-child td { border-bottom: 0; }
.rank-table tbody tr:hover { background: #fbfaf7; }
.rank-table .rank { width: 48px; font-weight: 600; color: var(--muted); }
.cell-tool { display: flex; align-items: center; gap: 12px; }
.cell-tool strong { display: block; font-weight: 650; }
.cell-tool span:not(.mono-badge) { font-size: 13px; color: var(--muted); }
.cell-score { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.cell-score .num { font-weight: 600; width: 26px; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
    padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
    transition: border-color .15s ease, transform .15s ease;
}
.category-card:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.cat-symbol {
    grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); font: 600 13px var(--mono);
}
.cat-name { font-weight: 650; font-size: 15px; line-height: 1.25; }
.cat-count { font-size: 13px; color: var(--muted); }

/* LLM section */
.section-dark { background: var(--dark); color: #f2f2ef; }
.section-dark .lede { color: #b4b8c0; margin-bottom: 28px; }
.section-dark .kicker { color: var(--accent); }
.llm-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.source { margin-top: 16px; font-size: 13px; color: #8a8f99; }
.llm-card { border-radius: 18px; background: var(--dark-2); border: 1px solid var(--dark-line); padding: 8px 0; }
.llm-head, .llm-list li { display: grid; grid-template-columns: 1fr auto 60px; align-items: center; gap: 18px; padding: 12px 22px; }
.llm-head { font: 500 11.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #8a8f99; border-bottom: 1px solid var(--dark-line); }
.llm-names, .llm-dots { display: grid; grid-template-columns: repeat(4, 58px); justify-items: center; }
.llm-list li + li { border-top: 1px solid var(--dark-line); }
.llm-tool { display: flex; align-items: center; gap: 14px; }
.llm-tool .rank { width: 18px; color: #8a8f99; }
.llm-tool strong { display: block; font-weight: 650; }
.llm-tool small { font-size: 13px; color: #8a8f99; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #3a3f48; }
.dot.on { background: var(--accent); border-color: var(--accent); }
.llm-list .t-right { font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-no { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--ink-2); }

/* CTA */
.cta { padding: 0 0 84px; }
.cta-row {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 40px 44px; border-radius: 22px; background: var(--accent-soft); border: 1px solid #b9ebd1;
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta p { margin-top: 8px; color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid > div:not(:first-child) a { color: var(--ink-2); }
.footer-text { margin-top: 14px; max-width: 280px; color: var(--muted); }
.footer-title { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.footer-bottom a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1060px) {
    .main-nav { display: none; }
    .hero-grid, .llm-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-card { max-width: 520px; }
    .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .header-row { gap: 12px; }
    .link-quiet { display: none; }
    .header-actions .btn { height: 38px; padding: 0 14px; font-size: 14px; }
    .hero { padding: 48px 0 56px; }
    .lede { font-size: 16.5px; }
    .search { flex-wrap: wrap; padding: 10px; }
    .search input { flex-basis: calc(100% - 40px); height: 30px; }
    .search .btn { width: 100%; }
    .section { padding: 60px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .spotlight-grid, .category-grid, .steps { grid-template-columns: 1fr; }
    .open-slots { grid-column: auto; }
    .hide-sm { display: none; }
    .rank-table th, .rank-table td { padding: 13px 14px; }
    .cell-score { min-width: 96px; }
    .llm-head, .llm-list li { grid-template-columns: 1fr auto 34px; gap: 10px; padding: 12px 16px; }
    .llm-names, .llm-dots { grid-template-columns: repeat(4, 22px); }
    .llm-names span { font-size: 0; }
    .llm-names span::after { content: attr(data-short); font-size: 11px; }
    .cta-row { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
