/* locaihost.org, "journey" homepage preview. Products first; one vermilion line drawn behind the page.
   The line lives in a reserved lane left of the text column (--lane), so it can never sit on text. */

:root {
    color-scheme: light;
    --bg: oklch(0.985 0.002 35);
    --surface: oklch(1 0 0);
    --ink: oklch(0.2 0.012 35);
    --ink-2: oklch(0.4 0.012 35);
    --rule: oklch(0.88 0.006 35);
    --rule-2: oklch(0.8 0.008 35);
    --vermilion: oklch(0.56 0.19 33);
    --vermilion-ink: oklch(0.47 0.17 33);
    --vermilion-wash: oklch(0.95 0.03 33);
    --line-a: 0.62;
    --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
    --sans: 'IBM Plex Sans', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --pad: 1.125rem;
    --lane: 1rem;
    --max: 78rem;
}
@media (min-width: 48rem) {
    :root { --pad: clamp(2rem, 0.5rem + 3.2vw, 4.5rem); --lane: 3rem; }
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: oklch(0.185 0.008 35);
        --surface: oklch(0.215 0.009 35);
        --ink: oklch(0.93 0.006 35);
        --ink-2: oklch(0.77 0.01 35);
        --rule: oklch(0.32 0.01 35);
        --rule-2: oklch(0.42 0.012 35);
        --vermilion: oklch(0.65 0.18 33);
        --vermilion-ink: oklch(0.75 0.14 35);
        --vermilion-wash: oklch(0.3 0.06 33);
        --line-a: 0.7;
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: oklch(0.185 0.008 35);
    --surface: oklch(0.215 0.009 35);
    --ink: oklch(0.93 0.006 35);
    --ink-2: oklch(0.77 0.01 35);
    --rule: oklch(0.32 0.01 35);
    --rule-2: oklch(0.42 0.012 35);
    --vermilion: oklch(0.65 0.18 33);
    --vermilion-ink: oklch(0.75 0.14 35);
    --vermilion-wash: oklch(0.3 0.06 33);
    --line-a: 0.7;
}

/* ---------- Base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%; background: var(--bg); accent-color: var(--vermilion);
    scroll-padding-top: 1.5rem; scrollbar-color: color-mix(in oklch, var(--ink-2) 60%, transparent) var(--bg);
    -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 400 1.0625rem/1.6 var(--sans); caret-color: var(--vermilion);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--vermilion-wash); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: color-mix(in oklch, var(--ink-2) 50%, var(--bg)); border: 3px solid var(--bg); border-radius: 6px; }
::placeholder { color: var(--ink-2); opacity: 1; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; text-decoration-skip-ink: auto; transition: color 160ms var(--ease-out), text-decoration-color 160ms var(--ease-out); }
a:hover { color: var(--vermilion-ink); text-decoration-color: var(--vermilion); }
a:active { color: var(--vermilion); text-decoration-thickness: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
data, .price, .offer-price { font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.5rem 0.75rem; }
.skip:focus { left: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The text column. Everything readable sits right of the lane; the line runs inside it. */
.wrap { max-width: var(--max); margin-inline: auto; padding-right: var(--pad); padding-left: calc(var(--pad) + var(--lane)); }

/* ---------- Masthead ---------- */
.masthead { border-top: 3px solid var(--vermilion); border-bottom: 1px solid var(--rule); }
.masthead-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; padding-block: 0.875rem; }
.wordmark { font: 600 1.375rem/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; margin-right: auto; }
.wordmark span { color: var(--vermilion-ink); }
.wordmark:hover { color: inherit; }
.masthead nav { display: flex; gap: 1.5rem; font-size: 0.9375rem; }
.masthead nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.masthead nav a:hover { color: var(--ink); text-decoration: underline; }
.theme-toggle {
    display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; flex: none;
    color: var(--ink-2); background: transparent; border: 1px solid var(--rule-2); border-radius: 3px; cursor: pointer;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.theme-toggle:active { transform: translateY(1px); }
.theme-toggle[hidden] { display: none; }
.js .theme-toggle[hidden] { display: inline-grid; visibility: hidden; }
.theme-toggle svg { width: 1rem; height: 1rem; }
@media (max-width: 47.99rem) {
    .masthead-row { padding-block: 0.625rem 0.5rem; gap: 0.4rem 1rem; }
    .masthead nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; overflow-x: auto; scrollbar-width: none; }
    .masthead nav a { padding-block: 0.375rem; }
    .wordmark { font-size: 1.25rem; }
}

/* ---------- Controls ---------- */
.btn {
    display: inline-block; background: var(--ink); color: var(--bg); text-decoration: none;
    font-weight: 500; padding: 0.875rem 1.375rem; border-radius: 3px;
    transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn:hover { background: var(--vermilion-ink); color: var(--surface); }
.btn:active { transform: translateY(1px); transition-duration: 60ms; }
.btn-sm { padding: 0.625rem 1rem; font-size: 0.9375rem; }
button.btn { border: 0; font-family: inherit; font-size: 1.0625rem; line-height: inherit; cursor: pointer; }
button.btn-sm { font-size: 0.9375rem; }
button.btn[disabled] { opacity: 0.72; cursor: progress; }
.link { font-weight: 500; }
/* A small label for what costs nothing. Only where it's true: the free check, the free week, the free tools and email. */
.badge {
    display: inline-block; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.02em; white-space: nowrap;
    color: var(--vermilion-ink); background: var(--vermilion-wash); padding: 0.3125rem 0.5rem 0.25rem; border-radius: 3px;
    vertical-align: 0.1em;
}

/* Form fields (the free check card and the footer sign-up). */
.fc-form input:not([type="checkbox"]), .fc-form select, .news-row input {
    width: 100%; min-width: 0; min-height: 2.75rem; margin: 0;
    font: 400 1rem/1.3 var(--sans); color: var(--ink); background: var(--bg);
    border: 1px solid var(--rule-2); border-radius: 3px; padding: 0.6875rem 0.75rem;
    transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.fc-form input:not([type="checkbox"]):hover, .fc-form select:hover, .news-row input:hover { border-color: var(--ink-2); }
.fc-form input:focus-visible, .fc-form select:focus-visible, .news-row input:focus-visible { outline-offset: 1px; border-color: var(--vermilion); background: var(--surface); }
.fc-form [aria-invalid="true"], .news-row [aria-invalid="true"] { border-color: var(--vermilion-ink); }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.fc-msg { color: var(--vermilion-ink); font-size: 0.9375rem; font-weight: 500; text-wrap: pretty; }
.fc-msg:empty { display: none; }

/* ---------- Main and the line ---------- */
main { position: relative; }
main > .wrap { position: relative; z-index: 1; }
.line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.line path { fill: none; stroke: var(--vermilion); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: var(--line-a); }
/* The spine deepens and thickens as it goes down the page (gradient and weights set in journey.js). */
.line .trunk { stroke: url(#journey-ink); opacity: 1; stroke-linecap: butt; }
.line stop { stop-color: var(--vermilion); }
.line .hair, .line .end { stroke-width: 1.5; opacity: 0.85; }
.line .chart { stroke-width: 1.5; }
.line .base { opacity: 0.22; }
.line circle { fill: var(--vermilion); opacity: 0; transition: opacity 240ms var(--ease-out); }
.line circle.on { opacity: var(--line-a); }
.line.intro path { transition: stroke-dashoffset 1100ms var(--ease-out); }

/* ---------- The opening: the free check ---------- */
.hero { padding-block: clamp(2.25rem, 1rem + 5vw, 4.75rem) clamp(3rem, 1.5rem + 4.5vw, 5.5rem); }
.hero h1 {
    font-size: clamp(2.375rem, 1.55rem + 3vw, 3.875rem); line-height: 1.05; letter-spacing: -0.026em;
    width: fit-content; max-width: 22ch;
}
.hero h1 .free { color: var(--vermilion-ink); }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "proof";
    gap: 2.75rem; margin-top: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
}
.hero-copy { grid-area: copy; }
.fc { grid-area: form; }
.proof { grid-area: proof; }
.lede { margin: 0 0 1.75rem; max-width: 44ch; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero-fine { margin-top: 0.875rem; font-size: 0.9375rem; color: var(--ink-2); }
.hero-paid { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); max-width: 54ch; font-size: 0.9375rem; color: var(--ink-2); text-wrap: pretty; }
.hero-paid a { color: var(--ink); font-weight: 500; }

/* Proof: four rows from the published sample report. Bars are drawn to the 25 overviews Google showed. */
.proof { margin: 0; max-width: 33rem; }
.proof figcaption { font-size: 0.875rem; color: var(--ink-2); text-wrap: pretty; }
.proof figcaption a { color: var(--ink); font-weight: 500; }
.proof > p { margin-top: 0.5rem; font-size: 0.9375rem; text-wrap: pretty; }
.bars { margin-top: 0.875rem; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 1.75rem; align-items: center; gap: 0.875rem; padding-block: 0.3125rem; font-size: 0.875rem; }
.bar-name { line-height: 1.25; }
.bar-name small { display: block; font-size: 0.75rem; color: var(--ink-2); }
.bar { position: relative; height: 0.375rem; background: var(--rule); border-radius: 1px; overflow: hidden; }
.bar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--ink-2); }
.bars .own .bar::before { background: var(--vermilion); }
.bars .own .bar-name, .bars .own .bar-n { color: var(--vermilion-ink); font-weight: 500; }
.bar-n { font: 500 0.875rem/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums lining-nums; }

/* The free check card. */
.fc { scroll-margin-top: 1rem; }
.fc-form {
    display: grid; gap: 1.125rem; padding: clamp(1.25rem, 0.9rem + 1.2vw, 1.875rem);
    background: var(--surface); border: 1px solid var(--rule-2); border-top: 3px solid var(--vermilion); border-radius: 0 0 4px 4px;
}
.fc-form h2 { font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.015em; }
.field { display: grid; gap: 0.4375rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: 0.9375rem; font-weight: 500; }
.field legend { margin-bottom: 0.4375rem; }
.opt { margin-left: 0.25rem; font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); }
.hint { font-size: 0.8125rem; color: var(--ink-2); }
.tick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.625rem; align-items: start; font-size: 0.9375rem; line-height: 1.45; cursor: pointer; }
.tick input { width: 1.125rem; height: 1.125rem; margin: 0.125rem 0 0; accent-color: var(--vermilion); cursor: pointer; }
.fc-go { width: 100%; text-align: center; }
.fc-fine { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.fc-fine a { color: var(--ink); }
.fc-done { display: grid; gap: 0.75rem; align-content: start; }
.fc-done:focus { outline: none; }
.fc-done h3 { font-size: 1.625rem; line-height: 1.15; }
.fc-done p:not(.fc-fine) { text-wrap: pretty; }
@media (min-width: 64rem) {
    /* Copy and proof down the left, the form beside them; extra height goes under the proof. */
    .hero-grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr;
        grid-template-areas: "copy form" "proof form"; column-gap: clamp(2.5rem, 5vw, 5rem); row-gap: 2.5rem; align-items: start;
    }
}

/* ---------- The catalogue ---------- */
.catalogue { padding-block: clamp(1rem, 2vw, 2rem) clamp(3.5rem, 2rem + 4vw, 6rem); }
.cat-head {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem;
    padding-bottom: 1.75rem; border-bottom: 1px solid var(--ink);
}
.cat-head h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; }
.cat-head > p { max-width: 58ch; color: var(--ink-2); text-wrap: pretty; }
.cat-head > .free-tools { font-size: 0.9375rem; }
.free-tools a { color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.9375rem; }
.jump a { color: var(--ink-2); text-decoration-color: var(--rule-2); padding-block: 0.25rem; }
.jump a:hover { color: var(--vermilion-ink); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.875rem; margin-top: 0.5rem; }
.filter label { font-size: 0.9375rem; font-weight: 500; }
.filter input {
    flex: 1 1 14rem; max-width: 22rem; min-width: 0;
    font: 400 1rem/1.3 var(--sans); color: var(--ink); background: var(--surface);
    border: 1px solid var(--rule-2); border-radius: 3px; padding: 0.625rem 0.75rem;
    transition: border-color 160ms var(--ease-out);
}
.filter input:hover { border-color: var(--ink-2); }
.filter input:focus-visible { outline-offset: 1px; border-color: var(--vermilion); }
.filter-count { flex-basis: 100%; min-height: 1.4em; font-size: 0.875rem; color: var(--ink-2); }
@media (min-width: 64rem) {
    .cat-head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2rem, 4vw, 4rem); align-items: end; }
    .cat-head h2 { grid-row: 1 / span 3; align-self: start; }
    .filter { margin-top: 0.25rem; }
}

.group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding-top: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }
.group h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; padding-block: 0.25rem; transition: color 300ms var(--ease-out); }
/* Set by journey.js once the line has reached this group, and cleared when you scroll back above it. */
.group h3.lit { color: var(--vermilion-ink); }
.tools li {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 2rem; align-items: baseline;
    padding-block: 0.9375rem; border-bottom: 1px solid var(--rule);
}
.tools li:last-child { border-bottom: 0; }
.tools a { font-weight: 500; text-decoration: none; }
/* The whole row is the link's target; the description stays selectable text under it. */
.tools a::after { content: ''; position: absolute; inset: 0; }
.tools li:hover a { color: var(--vermilion-ink); text-decoration: underline; text-decoration-color: var(--vermilion); }
.tools li:has(a:focus-visible) { outline: 2px solid var(--vermilion); outline-offset: 2px; border-radius: 2px; }
.tools a:focus-visible { outline: none; }
.tools li p { margin-top: 0.25rem; max-width: 62ch; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.tools .price { margin: 0; max-width: none; font: 400 0.875rem/1.4 var(--sans); color: var(--ink-2); text-align: right; white-space: nowrap; }
.price data { font: 500 1rem/1 var(--mono); color: var(--ink); letter-spacing: -0.01em; }
@media (min-width: 64rem) {
    .group { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2rem, 4vw, 4rem); }
    .group h3 { padding-top: 0.875rem; }
}
@media (max-width: 47.99rem) {
    .tools li { grid-template-columns: minmax(0, 1fr); }
    .tools .price { text-align: left; white-space: normal; margin-top: 0.375rem; }
}
.empty { padding-top: 2rem; max-width: 52ch; color: var(--ink-2); }
.empty a { color: var(--ink); font-weight: 500; }

/* ---------- The smaller sections ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
/* Rules run across the text column only, never through the line's lane. */
.band + .band, .colophon { background: linear-gradient(var(--rule), var(--rule)) no-repeat calc(var(--pad) + var(--lane)) 0 / calc(100% - 2 * var(--pad) - var(--lane)) 1px; }
.catalogue + .band { background: linear-gradient(var(--ink), var(--ink)) no-repeat calc(var(--pad) + var(--lane)) 0 / calc(100% - 2 * var(--pad) - var(--lane)) 1px; }
.band h2 { font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem); line-height: 1.1; letter-spacing: -0.02em; width: fit-content; }
.band-body { display: grid; gap: 1.25rem; max-width: 46rem; }
.band-lede { font-size: 1.125rem; line-height: 1.55; text-wrap: pretty; }
.band-body > p:not(.band-lede) { color: var(--ink-2); text-wrap: pretty; }
.band-body a:not(.btn) { color: var(--ink); }
.chart-slot, .node-slot { display: none; }
@media (min-width: 64rem) {
    .band { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2rem, 4vw, 4rem); }
    /* Reserved, empty space beside "How we work" where the line draws its small chart. */
    .chart-slot { display: block; width: min(100%, 15rem); height: 8.75rem; margin-top: 2.5rem; }
    /* The same for "From an AI agent", where it links up a few nodes. */
    .node-slot { display: block; width: min(100%, 10rem); height: 4.5rem; margin-top: 1.75rem; }
}
.aside { font-size: 0.9375rem; }

/* The weekly lists: two cards of the same build, so the prices, buttons and links line up along the bottom. */
.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.offer {
    display: flex; flex-direction: column; gap: 0.5rem; padding: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
    background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
}
.offer h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
.offer h3 a { text-decoration-color: var(--rule-2); }
.offer-for { font-size: 0.875rem; font-weight: 500; }
.offer p { font-size: 0.9375rem; text-wrap: pretty; }
.offer > p:not(.offer-for) { color: var(--ink-2); }
.offer-foot { display: grid; gap: 0.75rem; margin-top: auto; padding-top: 1.25rem; }
.offer-foot .offer-price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.625rem; color: var(--ink-2); }
.offer-price b { font-weight: 600; color: var(--ink); }
.offer-foot .btn { text-align: center; }
.offer-foot .link { justify-self: start; font-size: 0.9375rem; }
.offers-note { font-size: 0.875rem; color: var(--ink-2); }
@media (min-width: 48rem) {
    .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
    .offer { padding-top: 1.5rem; }
}
/* Side by side, the cards share rows: titles, audiences, text and feet line up across both. */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 48rem) {
        .offers { grid-template-rows: repeat(4, auto); row-gap: 0; }
        .offer { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.5rem; }
        .offer-foot { align-self: end; }
    }
}
#lists .band-body { max-width: 52rem; }

.principles { display: grid; gap: 1.5rem; }
.principles dt { font-weight: 600; margin-bottom: 0.25rem; }
.principles dd { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.principles a { color: var(--ink); }

.mcp-box summary { cursor: pointer; font-weight: 500; width: fit-content; padding-block: 0.25rem; }
.mcp-box summary:hover { color: var(--vermilion-ink); }
.mcp { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.625rem 0.875rem; margin-top: 0.875rem; padding: 0.875rem 1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; }
.mcp code { flex: 1 1 18rem; min-width: 0; font: 400 0.8125rem/1.55 var(--mono); overflow-wrap: anywhere; }
.mcp-note { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-2); }
.copy {
    display: inline-flex; align-items: center; gap: 0.4375rem; flex: none;
    font: 500 0.8125rem/1 var(--sans); color: var(--ink); background: transparent;
    border: 1px solid var(--rule-2); border-radius: 3px; padding: 0.5rem 0.75rem; cursor: pointer;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.copy:hover { border-color: var(--ink); }
.copy:active { transform: translateY(1px); }
.copy[data-state="copied"] { color: var(--vermilion-ink); border-color: var(--vermilion); background: var(--vermilion-wash); }
.copy[data-state="refused"] { color: var(--ink-2); border-style: dashed; border-color: var(--ink-2); }

/* ---------- Colophon ---------- */
.colophon { display: grid; gap: 0.75rem; padding-block: 2rem 3rem; font-size: 0.875rem; color: var(--ink-2); }
/* The free monthly email: one line, one field. */
.news { padding-bottom: 1.75rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--rule); }
.news-form { display: grid; gap: 0.75rem; max-width: 38rem; }
.news-title { font-size: 1rem; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.news-title .badge { margin-right: 0.375rem; }
.news-row { position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.news-row input { flex: 1 1 15rem; width: auto; }
.news-row .btn { flex: none; }
.news-fine { font-size: 0.8125rem; }
.news-form .fc-done { gap: 0; }
.colophon a { color: var(--ink); }
.footer-note { max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Hidden by the filter. The filter itself is in the HTML hidden for no-JS visitors; with JS its space is
   held from the first paint so showing it moves nothing. */
.tools li[hidden], .group[hidden], .empty[hidden], .filter[hidden] { display: none; }
.js .filter[hidden] { display: flex; visibility: hidden; }
