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

:root {
  --ivory: #FAF7F2;
  --ivory-dark: #F0EAE0;
  --burgundy: #7C1F3A;
  --burgundy-d: #5A1529;
  --gold: #C9973A;
  --gold-l: #E8BA5A;
  --charcoal: #2D1A10;
  --muted: #7A6357;
  --card-bg: #FFFFFF;
  --shadow: 0 4px 24px rgba(44, 26, 16, .10);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-bg);
  border-bottom: 1px solid var(--ivory-dark);
  box-shadow: 0 2px 12px rgba(44, 26, 16, .06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color .2s;
}

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

.nav-cta {
  background: var(--burgundy);
  color: #fff !important;
  padding: .45rem 1rem;
  border-radius: 6px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
}

.dwl-legal-wrap {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  width: 100%;
}

.dwl-legal-breadcrumb {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.dwl-legal-breadcrumb a {
  color: var(--burgundy);
  text-decoration: none;
}

.dwl-legal-breadcrumb a:hover {
  text-decoration: underline;
}

.dwl-legal-breadcrumb span {
  margin: 0 .35rem;
  opacity: .5;
}

.dwl-legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ivory-dark);
}

.dwl-legal-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--burgundy);
  margin-bottom: .5rem;
}

.dwl-legal-updated {
  font-size: .85rem;
  color: var(--muted);
}

.dwl-legal-body {
  background: var(--card-bg);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.dwl-legal-body section {
  margin-bottom: 2rem;
}

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

.dwl-legal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--burgundy);
  margin-bottom: .75rem;
}

.dwl-legal-body h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 1rem 0 .5rem;
}

.dwl-legal-body p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: .75rem;
}

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

.dwl-legal-body ul,
.dwl-legal-body ol {
  margin: .5rem 0 .75rem 1.25rem;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
}

.dwl-legal-body li {
  margin-bottom: .35rem;
}

.dwl-legal-body a {
  color: var(--burgundy);
  text-decoration: underline;
}

.dwl-legal-body a:hover {
  color: var(--burgundy-d);
}

.dwl-legal-notice {
  background: var(--ivory);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.15rem;
  margin: 1rem 0;
  font-size: .88rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.dwl-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ivory-dark);
}

.dwl-legal-nav a {
  font-size: .85rem;
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 500;
  padding: .45rem .9rem;
  border: 1px solid var(--ivory-dark);
  border-radius: 6px;
  background: var(--ivory);
  transition: background .2s, border-color .2s;
}

.dwl-legal-nav a:hover {
  background: var(--card-bg);
  border-color: var(--burgundy);
}

.dwl-legal-contact-card {
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: .75rem;
}

.dwl-legal-contact-card p {
  margin-bottom: .4rem;
}

.dwl-legal-contact-card strong {
  color: var(--charcoal);
}

footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .75);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .5rem;
}

.footer-inner a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: .75rem;
  margin: 0 .35rem;
}

.footer-inner a:hover {
  color: var(--gold-l);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--ivory-dark);
    padding: 1rem 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-inner {
    position: relative;
  }

  .dwl-legal-body {
    padding: 1.5rem 1.25rem;
  }
}
