:root {
  color-scheme: light;
  --ink: #15202b;
  --muted: #52606d;
  --paper: #fffdf7;
  --sky: #e7f5ff;
  --yellow: #fdc825;
  --green: #64d97b;
  --line: #1d2630;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 245, 255, 0.95), rgba(255, 253, 247, 0.98) 42%, rgba(232, 252, 228, 0.9)),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  padding: 32px;
  border: 4px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--line);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.lede,
.updated {
  color: var(--muted);
  font-weight: 650;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.link-grid a {
  min-height: 148px;
  padding: 24px;
  border: 4px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 6px 6px 0 var(--line);
  text-decoration: none;
}

.link-grid a:nth-child(2) {
  background: #fff3cc;
}

.link-grid a:nth-child(3) {
  background: #eaffef;
}

.link-grid a:nth-child(4) {
  background: #eaf4ff;
}

.link-grid span {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
}

.link-grid small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
}

.document article {
  padding: 32px;
  border: 4px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 8px 8px 0 var(--line);
}

.document h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
}

.document p,
.document li {
  font-size: 1.04rem;
}

.document li + li {
  margin-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 920px);
    padding: 24px 0 36px;
  }

  .site-header,
  .document article {
    padding: 22px;
    border-radius: 22px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
