/* One stylesheet. Identity: a photographer's calibration target. The 24 ColorChecker patches appear only
   in the specimen card, the mark and the footer edge; everything else is ink on white with one
   calibration-blue accent. Headlines in condensed Martian Mono (the file's own language), body in Geist.
   Square corners, hairlines, no shadows, no gradients except the footer patch strip. */
:root {
  --ink: #141414;
  --paper: #ffffff;
  --fog: #f2f2f2;
  --rule: #e3e3e3;
  --muted: #666666;
  --blue: #383d96;
  --red: #b3261e;
  --amber: #9a6a00;
  --green: #2e6b3f;
  --r: 2px;
  --gutter: 16px;
  --sans: "Geist", "Geist Fallback", Arial, sans-serif;
  --mono: "Martian Mono", "Martian Fallback", "Courier New", monospace;
  --display: "Martian Mono", "Martian Display Fallback", "Courier New", monospace;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #e7c71f; color: var(--ink); }
img, video, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 20; border-radius: var(--r); }
.skip:focus { top: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font: 720 1rem/1 var(--display); font-stretch: 87.5%; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.9375rem; padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* breadcrumbs */
.crumbs { margin: 20px 0 0; font-size: 0.875rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li { padding: 6px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #b5b5b5; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline; padding: 13px 4px; margin: 0 -4px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* type: condensed heavy mono for display, Geist for reading */
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-stretch: 87.5%; font-weight: 720; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: 2.125rem; }
h2 { font-size: 1.4375rem; letter-spacing: -0.03em; line-height: 1.15; }
h3 { font: 600 1.125rem/1.3 var(--sans); letter-spacing: -0.01em; }
.kicker, .eyebrow { display: block; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.eyebrow span { color: #b5b5b5; margin: 0 6px; }
.lede { font-size: 1.125rem; color: #333; margin: 14px 0 0; max-width: 34em; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 1px solid var(--ink); font: 600 0.875rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--paper); color: var(--ink); -webkit-appearance: none; appearance: none; }
.btn:hover { color: var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-quiet:hover { background: var(--fog); }
.btn-small { min-height: 44px; padding: 0 14px; font-size: 0.8125rem; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 12px 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* tool */
.tool { max-width: 760px; margin: 0 auto; padding: 28px 0 8px; }
.pick { margin-top: 24px; }
.pick-btn { position: relative; }
.pick .btn { width: 100%; }
.pick input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; font-size: 0; }
.pick input[type="file"]:focus-visible + .btn { outline: 2px solid var(--blue); outline-offset: 3px; }
.pick-btn:hover .btn-primary { background: var(--blue); border-color: var(--blue); }
.drop-hint { display: none; margin: 10px 0 0; font-size: 0.875rem; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.chips li { font: 400 0.75rem/1.4 var(--mono); color: #3a3a3a; border: 1px solid var(--rule); border-radius: var(--r); padding: 5px 9px; }
.tool.dragging .pick .btn { background: var(--blue); border-color: var(--blue); }
.note { font-size: 0.9375rem; background: var(--fog); border-radius: var(--r); padding: 12px 14px; margin: 16px 0 0; }

/* the specimen card: calibration target above a metadata readout that gets redacted while the patches stay */
.specimen { margin: 32px 0 0; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper); font: 400 0.75rem/1.4 var(--mono); max-width: 400px; }
.sp-head, .sp-cap, .sp-foot { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; }
.sp-head { border-bottom: 1px solid var(--ink); font-weight: 600; }
.sp-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; padding: 12px 12px 0; }
.sp-chart span { display: block; aspect-ratio: 1; }
.sp-chart span:nth-child(1) { background: #735244; } .sp-chart span:nth-child(2) { background: #c29682; } .sp-chart span:nth-child(3) { background: #627a9d; }
.sp-chart span:nth-child(4) { background: #576c43; } .sp-chart span:nth-child(5) { background: #8580b1; } .sp-chart span:nth-child(6) { background: #67bdaa; }
.sp-chart span:nth-child(7) { background: #d67e2c; } .sp-chart span:nth-child(8) { background: #505ba6; } .sp-chart span:nth-child(9) { background: #c15a63; }
.sp-chart span:nth-child(10) { background: #5e3c6c; } .sp-chart span:nth-child(11) { background: #9dbc40; } .sp-chart span:nth-child(12) { background: #e0a32e; }
.sp-chart span:nth-child(13) { background: #383d96; } .sp-chart span:nth-child(14) { background: #469449; } .sp-chart span:nth-child(15) { background: #af363c; }
.sp-chart span:nth-child(16) { background: #e7c71f; } .sp-chart span:nth-child(17) { background: #bb5695; } .sp-chart span:nth-child(18) { background: #0885a1; }
.sp-chart span:nth-child(19) { background: #f3f3f2; outline: 1px solid #d6d6d6; outline-offset: -1px; } .sp-chart span:nth-child(20) { background: #c8c8c8; } .sp-chart span:nth-child(21) { background: #a0a0a0; }
.sp-chart span:nth-child(22) { background: #7a7a79; } .sp-chart span:nth-child(23) { background: #555555; } .sp-chart span:nth-child(24) { background: #343434; }
.sp-cap { color: var(--muted); padding-top: 7px; border-bottom: 1px solid var(--rule); }
.sp-rows { margin: 0; padding: 6px 12px 8px; }
.sp-rows div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 5px 0; }
.sp-rows dt { color: var(--muted); }
.sp-rows dd { margin: 0; position: relative; justify-self: start; }
.sp-rows dd::after { content: ""; position: absolute; left: -3px; right: -3px; top: 1px; bottom: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.sp-foot { border-top: 1px solid var(--ink); position: relative; min-height: 38px; align-items: center; }
.sp-foot span { display: inline-flex; align-items: center; gap: 7px; }
.sp-foot span::before { content: ""; width: 8px; height: 8px; flex: none; }
.sp-before { color: var(--red); }
.sp-before::before { background: var(--red); }
.sp-after { color: var(--green); position: absolute; left: 12px; top: 0; bottom: 0; opacity: 0; }
.sp-after::before { background: var(--green); }
.specimen.check .sp-rows dd::after { background: rgba(56, 61, 150, 0.16); }
.specimen.check .sp-after { color: var(--red); }
.specimen.check .sp-after::before { background: var(--red); }
/* app.js adds .play when the card is in view (and again on tap); without JS the card shows the "before" state */
@media (prefers-reduced-motion: no-preference) {
  .specimen.play .sp-rows dd::after { animation: sp-redact 0.42s cubic-bezier(0.7, 0, 0.2, 1) forwards; }
  .specimen.play .sp-rows div:nth-child(1) dd::after { animation-delay: 0.35s; }
  .specimen.play .sp-rows div:nth-child(2) dd::after { animation-delay: 0.5s; }
  .specimen.play .sp-rows div:nth-child(3) dd::after { animation-delay: 0.65s; }
  .specimen.play .sp-rows div:nth-child(4) dd::after { animation-delay: 0.8s; }
  .specimen.play .sp-rows div:nth-child(5) dd::after { animation-delay: 0.95s; }
  .specimen.play .sp-rows div:nth-child(6) dd::after { animation-delay: 1.1s; }
  .specimen.play .sp-before { animation: sp-out 0.25s 1.6s forwards; }
  .specimen.play .sp-after { animation: sp-in 0.35s 1.8s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-rows dd::after { transform: scaleX(1); }
  .sp-before { opacity: 0; }
  .sp-after { opacity: 1; }
}
@keyframes sp-redact { to { transform: scaleX(1); } }
@keyframes sp-out { to { opacity: 0; } }
@keyframes sp-in { to { opacity: 1; } }
.tool.has-files .specimen { display: none; }

/* results */
.results { margin-top: 28px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.results-head p { margin: 0; font: 400 0.8125rem/1.4 var(--mono); color: var(--muted); }
.cards { list-style: none; margin: 0; padding: 0; }
.card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.thumb { width: 64px; height: 64px; background: var(--fog); border-radius: var(--r); overflow: hidden; display: flex; align-items: center; justify-content: center; font: 400 0.75rem/1 var(--mono); color: var(--muted); text-transform: uppercase; }
.thumb img, .thumb video { width: 64px; height: 64px; object-fit: cover; }
.card-body { min-width: 0; }
.fname { margin: 0; font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; line-height: 1.35; }
.fsize { font: 400 0.8125rem/1 var(--mono); color: var(--muted); margin-left: 8px; white-space: nowrap; }
.readout { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.readout li { font: 400 0.75rem/1.5 var(--mono); background: var(--fog); border-radius: var(--r); padding: 3px 7px; overflow-wrap: anywhere; }
.readout li.none { background: none; padding-left: 0; color: var(--muted); }
.verdicts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.tag { font: 600 0.75rem/1 var(--sans); border: 1px solid currentColor; border-radius: var(--r); padding: 0 9px; min-height: 30px; background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tag::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.tag[aria-expanded="true"] { outline: 1px solid currentColor; outline-offset: 1px; }
.tag b { font-weight: 400; }
.lv-high { color: var(--red); }
.lv-disclosure, .lv-low, .lv-verify { color: var(--amber); }
.lv-none { color: var(--green); }
.why { margin: 10px 0 0; font-size: 0.9375rem; border-left: 2px solid var(--blue); padding: 2px 0 2px 12px; }
.why p { margin: 0 0 6px; }
.why ul { margin: 0; padding-left: 18px; }
.why li { margin: 4px 0; }
.status { margin: 10px 0 0; font-size: 0.9375rem; }
.status.err { color: var(--red); }
.status .ok { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.full { margin-top: 12px; font-size: 0.875rem; }
.full summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.full table { width: 100%; border-collapse: collapse; }
.full th, .full td { text-align: left; vertical-align: top; padding: 7px 8px 7px 0; border-top: 1px solid var(--rule); }
.full th { font-weight: 500; color: var(--muted); width: 38%; }
.full td { font: 400 0.75rem/1.5 var(--mono); overflow-wrap: anywhere; }
.done-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.sticky { position: sticky; bottom: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--ink); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); margin: 18px calc(-1 * var(--gutter)) 0; }
.sticky .btn { width: 100%; }

/* ads: reserved space so nothing shifts */
.ad { margin: 28px 0; min-height: 280px; background: var(--fog); display: flex; flex-direction: column; }
.ad::before { content: "Advertisement"; font: 400 0.75rem/1 var(--mono); color: var(--muted); padding: 8px; }

/* content */
.page { padding-bottom: 64px; }
.page-head { max-width: 760px; margin: 0 auto; padding: 32px 0 0; }
.prose { max-width: 68ch; margin: 0 auto; }
.tool + .prose, .band-top { border-top: 1px solid var(--ink); margin-top: 48px; padding-top: 8px; }
.prose > *, .faq > * { margin: 0; }
.prose > * + *, .faq > * + * { margin-top: 1.05em; }
.prose > h2, .faq > h2 { margin-top: 2.3em; }
.prose > h3, .faq > h3 { margin-top: 1.7em; }
.prose > h2 + *, .prose > h3 + *, .faq > h2 + *, .faq > h3 + * { margin-top: 0.65em; }
.prose > ul, .prose > ol { padding-left: 1.3em; }
.prose > ul > li + li, .prose > ol > li + li { margin-top: 0.45em; }
.prose > ul > li::marker { color: var(--blue); }
.prose > ol { list-style: none; padding-left: 0; counter-reset: step; }
.prose > ol > li { counter-increment: step; position: relative; padding-left: 2.2em; }
.prose > ol > li::before { content: counter(step); position: absolute; left: 0; top: 0.15em; width: 1.5em; height: 1.5em; display: flex; align-items: center; justify-content: center; font: 600 0.75rem/1 var(--mono); background: var(--ink); color: #fff; border-radius: var(--r); }
.prose strong { font-weight: 600; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-top: 1px solid var(--rule); }
.prose th { font-weight: 600; border-top-color: var(--ink); }
.prose code { font: 400 0.85em var(--mono); background: var(--fog); padding: 1px 4px; border-radius: var(--r); }
.guide .prose { font-size: 1.125rem; line-height: 1.65; }
.guide .page-head, .guide .prose { max-width: 68ch; }
.answer { font-size: 1.1875rem; }
.embed { margin: 2em 0; border: 1px solid var(--ink); border-radius: var(--r); padding: 0 var(--gutter) 6px; }
.embed .tool { padding-top: 18px; }
.embed .tool h2 { font-size: 1.25rem; }
.faq > h3 { margin-top: 1.6em; padding-left: 18px; position: relative; }
.faq > h3::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 8px; height: 8px; background: var(--blue); }
.faq > h3 + p { padding-left: 18px; }
.limits-box { background: var(--fog); border-radius: var(--r); padding: 18px 20px; margin-top: 2.6em; font-size: 0.9375rem; border-left: 3px solid var(--ink); }
.limits-box h2 { font-size: 1.0625rem; margin: 0 0 6px; }
.limits-box p { margin: 0; }
.related { margin-top: 2.4em; }
.related h2 { font-size: 1.0625rem; margin-bottom: 8px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { border-top: 1px solid var(--rule); }
.related li:first-child { border-top-color: var(--ink); }
.related a { display: block; padding: 12px 0; text-decoration: none; }
.related a::after { content: " \2192"; color: var(--blue); }
.related a:hover { text-decoration: underline; }
.index-list { list-style: none; padding: 0; margin: 1.2em 0 0; }
.index-list li { border-top: 1px solid var(--rule); padding: 4px 0 14px; }
.index-list a { font-weight: 600; display: block; padding: 10px 0 8px; }
.index-list p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.updated { font: 400 0.75rem/1.4 var(--mono); color: var(--muted); margin: 14px 0 0; }

/* footer: ink, with the 24 calibration patches along its top edge */
.site-foot { background: var(--ink); color: #d6d6d6; margin-top: 40px; padding: 0 0 32px; font-size: 0.9375rem; }
.foot-strip { height: 8px; background: linear-gradient(90deg, #735244 0 4.17%, #c29682 0 8.33%, #627a9d 0 12.5%, #576c43 0 16.67%, #8580b1 0 20.83%, #67bdaa 0 25%, #d67e2c 0 29.17%, #505ba6 0 33.33%, #c15a63 0 37.5%, #5e3c6c 0 41.67%, #9dbc40 0 45.83%, #e0a32e 0 50%, #383d96 0 54.17%, #469449 0 58.33%, #af363c 0 62.5%, #e7c71f 0 66.67%, #bb5695 0 70.83%, #0885a1 0 75%, #f3f3f2 0 79.17%, #c8c8c8 0 83.33%, #a0a0a0 0 87.5%, #7a7a79 0 91.67%, #555555 0 95.83%, #343434 0); margin-bottom: 36px; }
.site-foot a { color: #fff; text-decoration-color: #6f6f6f; }
.site-foot a:hover { color: #fff; text-decoration-color: #fff; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-cols h2 { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.02em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 2px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols a { text-decoration: none; display: block; padding: 10px 0; }
.foot-cols a:hover { text-decoration: underline; }
.foot-note { margin: 28px 0 0; color: #9a9a9a; font-size: 0.875rem; border-top: 1px solid #2e2e2e; padding-top: 18px; }

@media (min-width: 720px) {
  :root { --gutter: 24px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 1.6875rem; }
  .tool { padding-top: 56px; }
  .pick .btn { width: auto; min-width: 320px; }
  .sticky { position: static; border: 0; padding: 0; margin: 20px 0 0; }
  .sticky .btn { width: auto; min-width: 320px; }
  .card { grid-template-columns: 88px 1fr; gap: 18px; }
  .thumb, .thumb img, .thumb video { width: 88px; height: 88px; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .tool.has-art { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 72px; align-items: start; }
  .tool.has-art > * { grid-column: 1 / -1; }
  .tool.has-art > .tool-copy { grid-column: 1; grid-row: 1; }
  .tool.has-art > .specimen { grid-column: 2; grid-row: 1; margin-top: 6px; }
  .tool.has-art h1 { font-size: clamp(2.5rem, 3.6vw, 3.125rem); }
  .tool.has-art + .prose { margin-top: 64px; }
}
@media (hover: hover) and (pointer: fine) {
  .drop-hint { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .tag { transition: background-color 0.15s ease, border-color 0.15s ease; }
}
@media (min-width: 960px) {
  .tool.has-art ~ .prose { margin-left: 0; }
}
.page-head + .prose { margin-top: 28px; }
.hy { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

/* ---- conversion layer ---- */
/* header: one way back to the tool from every content page */
.head-cta { display: inline-flex; align-items: center; min-height: 44px; margin-left: 8px; padding: 0 14px; background: var(--ink); color: #fff !important; font: 600 0.875rem/1 var(--sans); text-decoration: none; border-radius: var(--r); white-space: nowrap; }
.head-cta:hover { background: var(--blue); }
@media (max-width: 719px) { .nav .hide-sm { display: none; } }

/* proof lines under the button: claims a visitor can test */
.proof { list-style: none; margin: 18px 0 0; padding: 0; font-size: 0.9375rem; color: #333; }
.proof li { position: relative; padding: 3px 0 3px 18px; }
.proof li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; background: var(--blue); }
.proof b { color: var(--ink); font-weight: 600; }
.try { margin: 8px 0 0; font-size: 0.9375rem; color: var(--muted); }
.try .linkbtn { padding: 12px 2px; color: var(--ink); font-weight: 600; }
.specimen.is-sample { cursor: pointer; }

/* homepage: removed / kept / out of reach, and how each platform decides */
.mods { margin-top: 56px; }
.mods > h2 { margin-bottom: 18px; }
.ledger { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.lg-col { padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.lg-col h3 { display: flex; align-items: center; gap: 10px; font: 720 1rem/1.2 var(--display); font-stretch: 87.5%; letter-spacing: -0.02em; margin-bottom: 10px; }
.lg-col h3::before { content: ""; flex: none; }
.lg-removed h3::before { width: 22px; height: 9px; background: var(--ink); }
.lg-kept h3::before { width: 14px; height: 14px; background: conic-gradient(#af363c 0 25%, #469449 0 50%, #e7c71f 0 75%, #383d96 0); }
.lg-out h3::before { width: 14px; height: 14px; border: 2px solid var(--ink); }
.lg-col ul { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.lg-col li { padding: 5px 0; border-top: 1px solid var(--fog); }
.lg-col li:first-child { border-top: 0; }
.lg-link { display: inline-block; margin-top: 8px; padding: 10px 0; font-weight: 600; font-size: 0.9375rem; }
.tested { margin: 16px 0 0; font: 400 0.75rem/1.6 var(--mono); color: var(--muted); max-width: 70ch; }
.plats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.plats a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.plats a:hover { border-color: var(--ink); color: var(--ink); }
.plats b { display: block; font: 720 1rem/1.2 var(--display); font-stretch: 87.5%; letter-spacing: -0.02em; margin-bottom: 4px; }
.plats b::after { content: " \2192"; color: var(--blue); font-family: var(--sans); }
.plats span { display: block; font-size: 0.9375rem; color: #444; }
@media (min-width: 720px) {
  .ledger { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .lg-col { border-bottom: 0; }
  .plats { grid-template-columns: repeat(3, 1fr); }
}
.mods + .prose { border-top: 1px solid var(--ink); margin-top: 56px; padding-top: 8px; }

/* after a scrub: what to do with the clean copy */
.next { margin: 20px 0 0; padding: 16px 18px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper); }
.next-h { margin: 0 0 8px; font: 720 1.125rem/1.2 var(--display); font-stretch: 87.5%; letter-spacing: -0.02em; }
.next ol { list-style: none; counter-reset: nx; margin: 0; padding: 0; font-size: 0.9375rem; }
.next li { counter-increment: nx; position: relative; padding: 4px 0 4px 2em; }
.next li::before { content: counter(nx); position: absolute; left: 0; top: 0.4em; width: 1.4em; height: 1.4em; display: flex; align-items: center; justify-content: center; font: 600 0.75rem/1 var(--mono); background: var(--ink); color: #fff; border-radius: var(--r); }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.next-tip { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* phones: a slim bar back to the tool after the reader passes it */
.float-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; min-height: 52px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font: 600 0.9375rem/1 var(--sans); text-decoration: none; border-radius: var(--r); }
.float-cta:hover { color: #fff; background: var(--blue); }
@media (min-width: 720px) { .float-cta { display: none !important; } }

/* sources: the official pages a page was checked against */
.sources { margin-top: 2.6em; border-top: 1px solid var(--ink); padding-top: 4px; }
.sources h2 { font-size: 1.0625rem; margin: 10px 0 4px; }
.sources p { margin: 0 0 6px; font-size: 0.875rem; color: var(--muted); }
.sources ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.sources li { font: 400 0.75rem/1.4 var(--mono); padding: 4px 0; break-inside: avoid; }
.sources a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
@media (min-width: 720px) { .sources ul { columns: 2; column-gap: 32px; } }
