:root {
  --black: #080708;
  --black-soft: #111012;
  --charcoal: #19171a;
  --white: #ffffff;
  --ivory: #f5f1ec;
  --muted: #b8b0b6;
  --gold: #ae8d46;
  --gold-light: #ebdbb9;
  --gold-metallic: linear-gradient(90deg, #b77c22 0%, #f6dfa1 48%, #c68f32 100%);
  --pink-metallic: linear-gradient(102deg, #611228 0%, #611228 18%, #E90C7D 76%, #E90C7D 100%);
  --border: rgba(235, 219, 185, .17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 86% 5%, rgba(233, 12, 125, .12), transparent 28rem),
    radial-gradient(circle at 8% 44%, rgba(174, 141, 70, .08), transparent 32rem),
    var(--black);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

::selection {
  color: var(--white);
  background: #a40a6a;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: .8rem 1rem;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), 1040px);
  margin-inline: auto;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(8, 7, 8, .82);
  backdrop-filter: blur(18px);
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: max-content;
}

.brand img {
  width: 39px;
  height: 35px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(233, 12, 125, .28));
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1;
}

.brand-signature {
  display: block;
  width: fit-content;
  margin-top: .3rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #c3bbc1;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--gold-light);
  transform: translateX(-3px);
}

.legal-hero {
  padding: 100px 0 66px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  margin: 0 0 1.25rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold-metallic);
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.updated {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 70px;
  align-items: start;
  padding: 72px 0 100px;
}

.legal-article {
  min-width: 0;
}

.legal-intro {
  margin: 0 0 3.2rem;
  padding: 1.55rem 1.7rem;
  color: #d7d0d5;
  background: linear-gradient(135deg, rgba(97,18,40,.22), rgba(233,12,125,.08));
  border: 1px solid rgba(233,12,125,.22);
  border-left: 3px solid #E90C7D;
  border-radius: 0 16px 16px 0;
  line-height: 1.8;
}

.legal-section {
  padding: 0 0 2.65rem;
  margin: 0 0 2.65rem;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 1.25rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}

.legal-section h3 {
  margin: 1.7rem 0 .75rem;
  color: #e2d9de;
  font-size: .94rem;
  letter-spacing: .025em;
}

.legal-section p {
  margin: 0 0 1rem;
  color: #c9c2c7;
  font-size: .96rem;
  line-height: 1.85;
}

.legal-section ul {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  margin: .7rem 0;
  padding-left: 1.35rem;
  color: #c9c2c7;
  line-height: 1.7;
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  background: #E90C7D;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(233,12,125,.1);
}

.legal-section strong {
  color: var(--ivory);
}

.legal-section a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(235,219,185,.35);
}

.contact-card {
  padding: 1.5rem;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.legal-aside {
  position: sticky;
  top: 110px;
  padding: 1.35rem;
  background: rgba(255,255,255,.022);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.legal-aside span {
  display: block;
  margin-bottom: .85rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.legal-aside p {
  margin: 0 0 1.2rem;
  color: #9f979d;
  font-size: .78rem;
  line-height: 1.65;
}

.legal-aside a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #d2c9cf;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-aside a:hover,
.legal-aside a:focus-visible {
  color: var(--gold-light);
}

.legal-footer {
  padding: 34px 0 38px;
  color: #858086;
  border-top: 1px solid rgba(255,255,255,.055);
  font-size: .72rem;
}

.legal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #aaa2a8;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--gold-light);
}

@media (max-width: 780px) {
  .legal-nav {
    min-height: 70px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .back-link span {
    display: none;
  }

  .back-link {
    font-size: 1.15rem;
  }

  .legal-hero {
    padding: 76px 0 48px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    padding: 52px 0 72px;
  }

  .legal-aside {
    position: static;
    order: -1;
  }

  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 1.6rem), 1040px);
  }

  .brand img {
    width: 34px;
    height: 31px;
  }

  .brand-signature {
    font-size: .57rem;
  }

  .legal-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .legal-intro {
    padding: 1.25rem 1.15rem;
  }

  .legal-section h2 {
    font-size: 1.38rem;
  }

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

  .legal-links span {
    display: none;
  }
}

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