:root {
  --navy: #112f39;
  --deep: #0b2530;
  --teal: #0d6967;
  --paper: #fcf8ed;
  --line: #d7cbb2;
  --cream: #efe6d4;
  --orange: #eb935e;
  --ink: #243a3b;
  --serif: Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.62 system-ui,
    -apple-system,
    sans-serif;
}
a {
  color: #0b6462;
  text-underline-offset: 0.17em;
}
a:hover {
  color: #973f1f;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b95720;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
.brand,
.card-title {
  font-family: var(--serif);
  line-height: 1.1;
  color: var(--navy);
  text-wrap: balance;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.76em;
}
h1 {
  font-size: clamp(2.5rem, 5.7vw, 5.7rem);
  letter-spacing: -0.047em;
  font-weight: 500;
}
h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  letter-spacing: -0.035em;
  font-weight: 500;
}
h3 {
  font-size: 1.35rem;
}
header,
footer {
  background: var(--deep);
  color: #fff6df;
}
.wrap {
  width: min(1230px, calc(100% - 6rem));
  margin-inline: auto;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff2d2;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.brand img {
  width: 46px;
  height: 46px;
}
.top nav,
footer nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.7rem);
}
.top nav a,
footer nav a {
  color: #f9ecd0;
  text-decoration: none;
  font-size: 0.91rem;
}
.top nav a:hover,
footer a:hover {
  color: #ffbc82;
  text-decoration: underline;
}
.top nav a:last-child {
  border: 1px solid #678181;
  padding: 0.36rem 0.76rem;
}
.mobile {
  display: none;
}
.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  background: white;
  padding: 0.6rem;
  z-index: 10;
}
.skip:focus {
  top: 5px;
}
.home-hero {
  background: var(--navy);
  color: #e9eadb;
}
.home-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 478px;
  gap: 2rem;
  align-items: center;
}
.home-copy {
  padding: 3.4rem 0;
}
.home-hero h1 {
  color: #fff0d2;
  margin: 0.2em 0 0.26em;
  max-width: 10em;
}
.home-hero h1 em {
  color: #ffbd84;
  font-weight: 400;
}
.home-hero p {
  max-width: 35em;
  line-height: 1.55;
}
.home-art {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  border-inline: 1px solid #4d655e;
}
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  font-weight: 750;
  color: #516c60;
}
.home-hero .eyebrow {
  color: #e1b57c;
}
.action {
  display: inline-block;
  padding: 0.72rem 1.15rem;
  background: var(--orange);
  color: var(--deep);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 720;
  border-radius: 3px;
  margin-top: 0.55em;
}
.action:hover {
  background: #ffb482;
  color: var(--deep);
}
.home-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.home-links > a:not(.action) {
  color: #fff4dc;
}
.sect {
  padding: 3.55rem 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  margin: 0;
  max-width: 34rem;
}
.feature-grid,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.feature,
.card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fffdf5;
  border: 1px solid var(--line);
  text-decoration: none;
  min-width: 0;
}
.feature:hover,
.card:hover {
  border-color: var(--teal);
  background: #f4eedf;
  color: var(--ink);
}
.feature img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.feature div,
.card {
  padding: 1.09rem 1.25rem;
}
.feature strong,
.card-title {
  display: block;
  font-size: 1.38rem;
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.16;
  margin: 0.15rem 0 0.36rem;
}
.feature span,
.card small {
  display: block;
  font-size: 0.87rem;
  line-height: 1.45;
  color: #465c58;
}
.card .tag {
  color: #6e5738;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  margin-bottom: 0.3rem;
}
.crumbs {
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1.15rem 0;
  color: #566965;
}
.crumbs span[aria-current] {
  overflow-wrap: anywhere;
}
.crumbs a {
  color: #3c635d;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: 1.9rem 0 2.6rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  margin: 0.19em 0 0.29em;
  overflow-wrap: anywhere;
}
.page-hero .lead {
  font-size: clamp(1.02rem, 1.5vw, 1.21rem);
  max-width: 54rem;
  line-height: 1.53;
}
.page-hero img {
  aspect-ratio: 1.7;
  object-fit: cover;
  width: 100%;
  border: 1px solid #b9aa85;
}
.stamp {
  font-size: 0.76rem;
  color: #52645d;
  margin: 0.9rem 0 0;
}
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(185px, 265px);
  gap: clamp(1.6rem, 5vw, 5rem);
  padding: 2.5rem 0 3rem;
}
.body {
  min-width: 0;
}
.body > section,
.body > article {
  margin: 0 0 2.8rem;
  scroll-margin-top: 1rem;
}
.body section p,
.body article p {
  max-width: 77ch;
}
.body article h3 {
  margin-top: 1.5rem;
}
.body h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}
.note {
  border-left: 4px solid #b96538;
  background: #f2e8d4;
  padding: 0.85rem 1rem;
  margin: 1.2rem 0;
}
.note p:last-child,
.box p:last-child {
  margin-bottom: 0;
}
.tablewrap {
  width: 100%;
  overflow: auto;
  margin: 0.8rem 0 1.2rem;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.91rem;
  background: #fdfbf2;
}
th,
td {
  padding: 0.65rem 0.82rem;
  border-bottom: 1px solid #ddd3be;
  vertical-align: top;
  overflow-wrap: anywhere;
}
thead th {
  background: #eae2cd;
  color: var(--navy);
  font-size: 0.82rem;
}
tbody th {
  font-weight: 610;
}
tr:last-child td,
tr:last-child th {
  border-bottom: 0;
}
tr.diff {
  background: #f5ecd9;
}
.aside {
  align-self: start;
  border-top: 3px solid #447970;
  padding: 1rem 0;
  position: sticky;
  top: 1.2rem;
}
.aside h2 {
  font-size: 1.22rem;
}
.aside ul,
.sources {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aside li,
.sources li {
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0;
}
.aside a,
.sources a {
  overflow-wrap: anywhere;
}
.aside a {
  font-size: 0.9rem;
}
.small {
  font-size: 0.85rem;
  color: #52645d;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0.85rem 0 1.2rem;
}
.tile {
  background: #f6efdf;
  padding: 0.9rem;
  min-width: 0;
}
.tile strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.46rem;
  color: var(--navy);
  line-height: 1.2;
}
.tile span {
  display: block;
  font-size: 0.76rem;
  color: #4e6159;
  margin-top: 0.25rem;
}
.linklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.linklist li {
  border-bottom: 1px solid var(--line);
  padding: 0.48rem 0;
}
.linklist a {
  overflow-wrap: anywhere;
}
details summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--teal);
}
.related {
  padding: 2rem 0 2.8rem;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 1.5rem;
}
.related details {
  margin-top: 0.65rem;
}
footer .wrap {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
footer nav {
  flex-wrap: wrap;
}
footer small {
  display: block;
  color: #d4d5bd;
}
.notfound {
  padding: 5rem 0;
  min-height: 55vh;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 3rem);
  }
  .top > nav {
    display: none;
  }
  .mobile {
    display: block;
    position: relative;
  }
  .mobile summary {
    color: #ffeac4;
  }
  .mobile[open] nav {
    display: grid;
    position: absolute;
    z-index: 9;
    right: 0;
    top: 2.1rem;
    padding: 1rem;
    background: var(--deep);
    width: 230px;
    border: 1px solid #69817b;
  }
  .mobile nav a:last-child {
    border: 0;
    padding: 0;
  }
  .home-split {
    gap: 1.4rem;
    min-height: 405px;
  }
  .home-art {
    min-height: 320px;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 0.7rem;
  }
  .article {
    grid-template-columns: minmax(0, 1fr) 165px;
    gap: 1.5rem;
  }
}
@media (max-width: 660px) {
  .wrap {
    width: calc(100% - 2.2rem);
  }
  .top {
    min-height: 62px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .home-split {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 1.1rem;
  }
  .home-copy {
    padding: 2.1rem 0 1.35rem;
    align-self: stretch;
  }
  .home-art {
    min-height: 0;
    height: auto;
    aspect-ratio: 2.05;
    object-position: 50% 45%;
    border: 1px solid #51685e;
  }
  .sect {
    padding: 2.25rem 0;
  }
  .home-hero h1 {
    font-size: clamp(2.9rem, 10.5vw, 4.3rem);
  }
  .page-hero {
    display: block;
    padding: 0.9rem 0 1.5rem;
  }
  .page-hero img {
    display: none;
  }
  .article {
    display: block;
    padding: 1.7rem 0 0.5rem;
  }
  .aside {
    position: static;
    margin: 1.8rem 0;
  }
  .article .body > section {
    margin-bottom: 2rem;
  }
  .linklist {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .feature div {
    padding: 0.75rem;
  }
  .feature strong {
    font-size: 1.18rem;
  }
  .feature span {
    font-size: 0.78rem;
  }
  footer nav {
    gap: 0.65rem 1rem;
  }
  th,
  td {
    padding: 0.55rem 0.5rem;
  }
  .crumbs {
    padding: 0.8rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.feature img,
.page-hero img {
  height: auto;
}
.figure {
  margin: 1rem 0;
}
.figure-row {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(100px, 2fr) auto;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.84rem;
  margin: 0.55rem 0;
}
.figure-track {
  background: #e6dcc7;
  height: 0.7rem;
  border-radius: 3px;
  overflow: hidden;
}
.figure-track span {
  display: block;
  height: 100%;
  background: #366e6a;
}
.figure-row:nth-child(2) .figure-track span {
  background: #b86639;
}
.purchase {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}
.purchase a {
  padding: 0.5rem 0.7rem;
  background: #e7eddf;
  border: 1px solid #aac1ae;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
}
.page-hero:has(.hero-metrics) {
  align-items: start;
}
.hero-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
}
.hero-metrics b,
.hero-metrics small {
  display: block;
}
.hero-metrics small {
  font-size: 0.72rem;
  color: #526459;
}
.hero-metrics b {
  font:
    700 1.25rem Georgia,
    serif;
  color: var(--navy);
}
.stack {
  display: grid;
  gap: 1.3rem;
}
.stack h3 {
  margin: 0.3rem 0;
}
.home-hero p,
.feature strong,
.feature span,
.top a {
  word-break: normal;
}
@media (max-width: 660px) {
  .figure-row {
    grid-template-columns: 105px 1fr auto;
  }
  .hero-metrics {
    gap: 0.6rem 1rem;
  }
  .top nav {
    align-items: stretch;
  }
}
