:root {
  --ink: #17201d;
  --green: #2e7d71;
  --green-dark: #276a60;
  --bg: #f4f5f0;
  --line: #dfe3db;
  --muted: #69746f;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
.container { width: min(900px, calc(100% - 48px)); margin-inline: auto; }
.wide-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 7px; color: white; background: var(--green); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(217, 222, 214, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 18px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.logo svg { width: 27px; height: 27px; display: block; }
.header-links { display: flex; align-items: center; gap: 21px; }
.header-links a { color: #53605a; font-size: 13px; font-weight: 700; text-decoration: none; }
.header-links a:hover { color: var(--green); }
.header-links .button { padding: 10px 15px; border: 1px solid var(--green); border-radius: 8px; color: white; background: var(--green); }
.header-links .button:hover { color: white; background: var(--green-dark); }

main { padding: 78px 0 96px; }
.document { padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 18px 50px rgba(31, 52, 42, .07); }
.document h1 { margin: 0; font-size: clamp(38px, 6vw, 56px); font-weight: 730; letter-spacing: -.055em; line-height: 1.02; }
.updated { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.document hr { height: 1px; margin: 35px 0 0; border: 0; background: var(--line); }
.document h2 { margin: 46px 0 13px; padding-top: 3px; font-size: 23px; letter-spacing: -.035em; line-height: 1.25; }
.document h3 { margin: 31px 0 10px; font-size: 17px; line-height: 1.35; }
.document p, .document li { color: #53605a; font-size: 14px; line-height: 1.75; }
.document p { margin: 0 0 15px; }
.document ul { margin: 11px 0 19px; padding-left: 23px; }
.document li + li { margin-top: 7px; }
.document strong { color: var(--ink); }
.document a { font-weight: 700; text-underline-offset: 3px; }

footer { padding: 34px 0 38px; border-top: 1px solid var(--line); background: white; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-main p { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.footer-actions { display: flex; align-items: flex-start; gap: 38px; }
.footer-contact { text-align: left; }
.footer-contact > span { display: block; color: #7a8580; font-size: 9px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.footer-contact > a { display: inline-block; margin-top: 10px; color: var(--green); font-size: 16px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-decoration: none; }
.footer-contact > a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; }
.footer-legal span { margin-bottom: 4px; color: #7a8580; font-size: 9px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.footer-legal a { color: #74807a; font-size: 10px; font-weight: 650; line-height: 1.35; text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(46, 125, 113, .25); outline-offset: 3px; }

@media (max-width: 680px) {
  .container, .wide-container { width: min(100% - 32px, 900px); }
  .header-links > a:not(.button) { display: none; }
  main { padding: 40px 0 64px; }
  .document { padding: 28px 22px; border-radius: 12px; }
  .document h2 { margin-top: 37px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-actions { width: 100%; justify-content: space-between; gap: 18px; }
}
