:root {
  --primary: #174e3b;
  --primary-hover: #1f5c46;
  --page-bg: #ffffff;
  --alt-bg: #f7f8f7;
  --surface: #ffffff;
  --border: #e3e9e6;
  --text: #0f1720;
  --muted: #334155;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(15, 23, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, white);
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.section {
  padding: 5.75rem 0;
}

.section-alt {
  background: var(--alt-bg);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0b141b;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

p {
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(7, 22, 16, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--primary) 92%, black);
  box-shadow: 0 10px 24px rgba(7, 22, 16, 0.28);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: transparent;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 11px;
  margin-left: auto;
  flex: 0 0 auto;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle span {
  height: 2px;
  background: #ffffff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 4%;
  top: 72px;
  width: min(300px, 92vw);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.nav-links.open {
  display: block;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: #f4f8f6;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  font-size: 0.92rem;
  padding: 0.65rem 1rem;
}

.nav-menu .btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: none;
}

.nav-menu .btn-primary:hover {
  background: #f2f2f2;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(23, 78, 59, 0.22);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary,
.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border: 1px solid #cad4ce;
}

.btn-secondary:hover,
.btn-ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 6.5rem 0 5.8rem;
  background: var(--page-bg);
}

.hero-glow {
  position: absolute;
  inset: 0 -12% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(23, 78, 59, 0.12), rgba(23, 78, 59, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.subtext {
  color: var(--muted);
  max-width: 58ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-image-wrap {
  border-radius: 24px;
  background: linear-gradient(150deg, #f5fbf8 0%, #ffffff 75%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.video-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-wrap h2 {
  margin-bottom: 0.95rem;
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d6e4dd;
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.08);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.steps-grid,
.features-grid,
.footer-grid {
  display: grid;
  gap: 1.15rem;
}

.step-column,
.feature-card,
.safety-panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.05);
}

.step-column h3 {
  margin-bottom: 0.9rem;
}

.step-list {
  display: grid;
  gap: 0.7rem;
}

.step-card {
  padding: 0.8rem 0.9rem;
  background: #fbfcfb;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ecf5f1;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.feature-card p,
.safety-panel > p,
.footer-tagline,
.footer-contact,
.copyright {
  color: var(--muted);
}

.trust-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.trust-list li::marker {
  color: #5a6f67;
}

.cta-band {
  background: var(--primary);
  color: #ffffff;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  color: #ffffff;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
}

.centered {
  justify-content: center;
}

.btn-light {
  background: #ffffff;
  color: var(--primary);
}

.btn-light:hover {
  background: #f1f1f1;
}

.site-footer {
  background: var(--alt-bg);
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
}

.footer-grid {
  align-items: center;
}

.footer-brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #cfdad4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
}

@media (max-width: 767px) {
  .nav-menu {
    display: block;
  }

  .nav-menu .btn-small {
    display: none;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .nav-links {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .nav-links a {
    padding: 0.45rem 0.75rem;
    color: #ffffff;
    border-radius: 999px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: #ffffff;
    background: var(--primary-hover);
  }

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

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    justify-content: space-between;
  }
}
