:root {
  --ink: #11130f;
  --paper: #f7f6ef;
  --white: #fff;
  --green: #18752c;
  --lime: #b8f1a7;
  --soft-green: #e7f5e2;
  --line: #d8d9d1;
  --muted: #61665d;
  --shell: 1320px;
}

.site-header, .site-footer { position: relative; z-index: 2; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.site-header *, .site-footer * { box-sizing: border-box; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header .shell, .site-footer .shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(17, 19, 15, .12); background: rgba(247, 246, 239, .96); backdrop-filter: blur(18px); }
.nav { display: flex; min-height: 68px; align-items: center; gap: 38px; }
.wordmark { color: var(--ink); font-size: 21px; font-weight: 820; letter-spacing: -.06em; word-spacing: .08em; white-space: nowrap; }
.wordmark span { color: var(--green); }
.nav-links { display: flex; margin-left: auto; align-items: center; gap: 30px; }
.nav-links a, .support-nav summary { color: #4d5249; font-size: 14px; font-weight: 650; }
.nav-links a:hover, .support-nav summary:hover { color: var(--ink); }
.contact-icon { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: var(--white); transition: background .2s, border-color .2s; }
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon:hover { background: var(--soft-green); border-color: #a9c9a0; }
.site-header :focus-visible, .site-footer :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--lime); }
.mobile-nav { display: none; }
.support-nav { position: relative; }
.support-nav summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; list-style: none; }
.support-nav summary::-webkit-details-marker, .mobile-nav > summary::-webkit-details-marker { display: none; }
.support-nav summary::after { content: ''; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.support-nav[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.support-links { position: absolute; top: calc(100% + 4px); right: 0; display: grid; width: 264px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 16px 40px #11130f1a; }
.support-nav:not([open]) > .support-links { display: none; }
.support-links a { padding: 12px; border-radius: 8px; line-height: 1.4; }
.support-links a:hover { background: var(--soft-green); }

.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { display: flex; min-height: 120px; padding-block: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark span { color: var(--lime); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.footer-links a { color: #d5dccf; font-size: 12px; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-inner p { margin: 0; color: #a3ac9e; font-size: 11px; }

.document-page { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.document-copy { width: min(calc(100% - 64px), 920px); margin: 0 auto; padding: 64px 0 96px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.document-copy h1 { margin: 0 0 32px; font-size: clamp(36px, 5vw, 60px); font-weight: 650; letter-spacing: -.055em; line-height: 1.08; }
.document-copy h1 strong { font-weight: inherit; }
.document-copy h2 { margin: 48px 0 20px; font-size: 30px; letter-spacing: -.035em; line-height: 1.2; }
.document-copy h3 { margin: 32px 0 12px; font-size: 22px; letter-spacing: -.025em; line-height: 1.3; }
.document-copy h4 { margin: 24px 0 12px; font-size: 15px; }
.document-copy p { margin: 0 0 20px; }
.document-copy ul { padding-left: 24px; }
.document-copy li + li { margin-top: 8px; }
.document-copy a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.document-copy a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.document-copy img { display: block; width: 100%; height: auto; margin: 28px 0 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

@media (max-width: 1040px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 760px) {
  .site-header .shell, .site-footer .shell { width: calc(100% - 32px); }
  .nav { min-height: 62px; gap: 16px; }
  .nav-links { display: none; }
  .nav .contact-icon { margin-left: auto; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav > summary { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; list-style: none; }
  .mobile-nav > summary i { display: block; width: 20px; height: 1px; background: var(--ink); }
  .mobile-menu { position: absolute; top: 48px; right: 0; display: grid; width: 264px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 92px); overflow-y: auto; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 20px 50px #00000024; }
  .mobile-menu a, .mobile-menu .support-nav > summary { display: flex; padding: 11px 12px; border-radius: 9px; color: #4d5249; font-size: 14px; font-weight: 650; }
  .mobile-menu a:hover, .mobile-menu .support-nav > summary:hover { background: var(--soft-green); }
  .mobile-menu .support-nav > summary { justify-content: space-between; }
  .mobile-menu .support-links { position: static; width: auto; margin-left: 12px; padding: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .mobile-menu .support-links a { font-size: 13px; }
  .footer-inner { min-height: 90px; align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 32px; }
  .document-copy { width: calc(100% - 40px); padding: 40px 0 64px; }
  .document-copy h2 { font-size: 27px; }
}
@media (max-width: 360px) {
  .nav { gap: 8px; }
  .site-header .wordmark { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-icon { transition: none; }
}
