:root {
  --navy: #1C2E3A;
  --teal: #1FAF8F;
  --accent: #2BC59A;
  --grey-light: #D6DEE6;
  --white: #FFFFFF;
  --text-muted: #4a6070;
  --surface: #f7fafc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-muted);
  background: #ffffff;
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  padding: 24px 0;
}

.site-header {
  border-bottom: 1px solid var(--grey-light);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.site-logo {
  display: inline-block;
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--teal);
}

.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  margin-top: 6px;
}

.site-layout {
  padding: 48px 0 80px;
}

.hero {
  padding: 64px 0 32px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.page-title {
  margin: 0;
  font-size: clamp(2.25rem, 3.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.lead-copy,
.section-copy,
.card-copy,
.product-copy {
  color: var(--text-muted);
  max-width: 760px;
  font-size: 1rem;
}

.lead-copy {
  margin: 24px 0 32px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--grey-light);
  border-radius: 14px;
  padding: 24px;
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1.5px solid var(--grey-light);
  border-radius: 16px;
  background: #ffffff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--grey-light);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--navy);
  background: #f7fafc;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-support {
  padding: 28px;
  border: 1.5px solid var(--grey-light);
  border-radius: 16px;
  background: #f7fafc;
  color: var(--navy);
  display: grid;
  gap: 16px;
}

.contact-support h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.contact-support p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--surface);
}

.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid var(--grey-light);
}

.section-heading {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.section-copy {
  margin-bottom: 32px;
  max-width: 760px;
}

.card-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-row.card-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border-radius: 16px;
  border: 1.5px solid var(--grey-light);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card.featured {
  border-color: var(--teal);
}

.card p {
  margin: 0;
}

.card-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.card-note {
  color: #7a95a5;
  font-size: 0.95rem;
  line-height: 1.8;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  margin: 0;
  color: var(--text-muted);
}

.card-list li {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge.standard {
  background: var(--grey-light);
  color: var(--navy);
}

.badge.highlight {
  background: var(--teal);
  color: #ffffff;
}

.tag-row,
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #f2f7f4;
  border: 1px solid var(--grey-light);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.8rem;
  padding: 9px 14px;
}

.quote-block {
  border-left: 4px solid var(--teal);
  padding-left: 18px;
  margin-top: 36px;
}

.quote-block p {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-list li {
  margin: 0;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact a {
  color: var(--navy);
}

/* Hamburger toggle button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .stats-grid,
  .card-row,
  .card-row--3,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--grey-light);
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--grey-light);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }
}

.visual-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.visual-card {
  border: 1.5px solid var(--grey-light);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.visual-card img {
  width: 100%;
  display: block;
  height: auto;
}

.visual-caption {
  padding: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.image-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.image-card {
  border: 1.5px solid var(--grey-light);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
}

.image-card img {
  width: 100%;
  display: block;
  height: auto;
}

.image-card:hover {
  border-color: var(--teal);
}

.image-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 46, 58, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  padding: 24px;
}

.image-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-content {
  max-width: calc(100% - 64px);
  max-height: calc(100% - 64px);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .card-row,
  .card-row--3,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 680px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}
