:root {
  --green: #16a34a;
  --green-deep: #15803d;
  --green-soft: #f0fdf4;
  --bg: #f8f9fb;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.wrap,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img { height: 56px; width: auto; display: block; }

.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-links a {
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-links a:hover,
.header-links a[aria-current="page"] { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { background: var(--green-deep); }

.page { padding: 36px 0 72px; }

.layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.toc p {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
}

.toc a:hover { color: var(--green); }

.sheet {
  padding: 36px 36px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.updated {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
}

.lead,
.sheet p,
.sheet li { color: #374151; }

.lead { margin-top: 0; font-size: 17px; }

.sheet h2 {
  margin: 32px 0 10px;
  padding-top: 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.sheet h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.sheet ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.sheet li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 18px;
}

.sheet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.contact {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: var(--green-soft);
}

.contact p { margin: 4px 0; }

.contact a {
  color: var(--green-deep);
  font-weight: 700;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a { color: #374151; font-weight: 700; text-decoration: none; }

.footer-inner a:hover { color: var(--green); }

.footer-links { display: flex; gap: 16px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .sheet { padding: 24px 18px; }
  .header-links a:not(.btn) { display: none; }
  .footer-inner { flex-direction: column; }
}
