/* listingtuneup.com. The look of a shop's inspection ledger: warm paper, ink, one red.
   No rounded corners, no shadows, no cards: rules, ruled lists and numbered headings.
   Chosen on 2026-11-26 from what two of three AI reviewers agreed on, after Luke turned two other looks down
   (drafts/ai-answers-site-look-2026-11-26.md, drafts/ai-answers-site-final-2026-11-26.md).
   tools/build_icons.py reads --ink, --paper and --marker from this file for the logo. */
:root {
  --paper: #f3efe6;       /* the page */
  --ink: #1a1917;         /* type, rules, drawings */
  --red: #c93a2b;         /* the one colour: the stamp, the button, the pointers on the drawings */
  --marker: #fff2a0;      /* the yellow field of the logo; nothing else on the page is yellow */
  --faint: #6a655c;       /* small print */
  --mincho: "LT Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --gothic: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Two typefaces, served from this site (licences beside them in /fonts/). "LT Mincho" is Noto Serif CJK JP Black cut
   down to the characters the headings use: tools/site-fonts.json lists them, and a test fails when a heading uses a
   character that is not in the file. IBM Plex Mono is the Latin part only, so nothing in Japanese is set in it.
   The arrows are drawn, not typed: that Latin part has no arrow, and a typed one would come from whatever
   typeface the reader's phone falls back to. */
@font-face { font-family: "LT Mincho"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/noto-serif-cjk-jp-black-subset.woff2?v=1147400f) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2?v=01d28544) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-600-normal.woff2?v=0d1f0b8d) format("woff2"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--gothic); font-size: 16px; line-height: 1.85; line-break: strict; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 900; font-feature-settings: "palt"; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.job, .scope, .lead, .checks li, .also, .bio, .more, .where span, .say p, .say li { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- the head of the ledger ---------- */
.strip { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; padding-bottom: 11px; }
.strip.narrow { max-width: 800px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .09em; color: var(--ink); text-decoration: none; }
.brand img { display: block; width: 22px; height: 22px; }
.lang { font-family: var(--mono); font-weight: 500; font-size: 15px; line-height: 1; }

.hero { display: grid; gap: 0; }
.mast { position: relative; border-top: 3px solid var(--ink); padding: 18px 0 16px; }
.mast::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.mast h1 { margin: 0; font-size: clamp(38px, 12.6vw, 100px); line-height: 1.14; letter-spacing: -.02em; white-space: nowrap; }
.job { margin: 8px 0 0; font-weight: 800; font-size: 21px; line-height: 1.45; text-wrap: balance; }

/* ---------- the exhibit: where the marking is, and one finding from the sample report ---------- */
.exhibit { margin: 0; display: grid; grid-template-columns: 42% 58%; border: 1px solid var(--ink); }
.figs { display: grid; gap: 2px; align-content: center; padding: 8px 8px 6px; border-right: 1px solid var(--ink); }
.ink { display: block; width: 100%; }
.finding { position: relative; padding: 11px 12px 10px 13px; min-width: 0; }
.finding p { margin: 0; }
.finding .item { font-family: var(--mono); font-weight: 500; font-size: 12.5px; line-height: 1.5; letter-spacing: .03em; }
.finding .item span { display: none; }
.finding .title { margin: 1px 0 8px; font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.finding dl { margin: 0; display: grid; grid-template-columns: 38% 62%; border-top: 1px solid var(--ink); }
.finding dl > div { padding: 5px 0 4px; border-bottom: 1px solid var(--ink); min-width: 0; }
.finding .k2 { padding-left: 9px; border-left: 1px solid var(--ink); }
.finding dt { font-size: clamp(10px, 2.9vw, 11.5px); line-height: 1.4; color: var(--faint); }
.finding dd { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: 21px; line-height: 1.3; }
.finding .k0, .finding .k3 { display: none; }
.finding .k0 dd, .finding .k3 dd { font-family: var(--gothic); font-weight: 600; font-size: 12.5px; line-height: 1.5; }
.stamp { display: inline-block; margin: 10px 0 6px 2px !important; padding: 1px 8px 2px 13px; border: 3px solid var(--red); border-radius: 3px; color: var(--red); font-weight: 900; font-size: 23px; line-height: 1.35; letter-spacing: .15em; white-space: nowrap; transform: rotate(-4deg); filter: url(#rough); opacity: .93; }
html[lang="en"] .stamp { letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); font-weight: 600; padding: 2px 10px 2px 11px; }
.finding .say, .finding .source { display: none; }
.finding h3 { margin: 10px 0 0; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; color: var(--faint); font-feature-settings: normal; }
.finding ul { margin: 0; padding-left: 1.2em; }
.finding .source { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--ink); font-size: 12.5px; overflow-wrap: anywhere; }
.finding .source span { color: var(--faint); margin-right: 8px; }
.finding .more { font-size: 12px; line-height: 1.6; }
.finding .more a { display: inline-block; font-weight: 700; }
.finding .n2 { display: none; }

/* ---------- the first step ---------- */
h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.35; }
.first { padding: 22px 0 0; }
.lead { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 1.75; }
.btn { display: flex; align-items: center; justify-content: center; gap: .7em; min-height: 62px; padding: 12px 14px; background: var(--red); color: #fff; font-family: var(--mono); font-weight: 600; font-size: clamp(15px, 4.7vw, 18px); line-height: 1.2; text-decoration: none; }     /* the address stays on one line on a 320 px phone */
.btn::after { content: ""; flex: none; width: 24px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M16.5 1l5.5 5-5.5 5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain; }
.btn:hover { color: #fff; background: #a92c20; }
.btn span { overflow-wrap: anywhere; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; font-size: 14.5px; line-height: 1.7; border-top: 1px solid var(--ink); }
.checks li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--ink); }
.checks li::before, .promises li::before { content: ""; position: absolute; left: 5px; top: calc(8px + .34em); width: 6px; height: 12px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.also { margin: 10px 0 0; font-size: 13.5px; color: var(--faint); }
.bio { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 13px; line-height: 1.6; }
.bio img { flex: none; display: block; width: 64px; height: 64px; filter: grayscale(1) contrast(1.12); }
.bio b { display: block; font-family: var(--mono); font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.scope { margin: 12px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--faint); }

/* ---------- the rows of the ledger ---------- */
.row { display: grid; gap: 14px; margin-top: 34px; padding: 16px 0 0; border-top: 1px solid var(--ink); }
.kicker { margin: 0 0 4px; font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.kicker .num { display: inline-block; margin-right: .9em; padding: 0 .45em; background: var(--ink); color: var(--paper); font-weight: 600; letter-spacing: .04em; }
.rail h2 { margin-bottom: 0; }
.body { max-width: 46em; min-width: 0; }
.body h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.4; }
.fine { font-size: 13.5px; line-height: 1.75; color: var(--faint); }
.fine a { color: inherit; }

.sample { display: grid; gap: 18px; }
.links { margin: 14px 0; }
.links a { display: inline-block; margin: 0 8px 8px 0; padding: 9px 14px; border: 1px solid var(--ink); font-weight: 700; font-size: 15px; line-height: 1.5; text-decoration: none; }
.links a::after { content: ""; display: inline-block; width: 20px; height: 10px; margin-left: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M16.5 1l5.5 5-5.5 5' fill='none' stroke='%231a1917' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain; }
.sample .shot { display: none; margin: 0; max-width: 300px; }

.marks4 { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--ink); }
.marks4 li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--ink); }
.tag { justify-self: start; font-family: var(--mincho); font-weight: 900; font-size: 19px; line-height: 1.5; white-space: nowrap; font-feature-settings: "palt"; }
.tag.t3 { padding: 0 6px 0 10px; border: 2.5px solid var(--red); border-radius: 3px; color: var(--red); font-family: var(--gothic); font-weight: 900; font-size: 16px; letter-spacing: .15em; transform: rotate(-3deg); filter: url(#rough); font-feature-settings: normal; }
html[lang="en"] .tag.t3 { font-family: var(--mono); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 1px 9px; }
.where { list-style: none; margin: 18px 0 0; padding: 0; display: grid; border: 1px solid var(--ink); }
.where li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 12px 8px 8px; font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.where li + li { border-top: 1px solid var(--ink); }
.where b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .1em; color: var(--faint); }

details summary { position: relative; padding-right: 34px; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; position: absolute; right: 8px; top: .55em; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
details[open] summary::after { transform: rotate(-135deg); top: .8em; }
details[open] summary { margin-bottom: .9em; }

.terms3 { margin: 0; display: grid; border-top: 1px solid var(--ink); }
.terms3 > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.terms3 > .free { padding-left: 14px; border-left: 5px solid var(--red); }
.terms3 dt { font-family: var(--mincho); font-weight: 900; font-size: 18px; line-height: 1.5; font-feature-settings: "palt"; }
.terms3 dd { margin: 0; }
.price { margin: 0 0 6px; font-family: var(--mincho); font-weight: 900; font-size: 56px; line-height: 1.05; letter-spacing: -.01em; }
.price-note { font-size: 13.5px; line-height: 1.75; color: var(--faint); max-width: 34em; }

.flow { display: grid; gap: 20px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 14px; width: 30px; height: 26px; border: 1px solid var(--ink); font-family: var(--mono); font-weight: 600; font-size: 13px; line-height: 24px; text-align: center; }
.screen { display: none; max-width: 300px; }
.screen img, .sample .shot img { display: block; width: 100%; border: 1px solid var(--ink); }
.plain, .promises, .nots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--ink); }
.promises li, .nots li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--ink); }
.promises li::before { top: calc(10px + .34em); }
.nots li::before { content: ""; position: absolute; left: 3px; top: calc(10px + .82em); width: 12px; height: 2px; background: var(--ink); }

.person { display: flex; gap: 16px; align-items: flex-start; }
.person img { flex: none; display: block; width: 84px; height: 84px; filter: grayscale(1) contrast(1.12); }
.who { font-family: var(--mono); font-weight: 600; font-size: 18px; line-height: 1.4; margin-bottom: 4px; }
#contact .btn { max-width: 420px; }
address { font-style: normal; margin: 16px 0 0; }
address + .fine { margin-top: 16px; }
main { padding-bottom: 60px; }

/* ---------- the other pages: the guide, the operator, the privacy policy, the pages after eBay's screen ---------- */
.order { max-width: 800px; margin: 0 auto; padding: 0 20px 60px; }
.order > header { position: relative; border-top: 3px solid var(--ink); padding: 18px 0 20px; }
.order > header::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.order h1 { margin: 0; font-size: clamp(30px, 8.6vw, 54px); line-height: 1.25; letter-spacing: -.01em; }
.order > header .lang { margin: 0 0 10px; }
.order > header .job { font-size: 19px; }
.order > header .fine { margin: 10px 0 0; }
.order > section, .order > footer { padding: 22px 0; border-top: 1px solid var(--ink); }
.order > footer { padding-bottom: 0; }
.label { display: block; margin: 0 0 8px; font-family: var(--mincho); font-weight: 900; font-size: 20px; line-height: 1.45; font-feature-settings: "palt"; }
.lede { margin: 0 0 .9em; max-width: 46em; }
.lede:last-child { margin-bottom: 0; }
.step { margin: 0 0 10px; font-size: 22px; line-height: 1.4; }
.step small { display: block; font-family: var(--gothic); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--faint); font-feature-settings: normal; }
.order .shot { margin: 16px 0; }
.order .shot img { display: block; width: 100%; border: 1px solid var(--ink); background: #fff; }
.shot figcaption { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.marks { list-style: none; margin: 12px 0; padding: 0; counter-reset: mark; }       /* the same red numbers as on the picture */
.marks li { counter-increment: mark; position: relative; padding: 0 0 10px 38px; max-width: 46em; }
.marks li:last-child { padding-bottom: 0; }
.marks li::before { content: counter(mark); position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--mono); font-weight: 600; font-size: 15px; line-height: 26px; text-align: center; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.terms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.terms li { padding: 10px 0; border-bottom: 1px solid var(--ink); max-width: 46em; }
.terms li:last-child { padding-bottom: 0; border-bottom: 0; }     /* the next block starts with a rule of its own */
.lede + .shot, .lede + .terms { margin-top: 14px; }
.lines { width: 100%; margin: 4px 0 0; border-collapse: collapse; border-top: 1px solid var(--ink); }
.lines td { padding: 11px 14px 11px 0; vertical-align: top; border-bottom: 1px solid var(--ink); }
.lines tr:last-child td { padding-bottom: 0; border-bottom: 0; }
.order > section > .lines:first-child { margin-top: -11px; border-top: 0; }
.lines td:first-child { width: 26%; font-family: var(--mincho); font-weight: 900; font-size: 17px; line-height: 1.6; font-feature-settings: "palt"; }
.email { font-family: var(--mono); font-weight: 600; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .lines, .lines tbody, .lines tr, .lines td { display: block; width: auto !important; }
  .lines tr { padding: 10px 0; border-bottom: 1px solid var(--ink); }
  .lines tr:last-child { padding-bottom: 0; border-bottom: 0; }
  .order > section > .lines:first-child { margin-top: -10px; }
  .lines td { padding: 1px 0; border: 0; }
}

@media (min-width: 900px) {
  body { font-size: 17px; }
  .wrap { padding: 0 32px; }
  .strip { padding-top: 22px; padding-bottom: 16px; }
  .brand { font-size: 17px; }
  .mast { padding: 26px 0 26px; }
  .job { font-size: 24px; margin-top: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "mast mast" "first exhibit" "bio exhibit" "scope exhibit"; column-gap: 56px; align-items: start; }
  .mast { grid-area: mast; }
  .exhibit { grid-area: exhibit; grid-template-columns: 38% 62%; margin-top: 6px; }
  .first { grid-area: first; padding-top: 0; }
  .bio { grid-area: bio; }
  .scope { grid-area: scope; }
  .figs { padding: 18px 14px; gap: 14px; }
  .finding { padding: 16px 18px 14px; }
  .finding .item, .finding .title { font-size: 13.5px; }
  .finding .say, .finding .source, .finding .k0, .finding .k3 { display: block; }
  .finding .k0, .finding .k3 { grid-column: 1 / -1; }
  .finding .k2 { padding-left: 14px; }
  .finding .n2 { display: inline; }
  .finding .say p, .finding .say li { font-size: 14px; line-height: 1.7; }
  .finding dd { font-size: 25px; }
  .finding .k0 dd, .finding .k3 dd { font-size: 13.5px; }
  .finding .more { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--ink); font-size: 12.5px; }
  .stamp { margin: 14px 0 4px 2px !important; font-size: 26px; }
  h2 { font-size: 32px; }
  .lead { font-size: 18px; }
  .btn { font-size: 19px; }
  .row { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; margin-top: 56px; padding-top: 22px; }
  .rail { position: sticky; top: 24px; align-self: start; }
  .sample { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
  .sample .shot, .screen { display: block; }
  .marks4 li { grid-template-columns: 11em minmax(0, 1fr); gap: 20px; align-items: baseline; }
  .where { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .where li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 14px 14px; font-size: 14px; }
  .where li + li { border-top: 0; border-left: 1px solid var(--ink); }
  .terms3 > div { grid-template-columns: 9em minmax(0, 1fr); gap: 24px; align-items: baseline; }
  .flow { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
  .order > header { padding: 26px 0 28px; }
  .order > section, .order > footer { padding: 30px 0; }
  .order > footer { padding-bottom: 0; }
  .label { font-size: 22px; }
}
@media print { .btn { background: none; color: var(--ink); border: 1px solid var(--ink); } }
