:root {
  --cream: #f8f4ec;
  --cream-strong: #fffdf8;
  --ink: #17110d;
  --ink-soft: #3f3229;
  --gold: #c6923f;
  --gold-soft: rgba(198,146,63,.16);
  --border: rgba(23,17,13,.1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #fbf7f0 0%, #f4ede3 100%);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
}

.legal-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.legal-back,
.legal-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(198,146,63,.28);
  background: rgba(255,255,255,.72);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.legal-home:hover,
.legal-back:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.legal-card {
  background: rgba(255,253,248,.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 0 24px 50px rgba(29,18,10,.08);
}

.legal-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.legal-card h1 {
  margin: 0 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .98;
  font-weight: 500;
}

.legal-intro {
  max-width: 820px;
  margin: 0 0 28px;
  color: rgba(23,17,13,.74);
  font-size: 18px;
  line-height: 1.75;
}

.legal-content {
  display: grid;
  gap: 24px;
}

.legal-section {
  padding: 22px 22px 20px;
  border: 1px solid rgba(23,17,13,.07);
  border-radius: 22px;
  background: rgba(255,255,255,.7);
}

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

.legal-section p,
.legal-section li {
  margin: 0 0 14px;
  color: rgba(23,17,13,.8);
  font-size: 16px;
  line-height: 1.8;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section li:last-child,
.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-contact {
  display: grid;
  gap: 10px;
}

.legal-contact a {
  color: var(--gold);
  text-decoration: none;
}

.legal-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .legal-shell {
    padding: 18px 14px 34px;
  }

  .legal-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-card {
    border-radius: 22px;
    padding: 24px 18px;
  }

  .legal-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .legal-section {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
    line-height: 1.7;
  }
}
