@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");
:root {
  --burgundy: #541b2b;
  --burgundy-deep: #35101b;
  --gold: #d7b16d;
  --gold-light: #f3e3bf;
  --ink: #28232a;
  --muted: #706970;
  --paper: #fffdf9;
  --line: #eee5e1;
  --white: #fff;
  --shadow: 0 18px 55px rgba(53, 16, 27, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.75;
}
a {
  color: inherit;
}
.site-header {
  background: linear-gradient(120deg, var(--burgundy-deep), var(--burgundy));
  border-bottom: 1px solid rgba(243, 227, 191, 0.22);
}
.nav-wrap {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(243, 227, 191, 0.45);
}
.brand span em {
  font-style: normal;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
}
.hero {
  padding: 64px 24px 58px;
  background:
    radial-gradient(
      ellipse at 80% 0%,
      rgba(215, 177, 109, 0.17),
      transparent 45%
    ),
    linear-gradient(180deg, #fbf5ee, var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 1180px;
  margin: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}
h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -1.2px;
  color: var(--burgundy-deep);
  margin: 15px 0 14px;
}
.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.page-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 36px;
  align-items: start;
}
.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
  min-width: 0;
}
.legal-content h2 {
  font-size: 25px;
  color: var(--burgundy);
  margin: 36px 0 12px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 19px;
  color: var(--burgundy-deep);
  margin: 24px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  color: #5f5960;
}
.legal-content ul {
  padding-left: 22px;
}
.legal-content li {
  padding: 3px 0;
}
.legal-content strong {
  color: #33272d;
}
.toc {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.toc h2 {
  font:
    600 17px "Playfair Display",
    serif;
  color: var(--burgundy);
  margin: 0 0 12px;
}
.toc a {
  display: block;
  text-decoration: none;
  font-size: 13px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid #f4eeeb;
}
.toc a:last-child {
  border-bottom: 0;
}
.toc a:hover {
  color: var(--burgundy);
}
.contact-panel {
  margin-top: 34px;
  padding: 22px 24px;
  background: #fbf5ee;
  border: 1px solid #eee0d3;
  border-radius: 13px;
}
.contact-panel h2 {
  margin-top: 0;
}
.contact-panel a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}


@media (max-width: 800px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
  }
  .page-layout {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
  .toc {
    position: static;
    grid-row: 1;
  }
  .hero {
    padding: 45px 22px;
  }
}
@media (max-width: 480px) {
  .nav-wrap {
    padding: 15px 18px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .nav-links {
    gap: 10px 16px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .hero {
    padding: 38px 18px;
  }
  .page-layout {
    padding: 24px 14px 48px;
  }
  .legal-content {
    padding: 22px 19px;
  }
  .legal-content h2 {
    font-size: 22px;
  }
  .legal-content p,
  .legal-content li {
    font-size: 14px;
  }
}
