*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body, * {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  color: #1A1A1A;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── Container ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3 {
  letter-spacing: -0.02em;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 48px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: #1B5E20;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.25);
}

.btn-inverse {
  display: inline-block;
  background: #fff;
  color: #1B5E20;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.btn-inverse:hover {
  background: #F5F3EF;
}

/* ── Nav ─────────────────────────────────────────────── */
nav {
  background: #FFFFFF;
  border-bottom: 1px solid #E0DDD8;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-cta {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #1B5E20;
  text-decoration: none;
  padding: 8px 16px;
  border: 1.5px solid #1B5E20;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover {
  background: #1B5E20;
  color: #fff;
}

/* ── Section base ────────────────────────────────────── */
section {
  padding: 62px 0;
}

/* ── Section backgrounds ─────────────────────────────── */
#hero    { background: #F5F3EF; }
#recover { background: #FFFFFF; }
#how     { background: #F5F3EF; }
#pricing { background: #FFFFFF; }
#about   { background: #F5F3EF; }
#audit   { background: #1A1A1A; color: #FFFFFF; text-align: center; }

/* ── Hero ────────────────────────────────────────────── */
#hero {
  padding: 78px 0 52px;
}

#hero h1 {
  margin-bottom: 24px;
}

#hero .subhead {
  font-size: 1.0625rem;
  color: #6B7280;
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── What We Recover ─────────────────────────────────── */
#recover .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.recover-card {
  background: #FFFFFF;
  border: 1px solid #E0DDD8;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.recover-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.recover-icon {
  width: 32px;
  height: 32px;
  color: #1B5E20;
  flex-shrink: 0;
}

.recover-card h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.recover-card p {
  font-size: 1.0625rem;
  color: #6B7280;
  line-height: 1.6;
}

/* ── How It Works ────────────────────────────────────── */
#how .steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  border-left: 4px solid #1B5E20;
  padding: 8px 0 32px 24px;
}

.step:last-child {
  padding-bottom: 0;
}

.step-number {
  font-size: 4rem;
  font-weight: 500;
  color: #1B5E20;
  line-height: 1;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.step p {
  font-size: 1.0625rem;
  color: #6B7280;
  line-height: 1.7;
}

/* ── Pricing ─────────────────────────────────────────── */
#pricing .pricing-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
}

.pricing-item h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pricing-item p {
  font-size: 1.0625rem;
  color: #6B7280;
}

.pricing-note {
  font-size: 1.0625rem;
  color: #6B7280;
  font-style: italic;
}

/* ── About ───────────────────────────────────────────── */
#about .about-text {
  font-size: 1.0625rem;
  color: #1A1A1A;
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}

#about .team {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.team-avatar {
  width: 60px;
  height: 60px;
  background: #1B5E20;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.team-card .name {
  font-weight: 500;
  font-size: 1.0625rem;
}

.team-card .role {
  font-size: 1.0625rem;
  color: #6B7280;
}

/* ── CTA Band ────────────────────────────────────────── */
#audit {
  padding: 104px 0;
}

#audit h2 {
  color: #fff;
}

#audit .subtext {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: #1A1A1A;
  padding: 36px 0;
  font-size: 1.0625rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer span {
  color: #6B7280;
}

footer a {
  color: #6B7280;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── 640px: 2-col cards & side-by-side pricing ───────── */
@media (min-width: 640px) {
  #recover .grid {
    grid-template-columns: 1fr 1fr;
  }

  #pricing .pricing-items {
    flex-direction: row;
  }

  .pricing-item {
    flex: 1;
  }
}

/* ── 768px: desktop layout ───────────────────────────── */
@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }

  section {
    padding: 104px 0;
  }

  #hero {
    padding: 104px 0 78px;
  }

  /* Steps: 3-col grid with connecting line */
  #how .steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
  }

  #how .steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #6B7280;
    z-index: 0;
  }

  .step {
    border-left: none;
    padding: 0;
    position: relative;
    z-index: 1;
  }

  .step-number {
    display: inline-block;
    background: #F5F3EF;
    padding-right: 10px;
    position: relative;
    z-index: 1;
  }

  #about .team {
    flex-direction: row;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
