/* Steward site: true black, one light source above the page, #0068ff as the light.
   Every text colour is 7:1 or more on the ground and on the plates (checked 2026-10-31). */
@font-face { font-family: Inter; src: url(/fonts/inter-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --ground: #000000;
  --plate: #0d0d10;
  --line: #24252b;
  --bevel: #34363e;
  --text: #ffffff;   /* 21:1 on ground */
  --soft: #b6b8c0;   /* 10.6:1 on ground, 9.8:1 on plate */
  --blue: #7aaeff;   /* links: 9.3:1 on ground, 8.6:1 on plate */
  --glow: #0068ff;   /* light only: focus, edges, never text */
  --fill: #004cc0;   /* filled key, white words 7.5:1 */
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  /* the one light source, above the page */
  background-image: radial-gradient(ellipse 70% 320px at 50% -120px, rgba(0, 104, 255, .22), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-wrap: anywhere;
}
.wrap { width: min(1100px, 100% - 40px); margin: 0 auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 12px; }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 10; padding: 12px 16px; background: var(--plate); color: var(--text); border-radius: 12px; }

.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--text); text-decoration: none; font: 700 1.25rem/1.2 var(--mono); }
.bar nav, footer nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.bar nav a, footer nav a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; padding: 0 10px; color: var(--text); text-decoration: none; }
.bar nav a:hover, footer nav a:hover { text-decoration: underline; }
[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--glow); text-decoration-thickness: 2px; }

main { padding: 32px 0 56px; }
article { max-width: 46em; }
h1, h2, h3 { font-family: var(--mono); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); margin: .4em 0 .3em; }
h2 { font-size: 1.3rem; margin: 2em 0 .5em; }
h3 { font-size: 1.05rem; margin: 1.5em 0 .4em; }
p, li { color: var(--text); }
.soft, .eff { color: var(--soft); }
ul { padding-left: 1.3em; }
li { margin: .35em 0; }
strong { font-weight: 600; }

.plate {
  background: var(--plate);
  border: 1px solid var(--line);
  border-top-color: var(--bevel); /* lit from above */
  border-radius: 16px;
  padding: 18px 20px;
  margin: 1em 0;
}
.plate > :first-child { margin-top: 0; }
.plate > :last-child { margin-bottom: 0; }

.promises { list-style: none; padding: 0; }
.promises li { display: flex; gap: 12px; align-items: flex-start; }
/* the red ban sign of the house: a circle with a slash, on a pale red chip */
.ban { flex: none; width: 24px; height: 24px; margin-top: .2em; border-radius: 999px; background: #fde8e7; position: relative; }
.ban::before { content: ""; position: absolute; inset: 4px; border: 2.5px solid #8a1010; border-radius: 999px; }
.ban::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2.5px; margin-left: -1.25px; background: #8a1010; transform: rotate(45deg); }

table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.scroll { overflow-x: auto; }

.key {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px;
  border-radius: 14px; background: var(--fill); color: #ffffff; font-weight: 600; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.hero p { font-size: 1.15rem; max-width: 36em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.grid .plate { margin: 0; }
.grid h3 { margin-top: 0; }

footer { border-top: 1px solid var(--line); padding: 16px 0 32px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; color: var(--soft); }
footer .wrap > span a { color: var(--blue); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
