:root {
  --page-width: 72rem;
  --page-gutter: 1rem;

  --paper: #f2ead7;
  --panel: #fffaf0;
  --ink: #17202a;
  --muted-ink: #655f56;
  --cyan: #008d9b;
  --magenta: #bd286d;
  --yellow: #f2c84b;
  --orange: #e56432;
  --rule: #17202a;

  --hard-shadow: 0.35rem 0.35rem 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  border-top: 0.65rem solid var(--yellow);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgb(23 32 42 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 32 42 / 4%) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body > header,
body > main {
  width: min(
    calc(100% - (2 * var(--page-gutter))),
    var(--page-width)
  );
  margin-inline: auto;
}

body > header {
  position: relative;
  padding-block: 2.5rem 2rem;
  border-bottom: 0.25rem solid var(--rule);
}

body > header::after {
  position: absolute;
  right: 0;
  bottom: -0.75rem;
  left: 0;
  height: 0.5rem;
  background: linear-gradient(
    90deg,
    var(--cyan) 0 32%,
    var(--magenta) 32% 64%,
    var(--orange) 64% 82%,
    var(--yellow) 82% 100%
  );
  content: "";
}

body > main {
  padding-block: 2.5rem 5rem;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.1;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.25rem, 8vw, 4.75rem);
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

h2 {
  margin-top: 3rem;
  padding-bottom: 0.4rem;
  border-bottom: 0.45rem solid var(--cyan);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 1.25rem;
  color: var(--magenta);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  text-transform: uppercase;
}

p {
  max-width: 48rem;
}

a {
  color: #006d78;
  font-weight: 700;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--magenta);
}

a:focus-visible {
  outline: 0.25rem solid var(--yellow);
  outline-offset: 0.2rem;
}

header > p:first-child {
  margin-top: 0;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main > p:first-child {
  font-size: 1.2rem;
  font-weight: 700;
}

main > section + section {
  margin-top: 4rem;
}

article {
  margin-block: 1.5rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 0.18rem solid var(--rule);
  background: var(--panel);
  box-shadow: var(--hard-shadow);
}

article:nth-of-type(even) {
  border-top-color: var(--orange);
}

article > section {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border: 0.12rem solid var(--rule);
  border-left: 0.55rem solid var(--cyan);
  background: #fff;
}

article > section:nth-of-type(even) {
  border-left-color: var(--magenta);
}

dl {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) 1fr;
  gap: 0.65rem 1rem;
  margin-bottom: 0;
}

dt {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

blockquote {
  margin: 0.25rem 0 1rem;
  padding: 0.8rem 1rem;
  border-left: 0.45rem solid var(--yellow);
  background: #f7f0cf;
}

blockquote:last-child {
  margin-bottom: 0;
}

blockquote p {
  margin-top: 0;
}

blockquote footer {
  color: var(--muted-ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 36rem) {
  :root {
    --page-gutter: 0.75rem;
    --hard-shadow: 0.22rem 0.22rem 0 var(--ink);
  }

  body {
    border-top-width: 0.4rem;
  }

  body > header {
    padding-block: 1.75rem 1.5rem;
  }

  body > main {
    padding-block: 2rem 4rem;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dd + dt {
    margin-top: 0.65rem;
  }

  article > section {
    padding: 1rem;
  }
}

.issue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  display: flex;
}

.issue-list article {
  width: 100%;
  margin: 0;
}

.issue-list h3 {
  margin-bottom: 1.25rem;
}

.issue-list h3 a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}