/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #ffffff;
  color: #000000;
}

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

img {
  max-width: 100%;
  display: block;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding-block: 0.25rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding-block: 3.5rem 3rem;
}

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

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.5rem 0 1rem;
}

.hero-description {
  max-width: 34rem;
  line-height: 1.6;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero panel */
.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #000000;
  font-size: 0.95rem;
  cursor: pointer;
  background-color: transparent;
}

.btn-primary {
  background-color: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline:hover {
  background-color: #f0f0f0;
}

/* Sections */
.section {
  padding-block: 3rem;
}

.section-alt {
  background-color: #fafafa;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
}

/* Features grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  line-height: 1.6;
}

/* How it works */
.how-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.steps-card {
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
}

.steps-card ol {
  padding-left: 1.25rem;
  margin: 0;
  line-height: 1.8;
}

/* CTA */
.cta-section {
  border-top: 1px solid #e0e0e0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e0e0e0;
  padding-block: 1.25rem;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

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

  .how-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 56px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    display: none;
  }

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

  .nav-toggle {
    display: block;
  }
}