@import url("https://fonts.googleapis.com/css?family=Playfair+Display:300,400|Plus+Jakarta+Sans:400,500");

:root {
  --bg: #FAF8F5;
  --bg-alt: #F0EDE8;
  --bg-parchment: #E8E4DD;
  --surface: #FFFFFF;
  --primary: #1B3D2F;
  --primary-muted: #4A6358;
  --accent: #C67B5C;
  --accent-hover: #B36A4D;
  --text-headline: #2C2C2C;
  --text-body: #2C2C2C;
  --text-secondary: #6B6560;
  --text-muted: #9A9590;
  --border: #E8E4DD;
  --shadow-card: 0 2px 8px rgba(44, 44, 44, 0.04), 0 8px 24px rgba(44, 44, 44, 0.06);
  --shadow-hover: 0 4px 12px rgba(44, 44, 44, 0.06), 0 16px 32px rgba(44, 44, 44, 0.08);
  --max-width: 1200px;
  --card-radius: 2px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: var(--text-headline);
}

h3,
h4 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  color: var(--text-headline);
}

p {
  margin: 0;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.mobile-only {
  display: none !important;
}

.btn-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background: #2A4F3F;
}

.privacy-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  width: 100%;
  height: 80px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.privacy-nav.scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
}

.nav-wordmark {
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-headline);
}

.nav-links a.active {
  border-bottom-color: var(--text-headline);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--text-headline);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 130;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 0 24px;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.mobile-menu.active {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  padding: 24px;
}

.mobile-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-headline);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.privacy-header {
  padding: 176px 40px 64px;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-content {
  max-width: 800px;
}

.overline {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-header h1 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.005em;
}

.meta-line {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.summary {
  color: var(--text-secondary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  line-height: 28px;
}



.commitment-section {
  padding: 0 40px 0;
  margin-bottom: 64px;
}

.commitment-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--card-radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.commitment-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-headline);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.commitment-item svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRIVACY POLICY — LEGAL CONTENT (Two-Column Layout)
   ============================================================ */

.legal-content-section {
  padding: 0 40px 80px;
}

.legal-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

/* ----- TABLE OF CONTENTS (Sticky Sidebar) ----- */

.legal-toc {
  position: sticky;
  top: 100px;
}

.toc-header h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list li {
  margin: 0;
  padding: 0;
}

.toc-list a {
  display: block;
  padding: 6px 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  border-radius: 2px;
}

.toc-list a:hover {
  color: var(--text-headline);
  background: var(--bg-alt);
}

.toc-list a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(27, 61, 47, 0.04);
  font-weight: 500;
}

.toc-toggle {
  display: none;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ----- LEGAL SECTIONS (Right Column) ----- */

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section {
  scroll-margin-top: 100px;
  padding-top: 4px;
}

.legal-section + .legal-section {
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.section-number {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.legal-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: var(--text-headline);
  margin-bottom: 20px;
}

.legal-section h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: var(--text-headline);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-section p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 26px;
  color: var(--text-body);
}

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

.legal-section ul {
  margin: 0 0 14px 0;
  padding: 0 0 0 20px;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-body);
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.35;
}

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

.legal-section strong {
  font-weight: 500;
  color: var(--text-headline);
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(27, 61, 47, 0.25);
  transition: text-decoration-color 0.2s ease;
}

.legal-section a:hover {
  text-decoration-color: var(--primary);
}

/* ============================================================
   FOOTER (Anima-exported classes preserved)
   ============================================================ */

.footer {
  background-color: #1B3D2F;
  padding: 80px 0 40px;
}

.container-102 {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.container-103 {
  max-width: 300px;
}

.container-104 {
  margin-bottom: 24px;
}

.text-wrapper-115 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: rgba(250, 248, 245, 0.8);
}

.text-wrapper-116 {
  margin-bottom: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: rgba(250, 248, 245, 0.5);
}

.container-106,
.container-92 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-wrapper-117 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: rgba(250, 248, 245, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-wrapper-117:hover {
  color: #FAF8F5;
}

.container-109 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 0;
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-wrapper-118 {
  margin: 0;
  color: rgba(250, 248, 245, 0.5);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}

.container-110 {
  display: flex;
  gap: 24px;
}

.link-6 a {
  color: rgba(250, 248, 245, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-6 a:hover {
  color: #FAF8F5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .nav-container {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .privacy-header {
    padding: 160px 24px 48px;
  }

  .header-content {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
  }

  .commitment-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .commitment-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .mobile-menu {
    display: flex;
  }

  /* --- Legal content responsive --- */
  .legal-content-section {
    padding: 0 24px 64px;
  }

  .legal-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-toc {
    position: relative;
    top: auto;
    margin-bottom: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 16px;
  }

  .toc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: var(--text-headline);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s ease;
  }

  .toc-toggle:hover {
    background: var(--bg-alt);
  }

  .toc-toggle svg {
    transition: transform 0.2s ease;
  }

  .toc-list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
  }

  .toc-list.active {
    max-height: 800px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 16px;
  }

  .container-102 {
    padding: 0 24px;
    margin-bottom: 56px;
  }

  .container-109 {
    padding: 32px 24px 0;
  }
}

@media (max-width: 768px) {
  .privacy-header h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .summary {
    font-size: 17px;
    line-height: 28px;
  }

  .legal-section h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .container-109 {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
