:root {
  color-scheme: light dark;
  --paper: #f6f2e9;
  --surface: #fffdf8;
  --ink: #192b3a;
  --muted: #53616b;
  --line: #ded7c9;
  --sand: #d7b97f;
  --accent: #795b2b;
  --night: #142331;
  --night-ink: #faf6ed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1.15rem; }
h1, h2, h3 { margin: 0; line-height: 1.22; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 6.1vw, 4.2rem); font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 600; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .5rem; }
.wrap { width: min(100% - 3rem, 66rem); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 5; background: var(--surface); padding: .8rem 1rem; }
.skip:focus { top: .8rem; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 650; letter-spacing: -.03em; min-height: 44px; }
.brand img { width: 28px; height: 28px; }
.brand small { font-size: .72rem; font-weight: 450; color: var(--muted); letter-spacing: .015em; margin-left: .1rem; }
.nav { display: flex; flex-wrap: wrap; gap: .15rem 1.5rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.eyebrow { display: block; font-size: .75rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.7rem; }
.hero { background: var(--night); color: var(--night-ink); border-radius: 2rem; padding: clamp(2rem, 7vw, 5.5rem); margin-block: 1rem 4.5rem; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { max-width: 15ch; }
.hero p { max-width: 35rem; color: #d1d7dc; font-size: clamp(1.1rem, 2vw, 1.25rem); margin-top: 1.65rem; }
.hero .button { color: var(--night); background: var(--sand); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.2rem; border-radius: .9rem; background: var(--ink); color: var(--paper); font-weight: 550; text-decoration: none; }
.button:hover { filter: brightness(1.06); }
.hero .button:focus-visible { outline-color: var(--sand); }
.hero .fine { font-size: .85rem; color: #d1d7dc; margin-block: 1.3rem 0; }
.intro { max-width: 44rem; margin-bottom: 2rem; }
.intro h2 { margin-bottom: 1rem; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 4.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 1.3rem; padding: 1.65rem; }
.card h3 { margin-bottom: .85rem; }
.card p { font-size: .95rem; color: var(--muted); margin: 0; }
.number { display: block; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: 1.6rem; }
.quiet { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-top: 1px solid var(--line); padding-block: 2rem 4rem; }
.quiet h2 { max-width: 16ch; }
.quiet p { color: var(--muted); }
.page-head { padding-block: 3rem 2.5rem; max-width: 50rem; }
.page-head .eyebrow { color: var(--accent); margin-bottom: 1.15rem; }
.page-head h1 { font-size: clamp(1.8rem, 8.5vw, 3.3rem); }
.page-head .lead { font-size: 1.18rem; color: var(--muted); margin-top: 1.4rem; max-width: 40rem; }
.meta { font-size: .85rem; color: var(--muted); }
.article { max-width: 46rem; margin-bottom: 4.5rem; }
.article section { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2.2rem; }
.article h2 { margin-bottom: 1rem; }
.article h3 { margin-block: 1.3rem .6rem; }
.article p, .article li { overflow-wrap: anywhere; }
.notice { padding: 1.4rem 1.65rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 1rem 1rem 0; background: var(--surface); margin-bottom: 2rem; }
.notice p:last-child { margin-bottom: 0; }
.contents { border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem 1.6rem; background: var(--surface); }
.contents h2 { font-size: 1rem; margin: 0 0 .75rem; }
.contents ul { margin-bottom: 0; }
.contents a { display: inline-block; padding-block: .15rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 550; padding-right: 1rem; }
.faq details > div { padding-top: 1rem; color: var(--muted); }
.faq details p:last-child { margin-bottom: 0; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: start; padding-block: 2rem 2.5rem; font-size: .8rem; color: var(--muted); }
.footer p { margin: 0; max-width: 29rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer a { display: inline-block; min-height: 32px; }
@media (prefers-color-scheme: dark) {
  :root { --paper: #101c27; --surface: #172633; --ink: #f5f0e7; --muted: #bbc5cd; --line: #34434e; --accent: #d7b97f; }
  .button { background: var(--sand); color: #142331; }
  .brand img { filter: brightness(1.45); }
  .hero { border: 1px solid var(--line); }
}
@media (max-width: 42rem) {
  .wrap { width: min(100% - 2rem, 66rem); }
  .header { align-items: flex-start; flex-direction: column; gap: .3rem; padding-block: 1.1rem .7rem; }
  .nav { gap: 1rem; }
  .hero { padding: 2.3rem 1.65rem; border-radius: 1.3rem; margin-bottom: 3rem; }
  .grid, .quiet { grid-template-columns: 1fr; }
  .grid { margin-bottom: 3rem; }
  .quiet { gap: 1.2rem; }
  .quiet h2 { max-width: none; }
  .page-head { padding-top: 2rem; }
  .footer { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media print {
  :root { --paper: white; --ink: black; --muted: #333; --line: #ccc; --accent: black; --surface: white; }
  .header, .footer, .contents, .skip { display: none; }
  .wrap { width: 100%; }
  .page-head { padding-top: 0; }
  .article { max-width: none; }
}
