:root {
  color-scheme: light;
  --paper: #f4f2e9;
  --surface: #fffdf5;
  --ink: #111111;
  --muted: #5f5d55;
  --accent: #f04f35;
  --line: #111111;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.65;
}

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.shell { width: min(860px, calc(100% - 32px)); margin: 0 auto; }

header {
  border-bottom: 3px solid var(--line);
  background: var(--surface);
}

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

.brand {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand::after { content: "."; color: var(--accent); }

nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: .78rem; font-weight: 800; text-transform: uppercase; }

main { padding: 64px 0 88px; }

.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.06;
  letter-spacing: -.035em;
}

h1 { max-width: 760px; margin: 12px 0 20px; font-size: clamp(2.7rem, 8vw, 5.4rem); font-weight: 950; }
h2 { margin: 52px 0 14px; font-size: 1.75rem; font-weight: 900; }
h3 { margin: 28px 0 8px; font-size: 1.1rem; font-weight: 850; }
p, li { color: var(--muted); }
li + li { margin-top: 8px; }

.lede { max-width: 700px; font-size: 1.1rem; }
.meta { margin: 28px 0; padding: 14px 16px; border: 2px solid var(--line); background: var(--surface); font-size: .82rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card {
  display: flex;
  min-height: 190px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid var(--line);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--line);
  text-decoration: none;
}
.card:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--line); }
.card strong { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-size: 1.35rem; }
.card span { color: var(--muted); font-size: .82rem; }
.arrow { color: var(--accent) !important; font-size: 1.5rem !important; font-weight: 900; }

.callout { margin: 32px 0; padding: 20px; border-left: 7px solid var(--accent); background: var(--surface); }
.callout p { margin: 0; color: var(--ink); font-weight: 700; }

footer { padding: 24px 0 40px; border-top: 2px solid var(--line); font-size: .78rem; }

@media (max-width: 700px) {
  .topbar { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  main { padding-top: 42px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 150px; }
}
