:root {
  --glow-a: rgb(77, 163, 255);
  --glow-b: rgb(167, 120, 255);
  --bg: #0f1218;
  --grid: #242a35;
  --panel: #232934;
  --panel-2: #2b3240;
  --line: #3a4352;
  --text: #e6e9ef;
  --muted: #a3acbb;
  --focus: #ffd166;
  --display: "Chakra Petch", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
}
a { color: inherit; text-decoration-color: var(--muted); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }

/* Header */
.site-head {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 16px max(16px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 18, 24, 0.74);
  position: sticky; top: 0; z-index: 5;
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}
/* Glow line under the glass header, in the same colors as the page glow. */
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--glow-a), var(--glow-b), transparent); opacity: .6; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px var(--display); }
.site-nav { display: flex; gap: 6px 15px; flex-wrap: wrap; font-size: 14.5px; }
.site-nav a { text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; padding: 2px 0; }
.site-nav a:hover { color: var(--text); border-bottom-color: var(--cat); }

main { max-width: 1160px; margin: 0 auto; padding: 0 16px 64px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 56px 0 32px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.01em; max-width: 14em; }
.lede { color: var(--muted); font-size: 19px; max-width: 38em; margin: 18px 0 0; }
.hero-graph { width: 100%; height: auto; }
.hero-graph .gt { fill: #e6e9ef; font: 600 15px var(--display); }
.hero-graph .gt-h { fill: #a3acbb; font: 600 11px var(--body); }
.hero-graph .gt-h.dark { fill: #0f1218; }

.finder { margin-top: 28px; max-width: 34em; }
.finder label { display: block; font: 600 15px var(--display); margin-bottom: 8px; }
.finder input {
  width: 100%; padding: 14px 16px; font: 17px var(--body); color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
}
.finder input::placeholder { color: #7d8697; }
.count { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 24px; }
.chip {
  font: 600 15px var(--display); color: var(--text); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--cat, var(--text));
  border-radius: 8px; padding: 8px 14px;
}
.chip[aria-pressed="true"] { background: var(--panel-2); border-color: var(--cat, var(--text)); }

/* Sponsor slot */
.sponsor-slot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  border: 1px dashed var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 32px;
  color: var(--muted); font-size: 15px;
}
.sponsor-slot p { margin: 0; flex: 1 1 22em; }
.sponsor-tag { font: 700 13px var(--display); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }

/* Category blocks */
.cat-block { margin: 0 0 56px; }
.cat-head { border-left: 4px solid var(--cat); padding-left: 16px; margin-bottom: 20px; }
.cat-head h2 { font-size: 30px; }
.cat-head h2 a { text-decoration: none; }
.cat-head p { color: var(--muted); margin: 8px 0 0; max-width: 46em; }

/* Nodes: Blueprint-style cards */
.node-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.node {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.node-head { background: var(--cat); color: #14171d; padding: 10px 16px 9px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.node-title { font-size: 20px; font-weight: 700; }
.node-title a { text-decoration: none; }
.node-title a:hover { text-decoration: underline; text-decoration-color: #14171d; }
.node-maker { font-size: 13px; font-weight: 700; opacity: 0.8; white-space: nowrap; }
.node-body { padding: 14px 16px 4px; flex: 1; }
.pin { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-weight: 700; }
.pin-dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; border: 2px solid var(--cat); background: var(--cat); }
.pin-label { color: var(--muted); font-weight: 400; }
.verdict { margin: 0 0 14px; color: #d3d8e1; }
.facts { margin: 0 0 12px; display: grid; gap: 6px; font-size: 15px; }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.node-foot { border-top: 1px solid var(--line); padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 14px; }
.visit { font: 600 15px var(--display); text-decoration: none; border-bottom: 2px solid var(--cat); }
.checked { color: var(--muted); }

.empty { color: var(--muted); padding: 24px 0; }

/* Callout */
.callout { border: 1px solid var(--line); border-left: 4px solid #3dd6d0; background: var(--panel); border-radius: 12px; padding: 24px; margin-top: 16px; }
.callout h2 { font-size: 26px; }
.callout p { color: var(--muted); max-width: 44em; }
.callout a { font: 600 16px var(--display); }

/* Inner pages */
.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 20em; border-left: 6px solid var(--cat, var(--text)); padding-left: 16px; }
.crumb { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.solo { max-width: 720px; }
.related { margin-top: 40px; max-width: 720px; }
.related-line { margin: 24px 0 0; color: var(--muted); }
.related h2 { font-size: 24px; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.related li span { color: var(--muted); display: block; font-size: 15px; }
.faq dl { margin: 0; }
.faq dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; margin-bottom: 4px; }
.faq dd { margin: 0; color: var(--muted); }

.prose { max-width: 42em; }
.prose h2 { font-size: 24px; margin: 32px 0 8px; }
.prose p, .prose li { color: #d3d8e1; }
.prose li { margin-bottom: 8px; }
.source-line { font-size: 15px; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--bg); padding: 32px max(16px, calc((100vw - 1160px) / 2)) 40px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.foot-grid a { display: block; margin-bottom: 6px; }
.foot-brand { font: 700 20px var(--display); color: var(--text); margin: 0 0 6px; }
.fine { margin-top: 24px; font-size: 14px; max-width: 60em; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 24px; }
  .hero-graph { max-width: 460px; }
  .node-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .site-nav { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (max-width: 820px) { .site-head { position: static; } }

/* Newsletter signup */
.signup {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center;
  margin-top: 56px; padding: 28px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); border-top: 4px solid #5cc98b;
}
.signup h2 { font-size: 26px; }
.signup p { color: var(--muted); margin: 8px 0 0; }
.signup-form label { display: block; font: 600 15px var(--display); margin-bottom: 8px; }
.signup-row { display: flex; gap: 8px; }
.signup-row input {
  flex: 1; min-width: 0; padding: 12px 14px; font: 17px var(--body); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.signup-row button {
  font: 700 16px var(--display); padding: 12px 18px; border-radius: 10px; cursor: pointer;
  background: #5cc98b; color: #14171d; border: 0;
}
.signup-row button:disabled { opacity: 0.7; cursor: wait; }
.signup-note { font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 820px) {
  .signup { grid-template-columns: 1fr; padding: 20px; }
  .signup-row { flex-direction: column; }
}

/* Guides */
.guide-date { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.guide h2 { margin-top: 40px; }
.guide h3 { font-size: 20px; margin: 28px 0 6px; }
.guide a { color: #9ccaff; }
.guide blockquote { margin: 20px 0; padding: 12px 18px; border-left: 4px solid #5cc98b; background: var(--panel); border-radius: 0 10px 10px 0; }
.guide blockquote p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 10px; }
.guide table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.guide th, .guide td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { background: var(--panel-2); font-family: var(--display); font-weight: 600; }
.guide tr:last-child td { border-bottom: 0; }
.guide-list { list-style: none; padding: 0; margin: 0; max-width: 46em; }
.guide-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-list a { font: 600 21px var(--display); text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list p { color: var(--muted); margin: 6px 0 4px; }
.guide-list span { color: var(--muted); font-size: 14px; }

/* Comparisons */
.compare-table td, .compare-table th { vertical-align: top; }
.compare-table thead th a { font: 600 18px var(--display); }
.compare-table tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }

/* Maker badge */
.badge-box { margin-top: 40px; max-width: 720px; border: 1px dashed var(--line); border-radius: 12px; padding: 20px 24px; background: var(--panel); }
.badge-box h2 { font-size: 22px; margin: 0 0 8px; }
.badge-box p { color: var(--muted); margin: 0 0 14px; }
.badge-box img { display: block; margin-bottom: 14px; }
.badge-box label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.badge-code { width: 100%; box-sizing: border-box; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; resize: vertical; }
.copy-btn { margin-top: 10px; font: 600 15px var(--display); background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px; cursor: pointer; }
.copy-btn:hover { border-color: #4a9eff; }

/* Hero art (img/hero.webp, original characters made with ChatGPT) */
.hero { position: relative; grid-template-columns: 1fr; min-height: 560px; padding: 72px 0 56px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 18, 24,.97) 0%, rgba(15, 18, 24,.93) 38%, rgba(15, 18, 24,.45) 58%, rgba(15, 18, 24,0) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 24,0) 24%),
    linear-gradient(180deg, rgba(15, 18, 24,.6) 0%, rgba(15, 18, 24,0) 18%),
    url(/img/hero.webp) 70% 55% / cover no-repeat, var(--bg); }
.hero-copy { max-width: 540px; }
@media (min-width: 821px) and (max-width: 1200px) {
  .hero::before { background:
    linear-gradient(90deg, rgba(15, 18, 24,.97) 0%, rgba(15, 18, 24,.94) 48%, rgba(15, 18, 24,.4) 68%, rgba(15, 18, 24,0) 88%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 24,0) 24%),
    url(/img/hero.webp) 100% 55% / cover no-repeat, var(--bg); }
  .hero-copy { max-width: 500px; }
}
.hero-art { display: none; }
.hero-credit { position: absolute; right: 0; bottom: 10px; margin: 0; font-size: 12px; color: rgba(230,233,239,.55); }
@media (max-width: 820px) {
  .hero { min-height: 0; padding-top: 0; }
  .hero::before { display: none; }
  .hero-art { display: block; height: 220px; margin: 0 -16px 8px;
    background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 24,0) 35%), url(/img/hero-mobile.webp) 50% 40% / cover no-repeat; }
  .hero-credit { position: static; margin-top: 12px; }
}

/* Category art (img/cat/<slug>.webp) */
.page-head.has-art { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.cat-art { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 12px 40px -12px var(--cat); aspect-ratio: 16 / 10; }
.cat-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .page-head.has-art { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .page-head.has-art .cat-art { order: -1; }
}

/* 404 */
.lost { text-align: center; padding: 32px 0 24px; }
.lost img { display: block; width: 100%; max-width: 720px; height: auto; margin: 0 auto 20px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 12px 40px -14px #f2c14e; }
.lost h1 { font-size: clamp(30px, 4.4vw, 44px); }
.lost .lede { margin: 12px auto 0; }
.lost-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.lost-links a { font: 600 16px var(--display); padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; }
.lost-links a:hover { border-color: #f2c14e; }
.lost-links .lost-main { background: #f2c14e; color: #14171d; border-color: #f2c14e; }
.lost-cats { justify-content: center; margin-top: 20px; }
.lost-cats .chip { text-decoration: none; }

/* Engines */
.filters-eng { padding-top: 0; align-items: center; }
.filters-label { font: 600 14px var(--body); color: var(--muted); margin-right: 4px; }
.eng-h { font-size: 26px; margin: 36px 0 6px; display: flex; align-items: baseline; gap: 12px; }
.eng-h span { font: 500 15px var(--body); color: var(--muted); }
.eng-note { color: var(--muted); margin: 0 0 16px; max-width: 46em; }
.eng-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.eng-list li { background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--cat); border-radius: 12px; padding: 18px 20px; }
.eng-list a { font: 700 22px var(--display); text-decoration: none; display: block; }
.eng-list a:hover { text-decoration: underline; }
.eng-list span { color: var(--muted); font-size: 15px; }

/* Affiliate label */
.aff { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; margin-left: 6px; text-decoration: none; white-space: nowrap; }
.aff:hover { color: var(--text); }

/* Build kits */
.kit { margin-top: 44px; max-width: 900px; }
.kit h2 { font-size: 26px; margin-bottom: 6px; }
.kit-note { color: var(--muted); margin: 0 0 14px; }
.kit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kit-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.kit-list li > a { font: 600 18px var(--display); }
.kit-meta { color: var(--muted); font-size: 14px; margin-left: 6px; }
.kit-list p { margin: 6px 0 0; color: var(--muted); }

/* Positioning: "License terms checked at the source" + "Can you ship it?" */
.eyebrow { font-family: var(--display); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #7ee2a8; margin: 0 0 10px; }
.facts .ship dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ship-badge { font-size: 13px; font-weight: 700; border-radius: 6px; padding: 1px 8px; border: 1px solid currentColor; white-space: nowrap; }
.ship-free { color: #7ee2a8; }
.ship-paid { color: #ffd166; }
.ship-no { color: #ff8a8a; }
.ship-varies { color: var(--muted); }
.ship-note { color: var(--muted); font-size: 14px; }
.facts div.ship { grid-template-columns: 6.5em 1fr; }

/* Can you ship it? page */
.ship-group { margin-top: 40px; }
.ship-group h2 { font-size: 26px; }
.ship-count { font: 600 15px var(--body); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; vertical-align: middle; }
.ship-sub { color: var(--muted); margin: 6px 0 14px; max-width: 46em; }
.ship-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.ship-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) 2fr minmax(140px, 1fr); gap: 8px 20px; padding: 14px 18px; border-bottom: 1px solid var(--line); border-left: 4px solid var(--cat); }
.ship-row:last-child { border-bottom: 0; }
.ship-tool a { font: 600 18px var(--display); text-decoration: none; }
.ship-tool a:hover { text-decoration: underline; }
.ship-tool span, .ship-price span { display: block; color: var(--muted); font-size: 14px; }
.ship-verdict p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.ship-verdict a { color: #9ccaff; }
.ship-price { font-size: 15px; }
.related-plain { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 720px) { .ship-row { grid-template-columns: 1fr; } }

/* ===== UX pass 2026-10-15: grouped nav, search-first hero, filter panel, scannable cards ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header + grouped navigation */
.site-head { padding-top: 10px; padding-bottom: 10px; gap: 28px; flex-wrap: nowrap; }
.brand { min-height: 44px; }
.site-nav { gap: 4px; font-size: 16px; align-items: center; }
.site-nav .nav-link, .nav-drop > summary { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--muted); text-decoration: none; border-bottom: 0; cursor: pointer; font: 600 16px var(--display); }
.site-nav .nav-link:hover, .nav-drop > summary:hover, .nav-drop[open] > summary { color: var(--text); background: var(--panel); }
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; }
.nav-drop > summary::-webkit-details-marker, .nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-drop[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; min-width: 270px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); display: grid; }
.nav-menu a, .nav-sheet a { display: flex; align-items: center; min-height: 44px; padding: 0 12px 0 14px; border-radius: 8px; text-decoration: none; color: var(--text); border-left: 4px solid var(--cat); margin: 1px 0; }
.nav-menu a:hover, .nav-sheet a:hover { background: var(--panel-2); }
.nav-menu .menu-extra { margin-top: 6px; color: var(--muted); }
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font: 600 16px var(--display); cursor: pointer; }
.nav-mobile > summary::before { content: ""; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat; }
.nav-sheet { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0,0,0,.8); }
.nav-group { margin: 14px 0 4px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-mobile { display: block; }
  .site-head { position: relative; }
}

/* Hero: search is the main action */
.hero h1 { max-width: 12.5em; }
.lede { max-width: 30em; }
.finder { margin-top: 26px; max-width: 32em; }
.finder label { font: 600 17px var(--display); margin-bottom: 10px; }
.finder-box { position: relative; color: var(--muted); }
.finder-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.finder input { min-height: 58px; padding: 14px 18px 14px 50px; font-size: 18px; border: 2px solid #4a5568; border-radius: 12px; background: #20252f; box-shadow: 0 10px 30px -14px rgba(0,0,0,.9); }
.finder input:focus { outline: none; border-color: #7ee2a8; box-shadow: 0 0 0 4px rgba(126,226,168,.18); }
.proof { color: var(--muted); font-size: 15px; margin: 14px 0 0; max-width: 34em; }
.proof-mark { display: inline-block; width: 7px; height: 13px; border-right: 2.5px solid #7ee2a8; border-bottom: 2.5px solid #7ee2a8; transform: rotate(40deg); margin: 0 10px 0 4px; vertical-align: 1px; }
.proof a { color: #9fe8be; font-weight: 600; }
.eyebrow { text-transform: none; letter-spacing: 0; font: 600 15px var(--body); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 7px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(40deg) translateY(-2px); }
@media (max-width: 820px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 28px; padding-bottom: 8px; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; height: 150px; margin: 24px -16px 0; border-radius: 0; }
  .hero-credit { order: 3; margin-top: 6px; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 17px; margin-top: 12px; }
  .finder { margin-top: 20px; }
}

/* Search status directly under the box (same as ScopeBots) */
.search-status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0 0; min-height: 32px; color: var(--muted); font-size: 15px; }
#result-text { color: var(--text); font-weight: 700; }
.view-results { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #7ee2a8; background: transparent; color: #7ee2a8; font: 600 15px var(--display); cursor: pointer; }
@media (min-width: 821px) { .view-results { display: none; } }

/* Filter panel: bar (toggle, active pills, count, Clear all) + chips (same as ScopeBots) */
.filter-panel { margin: 8px 0 32px; padding: 14px 18px 8px; background: rgba(35,41,52,.5); border: 1px solid var(--line); border-radius: 14px; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 10px; }
.filters-toggle { display: none; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 600 15px var(--display); cursor: pointer; }
.filters-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.filters-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 12px; border-radius: 999px; border: 1px solid #7ee2a8; background: rgba(126,226,168,.1); color: var(--text); font: 600 14px var(--body); cursor: pointer; }
.pill > span:first-child { color: var(--muted); font-weight: 400; }
.pill:hover { background: rgba(126,226,168,.2); }
.result-count { color: var(--muted); font-size: 15px; margin-right: auto; }
.active-filters:not([hidden]) + .result-count { margin-left: 4px; }
.filter-row { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.filter-row .filters-label { flex: none; width: 4.2em; font: 600 15px var(--display); color: var(--muted); margin: 0; }
.filter-panel .filters { padding: 0; gap: 8px; }
.chip { min-height: 44px; padding: 8px 14px; }
.clear-btn { min-height: 44px; padding: 0 14px; font: 600 15px var(--display); color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.clear-btn:hover { border-color: #7ee2a8; }
.filter-bar .clear-btn { min-height: 36px; }
.empty { padding: 8px 0 32px; }
.empty p { margin: 0 0 12px; }
@media (max-width: 820px) {
  .filter-panel { margin: 0 0 24px; padding: 10px 12px 6px; border-radius: 12px; }
  .filters-toggle { display: inline-flex; align-items: center; }
  .js .filter-panel:not(.is-open) .filter-body { display: none; }
  .filter-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .filter-panel .filters { flex-wrap: wrap; }
  .filter-body { padding-top: 8px; border-top: 1px solid var(--line); }
  .result-count { width: auto; order: 0; margin: 0 auto 0 4px; }
  .active-filters { order: 5; width: 100%; }
}

/* Cards: quick facts first, verdict clamped in the directory */
.node-grid { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 24px; }
@media (max-width: 860px) { .node-grid { grid-template-columns: 1fr; gap: 20px; } }
.node-head { padding: 12px 20px 11px; }
.node-maker { font-size: 14px; }
.node-body { padding: 18px 20px 8px; }
.facts { margin: 0 0 14px; gap: 8px; }
.facts div, .facts div.ship { grid-template-columns: 8.2em 1fr; }
.facts .ship { padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px dashed var(--line); }
.facts .ship dt { color: var(--text); font-weight: 700; }
.ship-badge { font-size: 14px; padding: 2px 9px; }
.verdict.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #9ccaff; }
.node-foot { padding: 12px 20px; align-items: center; gap: 8px 16px; }
.visit { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--cat); border-bottom-width: 1px; border-radius: 9px; background: rgba(255,255,255,.03); }
.visit:hover { background: var(--panel-2); }
.aff { font-size: 13px; }
.checked { font-size: 14px; }
@media (max-width: 760px) {
  .node-head, .node-body, .node-foot { padding-left: 16px; padding-right: 16px; }
  .facts div, .facts div.ship { grid-template-columns: 6.6em 1fr; gap: 10px; }
  .facts dt { font-size: 14px; padding-top: 1px; }
}

/* Section rhythm */
.cat-block { margin: 0 0 72px; }
.cat-head { margin-bottom: 24px; }
@media (max-width: 760px) { .cat-block { margin-bottom: 56px; } }

/* Sponsor slot: present but quiet until there's a sponsor */
.sponsor-slot { margin: -32px 0 72px; padding: 10px 16px; font-size: 14px; border-color: #313947; background: transparent; }
.sponsor-tag { font-size: 13px; color: var(--muted); }
.sponsor-slot a { color: var(--muted); }
.house-ad { border-style: solid; border-color: #3a4352; background: var(--panel, #1b2029); color: var(--text); }
.house-ad p { color: var(--text); }
.house-ad .house-cta { color: #7ee2a8; font-weight: 700; }
.house-ad .house-sponsor { font-size: 13px; margin-left: auto; }

/* Inline signup between categories */
.signup-inline { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 16px 32px; align-items: center; margin: -24px 0 72px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid #7ee2a8; border-radius: 14px; background: var(--panel); }
.signup-inline h2 { font-size: 22px; }
.signup-inline p { margin: 6px 0 0; color: var(--muted); }
.signup-inline .signup-note:empty { display: none; }
@media (max-width: 760px) { .signup-inline { grid-template-columns: 1fr; margin-top: -16px; } }

/* Comfortable touch targets in the footer and badge box */
.foot-grid a { display: flex; align-items: center; min-height: 40px; }
.copy-btn { min-height: 44px; }

/* Comparison tables: stacked on phones, both tools under each row */
.compare-table .ship-badge { margin-right: 4px; }
.compare-table .visit-row .visit { --cat: #4a9eff; }
@media (max-width: 640px) {
  .table-wrap:has(.compare-table) { border: 0; overflow: visible; }
  .guide table.compare-table { min-width: 0; display: block; }
  .compare-table thead { display: none; }
  .compare-table tbody, .compare-table tr { display: block; }
  .compare-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: var(--panel); }
  .compare-table tbody th { display: block; white-space: normal; background: var(--panel-2); color: var(--text); font-family: var(--display); padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .compare-table td { display: block; padding: 10px 14px; }
  .compare-table td::before { content: attr(data-label); display: block; font: 600 14px var(--display); color: var(--muted); margin-bottom: 2px; }
  .compare-table tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare-table td:last-child { border-bottom: 0; }
}

/* Hero art: show the whole crew. Desktop fits the image to the hero's height,
   right-aligned, with its left edge faded into the page (measured from the right
   so the fade always lands on the image's edge); phones use the image's 5:3 shape. */
@media (min-width: 821px) {
  .hero::before { background:
    linear-gradient(270deg, rgba(15, 18, 24,0) 0px, rgba(15, 18, 24,0) 500px, rgba(15, 18, 24,.65) 690px, rgba(15, 18, 24,.97) 870px),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 24,0) 12%),
    url(/img/hero.webp) right center / auto 100% no-repeat, var(--bg); }
}
@media (max-width: 820px) {
  .hero-art { height: auto; aspect-ratio: 5 / 3; max-width: none;
    background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 24,0) 14%), url(/img/hero-mobile.webp) center / cover no-repeat; }
}
@media (min-width: 821px) and (max-width: 1199px) {
  .hero::before { background:
    linear-gradient(90deg, rgba(15, 18, 24,.97) 0%, rgba(15, 18, 24,.94) 48%, rgba(15, 18, 24,.45) 64%, rgba(15, 18, 24,0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 24,0) 12%),
    url(/img/hero.webp) right center / auto 100% no-repeat, var(--bg); }
  .hero-copy { max-width: 480px; }
}

/* Sponsor slots and booking (sponsor-ui.js) */
.sponsor-slot.sponsor-live { border-style: solid; border-color: #3f4a5c; background: var(--panel); color: var(--text); }
.sponsor-slot.sponsor-live p a { color: var(--text); }
.sponsor-page .sp-form { display: grid; gap: 14px; margin: 16px 0 8px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.sp-types { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.sp-types legend, .sp-field { font: 600 15px var(--display); }
.sp-types legend { margin-bottom: 6px; }
.sp-type { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.sp-type:has(input:checked) { border-color: #5cc98b; background: var(--panel-2); }
.sp-type input { margin-top: 5px; accent-color: #5cc98b; }
.sp-type span { display: grid; gap: 2px; }
.sp-type b { color: #7ee2a8; font-family: var(--display); }
.sp-type small { color: var(--muted); font: 15px/1.4 var(--body); }
.sp-field { display: grid; gap: 6px; }
.sp-field[hidden] { display: none; }
.sp-field input, .sp-field select { width: 100%; padding: 11px 13px; font: 17px var(--body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.sp-count { color: var(--muted); font: 13px var(--body); justify-self: end; margin-top: -24px; }
.sp-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border: 1px solid #3f4a5c; border-radius: 12px; font-size: 15px; }
.sp-preview p { margin: 0; }
.sp-agree { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.sp-agree input { accent-color: #5cc98b; width: 18px; height: 18px; }
#sp-submit { justify-self: start; font: 700 16px var(--display); padding: 13px 20px; border-radius: 10px; border: 0; cursor: pointer; background: #5cc98b; color: #14171d; min-height: 48px; }
#sp-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.sp-status:empty { display: none; }
.sp-status, .sp-fine { margin: 0; font-size: 14px; color: var(--muted); }
.sp-notice { padding: 12px 16px; border-left: 4px solid #ffd166; background: var(--panel); border-radius: 0 10px 10px 0; }
@media (max-width: 600px) { .sponsor-page .sp-form { padding: 16px; } #sp-submit { justify-self: stretch; } }

/* Sponsor logos and audience numbers (sponsor-ui.js) */
.sponsor-logo { width: 32px; height: 32px; border-radius: 7px; object-fit: contain; background: #ffffff10; flex: none; }
.sp-hint { color: var(--muted); font: 14px/1.4 var(--body); }
.sp-err { color: #ff9b8a; font: 600 14px var(--body); }
.sp-err:empty { display: none; }
.sp-field input[type=file] { padding: 9px; cursor: pointer; }
.sp-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.sp-numbers li { padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.sp-numbers strong { display: block; font: 700 26px var(--display); color: var(--text); }
.sp-numbers span { color: var(--muted); font-size: 14px; }
.sp-honest { padding: 12px 16px; border-left: 4px solid #7ee2a8; background: var(--panel); border-radius: 0 10px 10px 0; }
.sp-status, .sp-fine { margin: 0; font-size: 14px; color: var(--muted); }
.sp-notice { padding: 12px 16px; border-left: 4px solid #ffd166; background: var(--panel); border-radius: 0 10px 10px 0; }
.sp-when { margin: 0 0 18px; padding: 14px 18px; border-left: 4px solid #5cc98b; background: var(--panel); border-radius: 0 10px 10px 0; }
.sp-when p { margin: 4px 0; }
.sp-when[hidden], .sp-when p[hidden] { display: none; }
.sponsor-page ul.sp-facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.sponsor-page ul.sp-facts li { list-style: none; margin: 0; padding-left: 20px; position: relative; }
.sponsor-page ul.sp-facts li::before { content: "✓"; position: absolute; left: 0; color: #7ee2a8; font-weight: 700; }
.sp-policy { margin: 28px 0 12px; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: var(--panel); }
.sp-policy summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.sp-policy[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.sp-policy ul { margin: 8px 0 12px; }

/* Compact footer: brand blurb + three short link columns */
.site-foot { padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.foot-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 20px 40px; align-items: start; }
.foot-grid > div:first-child p { margin: 0; max-width: 34em; }
.foot-brand { font-size: 18px; margin-bottom: 4px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.foot-h { margin: 0 0 6px; font: 600 13px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.foot-cols a { display: flex; align-items: center; min-height: 30px; margin: 0; width: fit-content; max-width: 100%; overflow-wrap: anywhere; text-decoration-color: transparent; }
.foot-cols a:hover { color: var(--text); text-decoration-color: var(--muted); }
.fine { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; }
@media (max-width: 820px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) { .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; } }
.fine { max-width: none; } .fine-text { max-width: 60em; }
.foot-sign { margin: 14px 0 0; font: 600 13px var(--display); letter-spacing: .06em; color: var(--muted); opacity: .8; }

/* "What are you building?" planner (plan-ui.js) */
.plan-cta { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; max-width: 34em; transition: grid-template-rows .26s ease, opacity .2s ease, margin-top .26s ease; }
.plan-cta.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
.plan-cta-in { min-height: 0; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.search-status { max-height: 4.5em; transition: max-height .26s ease, opacity .2s ease, margin .26s ease; }
.search-status.is-folded { max-height: 0; min-height: 0; opacity: 0; margin-top: 0; margin-bottom: 0; overflow: hidden; }
#plan-go { font: 700 16px var(--display); min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer; background: #5cc98b; color: #14171d; transition: transform .15s ease, box-shadow .15s ease; }
#plan-go:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(92,201,139,.8); }
#plan-go:disabled { opacity: .65; cursor: progress; transform: none; }
.plan-hint { color: var(--muted); font-size: 14px; }

/* Home search grows with long descriptions (plan-ui.js sets the height; max about 4 lines). */
.finder textarea { display: block; width: 100%; min-height: 58px; padding: 15px 18px 14px 50px; font: 18px/1.45 var(--body); color: var(--text); border: 2px solid #4a5568; border-radius: 12px; background: #20252f; box-shadow: 0 10px 30px -14px rgba(0,0,0,.9); resize: none; overflow-y: hidden; transition: height .22s ease, border-color .15s ease, box-shadow .15s ease; }
.finder textarea::placeholder { color: #7d8697; }
.finder textarea:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 58px; }
.finder textarea:focus { outline: none; border-color: #7ee2a8; box-shadow: 0 0 0 4px rgba(126,226,168,.18); }
.finder-box:has(textarea) svg { top: 29px; }

/* The stack */
.plan-out { margin: 8px 0 28px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(120% 140% at 0 0, rgba(92,201,139,.08), transparent 55%), var(--panel); }
.plan-out[hidden] { display: none; }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-kicker { margin: 0 0 2px; font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #7ee2a8; }
.plan-head h2 { margin: 0; font-size: clamp(20px, 3vw, 26px); line-height: 1.2; text-wrap: balance; }
.plan-tally { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.plan-tally:empty { display: none; }
.plan-msg { margin: 10px 0 0; color: var(--muted); }
.plan-out.is-loading .plan-msg { animation: plan-pulse 1.4s ease-in-out infinite; }
.plan-parts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.plan-part { position: relative; padding-left: 44px; animation: plan-in .38s ease both; animation-delay: var(--d, 0ms); }
.plan-part::before { content: ""; position: absolute; left: 14px; top: 34px; bottom: -18px; width: 2px; background: linear-gradient(var(--line), transparent); }
.plan-part:last-child::before { display: none; }
.plan-part h3 { position: relative; margin: 0 0 10px; display: flex; align-items: center; min-height: 30px; font: 700 15px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.plan-num { position: absolute; left: -44px; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); color: #14171d; background: #7ee2a8; box-shadow: 0 0 0 4px rgba(126,226,168,.15); }
.plan-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan-pick { --cat: #7ee2a8; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--cat); border-radius: 12px; background: var(--bg); min-width: 0; transition: transform .15s ease, border-color .15s ease; }
.plan-pick:hover { transform: translateY(-2px); border-color: var(--cat); }
.plan-pick-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.plan-name { font: 700 18px var(--display); color: var(--text); text-decoration: none; }
.plan-name:hover { text-decoration: underline; }
.plan-cat { font-size: 12.5px; font-weight: 700; color: var(--cat); }
.plan-why { margin: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.plan-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.plan-badge { font-size: 12.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; border: 1px solid currentColor; white-space: nowrap; }
.plan-free { color: #7ee2a8; }
.plan-chains { display: inline-flex; align-items: center; gap: 4px; }
.plan-chains img { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.plan-chains img.is-hit { width: 22px; height: 22px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #7ee2a8; margin: 0 4px 0 2px; }
.plan-more, .plan-engines { color: var(--muted); font-size: 13px; }
.plan-pick-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.plan-price { color: var(--muted); font-size: 13.5px; min-width: 0; overflow-wrap: anywhere; }
.plan-view { flex: none; font-weight: 700; font-size: 14px; color: #7ee2a8; text-decoration: none; }
.plan-view:hover { text-decoration: underline; }
.plan-gaps { margin-top: 22px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; animation: plan-in .38s ease both; animation-delay: .3s; }
.plan-gaps[hidden] { display: none; }
.plan-gaps h3 { margin: 0 0 6px; font-size: 15px; }
.plan-gaps ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan-fine { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
@keyframes plan-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes plan-pulse { 50% { opacity: .45; } }
@media (max-width: 700px) {
  .plan-picks { grid-template-columns: minmax(0, 1fr); }
  .plan-out { padding: 16px; border-radius: 14px; }
  .plan-part { padding-left: 38px; }
  .plan-part::before { left: 12px; }
  .plan-num { left: -38px; width: 26px; height: 26px; font-size: 13px; }
  #plan-go { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-cta, .search-status, .finder textarea, .plan-pick, #plan-go { transition: none; }
  .plan-part, .plan-gaps, .plan-out.is-loading .plan-msg { animation: none; }
}
.hero .proof { max-height: 6em; transition: max-height .26s ease, opacity .2s ease, margin .26s ease; }
.hero .proof.is-folded { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .hero .proof { transition: none; } }

/* Planner loading: the site's own robot icon, animated (plan-ui.js planPanel loader).
   IndieBots: the antenna tip glows and sends out signal pulses. ScopeBots: the scope ring spins and the eye glows. */
.plan-status { display: flex; align-items: center; gap: 16px; }
.plan-loader { display: none; flex: none; }
.plan-out.is-loading .plan-loader { display: block; }
.plan-out.is-loading .plan-status { flex-direction: column; justify-content: center; gap: 12px; padding: 20px 0 12px; text-align: center; }
.plan-out.is-loading .plan-msg { margin: 0; }
.ld { display: block; overflow: visible; }
.ld-halo { opacity: .25; animation: ld-glow 1.2s ease-in-out infinite; }
.ld-halo-tip { animation-delay: -.6s; }
.ld-ring { transform-box: fill-box; transform-origin: center; animation: ld-spin 1.6s linear infinite; }
.ld-eye { animation: ld-eye 1.2s ease-in-out infinite; }
.ld-tip { animation: ld-eye 1.2s ease-in-out infinite; }
.ld-wave { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ld-wave 1.6s ease-out infinite; }
.ld-wave-2 { animation-delay: .8s; }
@keyframes ld-glow { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes ld-eye { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.45); } }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-wave { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ld-halo, .ld-ring, .ld-eye, .ld-tip, .ld-wave { animation: none; }
  .ld-halo { opacity: .7; }
}

/* Confirmed features (data/features.json) */
.features .feat-sub { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.features h3 { font-size: 13px; margin: 14px 0 4px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.related.features .feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 20px; }
.related.features .feat-list li { padding: 5px 0 5px 22px; position: relative; border-bottom: 0; font-size: 15px; line-height: 20px; }
.related.features .feat-list li span.feat-ok { display: inline; position: absolute; left: 0; top: 5px; color: #5cc98b; font-weight: 700; }
.related.features .feat-list li span.feat-note { display: block; font-size: 13px; line-height: 18px; color: var(--muted); }
.related.features .feat-list a { font-size: 12px; margin-left: 6px; color: var(--muted); }
.feat-more { margin-top: 8px; }
.feat-more summary { cursor: pointer; font-size: 14px; color: var(--muted); padding: 6px 0; list-style: none; }
.feat-more summary::-webkit-details-marker { display: none; }
.feat-more summary::after { content: " ▾"; }
.feat-more[open] summary::after { content: " ▴"; }

/* Lighter cards (2026-10-18): badge, short price, works with; details on the tool page. */
.facts-slim { margin-bottom: 0; }
.facts-slim .ship { padding-bottom: 8px; }
.node-foot .details { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px var(--display); color: #9ccaff; }
.node-foot .checked-slim { flex-basis: 100%; font-size: 13px; margin-top: -4px; }
@media (max-width: 520px) { .facts-slim div.ship { grid-template-columns: 8.4em 1fr; } }

/* Aurora background (Forrest, 2026-10-18): near-black page with soft light pooled at the edges.
   A fixed layer instead of background-attachment: fixed, which stutters on phones. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 12% -5%, rgba(77, 163, 255, .18), transparent 70%),
    radial-gradient(650px 400px at 92% 8%, rgba(167, 120, 255, .14), transparent 70%),
    radial-gradient(900px 500px at 50% 110%, rgba(61, 214, 208, .08), transparent 70%);
}

/* Design audit fixes (2026-10-18, ported from ScopeBots) */
/* While someone describes a project, the tool list steps aside for the planner. */
html.is-describing #results, html.is-describing .filter-panel, html.is-describing #empty, html.is-describing .callout { display: none; }
/* The match count under the search shows only once something is typed (the filter panel already counts). */
.search-status.is-quiet { min-height: 0; margin: 0; }
.search-status.is-quiet #result-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Home shows the first six tools per job; search or any filter brings back every match. */
#results:not(.is-filtered) .node.is-more { display: none; }
#results.is-filtered .cat-more { display: none; }
.cat-more { margin: 14px 0 0; }
.cat-more a { font: 600 16px var(--display); color: var(--text); text-decoration-color: var(--cat, var(--muted)); }
/* Pick-any-two compare */
.cmp-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0 0 24px; }
.cmp-pick label { display: grid; gap: 6px; font: 600 14px var(--display); color: var(--muted); }
.cmp-pick select { min-height: 48px; padding: 0 12px; font: 17px var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.cmp-note { color: var(--muted); font-size: 14px; }
.cmp-written { margin: 36px 0 12px; }
@media (max-width: 600px) { .cmp-pick { grid-template-columns: 1fr; } }
/* Planner: "Haven't picked an engine?" */
.plan-chains { display: block; margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.plan-chains h3 { font-size: 17px; margin: 0 0 2px; }
.plan-chains-sub { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.plan-chains ul { width: 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-chain { display: flex; align-items: center; gap: 12px; max-width: 34em; }
.plan-chain .clear-btn { margin-left: auto; }
.plan-chain img { flex: none; border-radius: 50%; }
.plan-chain-txt { flex: 1; display: grid; line-height: 1.3; }
.plan-chain-txt span { color: var(--muted); font-size: 14px; }
/* Engine x job comparison pages */
.cell-table th[scope="row"] a { font: 600 16px var(--display); }
.cell-table td { font-size: 15px; }
.cell-compare { margin: 16px 0 28px; font-size: 15px; color: var(--muted); }
.cell-compare a { color: var(--text); }
.cell-more { margin-top: 28px; color: var(--muted); }
.cell-table th, .cell-table td { padding: 10px 14px; text-align: left; vertical-align: top; }
.cell-table thead th { font: 600 14px var(--display); color: var(--muted); border-bottom: 1px solid var(--line); }
.cell-table tbody tr + tr th, .cell-table tbody tr + tr td { border-top: 1px solid var(--line); }
