@font-face {
  font-family: "Archivo Variable";
  src: url("/docs-assets/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
}

:root {
  --navy: #142038;
  --stock: #f4f2ec;
  --sheet: #fbfaf6;
  --white: #f7f6f2;
  --ink: #0e1a2b;
  --muted: #5e6977;
  --gold-ink: #805a1b;
  --rule: color-mix(in srgb, var(--ink) 20%, transparent);
  --rule-night: color-mix(in srgb, var(--white) 22%, transparent);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--stock);
  color: var(--ink);
  font: 400 17px / 1.6 "Archivo Variable", sans-serif;
}

.frame {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.masthead {
  padding-block: 32px clamp(40px, 8vh, 88px);
  background: var(--navy);
  color: var(--white);
}

.mark {
  display: block;
  filter: brightness(0) invert(1);
}

h1, h2 {
  margin: 0;
  font-stretch: 125%;
  text-transform: uppercase;
}

h1 {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-night);
  font-size: clamp(24px, 6.4vw, 72px);
  font-weight: 200;
  line-height: .95;
  letter-spacing: .04em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block: clamp(24px, 6vh, 64px);
  padding: 0;
  list-style: none;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: center;
  gap: 8px 16px;
  min-height: clamp(150px, 25vh, 250px);
  height: 100%;
  padding: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: inherit;
  text-decoration: none;
}

.card:hover { border-color: var(--muted); }

.card:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

.card h2 {
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .08em;
}

.arrow {
  color: var(--gold-ink);
  font-size: 24px;
  line-height: 1;
}

.card p {
  grid-column: 1 / -1;
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 96px; }
}
