:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --white: #ffffff;
  --max-width: 1200px;
  --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 20px 45px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--emerald-600);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--gray-900);
}

.site-brand__logo {
  height: 40px;
  width: auto;
  display: block;
}

.site-brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: var(--white);
  font-weight: 700;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  display: none;
}

.site-nav__list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav__link:focus,
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--emerald-600);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--emerald-500);
  outline-offset: 2px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: var(--white);
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  filter: brightness(1.05);
}

.primary-cta--nav .cta-text--short {
  display: inline;
}

.primary-cta--nav .cta-text--full {
  display: none;
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0.9rem;
  border: 2px solid var(--gray-300);
  font-weight: 600;
  color: var(--gray-900);
  background: var(--white);
  cursor: pointer;
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  border-color: var(--emerald-600);
  color: var(--emerald-600);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 60%);
}

.hero__grid {
  display: grid;
  gap: 3rem;
}

.hero__headline {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__subhead {
  font-size: 1.18rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  border: 1px dashed var(--emerald-500);
  background: repeating-linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0, rgba(16, 185, 129, 0.08) 20px, rgba(16, 185, 129, 0.16) 20px, rgba(16, 185, 129, 0.16) 40px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--emerald-700);
  font-weight: 600;
}

.media-frame {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: block;
  background: var(--white);
}

.media-placeholder small {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(17, 24, 39, 0.5));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.trust-bar {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  color: var(--gray-300);
  font-weight: 600;
}

.section {
  padding: 4.5rem 0;
}

.section__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section__intro h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  margin-bottom: 1rem;
}

.section__intro p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card--stacked h3 {
  margin-bottom: 0;
}

.card--stacked h3 + * {
  margin-top: 0;
}

.card p {
  color: var(--gray-600);
}

.badge-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.badge-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.badge-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-600);
  font-weight: 700;
}

.branded-strip {
  background: var(--emerald-50);
  border-radius: 1.5rem;
  padding: 3rem;
  margin: 3rem 0;
}

.stepper {
  display: grid;
  gap: 1.5rem;
}

.stepper__step {
  display: grid;
  gap: 0;
}

.stepper__label {
  font-weight: 700;
  color: var(--emerald-600);
  display: inline-block;
  margin-bottom: 0.1rem;
}

.stepper__step h3 {
  margin: 0 0 0.4rem;
}

.stepper__step p {
  margin: 0;
}

.split-panel {
  display: grid;
  gap: 2.5rem;
}

.feature-card {
  background: var(--gray-50);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}

.feature-card + .feature-card {
  margin-top: 1.5rem;
}

.timeline {
  border-left: 3px solid var(--emerald-100);
  padding-left: 1.5rem;
  display: grid;
  gap: 2rem;
}

.timeline__step {
  position: relative;
  padding-left: 0.5rem;
}

.timeline__step::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 5px var(--emerald-50);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
}

.tab-button[aria-selected="true"] {
  background: var(--emerald-600);
  color: var(--white);
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel[aria-hidden="false"] {
  display: grid;
  gap: 1.25rem;
}

.pricing-grid {
  display: grid;
  gap: 2rem;
}

.pricing-card {
  border-radius: 1.5rem;
  border: 1px solid var(--gray-200);
  padding: 2.5rem 2rem;
  background: var(--white);
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.pricing-card--highlight {
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--emerald-600);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials {
  display: grid;
  gap: 2rem;
}

.testimonial {
  border: 1px solid var(--gray-200);
  border-radius: 1.25rem;
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial__meta {
  margin-top: 1.5rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 600;
}

.faq {
  border-radius: 1.25rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--gray-200);
}

.faq details:last-of-type {
  border-bottom: none;
}

.faq summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
}

.support-cta {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(4, 120, 87, 0.12));
  border-radius: 1.5rem;
  padding: 3rem;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-grid__brand {
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: grid;
  gap: 1.25rem;
}

.footer-links h4 {
  margin: 0 0 0.75rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .hero {
    padding-top: 7rem;
  }

  .trust-bar__logos {
    gap: 3rem;
  }
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    gap: 2.5rem;
  }

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

  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
    align-items: center;
  }

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

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-drawer {
    display: none !important;
  }

  .primary-cta--nav .cta-text--short {
    display: none;
  }

  .primary-cta--nav .cta-text--full {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.mobile-drawer:not([hidden]) {
  display: flex;
}
