:root {
  --background: #f5f7f4;
  --surface: #ffffff;
  --text: #17221d;
  --muted: #5b6861;
  --border: #dfe7e1;
  --brand: #146c43;
  --brand-dark: #0e4f31;
  --accent: #e6f3eb;
  --shadow: 0 18px 50px rgba(23, 34, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-shell {
  padding: 56px 0 72px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 6px;
}

.summary {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated {
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 54px);
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  background: var(--accent);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
}

.contact-box {
  margin-top: 34px;
  padding: 24px;
  background: #17221d;
  color: #f6fbf8;
  border-radius: 16px;
}

.contact-box h2 {
  margin-top: 0;
}

.contact-box a {
  color: #8ee0b0;
  font-weight: 700;
}

.site-footer {
  background: #17221d;
  color: #d8e2dc;
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-links a {
  color: #eef6f1;
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .header-inner {
    padding: 16px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .page-shell {
    padding-top: 38px;
  }
}

