:root {
  --legal-green: #102d24;
  --legal-green-soft: #1f4d3e;
  --legal-gold: #b58a32;
  --legal-cream: #faf9f5;
  --legal-border: #dce4df;
  --legal-muted: #5f716a;
}

body {
  background: var(--legal-cream);
  color: var(--legal-green);
}

.legal-shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.legal-narrow { width: min(720px, calc(100% - 32px)); }

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.legal-brand {
  color: var(--legal-green);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-link, .legal-card a { color: var(--legal-green-soft); }

.legal-card {
  background: #fff;
  border: 1px solid var(--legal-border);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(16, 45, 36, .08);
  padding: clamp(24px, 5vw, 54px);
}

.legal-card h1,
.legal-card h2 {
  font-family: Georgia, serif;
  color: var(--legal-green);
}

.legal-card h1 { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3.1rem); }
.legal-card h2 { margin: 34px 0 10px; font-size: 1.3rem; }
.legal-card p, .legal-card li { color: #354940; line-height: 1.75; }
.legal-card li + li { margin-top: 8px; }

.legal-kicker {
  color: var(--legal-gold) !important;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-form { display: grid; gap: 10px; margin-top: 28px; }
.legal-form label { font-weight: 700; margin-top: 8px; }
.legal-form input {
  border: 1px solid #bacac2;
  border-radius: 10px;
  font: inherit;
  padding: 13px 14px;
}

.primary-button, .danger-button {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  margin-top: 18px;
  padding: 13px 18px;
  text-decoration: none;
}

.primary-button { background: var(--legal-green-soft); color: #fff !important; }
.danger-button { background: #a12c2c; color: #fff; }
.legal-error { background: #fff1f1; border: 1px solid #efb2b2; border-radius: 10px; color: #8c2020; padding: 12px; }
.legal-help { border-top: 1px solid var(--legal-border); margin-top: 32px; padding-top: 22px; }
.legal-center { text-align: center; }

@media (max-width: 560px) {
  .legal-shell { width: min(100% - 20px, 940px); padding-top: 14px; }
  .legal-card { border-radius: 14px; padding: 24px 18px; }
}
