:root {
  color-scheme: light;
  --ink: #10241e;
  --muted: #5f706a;
  --green: #0a4936;
  --green-deep: #062c22;
  --lime: #9bea55;
  --paper: #f5f7f2;
  --white: #ffffff;
  --line: rgba(16, 36, 30, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.topbar,
.legal-main,
.footer {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.back-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover,
.footer a:hover { color: var(--green); }

.legal-main { padding: 68px 0 88px; }

.legal-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

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

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1;
}

.intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.updated {
  margin: 20px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.legal-section {
  margin-top: 42px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.35;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 17px;
}

.legal-section p,
.legal-section li {
  color: #3f514b;
  font-size: 15px;
  line-height: 1.85;
}

.legal-section p { margin: 12px 0; }
.legal-section ul { margin: 12px 0; padding-left: 22px; }
.legal-section strong { color: var(--ink); }

.notice {
  border-left: 4px solid var(--lime);
  background: var(--green-deep);
  color: white;
}

.notice h2,
.notice p,
.notice strong { color: white; }
.notice p { color: rgba(255, 255, 255, 0.76); }

.contact-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 24px;
  margin: 20px 0 0;
}

.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; line-height: 1.7; word-break: break-word; }

.footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }

@media (max-width: 640px) {
  .topbar,
  .legal-main,
  .footer { width: min(100% - 30px, 980px); }
  .topbar { min-height: 76px; }
  .legal-main { padding: 48px 0 64px; }
  .legal-section { margin-top: 24px; padding: 24px 20px; }
  .contact-list { grid-template-columns: 1fr; gap: 4px; }
  .contact-list dd { margin-bottom: 12px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
