@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');

:root {
  color-scheme: light;
  --sand: #f6f0e5;
  --paper: #fffcf6;
  --ink: #183d3b;
  --text: #3c4f4b;
  --teal: #1c7771;
  --orange: #eba876;
  --line: #d9d2c4;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--sand); color: var(--text); font: 400 17px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 2px; }
.container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { font: 600 28px/1 var(--serif); letter-spacing: -.7px; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--teal); }
.header-link { font-size: 14px; color: var(--ink); text-decoration: none; }
.header-link span { margin-left: 16px; color: var(--teal); }
.header-link:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 328px; align-items: center; gap: 48px; padding-block: 64px 56px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.5px; margin: 0; }
.eyebrow span { margin-inline: 8px; color: #8c6950; }
h1, h2 { color: var(--ink); font-family: var(--serif); font-weight: 400; text-wrap: pretty; }
h1 { font-size: 56px; line-height: 1.08; letter-spacing: -1.6px; margin: 24px 0; }
.hero-art { width: 100%; height: auto; display: block; }
.read-link { display: inline-flex; align-items: center; gap: 28px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.read-link:hover { color: var(--teal); border-color: var(--teal); }
.reading-wrap { border-top: 1px solid var(--line); }
.reading-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 80px; padding-block: 48px 80px; align-items: start; }
.contents { position: sticky; top: 32px; }
.contents ol { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 14px; }
.contents a { display: flex; align-items: baseline; gap: 14px; padding-block: 5px; font-size: 14px; line-height: 1.6; color: var(--ink); text-decoration: none; }
.contents a span { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--teal); }
.contents a:hover { color: var(--teal); text-decoration: underline; }
article { min-width: 0; }
.lead { margin: 0 0 40px; color: var(--ink); font-size: 19px; line-height: 1.75; }
article section + section { margin-top: 40px; }
h2 { margin: 0 0 20px; font-size: 34px; line-height: 1.15; letter-spacing: -.45px; }
article section p { margin: 0 0 20px; }
article section p:last-child { margin-bottom: 0; }
.conclusion { padding: 32px; background: #e6ede5; border-top: 3px solid var(--teal); }
.site-footer { background: var(--ink); color: #dce5dd; }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .wordmark { color: var(--sand); font-weight: 400; }
.site-footer small { font-size: 13px; }
.skip-link { position: absolute; z-index: 10; left: 24px; top: 12px; padding: 10px 16px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--orange); color: var(--ink); }
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  h1 { font-size: 48px; }
  .reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; }
  .hero { display: block; padding-block: 40px; }
  .hero-art { display: none; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .8px; }
  .hero .eyebrow span { margin-inline: 4px; }
  h1 { font-size: 40px; letter-spacing: -.8px; }
  .desktop-break { display: none; }
  .reading-layout { grid-template-columns: 1fr; padding-block: 32px 48px; gap: 40px; }
  .contents { position: static; }
  .contents ol { margin-top: 18px; gap: 8px; }
  .contents a { min-height: 44px; align-items: center; padding-block: 8px; }
  .lead { font-size: 18px; }
  h2 { font-size: 30px; overflow-wrap: anywhere; }
  article section + section { margin-top: 36px; }
  .conclusion { padding: 24px; }
  .footer-inner { min-height: 120px; padding-block: 28px; align-items: flex-start; flex-direction: column; justify-content: space-between; gap: 20px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 36px); }
  h1 { font-size: 36px; }
  .header-link { font-size: 12px; }
  .header-link span { margin-left: 6px; }
  .hero .eyebrow { letter-spacing: .3px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.guide-page h1 { overflow-wrap: anywhere; letter-spacing: 0; }
.guide-article h3 { margin: 28px 0 12px; color: var(--ink); font: 500 24px/1.3 var(--serif); }
.guide-article ol { padding-left: 24px; margin: 0 0 24px; }
.guide-article li + li { margin-top: 12px; }
.article-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); background: var(--paper); }
.article-table-wrap:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.article-table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.article-table-wrap th, .article-table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-table-wrap th { background: #e6ede5; color: var(--ink); font-weight: 600; }
.article-table-wrap tr:last-child td { border-bottom: 0; }
.footer-inner { flex-wrap: wrap; }
.footer-nav { font-size: 14px; }
.footer-nav a { display: inline-block; padding-block: 8px; }
