:root {
  --bg-top: #f7f1e8;
  --bg-bottom: #eadfd1;
  --panel: rgba(255, 255, 255, 0.88);
  --text: #22303a;
  --muted: #596773;
  --accent: #a24a2f;
  --line: rgba(34, 48, 58, 0.12);
  --shadow: 0 20px 60px rgba(34, 48, 58, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(162, 74, 47, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(190, 146, 78, 0.2), transparent 32%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.shell {
  width: min(760px, 100%);
}

.hero {
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.96;
}

.lead {
  margin: 20px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.link-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: #843b25;
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: #fff4ee;
}

.page-body {
  display: block;
}

.page-shell {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 24px;
}

.legal-card {
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover,
.site-footer a:hover {
  text-decoration: underline;
}

h2 {
  margin: 28px 0 0;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

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

.site-footer {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }

  .hero {
    padding: 28px 22px;
  }

  .legal-card {
    padding: 26px 22px;
  }

  .page-shell,
  .site-footer {
    width: min(100% - 20px, 860px);
  }
}