/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafaf7;
  --bg-alt: #f0ede6;
  --fg: #1a1a1a;
  --fg-muted: #6b6b6b;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --green: #1a3d2b;
  --green-light: #2a5c40;
  --border: #e0dcd4;
  --card-bg: #ffffff;
  --card-shadow: 0 2px 12px rgba(26,61,43,0.07);
  --card-shadow-hover: 0 6px 24px rgba(26,61,43,0.13);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* === Hero === */
.hero {
  padding: 80px 24px 96px;
  background: var(--bg);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--green);
  margin-bottom: 20px;
  font-optical-sizing: auto;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-search { }

.search-box {
  display: flex;
  background: var(--card-bg);
  border: 1.5px solid var(--green);
  border-radius: 10px;
  overflow: hidden;
  max-width: 420px;
  box-shadow: var(--card-shadow);
}

.search-input {
  flex: 1;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
}

.search-input::placeholder {
  color: #aaa;
}

.search-btn {
  padding: 14px 24px;
  background: var(--green);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--green-light);
}

.search-hint {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* Hero Card */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-alt);
}

.card-row:last-of-type {
  border-bottom: none;
}

.card-row--featured {
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, rgba(245,166,35,0.02) 100%);
  border-radius: 8px;
  padding: 12px 10px;
  margin-bottom: 4px;
  border: 1px solid rgba(245,166,35,0.2);
}

.card-row--muted { opacity: 0.7; }

.card-rank {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.card-info {
  flex: 1;
}

.card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.card-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

.card-price {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  text-align: right;
  flex-shrink: 0;
}

.card-price span {
  font-size: 0.72rem;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  color: var(--fg-muted);
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.card-footer-note {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* === How It Works === */
.how {
  background: var(--bg-alt);
  padding: 80px 24px;
}

.how-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 56px;
  max-width: 560px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(26,61,43,0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === Pricing Comparison === */
.pricing {
  padding: 80px 24px;
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.pricing-col {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.pricing-col--lawnrank {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(26,61,43,0.08);
}

.pricing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(26,61,43,0.08);
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.pricing-badge--other {
  color: var(--fg-muted);
  background: var(--bg-alt);
}

.pricing-features {
  list-style: none;
}

.pricing-feature {
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-feature::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.pricing-feature--on::before {
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.pricing-feature--on { color: var(--fg); font-weight: 500; }

.pricing-feature--off {
  color: var(--fg-muted);
  text-decoration: line-through;
}

.pricing-feature--off::before {
  background: #ccc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* === Contractor CTA === */
.contractor {
  background: linear-gradient(135deg, #f4f7f4 0%, #edf2ee 100%);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contractor-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.contractor-icon {
  flex-shrink: 0;
}

.contractor-heading {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 12px;
}

.contractor-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 620px;
}

/* === Closing === */
.closing {
  padding: 96px 24px;
  background: var(--green);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 20px;
  font-style: italic;
}

.closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* === Footer === */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
}

.footer-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text { order: 2; }
  .hero-card { order: 1; }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .contractor-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .search-box { flex-direction: column; }
  .search-btn { border-radius: 8px; }
  .nav-tagline { display: none; }
  .hero { padding: 48px 20px 64px; }
  .how, .pricing { padding: 56px 20px; }
}