:root {
  color-scheme: light;
  --cream: #f5f0e6;
  --paper: #fbf8f1;
  --ink: #17201d;
  --muted: #6f7772;
  --line: rgba(23, 32, 29, .12);
  --green: #396c5f;
  --green-soft: #dce8e1;
  --shadow: 0 24px 70px rgba(54, 47, 36, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 32, 29, .07);
  background: rgba(245, 240, 230, .86);
  backdrop-filter: blur(24px) saturate(120%);
}
nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 18px; font-weight: 720; letter-spacing: -.025em; }
.brand-mark { width: 34px; height: 34px; overflow: hidden; flex: none; border-radius: 10px; box-shadow: 0 8px 18px rgba(27, 37, 33, .13); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand small { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #5e6762; font-size: 13px; }
.nav-links a, .footer-links a { color: inherit; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"], .footer-links a:hover { color: var(--ink); }
.language-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #59625d;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.language-toggle:hover { background: rgba(23, 32, 29, .06); }
.document-shell { max-width: 880px; padding: 84px 0 110px; }
.document-hero { margin-bottom: 42px; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 14px 0 18px; font-size: clamp(48px, 7vw, 76px); line-height: .98; letter-spacing: -.065em; }
.document-meta { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.document {
  padding: 42px clamp(24px, 5vw, 58px) 54px;
  border: 1px solid rgba(23, 32, 29, .08);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.document[hidden] { display: none; }
.document .summary {
  margin: 0 0 34px;
  padding: 20px 22px;
  border-radius: 18px;
  color: #2d5047;
  background: var(--green-soft);
  font-size: 15px;
  line-height: 1.75;
}
.document h2 {
  margin: 40px 0 12px;
  padding-top: 4px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.document h2:first-of-type { margin-top: 0; }
.document h3 { margin: 24px 0 8px; font-size: 17px; }
.document p, .document li { color: #4f5954; font-size: 15px; line-height: 1.82; }
.document p { margin: 10px 0; }
.document ul { margin: 10px 0; padding-left: 22px; }
.document li + li { margin-top: 7px; }
.document a { color: var(--green); text-underline-offset: 3px; }
.document strong { color: var(--ink); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0 8px; }
.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; }
.support-card h2 { margin: 0 0 8px; padding: 0; font-size: 18px; }
.support-card p { margin: 0; font-size: 14px; }
.support-card a { display: inline-block; margin-top: 12px; font-weight: 700; }
.notice { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
footer { padding: 28px 0 36px; border-top: 1px solid var(--line); color: #747c77; font-size: 12px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 800px) {
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 30px, 520px); }
  nav { height: 62px; }
  .document-shell { padding: 58px 0 82px; }
  .document { padding: 30px 22px 38px; border-radius: 24px; }
  .support-grid { grid-template-columns: 1fr; }
  footer .wrap { align-items: flex-start; flex-direction: column; }
}
