/* Content pages: use cases, comparisons, blog. Generated by tools/build.py from content/. Light only, like the home page. */
:root { color-scheme: light; --paper: #fafbfc; --ink: #12151c; --muted: #5a6170; --line: #e2e5ea; --blue: #2c4fd6; --tint: #eef3fe;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; overflow-x: hidden; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #9ab7f9; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(250,251,252,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; }
.top nav { display: flex; gap: 2px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 12px; border-radius: 999px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); background: #f0f2f5; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn.light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 640px) { .top nav { display: none; } }

/* page head */
main { padding: 36px 0 88px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b0b6c0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, #9ab7f9, #4f74ec); }
h1 { font-size: clamp(34px, 5.6vw, 54px); line-height: 1.05; letter-spacing: -.04em; margin: 14px 0 18px; font-weight: 650; text-wrap: balance; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, #0b2bd9 0%, #2f6bff 45%, #6fc3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meta { font-size: 14px; color: var(--muted); margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.meta a { color: var(--muted); }

/* the answer first */
.tldr { position: relative; border-radius: 24px; padding: 24px 26px; margin: 0 0 40px; color: #fff;
  background: linear-gradient(160deg, #9ab7f9 0%, #4f74ec 40%, #2c4fd6 75%); }
.tldr strong.lab { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .85; margin-bottom: 6px; }
.tldr p { margin: 0; font-size: 19px; line-height: 1.55; }
.tldr a { color: #fff; }

/* article body */
.prose h2 { font-size: clamp(24px, 3.4vw, 30px); letter-spacing: -.03em; line-height: 1.2; margin: 48px 0 14px; font-weight: 650; text-wrap: balance; }
.prose h3 { font-size: 19px; letter-spacing: -.015em; margin: 28px 0 8px; font-weight: 650; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin: 0 0 6px; }
.prose li::marker { color: #4f74ec; }
.prose strong { font-weight: 650; }
.prose code { font-family: var(--mono); font-size: .86em; background: #eef0f4; padding: .12em .4em; border-radius: 6px; }
.prose pre { margin: 0 0 20px; padding: 18px 20px; border-radius: 18px; background: #12151c; color: #e8ebf2; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose blockquote { margin: 0 0 20px; padding: 4px 0 4px 18px; border-left: 3px solid #9ab7f9; color: var(--muted); }
.note { border-radius: 18px; background: #fff8eb; border: 1px solid #f4e2bd; padding: 16px 20px; margin: 0 0 20px; font-size: 16px; }
.note b { font-weight: 650; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
caption { text-align: left; padding: 14px 18px 0; font-size: 13px; color: var(--muted); }
th, td { text-align: left; vertical-align: top; padding: 12px 18px; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); background: #f7f8fa; }
tbody th { font-weight: 600; width: 26%; }
td.tw { background: #f5f8ff; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 60px; border-radius: 18px; background: #fff; border: 1px solid var(--line); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 15px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #9ab7f9, #4f74ec); }

/* FAQ */
.faq { margin-top: 56px; }
.faq h2 { margin-bottom: 18px; }
.qa { border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 18px 22px; margin: 0 0 10px; }
.qa h3 { margin: 0 0 6px; font-size: 17px; }
.qa p { margin: 0; color: var(--muted); font-size: 16px; }

/* sources */
.sources { margin-top: 40px; font-size: 14.5px; color: var(--muted); }
.sources h2 { font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.sources ol { padding-left: 20px; margin: 0; }
.sources li { margin: 0 0 6px; word-break: break-word; }

/* cards (hubs and related) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: 8px; height: 100%; border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 24px;
  color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card:hover { border-color: #c9d6f6; transform: translateY(-2px); box-shadow: 0 10px 30px -18px rgba(44,79,214,.45); }
.card .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #4f74ec; }
.card h2, .card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .go { margin-top: auto; padding-top: 6px; color: var(--blue); font-weight: 600; font-size: 15px; }
.related { margin-top: 64px; }
.cards.n4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.related .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.related > h2 { font-size: 22px; margin: 0 0 16px; letter-spacing: -.02em; }
.hub-lede { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0 0 36px; }

/* call to action */
.cta { margin-top: 56px; border-radius: 28px; padding: 32px; background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; }
.cta h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.cta p { margin: 0; color: var(--muted); }
.cta pre { margin: 0; padding: 14px 18px; border-radius: 14px; background: #12151c; color: #e8ebf2; overflow-x: auto; font-family: var(--mono); font-size: 14px; }
.cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .cta { padding: 22px; } .tldr { padding: 20px; } .tldr p { font-size: 17px; } th, td { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* ===== Visuals: run illustration, matchup, scorecards ===== */
:root { --work: #2f6bff; --pass: #17924f; --fail: #e0464b; --wait: #dfe4ee; --needs: #e09a12; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.art { margin: 0 0 40px; border-radius: 24px; padding: 18px 16px 10px; border: 1px solid #dfe9fb;
  background: radial-gradient(120% 140% at 0% 0%, #f2f6ff 0%, #ffffff 55%), #fff; overflow: hidden; }
.art svg { display: block; width: 100%; height: auto; }
.art .node { fill: #fff; stroke: #d5dcea; }
.art .t { font: 600 15px "Geist", system-ui, sans-serif; fill: #12151c; }
.art .t.w { fill: #fff; }
.art .s { font: 500 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; fill: #6b7280; }
.art .wire { fill: none; stroke: #b9c7ea; stroke-width: 1.6; stroke-dasharray: 4 5; animation: flow 1.2s linear infinite; }
.art .lane { fill: #f5f7fb; stroke: #e3e8f2; }
.art .lead-s { fill: #c7d4f6; } .art .lead-c { fill: #4f74ec; }
.art .sq { fill: var(--wait); animation: agent 7s ease-in-out infinite; animation-delay: var(--d); }
.art.hunt .sq { animation-name: hunt; }
.art .exam { fill: #fff; stroke: #d5dcea; stroke-width: 1.6; animation: exam 7s ease-in-out infinite; }
.art .tick { fill: none; stroke: var(--pass); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; animation: tick 7s ease-in-out infinite; }
.art .pr { animation: pr 7s ease-in-out infinite; transform-origin: 660px 90px; }
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes agent { 0%, 8% { fill: var(--wait); } 14%, 46% { fill: var(--work); } 54%, 100% { fill: var(--pass); } }
@keyframes hunt { 0%, 6% { fill: var(--wait); } 12%, 30% { fill: var(--fail); } 36%, 50% { fill: var(--work); } 58%, 100% { fill: var(--pass); } }
@keyframes exam { 0%, 60% { stroke: #d5dcea; } 66%, 100% { stroke: var(--pass); } }
@keyframes tick { 0%, 62% { stroke-dashoffset: 34; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes pr { 0%, 72% { opacity: .35; transform: scale(.97); } 78%, 100% { opacity: 1; transform: scale(1); } }

.matchup { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.matchup .side { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; font-weight: 650; font-size: 17px;
  background: #fff; border: 1px solid var(--line); }
.matchup .side.tw { color: #fff; border: 0; background: linear-gradient(120deg, #0b2bd9, #2f6bff 60%, #6fc3ff); box-shadow: 0 14px 30px -18px rgba(47,107,255,.9); }
.matchup .side.tw img { background: #fff; border-radius: 9px; padding: 3px; }
.matchup .side small { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-left: 4px; }
.matchup .side.rv i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #eef0f4; color: #5a6170; font-style: normal; font-size: 14px; }
.matchup .vs { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9aa1ad; }

.mk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; vertical-align: middle; flex: none; }
.mk svg { width: 16px; height: 16px; }
.mk.yes { color: #fff; background: linear-gradient(135deg, #2bb673, #17924f); box-shadow: 0 6px 14px -8px rgba(23,146,79,.9); }
.mk.part { color: #9a6a06; background: #fdf0d2; }
.mk.no { color: #9aa1ad; background: #f0f2f5; }
.glance { margin: 0 0 40px; }
.glance-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.glance h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.score { margin: 0; font-size: 14px; color: var(--muted); }
.score b { color: var(--ink); font-size: 18px; }
table.scorecard { min-width: 0; }
.scorecard th, .scorecard td { vertical-align: middle; }
.scorecard tbody th { width: auto; font-weight: 500; }
.scorecard td { text-align: center; width: 18%; }
.scorecard.matrix { min-width: 640px; }
.scorecard.matrix td { width: 13%; }
.scorecard thead th { text-align: center; } .scorecard thead th:first-child { text-align: left; }
.scorecard thead th.tw { color: #fff; background: linear-gradient(120deg, #2c4fd6, #4f74ec); }
.scorecard thead th.tw a, .scorecard thead th a { color: inherit; }
.scorecard td.tw { background: #f2f6ff; box-shadow: inset 1px 0 #dfe9fb, inset -1px 0 #dfe9fb; }
.scorecard tbody tr { transition: background .2s ease; }
.scorecard tbody tr:hover { background: #fafbff; }
.scorecard tbody tr:hover .mk.yes { transform: scale(1.12); }
.scorecard .mk { transition: transform .2s cubic-bezier(.2,.7,.1,1); }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: -12px 0 0; font-size: 13px; color: var(--muted); }
.legend .mk { width: 18px; height: 18px; border-radius: 6px; } .legend .mk svg { width: 12px; height: 12px; }
.prose td .mk { margin-right: 6px; }

/* section accent and richer cards */
.prose h2::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; margin-bottom: 14px; background: linear-gradient(90deg, #2f6bff, #6fc3ff); }
.faq h2::before, .related h2::before, .cta h2::before, .sources h2::before, .glance h2::before { display: none; }
.tldr { overflow: hidden; isolation: isolate; box-shadow: 0 24px 50px -32px rgba(44,79,214,.8); }
.tldr::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(111,195,255,.45), transparent 60%); }
.card { position: relative; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(135deg, #9ab7f9, #2f6bff 50%, #6fc3ff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card .k::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: 1px; background: currentColor; }
.card .go { transition: transform .2s ease; } .card:hover .go { transform: translateX(4px); }
.steps li { transition: border-color .2s ease, box-shadow .2s ease; }
.steps li:hover { border-color: #c9d6f6; box-shadow: 0 10px 24px -20px rgba(44,79,214,.6); }

/* copy buttons and reveal-on-scroll (assets/page.js) */
.copy-wrap { position: relative; min-width: 0; }
.copy { position: absolute; top: 8px; right: 8px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08);
  color: #e8ebf2; font: 600 12px "Geist", system-ui, sans-serif; cursor: pointer; transition: background .2s ease; }
.copy:hover { background: rgba(255,255,255,.18); }
.copy.ok { background: #17924f; border-color: #17924f; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.1,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (max-width: 640px) { .art { padding: 10px 6px 4px; border-radius: 18px; } .matchup .side small { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .art .wire, .art .sq, .art .exam, .art .tick, .art .pr { animation: none; }
  .art .sq { fill: var(--pass); } .art .exam { stroke: var(--pass); } .art .tick { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card::before, .card .go, .steps li, .scorecard .mk, .scorecard tbody tr { transition: none; }
}
.tldr code { font-family: var(--mono); font-size: .84em; background: rgba(255,255,255,.18); padding: .1em .4em; border-radius: 6px; word-spacing: -.2em; }
