:root {
  --ink: #24233f;
  --muted: #6c7169;
  --paper: #fffdf8;
  --cream: #eef1e8;
  --white: #ffffff;
  --green: #1f2b18;
  --green-2: #7d9400;
  --line: rgba(18, 37, 31, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.58;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(36, 35, 63, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-word {
  color: var(--green);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 760;
}

.brand-logo {
  display: block;
  width: 136px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-drop-trigger {
  padding: 10px 11px;
  border-radius: 7px;
  color: rgba(36, 35, 63, 0.78);
  font-size: 0.78rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-dropdown:hover .nav-drop-trigger,
.nav-dropdown:focus-within .nav-drop-trigger {
  background: rgba(125, 148, 0, 0.08);
  color: var(--green);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-drop-trigger::after {
  content: "⌄";
  font-size: 0.8rem;
  line-height: 1;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(24, 33, 27, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  padding: 10px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--green);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.legal-main {
  padding: 96px 0 110px;
}

.legal-content {
  width: min(100%, 720px);
  margin: 0 auto;
}

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--ink);
  line-height: 1.05;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 650;
}

h2 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
  font-weight: 650;
}

p,
li {
  color: var(--muted);
  font-size: 0.98rem;
}

ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.updated {
  margin-bottom: 34px;
  color: #9b9f97;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #0f211c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 0.8fr;
  gap: 44px;
  margin-bottom: 42px;
}

.site-footer .brand {
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer .brand-word,
.site-footer h4 {
  color: var(--white);
}

.site-footer .brand-logo {
  width: 142px;
}

.site-footer p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  margin: 0;
  font-size: inherit;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  color: #092016;
  box-shadow: 0 16px 38px rgba(6, 39, 25, 0.28);
}

.whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .menu-open .nav {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .menu-open .nav-links,
  .menu-open .nav-actions {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
  }

  .nav-drop-trigger {
    padding: 12px 8px;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .legal-main {
    padding: 66px 0 78px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp {
    right: 12px;
    bottom: 12px;
  }
}
