:root {
  color-scheme: light;
  --ink: #183332;
  --muted: #58706d;
  --teal: #067d78;
  --teal-dark: #075a56;
  --paper: #f5f8f6;
  --line: #dce6e1;
  --soft: #e7f2ed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 7rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.7; }
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: var(--teal-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 3px; }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 700; margin: 0 0 1.25rem; }
h2 { font-size: 1.5rem; margin: 0 0 1.1rem; }
::selection { background: #c4e7dc; color: #123f39; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: -80px; padding: 10px 18px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: #f5f8f6f5; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(16px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 23px; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { display: inline-block; width: 32px; height: 32px; position: relative; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 23px; height: 23px; border-radius: 7px; }
.brand-mark::before { top: 0; left: 0; border: 2px solid var(--teal); }
.brand-mark::after { bottom: 0; right: 0; background: var(--teal); border: 2px solid var(--paper); }
.primary-nav { display: flex; gap: 24px; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.eyebrow { color: var(--teal); font-size: 12px; line-height: 1.5; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 22px; }
.page-header { padding-block: 74px 44px; max-width: 810px; }
.page-header .lead { color: var(--muted); font-size: 20px; line-height: 1.7; max-width: 690px; }
.updated { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.home-header { padding-block: 100px 48px; }
.home-header h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.resource-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.resource-card:hover { border-color: var(--teal); color: var(--ink); }
.card-number { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 32px; }
.resource-card h2 { font-size: 30px; }
.resource-card p { color: var(--muted); max-width: 380px; }
.card-action { color: var(--teal); font-size: 15px; font-weight: 650; margin-top: auto; padding-top: 12px; }
.local-note { display: flex; gap: 18px; align-items: baseline; padding: 32px 0; margin: 26px 0 44px; border-bottom: 1px solid var(--line); }
.local-note span { color: var(--teal); font-size: 21px; }
.local-note p { margin: 0; color: var(--muted); }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 70px; padding-bottom: 64px; align-items: start; }
.toc { position: sticky; top: 116px; padding: 20px 0; border-block: 1px solid var(--line); font-size: 14px; }
.toc summary { cursor: pointer; font-weight: 650; color: var(--ink); }
.toc ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.toc a { text-decoration: none; color: var(--muted); display: flex; gap: 12px; line-height: 1.5; }
.toc a:hover { color: var(--teal); }
.toc .section-number { color: var(--teal); font-size: 11px; line-height: 1.9; min-width: 18px; }
.policy-section { border-top: 1px solid var(--line); padding-top: 30px; margin-bottom: 38px; }
.policy-section h2 { scroll-margin-top: 110px; }
.policy-section p { color: #354d49; }
.website-note { background: var(--soft); border-radius: 14px; padding: 26px; margin-top: 40px; }
.website-note h2 { font-size: 21px; }
.website-note p { font-size: 15px; margin-bottom: 0; }
.support-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 64px; }
.contact-panel { padding: 30px; background: #105b53; color: white; border-radius: 18px; position: sticky; top: 116px; }
.contact-panel .eyebrow { color: #bde5d4; margin-bottom: 22px; }
.contact-panel h2 { font-size: 29px; }
.contact-panel p { color: #d7e9e1; font-size: 15px; }
.contact-email { color: white; font-size: 20px; letter-spacing: -.02em; font-weight: 600; overflow-wrap: anywhere; }
.contact-panel a:hover { color: white; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 650; }
.contact-panel .button { color: #105b53; background: white; margin-block: 12px 24px; width: 100%; }
.contact-panel .button:hover { color: #105b53; background: #e9f4ec; }
.contact-panel .button:focus-visible { outline-color: white; }
.contact-panel .small-note { font-size: 13px; margin: 0; }
.faq-heading { margin-bottom: 24px; font-size: 26px; }
.faq { padding: 23px 0; border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; line-height: 1.5; font-weight: 650; padding-right: 30px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--teal); font-size: 22px; font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.support-tip { margin-top: 34px; color: var(--muted); font-size: 15px; }
.support-tip strong { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; padding-block: 10px; }
.footer-links a:hover { color: var(--teal); }
.not-found { min-height: 58vh; }
.not-found .button { background: var(--teal); color: white; }

@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 21px; gap: 9px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 14px; }
  .page-header { padding-block: 48px 28px; }
  .home-header { padding-top: 65px; }
  .page-header .lead { font-size: 18px; }
  .resource-grid, .doc-layout, .support-layout { grid-template-columns: 1fr; }
  .resource-grid { gap: 16px; }
  .resource-card { padding: 26px; }
  .card-number { margin-bottom: 24px; }
  .doc-layout, .support-layout { gap: 32px; }
  .toc, .contact-panel { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .contact-panel { padding: 28px; }
  .local-note { margin-bottom: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-footer { padding-block: 24px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .primary-nav { gap: 12px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-mark::before, .brand-mark::after { width: 20px; height: 20px; }
  .toc ol { grid-template-columns: 1fr; }
}
