@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fraunces-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --paper: #f5f2eb;
  --paper-2: #ebe6db;
  --ink: #1c2621;
  --muted: #3a4942;
  --line: #ddd5c6;
  --card: #fffcf7;
  --mark: #1e5a40;
  --focus: #17382d;
  --band: #17382d;
  --band-text: #f6f3ec;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header: 4.6rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111513;
    --paper-2: #1a211d;
    --ink: #f1ece3;
    --muted: #c9d3cc;
    --line: #31403a;
    --card: #171e1b;
    --mark: #9dceb4;
    --focus: #f6f3ec;
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

@media (min-width: 720px) {
  body {
    font-size: 1.125rem;
  }
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

h1 {
  font-weight: 600;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin-bottom: 1.15rem;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  margin: 2.75rem 0 1rem;
}

p {
  text-wrap: pretty;
  max-width: 40rem;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--mark);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

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

.skip:focus {
  outline: 2px solid var(--band-text);
  outline-offset: 2px;
}

::selection {
  background: #c9ddd1;
  color: #14241c;
}

.wrap {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--band);
  color: var(--band-text);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  min-height: var(--header);
  padding: 0.4rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mark {
  width: 1.15rem;
  height: 1.15rem;
  fill: var(--mark);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 3.25rem 0 3.75rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 3rem;
    align-items: end;
    padding: 4.75rem 0 5.25rem;
  }
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.band {
  background: var(--paper-2);
  padding: 3.5rem 0;
}

@media (min-width: 720px) {
  .band {
    padding: 4.5rem 0;
  }
}

.section {
  padding: 3.5rem 0 4.25rem;
}

@media (min-width: 720px) {
  .section {
    padding: 4.75rem 0 5.25rem;
  }
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
}

.stack {
  display: grid;
  gap: 1rem;
}

.table-scroll {
  max-width: 48rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(to right, var(--card) 30%, transparent) left / 24px 100% no-repeat local,
    linear-gradient(to left, var(--card) 30%, transparent) right / 24px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(28, 38, 33, 0.16), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(28, 38, 33, 0.16), transparent) right / 12px 100% no-repeat scroll,
    var(--card);
  box-shadow: 0 16px 40px rgba(23, 36, 30, 0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.95rem 1.15rem;
  text-align: right;
  vertical-align: bottom;
  font-variant-numeric: tabular-nums;
}

th {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

thead th {
  background: color-mix(in srgb, var(--paper-2) 72%, var(--card));
  border-bottom: 1px solid var(--line);
}

th:first-child,
th[scope="row"] {
  text-align: left;
}

th[scope="row"] {
  font-weight: 600;
}

tbody th,
tbody td {
  border-top: 1px solid var(--line);
}

.rates-notes {
  margin-top: 1.35rem;
}

.inset {
  border-left: 3px solid var(--mark);
  padding-left: 1rem;
}

ul {
  max-width: 40rem;
  padding: 0;
  list-style: none;
}

li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

li:last-child {
  border-bottom: 1px solid var(--line);
}

.principle {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.reply {
  background: var(--band);
  color: var(--band-text);
  padding: 3.75rem 0 4.25rem;
}

@media (min-width: 720px) {
  .reply {
    padding: 5.25rem 0 5.5rem;
  }
}

.reply h2,
.reply p {
  color: var(--band-text);
}

.reply a {
  text-decoration-color: var(--band-text);
}

.reply :focus-visible {
  outline-color: var(--band-text);
}

.reply-lead {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.03em;
  max-width: 36rem;
}

.reply p + p {
  margin-top: 1.15rem;
}

.closing-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--band-text) 32%, transparent);
}

.site-footer {
  padding: 1.35rem 0 1.75rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--mark);
}

@media (max-width: 640px) {
  th,
  td {
    padding: 0.75rem 0.6rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(100% - 1.75rem, 68rem);
  }

  th,
  td {
    padding: 0.65rem 0.35rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 340px) {
  th,
  td {
    padding-inline: 0.28rem;
  }
}

@media (prefers-color-scheme: dark) {
  ::selection {
    background: #2c5644;
    color: #f6f3ec;
  }

  .table-scroll {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .reply {
    border-block: 1px solid CanvasText;
  }

  .mark {
    fill: CanvasText;
  }

  a {
    text-decoration: underline;
  }
}

@media print {
  .site-header,
  .skip {
    position: static;
  }

  .site-header {
    background: none;
  }

  .reply {
    background: none;
    color: #000;
  }

  .reply h2,
  .reply p {
    color: #000;
  }

  body {
    background: #fff;
    color: #000;
  }
}
