@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --paper: #f4efe7;
  --ink: #1a232a;
  --muted: #5f6d77;
  --accent: #ff7b34;
  --accent-2: #0de0b1;
  --line: rgba(26, 35, 42, 0.12);
  --bg: linear-gradient(180deg, #efe9dd 0%, #f7f3eb 100%);
  --container: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; }

.legalTopbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px min(calc(100% - 32px), 40px);
  background: rgba(244, 239, 231, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.legalNavGroup,
.legalLinkRow,
.legalInfoGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legalBack,
.legalLink,
.legalButton {
  border-radius: 999px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}

.legalButton {
  background: linear-gradient(135deg, var(--accent), #ffd2a4);
  border: 0;
  color: #25170b;
  font-weight: 800;
}

.legalShell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.legalHero,
.legalGrid article,
.legalDoc {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(64, 50, 33, 0.08);
}

.legalHero,
.legalGrid article,
.legalDoc {
  padding: 28px;
}

.legalHero {
  margin-bottom: 20px;
}

.legalEyebrow {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.78rem;
}

.legalLead,
.docMeta,
.legalNote,
.legalField {
  color: var(--muted);
  line-height: 1.7;
}

.legalGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.legalTag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(13, 224, 177, 0.12);
  color: #1c5d4f;
  font-size: 0.82rem;
  font-weight: 700;
}

.legalDoc h1,
.legalDoc h2,
.legalGrid h2 {
  font-family: "Space Grotesk", sans-serif;
}

.legalDoc p,
.legalDoc li {
  line-height: 1.78;
}

.legalList {
  padding-left: 20px;
}

.legalInfoGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.legalInfoGrid strong {
  display: block;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .legalGrid,
  .legalInfoGrid {
    grid-template-columns: 1fr;
  }

  .legalTopbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
