/*
 * dirpush.com. Dark-first, one accent (acid lime = "dofollow" in the data), system fonts only.
 * Shape rule: cards 14px, controls 10px, pills/chips fully round. Nothing else.
 */
:root {
  color-scheme: dark light;
  --bg: #0c0d0b;
  --bg-2: #121410;
  --panel: #161814;
  --line: #262922;
  --line-2: #33372d;
  --ink: #ecebe6;
  --ink-2: #b5b6ad;
  --dim: #7f8277;
  --accent: #d4ff3a;
  --accent-ink: #12160a;
  --accent-soft: rgb(212 255 58 / 0.12);
  --amber: #f2b33d;
  --amber-soft: rgb(242 179 61 / 0.14);
  --nof: #5c6056;
  --red: #ff7a66;
  --red-soft: rgb(255 122 102 / 0.13);
  --blue: #8fc8ff;
  --blue-soft: rgb(143 200 255 / 0.12);
  --sans: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-card: 14px;
  --r-ctl: 10px;
  font: 16px/1.6 var(--sans);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f3;
    --bg-2: #efefeb;
    --panel: #ffffff;
    --line: #e2e2dc;
    --line-2: #d3d3cb;
    --ink: #151612;
    --ink-2: #44463f;
    --dim: #6d6f66;
    --accent: #c6f432;
    --accent-ink: #11150a;
    --accent-soft: rgb(120 170 0 / 0.12);
    --amber: #d18f12;
    --amber-soft: rgb(209 143 18 / 0.13);
    --nof: #a6a89e;
    --red: #c23b26;
    --red-soft: rgb(194 59 38 / 0.1);
    --blue: #1f6aa8;
    --blue-soft: rgb(31 106 168 / 0.1);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
code, kbd { font-family: var(--mono); font-size: 0.86em; }
p code, li code, aside code { background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.shell { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: var(--r-ctl); z-index: 30; }
.skip:focus { transform: none; }

/* ---- install command (the one primary CTA) ---- */
.install { display: inline-flex; align-items: center; gap: 12px; font: 500 15px var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 12px 12px 12px 16px; cursor: pointer; transition: border-color 0.2s, transform 0.15s var(--ease); }
.install code { font-size: 15px; }
.install .prompt { color: var(--dim); }
.install:hover { border-color: var(--accent); }
.install:active { transform: scale(0.98); }
.copy-label { font: 600 12px var(--sans); color: var(--accent-ink); background: var(--accent); border-radius: 7px; padding: 6px 10px; display: grid; }
.copy-label > span { grid-area: 1 / 1; transition: opacity 0.2s; }
.copy-label .c2, .install.copied .c1 { opacity: 0; }
.install.copied .c2 { opacity: 1; }
.install.big { padding: 15px 15px 15px 20px; font-size: 17px; }
.install.big code { font-size: 17px; }
.link-arrow { color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; font-family: inherit; }
.link-arrow::after { content: "  →"; transition: margin 0.2s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { margin-left: 4px; }
.btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: var(--r-ctl); background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform 0.15s var(--ease), filter 0.2s; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.98); }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; padding: 72px 0 64px; min-height: min(760px, calc(100dvh - 64px)); }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; }
.hero h1 em { font-style: italic; color: var(--accent); padding-right: 0.06em; }
@media (prefers-color-scheme: light) { .hero h1 em { color: var(--ink); background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); } }
.hero-sub { color: var(--ink-2); font-size: 19px; line-height: 1.5; max-width: 34ch; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }

/* the map: 483 directories, one tile each */
.map { margin: 0; position: relative; padding: 22px; border-radius: var(--r-card); background: radial-gradient(120% 90% at 70% 0%, var(--accent-soft), transparent 60%), var(--panel); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.5); }
.map-grid { display: grid; grid-template-columns: repeat(23, 1fr); gap: 3px; }
.tile { aspect-ratio: 1; border-radius: 3px; display: block; transition: transform 0.25s var(--ease), box-shadow 0.25s; position: relative; }
.t-dofollow.tile, .sw.t-dofollow { background: var(--accent); }
.t-mixed.tile, .sw.t-mixed { background: var(--amber); }
.t-nofollow.tile, .t-ugc.tile, .t-sponsored.tile, .sw.t-nofollow { background: var(--nof); }
.t-unknown.tile { background: radial-gradient(circle, var(--line-2) 0 1.6px, transparent 2.2px); }
.sw.t-unknown { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.t-unknown.tile:hover, .t-unknown.tile:focus-visible { background: var(--line-2); }
.tile:hover, .tile:focus-visible { transform: scale(1.9); z-index: 2; box-shadow: 0 0 0 2px var(--bg), 0 6px 16px rgb(0 0 0 / 0.35); outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: pop 0.5s var(--ease) both; animation-delay: calc(var(--i) * 2.2ms + 150ms); }
  @keyframes pop { from { opacity: 0; transform: scale(0.2); } }
}
.map figcaption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin-top: 18px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend b { font: 600 13px var(--mono); color: var(--ink); }
.sw { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
/* Fixed box, one line each: hovering never changes the caption's size (no layout shift). */
.map-hover { text-align: right; height: 42px; width: 240px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.map-hover > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-name { font: 650 15px var(--display); letter-spacing: -0.01em; }
.mh-meta { font-size: 12px; color: var(--dim); }

/* ---- facts ---- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 36px 28px 34px 0; display: flex; flex-direction: column; gap: 10px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact b { font: 800 clamp(44px, 5vw, 68px)/0.9 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.fact span { color: var(--ink-2); font-size: 15px; max-width: 22ch; }
.fact.accent b { color: var(--accent); }
@media (prefers-color-scheme: light) { .fact.accent b { color: var(--ink); text-decoration: underline 0.12em var(--accent); text-underline-offset: 0.08em; } }

/* ---- claims vs measured ---- */
.truth { padding: 128px 0 40px; }
.truth-head { max-width: 760px; }
.truth h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; }
.dim { color: var(--dim); }
.truth-head p { color: var(--ink-2); font-size: 17px; max-width: 58ch; margin-top: 20px; }
.receipts { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; margin-top: 48px; }
.receipts .receipt:first-child { grid-row: span 2; }
.receipt { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); text-decoration: none; position: relative; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.25s; }
.receipt::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.receipt:hover { transform: translateY(-4px); border-color: var(--line-2); }
.receipt-name { font: 750 22px/1.1 var(--display); letter-spacing: -0.03em; margin-top: 4px; }
.receipt-host { font: 13px var(--mono); color: var(--dim); margin-bottom: 14px; }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.receipt-row b { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.receipt-row .said { color: var(--ink); text-decoration: line-through 1.5px var(--red); }
.receipt-row .got.t-nofollow { color: var(--red); }
.receipt-row .got.t-dofollow { color: var(--accent); }
@media (prefers-color-scheme: light) { .receipt-row .got.t-dofollow { color: #4d7a00; } }
.receipt-quote { margin-top: auto; padding-top: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.receipts .receipt:first-child .receipt-name { font-size: 32px; }
.receipts .receipt:first-child .receipt-quote { font-size: 17px; color: var(--ink); }

/* ---- how it works: sticky title, scrolling verbs ---- */
.how { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; padding: 128px 0; align-items: start; }
.how-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.how h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 800; }
.how-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.how-steps li { padding: 34px 0 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; }
.how-steps li:last-child { border-bottom: 1px solid var(--line); }
.how-steps h3 { font-size: 40px; letter-spacing: -0.045em; font-weight: 800; line-height: 1; transition: color 0.3s; }
.how-steps li:hover h3 { color: var(--accent); }
@media (prefers-color-scheme: light) { .how-steps li:hover h3 { color: var(--ink); text-decoration: underline 0.1em var(--accent); } }
.how-steps p { color: var(--ink-2); font-size: 16px; }

/* ---- dashboard shot ---- */
.shot-wrap { padding: 40px 0 128px; overflow: hidden; }
.shot-h { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.045em; line-height: 1.04; font-weight: 800; max-width: 16ch; }
.shot-sub { color: var(--ink-2); font-size: 17px; max-width: 56ch; margin-top: 18px; }
.shot { margin-top: 56px; perspective: 1800px; }
.shot img { width: 100%; height: auto; display: block; border-radius: var(--r-card); border: 1px solid var(--line-2); box-shadow: 0 60px 120px -50px rgb(0 0 0 / 0.65), 0 0 0 8px color-mix(in srgb, var(--panel) 70%, transparent); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .shot img { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; transform-origin: 50% 0; }
    @keyframes tilt { from { transform: rotateX(22deg) scale(0.92); opacity: 0.4; } to { transform: none; opacity: 1; } }
  }
}

/* ---- finder ---- */
.finder { padding: 40px 0 140px; }
.finder h2 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.055em; font-weight: 800; line-height: 1; }
.finder-form { display: flex; gap: 10px; margin-top: 32px; max-width: 760px; }
.finder-form input { flex: 1; font: 500 20px var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 18px 20px; }
.finder-form input::placeholder { color: var(--dim); }
.finder-form input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.finder-form button { font: 650 16px var(--sans); padding: 0 26px; border: 0; border-radius: var(--r-ctl); background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.finder-form button:active { transform: scale(0.98); }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quick a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: border-color 0.2s, color 0.2s, transform 0.15s var(--ease); }
.quick a b { font: 600 12px var(--mono); color: var(--dim); }
.quick a:hover { border-color: var(--accent); color: var(--ink); }
.quick a:active { transform: scale(0.97); }

/* ---- reveal ---- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  [data-reveal].in { opacity: 1; transform: none; }
  .receipts [data-reveal]:nth-child(2) { transition-delay: 70ms; }
  .receipts [data-reveal]:nth-child(3) { transition-delay: 140ms; }
  .receipts [data-reveal]:nth-child(4) { transition-delay: 210ms; }
  .receipts [data-reveal]:nth-child(5) { transition-delay: 280ms; }
  .receipts [data-reveal]:nth-child(6) { transition-delay: 350ms; }
  .facts .fact:nth-child(2) { transition-delay: 80ms; }
  .facts .fact:nth-child(3) { transition-delay: 160ms; }
  .facts .fact:nth-child(4) { transition-delay: 240ms; }
}

/* ---- directory index ---- */
.list-head { padding: 72px 0 28px; }
.list-head h1 { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; max-width: 14ch; }
.count-big { color: var(--accent); }
@media (prefers-color-scheme: light) { .count-big { color: var(--ink); text-decoration: underline 0.1em var(--accent); text-underline-offset: 0.06em; } }
.list-head .hero-sub { max-width: 60ch; }
.list { padding-bottom: 120px; }
.toolbar { position: sticky; top: 84px; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 10px 0; }
/* Docked under the header: an opaque strip from the top of the viewport to the bar's bottom edge, so rows
   disappear cleanly behind the header and the filters instead of peeking through the gap between them. */
.toolbar::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); width: 100vw; top: -84px; bottom: 0; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.toolbar.stuck::before { opacity: 1; }
.search { position: relative; flex: 1 1 auto; min-width: 200px; }
.search input { width: 100%; font: 15px var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 11px 40px 11px 14px; }
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search kbd { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font-size: 12px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.toolbar-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.toolbar select { font: 14px var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 9px 12px; }
.count { font: 13px var(--mono); color: var(--dim); white-space: nowrap; }
.reset { font: 500 13px var(--sans); color: var(--ink-2); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.reset:hover { color: var(--ink); }
.table-wrap { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 500 12px var(--sans); color: var(--dim); padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; }
th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
th button::after { content: " ↕"; opacity: 0.35; }
th[aria-sort="ascending"] button::after { content: " ↑"; opacity: 1; color: var(--ink); }
th[aria-sort="descending"] button::after { content: " ↓"; opacity: 1; color: var(--ink); }
td { padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--bg-2); }
.c-name a { display: flex; flex-direction: column; text-decoration: none; padding: 10px 0; }
.row-name { font: 650 15px var(--display); letter-spacing: -0.01em; }
.row-sub { font-size: 12px; color: var(--dim); }
tbody tr:hover .row-name { color: var(--accent); }
@media (prefers-color-scheme: light) { tbody tr:hover .row-name { color: var(--ink); text-decoration: underline 2px var(--accent); text-underline-offset: 3px; } }
.c-dim { color: var(--ink-2); }
.c-num { text-align: right; font: 13px var(--mono); color: var(--dim); white-space: nowrap; }
th.c-num { font-family: var(--sans); }
.rel { display: inline-flex; align-items: center; gap: 10px; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.rel-bar { width: 22px; height: 6px; border-radius: 3px; }
.rel.t-dofollow .rel-bar { background: var(--accent); }
.rel.t-mixed .rel-bar { background: linear-gradient(90deg, var(--accent) 50%, var(--nof) 50%); }
.rel.t-nofollow .rel-bar, .rel.t-ugc .rel-bar, .rel.t-sponsored .rel-bar { background: var(--nof); }
.rel.t-unknown { color: var(--dim); font-weight: 500; }
.rel.t-unknown .rel-bar { box-shadow: inset 0 0 0 1px var(--line-2); }
.pill { display: inline-block; font: 600 12px var(--sans); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.good { background: var(--accent-soft); color: var(--accent); }
@media (prefers-color-scheme: light) { .pill.good { color: #3f6a00; } }
.pill.info { background: var(--blue-soft); color: var(--blue); }
.pill.warn { background: var(--amber-soft); color: var(--amber); }
.pill.bad { background: var(--red-soft); color: var(--red); }
.empty { padding: 48px 18px; text-align: center; color: var(--ink-2); }
.note { margin-top: 16px; font-size: 13px; color: var(--dim); }
.note a { color: var(--ink-2); }

/* ---- directory page ---- */
.dir { padding: 40px 0 120px; max-width: 1040px; }
.back { font-size: 14px; color: var(--dim); text-decoration: none; }
.back::before { content: "← "; }
.back:hover { color: var(--ink); }
.dir-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 22px 0 36px; flex-wrap: wrap; }
.dir-head h1 { font-size: clamp(42px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; }
.dir-host { display: flex; gap: 14px; margin-top: 14px; color: var(--dim); font-size: 15px; }
.dir-host a { color: var(--ink-2); }
.dir-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.verdict { border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: var(--panel); position: relative; overflow: hidden; }
.verdict-k { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.verdict-v { font: 800 clamp(44px, 5vw, 64px)/0.95 var(--display); letter-spacing: -0.055em; }
.verdict-t { color: var(--ink-2); font-size: 16px; max-width: 42ch; }
.verdict-m { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--dim); }
.verdict-m a { color: var(--ink-2); }
.verdict.t-dofollow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.verdict.t-dofollow .verdict-k, .verdict.t-dofollow .verdict-t, .verdict.t-dofollow .verdict-m, .verdict.t-dofollow .verdict-m a { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }
.verdict.t-mixed { background: linear-gradient(135deg, var(--amber-soft), transparent 70%), var(--panel); }
.verdict.t-mixed .verdict-v { color: var(--amber); }
.verdict.t-nofollow .verdict-v, .verdict.t-ugc .verdict-v, .verdict.t-sponsored .verdict-v { color: var(--ink-2); }
.verdict.t-unknown { background: repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--line) 50%, transparent) 10px 11px), var(--panel); }
.verdict.t-unknown .verdict-v { color: var(--dim); font-size: clamp(32px, 3.6vw, 44px); }
.glance { margin: 0; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); padding: 10px 26px; }
.glance div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.glance div:last-child { border-bottom: 0; }
.glance dt { color: var(--dim); }
.glance dd { margin: 0; }
.callout { margin-top: 16px; border-radius: var(--r-card); padding: 18px 22px; background: var(--amber-soft); color: var(--ink); font-size: 15px; border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); }
.callout b { color: var(--amber); }
.dir-sec { margin-top: 64px; }
.dir-sec h2 { font-size: 26px; letter-spacing: -0.035em; font-weight: 750; margin-bottom: 18px; }
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 72ch; }
.fields { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fields li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.fields li.req { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); color: var(--ink); }
.fields em { font: normal 11px var(--mono); color: var(--dim); }
.fields i { font: normal 600 10px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
@media (prefers-color-scheme: light) { .fields i { color: #3f6a00; } }
.conds { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.conds li { padding: 16px 18px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.agent { margin-top: 64px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 32px; border-radius: var(--r-card); background: radial-gradient(100% 140% at 100% 0%, var(--accent-soft), transparent 60%), var(--panel); border: 1px solid var(--line); }
.agent h2 { font-size: 28px; letter-spacing: -0.04em; font-weight: 800; }
.agent p { color: var(--ink-2); margin-top: 8px; max-width: 52ch; }
.similar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.similar a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color 0.2s, transform 0.25s var(--ease); }
.similar a:hover { border-color: var(--accent); transform: translateY(-3px); }
.similar b { font: 650 16px var(--display); letter-spacing: -0.02em; }
.similar span { font: 12px var(--mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; min-height: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .receipts { grid-template-columns: 1fr 1fr; }
  .receipts .receipt:first-child { grid-row: auto; grid-column: span 2; }
  .how { grid-template-columns: 1fr; gap: 32px; padding: 96px 0; }
  .how-side { position: static; }
  .similar { grid-template-columns: 1fr 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .nav nav { gap: 18px; }
  .nav nav a:nth-child(2) { display: none; }
  .map { padding: 14px; }
  .map-grid { grid-template-columns: repeat(18, 1fr); gap: 2px; }
  .map figcaption { grid-template-columns: 1fr; }
  .map-hover { text-align: left; width: auto; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 26px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .receipts { grid-template-columns: 1fr; }
  .receipts .receipt:first-child { grid-column: auto; }
  .how-steps li { grid-template-columns: 1fr; gap: 8px; }
  .how-steps h3 { font-size: 32px; }
  .finder-form { flex-direction: column; }
  .finder-form button { height: 54px; }
  .toolbar-end { margin-left: 0; width: 100%; }
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 16px; border-bottom: 1px solid var(--line); gap: 6px 12px; }
  td { height: auto; padding: 0; border: 0; }
  td.c-name { grid-column: 1 / -1; }
  td.c-name a { padding: 0; }
  td:nth-child(4), td:nth-child(5), td.c-num { display: none; }
  .conds, .similar { grid-template-columns: 1fr; }
  .glance div { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
.dr-val { font: 600 14px var(--mono); color: var(--ink); }
.dr-none { color: var(--line-2); }
.dr-big { font: 700 18px var(--display); letter-spacing: -0.02em; margin-right: 4px; }

/* ---- filter menus (one row: search, Link, Cost, Access, Type) ---- */
.menus { display: flex; gap: 8px; flex: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 34px 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; user-select: none; position: relative; transition: border-color 0.15s, color 0.15s; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s var(--ease); }
.menu[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.menu summary:hover, .menu[open] summary { color: var(--ink); border-color: var(--dim); }
.menu.active summary { color: var(--ink); border-color: var(--accent); }
.menu-n { font: 700 11px var(--mono); background: var(--accent); color: var(--accent-ink); border-radius: 999px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.menu-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 25; min-width: 240px; padding: 6px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 24px 48px -12px rgb(0 0 0 / 0.45); display: grid; gap: 2px; }
.menus .menu:last-child .menu-panel { left: auto; right: 0; }
@media (prefers-reduced-motion: no-preference) { .menu[open] .menu-panel { animation: drop 0.18s var(--ease); } @keyframes drop { from { opacity: 0; transform: translateY(-4px); } } }
.opt { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.opt:hover { background: var(--bg-2); color: var(--ink); }
.opt b { font: 500 12px var(--mono); color: var(--dim); }
.opt input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border-radius: 5px; border: 1.5px solid var(--line-2); display: grid; place-items: center; cursor: pointer; transition: background 0.12s, border-color 0.12s; }
.opt input::after { content: ""; width: 4px; height: 8px; border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.opt input:checked { background: var(--accent); border-color: var(--accent); }
.opt input:checked::after { opacity: 1; }
.opt input:checked + span { color: var(--ink); }
.opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.toolbar .count { flex: none; margin-left: 4px; }
.toolbar .reset { flex: none; }
.search input { height: 44px; }

/* native selects, when used: custom face with a theme-following chevron */
select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

@media (max-width: 980px) {
  .toolbar { flex-wrap: wrap; }
  th:nth-child(5), td:nth-child(5) { display: none; } /* bot check: still on each directory page */
  .search { flex-basis: 100%; }
  .menus { flex: 1 1 auto; }
}
@media (max-width: 680px) {
  /* Phones: no docking. Four equal buttons in one row; the open panel spans the toolbar. */
  .toolbar { position: relative; top: 0; }
  .toolbar::before { display: none; }
  .menus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
  .menu { position: static; }
  .menu summary { width: 100%; justify-content: center; padding: 0 22px 0 10px; font-size: 13px; height: 42px; }
  .menu summary::after { right: 9px; }
  .menu-panel, .menus .menu:last-child .menu-panel { left: 0; right: 0; top: calc(100% + 6px); min-width: 0; }
  .toolbar .count { width: 100%; margin: 2px 0 0; }
}
.menu-n[hidden] { display: none; }

/* ---- header: floating glass bar that tightens as you scroll ---- */
.nav { position: sticky; top: 0; z-index: 20; padding: 14px 0 0; pointer-events: none; }
.nav-bar { pointer-events: auto; position: relative; width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 22px; height: 60px; padding: 0 10px 0 20px; border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 72%, transparent); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--line-2) 80%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 18px 40px -24px rgb(0 0 0 / 0.6); overflow: hidden; }
@media (prefers-color-scheme: light) { .nav-bar { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8), 0 18px 40px -26px rgb(0 0 0 / 0.25); } }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); letter-spacing: -0.04em; text-decoration: none; flex: none; }
.logo-mark { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); box-shadow: 6px 6px 0 -2px color-mix(in srgb, var(--accent) 35%, transparent); transform: rotate(-8deg); transition: transform 0.4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(82deg); }
.nav-live { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: var(--ink-2); text-decoration: none; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.nav-live:hover { color: var(--ink); border-color: var(--accent); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2.4s var(--ease) infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } } }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-ctl); transition: color 0.2s, background 0.2s; }
.nav nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 42px; padding: 0 6px 0 14px; border-radius: 12px; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; font: 500 13px var(--mono); transition: transform 0.15s var(--ease); }
.nav-cta code { font-size: 13px; }
.nav-cta .copy-label { padding: 6px 9px; }
.nav-cta.copied .c1 { opacity: 0; }
.nav-cta.copied .c2 { opacity: 1; }
.nav-cta:active { transform: scale(0.97); }
.nav-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .nav-progress { animation: progress linear both; animation-timeline: scroll(root); }
    @keyframes progress { to { transform: scaleX(1); } }
    .nav-bar { animation: tighten linear both; animation-timeline: scroll(root); animation-range: 0 220px; }
    @keyframes tighten { to { height: 52px; width: min(1080px, 100% - 32px); } }
  }
}

/* ---- footer: closing CTA, the registry as a band of color, giant wordmark ---- */
.foot { position: relative; margin-top: 40px; border-top: 1px solid var(--line); overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, var(--accent-soft), transparent 70%); }
.foot-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding: 112px 0 72px; }
.foot-cta h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; }
.foot-cta h2 span { color: var(--accent); }
@media (prefers-color-scheme: light) { .foot-cta h2 span { color: var(--ink); text-decoration: underline 0.1em var(--accent); text-underline-offset: 0.08em; } }
.foot-strip { display: flex; height: 26px; gap: 1px; padding: 0 1px; }
.foot-strip i { flex: 1; min-width: 0; }
.foot-strip .t-dofollow { background: var(--accent); }
.foot-strip .t-mixed { background: var(--amber); }
.foot-strip .t-nofollow, .foot-strip .t-ugc, .foot-strip .t-sponsored { background: var(--nof); }
.foot-strip .t-unknown { background: var(--line); }
@media (prefers-reduced-motion: no-preference) { .foot-strip i { transition: transform 0.3s var(--ease); transform-origin: bottom; } .foot-strip i:hover { transform: scaleY(2.2); } }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.foot-about p { color: var(--ink-2); font-size: 15px; max-width: 34ch; margin-top: 16px; }
.foot-grid h3 { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 14px; }
.foot-grid div > a:not(.logo) { display: block; color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 5px 0; transition: color 0.15s, transform 0.2s var(--ease); }
.foot-grid div > a:not(.logo):hover { color: var(--ink); transform: translateX(3px); }
.foot-meta { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--dim); }
.foot-word { font: 800 clamp(96px, 22vw, 340px)/0.78 var(--display); letter-spacing: -0.045em; text-align: center; margin: 24px 0 -0.08em; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; white-space: nowrap; }
@supports (background-clip: text) {
  .foot-word { background: linear-gradient(180deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 0%, transparent) 78%); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; opacity: 0.9; }
  @media (prefers-color-scheme: light) { .foot-word { background: linear-gradient(180deg, var(--ink) 0%, transparent 80%); -webkit-background-clip: text; background-clip: text; opacity: 0.12; } }
}

@media (max-width: 980px) {
  .nav-live { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav-bar { gap: 10px; padding: 0 6px 0 14px; height: 54px; }
  .nav nav a:not(:first-child) { display: none; }
  .nav-cta { display: none; }
  .nav nav { margin-left: auto; }
  .foot-cta { padding: 72px 0 48px; }
}
.dock-sentinel { display: block; height: 1px; }

/* ---- copy feedback ---- */
.install, .nav-cta { position: relative; }
.copy-label { overflow: hidden; height: 25px; align-items: center; transition: background 0.2s; }
.copy-label > span { display: inline-flex; align-items: center; gap: 5px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.copy-label .c2 { transform: translateY(110%); }
.copied .copy-label .c1 { transform: translateY(-110%); opacity: 0; }
.copied .copy-label .c2 { transform: none; opacity: 1; }
.copy-label .c2::before { content: ""; width: 7px; height: 11px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) scale(0); transition: transform 0.3s 0.1s var(--ease); }
.copied .copy-label .c2::before { transform: rotate(45deg) scale(1); }
.install.copied, .nav-cta.copied { border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .install.copied::after, .nav-cta.copied::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 var(--accent); animation: ring 0.7s var(--ease) forwards; pointer-events: none; }
  @keyframes ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } to { box-shadow: 0 0 0 14px transparent; } }
}
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font: 500 14px var(--sans); box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease), opacity 0.25s; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast code { font: 500 13px var(--mono); background: color-mix(in srgb, var(--bg) 14%, transparent); padding: 2px 7px; border-radius: 6px; }
.toast kbd { font: 600 12px var(--mono); border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); border-radius: 5px; padding: 1px 6px; }
.toast-check { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; flex: none; }
.toast-check::after { content: ""; width: 4px; height: 8px; margin-top: -2px; border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(45deg); }

/* Breadcrumbs (directory and topic pages) */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs span { color: var(--ink-2); }
.topics { margin-top: 26px; }
.topics a[aria-current="page"] { border-color: var(--accent); color: var(--ink); }
/* Quick answers on directory pages */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 880px; }
@media (max-width: 680px) { .qa { grid-template-columns: 1fr; } }
.qa > div { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.qa h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 8px; }
.qa p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 680px) {
  .topics { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .topics::-webkit-scrollbar { display: none; }
  .topics a { flex: none; }
}

/* Hand it to your agent */
.agents { padding: 32px 0 120px; }
.agents-head { max-width: 760px; }
.agents-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 800; }
.agents-head p { color: var(--ink-2); font-size: 17px; max-width: 58ch; margin-top: 20px; }
.agents-foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.agents-foot p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.agents-foot a { color: var(--ink); }
.prompt-copy code { white-space: normal; text-align: left; }
@media (max-width: 900px) { .agents-foot { grid-template-columns: 1fr; } }
/* Agents wall: three counter-scrolling rows on a tilted plane */
.wall { position: relative; margin: 8px calc(50% - 50vw) -24px; padding: 100px 0 90px; perspective: 1400px; overflow: hidden; }
.wall::before { content: ""; position: absolute; inset: 10% 20%; background: radial-gradient(ellipse at center, var(--accent-soft), transparent 70%); filter: blur(40px); pointer-events: none; }
.wall-plane { display: grid; gap: 18px; transform: rotateX(16deg) rotateZ(-4deg) scale(1.06); transform-style: preserve-3d; }
.mq-row { overflow: visible; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.r1 .mq-track { animation-direction: reverse; animation-duration: 30s; }
.r2 .mq-track { animation-duration: 46s; }
.mq-group { display: flex; gap: 18px; padding-right: 18px; }
@keyframes mq { to { transform: translateX(-50%); } }
.wall:hover .mq-track, .wall:focus-within .mq-track { animation-play-state: paused; }
.mq-tile { position: relative; width: 112px; height: 112px; flex: none; display: grid; place-items: center; border-radius: 26px; background: linear-gradient(160deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 12px 30px -18px #000; transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s var(--ease); }
.mq-mask { width: 52px; height: 52px; background: var(--ink); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background-color 0.25s; }
.mq-tile img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; filter: grayscale(0.35); transition: filter 0.25s; }
.mq-tile:hover, .mq-tile:focus-visible { transform: translateY(-8px) scale(1.12); border-color: var(--brand, var(--accent)); box-shadow: 0 0 0 1px var(--brand, var(--accent)), 0 18px 48px -12px var(--brand, var(--accent)); z-index: 2; outline: none; }
.mq-tile:hover .mq-mask, .mq-tile:focus-visible .mq-mask { background: var(--brand, var(--accent)); }
.mq-tile:hover img, .mq-tile:focus-visible img { filter: none; }
@media (max-width: 680px) {
  .mq-tile { width: 84px; height: 84px; border-radius: 20px; }
  .mq-mask { width: 40px; height: 40px; }
  .mq-tile img { width: 42px; height: 42px; border-radius: 11px; }
  .wall-plane { gap: 14px; }
  .mq-group { gap: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-plane { transform: none; }
  .mq-track { animation: none; width: auto; justify-content: center; }
  .mq-row { -webkit-mask-image: none; mask-image: none; }
  .mq-group { flex-wrap: wrap; justify-content: center; }
  .mq-group[aria-hidden], .mq-group + .mq-group { display: none; }
}
.mq-note { color: var(--dim); font-size: 14px; margin-top: 6px; }
@media (max-width: 680px) { .prompt-copy { width: 100%; } .prompt-copy code { font-size: 13px; } }
.mq-row { position: relative; }
.mq-row:hover, .mq-row:focus-within { z-index: 3; }
/* Room inside each row's fade mask for the hover lift and glow, so they are not clipped. */
.mq-row { padding: 80px 0 100px; margin: -80px 0 -100px; }
@media (max-width: 680px) { .mq-row { padding: 64px 0 84px; margin: -64px 0 -84px; } }

/* ---- guides (/directory-submission/, /claude-code-seo/) ---- */
.guide .dir-head h1 { max-width: 16ch; }
.guide .hero-sub { max-width: 62ch; }
.guide .prose + .prose { margin-top: 14px; }
.guide .prose a { color: var(--ink); }
.steps { grid-template-columns: 1fr; counter-reset: st; margin-top: 18px; max-width: 880px; }
.steps li { counter-increment: st; position: relative; padding-left: 52px; line-height: 1.55; }
.steps li::before { content: counter(st); position: absolute; left: 20px; top: 16px; font-family: var(--mono); color: var(--ink-2); font-weight: 700; }
.guide .quick { margin-top: 64px; }

/* ---- blog (/blog/, /blog/<slug>/) ---- */
.post-head { margin: 22px 0 8px; max-width: 760px; }
.post-head h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 800; max-width: 18ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font: 13px var(--mono); color: var(--dim); }
.post-body { max-width: 70ch; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.post-body > * + * { margin-top: 18px; }
.post-body h2 { margin-top: 56px; font-size: 28px; line-height: 1.15; letter-spacing: -0.035em; font-weight: 750; color: var(--ink); }
.post-body h3 { margin-top: 36px; font-size: 20px; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.post-body h2 + *, .post-body h3 + * { margin-top: 12px; }
.post-body strong { color: var(--ink); font-weight: 650; }
.post-body a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
.post-body a:hover { text-decoration-color: var(--accent); }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li + li { margin-top: 8px; }
.post-body li::marker { color: var(--dim); }
.post-body code { padding: 2px 6px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 19px; line-height: 1.55; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.post-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); }
.post-table table { font-size: 15px; font-variant-numeric: tabular-nums; }
.post-table th { white-space: normal; }
.post-table td { height: auto; padding: 11px 18px; line-height: 1.45; }
.post-table tbody tr:hover { background: none; }
.post-list { display: grid; gap: 12px; max-width: 880px; }
.post-list a { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color 0.2s, transform 0.25s var(--ease); }
.post-list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.post-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-list time { font: 12px var(--mono); color: var(--dim); }
.post-list b { font: 700 21px/1.2 var(--display); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.post-list span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.blog-index { padding-bottom: 96px; }
@media (max-width: 680px) {
  .post-body { font-size: 16px; }
  .post-body h2 { margin-top: 44px; font-size: 24px; }
  .post-list a { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .post-list a { transition: none; } .post-list a:hover { transform: none; } }
.post-body { margin-top: 40px; }
.post .crumbs { flex-wrap: nowrap; }
.post .crumbs span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The directory table collapses to cards on small screens; post tables stay tables and scroll sideways instead. */
.post-table table { display: table; }
.post-table thead { display: table-header-group; }
.post-table tbody { display: table-row-group; }
.post-table tr, .post-table tbody tr { display: table-row; padding: 0; }
.post-table th, .post-table td, .post-table td:nth-child(4), .post-table td:nth-child(5) { display: table-cell; }
.post-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
.post-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 680px) { .post-table th, .post-table td { padding: 10px 12px; } .post-table table { font-size: 14px; } }
