:root {
  color-scheme: light dark;
  --ink: #1c1c1e;
  --muted: #626267;
  --accent: #07b7ae;
  --line: rgba(28, 28, 30, .08);
  --paper: #fff;
  --surface: #f5f5f7;
  --selected: rgba(7, 183, 174, .18);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
button { font: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 1rem; top: .5rem; padding: .5rem 1rem; background: var(--paper); z-index: 2; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 728px; margin: auto; padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .625rem; min-height: 44px; flex-shrink: 0; white-space: nowrap; text-decoration: none; font-size: 1.0625rem; font-weight: 600; }
.brand img { border-radius: 8px; width: 32px; height: 32px; }
.site-header nav { display: flex; gap: .25rem 1rem; flex-wrap: wrap; margin-left: auto; }
.site-header nav a { display: flex; align-items: center; min-height: 44px; font-size: .8125rem; line-height: 1.45; text-decoration: none; hyphens: auto; }
.site-header a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.page { max-width: 728px; padding: 2rem 1.5rem 2.5rem; margin: auto; }
h1 { font-size: 1.75rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 1rem; overflow-wrap: anywhere; hyphens: auto; }
.intro { margin: 0 0 1rem; }
.metadata { display: flex; gap: .25rem 1rem; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); align-items: center; }
.metadata button { min-height: 44px; border: 0; color: var(--ink); background: transparent; padding: .5rem 0; font-weight: 600; cursor: pointer; }
.contents { margin: 1rem 0 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: .9375rem; padding: .625rem 0; min-height: 44px; }
.contents ol { margin: 0; padding: 0 0 .75rem 1.5rem; columns: 2; column-gap: 2rem; font-size: .875rem; }
.contents li { padding-right: .75rem; break-inside: avoid; }
.contents a { display: inline-block; padding: .5rem 0; min-height: 44px; line-height: 1.5; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
main { min-width: 0; }
main section { margin: 0 0 2rem; }
main h2 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; margin: 0 0 .75rem; overflow-wrap: anywhere; }
.section-number { color: var(--muted); }
main p { margin: 0 0 1rem; }
.key-points { background: var(--surface); border-radius: 20px; padding: 1.25rem; }
.key-points h2 { margin-bottom: .625rem; }
.key-points ul, .provider-links { padding-left: 1.25rem; margin: 0; }
.key-points li { padding-bottom: .625rem; }
.key-points li:last-child { padding-bottom: 0; }
.provider-links li { margin-bottom: .5rem; }
.back-top { display: inline-block; min-height: 44px; padding: .5rem 0; font-size: .9375rem; font-weight: 600; }
footer { max-width: 728px; margin: auto; border-top: 1px solid var(--line); padding: 1rem 1.5rem 1.5rem; font-size: .8125rem; color: var(--muted); }
.footer-links { display: flex; gap: 0 1rem; align-items: center; flex-wrap: wrap; }
.footer-links span { font-weight: 600; margin-right: auto; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.language-picker { width: fit-content; max-width: 100%; margin-top: .5rem; }
.language-picker summary { font-size: .875rem; font-weight: 400; color: var(--ink); }
.language-picker summary span { font-weight: 600; }
.languages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 288px; max-width: 100%; gap: .25rem; padding: .5rem; margin-top: .25rem; border-radius: 20px; background: var(--surface); }
.languages a { display: flex; align-items: center; min-height: 44px; padding: .5rem .75rem; text-decoration: none; border-radius: 12px; font-size: .875rem; line-height: 1.45; }
.languages a[aria-current] { color: var(--ink); background: var(--selected); font-weight: 600; }
.languages a:hover { text-decoration: underline; }
.auto-language { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .header-inner { gap: .25rem; }
  .site-header nav { width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .125rem 1rem; }
  .page { padding-top: 1.5rem; }
  h1 { font-size: 1.5rem; }
  .contents ol { columns: 1; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f2f7; --muted: #b1b1b8; --line: rgba(242, 242, 247, .08); --paper: #1c1c1e; --surface: #2c2c2e; --selected: rgba(7, 183, 174, .35); }
}
@media print {
  @page { margin: 18mm; }
  body { font-size: 10pt; color: #111; background: #fff; line-height: 1.5; }
  .site-header, .contents, button, .skip, .back-top, footer { display: none !important; }
  .page { max-width: none; padding: 0; }
  h1 { font-size: 20pt; }
  main h2 { font-size: 12pt; break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  .key-points { background: transparent; border: 1px solid #aaa; border-radius: 0; }
  a { color: #111; }
  .metadata { color: #333; margin-bottom: 1.5rem; }
}
