/* filelatch.com — hand-written, no build step, no framework.
   Deliberately no web fonts, no analytics, no third-party anything: the site makes
   privacy claims, and every external request would be a claim to qualify. It also
   means no cookies, so no consent banner is required under PECR. */

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --border: #e2e5ea;
  --text: #1a1d21;
  --muted: #5c6470;
  --accent: #1f5fa9;
  --accent-soft: #eaf1fa;
  --radius: 10px;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --surface: #1c2024;
    --border: #2c3238;
    --text: #e8eaed;
    --muted: #9aa3ae;
    --accent: #7ab3f0;
    --accent-soft: #1b2733;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

/* ---- header ---- */
header {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  margin-bottom: 3rem;
}
header .wrap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.brand {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand span { color: var(--accent); }

nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.925rem; }
nav a:hover, nav a:focus { color: var(--accent); text-decoration: underline; }

/* ---- type ---- */
h1 { font-size: 2.1rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.75rem 0 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
p, li { color: var(--text); }
.lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; }
a { color: var(--accent); }
strong { font-weight: 640; }

ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

/* ---- status notice ---- */
.notice {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}
.notice strong { color: var(--text); }

/* ---- claim cards ---- */
.claims { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .claims { grid-template-columns: 1fr 1fr; } }
.claims li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0;
}
.claims b { display: block; margin-bottom: 0.25rem; }
.claims span { color: var(--muted); font-size: 0.925rem; }

/* ---- key/value table ---- */
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; width: 34%; }

/* ---- footer ---- */
footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer p { color: var(--muted); margin: 0.4rem 0; }
footer a { color: var(--muted); }
footer nav { margin-bottom: 1rem; }

.updated { color: var(--muted); font-size: 0.9rem; margin-top: -0.5rem; }

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