@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0e0c;
  --surface: #101410;
  --hover: #171e15;
  --ink: #e5e9dd;
  --mut: #99a391;
  --dim: #71806b;
  --acc: #bbef79;
  --line: #2a3327;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

.reading-page { max-width: 920px; }
.reading-page h2, [data-member] h2 { font-size: clamp(22px, 3vw, 30px); }
.evidence-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.evidence-section pre { padding: 24px; background: var(--surface); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.8 var(--mono); }
.evidence-section > .text-link { display: inline-block; margin-bottom: 24px; }
.evidence-section details { margin-top: 24px; }
.evidence-section summary { cursor: pointer; padding-block: 14px; color: var(--acc); }
.local-nav, .member-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.local-nav a, .reading-page p a:not(.btn) { color: var(--acc); text-decoration: underline; text-underline-offset: 4px; }
.completion-check { border: 1px solid var(--line); padding: 20px; }
.completion-check label { display: flex; gap: 14px; align-items: start; margin-block: 14px; }
.completion-check input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--acc); }
.completion-check legend { padding-inline: 8px; }
.member-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.member-form { max-width: 640px; margin-top: 24px; }
.member-form label { display: block; margin-bottom: 18px; }
.member-form input:not(.hp) { width: 100%; display: block; margin-top: 8px; }
.delivery-entry { padding: 28px; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); }
.delivery-state { color: var(--acc); }
.delivery-url, .delivery-entry .muted { overflow-wrap: anywhere; }
.delivery-entry h3 { margin-bottom: 8px; }
.delivery-entry .member-actions { margin-block: 22px; }
.update-entry { margin-top: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.update-entry h3 { font-size: 20px; line-height: 1.4; }
#update-tool { margin-left: 12px; max-width: 100%; padding: 10px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
select:focus-visible, input[type=checkbox]:focus-visible, summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
.run-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 32px 0 8px; padding: 0; }
.run-facts div { border: 1px solid var(--line); background: var(--surface); padding: 14px 16px; }
.run-facts dt { color: var(--mut); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.run-facts dd { margin: 6px 0 0; }
.run-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--surface); margin: 20px 0 12px; }
.evidence-section h3 { margin-top: 32px; font-size: 16px; }
.evidence-section ol, .evidence-section ul { padding-left: 22px; }
.success-preview { margin-top: 36px; padding: 28px; border-left: 3px solid var(--acc); background: var(--surface); }
.success-preview h2 { font-size: 24px; }
.mobile-member-link { display: none; }
@media (max-width: 640px) {
  .mobile-member-link { display: inline; }
  .delivery-entry, .evidence-section pre { padding: 16px; }
  #update-tool { display: block; margin: 10px 0 0; width: 100%; }
  .member-actions .btn { width: 100%; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.7 var(--mono); -webkit-font-smoothing: antialiased; }
::selection { background: var(--acc); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
a:focus-visible, button:focus-visible, input:focus-visible, pre:focus-visible { outline: 2px solid var(--acc); outline-offset: 5px; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.block { padding-block: 78px; }
.accent, .prompt, .brand-arrow { color: var(--acc); }
.dim { color: var(--dim); }
.muted, .trust { color: var(--mut); font-size: 12px; }
.eyebrow { color: var(--mut); font-size: 11px; letter-spacing: .08em; margin-bottom: 24px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--acc); vertical-align: middle; margin-right: 8px; }
.skip { position: fixed; inset: 8px auto auto 16px; transform: translateY(-200%); clip-path: inset(50%); background: var(--acc); color: var(--bg); padding: 10px 20px; z-index: 5; }
.skip:focus { transform: translateY(0); clip-path: none; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 21px; letter-spacing: -.06em; white-space: nowrap; }
.mark { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--acc); width: 33px; height: 29px; margin-right: 7px; font-size: 17px; color: var(--acc); letter-spacing: -.13em; padding-right: 3px; }
nav { display: flex; gap: 30px; }
nav a { color: var(--mut); font-size: 11px; padding-block: 12px; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--acc); }
.nav-cta { border: 1px solid var(--line); padding: 9px 15px; font-size: 11px; }
.nav-cta span { margin-left: 18px; color: var(--acc); }
.nav-cta:hover { border-color: var(--acc); background: var(--hover); }

.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#8ca37926 .65px, transparent .65px); background-size: 20px 20px; opacity: .3; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.13fr 1fr; gap: 60px; align-items: center; padding-block: 82px 72px; }
.hero h1 { margin: 0 0 27px; }
.hero h1 > span:first-of-type { color: var(--acc); }
.cursor { display: inline-block; color: var(--acc); animation: cursor-blink 1.25s step-end 4; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.lead { color: var(--mut); font-size: 14px; line-height: 1.9; max-width: 56ch; margin-bottom: 30px; }
.hero .lead { max-width: 50ch; }
.cta { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 12px 17px; background: var(--acc); color: var(--bg); border: 1px solid var(--acc); font: 12px/1.5 var(--mono); text-decoration: none; cursor: pointer; }
.btn:hover { background: #d2ff9b; border-color: #d2ff9b; }
.btn:active { transform: translateY(1px); }
.btn.ghost { color: var(--ink); background: transparent; border-color: #495540; }
.btn.ghost:hover { background: var(--hover); border-color: var(--acc); color: var(--acc); }
.text-link { font-size: 11px; color: var(--ink); background: none; border: 0; padding: 8px 0; text-underline-offset: 5px; }
.hero-note { color: var(--mut); font-size: 11px; margin: 16px 0 0; }
.hero-note a { color: var(--acc); }
.availability-note { padding: 16px 18px; border: 1px solid var(--line); color: var(--mut); font-size: 11px; margin-bottom: 20px; }
.availability-note a { color: var(--acc); text-decoration: underline; text-underline-offset: 4px; }
.btn[aria-disabled=true], .btn:disabled { background: var(--surface); border-color: var(--line); color: var(--mut); }
.btn:disabled { cursor: not-allowed; }
.sample-tag { font-size: 11px; color: var(--acc); border: 1px solid #435d31; padding: 2px 5px; white-space: nowrap; vertical-align: middle; margin-left: 8px; }
.consent { display: flex; align-items: start; gap: 8px; color: var(--mut); }
.consent input { accent-color: var(--acc); margin-top: 4px; }
.hero-status { display: flex; justify-content: space-between; gap: 20px; position: relative; border-top: 1px solid var(--line); padding-block: 16px; font-size: 11px; color: var(--mut); }
.hero-status .prompt { margin-right: 10px; }
.hero-status .dim { margin-inline: 10px; }

.terminal { min-width: 0; border: 1px solid #46533d; background: var(--surface); box-shadow: 8px 8px 0 #0b0e0c, 9px 9px 0 var(--line); position: relative; }
.terminal::before, .terminal::after { content: "+"; color: var(--acc); position: absolute; font-size: 14px; line-height: 1; background: var(--bg); }
.terminal::before { top: -8px; left: -5px; }
.terminal::after { bottom: -7px; right: -5px; }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--mut); }
.terminal-symbol { color: var(--acc); margin-right: 8px; }
.terminal-label { font-size: 11px; letter-spacing: .07em; }
.terminal-command { font-size: 12px; padding: 20px 20px 16px; }
.terminal-command .prompt { margin-right: 12px; }
.terminal-command > span:last-child { color: var(--mut); }
.editor { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 0 20px 25px; font-size: 11px; line-height: 1.95; position: relative; }
.editor::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, #00000012 3px, #00000012 4px); }
.line-numbers { color: var(--dim); user-select: none; }
.editor pre { margin: 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.editor code { font: inherit; }
.syntax-heading { color: var(--acc); }
.syntax-comment { color: var(--mut); }
.terminal-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 9px 16px; color: var(--mut); font-size: 11px; }
.terminal-bottom button { border: 0; color: var(--acc); background: transparent; font: inherit; padding: 5px 0; }
.terminal-bottom button:hover { color: var(--ink); }

.how-section { display: grid; grid-template-columns: .82fr 3fr; gap: 50px; border-bottom: 1px solid var(--line); }
.section-intro .eyebrow { margin-bottom: 14px; }
h2 { font-size: clamp(22px, 2.15vw, 30px); line-height: 1.35; letter-spacing: -.06em; margin-bottom: 0; }
.section-intro h2 { font-size: 25px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; list-style: none; padding: 0; margin: 0; }
.step-number { display: block; color: var(--acc); font-size: 11px; margin-bottom: 16px; }
.steps h3 { font-size: 13px; margin-bottom: 9px; }
.steps p { color: var(--mut); font-size: 11px; line-height: 1.85; margin-bottom: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.directory-path { color: var(--mut); font-size: 11px; white-space: nowrap; padding-bottom: 5px; }
.library-section { padding-bottom: 10px; }
.library-shell { border: 1px solid var(--line); }
.search-row { display: flex; align-items: center; gap: 18px; padding: 0 23px; background: var(--surface); border-bottom: 1px solid var(--line); }
.search-row label { margin: 0; font-size: 19px; }
.search-row input { width: 100%; min-width: 0; min-height: 64px; font-size: 12px; color: var(--ink); background: none; border: 0; border-radius: 0; padding: 16px 0; }
input::placeholder { color: var(--dim); opacity: 1; }
.search-row:focus-within { outline: 1px solid var(--acc); outline-offset: -1px; }
.search-row input:focus { outline: none; }
kbd { font: 11px var(--mono); color: var(--mut); border: 1px solid #495540; padding: 2px 8px; }
.chips { display: flex; gap: 2px 6px; flex-wrap: wrap; padding: 15px; border-bottom: 1px solid var(--line); }
.chip { font: 11px var(--mono); padding: 10px; min-height: 36px; background: none; color: var(--mut); border: 1px solid transparent; }
.chip span { color: var(--dim); margin-left: 6px; font-size: 11px; }
.chip:hover { color: var(--acc); background: var(--hover); }
.chip[aria-pressed=true] { color: var(--c, var(--acc)); background: color-mix(in oklch, var(--c, var(--acc)) 11%, var(--bg)); border-color: color-mix(in oklch, var(--c, var(--acc)) 45%, var(--bg)); }
.chip[aria-pressed=true] span { color: var(--c, var(--acc)); }
.chip[class*=" t-"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--c); vertical-align: 1px; }
.chip[class*=" t-"]:hover { color: var(--c); }
.chip-sep { width: 1px; margin: 8px 6px; background: var(--line); }
.directory-header { display: grid; grid-template-columns: minmax(0, 1fr) 148px 76px 37px; align-items: center; gap: 22px; padding: 11px 24px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11px; letter-spacing: .08em; }
.directory-header #count { color: var(--mut); letter-spacing: 0; }
.directory-header > span:nth-child(3) { text-align: right; }
.grid { display: grid; }
.card { display: grid; grid-template-columns: 23px 39px minmax(0, 1fr) 148px 76px 37px; gap: 22px; align-items: center; padding: 21px 24px; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: inset 2px 0 var(--c, var(--line)); }
.card:last-child { border-bottom: 0; }
.card:hover { background: color-mix(in oklch, var(--c, var(--acc)) 6%, var(--bg)); }
.card:focus-visible { outline-offset: -3px; }
.file-index { color: var(--dim); font-size: 11px; }
.file-icon { --edge: color-mix(in oklch, var(--c, var(--acc)) 40%, var(--bg)); display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 40px; border: 1px solid var(--edge); color: var(--c, var(--acc)); font-size: 11px; position: relative; }
.file-icon::after { content: ""; position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; background: var(--bg); border-left: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.file-info { min-width: 0; }
.file-info h3 { font-size: 13px; line-height: 1.5; margin: 0 0 5px; transition: color 160ms; }
.line { margin: 0; font-size: 11px; line-height: 1.7; color: var(--mut); max-width: 86ch; }
.file-tool { color: var(--c, var(--mut)); font-size: 11px; }
.file-size { font-size: 12px; color: var(--mut); text-align: right; }
.file-size small { display: block; color: var(--dim); font-size: 11px; line-height: 1.5; }
.file-arrow { font-size: 20px; text-align: right; color: var(--dim); }
.card:hover h3, .card:hover .file-arrow { color: var(--c, var(--acc)); }
.group { display: flex; align-items: baseline; gap: 12px; padding: 16px 24px 12px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--c); font-size: 11px; }
.group .tree { color: var(--dim); }
.group h3 { font-size: 12px; margin: 0; letter-spacing: .02em; }
.group-tools { color: var(--dim); font-size: 11px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-count { margin-left: auto; color: var(--mut); white-space: nowrap; font-size: 11px; }
.top-strip { border: 1px solid var(--line); border-bottom: 0; padding: 16px 24px 18px; }
.top-strip .eyebrow { margin-bottom: 10px; }
.top-strip ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 6px 28px; }
.top-strip a { display: flex; align-items: baseline; gap: 10px; font-size: 11px; padding: 4px 0; }
.top-strip a:hover { color: var(--c, var(--acc)); }
.top-strip .rank { color: var(--c, var(--acc)); font-size: 11px; }
.top-strip .dl { margin-left: auto; color: var(--mut); font-size: 11px; white-space: nowrap; }
.featured { min-width: 0; border: 1px solid color-mix(in oklch, var(--c, var(--acc)) 45%, var(--bg)); background: var(--surface); box-shadow: 8px 8px 0 #0b0e0c, 9px 9px 0 var(--line); }
.featured img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.featured-body { padding: 18px 20px 20px; }
.featured-label { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 11px; margin-bottom: 12px; }
.featured-label span { color: var(--c, var(--acc)); border: 1px solid color-mix(in oklch, var(--c, var(--acc)) 45%, var(--bg)); padding: 2px 6px; font-size: 11px; letter-spacing: .07em; }
.featured h3 { font-size: 17px; letter-spacing: -.04em; margin-bottom: 8px; }
.featured h3 a:hover { color: var(--c, var(--acc)); }
.featured .credit { margin: 12px 0 0; font-size: 11px; color: var(--mut); }
.featured .credit a { color: var(--c, var(--acc)); }
.directory-footer { display: flex; justify-content: space-between; gap: 15px; padding: 13px 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--mut); background: var(--surface); }
.directory-footer > span:last-child { font-size: 11px; letter-spacing: .05em; color: var(--dim); }
.empty { padding: 42px 24px; color: var(--mut); font-size: 12px; }
.empty p { margin-bottom: 8px; }
.empty .text-link { color: var(--acc); }
/* Pills and facet filters (docs/MD-PLAN.md section 7). Colors per class are generated into tools.css by tools/site.py. */
.pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pill { display: inline-block; padding: 0 6px; border: 1px solid transparent; font-size: 11px; line-height: 1.8; letter-spacing: .02em; white-space: nowrap; }
.pill-trust::before { content: "\2713\00a0"; }
.brief-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 0; font-size: 11px; }
.brief-pills .pills { margin: 0; }
.brief-pills .pill { font-size: 11px; }
.legend { list-style: none; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); display: grid; gap: 4px; color: var(--mut); font-size: 11px; }
.legend li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.facets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 10px 15px 14px; border-bottom: 1px solid var(--line); }
.facet { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.facet-label, .facet-none { color: var(--dim); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.facet-none { text-transform: none; letter-spacing: 0; }
.facets .chip { min-height: 30px; padding: 6px 8px; }
.facets .text-link { color: var(--acc); font-size: 11px; background: none; border: 0; padding: 6px 0; }
.public-section, .put-here { margin-top: 32px; max-width: 80ch; }
.public-section h2, .put-here h2 { font-size: 18px; margin-bottom: 10px; }
.public-section ul { padding-left: 20px; color: var(--mut); }
.put-row { border: 1px solid var(--line); padding: 0 16px; margin-top: 6px; }
.put-row summary { cursor: pointer; padding-block: 10px; color: var(--acc); }
.put-row p { font-size: 11px; margin: 0 0 10px; overflow-wrap: anywhere; }
.put-row code { color: var(--ink); }
@media (max-width: 640px) {
  .facets { padding: 9px; gap: 4px 12px; }
  .legend { padding: 12px; }
}

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.plan { padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-code { color: var(--mut); font-size: 11px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 10px; }
.plan-code > span { color: var(--acc); font-size: 11px; letter-spacing: .05em; }
.plan h3 { font-size: 16px; margin-bottom: 12px; letter-spacing: -.04em; }
.price { font-size: 44px; line-height: 1.4; letter-spacing: -.06em; margin-bottom: 22px; white-space: nowrap; }
.price small { font-size: 11px; color: var(--mut); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; color: var(--mut); font-size: 11px; }
.plan li { position: relative; padding-left: 16px; margin-bottom: 13px; }
.plan li::before { content: "+"; position: absolute; left: 0; color: var(--acc); }
.plan.hl { background: #141d10; box-shadow: inset 0 2px var(--acc); }
.plan .btn { width: 100%; font-size: 11px; }
.custom-order { display: flex; justify-content: space-between; align-items: center; gap: 35px; border: 1px solid var(--line); border-top: 0; padding: 28px; }
.custom-order .eyebrow { font-size: 11px; margin-bottom: 9px; }
.custom-order h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: -.04em; }
.custom-order p:last-child { font-size: 11px; color: var(--mut); margin: 0; }
.custom-order > div:last-child { display: flex; flex-direction: column; align-items: end; gap: 8px; white-space: nowrap; }
.custom-price { font-size: 25px; }
.custom-price small { font-size: 11px; color: var(--mut); }
.custom-order .text-link { color: var(--acc); }

footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--mut); font-size: 11px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.7fr auto; gap: 35px; align-items: center; }
footer p { margin: 8px 0 0; }
footer .brand { font-size: 19px; }
footer .brand .cursor { margin-left: -7px; }
footer a[href^="mailto:"] { display: inline-block; color: var(--ink); margin-top: 8px; }
.back-top { white-space: nowrap; }

.brief-heading { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.crumb { display: flex; gap: 16px; color: var(--mut); font-size: 11px; margin-bottom: 45px; flex-wrap: wrap; }
.crumb a { color: var(--acc); }
.brief-heading .eyebrow { display: flex; align-items: center; gap: 16px; }
.brief-heading h1, #thanks h1 { max-width: 1000px; margin-bottom: 22px; }
.brief-heading .lead { max-width: 80ch; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--mut); font-size: 11px; }
.tag { padding: 3px 8px; border: 1px solid var(--line); }
a.tag { color: inherit; text-decoration: none; }
a.tag:hover, a.tag:focus-visible { text-decoration: underline; }
.tag-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.tag[class*=" t-"] { color: var(--c); border-color: color-mix(in oklch, var(--c) 45%, var(--bg)); }
.trust { margin: 24px 0 0; font-size: 11px; }
#gate { padding-top: 40px; }
#gate .eyebrow { margin-bottom: 10px; }
#gate h2 { margin-bottom: 26px; }
.offers { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 1px solid var(--line); }
.offer { display: flex; flex-direction: column; align-items: start; padding: 25px; background: var(--surface); min-width: 0; }
.offer + .offer { border-left: 1px solid var(--line); }
.offer h3 { font-size: 16px; }
.offer p { font-size: 12px; color: var(--mut); }
.offer .price { font-size: 40px; color: var(--ink); }
.offer form { width: 100%; margin-top: 6px; }
.offer > .btn { margin-top: auto; width: 100%; }
label { display: block; margin-bottom: 14px; font-size: 11px; }
input[type=email], input[type=text] { display: block; width: 100%; min-height: 44px; border: 1px solid #45533b; border-radius: 0; background: var(--bg); color: var(--ink); padding: 10px 12px; margin-top: 7px; }
.hp { position: absolute; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }
#free-form .btn { width: 100%; }
#free-msg { margin: 12px 0 0; }
#free-msg a { color: var(--acc); text-decoration: underline; }
.actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.md { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); color: var(--ink); padding: 30px; border: 1px solid var(--line); font: 13px/1.85 var(--mono); max-height: 72dvh; overflow: auto; }
#thanks { min-height: 65dvh; }
#ids a { color: var(--acc); }

@media (min-width: 1500px) {
  .hero-grid { padding-block: 104px 96px; }
}
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 36px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0; }
  .cta { gap: 14px; flex-wrap: wrap; }
  .editor { font-size: 11px; padding-inline: 15px; }
  .terminal-bottom { font-size: 11px; gap: 6px; padding-inline: 12px; }
  .how-section { gap: 28px; }
  .steps { gap: 24px; }
  .card { grid-template-columns: 18px 33px minmax(0, 1fr) 115px 55px 20px; gap: 17px; padding-inline: 20px; }
  .directory-header { grid-template-columns: minmax(0, 1fr) 115px 55px 20px; gap: 17px; padding-inline: 20px; }
  .plan { padding: 22px; }
  .plan-code { flex-wrap: wrap; min-height: 30px; align-content: start; }
}
@media (max-width: 900px) {
  .mobile-member-link { display: inline; }
  .top .wrap { gap: 20px; }
  nav { gap: 22px; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 60px 50px; }
  .hero-copy { max-width: 650px; }
  .hero .eyebrow { font-size: 11px; }
  .hero .lead { max-width: 60ch; }
  .terminal { width: 100%; max-width: 640px; }
  .editor { font-size: 12px; padding-inline: 22px; grid-template-columns: 35px minmax(0, 1fr); }
  .terminal-bottom { font-size: 11px; }
  .hero-status { font-size: 11px; }
  .how-section { grid-template-columns: 1fr; gap: 30px; }
  .section-intro h2 br { display: none; }
  .block { padding-block: 58px; }
  .library-section { padding-bottom: 0; }
  .directory-path { display: none; }
  .card { grid-template-columns: 32px minmax(0, 1fr) 110px 20px; gap: 16px; }
  .file-index, .file-size { display: none; }
  .directory-header { grid-template-columns: minmax(0, 1fr) 110px 20px; gap: 16px; }
  .directory-header > span:nth-child(3) { display: none; }
  .file-info h3 { font-size: 12px; }
  .plan { padding: 20px 16px; }
  .plan h3 { font-size: 14px; }
  .plan ul, .plan .btn { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .back-top { grid-column: 2; grid-row: 1; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer:first-child { grid-column: 1 / -1; }
  .offer:nth-child(2) { border-left: 0; }
  .offer + .offer { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .top .wrap { min-height: 100px; padding-block: 18px 12px; flex-wrap: wrap; gap: 14px; }
  .brand { font-size: 20px; }
  nav { width: 100%; gap: 24px; }
  nav a { font-size: 10px; padding-block: 3px; }
  .hero-grid { padding-block: 43px 38px; gap: 36px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 24px; }
  .hero h1 { margin-bottom: 23px; }
  .hero .lead { font-size: 12px; line-height: 1.95; margin-bottom: 22px; }
  .cta { gap: 14px; margin-top: 20px; }
  .cta .btn { font-size: 11px; padding-inline: 14px; gap: 10px; }
  .cta .text-link { font-size: 11px; }
  .hero-note { font-size: 11px; }
  .terminal { box-shadow: 4px 4px 0 #0b0e0c, 5px 5px 0 var(--line); }
  .terminal-bar { font-size: 11px; padding: 12px; gap: 8px; }
  .terminal-label { font-size: 11px; }
  .terminal-command { font-size: 11px; padding: 17px 12px; }
  .editor { font-size: 11px; grid-template-columns: 25px minmax(0, 1fr); padding: 0 12px 20px; }
  .terminal-bottom { font-size: 11px; padding: 8px 10px; }
  .terminal-bottom .status-dot { width: 4px; height: 4px; margin-right: 4px; }
  .hero-status { flex-direction: column; gap: 8px; font-size: 11px; padding-block: 17px; }
  .hero-status .dim { margin-inline: 7px; }
  .block { padding-block: 42px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .steps li { display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 0 14px; }
  .step-number { grid-row: 1 / 3; margin: 0; padding-top: 1px; }
  .steps p { grid-column: 2; max-width: 44ch; }
  .steps h3 { margin-bottom: 6px; }
  .section-intro h2 { font-size: 24px; }
  .section-heading { margin-bottom: 24px; }
  h2 { font-size: 24px; max-width: 26ch; }
  .library-section { padding-bottom: 0; }
  .search-row { padding-inline: 13px; gap: 12px; }
  .search-row input { font-size: 11px; min-height: 55px; }
  .search-row kbd { display: none; }
  .chips { padding: 9px; gap: 2px; }
  .chip { padding: 8px; font-size: 11px; }
  .chip span { font-size: 11px; margin-left: 3px; }
  .directory-header { display: block; padding: 11px 14px; }
  .directory-header > span:not(:first-child) { display: none; }
  .card { grid-template-columns: 27px minmax(0, 1fr) 15px; gap: 7px 12px; padding: 18px 13px; }
  .card .file-icon { grid-column: 1; grid-row: 1; width: 25px; height: 31px; font-size: 11px; align-self: start; margin-top: 2px; }
  .file-info { grid-column: 2; }
  .file-info h3 { font-size: 12px; }
  .line { font-size: 11px; }
  .file-tool { grid-column: 2; font-size: 11px; }
  .group { padding: 14px 13px 10px; flex-wrap: wrap; gap: 4px 10px; }
  .group-tools { display: none; }
  .top-strip { padding: 14px 13px 16px; }
  .file-arrow { grid-column: 3; grid-row: 1; align-self: start; font-size: 17px; }
  .directory-footer { padding-inline: 13px; font-size: 11px; }
  .directory-footer > span:last-child { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan-code { min-height: 0; margin-bottom: 22px; }
  .plan h3 { font-size: 18px; }
  .plan ul { font-size: 11px; }
  .plan .btn { font-size: 12px; }
  .custom-order { padding: 24px; align-items: start; flex-direction: column; gap: 22px; }
  .custom-order > div:last-child { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .custom-order h3 { font-size: 16px; }
  .custom-order p:last-child { font-size: 11px; }
  .footer-grid { gap: 15px; }
  footer { padding-block: 28px; font-size: 11px; }
  .brief-heading { padding-top: 32px; }
  .crumb { font-size: 11px; margin-bottom: 30px; }
  .brief-heading .lead { font-size: 12px; }
  .trust { font-size: 11px; line-height: 2; }
  .offers { grid-template-columns: 1fr; }
  .offer + .offer { border-left: 0; }
  .offer { padding: 23px; }
  .offer .btn { margin-top: 16px; }
  .md { padding: 18px; font-size: 11px; }
  .actions { gap: 10px; }
  .actions .btn { font-size: 11px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.legal h1 { margin-bottom: 30px; }
.legal h2 { font-size: 18px; margin: 42px 0 14px; color: var(--acc); }
.legal p, .legal li { color: var(--mut); font-size: 14px; line-height: 1.9; max-width: 82ch; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal strong { color: var(--ink); font-weight: 400; }
.legal-links { display: flex; gap: 20px; }
footer .legal-links a { color: var(--mut); text-decoration: underline; text-underline-offset: 3px; }

.batch-link { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; font-size: 11px; margin-bottom: 24px; }
.batch-link span { color: var(--mut); }
.batch-main { min-height: 65dvh; }
.batch-main h1 { margin-bottom: 22px; }
.batch-main .trust { margin-bottom: 30px; }
.batch-index, .batch-list { padding: 0; margin: 0; list-style: none; border: 1px solid var(--line); }
.batch-index li + li, .batch-list li + li { border-top: 1px solid var(--line); }
.batch-index a { display: flex; align-items: center; gap: 24px; padding: 24px; font-size: 13px; }
.batch-index a strong { flex: 1; font-weight: 400; }
.batch-index a span { color: var(--mut); }
.batch-index a:hover, .batch-card:hover { background: var(--hover); }
.batch-index a:focus-visible, .batch-card:focus-visible { outline-offset: -3px; }
.batch-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) 148px 25px; align-items: center; gap: 22px; padding: 24px; box-shadow: inset 2px 0 var(--c, var(--line)); }
.batch-priority { color: var(--mut); font-size: 11px; }
.batch-card h2 { font-size: 14px; line-height: 1.6; letter-spacing: 0; max-width: none; margin: 0 0 5px; }
.batch-card:hover h2, .batch-card:hover .file-arrow { color: var(--c, var(--acc)); }
.batch-nav { width: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.batch-nav a { color: var(--acc); }

/* Acquisition follows the existing terminal identity and square control shapes. */
.hero-grid { padding-block: 62px; gap: 48px; }
.hero-purchase { color: var(--mut); font-size: 11px; line-height: 1.9; margin: 27px 0 0; }
.hero-purchase a:hover { color: var(--acc); }
.mobile-interest-link { display: none; }
.interest-body { padding: 26px; }
.interest-body h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.35; letter-spacing: -.05em; margin-bottom: 14px; }
.interest-body > p { color: var(--mut); font-size: 12px; margin-bottom: 22px; }
.interest-body form .btn { width: 100%; }
.interest-body .consent { font-size: 11px; line-height: 1.65; margin: 15px 0 19px; }
.interest-body .consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; }
.form-note { color: var(--mut); font-size: 11px; margin: 12px 0 0; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-message { font-size: 11px; line-height: 1.8; color: var(--acc); margin: 16px 0 0; overflow-wrap: anywhere; }
.form-message:empty { display: none; }
#interest-success { font-size: 12px; margin-top: 22px; }
.sample-next { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.sample-next:hover { color: var(--acc); }
.sample-next span { color: var(--acc); }
.sample-section { padding-bottom: 28px; }
.sample-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.sample-link { padding: 28px; background: var(--surface); }
.sample-link + .sample-link { border-left: 1px solid var(--line); }
.sample-link:hover { background: var(--hover); }
.sample-code { display: block; color: var(--acc); font-size: 11px; margin-bottom: 18px; }
.sample-link h3 { font-size: 18px; line-height: 1.5; letter-spacing: -.025em; margin-bottom: 12px; }
.sample-link p { font-size: 12px; color: var(--mut); max-width: 54ch; margin-bottom: 18px; }
.sample-link .text-link { color: var(--acc); }
.sample-context { font-size: 11px; line-height: 1.8; color: var(--mut); max-width: 95ch; margin: 18px 0 0; }
.sample-section .featured { margin-top: 30px; max-width: 520px; }
.pricing-followup { font-size: 11px; color: var(--mut); margin: 24px 0 0; }
.pricing-followup a { color: var(--acc); text-underline-offset: 4px; }
.pricing-followup a:hover { text-decoration: underline; }
.feedback-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-top: 1px solid var(--line); }
.feedback-section h2, .brief-interest h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.4; letter-spacing: -.05em; margin-bottom: 18px; }
select, textarea { display: block; width: 100%; min-height: 44px; border: 1px solid #45533b; border-radius: 0; background: var(--bg); color: var(--ink); padding: 10px 12px; margin-top: 7px; font: 11px/1.7 var(--mono); }
textarea { resize: vertical; }
textarea::placeholder { color: var(--mut); opacity: 1; }
select:focus-visible, textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 5px; }
.sample-followup { display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--line); padding: 24px; margin-top: 24px; }
.sample-followup h3 { font-size: 16px; margin-bottom: 8px; }
.sample-followup p { font-size: 12px; color: var(--mut); margin-bottom: 4px; }
.sample-followup .btn { white-space: nowrap; }
.brief-interest { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.campaign-list { border: 1px solid var(--line); }
.campaign-brief { display: grid; grid-template-columns: 33px minmax(0, 1fr) 20px; gap: 24px; padding: 24px; align-items: center; box-shadow: inset 2px 0 var(--c, var(--line)); }
.campaign-brief + .campaign-brief { border-top: 1px solid var(--line); }
.campaign-brief:hover { background: var(--hover); }
.campaign-brief h3 { font-size: 14px; margin-bottom: 6px; }
.campaign-brief p { font-size: 11px; color: var(--mut); margin-bottom: 7px; }
.sample-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.campaign-access { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.campaign-access .availability-note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 900px) {
  .hero-grid { gap: 28px; padding-block: 44px; }
  .hero .interest-panel { max-width: 650px; }
  .mobile-interest-link { display: inline-block; color: var(--acc); margin-top: 8px; }
  .feedback-section, .brief-interest { gap: 30px; }
  .hero-purchase { margin-top: 12px; }
}
@media (max-width: 600px) {
  .hero-grid { padding-block: 30px; gap: 24px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 16px; }
  .hero .lead { margin-bottom: 16px; }
  .hero .cta { margin-top: 16px; gap: 8px 15px; }
  .hero-note { margin-top: 10px; }
  .hero-purchase { font-size: 11px; margin-top: 10px; }
  .interest-body { padding: 22px 19px; }
  .interest-body h2 { font-size: 26px; }
  .interest-body h2 br { display: none; }
  .interest-body > p { margin-bottom: 16px; font-size: 11px; }
  .sample-links { grid-template-columns: 1fr; }
  .sample-link { padding: 23px; }
  .sample-link + .sample-link { border-left: 0; border-top: 1px solid var(--line); }
  .sample-link h3 { font-size: 16px; }
  .sample-link p { font-size: 11px; }
  .feedback-section, .brief-interest { grid-template-columns: 1fr; gap: 24px; }
  .feedback-section h2 br, .brief-interest > div h2 br { display: none; }
  .sample-followup { align-items: start; flex-direction: column; padding: 20px; gap: 18px; }
  .sample-followup .btn { width: 100%; font-size: 11px; white-space: normal; }
  .campaign-brief { padding: 20px 16px; gap: 15px; }
  .campaign-access { grid-template-columns: 1fr; }
  .campaign-access > .btn { justify-self: start; }
}
@media (max-width: 600px) {
  .top nav { gap: 16px; flex-wrap: wrap; }
  .batch-link { gap: 8px; font-size: 11px; }
  .batch-index a { padding: 18px 13px; gap: 12px; font-size: 11px; }
  .batch-card { grid-template-columns: 25px minmax(0, 1fr) 15px; padding: 18px 13px; gap: 7px 12px; }
  .batch-card h2 { font-size: 12px; }
  .batch-card .file-tool { grid-column: 2; }
  .batch-card .file-arrow { grid-column: 3; grid-row: 1; }
}

/* Task workflows use ordered, outcome-led navigation. */
.starting-points h2 { margin-bottom: 28px; }
.audience-path { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 25px 0; border-top: 1px solid var(--line); }
.audience-path h3 { font-size: 17px; margin-bottom: 9px; }
.audience-path p { max-width: 72ch; font-size: 12px; color: var(--mut); margin: 0; }
.audience-path .text-link { color: var(--acc); font-size: 12px; }
.membership-value { max-width: 80ch; margin-bottom: 28px; color: var(--mut); font-size: 14px; line-height: 1.9; }
.plan .plan-fit { font-size: 11px; line-height: 1.7; color: var(--mut); margin: 12px 0 18px; }
.buying-questions { margin-top: 36px; max-width: 900px; }
.buying-questions details { border-top: 1px solid var(--line); padding: 19px 0; }
.buying-questions summary { cursor: pointer; font-size: 14px; }
.buying-questions summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 5px; }
.buying-questions p { font-size: 12px; color: var(--mut); max-width: 85ch; margin: 15px 0 0; line-height: 1.9; }
@media (max-width: 900px) {
  .audience-path { grid-template-columns: 1fr; gap: 14px; }
}
#video-form { margin-top: 20px; min-width: 0; }
#video-form label { display: block; margin-bottom: 16px; }
#video-form input:not(.hp) { display: block; width: 100%; margin-top: 8px; }
#video-form [hidden] { display: none; }
#video-msg { margin-top: 14px; }
#video-to-md > div:last-child { flex-direction: column; align-items: stretch; white-space: normal; min-width: min(280px, 100%); }
#video-form input:not(.hp) { box-sizing: border-box; padding: 12px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); font: inherit; }
.top nav { flex-wrap: wrap; gap: 12px 20px; }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 30px; }
.workflow-card { display: flex; flex-direction: column; padding: 28px 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.workflow-card:nth-child(odd) { border-right: 1px solid var(--line); }
.workflow-card:hover { background: var(--hover); }
.workflow-card h3 { font-size: 20px; line-height: 1.4; margin-bottom: 14px; }
.workflow-card p { font-size: 12px; color: var(--mut); line-height: 1.8; margin-bottom: 20px; }
.workflow-card .text-link { margin-top: auto; }
.workflow-detail { max-width: 1000px; }
.workflow-detail h2 { font-size: 23px; margin: 40px 0 18px; }
.workflow-detail p, .workflow-detail li { line-height: 1.9; font-size: 14px; }
.workflow-detail p { max-width: 76ch; margin-bottom: 16px; }
.workflow-detail ul, .workflow-steps { padding-left: 26px; }
.workflow-steps li { padding: 12px 0; }
.workflow-steps h3 { font-size: 16px; color: var(--acc); }
.workflow-detail .kickoff { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.workflow-detail a:not(.btn) { color: var(--acc); }
@media (max-width: 700px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card:nth-child(odd) { border-right: 0; }
  .workflow-card { padding: 24px 16px; }
  .workflow-detail h1 { overflow-wrap: anywhere; }
}

/* /check/ (tools/check_page.py, assets/check.js) */
.check-form label, .check-signup > label:not(.consent) { display: block; margin-bottom: 18px; }
.check-form input[type=file] { display: block; margin-top: 7px; color: var(--mut); max-width: 100%; }
.check-signup { max-width: 640px; }
.check-signup .consent { margin: 15px 0 19px; }
.check-findings { padding-left: 22px; }
.check-findings li { margin-top: 16px; overflow-wrap: anywhere; }
.check-findings strong { text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.finding-error strong { color: #ff9b8f; }
.finding-warn strong { color: #e8c872; }
/* The library is the landing page: one search, one filter panel, persistent selections. */
.library-section { padding-block: 46px 36px; }
.library-intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 28px; }
.library-intro .eyebrow { margin-bottom: 12px; }
.library-intro h1 { margin: 0 0 14px; text-wrap: balance; }
.library-intro p:last-child { color: var(--mut); font-size: 13px; margin: 0; max-width: 68ch; }
.library-intro p a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.library-helpers { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 0 0 20px; font-size: 11px; color: var(--mut); }
.library-helpers a { padding-block: 5px; color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.library-shell .search-row input { font-size: 15px; min-height: 62px; }
.library-shell .search-row input::placeholder { color: var(--mut); }
.library-controls { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.filter-drop > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 44px; border: 1px solid var(--line); font-size: 12px; }
.filter-drop > summary::-webkit-details-marker { display: none; }
.filter-drop > summary:hover, .filter-drop[open] > summary { color: var(--acc); border-color: var(--acc); background: var(--surface); }
#filter-count { font-size: 11px; color: var(--acc); }
.filter-panel { position: absolute; z-index: 3; left: -1px; right: -1px; top: 100%; max-height: min(64dvh, 650px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid var(--acc); background: var(--surface); box-shadow: 0 20px 40px #0b0e0cbb; }
.filter-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.filter-panel h2 { font-size: 18px; letter-spacing: -.02em; }
.filter-panel h3 { font-size: 12px; margin-bottom: 8px; color: var(--mut); }
.filter-panel .text-link, .active-filter-clear { border: 0; padding: 10px 4px; background: none; color: var(--acc); font: 11px var(--mono); }
.filter-panel .chips { padding: 0 0 22px; gap: 6px; }
.filter-panel .chip { min-height: 40px; font-size: 11px; padding: 8px 10px; border-color: var(--line); }
.filter-panel .chip-sep { display: none; }
.filter-panel .facets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; padding: 24px 0; border: 0; }
.filter-panel .facet { gap: 6px; }
.filter-panel .facet-label { flex-basis: 100%; color: var(--mut); text-transform: none; font-size: 12px; letter-spacing: 0; margin-bottom: 3px; }
.filter-panel .legend-drop { margin: 0; }
.sort-label { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--mut); font-size: 11px; }
#sort { min-height: 44px; max-width: 180px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: 8px 30px 8px 12px; font: 12px var(--mono); }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.active-filter { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 7px 11px; border: 1px solid var(--acc); color: var(--acc); background: var(--hover); font: 11px var(--mono); text-align: left; }
.active-filter:hover { background: var(--acc); color: var(--bg); }
.library-shell .directory-header { display: flex; gap: 20px; padding: 14px 24px; font-size: 11px; letter-spacing: 0; }
.library-shell .directory-header #count { margin-right: auto; }
.directory-header a { color: var(--mut); }
.directory-header a:hover { color: var(--acc); }
.library-shell .card { grid-template-columns: 30px minmax(0, 1fr) 130px 70px 20px; padding-block: 20px; gap: 20px; }
.library-shell .file-index { display: none; }
.library-shell .file-info h3 { font-size: 15px; line-height: 1.5; margin-bottom: 7px; }
.library-shell .line { font-size: 12px; line-height: 1.75; max-width: 85ch; }
.library-shell .pills { margin-top: 10px; }
.library-shell .pill { font-size: 11px; }
.library-shell .group { padding-block: 12px; }
.library-shell .group-tools { display: none; }
.library-shell .more-row { margin: 0; padding: 20px; text-align: center; }
.pricing-section { border-top: 1px solid var(--line); padding-block: 48px; }
.brief-heading { padding-block: 32px 0; border-bottom: 0; }
.brief-heading .crumb { margin-bottom: 24px; }
.brief-heading h1 { max-width: 1000px; margin-bottom: 16px; }
.brief-heading .lead { font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.brief-main #gate { padding-block: 24px 48px; }
.brief-main .md { max-height: none; }
@media (max-width: 1000px) {
  .library-intro { align-items: flex-start; }
  .library-shell .card { grid-template-columns: 28px minmax(0, 1fr) 110px 20px; gap: 15px; }
  .library-shell .file-size { display: none; }
}
@media (max-width: 700px) {
  .library-section { padding-top: 28px; }
  .library-intro { display: block; margin-bottom: 24px; }
  .library-intro p:last-child { font-size: 12px; max-width: 40ch; line-height: 1.8; }
  .library-shell .search-row { padding-inline: 14px; gap: 10px; }
  .library-shell .search-row input { font-size: 16px; min-height: 60px; }
  .library-controls { padding: 9px 12px; gap: 8px; }
  .filter-drop > summary { padding: 9px 11px; }
  .sort-label { gap: 6px; }
  #sort { font-size: 11px; max-width: 150px; padding-left: 9px; }
  .filter-panel { padding: 18px 14px; max-height: 60dvh; }
  .filter-panel .facets { grid-template-columns: 1fr; }
  .filter-panel .chip { min-height: 44px; }
  .filter-panel-heading h2 { font-size: 15px; }
  .active-filters { padding: 12px; gap: 8px; }
  .active-filter { min-height: 44px; font-size: 11px; }
  .library-shell .directory-header { gap: 10px; padding: 12px; font-size: 11px; }
  .library-shell .card { grid-template-columns: minmax(0, 1fr) 18px; gap: 8px 12px; padding: 18px 14px; }
  .library-shell .file-icon { display: none; }
  .library-shell .file-info { grid-column: 1; grid-row: 1; }
  .library-shell .file-info h3 { font-size: 14px; }
  .library-shell .line { font-size: 12px; }
  .library-shell .file-tool { grid-column: 1; grid-row: 2; font-size: 11px; }
  .library-shell .file-arrow { grid-column: 2; grid-row: 1; }
  .library-shell .sample-tag { display: inline-block; margin-left: 0; }
  .library-shell .group { padding-inline: 14px; }
  .brief-main .md { padding: 18px; font-size: 12px; }
  .brief-heading .lead { font-size: 13px; }
}
/* The email capture at the top of the homepage, and the brief page's email-then-plans gate (2026-10-15). */
.library-entry { flex: 0 1 400px; min-width: 0; font-size: 11px; }
.library-entry label, .get-form label[for=get-email] { margin-bottom: 8px; }
.get-row { display: flex; }
.get-row input[type=email] { margin-top: 0; min-width: 0; flex: 1; }
.get-row .btn { flex-shrink: 0; }
.library-entry .consent, .get-form .consent { margin: 10px 0 0; font-size: 11px; }
.library-entry .form-message { margin: 8px 0 0; font-size: 11px; }
.library-entry .sample-next { display: block; padding-block: 4px; color: var(--acc); }
.entry-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0 0; }
.get-form { max-width: 560px; margin-bottom: 24px; }
#get-msg { margin: 10px 0 0; font-size: 11px; }
#gate h2 { font-size: 20px; margin-bottom: 16px; }
#open .put-here { margin: 0 0 24px; }
.brief-tags { padding-bottom: 32px; }
@media (max-width: 700px) {
  .library-entry { margin-top: 20px; }
}
/* Readable and reachable (2026-10-16): text is 11px at the least (the top tabs keep theirs), links and checkboxes
   are tall enough to tap, and on a phone the library starts on the first screen. */
footer a, .crumb a, .directory-header a, .pricing-followup a { display: inline-block; padding-block: 5px; }
.local-nav a { font-size: 11px; padding-block: 5px; }  /* section links on /success/; the generic phone `nav a` rule is for the tabs */
.buying-questions summary { padding-block: 4px; }
.consent { min-height: 24px; }
.consent input { width: 18px; height: 18px; margin-top: 0; flex-shrink: 0; }
@media (max-width: 700px) {
  .library-helpers { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .library-helpers::-webkit-scrollbar { display: none; }
}

/* Every page headline matches the homepage's, with its blinking _ (Ricky, 2026-10-16: "MAKE THEM ALL THE SAME SIZE AND
   STYLE. YES, LIKE THE HOMEPAGE WITH THE BLINKING _"). Margins stay per page. */
main h1 { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.25; letter-spacing: -.055em; text-wrap: balance; }
main h1::after { content: "_"; content: "_" / ""; color: var(--acc); animation: cursor-blink 1.25s step-end 4; }
.section-heading h1 { margin-bottom: 0; }  /* /pricing/ and /try/ titles were h2s here */
@media (max-width: 1000px) { main h1 { font-size: 32px; } }
@media (max-width: 700px) { main h1 { font-size: clamp(26px, 6.8vw, 36px); } }
