*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3eee4;
  color: #1c1915;
  font-family: Outfit, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #1c1915;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.wordmark {
  display: block;
  color: inherit;
  font-family: Fraunces, Georgia, serif;
  font-size: 56px;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-title,
.result-title {
  margin: 22px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 40px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede,
.note,
.trust {
  max-width: 48ch;
  line-height: 1.45;
}

.lede {
  margin: 10px 0 0;
  font-size: 18px;
}

.field-label {
  display: block;
  margin: 22px 0 0;
  font-size: 13px;
}

.lookup-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.lookup-row input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #1c1915;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  padding: 12px 18px;
  font-size: 18px;
}

.go {
  border-radius: 999px;
  background: #1c1915;
  color: #f3eee4;
  padding: 12px 18px;
}

.trust {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.trust li + li {
  margin-top: 4px;
}

.card {
  margin-top: 22px;
  padding: 18px 18px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
}

.card .result-title,
.card .kicker {
  margin-top: 0;
}

.kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.facts div {
  margin: 0;
}

.facts dt {
  font-size: 13px;
  opacity: 0.65;
}

.facts dd {
  margin: 2px 0 0;
  font-size: 18px;
}

.dial {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dial li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(28, 25, 21, 0.14);
  line-height: 1.35;
}

.dial li:last-child {
  border-bottom: 1px solid rgba(28, 25, 21, 0.14);
}

.dial span {
  opacity: 0.7;
}

.dial strong {
  text-align: right;
  font-weight: 560;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chips a {
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}

h2 {
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.abc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 16px;
}

.abc a {
  text-decoration: none;
  font-size: 16px;
}

.abc a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.index {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.index a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(28, 25, 21, 0.12);
  text-decoration: none;
  line-height: 1.3;
}

.index small {
  color: rgba(28, 25, 21, 0.7);
  text-align: right;
}

table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid rgba(28, 25, 21, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.65;
}

td a {
  font-weight: 600;
}

.num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.code-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 12px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 36px;
  letter-spacing: -0.03em;
}

.code-line a {
  text-decoration: none;
}

.code-line span {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 16px;
  opacity: 0.6;
}

.note {
  margin: 14px 0 0;
  font-size: 14px;
}

.colophon {
  margin-top: 36px;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.75;
}

.letter-block h2 {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .wrap {
    width: min(760px, calc(100% - 32px));
    padding: 28px 0 48px;
  }

  .wordmark {
    font-size: 34px;
  }

  .page-title,
  .result-title,
  .code-line {
    font-size: 32px;
  }

  .lookup-row {
    flex-direction: column;
  }

  .go {
    min-height: 48px;
  }

  .facts,
  .dial li,
  .index a {
    grid-template-columns: 1fr;
    display: grid;
  }

  .dial strong,
  .index small {
    text-align: left;
  }
}
