:root {
  color-scheme: light dark;
  --paper: #f7f3eb;
  --sunk: rgba(30, 28, 25, 0.06);
  --ink: #171717;
  --muted: #64605b;
  --rule: rgba(23, 23, 23, 0.16);
  --accent: #006b9f;
  --texture: image-set(
    url("/images/optimized/marketing/paper-texture-1536.avif") type("image/avif"),
    url("/images/optimized/marketing/paper-texture-1536.webp") type("image/webp"),
    url("/marketing/paper-texture.png") type("image/png")
  );
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #201e1c;
    --sunk: rgba(255, 255, 255, 0.07);
    --ink: #f4efe7;
    --muted: #b2aaa1;
    --rule: rgba(244, 239, 231, 0.18);
    --accent: #5bc0e5;
    --texture: none;
  }
}
:root[data-theme="dark"] {
  --paper: #201e1c;
  --sunk: rgba(255, 255, 255, 0.07);
  --ink: #f4efe7;
  --muted: #b2aaa1;
  --rule: rgba(244, 239, 231, 0.18);
  --accent: #5bc0e5;
  --texture: none;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--texture);
  background-position: center top;
  background-size: 768px auto;
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
::selection { background: #0077b6; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 32px), 1080px);
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand em { color: var(--accent); font-style: normal; }
.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}
.wrap { max-width: 62ch; margin: 0 auto; padding: 48px 24px 96px; }
h1, h2 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Baskerville, Georgia, serif; }
h1 { font-size: 2.5rem; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
h2 {
  font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; margin: 34px 0 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
p, li { color: var(--ink); }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
a { color: var(--accent); text-underline-offset: 2px; }
.note {
  background: var(--sunk); border: 1px solid var(--rule); border-radius: 12px;
  padding: 16px 18px; font-size: 14.5px; color: var(--muted); margin: 28px 0;
}
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule);
         font-size: 14px; color: var(--muted); }
footer a { display: inline-block; padding: 12px 0; }
