/* Tool Chronicle. Ink-blue security paper above, a parchment sheet below, and one
   vermilion seal. The fonts are served from this origin. Instrument Serif and Instrument Sans, SIL Open Font License. */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --navy: oklch(22% 0.055 268);
  --navy-2: oklch(29% 0.06 268);
  --navy-line: oklch(40% 0.06 268);
  --on-navy: oklch(95% 0.02 85);
  --on-navy-2: oklch(78% 0.035 268);
  --gold: oklch(82% 0.115 82);
  --paper: oklch(95.5% 0.016 85);
  --sheet: oklch(98.6% 0.009 85);
  --ink: oklch(22% 0.045 268);
  --ink-2: oklch(43% 0.035 268);
  --rule: oklch(86% 0.02 85);
  --seal: oklch(58% 0.19 35);
  --seal-deep: oklch(48% 0.18 33);
  --seal-wash: oklch(94% 0.035 40);
  --green: oklch(45% 0.1 158);
  --amber: oklch(50% 0.11 72);
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.3rem + 1.1vw, 2.1rem);
  --step-5: clamp(2.9rem, 1.2rem + 7.6vw, 6.6rem);
  --step-6: clamp(5rem, 2rem + 13vw, 11rem);
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --measure: 66rem;
  --fast: 150ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--step-0)/1.55 var(--sans); }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.masthead, .ask, .sheet, .promises, .colophon { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }

/* ---- the hero: security paper ---- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
  padding-bottom: clamp(5.5rem, 12vw, 9rem);
}
/* guilloche: the fine concentric engraving on certificates and banknotes */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 9px, oklch(100% 0 0 / 0.045) 9px 10px);
}
.hero::before { width: 78rem; height: 78rem; right: -30rem; top: -34rem; }
.hero::after { width: 46rem; height: 46rem; left: -22rem; bottom: -30rem; background: repeating-radial-gradient(circle, transparent 0 6px, oklch(82% 0.115 82 / 0.06) 6px 7px); }

.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.3rem; border-bottom: 1px solid var(--navy-line); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; font: 400 1.7rem/1 var(--serif); letter-spacing: -0.01em; }
.brand img { display: block; transition: transform 400ms var(--ease); }
.brand:hover img { transform: rotate(-14deg); }
.brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.masthead nav { display: flex; align-items: center; gap: clamp(0.9rem, 3vw, 1.8rem); font: 500 var(--step-0)/1 var(--sans); }
.masthead nav a { color: var(--on-navy-2); text-decoration: none; padding-block: 0.5rem; transition: color var(--fast) var(--ease); }
.masthead nav a:hover { color: var(--on-navy); }
.masthead nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.masthead nav .nav-cta { color: var(--on-navy); padding: 0.6rem 1rem; border: 1px solid var(--navy-line); border-radius: 99px; }
.masthead nav .nav-cta:hover { border-color: var(--gold); color: var(--gold); }

.ask { padding-top: clamp(3rem, 8vw, 6.5rem); }
.eyebrow { font: 600 var(--step--1)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); }
h1 { margin-top: 1.2rem; font: 400 var(--step-5)/0.96 var(--serif); letter-spacing: -0.022em; max-width: 14ch; text-wrap: balance; }
h1 em { font-style: italic; color: var(--gold); }
.lede { margin-top: 1.7rem; max-width: 50ch; color: var(--on-navy-2); font-size: var(--step-1); line-height: 1.45; }

form { margin-top: 2.4rem; max-width: 44rem; }
label { display: block; font: 600 var(--step--1)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-navy-2); margin-bottom: 0.65rem; }
.entry {
  display: flex; background: var(--sheet); border-radius: 0.5rem; padding: 0.35rem;
  box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.12), 0 22px 50px -18px oklch(10% 0.05 268 / 0.9);
  transition: box-shadow var(--fast) var(--ease);
}
.entry:focus-within { box-shadow: 0 0 0 3px var(--gold), 0 22px 50px -18px oklch(10% 0.05 268 / 0.9); }
input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: var(--step-1)/1.2 var(--mono); padding: 0.85rem 0.9rem; }
input::placeholder { color: oklch(64% 0.03 268); }
input:focus { outline: none; }
button {
  border: 0; border-radius: 0.3rem; background: var(--seal); color: oklch(98% 0.01 85);
  font: 600 var(--step-0)/1 var(--sans); letter-spacing: 0.01em; padding: 0 1.5rem; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 -2px 0 oklch(0% 0 0 / 0.18);
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
button:hover { background: var(--seal-deep); }
button:active { transform: translateY(1px); box-shadow: none; }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button[disabled] { background: var(--navy-line); cursor: progress; }
.status { min-height: 1.55em; margin-top: 1rem; font: var(--step--1)/1.55 var(--mono); color: var(--on-navy-2); }
.status.error { color: oklch(80% 0.13 40); }
.watch .status { color: var(--ink-2); }
.watch .status.error { color: var(--seal-deep); }

/* ---- the sheet: the notarised page, laid over the hero's edge ---- */
.sheet {
  position: relative; z-index: 1;
  background: var(--sheet); border-radius: 0.4rem;
  margin-top: calc(-1 * clamp(3.5rem, 8vw, 6rem)); margin-bottom: 1rem;
  padding: clamp(1.3rem, 4vw, 3rem);
  box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px oklch(22% 0.055 268 / 0.55);
  animation: lay 420ms var(--ease);
}
.sheet::before { content: ""; position: absolute; inset: 0.5rem; border: 1px solid var(--rule); border-radius: 0.2rem; pointer-events: none; }
.sheet:focus { outline: none; }
@keyframes lay { from { opacity: 0; transform: translateY(14px); } }

.stamp {
  position: absolute; top: clamp(0.9rem, 3vw, 2rem); right: clamp(0.9rem, 3vw, 2.2rem);
  width: clamp(6.2rem, 15vw, 8.6rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; gap: 0.15rem; text-align: center;
  color: var(--seal); border: 2px solid currentColor; outline: 1px dashed currentColor; outline-offset: -0.5rem;
  font: 600 clamp(0.6rem, 1.3vw, 0.7rem)/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.12em;
  transform: rotate(-11deg); opacity: 0.9;
  animation: press 380ms 260ms var(--ease) backwards;
}
.stamp strong { font: 400 clamp(1.05rem, 2.6vw, 1.5rem)/1 var(--serif); letter-spacing: 0; text-transform: none; }
@keyframes press { from { opacity: 0; transform: rotate(-11deg) scale(1.5); } }

.verdict { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem clamp(1rem, 4vw, 2.4rem); align-items: end; padding: 0.4rem clamp(6.5rem, 17vw, 10rem) 1.7rem 0; border-bottom: 2px solid var(--ink); }
.count { font: 400 var(--step-6)/0.8 var(--serif); letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.count.none { color: var(--seal); }
.verdict h2 { font: 400 var(--step-2)/1.12 var(--serif); max-width: 22ch; padding-bottom: 0.3rem; }
.where { grid-column: 1 / -1; margin-top: 1.1rem; font: var(--step--1)/1.5 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); border-bottom: 1px solid var(--rule); }
.facts > div { padding: 1.2rem 1.2rem 1.2rem 0; }
.facts > div + div { border-left: 1px solid var(--rule); padding-left: 1.3rem; }
dt { font: 600 var(--step--1)/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); }
.facts dd { margin-top: 0.3rem; font: 400 var(--step-2)/1.1 var(--serif); }
.facts small { display: block; margin-top: 0.4rem; font: var(--step--1)/1.4 var(--sans); color: var(--ink-2); }

.section-head { margin-top: 2.4rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.45rem; }
.section-head h3 { font: 400 var(--step-2)/1.1 var(--serif); }
.section-head span { font: var(--step--1)/1.2 var(--mono); color: var(--ink-2); }

.tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.55rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); }
.tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.tool-name { font: 600 var(--step-1)/1.2 var(--mono); overflow-wrap: anywhere; }
.tag { font: 600 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.09em; padding: 0.34rem 0.6rem; border-radius: 99px; border: 1px solid currentColor; color: var(--ink-2); }
.tag.reads { color: var(--green); }
.tag.changes { color: var(--seal-deep); background: var(--seal-wash); border-color: transparent; }
.tag.unknown { color: var(--amber); }
.tool-desc { max-width: 68ch; overflow-wrap: anywhere; }
.tool-desc.missing { color: var(--seal-deep); font-style: italic; }
.inputs { font: var(--step--1)/1.6 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.inputs b { color: var(--ink); font-weight: 600; }
.dated { font: var(--step--1)/1.4 var(--mono); color: var(--ink-2); }

.findings { margin-top: 0.3rem; display: grid; gap: 0.4rem; }
.findings li { display: grid; grid-template-columns: 5.4rem 1fr; gap: 0.8rem; align-items: baseline; font-size: var(--step--1); line-height: 1.45; }
.findings .level { font: 600 0.74rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: 0.09em; color: var(--amber); }
.findings .fix .level { color: var(--seal-deep); }
.findings .fix { background: var(--seal-wash); padding: 0.4rem 0.6rem; margin-inline: -0.6rem; border-radius: 0.25rem; }
.clean { font-size: var(--step--1); color: var(--green); }

.crawlers { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); column-gap: 1.2rem; }
.crawlers li { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); font: var(--step--1)/1.3 var(--mono); }
.crawlers .allowed { color: var(--green); }
.crawlers .blocked { color: var(--seal-deep); }

.empty { padding: 1.4rem 0 0.4rem; max-width: 60ch; }
.empty p + p { margin-top: 0.8rem; color: var(--ink-2); }

/* ---- below the fold ---- */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.6rem, 4vw, 3.2rem); padding-block: clamp(3rem, 8vw, 5.5rem); }
.sheet[hidden] + .promises { padding-top: clamp(2.6rem, 6vw, 4rem); }
.promises .num { font: italic 400 var(--step-2)/1 var(--serif); color: var(--seal); }
.promises h2 { margin-top: 0.5rem; font: 400 var(--step-2)/1.1 var(--serif); letter-spacing: -0.01em; }
.promises p:last-child { margin-top: 0.7rem; color: var(--ink-2); max-width: 36ch; }

/* ---- pricing ---- */
.pricing, .signup { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; scroll-margin-top: 1.5rem; }
.pricing { padding-block: clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--rule); padding-top: clamp(3rem, 7vw, 5rem); }
.eyebrow.dark { color: var(--seal-deep); }
.pricing > h2, .signup h2 { margin-top: 0.9rem; font: 400 clamp(2.2rem, 1.3rem + 3.6vw, 4rem)/1 var(--serif); letter-spacing: -0.02em; max-width: 18ch; text-wrap: balance; }
.pricing > h2 em { font-style: italic; color: var(--seal); }
.pricing-note { margin-top: 1.2rem; max-width: 58ch; color: var(--ink-2); }

.plans { margin-top: clamp(2rem, 5vw, 3.2rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); gap: 1.1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--sheet); border-radius: 0.5rem; padding: 1.7rem 1.5rem 1.5rem; box-shadow: 0 0 0 1px var(--rule); }
.plan.featured { background: var(--navy); color: var(--on-navy); box-shadow: 0 26px 50px -28px oklch(22% 0.055 268 / 0.8); }
@media (min-width: 56rem) { .plan.featured { margin-block: -0.9rem; padding-block: 2.6rem 2.4rem; } }
.soon { position: absolute; top: 1.15rem; right: 1.2rem; font: 600 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--seal-deep); border: 1px dashed currentColor; border-radius: 99px; padding: 0.36rem 0.6rem; }
.featured .soon { color: var(--gold); }
.plan h3 { font: 400 var(--step-2)/1 var(--serif); }
.price { margin-top: 1rem; font: var(--step--1)/1.3 var(--mono); color: var(--ink-2); }
.price span { display: block; font: 400 clamp(3rem, 2.2rem + 3vw, 4.4rem)/0.95 var(--serif); letter-spacing: -0.03em; color: var(--ink); margin-bottom: 0.35rem; }
.featured .price { color: var(--on-navy-2); }
.featured .price span { color: var(--on-navy); }
.plan-for { margin-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); min-height: 3.8em; }
.featured .plan-for { color: var(--on-navy-2); border-color: var(--navy-line); }
.plan ul { margin: 1rem 0 1.6rem; display: grid; gap: 0.6rem; font-size: var(--step--1); line-height: 1.4; }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--seal); border-bottom: 2px solid var(--seal); transform: rotate(-45deg); }
.featured li::before { border-color: var(--gold); }
.plan-action { margin-top: auto; display: block; text-align: center; text-decoration: none; font: 600 var(--step-0)/1 var(--sans); padding: 0.95rem 1rem; border-radius: 0.35rem; background: var(--seal); color: oklch(98% 0.01 85); box-shadow: inset 0 -2px 0 oklch(0% 0 0 / 0.18); transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.plan-action:hover { background: var(--seal-deep); }
.plan-action.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.plan-action.quiet:hover { background: var(--ink); color: var(--paper); }
.plan-action:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---- sign-up ---- */
.signup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; margin-bottom: clamp(3rem, 8vw, 5.5rem); padding: clamp(1.6rem, 5vw, 3.4rem); background: var(--sheet); border-radius: 0.5rem; box-shadow: 0 0 0 1px var(--rule); }
.signup h2 { margin-top: 0; }
.signup-copy p { margin-top: 1.1rem; color: var(--ink-2); max-width: 40ch; }
.signup-copy .fine { font-size: var(--step--1); }
.signup a, .colophon a { color: inherit; text-decoration-color: var(--seal); text-underline-offset: 0.2em; }
.signup a:hover, .colophon a:hover { color: var(--seal-deep); }
#signup-form { margin: 0; max-width: none; display: grid; gap: 1.1rem; }
#signup-form label, #signup-form legend { color: var(--ink-2); }
.field input { width: 100%; border: 1px solid var(--ink-2); border-radius: 0.35rem; background: oklch(100% 0 0); font: var(--step-0)/1.2 var(--mono); padding: 0.8rem 0.85rem; transition: box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px oklch(82% 0.115 82 / 0.7); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
legend { padding: 0; font: 600 var(--step--1)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.65rem; }
#signup-form .choice { display: flex; align-items: center; gap: 0.7rem; margin: 0; padding: 0.75rem 0.85rem; border: 1px solid var(--rule); border-radius: 0.35rem; font: 500 var(--step-0)/1.2 var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease); }
.choice:hover { border-color: var(--ink-2); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice input { flex: none; width: 1.05rem; height: 1.05rem; padding: 0; accent-color: var(--seal); }
.choice small { color: var(--ink-2); font: var(--step--1)/1 var(--mono); margin-left: 0.4rem; }
#signup-form button { padding: 1rem 1.5rem; justify-self: start; }
#signup-form .status { margin-top: 0; color: var(--ink-2); }
#signup-form .status.error { color: var(--seal-deep); }
#signup-form .status.done { color: var(--green); font-weight: 600; }
#signup-form .agree { font-size: var(--step--1); color: var(--ink-2); margin-top: -0.4rem; }
.watch-link { font-size: var(--step--1); color: var(--ink-2); padding: 0.8rem 0.9rem; background: var(--paper); border-left: 3px solid var(--seal); border-radius: 0 0.3rem 0.3rem 0; }
.watch-link a { font-weight: 600; color: var(--ink); }

/* Off-screen, for scripts that fill in every field. People never see it. */
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

/* ---- the watch page ---- */
.watch { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; padding-block: clamp(2rem, 6vw, 4rem); }
.watch .sheet { width: auto; margin-top: 0; }
.watch-head { display: grid; gap: 0.5rem; margin-bottom: 1.6rem; }
.watch-head h1 { color: var(--ink); font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); max-width: none; margin: 0; overflow-wrap: anywhere; }
.watch-head p { color: var(--ink-2); max-width: 60ch; }
.watch-head .alerts { font: var(--step--1)/1.5 var(--mono); }
.watch-head .alerts.confirmed { color: var(--green); font-weight: 600; }
.watch-head .billing { font-size: var(--step--1); padding: 0.7rem 0.9rem; background: var(--sheet); border-left: 3px solid var(--gold); border-radius: 0 0.3rem 0.3rem 0; max-width: 62ch; }
.watch-head .billing.warn { border-color: var(--seal); background: var(--seal-wash); color: var(--ink); }
.watch-head .billing a { color: var(--ink); font-weight: 600; text-decoration-color: var(--seal); text-underline-offset: 0.2em; }
.wall-title { font: 400 var(--step-2)/1.1 var(--serif); margin-bottom: 0.8rem; }
.wall-action { display: inline-block; margin-top: 1.4rem; padding-inline: 1.6rem; }
.log { display: grid; }
.log li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.log time { font: var(--step--1)/1.4 var(--mono); color: var(--ink-2); }
.log .what b { font-family: var(--mono); font-weight: 600; }
.log .added .what::before, .log .changed .what::before, .log .removed .what::before, .log .failed .what::before { display: inline-block; width: 1.3em; font-family: var(--mono); font-weight: 600; }
.log .added .what::before { content: "+"; color: var(--green); }
.log .changed .what::before { content: "~"; color: var(--amber); }
.log .removed .what::before { content: "−"; color: var(--seal-deep); }
.log .failed .what::before { content: "!"; color: var(--seal-deep); }
.tool.gone { opacity: 0.6; }
.tool.gone .tool-name { text-decoration: line-through; }
.notice { margin: 1.4rem 0 0.4rem; padding: 1rem 1.1rem; background: var(--seal-wash); border-radius: 0.3rem; max-width: 62ch; }
.notice strong { display: block; margin-bottom: 0.25rem; }
@media (max-width: 36rem) { .log li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---- the directory: finding and paging ---- */
.find-site { max-width: 34rem; margin-bottom: 0.4rem; }
.find-site label { display: block; margin-bottom: 0.4rem; color: var(--ink-2); font-size: var(--step--1); }
.section-head span a { color: var(--ink); text-decoration-color: var(--seal); text-underline-offset: 0.2em; }
.pager { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.2rem; font: var(--step--1)/1 var(--mono); }
.pager ol { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.pager a, .pager [aria-current], .pager .off { display: inline-block; min-width: 2.4rem; padding: 0.65rem 0.7rem; text-align: center; border-radius: 0.3rem; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.pager a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pager a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pager [aria-current] { background: var(--ink); color: var(--paper); box-shadow: none; font-weight: 600; }
.pager .off { color: var(--ink-2); opacity: 0.55; }
.pager .gap { color: var(--ink-2); padding: 0 0.2rem; }

/* ---- the week's changes ---- */
.record-link { margin-bottom: 1.4rem; font-size: var(--step--1); color: var(--ink-2); }
.record-link a, .week-sites a { color: var(--ink); text-decoration-color: var(--seal); text-underline-offset: 0.2em; }
.week-sites > li { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 0.2rem 2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.week-host { font: 600 var(--step-0)/1.3 var(--mono); overflow-wrap: anywhere; text-decoration: none; }
.week-host:hover { color: var(--seal-deep); text-decoration: underline; }
.week-sites .log li { grid-template-columns: 1fr; padding: 0.3rem 0; border-bottom: 0; }
.week-sites .what { overflow-wrap: anywhere; }
.week-sites .what.more { color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 44rem) { .week-sites > li { grid-template-columns: 1fr; } }

/* ---- tests of the owner's own tools ---- */
.tests-lede { margin-top: 1rem; max-width: 62ch; color: var(--ink-2); }
.tests-step { margin-top: 1.8rem; max-width: 46rem; }
.tests-step h4 { font: 600 var(--step-0)/1.3 var(--sans); margin: 0 0 0.5rem; }
.tests-step p { max-width: 62ch; }
.tests-step p + p, .tests-step .code + p { margin-top: 0.8rem; }
.tests-step code { font: 0.92em var(--mono); background: var(--paper); padding: 0.08em 0.32em; border-radius: 0.2rem; }
.tests-step .code { white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.tests-step button { margin-top: 1rem; padding: 0.8rem 1.2rem; }
.watch .tests-step button.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.watch .tests-step button.quiet:hover { background: var(--ink); color: var(--paper); }
.tests-form { display: grid; gap: 1.2rem; margin-top: 1rem; }
.tests-card { margin: 0; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--rule); border-radius: 0.4rem; background: oklch(100% 0 0 / 0.5); display: grid; gap: 0.8rem; min-width: 0; }
.tests-card legend { padding: 0 0.4rem; font: 600 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-2); }
.tests-field { display: grid; gap: 0.3rem; min-width: 0; text-transform: none; letter-spacing: normal; }
.tests-form > button { justify-self: start; }
.tests-field > span, .tests-sub { font: 600 var(--step--1)/1.3 var(--sans); color: var(--ink-2); }
.tests-field.narrow { max-width: 16rem; }
.tests-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.8rem; }
.tests-form input, .tests-form select { width: 100%; min-width: 0; border: 1px solid var(--ink-2); border-radius: 0.3rem; background: oklch(100% 0 0); color: var(--ink); font: var(--step--1)/1.3 var(--mono); padding: 0.55rem 0.6rem; }
.tests-form input:focus, .tests-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(82% 0.115 82 / 0.7); }
.tests-rows { display: grid; gap: 0.45rem; }
.tests-row { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem minmax(0, 1.3fr) auto; gap: 0.45rem; align-items: center; }
.tests-hint { font-size: var(--step--1); color: var(--ink-2); }
.tests-rows .tests-hint { margin: -0.15rem 0 0.2rem; }
.tests-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1rem; }
.tests-step .tests-actions button, .tests-step .tests-form button { margin-top: 0; }
.watch .tests-step button.small { padding: 0.5rem 0.75rem; font-size: var(--step--1); justify-self: start; }
.tests-json[hidden], .tests-form[hidden] { display: none; }
@media (max-width: 40rem) { .tests-row { grid-template-columns: minmax(0, 1fr) 7.5rem; } .tests-row button { justify-self: start; } }
.tests-ok { color: var(--green); font-weight: 600; }
.tests-label { display: block; margin-top: 1rem; font: 600 var(--step--1)/1.3 var(--sans); color: var(--ink-2); }
.tests-editor { display: block; width: 100%; margin-top: 0.4rem; border: 1px solid var(--ink-2); border-radius: 0.35rem; background: oklch(100% 0 0); color: var(--ink); font: var(--step--1)/1.55 var(--mono); padding: 0.85rem; resize: vertical; tab-size: 2; }
.tests-editor:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(82% 0.115 82 / 0.7); }
.tests-note { min-height: 1.5em; margin-top: 0.6rem; font: var(--step--1)/1.5 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.tests-note.bad { color: var(--seal-deep); }
.tests-note.good { color: var(--green); }
.tests-results { display: grid; margin-top: 0.6rem; }
.tests-results li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.tests-verdict { font: 600 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.09em; }
.tests-results .pass .tests-verdict { color: var(--green); }
.tests-results .fail .tests-verdict { color: var(--seal-deep); }
.tests-results strong { display: block; font-weight: 600; }
.tests-where { display: block; font: var(--step--1)/1.4 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.tests-why { margin-top: 0.35rem; font: var(--step--1)/1.5 var(--mono); color: var(--seal-deep); overflow-wrap: anywhere; }
@media (max-width: 36rem) { .tests-results li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---- the fleet page ---- */
.section-head.first { margin-top: 0; }
.fleet-sites { display: grid; }
.fleet-site { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.fleet-site-main { flex: 1 1 14rem; }
.fleet-tests { flex: 1 1 100%; min-width: 0; }
.fleet-tests summary { cursor: pointer; font: var(--step--1)/1.4 var(--mono); color: var(--ink-2); padding: 0.2rem 0; }
.fleet-tests summary:hover { color: var(--ink); }
.fleet-tests summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.fleet-tests summary.bad { color: var(--seal-deep); }
.fleet-tests[open] { padding-bottom: 1rem; }
.fleet-tests .section-head { margin-top: 1.2rem; }
.fleet-site-main { display: grid; gap: 0.2rem; min-width: 0; }
.fleet-site-status { font: var(--step--1)/1.4 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.fleet-site-status.bad { color: var(--seal-deep); }
.watch button.remove { flex: none; background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); padding: 0.55rem 0.9rem; font: 500 var(--step--1)/1 var(--sans); }
.watch button.remove:hover { color: var(--seal-deep); box-shadow: inset 0 0 0 1px var(--seal-deep); background: transparent; }
.add-site { margin: 1.4rem 0 0; max-width: 34rem; }
.add-site label { color: var(--ink-2); }
.add-entry { display: flex; gap: 0.5rem; }
.add-entry input { flex: 1; min-width: 0; border: 1px solid var(--ink-2); border-radius: 0.35rem; background: oklch(100% 0 0); font: var(--step-0)/1.2 var(--mono); padding: 0.75rem 0.85rem; }
.add-entry input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px oklch(82% 0.115 82 / 0.7); }
.add-entry button { padding: 0 1.4rem; }
.feed p { max-width: 62ch; margin-top: 0.9rem; }
.feed .fine { font-size: var(--step--1); color: var(--ink-2); }
.code { margin: 1rem 0 0; padding: 1rem 1.1rem; background: var(--navy); color: var(--on-navy); border-radius: 0.35rem; font: var(--step--1)/1.6 var(--mono); overflow-x: auto; white-space: pre; }
.where-host { font: 600 var(--step--1)/1 var(--mono); color: var(--ink-2); }

/* ---- the public record ---- */
.record-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.record-actions .plan-action { margin-top: 0; padding-inline: 1.5rem; }
.owner-note { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-2); max-width: 64ch; }
.owner-note a, .directory a { color: var(--ink); text-decoration-color: var(--seal); text-underline-offset: 0.2em; }
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); column-gap: 2.4rem; }
.directory li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.directory a { font: 600 var(--step-0)/1.3 var(--mono); overflow-wrap: anywhere; min-width: 0; text-decoration: none; }
.directory a:hover { color: var(--seal-deep); text-decoration: underline; }
.directory span { flex: none; font: var(--step--1)/1.3 var(--mono); color: var(--ink-2); text-align: right; }
.watch-head h1 { text-wrap: balance; }

/* ---- the owner's view ---- */
.owner .section-head:first-child { margin-top: 0; }
.attention { display: grid; gap: 0.5rem; margin-top: 1rem; }
.attention li { padding: 0.7rem 0.9rem; border-left: 3px solid var(--amber); background: var(--paper); border-radius: 0 0.3rem 0.3rem 0; }
.attention li.bad { border-color: var(--seal); background: var(--seal-wash); }
.all-clear { color: var(--green); font-weight: 600; }
/* Six tiles: three, two or one across, so a row is never left part empty. */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2rem; background: var(--rule); border: 1px solid var(--rule); }
@media (max-width: 46rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 26rem) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--sheet); padding: 1.1rem 1.2rem 1.2rem; }
.tile dd { margin-top: 0.4rem; font: 400 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.tile-note { margin-top: 0.45rem; font: var(--step--1)/1.35 var(--sans); color: var(--ink-2); }
.bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 0.4rem; align-items: end; height: 11rem; margin-top: 1.2rem; }
.bars li { display: grid; grid-template-rows: 1.3rem 1fr 1.4rem; height: 100%; text-align: center; }
.bar { align-self: end; height: max(2px, calc(var(--h) * 100%)); background: var(--ink); border-radius: 2px 2px 0 0; transition: background var(--fast) var(--ease); }
.bars li:hover .bar { background: var(--seal); }
.bar-value, .bar-day { font: var(--step--1)/1.3rem var(--mono); color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin-top: 0.4rem; }
.owner table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.owner th { text-align: left; font: 600 0.74rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-2); padding: 0.7rem 1rem 0.5rem 0; white-space: nowrap; }
.owner td { padding: 0.65rem 1rem 0.65rem 0; border-top: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
.owner td:first-child { font-family: var(--mono); }
.state { font: 600 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.state.active { color: var(--green); }
.state.past_due, .state.ended { color: var(--seal-deep); }
.state.trial { color: var(--amber); }
.quiet { margin-top: 0.8rem; color: var(--ink-2); }

/* ---- a plain text page ---- */
.prose { width: min(100% - 2 * var(--gutter), 44rem); margin-inline: auto; padding-block: clamp(2.5rem, 7vw, 5rem); }
.prose h1 { color: var(--ink); font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); max-width: none; margin: 0; }
.prose h2 { margin-top: 2.2rem; font: 400 var(--step-2)/1.1 var(--serif); }
.prose p, .prose li { margin-top: 0.8rem; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2rem; }
.prose h2 { scroll-margin-top: 1.5rem; }
.prose a { color: var(--ink); text-decoration-color: var(--seal); text-underline-offset: 0.2em; }
.hero.slim { padding-bottom: 0; }
.hero.slim .masthead { border-bottom: 0; }

.colophon { padding-block: 1.4rem 3rem; border-top: 1px solid var(--rule); font: var(--step--1)/1.55 var(--sans); color: var(--ink-2); display: grid; gap: 0.3rem; }

@media (prefers-reduced-motion: reduce) {
  .sheet, .stamp { animation: none; }
  .brand img, .entry, button { transition: none; }
}
@media (max-width: 36rem) {
  .entry { flex-direction: column; }
  button { padding: 0.95rem; }
  .verdict { grid-template-columns: 1fr; padding-right: 0; padding-top: clamp(6.5rem, 30vw, 8rem); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .findings li { grid-template-columns: 1fr; gap: 0.1rem; }
}
