/* The one stylesheet of the product (concept.html, decision 11: simple, smart, elegant, easy to understand).
   One idea: the page is white and quiet, and yellow means one thing only, «an answer names the company». It is the
   highlight of the brand: a yellow background behind black text. It marks the logo, the name of the company where an
   answer names it, and the own row of the company. Nothing else is yellow.
   The brand is in ~/Drive/ClaudeCode/Businesses/Distribura/brand.html: every color, font and size of this file comes
   from there, and that file wins over this one.
   A block has no box unless the box says something: a form to fill stands on a soft panel. The page uses the whole
   width (the UI rules of ~/Codigo/CLAUDE.md): blocks stand side by side while the width holds them, and a phone gets
   one column with nothing that scrolls sideways. */
:root {
    /* The colors of brand.html, part «The colors». The contrast of each pair is in that part. */
    --ink: #111111; --yellow: #ffd83a; --paper: #ffffff; --surface: #f6f6f3;
    --ink2: #4b4b46; --muted: #6e6e67; --edge: #8a8a82; --line: #e3e3dd;
    /* The text on the highlight is ink in both themes (13.61). */
    --on-yellow: #111111;
    /* Better and worse, from part «The chart colors». Worse is also the color of an error and of a delete. */
    --better: #006300; --worse: #c0322b;
    /* The main button: ink with white text. */
    --button: var(--ink); --button-text: #ffffff; --button-hover: var(--ink2);
    --display: "Funnel Display", system-ui, sans-serif;
    --sans: "Funnel Sans", system-ui, sans-serif;
    --pad: clamp(16px, 3.2vw, 64px); --gap: clamp(24px, 3vw, 48px);
}
/* The dark theme, for the screens behind the sign-in only (class «app», set by App.razor): the public pages are light
   only. The values of brand.html, part «The colors», dark column, and part «The chart colors». In the dark theme the
   «ink» of the light theme is the light heading color, so the main button is light with ink text. Every pair passes
   level AA: headings 15.51 and text 11.69 on the dark surface, quiet text 6.85, the edge 5.00, better 5.19, worse 6.22,
   ink on the light button 16.82, ink on the button that deletes 6.75.
   look.js writes data-theme on <html>: the pick of the person, or else the dark setting of the device. */
html.app { color-scheme: light; }
html.app[data-theme=dark] {
    color-scheme: dark;
    --ink: #f2f2ee; --paper: #111111; --surface: #1a1a1a;
    --ink2: #d4d4ce; --muted: #a3a39b; --edge: #8a8a82; --line: #2e2e2b;
    --better: #0ca30c; --worse: #f0766b;
    --button-text: #111111; --button-hover: var(--ink2);
}
* { box-sizing: border-box; }
html { font: 400 16px/1.625 var(--sans); color: var(--ink2); background: var(--paper); -webkit-text-size-adjust: 100%; }
/* The four text sizes of the screens behind the sign-in (look.js). Every font size of this file is in rem, so the one font
   size of <html> sets them all. A public page has no data-size and stays at 16px. */
html.app[data-size=small] { font-size: 14px; }
html.app[data-size=large] { font-size: 18px; }
html.app[data-size=xlarge] { font-size: 20px; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; outline: none !important; font-family: var(--display); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
b, strong { font-weight: 600; color: var(--ink); }
/* The sizes of brand.html, part «The fonts», in rem: 1rem is 16 pixels at the normal text size. */
h1 { font-size: 2.25rem; line-height: 2.625rem; letter-spacing: -.02em; }
h2 { font-size: 1.5rem; line-height: 1.875rem; margin-bottom: 14px; }
h3 { font-size: 1.125rem; line-height: 1.625rem; letter-spacing: 0; margin: 18px 0 6px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink); text-decoration-color: var(--edge); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The frame of every screen */
.top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 12px var(--pad); }
.top .brand { display: block; line-height: 0; }
.top .logo { display: block; height: 24px; width: auto; }
/* The band on light, and on dark the block, a little taller, as brand.html draws the header of a dark dashboard. */
.top .logo.on-dark { display: none; height: 28px; }
html.app[data-theme=dark] .top .logo.on-light { display: none; }
html.app[data-theme=dark] .top .logo.on-dark { display: block; }
.top .out { color: var(--muted); text-decoration: none; font-size: .875rem; }
.top .out:hover { color: var(--ink); text-decoration: underline; }
.top nav { display: flex; align-items: center; gap: 24px; }
/* The look controls (LookButtons): four «A» for the text size, then the sun or the moon, which shows the look a click gives.
   Their sizes stay in px, so they hold still when the text around them changes. */
.look { display: flex; align-items: center; gap: 8px; }
.look .sizes { display: flex; align-items: center; gap: 2px; }
.look button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.look button:hover { color: var(--ink); }
.look .size { font: 600 15px/1 var(--sans); }
.look .size:nth-child(1) { font-size: 12px; }
.look .size:nth-child(3) { font-size: 18px; }
.look .size:nth-child(4) { font-size: 21px; }
.look .size[aria-pressed=true] { background: var(--surface); color: var(--ink); }
.look svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.look .sun, html.app[data-theme=dark] .look .moon { display: none; }
html.app[data-theme=dark] .look .sun { display: block; }
/* On a phone the controls take their own row under the logo, with targets a finger can hit. */
@media (max-width: 720px) {
    .top { flex-wrap: wrap; gap: 4px 16px; }
    .top .brand { margin-right: auto; }
    .top nav { display: contents; }
    .top .look { order: 3; width: 100%; justify-content: space-between; }
    .look button { width: 40px; height: 40px; }
}
main { padding: 8px var(--pad) 72px; display: grid; gap: var(--gap); }
.foot { padding: 0 var(--pad) 32px; font-size: .875rem; display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--muted); }
.privacy ul { margin: 0 0 12px; padding-left: 1.1em; display: grid; gap: 10px; }

/* The head of a site: its name, its screens, its weeks */
.head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; border-bottom: 1px solid var(--line); }
.head h1 { font-size: 1.5rem; line-height: 1.875rem; letter-spacing: -.01em; padding-bottom: 14px; }
.tabs, .weeks { display: flex; flex-wrap: wrap; gap: 0 28px; }
.tabs a, .weeks a { text-decoration: none; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover, .weeks a:hover { color: var(--ink); }
.tabs a.on, .weeks a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.weeks { margin-left: auto; gap: 0 20px; font-size: .875rem; }
/* The head of a screen under a site: the way back, then what the screen is about */
.head.page { display: grid; gap: 10px; border-bottom: 0; }
.head.page h1 { font-size: 2.25rem; line-height: 2.625rem; letter-spacing: -.02em; padding-bottom: 0; max-width: 34em; text-wrap: balance; }
.head.page .back { color: var(--muted); font-size: .875rem; justify-self: start; }
.head.page .back:hover { color: var(--ink); }

/* Blocks */
.card { min-width: 0; }
.card.soft { background: var(--surface); border-radius: 12px; padding: clamp(20px, 2.4vw, 36px); }
.card.narrow { justify-self: center; width: min(100%, 400px); display: grid; gap: 20px; margin-top: 8vh; }
.card.narrow h1 { font-size: 2.25rem; line-height: 2.625rem; }
.card.narrow form { display: grid; gap: 16px; }
.cols { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); align-items: start; }
.cols.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.note, .empty { color: var(--muted); margin: 0; }
.note { font-size: .875rem; line-height: 1.375rem; }
.empty { color: var(--ink2); max-width: 60ch; }
.error { color: var(--worse); background: var(--surface); border-left: 3px solid var(--worse); border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 0; }
.tag { display: inline-block; font: 400 .75rem/1.125rem var(--sans); letter-spacing: 0; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; margin-left: 10px; white-space: nowrap; vertical-align: middle; }

/* The dot: one answer. A lit dot is an answer that names the company. Yellow alone does not tell the two apart (rule 6
   of the brief, and «Color is not used as the only visual means»): an empty dot is an open ring in the edge color, and
   a lit dot has an ink ring and an ink center, with the yellow between them. Without color, a lit dot is full and an
   empty dot is open. */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--edge); flex: none; }
.dot.lit { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--yellow); }
/* Better and worse: an arrow and a sign first, a color second (brand.html, «The chart colors», rule 4). */
.up, .statement .up { color: var(--better); }
.down, .statement .down { color: var(--worse); }
/* The highlight: a yellow background behind ink, as from a highlighter pen. Its only meaning: this name was picked. */
mark { background: var(--yellow); color: var(--on-yellow); padding: 0 .18em; margin: 0 -.18em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* The measure: the one sentence, the three engines, and who the answers name */
.summary { display: grid; gap: 40px clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr); align-items: start; padding-top: 16px; }
/* The one sentence of a measure, at the size of the big number of a dashboard: its number in ink, its words in the color of the text. */
.statement { font: 600 2.5rem/2.75rem var(--display); letter-spacing: -.01em; color: var(--ink2); max-width: 15em; text-wrap: balance; margin: 0; }
.statement b { font-weight: 600; color: var(--ink); }
.when { margin-top: 20px; color: var(--muted); max-width: 46ch; }

.engines { margin: 0; display: grid; }
.engines > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.engines > div:first-child { border-top: 0; padding-top: 6px; }
/* The three engines side by side, in one color, each with its name in plain text (brand.html, «The chart colors», rule 1). */
.engines dt { font: 600 1.125rem/1.625rem var(--display); color: var(--ink); }
.engines dt small { display: block; font: 400 .75rem/1rem var(--sans); color: var(--muted); }
.engines dd { margin: 0; }
.engines .count { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.engines .count b { font: 600 2.5rem/2.75rem var(--display); color: var(--ink); letter-spacing: -.01em; }

/* Who the answers name: one bar for each company in the edge color (3.48 on white), and the bar of the company of the
   site in ink, with its name on the highlight. */
.ranking h2 { font-size: 1.125rem; line-height: 1.625rem; margin: 6px 0 14px; }
.ranking ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ranking li { display: grid; grid-template-columns: 2ch minmax(8ch, 14ch) minmax(40px, 1fr) 3ch; align-items: center; gap: 14px; font-size: .875rem; line-height: 1.375rem; font-variant-numeric: tabular-nums; }
.ranking li::before { content: attr(value); color: var(--muted); text-align: right; }
.ranking .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking .track { height: 6px; }
.ranking .fill { display: block; height: 100%; min-width: 4px; border-radius: 3px; background: var(--edge); }
.ranking .n { text-align: right; color: var(--muted); }
.ranking .own .name, .ranking .own .n { font-weight: 600; color: var(--ink); }
.ranking .own .fill { background: var(--ink); }
.ranking .own::before { color: var(--ink); font-weight: 600; }

/* The board: each dot is one answer, and a lit dot names the company. A white block with a thin line, and the row under
   the pointer on the surface color. */
.board { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 2.6vw, 44px); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; color: var(--muted); font-size: .875rem; margin-bottom: 28px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.groups { display: grid; gap: 40px clamp(32px, 4vw, 88px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); align-items: start; }
.group { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 68px); align-items: center; gap: 0 8px; padding: 9px 12px; margin: 0 -12px; border-radius: 8px; text-decoration: none; color: var(--ink2); }
a.row:hover { background: var(--surface); color: var(--ink); }
.row.heads { align-items: end; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
.row.heads h2 { font-size: 1.125rem; line-height: 1.625rem; margin: 0; }
.eng { font: 600 .75rem/1rem var(--sans); color: var(--ink); }
.eng small { display: block; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.q { font-size: .9375rem; line-height: 1.375rem; padding-right: 16px; overflow-wrap: anywhere; }
.dots { display: inline-flex; gap: 6px; align-items: center; }

/* Other sites the answers cite: the heading and its notes beside the table, which takes the rest of the width. */
.cited { display: grid; gap: 16px clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: start; }
.cited h2 { font-size: 1.125rem; line-height: 1.625rem; margin: 0 0 10px; }
.cited .note + .note { margin-top: 10px; }
.cited .host { font-weight: 600; white-space: nowrap; }

/* The weekly report: the measure beside the first measure, then the visits, then the count script */
/* The sentence of the report on its own row, then the measure and the visits side by side. */
.summary.report { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.summary.report .lede { grid-column: 1 / -1; }
.summary.report .statement { max-width: 24em; }
/* The tab GEO: the measure, who the answers name and the visits stand side by side while the width holds them. */
.summary.report.geo { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); }
@media (max-width: 1900px) {
    .summary.report.geo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .summary.report.geo .measure-table { grid-row: span 2; }
}
@media (max-width: 1280px) {
    .summary.report.geo { grid-template-columns: minmax(0, 1fr); }
    .summary.report.geo .measure-table { grid-row: auto; }
}
.visits { display: grid; gap: 14px; align-content: start; }
table.list tr.sum td { font-weight: 600; }
.setup { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.setup form { display: grid; gap: 12px; justify-items: start; }
.setup form label, .setup form input { width: 100%; }
.setup pre { font: .875rem/1.375rem Consolas, ui-monospace, monospace; background: var(--paper); }

/* The sign-up: what the product does beside the form, and the account of a customer */
.start { display: grid; gap: var(--gap) clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; padding-top: 16px; }
.pitch h1 { text-wrap: balance; margin-bottom: 24px; }
.pitch p { max-width: 600px; }
.pitch .price { color: var(--ink); margin-top: 20px; }
a.quiet { color: var(--muted); }
a.quiet:hover { color: var(--ink); }
/* The form of the sign-up: the site, then Google or a mail address. The form is a container: the two ways stand side
   by side while the card is wide, and stack with a line «or» between them when it is narrow. */
.join { display: grid; gap: 20px; container-type: inline-size; }
.join .enter { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.join .ways { display: grid; gap: 14px; }
.join .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .875rem; }
.join .or::before, .join .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.join .mail { display: grid; gap: 6px; }
.join .mail .pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.join .next { color: var(--muted); font-size: .875rem; }
.join .next a { margin-left: 8px; }
.btn.google { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.btn.google .g { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
@container (min-width: 760px) {
    .join .ways { grid-template-columns: auto auto minmax(0, 1fr); align-items: end; }
    .join .or { line-height: 3rem; }
    .join .or::before, .join .or::after { display: none; }
}
@container (max-width: 400px) {
    .join .mail .pair { grid-template-columns: minmax(0, 1fr); }
}
.summary.account { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.summary.account .statement { max-width: 16em; }
.acts { display: grid; gap: 16px; justify-items: start; align-content: start; padding-top: 10px; }

/* The connection of a site to WordPress: three steps in a fixed order. And where one part of a plan is on the site. */
.summary.connection { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.summary.connection .statement { max-width: 16em; }
.summary.connection .when { max-width: 60ch; }
.connect { display: grid; gap: 16px; justify-items: start; align-content: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 10px 0; justify-items: start; }
.steps li::before { content: counter(step); grid-row: span 3; font: 600 1.5rem/1.875rem var(--display); color: var(--muted); }
.steps li > * { grid-column: 2; margin: 0; max-width: 60ch; }
.published { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.published p { margin: 0; }
.published .btn { padding: 7px 14px; }

/* The public home, in the order of decision 14 of concept.html: the free check and the price, the live measure of the
   first customer, the five steps of one week with one real answer, the product beside the other tools, the questions
   before the payment, and who makes it. */
/* On a wide screen the free check and the price stand beside the live measure. */
.front { display: grid; gap: var(--gap) clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.front .first { display: grid; gap: var(--gap); align-content: start; }
/* The live measure: the first picture is the product (brand.html, part «The images and the icons»), the measure of one
   real site in a plain frame. The three engines stand side by side in one color, and the first measure is a bar in the
   edge color (3.48 on white), the week in ink (brand.html, «The chart colors», rule 1). */
.live { border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 2.4vw, 36px); display: grid; gap: 16px; align-content: start; margin-top: clamp(24px, 6vh, 80px); }
.live .kicker { font: 600 .75rem/1rem var(--sans); color: var(--muted); margin: 0; }
.live .statement { max-width: none; }
.live .when { margin: 0; }
.bars { display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); padding: 8px 0 4px; }
.engine h3 { margin: 0 0 10px; }
.engine h3 small { display: block; font: 400 .75rem/1rem var(--sans); color: var(--muted); }
.engine dl { margin: 0; display: grid; gap: 8px; }
.engine dt { font-size: .75rem; line-height: 1rem; color: var(--muted); }
.engine dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.engine .track { display: block; height: 12px; }
.engine .level, .moved .level { display: block; height: 100%; min-width: 2px; border-radius: 2px; }
.engine .level.first, .moved .level.first { background: var(--edge); }
.engine .level.now, .moved .level.now { background: var(--ink); }
.engine .n { font-size: .875rem; line-height: 1.375rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink2); }
.engine .change { margin: 8px 0 0; font-size: .875rem; font-weight: 600; color: var(--muted); }
/* The five steps of one week beside one real answer that names the first customer: the answer card of brand.html, a
   white card with a short answer in Funnel Sans and the name of the company on the highlight. */
.week { display: grid; gap: var(--gap) clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
.week .lead { margin-bottom: 28px; }
.answer-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; }
.answer-card figcaption { font-size: .875rem; line-height: 1.375rem; color: var(--muted); }
.answer-card figcaption b { color: var(--ink); }
.answer-card .asked { font: 600 1.125rem/1.625rem var(--display); color: var(--ink); margin: 0; }
.answer-card blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--line); display: grid; gap: 2px; font-size: .9375rem; line-height: 1.5rem; }
.answer-card blockquote p { margin: 0; }
.answer-card blockquote .first { font-weight: 600; color: var(--ink); margin-top: 6px; }
.answer-card .cut { color: var(--muted); }
/* The product beside the other tools: the own row on the second background, never yellow (the yellow means a name that
   an answer picked). */
.rivals h2, .faq h2 { margin-bottom: 20px; }
.tools { overflow-x: auto; }
.tools th:nth-child(2) { width: 22%; }
.tools .list th:first-child, .tools .list td:first-child { padding-left: 12px; }
.tools .list th:last-child, .tools .list td:last-child { padding-right: 12px; }
.tools td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tools tr.own td { background: var(--surface); }
.tools tr.own td:first-child { border-radius: 8px 0 0 8px; }
.tools tr.own td:last-child { border-radius: 0 8px 8px 0; }
.tools .trial { display: block; font-size: .875rem; line-height: 1.375rem; color: var(--muted); }
.tools + .note { margin-top: 12px; }
/* A comparison page (Features/Compare): the answer first, then the table of the tools, which tool fits each need, and
   the free check. Distribura beside one tool: the points in the first column, the column of Distribura on its own
   background. */
.compare, .measure-table { display: grid; gap: var(--gap); padding-top: 16px; align-content: start; }
.compare header { display: grid; gap: 14px; }
.compare h1 { text-wrap: balance; margin: 0; }
.compare .lead { max-width: none; }
.compare .more { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* A list of pages: the page «Compare», the guides, the free tools. Each link with its one line under it. */
.links h2 { margin-bottom: 14px; }
.links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px clamp(24px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.links li { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 2px; }
.links li a { font-weight: 600; }
.links li span { font-size: .875rem; line-height: 1.375rem; color: var(--muted); }
.links li b { color: var(--ink); }
/* The free tools: a crawler that feeds the answers and is blocked stands in the color of worse; the home page and the
   sitemaps side by side. The test on Recepción24: the note of an engine under its name. */
.tools tr.fault td { color: var(--worse); font-weight: 600; }
.worse { color: var(--worse); }
.probe { display: grid; gap: var(--gap) clamp(32px, 5vw, 96px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); align-items: start; }
.probe h2 { margin-bottom: 12px; }
.probe dl { margin: 0; display: grid; gap: 8px; }
.probe dl div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 8px; }
.probe dt { color: var(--muted); }
.probe dd { margin: 0; overflow-wrap: anywhere; }
.probe ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.probe .url { overflow-wrap: anywhere; }
.llms { max-height: 32rem; overflow: auto; }
.tools th small { display: block; font-weight: 400; }
.versus th:nth-child(2) { width: auto; }
.versus table.list tbody th { font: inherit; font-weight: 600; color: var(--ink); padding: 13px 16px 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; width: 1%; }
.versus table.list tr:last-child th { border-bottom: 0; }
.versus .own { background: var(--surface); }
.versus td { width: 50%; }
.versus td:first-child { font-weight: 400; white-space: normal; }
.fits h2 { margin-bottom: 16px; }
.fits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px clamp(24px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.fits li { border-top: 1px solid var(--line); padding-top: 12px; }
.fits li.own { border-top-color: var(--ink); }
.fits b { color: var(--ink); }
/* Eight questions: four columns, two on a laptop, one on a phone, so no row is short. */
.qa { display: grid; gap: 28px clamp(24px, 3vw, 48px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qa h3 { margin: 0 0 6px; }
.qa p { margin: 0; max-width: 62ch; }
.maker { border-top: 1px solid var(--line); padding-top: var(--gap); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; }
.maker h2 { margin: 0; font-size: 1.125rem; line-height: 1.625rem; }
.maker p { margin: 0; }
/* A new page that Distribura wrote for its own site: one column of text, at a width that reads well. */
.own-page { max-width: 48rem; overflow-wrap: anywhere; padding-top: 16px; }
.own-page h1 { text-wrap: balance; margin-bottom: 20px; }
.own-page h2 { margin: 32px 0 10px; }
.own-page h3 { margin: 22px 0 6px; }
.own-page table, .preview table { border-collapse: collapse; margin: 0 0 12px; max-width: 100%; }
.own-page table { display: block; overflow-x: auto; }
.own-page th, .own-page td, .preview th, .preview td { border-bottom: 1px solid var(--line); padding: 8px 16px 8px 0; text-align: left; vertical-align: top; }
.own-page sup, .preview sup { font-size: .7rem; }
.own-page sup a, .preview sup a { color: var(--muted); }
.own-note { border-top: 1px solid var(--line); padding-top: 16px; max-width: 48rem; }
/* The page «About» (HandPages/about.html): the whole width, in blocks side by side. The one sentence at the size of a
   statement beside the words under it, the six numbers of one week in a row, then the ways of work and the promises,
   three to a row, and the six links in one row. */
.own-page:has(> .about) { max-width: none; }
.about { display: grid; gap: clamp(40px, 5vw, 72px); }
.about h2 { margin: 0 0 18px; }
.about-intro { display: grid; gap: 16px clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 46rem) minmax(0, 40rem); justify-content: start; align-items: end; }
.about-intro p { max-width: 62ch; }
.about-intro .about-say { font: 600 1.75rem/2.25rem var(--display); letter-spacing: -.01em; color: var(--ink); max-width: 34em; text-wrap: balance; }
.about-numbers, .about-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px clamp(24px, 3vw, 48px); }
.about-numbers, .about .links ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.about-numbers li, .about-grid li { border-top: 1px solid var(--line); padding-top: 12px; }
.about-numbers li { display: grid; gap: 4px; align-content: start; }
.about-numbers b { font: 600 3rem/3.25rem var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.about-numbers span { font-size: .875rem; line-height: 1.375rem; color: var(--ink2); }
.about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-grid h3 { margin: 0 0 6px; }
.about-grid p { margin: 0; max-width: 62ch; }
.about-grid.never li { border-top-color: var(--ink); }
@media (max-width: 1100px) {
    .about-intro { grid-template-columns: minmax(0, 1fr); }
    .about-numbers, .about .links ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* On a phone: one column, and each number beside its words. */
@media (max-width: 640px) {
    .about-intro .about-say { font-size: 1.375rem; line-height: 1.875rem; }
    .about-numbers, .about-grid, .about .links ul { grid-template-columns: minmax(0, 1fr); }
    .about-numbers li { grid-template-columns: 4.5rem minmax(0, 1fr); align-items: baseline; gap: 12px; }
    .about-numbers b { font-size: 2.25rem; line-height: 2.5rem; }
}
.hero { display: grid; gap: 20px; padding: clamp(24px, 6vh, 80px) 0 8px; justify-items: start; }
/* The headline of the public home: 56 and 60, and 40 and 44 on a phone. */
.hero h1 { font-size: 3.5rem; line-height: 3.75rem; letter-spacing: -.02em; text-wrap: balance; max-width: 14em; }
.hero mark { margin: 0; }
.lead { max-width: 600px; margin: 0; }
.ask { display: flex; flex-wrap: wrap; gap: 12px; width: min(100%, 720px); margin-top: 8px; }
.ask input { flex: 1 1 260px; font-size: 1.125rem; padding: 12px 16px; }
.ask .btn { padding: 14px 28px; }
.week h2 { margin-bottom: 14px; }
/* The five steps: one row each, its number, its name and its text side by side; on a phone the text goes under the name. */
.week ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.week li { counter-increment: step; display: grid; grid-template-columns: 2ch minmax(0, 11rem) minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.week li:first-child { border-top-color: var(--ink); }
.week li::before { content: counter(step); font: 600 .75rem/1rem var(--sans); color: var(--muted); }
.week li h3 { margin: 0; }
.week li p { margin: 0; }
.offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.offer h2 { margin-bottom: 8px; }
.offer h2.price { font-size: 2.5rem; line-height: 2.75rem; letter-spacing: -.01em; }
.offer p { max-width: 70ch; margin: 0; }
.offer .btn { padding: 14px 32px; }
/* The answers of a free check: a question opens to its two answers */
.answers details > summary { list-style: none; cursor: pointer; }
.answers details > summary::-webkit-details-marker { display: none; }
.answers details > summary:hover { background: var(--surface); }
.answers details[open] > summary { background: var(--surface); }
.answers details .cols { padding: 16px 0 24px; }
.answers details h3 { margin-top: 0; }
.answers details .text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.375rem; max-width: 78ch; }

/* Tables */
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font: 600 .75rem/1rem var(--sans); color: var(--muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line); }
table.list td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; }
table.list tr:last-child td { border-bottom: 0; }
table.list th:last-child, table.list td:last-child { padding-right: 0; }
table.list td:first-child a { font-weight: 600; }
table.list .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.list.week-rows td a { font-weight: 600; }
table.edit td { vertical-align: middle; padding-top: 6px; padding-bottom: 6px; border-bottom: 0; }
table.edit td:first-child { white-space: nowrap; overflow-wrap: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
table.edit td.wide { width: 100%; }
.fields.name { margin-bottom: 24px; }
table.edit input { width: 100%; }

/* Forms */
label { display: grid; gap: 6px; font-size: .875rem; line-height: 1.375; font-weight: 600; color: var(--ink); }
label.tick { display: flex; align-items: center; gap: 10px; align-self: end; padding-bottom: 12px; }
/* A field: the edge of brand.html (3.48 on white, where a part of a screen needs 3), and ink text. */
input, select, textarea { font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--edge); border-radius: 8px; padding: 10px 12px; min-width: 0; }
::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input[type=checkbox] { width: 18px; height: 18px; padding: 0; accent-color: var(--ink); }
.fields { display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.fields .btn { align-self: end; justify-self: start; }

/* The buttons of brand.html: the main button is ink with white text, the quiet button is white with ink text and an
   edge, and the button that deletes is the red of «worse» with white text (5.63). */
.btn { display: inline-block; font: 600 .9375rem/1.4 var(--sans); border: 1px solid transparent; border-radius: 8px; padding: 10px 18px; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--button); color: var(--button-text); }
.btn.primary:hover { background: var(--button-hover); }
.btn.ghost, .btn:not(.primary):not(.danger) { background: var(--paper); border-color: var(--edge); color: var(--ink); }
.btn.ghost:hover, .btn:not(.primary):not(.danger):hover { border-color: var(--ink); }
.btn.danger { background: var(--worse); color: var(--button-text); }
.bar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 20px; }
.confirm summary { list-style: none; }
.confirm summary::-webkit-details-marker { display: none; }
.confirm-ask { margin-top: 10px; padding: 16px; border-left: 3px solid var(--worse); border-radius: 0 8px 8px 0; background: var(--surface); max-width: 60ch; }

/* The answers to one question */
.answer { border-top: 1px solid var(--line); padding: 14px 0; }
.answer summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 10px; list-style: none; }
.answer summary::-webkit-details-marker { display: none; }
.answer summary::after { content: "Read"; margin-left: auto; font-weight: 400; font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.answer[open] summary::after { content: "Close"; }
.answer .meta { color: var(--muted); font-size: .875rem; margin: 10px 0; }
/* The small headings inside an answer and inside a part of a plan: small text, weight 600, in ink. */
.answer h3, .parts h3, .answers details h3 { font: 600 .875rem/1.375rem var(--sans); color: var(--ink); }
.answer .text { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 78ch; }
.pages { margin: 0; padding-left: 18px; }
.pages li { overflow-wrap: anywhere; }
.pages li span { color: var(--muted); font-size: .875rem; }
.pages li.hit a { font-weight: 600; }

/* The approval page: the plan and its one button, then each new page and each fix as it will read */
.approve { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 48px; }
.approve > div:first-child { flex: 1 1 520px; min-width: 0; }
.approve > div:first-child p { max-width: 110ch; }
.approve form, .approve > div + div { display: grid; gap: 10px; justify-items: start; }
.approve .btn { padding: 14px 32px; }
.item { border-top: 1px solid var(--line); padding-top: var(--gap); display: grid; gap: 12px; }
.item > h2 { margin: 0; }
.item > p { max-width: 110ch; margin: 0; }
.parts { display: grid; gap: var(--gap); align-items: start; margin-top: 8px; }
.parts.page { grid-template-columns: minmax(0, 48rem) minmax(0, 1fr); }
.parts.fix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.parts h3 { margin-top: 0; }
.parts > div { display: grid; gap: 8px; min-width: 0; }
.item .meta { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.preview { border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 2.4vw, 40px); overflow-wrap: anywhere; }
.preview h1 { font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance; }
.preview h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.preview h3 { font: 600 1.05rem var(--display); color: var(--ink); margin: 20px 0 6px; }
.before, .after { border-radius: 8px; padding: 16px 20px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; }
.before { background: var(--surface); color: var(--muted); }
.after { border: 1px solid var(--ink); }
div.before { font-size: 1rem; }
.facts ol { margin: 0; padding-left: 1.4em; columns: 24rem; column-gap: var(--gap); font-size: .875rem; line-height: 1.375rem; }
.facts li { break-inside: avoid; margin-bottom: 12px; }
.facts li p { margin: 0 0 2px; }
.parts.fix .facts ol { columns: auto; }

/* The report: three scores, the findings to do first, then one section each for SEO, GEO, and Mail and spam. A score is
   ink, never yellow: yellow means only «an answer names the company». A finding is a line that opens; its severity is a
   word first and a color second. */
.scores, .since-cols { display: grid; gap: 28px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.scores { padding-top: 16px; }
.score-col { display: grid; gap: 20px; align-content: start; min-width: 0; }
.score-tile { display: grid; gap: 4px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink2); }
.score-tile:hover { border-color: var(--ink); }
.score-tile .name { font: 600 1.125rem/1.625rem var(--display); color: var(--ink); }
.score-tile .value { color: var(--muted); font-variant-numeric: tabular-nums; }
.score-tile .value b { font: 600 3rem/3.25rem var(--display); color: var(--ink); letter-spacing: -.02em; }
.score-tile .band { font-size: .875rem; }
/* The «i» of a card or a section. Its box opens on the pointer, a tap or the keyboard, takes the width of its card or
   column, and stays open while the pointer moves from the icon into it: the wide target of the icon reaches the box. In
   the block «Since» the box opens upward, because the page ends below it. */
.score-card, .with-info { position: relative; }
.with-info { display: flex; align-items: center; gap: 8px; }
.with-info h2, .with-info h3 { margin: 0; }
.score-col .with-info h3, .findings .with-info h3 { font: 600 .875rem/1.375rem var(--sans); color: var(--ink); }
.fact .with-info { margin: 18px 0 6px; }
.fact .with-info:first-child { margin-top: 0; }
.card > .with-info, .approve .with-info, .setup .with-info, .cited .with-info, .premium-block .with-info { margin-bottom: 10px; }
.ranking .with-info { margin: 6px 0 14px; }
.legend.with-info { gap: 8px 28px; }
.lede .with-info { align-items: flex-start; }
.lede .info-icon { margin-top: 12px; }
.info-icon { position: relative; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid var(--edge); border-radius: 50%; background: none; color: var(--muted); font: 600 .75rem/1 var(--sans); cursor: help; }
.info-icon::after { content: ""; position: absolute; inset: -14px; }
.info:hover .info-icon, .info:focus-within .info-icon { border-color: var(--ink); color: var(--ink); }
.score-card .info-icon { position: absolute; top: 14px; right: 14px; }
.info-box { display: none; position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 2px); max-width: min(40rem, calc(100vw - 2 * var(--pad))); max-height: min(72vh, 40rem); overflow-y: auto; padding: 16px 18px; background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; box-shadow: 0 8px 28px rgb(0 0 0 / .35); color: var(--ink2); font: 400 .875rem/1.375rem var(--sans); letter-spacing: normal; white-space: normal; text-align: left; }
table .info-box { right: auto; width: min(26rem, calc(100vw - 2 * var(--pad))); }
.info:hover .info-box, .info:focus-within .info-box { display: grid; gap: 10px; }
.score-card .info-box { top: 42px; }
.info .info-box p { margin: 0; }
.info-box dl { margin: 0; display: grid; gap: 8px; }
.info-box dt { font-weight: 600; color: var(--ink); }
.info-box dt span { font-weight: 400; color: var(--muted); margin-left: 6px; font-variant-numeric: tabular-nums; }
.info-box dd { margin: 0; }
/* The box of a score lists every category: wider than its card on a computer, with the categories in two columns, so it
   fits with no scroll bar. */
@media (min-width: 1100px) {
    .score-card .info-box { right: auto; width: 46rem; max-width: calc(100vw - 2 * var(--pad)); }
    .score-col:nth-child(2) .score-card .info-box { left: 50%; transform: translateX(-50%); }
    .score-col:nth-child(3) .score-card .info-box { left: auto; right: 0; }
    .score-card .info-box dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
}
.since .info-box { top: auto; bottom: calc(100% + 2px); }
.since > .with-info .info-box { right: auto; width: min(100%, 40rem); }
/* What to do, under each score: the severity, then the finding and its one instruction. */
.todo { list-style: none; margin: 0; padding: 0; display: grid; }
.todo li { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.todo li:first-child { border-top: 0; padding-top: 0; }
.todo .sev { justify-self: start; }
.todo a { font-weight: 600; }
.todo p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.375rem; }
.where { color: var(--muted); font-size: .875rem; margin-left: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The report and its plan: the line of the plan over the scores, the mark of a finding that a fix solves, and the fix that
   such a mark opens. */
.report-plan { margin-bottom: calc(16px - var(--gap)); }
.report-plan + .scores { padding-top: 0; }
.report-plan p { margin: 0; color: var(--ink2); }
.report-plan b { color: var(--ink); }
a.in-plan { display: inline-block; margin-left: 8px; padding: 0 9px; border: 1px solid var(--edge); border-radius: 999px; font: 600 .75rem/1.125rem var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; vertical-align: baseline; }
a.in-plan:hover { border-color: var(--ink); }
.card.item { scroll-margin-top: 16px; }
.card.item:target { border-color: var(--ink); }
/* Since the week before: three columns under the three above. A moved number is two bars, the earlier week in the edge
   color and this week in ink (brand.html, «The chart colors»), each with its value in plain text. */
.since { border-top: 1px solid var(--line); padding-top: var(--gap); }
.since > .with-info { margin-bottom: 20px; }
.since h2 { font-size: 1.125rem; line-height: 1.625rem; margin: 0; }
.since-cols > div { min-width: 0; display: grid; gap: 14px; align-content: start; }
.since-count { margin: 0; color: var(--muted); }
.since-count b { font: 600 2.25rem/2.5rem var(--display); color: var(--ink); letter-spacing: -.02em; margin-right: 4px; }
.moved { list-style: none; margin: 0; padding: 0; display: grid; }
.moved li { display: grid; grid-template-columns: 3.75rem minmax(40px, 1fr) 5.5rem; align-items: center; gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.moved li:first-child { border-top: 0; padding-top: 0; }
.moved .what { grid-column: 1 / 3; font-weight: 600; }
.moved .where { font-weight: 400; }
.moved .change { justify-self: end; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.moved .week-label { color: var(--muted); font-size: .75rem; line-height: 1rem; white-space: nowrap; }
.moved .track { display: block; height: 10px; }
.moved .n { justify-self: end; font-size: .875rem; line-height: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink2); }
.sev { display: inline-block; font: 600 .75rem/1.125rem var(--sans); border: 1px solid var(--line); border-radius: 999px; padding: 0 9px; white-space: nowrap; color: var(--muted); }
.sev-critical, .sev-high { color: var(--worse); border-color: var(--worse); }
.sev-medium { color: var(--ink2); border-color: var(--edge); }
.review-section { display: grid; gap: var(--gap); padding-top: 16px; }
.score-line { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.score-line b { font: 600 1.5rem/1.875rem var(--display); color: var(--ink); }
.section-body { display: grid; gap: var(--gap) clamp(32px, 4vw, 80px); grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
table.categories .why { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.25rem; }
.muted { color: var(--muted); }
.findings { display: grid; gap: 6px; }
/* One box for one severity: its head says what the severity means, and the findings of that severity stand inside it. */
.sev-group { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sev-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px; padding: 12px 16px; background: var(--surface); }
.sev-head .count { font-size: .875rem; font-weight: 600; color: var(--ink); }
.sev-head p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.375rem; }
.finding { border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.finding summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 12px 16px; }
.finding summary::-webkit-details-marker { display: none; }
.finding summary:hover .title { text-decoration: underline; text-underline-offset: 3px; }
.finding .title { font-weight: 600; color: var(--ink); }
.finding .share { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finding:target { box-shadow: inset 3px 0 0 var(--ink); }
.finding-body { display: grid; gap: 8px; padding: 0 16px 16px; }
.finding-body p { margin: 0; max-width: 110ch; }
.finding-body .do b { color: var(--ink); }
.items { margin: 4px 0 0; padding-left: 1.1em; font-size: .875rem; line-height: 1.375rem; max-height: 26rem; overflow-y: auto; columns: 30rem; column-gap: var(--gap); }
.items li { overflow-wrap: anywhere; break-inside: avoid; }
.items .detail { color: var(--muted); margin-left: 6px; }
.facts-grid { display: grid; gap: var(--gap) clamp(32px, 4vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.fact { min-width: 0; }
.fact.wide { grid-column: 1 / -1; }
.fact h3:first-child { margin-top: 0; }
.fact p { margin: 0 0 8px; }
.fact code { font: .8125rem/1.25rem Consolas, ui-monospace, monospace; overflow-wrap: anywhere; }
ul.plain { margin: 0 0 8px; padding-left: 1.1em; font-size: .875rem; line-height: 1.375rem; }
ul.plain li { overflow-wrap: anywhere; }
dl.pairs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0 0 10px; }
dl.pairs dt { font-weight: 600; color: var(--ink); }
dl.pairs dd { margin: 0; overflow-wrap: anywhere; }
.premium-intro { display: grid; gap: 10px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.premium-intro p { margin: 0; }
.premium-section h2 { margin-bottom: 12px; }
.premium-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: stretch; }
/* A premium feature: a flat card on the surface color, with no shadow and no yellow. The key is its one mark: the check
   needs your account. In the report the link at its foot covers the whole card. */
.premium-feature { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 16px; }
.premium-feature h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.premium-feature h3 svg { flex: none; width: 22px; height: 22px; color: var(--muted); }
.premium-feature p { margin: 0; font-size: .875rem; line-height: 1.375rem; }
.premium-feature b { color: var(--ink); }
.premium-feature a { margin-top: auto; padding-top: 4px; font-size: .875rem; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.premium-feature a::after { content: ""; position: absolute; inset: 0; border-radius: 11px; }
.premium-feature a:focus-visible { outline: none; }
.premium-feature a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.premium-feature:has(a):hover, .premium-feature:target { border-color: var(--ink); }
.premium-block .premium-grid { margin-top: 4px; }
.review-section .summary.report { padding-top: 0; }

@media (max-width: 1280px) {
    .section-body { grid-template-columns: minmax(0, 1fr); }
    .front { grid-template-columns: minmax(0, 1fr); }
    .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .live { margin-top: 0; }
    .start { grid-template-columns: minmax(0, 1fr); }
    .summary.connection, .setup, .cited { grid-template-columns: minmax(0, 1fr); }
    .parts.page, .parts.fix { grid-template-columns: minmax(0, 1fr); }
    .summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .lede { grid-column: 1 / -1; }
    .statement { max-width: 18em; }
}
@media (max-width: 900px) {
    .week, .scores, .since-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    main { padding-bottom: 48px; }
    .hero h1 { font-size: 2.5rem; line-height: 2.75rem; }
    .head.page h1 { font-size: 1.5rem; line-height: 1.875rem; letter-spacing: -.01em; }
    /* A table fits the width of a phone: less space between the cells, and a number may wrap. */
    table.list { font-size: .875rem; line-height: 1.375rem; }
    table.list th, table.list td { padding-right: 10px; }
    table.list .num { white-space: normal; }
    /* The list of the sites: one block for each site, its domain first, then its facts with their labels. */
    table.list:is(.sites, .week-rows) thead, .cited table.list thead, .tools table.list thead { display: none; }
    table.list:is(.sites, .week-rows), table.list:is(.sites, .week-rows) tbody, table.list:is(.sites, .week-rows) tr, .cited table.list, .cited table.list tbody, .cited table.list tr { display: block; }
    table.list:is(.sites, .week-rows) tr, .cited table.list tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
    table.list:is(.sites, .week-rows) td { display: inline-block; padding: 0 16px 4px 0; border: 0; color: var(--muted); overflow-wrap: anywhere; }
    table.list:is(.sites, .week-rows) td:first-child { display: block; padding-right: 0; color: inherit; }
    table.list:is(.sites, .week-rows) td[data-label]::before { content: attr(data-label) ": "; }
    /* A table of tools stacks on a phone: one block for each tool, its name and its price first. On the page of
       Distribura beside one tool, each answer carries the name of its tool. */
    .tools table.list, .tools table.list tbody, .tools table.list tr, .tools table.list td, .tools table.list tbody th { display: block; width: auto; }
    .tools table.list tr { padding: 12px; border-bottom: 1px solid var(--line); }
    .tools table.list td, .tools table.list td:first-child, .tools table.list td:last-child, .tools table.list tbody th, .tools table.list th:first-child { padding: 0 0 4px; border: 0; white-space: normal; }
    .tools tr.own { background: var(--surface); border-radius: 8px; }
    .tools tr.own td, .versus .own { background: none; }
    .probe dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    /* Other sites the answers cite: one block for each site, its name, its page, then its two numbers with their labels. */
    .cited table.list td { display: block; padding: 0 0 4px; border: 0; text-align: left; }
    .cited table.list td.num { display: inline-block; margin-right: 20px; color: var(--muted); }
    .cited table.list td.num::before { content: attr(data-label) ": "; }
    .cited .host { white-space: normal; overflow-wrap: anywhere; }
    .tools td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; line-height: 1rem; color: var(--muted); margin-top: 6px; }
    .tag { white-space: normal; margin-left: 0; }
    .summary, .summary.account, .summary.report { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .weeks { margin-left: 0; }
    .week li { grid-template-columns: 2ch minmax(0, 1fr); }
    .week li p { grid-column: 2; }
    .qa { grid-template-columns: minmax(0, 1fr); }
    .board { margin: 0 calc(var(--pad) * -1 + 6px); }
    .row { grid-template-columns: repeat(3, 1fr); gap: 6px 8px; padding: 12px; }
    .row .q, .row.heads h2 { grid-column: 1 / -1; padding-right: 0; }
    .ranking li { grid-template-columns: 2ch minmax(8ch, 12ch) minmax(24px, 1fr) 3ch; gap: 10px; }
    table.edit, table.edit tbody, table.edit tr, table.edit td { display: block; width: 100%; }
    table.edit thead { display: none; }
    table.edit tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
    table.edit td { padding: 3px 0; }
    table.edit select { width: 100%; }
    /* The report on a phone: a finding is its title, with its count under it; a pair of
       facts stack. */
    .score-tile { padding: 14px 18px; }
    .score-tile .value b { font-size: 2.25rem; line-height: 2.5rem; }
    .finding summary { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .items { columns: auto; }
    dl.pairs { grid-template-columns: minmax(0, 1fr); }
    dl.pairs dd { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
    a.row, .btn { transition: background-color .12s ease, border-color .12s ease; }
}
