html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #d9d9d9;
  background: #ffffff;
}

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

.brand {
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a.is-active,
.footer-nav a.is-active {
  font-weight: 700;
}

.icon-inline {
  margin-right: 0.45rem;
  width: 1rem;
  text-align: center;
}

h1 .icon-inline,
h2 .icon-inline,
h3 .icon-inline {
  display: inline-block;
  width: auto;
  margin-right: 0.85rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #222;
  margin: 6px 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  padding: 6rem 0 4rem;
}

.page-hero {
  padding-bottom: 1.6rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.07;
}

.lead {
  max-width: 72ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section-card {
  margin: 1rem auto 1.35rem;
  padding: 2rem;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #ffffff;
}

section[id] {
  scroll-margin-top: var(--header-offset, 72px);
}

.section-card h2 {
  margin-top: 0;
}

.info-grid {
  margin-top: 1rem;
}

.info-grid article {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 1rem;
  background: #ffffff;
}

ul {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
}

form .grid {
  gap: 1rem;
}

button[type="submit"] {
  margin-top: 0.35rem;
}

.form-feedback {
  min-height: 1.5rem;
  margin-top: 0.5rem;
}

.form-feedback.is-success {
  color: #1b7f3a;
}

.form-feedback.is-error {
  color: #b42318;
}

.site-footer {
  margin-top: 2.25rem;
  border-top: 1px solid #e2e2e2;
  padding: 1.35rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ececec;
}

.footer-brand {
  max-width: 56ch;
}

.footer-brand strong {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  color: #666;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 72px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 0.5rem;
    background: #ffffff;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.5rem 0.35rem;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .section-card {
    padding: 1.4rem;
  }

  .footer-wrap,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
