:root {
  color-scheme: light dark;
  --ink: #302b27;
  --muted: #5f564f;
  --teal: #995036;
  --teal-dark: #7b3e2a;
  --line: #d8cec3;
  --wash: #f2ece4;
  --white: #fffcf8;
  --page: #f7f4ee;
  --hero: linear-gradient(145deg, #f3dccf, #f7f4ee 65%, #fffcf8);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5efe8;
    --muted: #d0c4b8;
    --teal: #e7a083;
    --teal-dark: #f5b99d;
    --line: #5a5048;
    --wash: #312c27;
    --white: #27231f;
    --page: #1d1b19;
    --hero: linear-gradient(145deg, #633c2f, #27231f 65%, #1d1b19);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
}
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-dark); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 3px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; background: var(--white); padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.8rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-size: 1.05rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .7rem; background: var(--teal); color: var(--white); font-size: 1.3rem; line-height: 1; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.25rem; }
.site-nav a { color: var(--muted); font-size: .94rem; font-weight: 600; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-underline-offset: .35rem; }
.site-nav a:hover { color: var(--teal); }
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0; background: var(--hero); }
.hero-inner { max-width: 47rem; }
.eyebrow { margin: 0 0 .9rem; color: var(--teal); font-size: .88rem; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { line-height: 1.4; letter-spacing: .015em; }
h1 { margin: 0 0 1.3rem; font-size: clamp(2.15rem, 5vw, 3.9rem); }
h2 { margin: 0 0 1.1rem; font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
p { margin: 0 0 1.1rem; }
.lead { color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1.2rem; border: 1px solid var(--teal); border-radius: .55rem; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--teal); color: #ffffff; }
.button-primary:hover { background: var(--teal-dark); color: #ffffff; }
@media (prefers-color-scheme: dark) {
  .button-primary, .button-primary:hover { color: #382118; }
}
.button-secondary { background: var(--white); color: var(--teal); }
.section { padding: 4rem 0; }
.section-tint { background: var(--wash); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.card p { color: var(--muted); }
.card a { font-weight: 700; }
.list-check { display: grid; gap: .7rem; padding-left: 1.5rem; }
.list-check li { padding-left: .3rem; }
.page-heading { padding: 3.3rem 0 2rem; background: var(--wash); }
.page-heading h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .65rem; }
.page-heading p { color: var(--muted); margin-bottom: 0; }
.article { width: min(100% - 2.5rem, 48rem); margin: 0 auto; padding: 2.7rem 0 4rem; }
.article section { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.article section:last-child { border-bottom: 0; }
.article h2 { font-size: 1.4rem; margin-bottom: .7rem; }
.article ul { padding-left: 1.45rem; }
.article li { margin: .35rem 0; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--teal); border-radius: .25rem; background: var(--wash); }
.contact { overflow-wrap: anywhere; font-weight: 700; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.2rem; }
.footer-row p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
@media (max-width: 640px) {
  .header-row { align-items: flex-start; flex-direction: column; justify-content: center; padding: .9rem 0; }
  .site-nav { gap: .4rem 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
