:root {
  color-scheme: light;
  --ink: #241c2d;
  --muted: #625a6a;
  --purple: #6c3b84;
  --deep-purple: #261532;
  --gold: #d8ad66;
  --soft: #f7f3f8;
  --line: rgba(108, 59, 132, 0.16);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--purple);
}

a:hover {
  color: var(--deep-purple);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  border-radius: 0.5rem;
  background: var(--white);
  padding: 0.75rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.4rem;
  max-width: min(65vw, 350px);
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.home-link {
  text-decoration: none;
}

.call-link {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep-purple);
  padding: 0.72rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.call-link:hover {
  color: var(--deep-purple);
  filter: brightness(1.03);
}

.legal-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(216, 173, 102, 0.18), transparent 35%),
    linear-gradient(135deg, #2b1738 0%, #4c2862 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

.legal-hero .page-shell {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #eed8ad;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
  letter-spacing: -0.03em;
}

.effective-date {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 650;
}

.legal-content {
  padding: 3.5rem 0 5rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 3.5rem;
  align-items: start;
}

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

.legal-copy section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-copy section:first-child {
  padding-top: 0;
}

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

.legal-copy h2 {
  margin: 0 0 0.75rem;
  color: var(--deep-purple);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.legal-copy p,
.legal-copy ul {
  margin: 0.65rem 0 0;
}

.legal-copy li + li {
  margin-top: 0.45rem;
}

.notice {
  border-left: 4px solid var(--gold);
  border-radius: 0.8rem;
  background: var(--soft);
  padding: 1.2rem 1.25rem;
}

.legal-nav {
  position: sticky;
  top: 6.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--soft);
  padding: 1.25rem;
}

.legal-nav strong {
  display: block;
  margin-bottom: 0.75rem;
}

.legal-nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfafc;
  padding: 2.75rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.footer-title {
  margin: 0;
  color: var(--deep-purple);
  font-weight: 800;
}

.footer-address,
.footer-disclaimer,
.copyright {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-weight: 750;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.8rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .legal-hero {
    padding: 3rem 0;
  }

  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .call-link {
    width: 100%;
  }
}
