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

:root {
  --bg: #EDEAE3;
  --navy: #1A2E3C;
  --gold: #B8915A;
  --white: #ffffff;
  --border: rgba(26,46,60,.11);
  --text-muted: rgba(26,46,60,.68);
}

html, body {
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--navy);
}

header#site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: var(--bg);
  border-bottom: .5px solid var(--border);
  position: relative;
  z-index: 10;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--navy);
  line-height: 1.1;
}

.brand-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-style: italic;
  color: rgba(26,46,60,.48);
}

nav { display: flex; align-items: center; }

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  opacity: .52;
  padding: 6px 16px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  letter-spacing: .01em;
  transition: opacity .2s;
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover { opacity: .8; }
.nav-link.active { opacity: 1; font-weight: 500; }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 1px;
}

.lang-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  border: .5px solid rgba(26,46,60,.25);
  background: none;
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  letter-spacing: .06em;
  transition: background .15s;
}

.lang-btn:hover { background: rgba(26,46,60,.06); }
.lang-btn.active { background: var(--navy); color: var(--bg); }

.legal-page {
  max-width: 900px;
  margin: 70px auto 100px;
  padding: 0 32px;
}

.legal-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 14px;
}

.gold-bar {
  width: 34px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin-bottom: 38px;
}

.legal-content[hidden] { display: none; }

.legal-updated {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 30px;
}

.legal-content section { margin-top: 34px; }
.legal-content section:first-of-type { margin-top: 0; }

.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal-content p,
.legal-content li,
.legal-address {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.82;
}

.legal-content p + p { margin-top: 12px; }
.legal-content ul { margin: 12px 0 0 20px; }
.legal-content li + li { margin-top: 5px; }

.legal-content a {
  color: var(--navy);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-address { font-style: normal; }

.legal-note {
  border-left: 2px solid var(--gold);
  padding: 3px 0 3px 18px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .legal-page { margin-top: 50px; padding: 0 22px; }
}

@media (max-width: 720px) {
  header#site-header {
    height: auto;
    min-height: 60px;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  header#site-header nav { order: 3; width: 100%; overflow-x: auto; }
  .nav-link { padding: 6px 10px; white-space: nowrap; }
  .nav-link:first-child { padding-left: 0; }
  .nav-link.active::after { left: 10px; right: 10px; }
  .nav-link:first-child.active::after { left: 0; }
}

@media (max-width: 520px) {
  .legal-page { margin-bottom: 72px; }
  .legal-content h2 { font-size: 1.45rem; }
}
