@font-face {
  font-family: 'metamorphousregular';
  src: url('metamorphous-regular-webfont.eot');
  src: url('metamorphous-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('metamorphous-regular-webfont.woff') format('woff'),
       url('metamorphous-regular-webfont.ttf') format('truetype'),
       url('metamorphous-regular-webfont.svg#metamorphousregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

html, body { min-height: 100%; }
body {
  margin: 0;
  color: #1c140e;
  font: 15px/1.65 Arial, Helvetica, sans-serif;
  background: #1b130d url('../images/bg1.jpg') center center / cover fixed no-repeat;
}

.legal-shell {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 72px 24px 110px;
  background: rgba(13, 8, 4, 0.22);
}

.legal-topbar {
  position: fixed;
  z-index: 5;
  inset: 0 0 auto;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
  background: rgba(17, 11, 5, 0.94) url('../images/nav.png') repeat-x;
  box-shadow: 0 2px 12px rgba(0,0,0,.55);
}

.legal-brand,
.legal-topbar a {
  font-family: 'metamorphousregular', Georgia, serif;
  color: #c09b67;
  text-decoration: none;
}
.legal-brand { font-size: 19px; }
.legal-topbar a:hover,
.legal-topbar a:focus { color: #efc88f; text-decoration: underline; }

.legal-paper {
  width: min(1120px, calc(100vw - 48px));
  margin: 40px auto 0;
  box-sizing: border-box;
  padding: 54px 66px 58px;
  border: 8px solid rgba(105, 61, 23, .48);
  outline: 1px solid rgba(255, 231, 178, .38);
  background:
    linear-gradient(rgba(245, 202, 121, .88), rgba(236, 181, 91, .88)),
    url('../images/content_bg.png') center top / cover no-repeat;
  box-shadow:
    0 18px 44px rgba(0,0,0,.58),
    inset 0 0 28px rgba(105, 55, 12, .2),
    inset 0 0 0 1px rgba(255,240,202,.35);
}

.legal-paper h1,
.legal-paper h2 {
  font-family: 'metamorphousregular', Georgia, serif;
  font-weight: normal;
  color: #6e4727;
}
.legal-paper h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  text-align: center;
}
.legal-paper h2 {
  margin: 30px 0 10px;
  font-size: 25px;
}
.legal-paper p { margin: 0 0 18px; }
.legal-rule {
  height: 2px;
  margin: 24px 0;
  background: url('../images/line1_px.png') repeat-x;
}
.legal-note {
  padding: 18px 22px;
  border: 1px solid rgba(112,66,27,.42);
  background: rgba(255, 239, 196, .38);
  box-shadow: inset 0 0 16px rgba(115,64,18,.09);
}
.legal-paper a { color: #7f3608; }
.legal-paper a:hover,
.legal-paper a:focus { color: #2d1708; }

.legal-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 4;
  min-height: 70px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  color: #765735;
  background: rgba(18, 11, 5, .94) url('../images/footer.png') repeat-x;
}
.legal-footer a { color: #b89565; }

@media (max-width: 700px) {
  .legal-shell { padding: 78px 12px 100px; }
  .legal-topbar { min-height: 62px; flex-wrap: wrap; gap: 6px 16px; padding: 7px 12px; }
  .legal-brand { width: 100%; text-align: center; font-size: 17px; }
  .legal-paper { width: 100%; margin-top: 20px; padding: 34px 22px 38px; border-width: 5px; }
  .legal-paper h2 { font-size: 21px; }
  .legal-footer { font-size: 12px; }
}
