/* --- Styles from main.jsp --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  nav,
  .hero,
  .stats,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

:root {
  --sage: #819172;
  --sage-dk: #6a7860;
  --ink: #1a1c18;
  --mist: #f4f5f1;
  --stone: #9ca38f;
  --white: #ffffff;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
}

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-tagline {
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--stone);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.nav-right {
  display: flex;
  align-items: baseline;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--sage);
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--sage-dk);
  transform: translateY(-1px);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 48px 60px;
  gap: 0;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: #eef0ea;
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
  animation: fadeUp 0.5s ease both;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}

.hero-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 22px;
  animation: fadeUp 0.5s 0.1s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--sage);
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--stone);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 44px;
  animation: fadeUp 0.5s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.5s 0.3s ease both;
}

.hero-actions .btn-primary {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--ink);
  border: none;
  border-radius: 100px;
  height: 48px;
  padding: 0 28px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.hero-actions .btn-primary:hover {
  background: #2e3228;
  transform: translateY(-2px);
  color: var(--white);
}

.hero-actions .btn-ghost {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid #dde0d8;
  border-radius: 100px;
  height: 48px;
  padding: 0 24px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.hero-actions .btn-ghost:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  color: var(--ink);
}

/* ── STATS STRIP ── */
.stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 48px 48px;
  border-top: 1px solid #eef0ea;
  animation: fadeUp 0.5s 0.4s ease both;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: var(--ink);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--stone);
  margin-top: 4px;
}

/* ── FEATURES ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #eef0ea;
  border-top: 1px solid #eef0ea;
  border-bottom: 1px solid #eef0ea;
  animation: fadeUp 0.5s 0.5s ease both;
  margin-bottom: 32px;
}

.feature-card {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: #eef0ea;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ── */
footer {
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eef0ea;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

footer p {
  font-size: 13px;
  color: var(--stone);
}

footer nav a {
  font-size: 13px;
  color: var(--stone);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}

footer nav a:hover {
  color: var(--ink);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── DRAWER ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 28, 24, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eef0ea;
}

.drawer-links li a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #eef0ea;
  transition: color 0.2s;
}

.drawer-links li a:hover {
  color: var(--sage);
}

.drawer-cta {
  margin-top: 28px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--sage);
  border: none;
  border-radius: 100px;
  height: 48px;
  padding: 0 28px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.drawer-cta:hover {
  background: var(--sage-dk);
  color: var(--white);
}

@media (max-width: 600px) {
  nav {
    padding: 20px 24px;
  }

  .nav-right {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .drawer-overlay {
    display: block;
  }

  .stats {
    gap: 36px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer nav a:first-child {
    margin-left: 0;
  }
}
