/* Shared styling for Terms / Privacy / Refunds.
   Plain, readable, long-form. These pages exist to be understood, not admired —
   generous measure, real paragraph spacing, no decorative flourishes competing
   with the text. */
/* The map art sits behind the page, fixed so it does not slide about under a
   long scroll. The text then needs an opaque surface of its own — 15px body
   copy straight over painted terrain is unreadable, and legibility beats
   decoration on the one page someone reads because they have to. */
.legal-page {
  min-height: 100vh;
  /* SiteNav is fixed and overlays the art, so clear its height here. */
  padding: calc(var(--sitenav-h, 64px) + 24px) 0 40px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.legal-wrap {
  max-width: 90vw;
  margin: 0 auto;
  padding: 48px 40px 72px;
  background: linear-gradient(160deg, rgba(28,28,26,0.95) 0%, rgba(21,21,20,0.97) 100%);
  border: 1px solid rgba(200,164,92,0.16);
  border-radius: var(--rounded-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.75);
}
.legal-wrap h1 {
  font-family: var(--title);
  font-size: clamp(28px, 5vw, 38px);
  color: var(--accent);
  margin: 0 0 8px;
}
.legal-updated { font-size: 13px; color: #6f6f68; margin: 0 0 34px; }

.legal-wrap h2 {
  font-family: var(--title);
  font-size: 21px;
  color: var(--text);
  margin: 38px 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(200,164,92,0.14);
}
.legal-wrap h3 { font-size: 16px; color: var(--text); margin: 24px 0 8px; }

.legal-wrap p,
.legal-wrap li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--smoke);
}
.legal-wrap p { margin: 0 0 15px; }
.legal-wrap ul, .legal-wrap ol { margin: 0 0 15px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 7px; }
.legal-wrap a { color: var(--accent); }
.legal-wrap strong { color: var(--text); }

.legal-wrap table {
  width: 100%; border-collapse: collapse; margin: 0 0 18px;
  font-size: 14.5px;
}
.legal-wrap th, .legal-wrap td {
  text-align: left; padding: 9px 12px;
  border-bottom: 1px solid rgba(200,164,92,0.12);
  color: var(--smoke);
}
.legal-wrap th { color: var(--text); font-weight: 600; }


@media (max-width: 560px) {
  /* Phones give the panel the full width: a framed card inside a 16px gutter
     wastes reading space on the screen that has least of it. */
  .legal-page { padding: var(--sitenav-h, 64px) 0 0; background-attachment: scroll; background-position: 40% top; }
  .legal-wrap {
    max-width: none;
    padding: 34px 16px 60px;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}
