:root {
  --ink: #162621;
  --muted: #60716a;
  --paper: #f4f0e6;
  --panel: #fffdf7;
  --line: #d8d2c4;
  --accent: #d95d39;
  --green: #246b53;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body {
  min-height: 100vh;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at 85% 8%, rgba(217, 93, 57, .12), transparent 26rem),
    linear-gradient(90deg, rgba(22, 38, 33, .035) 1px, transparent 1px);
  background-size: auto, 42px 42px;
}
a { color: inherit; }
.site-header, footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 92px; border-bottom: 1px solid var(--line); }
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 46% 54%;
  color: var(--panel);
  background: var(--ink);
  transform: rotate(-7deg);
}
nav {
  display: flex;
  gap: 28px;
  font: 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a.active { color: var(--accent); }
main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 590px; padding: 108px 0 80px; position: relative; }
.hero::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 110px;
  width: 230px;
  height: 230px;
  border: 1px solid var(--green);
  border-radius: 41% 59% 62% 38% / 55% 42% 58% 45%;
  transform: rotate(13deg);
  box-shadow: inset 0 0 0 28px var(--paper), inset 0 0 0 29px var(--line);
  opacity: .72;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
}
h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 7vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.intro, .lead { max-width: 650px; color: var(--muted); font-size: clamp(19px, 2vw, 24px); line-height: 1.55; }
.intro { margin: 34px 0; }
.actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-block; padding: 13px 19px; border-radius: 3px; color: #fff; background: var(--ink); font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; text-decoration: none; }
.button:hover { background: var(--accent); }
.text-link { font-style: italic; text-underline-offset: 4px; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-grid article { padding: 38px 36px 46px 0; }
.signal-grid article + article { padding-left: 36px; border-left: 1px solid var(--line); }
.number { color: var(--accent); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
h2 { margin: 18px 0 12px; font-size: 25px; font-weight: 400; }
.signal-grid p, .article-grid p, .steps p, .prose p { color: var(--muted); line-height: 1.65; }
footer { min-height: 110px; color: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .07em; }
.article-shell { padding: 100px 0 120px; }
.article-shell h1 { max-width: 950px; font-size: clamp(46px, 6vw, 78px); }
.article-shell .lead { margin: 35px 0 70px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding-top: 35px; border-top: 1px solid var(--line); }
.steps { max-width: 860px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 70px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li > span { padding-top: 20px; color: var(--accent); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps h2 { margin-bottom: 4px; }
.steps p { margin-top: 0; }
.status-card { display: grid; grid-template-columns: 18px 1fr auto; gap: 18px; align-items: center; margin-top: 70px; padding: 28px; border: 1px solid var(--line); background: rgba(255, 253, 247, .74); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #2b9a66; box-shadow: 0 0 0 5px rgba(43, 154, 102, .12); }
.status-card p { margin: 4px 0 0; color: var(--muted); }
.status-card time, .fine-print { color: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.fine-print { margin-top: 22px; }
.narrow { max-width: 860px; }
.prose { max-width: 720px; padding-top: 10px; border-top: 1px solid var(--line); }
.error-page { display: grid; place-items: center; text-align: center; }
.error-page main { width: min(620px, calc(100% - 40px)); }
.error-page h1 { font-size: clamp(45px, 8vw, 75px); }
.error-page p { margin-bottom: 30px; color: var(--muted); font-size: 19px; }
.error-code { display: block; margin-bottom: 20px; color: var(--accent); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }

@media (max-width: 760px) {
  .site-header, footer, main { width: min(100% - 32px, 1180px); }
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 15px; padding: 18px 0; }
  nav { width: 100%; gap: 18px; overflow-x: auto; }
  .hero { min-height: auto; padding: 72px 0; }
  .hero::after { display: none; }
  .intro { margin: 28px 0; }
  .actions { align-items: flex-start; flex-direction: column; }
  .signal-grid, .article-grid { grid-template-columns: 1fr; }
  .signal-grid article, .signal-grid article + article { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .signal-grid article:last-child { border-bottom: 0; }
  .article-shell { padding: 70px 0; }
  .article-grid { gap: 12px; }
  .status-card { grid-template-columns: 18px 1fr; }
  .status-card time { grid-column: 2; }
}
