:root {
  color-scheme: light;
  --ink: #191513;
  --muted: #5f554f;
  --line: #e8ddd4;
  --paper: #fffdfa;
  --cream: #faf7f1;
  --orange: #b83608;
  --mock-bg: #f4efe8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--orange); }

a:hover { text-decoration-thickness: 2px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 8px 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header,
.site-footer,
main {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px 0 18px;
}

.brand {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand span { font-weight: 500; }

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover { color: var(--orange); }

main { padding-bottom: 48px; }

h1 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.operator {
  margin: 0 0 20px;
  color: var(--muted);
}

h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

h3 { margin: 24px 0 8px; font-size: 18px; }

p, li { margin: 0 0 12px; }

ul, ol { padding-left: 1.3em; }

.opt-in-mock {
  margin: 0 0 28px;
  padding: 0;
}

.opt-in-mock figcaption {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.mock-window {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.mock-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock-field {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--mock-bg);
  color: var(--muted);
}

.mock-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mock-check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}

pre.sample {
  overflow-x: auto;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #faf7f1;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.site-footer {
  padding: 22px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
