:root {
  --color-bg: #fbfbf8;
  --color-surface: #ffffff;
  --color-muted: #eef3f0;
  --color-text: #17211d;
  --color-subtle: #5d6963;
  --color-accent: #1d7f5f;
  --color-accent-strong: #0e5f45;
  --color-border: #d9e1dc;
  --shadow-soft: 0 20px 60px rgba(23, 33, 29, 0.08);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
  --radius: 8px;
  --space-section: clamp(4rem, 8vw, 7rem);
  --anchor-offset: 60px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(29, 127, 95, 0.28);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 248, 0.9);
  border-bottom: 1px solid rgba(217, 225, 220, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 44px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  color: var(--color-subtle);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}

.nav-menu a,
.dropdown-toggle {
  color: inherit;
  font: inherit;
  transition: color 160ms ease;
}

.dropdown-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-menu a:hover,
.dropdown-toggle:hover {
  color: var(--color-accent-strong);
}

.nav-menu a[aria-current="page"],
.dropdown-toggle[aria-current="page"] {
  color: var(--color-text);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  display: none;
  min-width: 180px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--color-subtle);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle span[aria-hidden="true"] {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

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

.section {
  padding-block: var(--space-section);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(29, 127, 95, 0.12), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 80% 20%, rgba(221, 184, 67, 0.14), transparent 34%),
    var(--color-bg);
}

.page-hero {
  display: grid;
  align-items: center;
  min-height: 62svh;
  background:
    linear-gradient(135deg, rgba(29, 127, 95, 0.12), rgba(255, 255, 255, 0) 48%),
    var(--color-bg);
}

.hero-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
  max-width: 960px;
}

.page-hero-content {
  max-width: 860px;
}

.hero-mark {
  display: grid;
  width: clamp(88px, 16vw, 160px);
  aspect-ratio: 1;
  place-items: center;
}

.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--color-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 1.5rem;
  color: var(--color-subtle);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
}

h2 {
  max-width: 640px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: var(--anchor-offset);
  max-height: calc(100svh - var(--anchor-offset) - 1.5rem);
  padding: 1rem;
  overflow: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.legal-summary-title {
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-summary ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-summary a {
  display: block;
  padding: 0.45rem 0;
  color: var(--color-subtle);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal-summary a:hover,
.legal-summary a:focus-visible {
  color: var(--color-accent-strong);
}

.legal-content {
  display: grid;
  gap: 2.5rem;
  max-width: 880px;
}

.legal-content section {
  display: grid;
  gap: 0.85rem;
  scroll-margin-top: var(--anchor-offset);
}

.legal-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.legal-content p {
  color: var(--color-subtle);
  font-size: 1.05rem;
}

.legal-content a {
  color: var(--color-accent-strong);
  font-weight: 800;
}

.legal-content a:hover {
  color: var(--color-accent);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 1rem;
  color: var(--color-subtle);
  font-size: 1.1rem;
}

.section-muted {
  background: var(--color-muted);
}

.section-heading {
  margin-bottom: 2rem;
}

.product-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: 760px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.product-card p {
  margin-top: 0.75rem;
  color: var(--color-subtle);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 220px;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.feature-card p {
  margin-top: 0.75rem;
  color: var(--color-subtle);
}

.disclaimer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.disclaimer ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-subtle);
  font-size: 1.05rem;
}

.legal-links-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--color-accent-strong);
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover,
.contact-link:hover,
.site-footer a:hover {
  color: var(--color-accent);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.contact-link {
  color: var(--color-accent-strong);
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  color: var(--color-subtle);
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2rem;
}

.footer-content ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-info {
  display: grid;
  gap: 0.25rem;
}

.footer-content a {
  font-weight: 700;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
    max-height: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .brand img {
    height: 36px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 72px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 0.9rem 1rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0.5rem 0.75rem;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .content-grid,
  .legal-layout,
  .disclaimer,
  .legal-links-panel,
  .contact-panel,
  .footer-content,
  .product-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: 88px;
  }

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

  .legal-links {
    flex-direction: column;
  }

  .footer-content ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
