:root {
  color-scheme: light;
  --paper: #f1f4f3;
  --ink: #172c38;
  --blue: #215af4;
  --line: #ccd9d8;
  --muted: #465d68;
  font:
    16px/1.65 system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #1747ce;
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.shell {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 20px;
  top: 10px;
  z-index: 2;
  background: white;
  padding: 10px;
}
.skip:not(:focus) {
  clip-path: inset(50%);
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.bar,
.bar nav,
.next,
footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.bar {
  justify-content: space-between;
  padding-block: 16px;
}
.bar a {
  text-decoration: none;
}
.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
}
.bar nav a:not(.button) {
  color: var(--ink);
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 700;
  text-decoration: none;
}
.button:hover {
  background: #1747ce;
}
.intro {
  padding: 54px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.intro h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 12px 0 18px;
}
.intro > p:last-child {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}
.eyebrow {
  font:
    700 12px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0.1em;
  color: var(--muted);
}
p {
  margin: 0 0 12px;
}
.notice {
  background: #e1eeea;
  border-left: 4px solid #376955;
  padding: 19px 22px;
  border-radius: 0 10px 10px 0;
}
.notice p {
  margin: 5px 0 0;
  max-width: 85ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
}
.card:hover {
  border-color: var(--blue);
}
.card h2 {
  font-size: 23px;
  line-height: 1.2;
  margin: 12px 0;
}
.card p {
  color: var(--muted);
}
.read {
  margin-top: auto;
  padding-top: 8px;
  color: #1747ce;
  font-weight: 700;
}
.reading {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.contents {
  background: #e1eeea;
  border-radius: 12px;
  padding: 20px;
}
.contents h2 {
  font-size: 16px;
}
.contents ol {
  padding-left: 20px;
  margin-bottom: 0;
}
.contents li + li {
  margin-top: 8px;
}
.reading section {
  border-bottom: 1px solid var(--line);
  padding: 0 0 20px;
  margin: 0 0 24px;
  max-width: 76ch;
}
.reading h2 {
  line-height: 1.2;
  margin-top: 0;
}
.contents h2 {
  margin-top: 14px;
}
.reading section h2 span {
  color: #1747ce;
  font:
    700 13px ui-monospace,
    monospace;
  margin-right: 7px;
}
.next {
  margin: 26px 0 32px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
}
footer p {
  margin-top: 16px;
}
a[aria-current="page"] {
  font-weight: 800;
}
@media (max-width: 760px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reading {
    grid-template-columns: 1fr;
  }
  .intro {
    padding-top: 35px;
  }
}
@media (max-width: 490px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .bar,
  .bar nav {
    gap: 10px 14px;
  }
  .bar nav {
    font-size: 14px;
  }
  .shell {
    width: calc(100% - 32px);
  }
}
