:root {
  --sage: #DDE7D8;
  --sage-dark: #5E7A68;
  --ivory: #F8F7F3;
  --text: #1F1F1F;
  --muted: #5F625E;
  --border: #E7E4DD;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Work Sans", Arial, sans-serif;
  line-height: 1.6;
}

a { color: #365747; }

.legal-header {
  background: #10221A;
  color: #fff;
  padding: 20px 0;
}

.container {
  width: min(860px, calc(100% - 32px));
  margin-inline: auto;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 1.3rem Georgia, serif;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: #10221A;
}

main { padding: 48px 0 64px; }

article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 14px 35px rgba(16, 34, 26, .07);
}

h1, h2 { font-family: Georgia, serif; line-height: 1.18; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; }
h2 { font-size: 1.4rem; margin: 36px 0 10px; }
h3 { font-size: 1rem; margin: 20px 0 6px; }
p, li { font-size: 1rem; }
ul { padding-left: 22px; }

.updated { color: var(--muted); margin: 0; }
.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--sage-dark);
  background: var(--sage);
  border-radius: 8px;
}

dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
dt { font-weight: 700; }
dd { margin: 0; }

.legal-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

th,
td {
  padding: 11px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--sage);
}

code {
  font-size: .88em;
}

footer { padding: 26px 0 38px; color: var(--muted); font-size: .9rem; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 560px) {
  main { padding: 28px 0 44px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 10px; }
}
