:root {
  color-scheme: light;
  --paper: #fcfbf7;
  --ink: #182821;
  --muted: #4c5b52;
  --rule: #dedfd5;
  --green: #174436;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .18em; }
input { font: inherit; }
[hidden] { display: none !important; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 1; background: white; padding: .7rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.wordmark { font: 700 clamp(1.4rem, 3vw, 1.85rem)/1 var(--serif); letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.wordmark span, h1 span { color: #43694f; }
.header nav { display: flex; flex-wrap: wrap; gap: clamp(.75rem, 2.5vw, 2.25rem); }
.header nav a { font-weight: 600; text-decoration: none; }
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.outline, .solid { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; width: fit-content; padding: .5rem 1.05rem; border: 1px solid var(--green); border-radius: .25rem; text-decoration: none; font-size: .93rem; font-weight: 650; }
.outline:hover { background: #e5eee7; }
.solid { background: var(--green); color: white; }
.solid:hover { background: #255941; }
.hero { display: grid; grid-template-columns: .95fr 1.15fr; gap: clamp(1.4rem, 5vw, 4.6rem); align-items: center; padding-block: 3rem 2rem; }
.hero-copy { padding-bottom: 1.05rem; }
.eyebrow, .tag { margin: 0 0 .85rem; color: var(--green); font-size: .875rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin: 0; font-size: clamp(3rem, 5.6vw, 5.35rem); line-height: .99; letter-spacing: -.067em; }
h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.08; letter-spacing: -.055em; }
.lede { color: var(--muted); font-size: clamp(1.075rem, 1.75vw, 1.3rem); max-width: 36rem; margin: 1.3rem 0 1.45rem; }
.hero-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #254a41; }
.hero-photo img { display: block; width: 100%; height: clamp(20rem, 36vw, 34rem); object-fit: cover; object-position: 55% 50%; color: white; }
.hero-photo figcaption { position: absolute; bottom: .75rem; right: .75rem; margin: 0; padding: .3rem .6rem; color: white; background: #142924e6; font-size: .875rem; }
.section-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; padding-bottom: 2rem; }
.section-nav a { display: grid; gap: .14rem; padding: 1.05rem; text-decoration: none; border: 1px solid transparent; }
.section-nav a:hover { border-color: var(--green); }
.section-nav strong { font: 600 1.35rem/1.2 var(--serif); }
.section-nav span { color: var(--muted); font-size: .9rem; }
.gold { background: #f3e7c5; }
.mint { background: #e1ede0; }
.lilac { background: #e9e4ee; }
.blue { background: #e0ebef; }
.featured { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: center; border-block: 1px solid var(--rule); padding-block: 2.3rem; }
.featured p:not(.eyebrow) { color: var(--muted); margin: .65rem 0 1.2rem; }
.phrase { min-height: 11rem; display: grid; align-content: center; padding: 1.3rem clamp(1rem, 4.5vw, 3.1rem); background: #e1ede0; border-left: .2rem solid #43694f; }
.phrase .eyebrow { margin-bottom: .4rem; }
.phrase span[lang] { font: 500 clamp(1.95rem, 3.2vw, 2.8rem)/1.14 var(--serif); letter-spacing: -.06em; }
.phrase span:last-child { color: var(--muted); margin-top: .3rem; }
.library { padding-block: 3rem 4rem; }
.library-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.search { display: grid; gap: .25rem; width: min(100%, 24rem); }
.search label { color: var(--muted); font-size: .875rem; }
.search input { min-height: 2.85rem; border: 1px solid #6c7c70; border-radius: .25rem; background: white; padding-inline: .75rem; color: var(--ink); }
.section-title { margin: 1.65rem 0 .65rem; font-size: 1.65rem; letter-spacing: -.03em; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .65rem; }
.guide { min-height: 9rem; padding: 1.1rem; }
.guide .tag { margin: 0 0 .45rem; font-size: .875rem; }
.guide h3 { font-size: 1.34rem; margin: 0; line-height: 1.22; }
.guide h3 a { text-decoration-thickness: 1px; }
.guide p:last-child { color: var(--muted); margin: .55rem 0 0; }
.footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .95rem 1.2rem; min-height: 6rem; padding-block: 1rem; }
.footer-inner > a:not(.wordmark), .footer-inner span:not(.wordmark span) { font-size: .875rem; }
.story { max-width: 51rem; padding-block: 2rem 4rem; }
.breadcrumb { display: inline-block; margin-block: 0 1.4rem; }
.story h1 { font-size: clamp(2.75rem, 7vw, 4.7rem); }
.story article > section { margin-block-start: 2.1rem; }
.story article section h2, .more h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.story article p, .story dl { max-width: 42rem; }
.story dd { margin-left: 0; margin-bottom: .55rem; color: var(--muted); }
.story dt { font-weight: 700; }
.story blockquote { margin: 1rem 0; padding: 1rem; background: #e1ede0; border-left: .2rem solid #43694f; font: 500 1.4rem/1.4 var(--serif); }
.table-scroll { max-width: 100%; overflow-x: auto; }
.price-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; color: var(--muted); margin-bottom: .75rem; }
.price-table th, .price-table td { padding: .65rem .55rem; border-bottom: 1px solid var(--rule); text-align: right; }
.price-table th:first-child { text-align: left; font-weight: 600; }
.price-table thead th { white-space: nowrap; }
.price-table tfoot { font-weight: 700; background: #e1ede0; }
.sources { border-top: 1px solid var(--rule); padding-top: 1.3rem; }
.more { margin-top: 2.2rem; }
.more h2 { margin-bottom: .65rem; }

@media (max-width: 780px) {
  .shell { width: min(100% - 2rem, 76rem); }
  .header-inner { min-height: auto; flex-wrap: wrap; gap: .85rem; padding-block: 1.1rem; }
  .header nav { width: 100%; order: 1; }
  .search-link { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; padding-block: 2.4rem 1.2rem; }
  .hero-copy { padding: 0; }
  .hero-photo img { height: clamp(14rem, 59vw, 24rem); }
  .section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 510px) {
  .featured { grid-template-columns: 1fr; }
  .library-head { align-items: start; flex-direction: column; }
  .search { width: 100%; }
}
