@font-face { font-family: 'Instrument Serif'; src: url('fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/InstrumentSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/InstrumentSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root { color-scheme: light; --ink: #17153B; --ink-2: #221F52; --cream: #F7F1E6; --mist: #CFCBEA; --mint: #6FE0BF; --paper: #FDFCF9; --soft: #46436B; --rule: #E4E0D6; --link: #0B6350; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 'Instrument Sans', system-ui, sans-serif; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
a { color: var(--link); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.top a:focus-visible, .hero a:focus-visible { outline-color: var(--mint); }
h1, h2 { font-weight: 400; font-family: 'Instrument Serif', Georgia, serif; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -.01em; }
h2 { font-size: 2rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 2; }
.skip:focus { left: 8px; }
.top, .hero { background: var(--ink); color: var(--cream); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.35rem; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--mist); text-decoration: none; border-radius: 8px; }
.top nav a:hover { color: var(--cream); background: var(--ink-2); }
.top nav a[aria-current] { color: var(--cream); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; }

.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 88px; }
.pitch p { margin-top: 22px; color: var(--mist); max-width: 34em; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 700; text-decoration: none; }
.button:hover { background: #8AEACF; }
.hero .button:focus-visible { outline-color: var(--cream); }
.ledger { width: 100%; border-collapse: collapse; background: var(--paper); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 32px 70px -24px rgba(0, 0, 0, .55); }
.ledger caption { caption-side: top; text-align: left; color: var(--cream); font: 400 1.5rem/1.2 'Instrument Serif', Georgia, serif; padding: 0 0 14px 4px; }
.ledger th, .ledger td { padding: 16px 22px; border-bottom: 1px solid var(--rule); vertical-align: middle; text-align: left; }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 0; }
.ledger th { font-weight: 700; line-height: 1.35; }
.ledger th span { display: block; font-weight: 400; font-size: .9rem; color: var(--soft); }
.ledger td { width: 44%; font-size: .95rem; line-height: 1.35; border-left: 1px solid var(--rule); }
.ledger td svg { vertical-align: middle; margin-right: 12px; color: var(--link); float: left; }
.ledger tr.none { background: var(--cream); }
.ledger tr.none td svg { color: var(--ink); }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.care { padding: 80px 0 24px; }
.care dl { margin: 32px 0; border-top: 1px solid var(--rule); }
.care dl div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 56px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.care dt { font-weight: 700; }
.care dd { color: var(--soft); max-width: 36em; }
.help { padding: 40px 0 80px; }
.help p { margin-top: 12px; max-width: 36em; }

.columns { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: 'contents title' 'contents text'; grid-template-rows: auto 1fr; column-gap: 64px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.title { grid-area: title; }
.contents { grid-area: contents; position: sticky; top: 24px; font-size: .95rem; }
.contents h2 { font: 700 1rem/1.4 'Instrument Sans', system-ui, sans-serif; margin-bottom: 8px; }
.contents ol { list-style: none; }
.contents a { display: block; padding: 5px 0; color: var(--soft); text-decoration: none; }
.contents a:hover { color: var(--ink); text-decoration: underline; }
article { grid-area: text; max-width: 68ch; overflow-wrap: break-word; }
.title h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.version { margin-top: 10px; color: var(--soft); font-size: .95rem; }
.lead { margin-top: 24px; font-size: 1.2rem; line-height: 1.55; }
article section { margin-top: 40px; scroll-margin-top: 24px; }
article h2 { font-size: 1.75rem; margin-bottom: 10px; }
article p + p, article p + ul { margin-top: 12px; }
article ul { padding-left: 22px; }
article li + li { margin-top: 8px; }

.foot { background: var(--cream); padding: 40px 0 48px; font-size: .95rem; color: var(--soft); }
.foot p + p { margin-top: 12px; }
.foot p { max-width: 78ch; }
.foot .notice { color: var(--ink); font-size: 1.0625rem; }
.foot .fine { font-size: .8125rem; line-height: 1.6; }
.foot a { display: inline-block; margin-right: 18px; padding: 4px 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 56px; }
  .columns { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'contents' 'text'; grid-template-rows: auto; row-gap: 24px; padding-top: 32px; }
  .contents { position: static; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 16px 0; }
  .care { padding-top: 56px; }
  .care dl div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .ledger th, .ledger td { padding: 14px; }
  .ledger td { width: 42%; font-size: .85rem; }
  .ledger td svg { float: none; display: block; margin: 0 0 4px; }
}
@media print { .top, .contents, .skip { display: none; } .columns { display: block; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
