@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5f3;
  --ink: #0d0d0d;
  --muted: #62615f;
  --contributor-ink: #52514f;
  --border: #a5a39f;
  --focus: #2985d0;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 40px;
  z-index: 2;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 12px; }
.page { width: 100%; max-width: 1280px; margin-inline: auto; padding: 40px; }
.notice-panel {
  border: 1px solid var(--border);
  border-radius: 67px;
  padding: 79px 24px;
}
.introduction { max-width: 850px; margin-inline: auto; text-align: center; }
.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: var(--muted);
}
h1 { margin: 0; font-size: 64px; line-height: 1.06; font-weight: 700; letter-spacing: -2.3px; }
h1 span { display: block; }
.description { margin: 24px 0 0; font-size: 16px; line-height: 26px; color: var(--muted); }
.actions-section { padding-top: 30px; text-align: center; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(499px, 100%); margin-inline: auto; }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.button img { flex: 0 0 auto; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: #343432; }
.button-secondary { background: var(--paper); }
.button-secondary:hover { background: #eae6e1; }
.archive-note { margin: 20px 0 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.contributors { width: 100%; max-width: 820px; margin-inline: auto; padding: 80px 52px; }
h2 { margin: 0; font-size: 32px; line-height: 33.04px; font-weight: 700; letter-spacing: -.8px; text-align: center; }
.contributor-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(146px, auto);
  gap: 24px 20px;
  margin: 50px 0 0;
  padding: 0;
}
.contributor-grid > li { min-width: 0; }
.contributor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 146px;
  height: 100%;
  color: var(--contributor-ink);
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
}
.portrait { display: block; flex: 0 0 auto; width: 65px; height: 65px; object-fit: cover; border-radius: 50%; }
.contributor-details { width: 100%; }
.contributor h3 { margin: 0; font-size: 15px; line-height: 20px; font-weight: 700; }
.contributor p { margin: 2px 0 0; font-size: 14px; line-height: 20px; font-weight: 400; overflow-wrap: break-word; }
.contributor:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.footer { padding-top: 10px; }
.disclaimer { margin: 0; color: var(--muted); font-size: 11px; line-height: 17.6px; text-align: center; }
.footer-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { display: block; }
.repository { color: var(--muted); font-size: 12px; line-height: 18px; text-decoration: none; }

@media (max-width: 960px) {
  .page { padding: 28px; }
  .notice-panel { border-radius: 48px; padding: 64px 28px; }
  h1 { font-size: clamp(44px, 6.2vw, 60px); letter-spacing: -1.8px; }
  .contributors { padding: 64px 0; }
  .contributor-grid { gap: 24px 16px; }
}

@media (max-width: 640px) {
  .page { padding: 16px; }
  .notice-panel { border-radius: 30px; padding: 44px 20px; }
  .eyebrow { font-size: 10px; line-height: 16px; letter-spacing: 1px; margin-bottom: 22px; }
  h1 { font-size: clamp(36px, 8.7vw, 48px); line-height: 1.08; letter-spacing: -1.4px; }
  .description { margin-top: 24px; font-size: 15px; line-height: 24px; }
  .actions { grid-template-columns: 1fr; width: min(280px, 100%); }
  .button { min-height: 48px; }
  .archive-note { max-width: 260px; margin: 18px auto 0; }
  .contributors { padding: 56px 0 24px; }
  h2 { font-size: 27px; line-height: 32px; }
  .contributor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 24px 14px; margin-top: 36px; }
  .contributor { min-height: 150px; }
  .contributor h3 { font-size: 14px; }
  .contributor p { font-size: 12px; line-height: 18px; }
  .disclaimer { padding-inline: 8px; font-size: 10px; line-height: 16px; }
  .disclaimer br { display: none; }
  .footer-links { margin-top: 28px; gap: 16px; }
  .repository { font-size: 11px; }
}

@media (max-width: 359px) {
  .page { padding: 12px; }
  .notice-panel { padding-inline: 16px; }
  .contributor-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 28px; }
  .contributor { min-height: 130px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
