/* ThrivingLawn website: the same colors and type as the app. */
:root {
  --green: #2f7d4a;
  --green-dark: #1e5c35;
  --green-soft: #e6f4ea;
  --text: #14221a;
  --muted: #55645b;
  --line: #dfe7e2;
  --page: #f6f8f6;
  --card: #ffffff;
  --danger: #9b1c13;
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #8cc9a1; outline-offset: 2px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--green); display: grid; place-items: center; }
.nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--green); }
@media (max-width: 560px) {
  .brand { font-size: 18px; }
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .nav a { text-transform: capitalize; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #286c40; color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: #1e5c35 url('/images/generic-lawn.jpg') center 65% / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 40, 24, 0.86) 0%, rgba(14, 40, 24, 0.6) 55%, rgba(14, 40, 24, 0.15) 100%); }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; max-width: 14ch; }
.hero p.lead { margin: 0 0 26px; font-size: clamp(18px, 2.4vw, 21px); color: #e3f1e7; max-width: 36ch; }
.hero .note { margin: 16px 0 0; font-size: 14px; color: #cfe6d6; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
.section-lead { margin: 0 0 32px; color: var(--muted); max-width: 60ch; }
h3 { margin: 0 0 6px; font-size: 19px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .steps li { background: var(--page); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%; background: var(--green); color: #fff; font-weight: 800;
}
.steps p, .cards p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--page); }
.icon { min-width: 40px; width: fit-content; padding: 0 8px; height: 40px; font-weight: 800; font-size: 14px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 12px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.price-item strong { display: block; }
.price-item span { color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.faq { max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
section.alt .faq details { background: var(--page); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Waitlist */
.cta { background: var(--green); color: #fff; }
.cta h2 { color: #fff; }
.cta .section-lead { color: #e3f1e7; }
.waitlist { background: #fff; color: var(--text); border-radius: var(--radius); padding: 24px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 700; font-size: 15px; }
.field input {
  font: inherit; font-weight: 400; min-height: 48px; padding: 0 14px;
  border: 1px solid #cfdad3; border-radius: 12px; background: #fff; color: var(--text);
}
.field-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--green-dark); }
.form-status.error { color: var(--danger); }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); color: #fff; font-weight: 700; font-size: 14px; }
.store small { font-weight: 600; opacity: 0.8; }

/* Footer */
.site-footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 16px; }

/* Plain text pages */
.prose { max-width: 720px; padding: 48px 20px 64px; }
.prose h1 { font-size: 36px; margin: 0 0 12px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
