/* SalesBlog — "field notebook" theme. No framework, self-hosted fonts. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #FAF7F0;
  --paper-alt: #F3EEE2;
  --card: #FFFEFB;
  --ink: #1E2A44;
  --ink-soft: #545E73;
  --ink-faint: #857F70;
  --line: #E4DCCB;
  --rule: #DCE3F2;
  --biro: #2B4C9B;
  --biro-dark: #1E3A7A;
  --highlight: #FFE27A;
  --highlight-soft: #FFF3C4;
  --red-pen: #C8412B;
  --tick: #2F7D52;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 740px;
  --max-wide: 1120px;
  --shadow-card: 0 1px 0 var(--line), 0 10px 26px -18px rgba(30, 42, 68, 0.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; color: var(--ink); background: var(--paper); line-height: 1.65; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.012em; line-height: 1.2; font-variation-settings: "SOFT" 50; }

.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--biro); text-decoration: underline; text-decoration-color: rgba(43, 76, 155, 0.35); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; border-radius: 3px; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; flex-shrink: 0; }

/* Highlighter pen */
mark, .hl {
  color: inherit;
  background: linear-gradient(100deg, rgba(255, 226, 122, 0) 0.5%, var(--highlight) 2.5%, #FFDC66 60%, rgba(255, 226, 122, 0.85) 97%, rgba(255, 226, 122, 0) 99.5%);
  background-size: 100% 78%; background-position: 0 70%; background-repeat: no-repeat;
  padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.hand { font-family: var(--hand); font-weight: 600; }

/* Promise bar */
.promise-bar { background: var(--ink); color: #F1ECDF; font-size: 0.84rem; }
.promise-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding-top: 0.45rem; padding-bottom: 0.45rem; text-align: center; }
.promise-bar .icon { color: var(--highlight); }
.promise-bar a { color: var(--highlight); text-decoration-color: rgba(255, 226, 122, 0.4); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.logo { display: inline-flex; align-items: baseline; gap: 0.4rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 750; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo .icon { width: 1.05em; height: 1.05em; color: var(--biro); stroke-width: 2; vertical-align: -0.1em; }
.logo em { font-style: normal; background: linear-gradient(transparent 58%, var(--highlight) 58%, var(--highlight) 92%, transparent 92%); padding: 0 0.05em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.site-nav a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.site-nav a .icon { color: var(--ink-faint); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--highlight); }
.site-nav a:hover .icon { color: var(--biro); }

/* Footer — the notebook's back cover */
.site-footer { background: var(--ink); color: #D8D2C3; margin-top: 5rem; padding: 3rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo { color: #FAF7F0; font-size: 1.4rem; }
.footer-brand .logo em { background: linear-gradient(transparent 58%, rgba(255, 226, 122, 0.45) 58%, rgba(255, 226, 122, 0.45) 92%, transparent 92%); }
.footer-brand p { margin: 0.75rem 0 0; max-width: 34ch; }
.footer-brand .hand { font-size: 1.35rem; color: var(--highlight); display: block; margin-top: 0.75rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #A9A294; margin: 0 0 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #F1ECDF; text-decoration: none; }
.site-footer a:hover { color: var(--highlight); }
.copyright { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.84rem; color: #A9A294; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--ink); color: #FAF7F0; padding: 0.7rem 1.2rem; border-radius: 6px; text-decoration: none; font-weight: 650; border: 2px solid var(--ink); cursor: pointer; font-size: 1rem; font-family: var(--sans); box-shadow: 3px 3px 0 var(--highlight); transition: transform 0.12s, box-shadow 0.12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--highlight); color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 var(--line); }

/* Hero */
.hero { position: relative; padding: 3.5rem 0 3.25rem; border-bottom: 1px solid var(--line); background-color: var(--paper); background-image: radial-gradient(rgba(30, 42, 68, 0.13) 1px, transparent 1.2px); background-size: 22px 22px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero .kicker { font-family: var(--hand); font-size: 1.5rem; color: var(--red-pen); margin: 0 0 0.25rem; transform: rotate(-1.5deg); display: inline-block; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 0 0 1rem; line-height: 1.08; font-weight: 700; }
.hero p.lede { color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 1.6rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }
.hero-promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--ink-soft); }
.hero-promises li { display: flex; gap: 0.5rem; align-items: center; }
.hero-promises .icon { color: var(--tick); stroke-width: 2.4; }

/* Taped polaroid photo */
.polaroid { position: relative; background: #FFFFFF; padding: 0.7rem 0.7rem 2.6rem; box-shadow: 0 2px 0 var(--line), 0 18px 40px -22px rgba(30, 42, 68, 0.5); transform: rotate(1.6deg); margin: 0; }
.polaroid img { display: block; width: 100%; height: auto; }
.polaroid figcaption { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.45rem; font-family: var(--hand); font-size: 1.3rem; color: var(--ink-soft); text-align: center; }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 226, 122, 0.72); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.hero-visual { position: relative; }
.hero-note { margin: 1.6rem 0 0 auto; max-width: 17rem; font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; color: var(--biro); transform: rotate(-3deg); text-align: right; }
.hero-note .icon { width: 1.9rem; height: 1.9rem; transform: rotate(-90deg); color: var(--biro); stroke-width: 1.6; vertical-align: -0.35em; }

/* Sections */
.section { padding: 3rem 0 0.5rem; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0 0 1.4rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.6rem; }
.section-title h2 { margin: 0; font-size: 1.65rem; display: flex; align-items: center; gap: 0.55rem; }
.section-title h2 .icon { color: var(--biro); }
.section-title a { font-size: 0.92rem; font-weight: 650; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.3rem; }
.section-intro { color: var(--ink-soft); margin: -0.6rem 0 1.4rem; max-width: 60ch; }

/* Index cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { position: relative; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; background: var(--card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.card:hover { transform: translateY(-3px) rotate(-0.35deg); border-color: var(--ink-faint); box-shadow: 0 1px 0 var(--line), 0 18px 34px -20px rgba(30, 42, 68, 0.45); }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.05rem 1.2rem 1.3rem; background-image: linear-gradient(var(--rule) 1px, transparent 1px); background-size: 100% 1.65rem; background-position: 0 2.35rem; flex: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--biro); font-weight: 750; }
.card h3 { margin: 0.45rem 0 0.45rem; font-size: 1.14rem; line-height: 1.3; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.65rem; }

/* Tool thumbnails: graph paper + big icon, no image download needed */
.tool-thumb { display: flex; align-items: center; justify-content: center; gap: 1rem; height: 100%; background-color: #FDFBF4; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 18px 18px; }
.tool-thumb .icon { width: 4.2rem; height: 4.2rem; stroke-width: 1.4; color: var(--ink); background: var(--highlight-soft); border-radius: 50%; padding: 0.85rem; box-shadow: 0 0 0 2px var(--ink); }
.tool-thumb .hand { font-size: 1.55rem; color: var(--biro); transform: rotate(-3deg); max-width: 9ch; line-height: 1; }

/* Rubber stamps */
.stamp { display: inline-block; font-family: var(--sans); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red-pen); border: 2.5px solid currentColor; border-radius: 5px; padding: 0.22em 0.6em; transform: rotate(-5deg); background: rgba(255, 255, 255, 0.82); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6), inset 0 0 0 3.5px currentColor; line-height: 1.4; }
.stamp.holds-up { color: var(--tick); }
.stamp.partly-true { color: #A36A00; }
.card-thumb .stamp { position: absolute; top: 0.8rem; right: 0.8rem; }
.stamp-lg { font-size: 1.05rem; padding: 0.3em 0.8em; }

/* Topic chips */
.topic-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.topic-chips a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 650; color: var(--ink); background: var(--card); transition: background 0.15s; }
.topic-chips a:hover { background: var(--highlight-soft); }
.topic-chips a .icon { color: var(--biro); }
.topic-chips span { color: var(--ink-faint); font-size: 0.8rem; font-weight: 500; font-variant-numeric: tabular-nums; }

/* The three rules */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3.5rem; }
.rule { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-card); position: relative; }
.rule .num { position: absolute; top: -0.9rem; left: 1.1rem; font-family: var(--hand); font-size: 1.9rem; color: var(--red-pen); background: var(--paper); padding: 0 0.35rem; line-height: 1; }
.rule h3 { margin: 0.3rem 0 0.4rem; font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.rule h3 .icon { color: var(--tick); stroke-width: 2.2; }
.rule p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Article pages */
.content-page { max-width: var(--max); margin: 0 auto; padding: 2.75rem 1.25rem 3rem; position: relative; }
.content-page h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin: 0.45rem 0 1rem; font-weight: 700; line-height: 1.12; }
.content-page h2 { margin-top: 2.6rem; font-size: 1.55rem; padding-bottom: 0.3rem; background: linear-gradient(var(--highlight), var(--highlight)) no-repeat left bottom / 2.5rem 3px; }
.content-page h3 { margin-top: 1.8rem; font-size: 1.22rem; }
.content-page p, .content-page ul, .content-page ol { font-size: 1.06rem; }
.content-page ul, .content-page ol { padding-left: 1.4rem; }
.content-page li { margin-bottom: 0.35rem; }
.content-page li::marker { color: var(--biro); }
.content-page blockquote { margin: 1.6rem 0; padding: 1rem 1.25rem 1rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--biro); border-radius: 0 4px 4px 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink); box-shadow: var(--shadow-card); }
.content-page blockquote p { margin: 0.4rem 0; }
.content-page table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.95rem; background: var(--card); box-shadow: var(--shadow-card); }
.content-page th, .content-page td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.content-page th { background: var(--paper-alt); font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.content-page code { background: var(--highlight-soft); padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.88em; }
.content-page .eyebrow a { color: inherit; text-decoration: none; }
.content-page .eyebrow a:hover { text-decoration: underline; }
.table-scroll { overflow-x: auto; }

/* Exercise-book margin line on wide screens */
@media (min-width: 1000px) {
  .content-page::before { content: ""; position: absolute; top: 2.5rem; bottom: 3rem; left: -1.4rem; width: 2px; background: rgba(200, 65, 43, 0.28); }
}

/* Trust strip under headlines */
.trust-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.trust-strip li { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.83rem; font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.75rem; }
.trust-strip li .icon { color: var(--ink-faint); }
.trust-strip li.verified { color: var(--tick); border-color: rgba(47, 125, 82, 0.35); }
.trust-strip li.verified .icon { color: var(--tick); stroke-width: 2.3; }
.trust-strip a { color: inherit; text-decoration: none; }
.trust-strip a:hover { text-decoration: underline; }

.post-hero { margin: 0 0 2.2rem; }
.post-hero img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.post-hero figcaption { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.45rem; text-align: right; }
.post-hero figcaption a { color: inherit; }

/* Myth claim box */
.claim-box { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 1.4rem 1.5rem 1.5rem; margin: 0 0 2rem; box-shadow: var(--shadow-card); }
.claim-box .label { font-family: var(--hand); font-size: 1.4rem; color: var(--ink-faint); display: block; margin-bottom: 0.2rem; }
.claim-box blockquote { all: unset; display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.55rem); line-height: 1.35; color: var(--ink); text-decoration: line-through; text-decoration-color: rgba(200, 65, 43, 0.55); text-decoration-thickness: 2px; padding-right: 7rem; }
.claim-box .stamp { position: absolute; top: 1.2rem; right: 1.1rem; }
.claim-box.holds-up blockquote, .claim-box.partly-true blockquote { text-decoration: none; }

/* Margin notes — hang in the margin on wide screens */
.margin-note { display: block; font-family: var(--hand); font-size: 1.35rem; line-height: 1.2; color: var(--biro); margin: 1.4rem 0; padding: 0.6rem 0.9rem 0.6rem 1rem; border-left: 3px solid var(--biro); background: rgba(43, 76, 155, 0.05); }
.margin-note::before { content: "Our working: "; font-weight: 700; }
@media (min-width: 1280px) {
  .margin-note { float: right; clear: right; width: 15rem; margin: 0.2rem -18.5rem 1rem 0; padding: 0; border: 0; background: none; transform: rotate(-1.5deg); font-size: 1.3rem; }
  .margin-note::before { content: "\2190  "; font-weight: 700; }
}

.disclosure-box { display: flex; gap: 0.7rem; background: var(--highlight-soft); border: 1px solid #EFD98A; border-radius: 4px; padding: 0.9rem 1.1rem; font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 2rem; }
.disclosure-box .icon { color: #A36A00; margin-top: 0.2rem; }

.corrections { margin-top: 2.6rem; font-family: var(--hand); font-size: 1.35rem; color: var(--ink-soft); display: flex; gap: 0.5rem; align-items: center; }
.corrections .icon { color: var(--red-pen); }

/* End-of-post navigation */
.post-nav { margin-top: 2rem; padding-top: 1.6rem; border-top: 2px solid var(--ink); }
.post-nav h2 { margin: 0 0 0.9rem; font-size: 1.2rem; background: none; padding: 0; }
.post-nav ul { margin: 0; padding-left: 1.2rem; }
.post-nav li { margin-bottom: 0.45rem; }
.post-nav .back { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; font-weight: 650; text-decoration: none; }
.post-nav .back .icon { transform: rotate(180deg); }

/* Listing pages */
.list-page { max-width: var(--max-wide); margin: 0 auto; padding: 2.75rem 1.25rem 3rem; }
.list-head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.list-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0.2rem 0 0.4rem; display: flex; align-items: center; gap: 0.6rem; }
.list-page h1 .icon { color: var(--biro); }
.list-head p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
.list-head .count { font-family: var(--hand); font-size: 1.5rem; color: var(--red-pen); transform: rotate(-3deg); white-space: nowrap; }
.list-banner { margin: 0 0 2rem; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); aspect-ratio: 21 / 6; }
.list-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Topic list */
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.25rem 1.8rem; }
.topic-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.topic-list a { text-decoration: none; font-weight: 650; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); }
.topic-list a .icon { color: var(--biro); }
.topic-list a:hover { color: var(--biro); }
.topic-list span { color: var(--ink-faint); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2.5rem; }
.pagination a, .pagination .current { min-width: 2.5rem; text-align: center; padding: 0.45rem 0.6rem; border: 1.5px solid var(--ink); border-radius: 4px; text-decoration: none; font-weight: 650; font-size: 0.92rem; color: var(--ink); background: var(--card); }
.pagination a:hover { background: var(--highlight-soft); }
.pagination .current { background: var(--ink); color: var(--paper); }

/* Tool widgets — graph paper */
.tool-box { background-color: #FDFBF4; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 20px 20px; border: 1.5px solid var(--ink); border-radius: 6px; padding: 1.6rem; margin: 1.6rem 0 2.2rem; box-shadow: 5px 5px 0 var(--highlight); }
.tool-box label { display: block; font-weight: 650; font-size: 0.9rem; margin: 0.95rem 0 0.3rem; }
.tool-box label:first-child { margin-top: 0; }
.tool-box input, .tool-box select, .tool-box textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1.5px solid var(--line); border-radius: 4px; font-size: 1rem; font-family: inherit; background: #FFFFFF; color: var(--ink); }
.tool-box input:focus, .tool-box select:focus { border-color: var(--biro); outline: none; box-shadow: 0 0 0 3px rgba(43, 76, 155, 0.15); }
.tool-box .result { margin-top: 1.3rem; padding: 1.05rem 1.15rem; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; font-size: 1.04rem; box-shadow: var(--shadow-card); }
.tool-box .result strong { font-family: var(--serif); color: var(--ink); font-size: 1.45rem; background: linear-gradient(transparent 55%, var(--highlight) 55%, var(--highlight) 92%, transparent 92%); padding: 0 0.1em; }

/* Photo credits */
.credits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.credits-grid figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-card); }
.credits-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.credits-grid figcaption { padding: 0.55rem 0.75rem; font-size: 0.85rem; color: var(--ink-soft); }

/* Standards page */
.promise-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.8rem; }
.promise-list li { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0.95rem 1.1rem; box-shadow: var(--shadow-card); }
.promise-list li .icon { color: var(--tick); stroke-width: 2.3; margin-top: 0.3rem; width: 1.3em; height: 1.3em; }
.promise-list strong { display: block; font-family: var(--serif); font-size: 1.1rem; }

@media (max-width: 960px) {
  .card-grid, .rules { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .card-grid, .rules { grid-template-columns: 1fr; }
  .site-nav { gap: 0.2rem 1rem; }
  .site-nav a .icon { display: none; }
  .hero { padding-top: 2.4rem; }
  .hero-note { display: none; }
  .polaroid { transform: rotate(0.8deg); }
  .list-head { grid-template-columns: 1fr; }
  .list-banner { aspect-ratio: 16 / 7; }
  .claim-box blockquote { padding-right: 0; padding-top: 2.2rem; }
  .promise-bar { font-size: 0.78rem; }
  .content-page table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .btn { transition: none; }
  .card:hover { transform: none; }
}

.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 10; background: var(--highlight); color: var(--ink); padding: 0.5rem 0.9rem; border-radius: 4px; font-weight: 700; }
.skip:focus { left: 0.5rem; }

/* .content-page ul sets list padding; these lists are layout, not prose */
.content-page .trust-strip, .content-page .promise-list { padding-left: 0; }
.content-page .promise-list li, .content-page .trust-strip li { margin-bottom: 0; }
