:root {
  color-scheme: light;
  --ink: #25201d;
  --muted: #665f59;
  --paper: #f7f1e8;
  --surface: #fffaf4;
  --line: #d8cfc3;
  --blue: #207fe5;
  --blue-dark: #115ba8;
  --content: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font: 700 1.05rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.site-nav { display: flex; gap: 18px; font-size: 0.9rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

.page { padding: 76px 0 96px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font: 500 0.78rem/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 600; }
h2 { margin: 2.7em 0 0.65em; font-size: 1.55rem; }
h3 { margin: 1.8em 0 0.45em; font-size: 1.08rem; }
p, ul, ol { margin: 0.8em 0; }
li + li { margin-top: 0.45em; }
strong { font-weight: 600; }

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.6vw, 1.35rem);
}

.meta {
  margin: 32px 0 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font: 400 0.78rem/1.6 "IBM Plex Mono", monospace;
}

.notice {
  margin: 32px 0;
  padding: 20px 22px;
  border: 1px solid #a9c8e9;
  border-radius: 14px;
  background: #edf6ff;
}

.notice p:first-child { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.card:hover { border-color: #a7b9c9; color: var(--ink); transform: translateY(-1px); }
.card h2 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--blue-dark); color: white; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  padding: 32px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header__inner { min-height: 64px; }
  .site-nav a:not(:last-child) { display: none; }
  .page { padding: 52px 0 72px; }
  .cards { grid-template-columns: 1fr; }
  .site-footer__inner { flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .button { transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease; }
}
