:root {
  color-scheme: light dark;
  font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f8f7f3;
  color: #222320;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #155b92; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 63px;
  padding: 15px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid #dfded8;
}
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25em; }

main {
  width: min(100%, 48rem);
  min-height: calc(100svh - 63px);
  margin: 0 auto;
  padding: clamp(5rem, 14svh, 8rem) clamp(20px, 4vw, 52px) 6rem;
}
h1 {
  margin: 0;
  font: 650 clamp(2.3rem, 6vw, 4rem)/1.08 system-ui, sans-serif;
  letter-spacing: -0.055em;
}
.lede {
  max-width: 59ch;
  margin: 2rem 0 0;
  color: #444640;
  line-height: 1.7;
}
.resource-index-label { margin: 1.75rem 0 0; font-weight: 700; }
.resource-index {
  margin: 0.45rem 0 0;
  color: #444640;
  line-height: 1.85;
}
section {
  margin-top: 3.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dfded8;
}
h2 { margin: 0 0 1.1rem; font-size: 1rem; }
p { line-height: 1.7; }
.small { color: #696b64; font-size: 0.88rem; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
}
.link-list li + li { border-top: 1px solid #e8e6df; }
.link-list span { color: #696b64; text-align: right; font-size: 0.88rem; }
pre {
  margin: 1rem 0 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid #d9d8d2;
  background: #fffefa;
  font: inherit;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.price-rows { margin-top: 1rem; border-top: 1px solid #dfded8; }
.price-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 1fr) minmax(8rem, 1.4fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid #dfded8;
}
.price-row span:nth-child(2) { color: #444640; }
.price-row strong:last-child { text-align: right; }
.pricing-offer .price-rows,
.pricing-offer > .small,
.pricing-detail-link { margin-left: clamp(0.75rem, 2vw, 1.25rem); }
.pricing-offer .price-row {
  grid-template-columns: minmax(8rem, 1.2fr) minmax(6.6rem, 1fr) auto;
}
.foot-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid #dfded8;
}

@media (max-width: 480px) {
  .site-nav { gap: 1rem; }
  .link-list li { display: block; }
  .link-list span { display: block; text-align: left; margin-top: 0.15rem; }
  .price-row { grid-template-columns: minmax(4.8rem, 1fr) minmax(7rem, 1.4fr) auto; gap: 0.4rem; font-size: 0.88rem; }
}

@media (prefers-color-scheme: dark) {
  :root { background: #191a18; color: #ecece7; }
  .site-header, section, .price-rows, .price-row, .foot-link { border-color: #383a35; }
  .link-list li + li { border-color: #30322e; }
  .lede, .resource-index, .price-row span:nth-child(2) { color: #c4c6be; }
  .small, .link-list span { color: #a0a39a; }
  pre { border-color: #383a35; background: #20211f; }
  a { color: #9bc9ed; }
}
