@font-face {
  font-family: "InterVariable";
  src: url("InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #f7f8fa;
  --foreground: #08080a;
  --foreground-light: #3a3a42;
  --foreground-lighter: #6b6b76;
  --foreground-muted: #8a8a95;
  --surface: #d9dbe1;
  --rule: #dfe1e6;
  --rule-strong: #cfd2d9;
  --brand: #4a2fd6;
}

* { box-sizing: border-box; }
html { background: var(--surface); }
body {
  margin: 0;
  color: var(--foreground);
  background: var(--surface);
  font-family: "InterVariable", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.document {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 24px auto;
  padding: 48px 64px 44px;
  background: var(--background);
}

.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--foreground-muted);
  font-size: 12px;
}

.wordmark { display: inline-flex; align-items: center; gap: 6px; color: var(--foreground); font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.wordmark svg { width: 15px; height: 15px; }
.intro { padding: 58px 0 40px; border-bottom: 2px solid var(--foreground); }
h1 { max-width: 760px; margin: 0; font-size: clamp(46px, 7vw, 78px); font-weight: 550; letter-spacing: -.055em; line-height: .98; }

.section-title > span, .issue-title > span, .label { display: block; color: var(--brand); font-size: 11px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }

.review-section { margin-top: 64px; }
.section-title { display: grid; grid-template-columns: 70px 1fr; align-items: end; padding-bottom: 12px; border-bottom: 2px solid var(--foreground); }
.section-title h2 { margin: 0; font-size: 34px; font-weight: 560; letter-spacing: -.035em; line-height: 1.05; }
.issue { display: grid; grid-template-columns: 1.05fr 1fr 1fr; border-bottom: 1px solid var(--rule-strong); }
.issue > div { padding: 26px 24px 28px 0; }
.issue > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.issue-title > span { color: var(--foreground-muted); }
.issue h3 { margin: 7px 0 12px; font-size: 19px; font-weight: 620; letter-spacing: -.025em; line-height: 1.22; }
.issue p { margin: 0; color: var(--foreground-light); font-size: 14px; line-height: 1.55; }
.issue-title p { font-size: 12px; line-height: 1.6; }
.label { margin-bottom: 8px; }
a { color: var(--brand); font-weight: 620; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code { padding: 1px 4px; border-radius: 2px; background: #e9eaee; color: var(--foreground); font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }

.doc-footer { margin-top: 88px; }
.doc-footer > strong { display: block; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--rule-strong); color: #e9eaee; font-size: clamp(64px, 11vw, 118px); font-weight: 650; letter-spacing: -.07em; line-height: .72; text-align: right; }
.doc-footer > div { display: flex; justify-content: space-between; padding-top: 12px; color: var(--foreground-muted); font-size: 12px; }

@media (max-width: 820px) {
  .document { width: 100%; margin: 0; padding: 28px 22px 34px; }
  .intro { padding-top: 42px; }
  .review-section { margin-top: 48px; }
  .section-title { grid-template-columns: 44px 1fr; }
  .section-title h2 { font-size: 29px; }
  .issue { grid-template-columns: 1fr; padding: 24px 0; }
  .issue > div { padding: 0; }
  .issue > div + div { margin-top: 22px; padding: 0; border: 0; }
  .doc-footer { margin-top: 64px; }
}

@media print {
  html, body { background: white; }
  .document { width: 100%; margin: 0; padding: 0; }
  .issue { break-inside: avoid; }
}
