:root {
  --navy: #0f1f3d;
  --navy-light: #1a3260;
  --navy-deep: #080f1e;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f8f5ef;
  --cream-dark: #ede9e0;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

a {
  color: inherit;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 0;
  white-space: nowrap;
}

.nav-logo img {
  display: block;
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 24px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold-light);
  background: rgba(201, 168, 76, 0.12);
  color: var(--white);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}

.page-hero {
  background: var(--navy);
  padding: 156px 60px 96px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -120px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 50%;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 50%;
}

.page-hero-inner,
.legal-shell,
.cta-band-inner,
.footer-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 780px;
}

.page-hero p {
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
}

.legal-main {
  padding: 80px 60px 100px;
}

.legal-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-info-card,
.legal-contact-card,
.legal-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
}

.legal-info-card,
.legal-contact-card {
  padding: 28px 24px;
}

.legal-meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--cream-dark);
}

.legal-meta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.legal-meta-value {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-jump-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.legal-jump-list a {
  display: block;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.4;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.legal-jump-list a:hover {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.legal-contact-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.legal-contact-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.legal-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.legal-contact-list a,
.legal-contact-list span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dark);
  text-decoration: none;
}

.legal-contact-list a:hover {
  color: var(--gold);
}

.legal-card {
  padding: 44px;
  box-shadow: 0 18px 50px rgba(15, 31, 61, 0.05);
}

.legal-date {
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: var(--text-mid);
}

.legal-section {
  scroll-margin-top: 110px;
}

.legal-section + .legal-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.legal-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 14px;
}

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

.legal-card a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cta-band {
  background: var(--navy);
  padding: 88px 60px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 50%;
}

.cta-band-inner {
  text-align: center;
}

.cta-band .section-label {
  justify-content: center;
}

.cta-band-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.58);
}

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

footer {
  background: var(--navy-deep);
  padding: 60px 60px 32px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 32px;
}

.footer-logo {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-logo span {
  color: var(--gold);
}

.footer-logo img {
  display: block;
  height: 34px;
  width: auto;
}

.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-item {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--white);
}

.footer-bottom {
  display: block;
}

.footer-fine-print {
  margin: 0;
  width: 100%;
  font-size: 0.64rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.26);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1024px) {
  nav {
    padding: 16px 32px;
  }

  .page-hero {
    padding: 144px 32px 88px;
  }

  .legal-main {
    padding: 72px 32px 88px;
  }

  .legal-shell {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    padding: 80px 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
    gap: 12px;
  }

  .nav-logo {
    font-size: 1rem;
    line-height: 0;
    flex: 1;
    min-width: 0;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 0.66rem;
    line-height: 1;
    white-space: nowrap;
  }

  .page-hero {
    padding: 132px 20px 70px;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .page-hero p {
    font-size: 0.96rem;
  }

  .legal-main {
    padding: 48px 20px 60px;
  }

  .legal-info-card,
  .legal-contact-card,
  .legal-card {
    padding: 28px 20px;
  }

  .legal-section + .legal-section {
    margin-top: 24px;
    padding-top: 24px;
  }

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

  .cta-band {
    padding: 72px 20px;
  }

  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  footer {
    padding: 48px 20px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-fine-print {
    font-size: 0.58rem;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 0.9rem;
  }

  .nav-logo img {
    height: 24px;
  }

  .nav-cta {
    padding: 9px 10px;
    font-size: 0.6rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
