@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #f8f5f0;
  --warm-white: #fdfcfa;
  --deep-green: #1a2e25;
  --sage: #4a6b57;
  --sage-light: #7a9e8a;
  --sage-muted: #c8dbd0;
  --accent: #8b6914;
  --accent-light: #c9a84c;
  --text-primary: #1a2e25;
  --text-secondary: #4a5e53;
  --text-muted: #7a8e83;
  --border: #d8e6de;
  --border-light: #eaf2ed;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 300;
  min-height: 100vh;
}

/* ─── BACK BAR ───────────────────────────── */

.back-bar {
  background-color: var(--deep-green);
  padding: 0.65rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.back-link:hover {
  color: var(--sage-light);
  border-bottom: none;
}

.back-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.back-link:hover svg {
  transform: translateX(-3px);
}

/* ─── HEADER ─────────────────────────────── */

header {
  background-color: var(--deep-green);
  padding: 3.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--sage-light);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.header-date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

.header-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
}

/* ─── NAVIGATION SIDEBAR ─────────────────── */

.layout {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sidebar nav a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  border-bottom: none;
  font-weight: 400;
  line-height: 1.4;
}

.sidebar nav a:hover {
  color: var(--sage);
  background-color: var(--border-light);
  border-left-color: var(--sage-muted);
  border-bottom: none;
  padding-left: 1rem;
}

/* ─── MAIN CONTENT ───────────────────────── */

main {
  min-width: 0;
}

.section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
  animation: fadeUp 0.5s ease both;
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section:nth-child(1) { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.15s; }
.section:nth-child(4) { animation-delay: 0.2s; }
.section:nth-child(5) { animation-delay: 0.25s; }
.section:nth-child(6) { animation-delay: 0.3s; }
.section:nth-child(7) { animation-delay: 0.35s; }
.section:nth-child(8) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .section { animation: none; }
}

.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
  line-height: 1.8;
}

p:last-child {
  margin-bottom: 0;
}

.legal-update-note {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── INFO CARD ──────────────────────────── */

.info-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  margin-top: 1rem;
}

.info-card h3 {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.info-card h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value {
  color: var(--text-primary);
  font-weight: 400;
}

/* ─── HIGHLIGHT BOX ──────────────────────── */

.highlight-box {
  background: linear-gradient(135deg, rgba(74, 107, 87, 0.06), rgba(74, 107, 87, 0.02));
  border: 1px solid var(--sage-muted);
  border-left: 3px solid var(--sage);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── LINKS ──────────────────────────────── */

a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-muted);
  transition: border-color 0.2s, color 0.2s;
}

a:hover {
  color: var(--deep-green);
  border-bottom-color: var(--deep-green);
}

/* ─── FOOTER ─────────────────────────────── */

footer {
  background-color: var(--deep-green);
  padding: 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-inner strong {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ─── RESPONSIVE ─────────────────────────── */

@media (max-width: 768px) {
  .back-bar {
    padding: 0.65rem 1.2rem;
  }

  header {
    padding: 3rem 1.2rem 2.5rem;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.2rem 4rem;
  }

  .sidebar {
    position: static;
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .sidebar nav a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
  }

  .sidebar nav a:hover {
    border-left-color: transparent;
    border-bottom-color: var(--sage-muted);
    padding-left: 0.6rem;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .info-label {
    margin-top: 0.3rem;
  }
}