:root {
  color-scheme: dark;
  --ink: #050a0f;
  --ink-soft: #071119;
  --navy: #0a1822;
  --cream: #f1e9d9;
  --cream-soft: #d7d0c1;
  --mist: #9aa8aa;
  --gold: #c59a52;
  --gold-light: #e4c58c;
  --line: rgba(231, 219, 195, .14);
  --line-soft: rgba(231, 219, 195, .08);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1040px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 5%, rgba(43, 80, 91, .25), transparent 31rem),
    radial-gradient(circle at 12% 50%, rgba(144, 104, 47, .07), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .014) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, .01) 5px 6px);
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--ink);
  background: var(--gold-light);
}

a { color: inherit; }

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--cream);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.legal-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 10, 15, .72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 219, 195, .26);
  border-radius: 50%;
  opacity: .9;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  margin-left: auto;
  color: #bbc3c1;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.legal-nav a {
  padding-block: 9px;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] { color: var(--gold-light); }

.legal-nav .header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(228, 197, 140, .38);
  border-radius: 999px;
  color: var(--gold-light);
}

.legal-main { outline: none; }

.legal-masthead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: clamp(82px, 11vw, 150px) 0 clamp(58px, 8vw, 94px);
  border-bottom: 1px solid var(--line);
}

.legal-masthead::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 197, 140, .5));
  box-shadow: 0 0 36px 6px rgba(197, 154, 82, .1);
  content: "";
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.legal-masthead h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 8vw, 7.3rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.updated {
  margin: 28px 0 0;
  color: #929e9f;
  font-size: .78rem;
}

.legal-seal {
  width: clamp(96px, 14vw, 168px);
  height: auto;
  padding: 9px;
  border: 1px solid rgba(228, 197, 140, .2);
  border-radius: 50%;
  opacity: .72;
  filter: saturate(.72) contrast(1.08);
  box-shadow: 0 0 70px rgba(197, 154, 82, .08);
}

.legal-article {
  width: min(72ch, 100%);
  padding: clamp(62px, 8vw, 105px) 0 clamp(100px, 13vw, 170px);
  color: #c7cdca;
  font-size: 1.03rem;
  line-height: 1.78;
}

.legal-article > p:first-child {
  color: var(--cream-soft);
  font-family: var(--display);
  font-size: clamp(1.18rem, 2.1vw, 1.5rem);
  line-height: 1.6;
}

.legal-article h2 {
  margin: 54px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.legal-article p { margin: 0 0 22px; }

.legal-article a {
  color: var(--gold-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-article a:hover { color: var(--cream); }

.legal-footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--line-soft);
  background: #03080c;
}

.legal-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 44px;
}

.legal-footer-main p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #899496;
  font-size: .82rem;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 11px 22px;
  color: #aeb7b7;
  font-size: .76rem;
}

.legal-footer nav a { text-underline-offset: 4px; }
.legal-footer nav a[aria-current="page"] { color: var(--gold-light); }

.legal-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #899496;
  font-size: .68rem;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 30px, 1040px); }

  .legal-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 16px;
  }

  .legal-nav {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .legal-nav .header-cta { margin-left: auto; }
  .legal-masthead { grid-template-columns: 1fr; }
  .legal-seal { width: 90px; }
  .legal-footer-main { flex-direction: column; }
  .legal-footer nav { justify-content: flex-start; }
  .legal-footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .legal-nav .header-cta { display: none; }
  .legal-masthead { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
