:root {
  color-scheme: light;
  --ink: #1b2d25;
  --muted: #46564c;
  --cream: #f8f7f1;
  --white: #fffefa;
  --forest: #173d31;
  --mint: #d7e8d6;
  --line: #d7ded3;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #926526; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.06; }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.55rem); }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 2; background: white; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; text-decoration: none; }
.logo { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--forest); color: #fff; font: 1.35rem Georgia, serif; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .2rem 1.55rem; }
.site-header nav a { font-size: .9rem; font-weight: 650; text-decoration: none; padding: .35rem 0; }
.site-header nav a:hover { text-decoration: underline; }
.hero { background: #eaf0e4; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3.2rem, 7vw, 6.25rem); }
.eyebrow { font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; }
h1 { font-size: clamp(3rem, 7.5vw, 6.65rem); margin: .65rem 0 1.1rem; }
.lede { max-width: 34rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: .72rem 1.15rem; background: var(--forest); color: white; border-radius: .45rem; text-decoration: none; font-size: .94rem; font-weight: 700; }
.hero .button { margin-top: 1.5rem; }
.button:hover { background: #275846; }
.example { padding: clamp(1.4rem, 3.6vw, 2.7rem); background: var(--forest); color: #fff; border-radius: 1rem; }
.example .eyebrow, .example-note { color: #d1e3d4; }
.example-rate, .example-total { font: clamp(2.25rem, 4.7vw, 4.25rem)/1.12 Georgia, serif; letter-spacing: -.05em; }
.example-rate { margin-top: 1.4rem; }
.example-rate span, .example-total span { font: .96rem/1.4 "DM Sans", "Segoe UI", sans-serif; letter-spacing: 0; display: inline-block; }
.example-total { color: #e2eab0; }
.track { display: grid; grid-template-columns: repeat(12,1fr); gap: .28rem; margin-block: 1.15rem; }
.track span { height: .45rem; border-radius: 1rem; background: #dbe7ad; }
.track span:nth-child(-n+4) { opacity: .45; }
.track span:nth-child(n+5):nth-child(-n+8) { opacity: .72; }
.example-note { font-size: .86rem; margin-top: .8rem; }
.topics { padding-block: 3.7rem; }
.topic-nav { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3,1fr); gap: .85rem; }
.topic-nav > div { background: var(--white); border: 1px solid var(--line); border-radius: .7rem; padding: .95rem 1.15rem; }
.topic-nav h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem; }
.topic-nav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .48rem 0; text-decoration: none; font-weight: 650; }
.topic-nav a + a { border-top: 1px solid var(--line); }
.topic-nav a:hover { text-decoration: underline; }
.topic-section { display: grid; grid-template-columns: minmax(13rem, .77fr) minmax(0, 1.8fr); gap: clamp(1.4rem, 6vw, 5.5rem); padding-block: 2.6rem 3.5rem; border-top: 1px solid var(--line); }
.section-intro p { color: var(--muted); margin-top: .65rem; max-width: 25rem; }
.cards { display: grid; gap: .85rem; }
article { padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--white); border: 1px solid var(--line); border-radius: .75rem; }
article:target { border-color: #597c67; box-shadow: inset .25rem 0 #597c67; }
[id] { scroll-margin-top: 1rem; }
article h3 { font-size: 1.27rem; line-height: 1.25; margin-bottom: .4rem; }
article p, article li { color: var(--muted); }
article ol { padding-left: 1.35rem; margin: .8rem 0; }
article li { padding-left: .25rem; margin: .35rem 0; }
article li::marker { color: var(--forest); font-weight: 750; }
.links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .91rem; font-weight: 650; }
.links a { padding-block: .2rem; }
.help { padding: clamp(1.3rem, 3vw, 2rem); border-radius: .75rem; background: var(--mint); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.help h2 { font-size: 2.25rem; margin-bottom: .3rem; }
.footer { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: .65rem 1.5rem; padding-block: 1.65rem 2rem; color: var(--muted); font-size: .86rem; }
.footer a { font-weight: 650; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { padding-block: .7rem; }
  .site-header nav { gap: .2rem 1rem; }
  .hero-inner, .topic-section { grid-template-columns: 1fr; }
  .topic-nav { grid-template-columns: 1fr; }
  .topics { padding-block: 2.5rem; }
  .topic-section { padding-block: 2rem; }
}

.site-header { position: sticky; top: 0; z-index: 1; background: var(--cream); }
[id] { scroll-margin-top: 5.5rem; }
body#top { scroll-margin-top: 0; }
.skip { position: fixed; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.topic-nav a { min-height: 44px; }
.topic-nav a span { color: #426b54; font-size: 1.25rem; line-height: 1; }
.starter { padding-bottom: 3rem; }
.starter-inner { background: #eaf0e4; border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1.25rem, 3vw, 2rem); }
.starter h2 { font-size: clamp(1.9rem, 3.8vw, 2.65rem); }
.starter-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.starter-list li { display: grid; align-content: start; gap: .25rem; padding: .8rem 1rem; background: var(--white); border-radius: .55rem; }
.starter-list a { width: fit-content; font-size: .94rem; }
.help-extra { margin-top: .65rem; }
@media (max-width: 720px) {
  [id] { scroll-margin-top: 7.5rem; }
  .header-inner { padding-block: .4rem; }
  .starter-list { grid-template-columns: 1fr; gap: .55rem; }
  .starter { padding-bottom: 2rem; }
}
