@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #FAFAF8;
  color: #1A1A1A;
  line-height: 1.65;
}
a { color: inherit; }
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: rgba(250, 250, 248, 0.92);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  width: 132px;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo-img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #2D5A3D;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: #1A1A1A; }
.nav-b2b {
  color: #FAFAF8;
  background: #2D5A3D;
  border: 1px solid #2D5A3D;
  padding: 9px 22px;
  border-radius: 9999px;
}
.nav-b2b:hover { color: #FAFAF8; background: #1E3D2F; border-color: #1E3D2F; }
#mobile-toggle { position: absolute; opacity: 0; pointer-events: none; }
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(45, 90, 61, 0.16);
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  display: block;
  width: 17px;
  height: 1px;
  background: #2D5A3D;
  content: '';
  transition: transform 0.2s ease;
}
.mobile-menu-btn span::before { transform: translateY(-6px); }
.mobile-menu-btn span::after { transform: translateY(5px); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  background: #2D5A3D;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#mobile-toggle:checked ~ .mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #FAFAF8;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.mobile-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(36px, 10vw, 64px);
  color: #FAFAF8;
  text-decoration: none;
}
.legal-hero {
  padding: 150px 48px 72px;
  background: #F5F0E8;
}
.legal-hero-inner,
.legal-content,
.footer-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.legal-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5A7A62;
  margin-bottom: 24px;
}
.legal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: #1A1A1A;
}
.legal-title span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: #2D5A3D;
}
.legal-summary {
  max-width: 720px;
  margin-top: 28px;
  color: #4A6652;
  font-size: 15px;
}
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.legal-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  border: 1px solid rgba(45, 90, 61, 0.18);
  color: #2D5A3D;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}
.legal-tabs a.active {
  background: #2D5A3D;
  border-color: #2D5A3D;
  color: #FAFAF8;
}
.legal-content {
  padding: 72px 48px 96px;
}
.legal-card {
  background: #FFFFFF;
  border: 1px solid rgba(45, 90, 61, 0.1);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
}
.legal-section + .legal-section { margin-top: 34px; }
.legal-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin-bottom: 14px;
}
.legal-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: #2D5A3D;
  margin: 24px 0 10px;
}
.legal-section p,
.legal-section li {
  font-size: 15px;
  color: #3F5546;
}
.legal-section p + p { margin-top: 12px; }
.legal-section ul,
.legal-section ol {
  margin: 12px 0 0 22px;
}
.legal-address {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #2D5A3D;
}
.source-note {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(45, 90, 61, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(26, 26, 26, 0.42);
  letter-spacing: 0.04em;
}
#footer {
  background: #2D5A3D;
  padding: 64px 48px 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-logo {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.28em;
  color: #FAFAF8;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(234, 240, 235, 0.55);
  letter-spacing: 0.12em;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234, 240, 235, 0.6);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(234, 240, 235, 0.75);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.footer-link:hover { color: #FAFAF8; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(234, 240, 235, 0.15);
  margin: 40px 0 24px;
}
.footer-legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-legal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(234, 240, 235, 0.45);
  letter-spacing: 0.08em;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: #FAFAF8; }
@media (max-width: 768px) {
  #main-nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .legal-hero { padding: 118px 24px 56px; }
  .legal-content { padding: 48px 24px 72px; }
  .legal-card { padding: 28px 22px; }
  #footer { padding: 48px 24px 32px; }
  .footer-grid { flex-direction: column; gap: 40px; }
  .footer-legal-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
