/* File: site/www/site.css */
/* Version: 2026.10.001 | Path: C:\Code\inspexius\site\www\site.css */
/* v2026.10.001: Original version. The register's look: paper and ink, a serif for what is said and a monospace for
   what is cited, light or dark as the reader's own setting says. Nothing is fetched from anywhere else: no fonts, no
   images, no scripts. */
/* Powered by skipLogic™ · Edson Technologies */

:root {
  --paper: #f6f4ef;
  --paper-2: #eeebe3;
  --card: #fffdf8;
  --ink: #17191c;
  --muted: #59606a;
  --rule: #d7d2c6;
  --accent: #1d4f6e;
  --accent-ink: #f6f4ef;
  --found: #1d6a54;
  --notfound: #4d5764;
  --notcovered: #85600f;
  --unavailable: #8c3426;
  --shadow: rgb(23 25 28 / 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121417;
    --paper-2: #191c21;
    --card: #1b1f24;
    --ink: #e9e6df;
    --muted: #a3a9b1;
    --rule: #2f353c;
    --accent: #8cb8d8;
    --accent-ink: #0f1215;
    --found: #6fc3a5;
    --notfound: #a9b3bf;
    --notcovered: #e2ba60;
    --unavailable: #ee9c88;
    --shadow: rgb(0 0 0 / 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

sup { line-height: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

code { font: 0.9em/1.4 var(--mono); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 0; }

.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 4px; }

/* The masthead */

.masthead { border-bottom: 1px solid var(--rule); }

.masthead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 21px/1 var(--serif);
  letter-spacing: 0.01em;
}

.brand sup { font-size: 0.5em; font-weight: 400; margin-left: 1px; }

.mark { width: 28px; height: 28px; flex: none; }

.mark-bg { fill: var(--accent); }

.mark-fg { fill: var(--accent-ink); }

.masthead nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14.5px; }

.masthead nav a { color: var(--muted); text-decoration: none; }

.masthead nav a:hover { color: var(--ink); text-decoration: underline; }

/* The opening */

.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--rule); }

.hero-grid { display: grid; gap: 44px; align-items: center; }

@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.eyebrow {
  margin: 0 0 16px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 { margin: 0; font: 600 clamp(52px, 10vw, 92px)/0.95 var(--serif); letter-spacing: -0.015em; }

h1 sup { font-size: 0.3em; font-weight: 400; letter-spacing: 0; margin-left: 3px; vertical-align: 1.35em; }

.tagline { margin: 16px 0 0; font: italic 400 clamp(23px, 3.3vw, 31px)/1.25 var(--serif); color: var(--accent); }

.lead { margin: 28px 0 0; font-size: 19px; line-height: 1.6; max-width: 32em; }

.etymology {
  margin: 26px 0 0;
  padding-top: 14px;
  max-width: 32em;
  border-top: 1px solid var(--rule);
  font: 16px/1.5 var(--serif);
  color: var(--muted);
}

.etymology i { color: var(--ink); }

/* An answer, as the register keeps it */

.entry {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 24px 48px -30px var(--shadow);
  overflow: hidden;
}

.entry figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 20px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font: 600 12px/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry figcaption span {
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.entry dl { margin: 0; padding: 4px 20px 10px; }

.entry dl > div {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
}

.entry dl > div:last-child { border-bottom: 0; }

.entry dt {
  font: 600 11.5px/2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry dd { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }

.entry code { font-size: 13.5px; }

/* The four answers */

.status {
  display: inline-block;
  margin-right: 6px;
  padding: 5px 8px 4px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font: 700 11.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 1px;
  white-space: nowrap;
}

.status.found { color: var(--found); }

.status.notfound { color: var(--notfound); }

.status.notcovered { color: var(--notcovered); }

.status.unavailable { color: var(--unavailable); }

/* Sections */

.band { padding: 72px 0; border-bottom: 1px solid var(--rule); }

.band.alt { background: var(--paper-2); }

.section-no { margin: 0 0 10px; font: 600 13px/1 var(--mono); letter-spacing: 0.14em; color: var(--accent); }

h2 { margin: 0 0 20px; font: 600 clamp(29px, 4.3vw, 42px)/1.12 var(--serif); letter-spacing: -0.01em; }

h3 { margin: 0 0 8px; font: 600 20px/1.3 var(--serif); }

.intro { margin: 0 0 34px; max-width: 40em; font-size: 18.5px; }

.cols { display: grid; gap: 4px 52px; }

@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } }

.cols p { margin: 0 0 14px; font-size: 18px; }

.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

@media (min-width: 640px) { .answers { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1000px) { .answers { grid-template-columns: repeat(4, 1fr); } }

.answers li {
  padding: 20px 18px 22px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--rule);
  border-radius: 8px;
}

.answers li.found { border-top-color: var(--found); }

.answers li.notfound { border-top-color: var(--notfound); }

.answers li.notcovered { border-top-color: var(--notcovered); }

.answers li.unavailable { border-top-color: var(--unavailable); }

.answers p { margin: 14px 0 0; font-size: 16px; }

.aside { margin: 30px 0 0; max-width: 44em; font: italic 18px/1.6 var(--serif); color: var(--muted); }

.principles { display: grid; gap: 30px 40px; }

@media (min-width: 700px) { .principles { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1000px) { .principles { grid-template-columns: repeat(3, 1fr); } }

.principles article { padding-top: 14px; border-top: 2px solid var(--ink); }

.principles p { margin: 0; font-size: 16px; }

.nots { list-style: none; margin: 0; padding: 0; max-width: 46em; }

.nots li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--rule); font-size: 17.5px; }

.nots li:last-child { border-bottom: 0; }

.nots li::before { content: "✕"; position: absolute; left: 2px; top: 15px; color: var(--unavailable); font-weight: 700; }

/* Who runs it, and the crawler */

.who-grid { display: grid; gap: 40px; align-items: start; }

@media (min-width: 920px) { .who-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.statement { margin: 0; max-width: 28em; font: 400 21px/1.5 var(--serif); }

.crawler {
  padding: 26px 26px 22px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.crawler h2 { margin-bottom: 12px; font-size: 26px; }

.crawler p { margin: 0 0 16px; }

.crawler p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  text-decoration: none;
  font: 600 15px/1 var(--sans);
}

.button:hover { filter: brightness(1.1); }

.button::after { content: " →"; }

.small { font-size: 14.5px; color: var(--muted); }

/* The address that holds nothing */

.missing { padding: 88px 0 104px; border-bottom: 0; }

.missing h1 { margin: 18px 0 12px; font-size: clamp(40px, 7vw, 64px); }

.missing p { margin: 0 0 24px; max-width: 32em; font-size: 19px; }

.missing .links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* The footer */

.foot { padding: 28px 0 44px; font-size: 14px; color: var(--muted); }

.foot p { margin: 0; }

@media print {
  .masthead nav, .skip, .button { display: none; }
  .band, .hero { padding: 24px 0; }
  .entry { box-shadow: none; }
}
