:root {
  color-scheme: light;
  --ink: #122019;
  --muted: #5f6d62;
  --green: #075f3f;
  --green-2: #0a7c51;
  --lime: #d9f48b;
  --cream: #f4efe3;
  --paper: #fffdf8;
  --line: #ddd6c8;
  --soft-green: #e7f2d0;
  --shadow: 0 22px 60px rgba(18, 32, 25, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 4% 4%, rgba(217, 244, 139, 0.72) 0, rgba(217, 244, 139, 0) 24rem),
    radial-gradient(circle at 96% 1%, rgba(7, 95, 63, 0.14) 0, rgba(7, 95, 63, 0) 24rem),
    var(--cream);
  color: var(--ink);
}

a { color: var(--green); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; border-radius: 10px; background: white; font-weight: 800; }
.skip-link:focus { left: 8px; }
.page { width: min(100% - 40px, 1180px); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 900; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
.brand span { display: grid; gap: 1px; }
.brand small { color: var(--muted); font-size: 11px; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 6px; }
.site-header nav a { border-radius: 999px; padding: 10px 12px; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: rgba(255, 253, 248, 0.84); color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  overflow: hidden;
  margin: 22px 0 28px;
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  background: var(--green);
  box-shadow: var(--shadow);
  color: white;
}

.eyebrow, .contents-label { margin: 0 0 13px; color: var(--lime); font-size: 12px; font-weight: 950; letter-spacing: 0.11em; text-transform: uppercase; }
h1 { margin: 0 0 17px; font-size: clamp(42px, 7vw, 76px); letter-spacing: -0.065em; line-height: 0.98; }
.hero-copy { max-width: 680px; margin: 0 0 25px; color: rgba(255, 255, 255, 0.84); font-size: 17px; font-weight: 620; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 13px; padding: 0 17px; background: var(--lime); color: var(--green); font-size: 14px; font-weight: 900; text-decoration: none; }
.button:hover { background: white; }
.button-quiet { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.1); color: white; }
.button-quiet:hover { background: rgba(255, 255, 255, 0.18); }
.policy-meta { display: grid; gap: 13px; margin: 0; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 19px; background: rgba(255, 255, 255, 0.09); }
.policy-meta div { display: grid; gap: 3px; }
.policy-meta dt { color: var(--lime); font-size: 10px; font-weight: 950; letter-spacing: 0.1em; text-transform: uppercase; }
.policy-meta dd { margin: 0; font-size: 13px; font-weight: 760; line-height: 1.4; }
.policy-meta a { color: white; overflow-wrap: anywhere; }

.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.contents { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 253, 248, 0.92); box-shadow: 0 12px 30px rgba(18, 32, 25, 0.06); }
.contents-label { color: var(--green); }
#TOC ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
#TOC li ul { display: none; }
#TOC a { display: block; border-radius: 8px; padding: 6px 8px; color: var(--muted); font-size: 12px; font-weight: 720; line-height: 1.35; text-decoration: none; }
#TOC a:hover { background: var(--soft-green); color: var(--green); }
.contents-help { display: grid; gap: 5px; margin-top: 18px; padding: 14px; border-radius: 13px; background: var(--green); color: white; font-size: 12px; }
.contents-help a { color: var(--lime); font-weight: 850; }

.policy-document { min-width: 0; padding: clamp(24px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 16px 38px rgba(18, 32, 25, 0.07); }
.policy-document > p:first-child { margin: 0 0 6px; color: var(--green); font-size: 12px; font-weight: 950; letter-spacing: 0.1em; text-transform: uppercase; }
.policy-document h1 { margin: 58px 0 18px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--green); font-size: clamp(27px, 3.3vw, 38px); letter-spacing: -0.04em; line-height: 1.14; }
.policy-document h1:first-of-type { margin-top: 34px; }
.policy-document h2 { margin: 30px 0 10px; color: var(--ink); font-size: 20px; letter-spacing: -0.025em; line-height: 1.3; }
.policy-document p, .policy-document li { color: #35443a; font-size: 15px; line-height: 1.72; }
.policy-document p { margin: 0 0 16px; }
.policy-document ul { display: grid; gap: 7px; padding-left: 22px; }
.policy-document li p { margin: 0; }
.policy-document strong { color: var(--ink); }
.policy-notice { padding: 20px; margin-bottom: 30px; border: 1px solid #b6c98e; border-radius: 16px; background: #edf4df; }
.policy-notice h1:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-document a, .policy-document td { overflow-wrap: anywhere; }
.policy-document table { width: 100%; margin: 24px 0 30px; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; font-size: 13px; }
.policy-document th, .policy-document td { padding: 11px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; line-height: 1.45; }
.policy-document th:last-child, .policy-document td:last-child { border-right: 0; }
.policy-document tr:last-child td { border-bottom: 0; }
.policy-document th { background: var(--green); color: white; font-size: 12px; }
.policy-document th strong { color: inherit; }
.policy-document tbody tr:nth-child(even) { background: #f7f4eb; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 50px; padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 650; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }

@media (max-width: 860px) {
  .page { width: min(100% - 28px, 1180px); }
  .hero, .policy-layout { grid-template-columns: 1fr; }
  .contents { position: static; max-height: none; }
  #TOC ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero { padding: 30px 23px; border-radius: 22px; }
  .button { width: 100%; }
  #TOC ul { grid-template-columns: 1fr; }
  .policy-document { padding: 23px 18px; border-radius: 20px; }
  .policy-document table { display: block; overflow-x: auto; white-space: normal; }
}

@media print {
  body { background: white; }
  .site-header, .contents, .hero-actions, .site-footer { display: none; }
  .page { width: 100%; }
  .hero { display: block; margin: 0 0 24px; padding: 28px; border-radius: 0; box-shadow: none; }
  .policy-layout { display: block; }
  .policy-document { border: 0; box-shadow: none; }
}
