*, *::before, *::after { box-sizing: border-box; }

:root {
  --cream: #F7F3EE;
  --warm-white: #FDFBF8;
  --stone: #E8E0D5;
  --clay: #C4A882;
  --rust: #A0603A;
  --charcoal: #2C2420;
  --muted: #7A6E67;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
}

a { color: var(--rust); }

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--stone);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  text-decoration: none;
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

main {
  padding-top: 48px;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(34px, 6vw, 54px);
  margin: 0 0 14px;
}

h2 {
  font-size: 24px;
  margin: 42px 0 14px;
}

p,
li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

ul {
  padding-left: 22px;
}

.meta {
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.notice {
  border: 1px solid var(--stone);
  border-left: 4px solid var(--rust);
  background: var(--cream);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
}

.notice strong {
  display: block;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}

.data-table th,
.data-table td {
  border-top: 1px solid var(--stone);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--charcoal);
  font-weight: 500;
}

.legal-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--stone);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 640px) {
  .legal-shell { padding: 28px 20px 56px; }
  .legal-top { align-items: flex-start; flex-direction: column; }
  main { padding-top: 34px; }
  .data-table { display: block; overflow-x: auto; }
}
