/* Look: a calm, independent review site. White cards on a cool grey page, ink type, one confident blue. */
:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --sunken: #F1F3F6;
  --fg: #0B1220;
  --muted: #5A6475;
  --line: #E3E7ED;
  --line-strong: #CBD2DC;
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --on-accent: #FFFFFF;
  --accent-ink: #1D4ED8;
  --accent-soft: #EEF3FF;
  --accent-line: #C9D8FF;
  --good: #0E7A4E;
  --good-soft: #E6F5EE;
  --pending: #8A5A00;
  --pending-soft: #FFF5DD;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 1px 3px rgba(11, 18, 32, .06);
  --shadow-lg: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px rgba(11, 18, 32, .06);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0E16; --surface: #111723; --sunken: #0D121C; --fg: #E8ECF3; --muted: #98A2B3; --line: #222A38; --line-strong: #344055;
    --accent: #4F7DFF; --accent-hover: #6B92FF; --on-accent: #FFFFFF; --accent-ink: #8EADFF; --accent-soft: #141F3A; --accent-line: #2A3D70;
    --good: #5BD19A; --good-soft: #10291F; --pending: #F2C26B; --pending-soft: #2A2110;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-lg: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0E16; --surface: #111723; --sunken: #0D121C; --fg: #E8ECF3; --muted: #98A2B3; --line: #222A38; --line-strong: #344055;
  --accent: #4F7DFF; --accent-hover: #6B92FF; --on-accent: #FFFFFF; --accent-ink: #8EADFF; --accent-soft: #141F3A; --accent-line: #2A3D70;
  --good: #5BD19A; --good-soft: #10291F; --pending: #F2C26B; --pending-soft: #2A2110;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-lg: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
.wrap { max-width: 1160px; margin: 0 auto; padding-block: 0 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Header */
header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -0.025em; color: var(--fg); text-decoration: none; }
.logo svg { flex: none; display: block; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.logo span { color: var(--accent-ink); }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
.top nav a.cta { color: var(--on-accent); background: var(--accent); padding: 8px 14px; border-radius: 9px; font-weight: 600; }
.top nav a.cta:hover { background: var(--accent-hover); color: var(--on-accent); }
@media (max-width: 420px) { .top nav .mid { display: none; } }
@media (max-width: 640px) { .top nav { gap: 4px 16px; font-size: 14px; } .top nav .wide { display: none; } .top nav a.cta { padding: 7px 12px; } }

/* Hero */
.hero { padding-block: 56px 32px; max-width: 800px; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 12px 5px 10px; border-radius: 999px; margin: 0 0 20px; }
.hero .badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 6.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero p { color: var(--muted); font-size: 18px; margin: 0; max-width: 60ch; text-wrap: pretty; }
.hero p strong { color: var(--fg); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 14.5px; font-weight: 500; color: var(--fg); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { flex: none; color: var(--good); }
.search { position: relative; margin-top: 28px; display: flex; max-width: 580px; }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search input { flex: 1; text-overflow: ellipsis; min-width: 0; font: inherit; padding: 14px 16px 14px 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.updated, .hero .updated { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* Use-case filter */
.rail { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px 20px; scrollbar-width: thin; }
.rail button { flex: none; font: 500 14.5px var(--body); padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); cursor: pointer; }
.rail button:hover { border-color: var(--fg); }
.rail button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* Rankings */
.usecase { margin-bottom: 48px; scroll-margin-top: 16px; }
.ask, .hero .ask { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px; }
.usecase h2 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.025em; }
.test { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
.test b { color: var(--fg); font-weight: 600; margin-right: 6px; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tool { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; padding: 18px 20px; border-top: 1px solid var(--line); align-items: start; }
.tool:first-child { border-top: 0; }
.tool:first-child { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); box-shadow: inset 3px 0 0 var(--accent); }
.rank { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--sunken); border: 1px solid var(--line); font: 700 15px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.tool:first-child .rank { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.name { margin: 0; font-weight: 650; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.name a { color: inherit; text-decoration: none; }
.name a:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; }
.pick { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .01em; color: var(--on-accent); background: var(--accent); padding: 4px 9px 4px 7px; border-radius: 999px; }
.pick::before { content: ""; width: 11px; height: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.best { font-size: 15px; margin-top: 3px; }
.verdict { font-size: 15px; color: var(--muted); margin-top: 2px; }
.meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; line-height: 1.5; padding: 2px 9px; border-radius: 6px; white-space: nowrap; border: 1px solid transparent; }
.chip.pending { color: var(--pending); background: var(--pending-soft); }
.chip.price { color: var(--good); background: var(--good-soft); }
@media (max-width: 520px) { .tool { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 16px 14px; } .rank { width: 28px; height: 28px; font-size: 14px; } .meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; } }
.empty { padding: 28px; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.usecase h2 a { color: inherit; text-decoration: none; }
.usecase h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Sidebar */
aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(16px + env(safe-area-inset-top, 0px)); }
@media (max-width: 900px) { aside { position: static; } }
.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h3 { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 6px; }
.panel p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.panel.letter { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.panel.letter h3 { color: var(--bg); }
.panel.letter p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.panel.letter .eyebrow { color: color-mix(in srgb, var(--bg) 70%, var(--accent)); }
.stamp { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 12%, transparent); color: var(--bg); }
form.news { display: flex; flex-direction: column; gap: 10px; }
form.news input { font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--fg); }
.panel.letter form.news input { border-color: transparent; }
form.news input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn { font: 600 15px var(--body); padding: 11px 16px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: var(--on-accent); cursor: pointer; text-align: center; text-decoration: none; display: inline-block; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:disabled { opacity: .7; cursor: progress; }
.note { font-size: 14px; color: var(--accent-ink); min-height: 1em; }
.panel.letter .note, .panel.letter .note a { color: color-mix(in srgb, var(--bg) 85%, var(--accent)); }
.fine { font-size: 12.5px !important; margin: 12px 0 0 !important; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feed li { font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 14px; }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed a { color: var(--fg); font-weight: 600; text-decoration: none; }
.feed a:hover { color: var(--accent-ink); text-decoration: underline; }
.feed .uc { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--sunken); border: 1px solid var(--line); padding: 1px 7px; border-radius: 6px; margin-left: 8px; white-space: nowrap; }
.feed .what { color: var(--muted); margin-top: 2px; }
.feed .muted { color: var(--muted); }
.how { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14.5px; display: flex; flex-direction: column; gap: 10px; }
.how li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.how li span:not(.bar) { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.how .bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.how .bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.how b { font-weight: 600; }

/* Footer */
footer { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 24px 48px; }
footer .about p { margin: 12px 0 0; max-width: 42ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--fg); text-decoration: underline; }
footer .legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 720px) { footer { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
  .tool { transition: background-color .15s; } .tool:not(:first-child):hover { background: var(--sunken); }
  .rail button, .btn, .top nav a { transition: background-color .15s, border-color .15s, color .15s; }
}

/* Category, methodology and FAQ pages */
.crumbs { font-size: 14px; color: var(--muted); margin: 28px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.crumbs + .hero { padding-top: 20px; }
.answer { margin-top: 24px; max-width: 70ch; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 20px; font-size: 16.5px; color: var(--fg); }
.answer b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 4px; }
.faq { margin-top: 8px; }
.faq h2 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.025em; margin: 0 0 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 600; font-size: 16.5px; cursor: pointer; padding: 16px 48px 16px 20px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); translate: 0 -70%; rotate: 45deg; transition: rotate .15s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fg); }
.prose li + li { margin-top: 6px; }
.others { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.others a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.others a:hover { border-color: var(--fg); }

/* Paid spots: always labeled, never ranked. */
.chip.paid { color: var(--muted); background: var(--sunken); border-color: var(--line-strong); }
.sponsored { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14.5px; color: var(--muted); }
.sponsored a { color: var(--fg); }
.sponsored > div { flex: 1; min-width: 0; }
.sponsor-invite { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 8px 0 48px; }
.offer { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.offer:nth-child(3) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.offer h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 8px; }
.offer .price { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.offer .price b { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; color: var(--fg); margin-right: 4px; }
.offer ul { margin: 0 0 20px; padding-left: 18px; font-size: 14.5px; flex: 1; }
.offer li + li { margin-top: 6px; }
.btn.off { background: var(--sunken); color: var(--muted); border-color: var(--line); cursor: default; }
[hidden] { display: none !important; }
