// Deliberately quiet. This sits under the tool, so it should read as a footnote // to the page rather than compete with the controls above it: muted text and no // card chrome. It spans the same width as the tool above it, so the page has one // edge; running prose keeps a measure narrow enough to actually be read, and the // lists spread into columns to use the rest. .tool-notes { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; h2 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; } p { max-width: 80ch; margin-bottom: 0.9rem; &:last-child { margin-bottom: 0; } } } // Steps and questions, added when the notes grew from two paragraphs into the // page's real content. Still quiet - this is a footnote that got longer, not a // second tool above the fold. .tool-notes { h3 { font-size: 0.98rem; font-weight: 600; color: var(--text); margin: 1.4rem 0 0.6rem; } // Short items, so as many columns as fit at a readable width. ul.features { columns: 22rem; column-gap: 2.5rem; margin: 0 0 0.9rem; padding-left: 1.3rem; li { break-inside: avoid; margin-bottom: 0.25rem; } } ol { max-width: 80ch; margin: 0 0 0.9rem; padding-left: 1.3rem; li { margin-bottom: 0.4rem; } li:last-child { margin-bottom: 0; } } // Each question and its answer is one grid cell, so the pairs sit side by // side on a wide screen and stack on a narrow one. dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 0.9rem 2.5rem; margin: 0; } dt { font-weight: 600; color: var(--text); } dd { margin: 0.25rem 0 0; } } // "At a glance": the short facts a reader (or an assistant quoting the page) // wants first - what it opens, where it works, price, privacy, limits - one // plain sentence each under a bold label. A list, not a
: readNotes takes // every
/
pair in the notes as a question for the FAQPage data. .tool-notes ul.glance { list-style: none; max-width: 80ch; margin: 0 0 1.1rem; padding: 0.65rem 1rem; border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: 8px; li { margin: 0.15rem 0; } b { color: var(--text); font-weight: 600; } } // "This tool vs common alternatives". The table keeps a readable width and // scrolls inside its own box on a phone rather than widening the page. .tool-notes { .compare-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 0.5rem; border: 1px solid var(--border); border-radius: 8px; // Lets the caption wrap to the visible width rather than the table's. container-type: inline-size; } table.compare { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.9rem; line-height: 1.45; caption { caption-side: top; padding: 0.45rem 0.65rem; text-align: left; font-size: 0.8rem; color: var(--text-muted); // On a phone the table scrolls sideways; the caption stays readable without scrolling. max-width: 100cqw; box-sizing: border-box; } // The line under the caption, drawn on the header so it runs the table's full width when it scrolls. caption + thead > tr:first-child > * { border-top: 1px solid var(--border); } th, td { padding: 0.45rem 0.65rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; } tbody tr:last-child > * { border-bottom: 0; } th { color: var(--text); font-weight: 600; } tr.this { background: var(--brand-light); } } .compare-note { font-size: 0.85rem; } } // Just above the notes: where to go from this tool. Cards rather than chips, // because each link carries a reason. // Outside .tool-notes on purpose: finalize-seo.mjs reads the notes back into // structured data. The feedback link sits right under the tool, at its right. .feedback-row { display: flex; justify-content: flex-end; margin: 0.75rem 0 0; } // A screenshot of the tool's own result, near the top of the notes, so the // page shows what the tool produces (made by scripts/capture-shots.mjs). The // carries width and height, so its box is reserved before it loads and // nothing below moves; it is lazy and sits below the tool, so it never // competes with the page's first paint. .tool-notes figure.shot { max-width: 100%; margin: 0 0 1.1rem; img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; } figcaption { max-width: 80ch; margin-top: 0.4rem; font-size: 0.85rem; } }