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

:root {
  --green: #0a8754;
  --green-dark: #086b43;
  --ink: #1a2230;
  --muted: #56607a;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --border: #e3e8ee;
  --radius: 12px;
  --maxw: 1080px;
  --shadow: 0 6px 24px rgba(16, 32, 24, 0.08);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 18px;
  padding-bottom: 88px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }

p { color: var(--muted); }
strong { color: var(--ink); }
a { color: var(--green-dark); }

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

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }

.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand-mark { font-size: 1.25rem; }
.brand-name { font-size: 1rem; letter-spacing: -0.01em; }

/* ===== Hero ===== */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0;
  text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, #eafaf2 0%, #ffffff 60%);
}
.hero h1 { margin-bottom: 1.25rem; }
.lede { font-size: clamp(1.1rem, 2.5vw, 1.3rem); max-width: 620px; margin: 0 auto 1.75rem; }
.hero .lede { color: var(--muted); }
.hero-note { font-size: 0.9rem; margin-top: 0.9rem; }

/* ===== Feature grid ===== */
.feature-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.guarantee {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.15rem;
  padding: 1rem;
  background: #eafaf2;
  border-radius: var(--radius);
}

/* ===== Pricing ===== */
.pricing-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: #8fd4b4;
  background: #f2fbf6;
}
.prelaunch-note {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1.1rem;
  background: #fff7e6;
  border: 1px solid #f0d28a;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #5b4708;
}
.prelaunch-note a {
  color: inherit;
  font-weight: 700;
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a5b39;
  background: #d8f3e6;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.6rem;
}
.price {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.35rem 0 0.4rem;
}
.price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.price-points {
  margin-top: 0.75rem;
  padding-left: 1rem;
}
.price-points li {
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.comparison-wrap {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  background: #fff;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.comparison-table caption {
  text-align: left;
  font-weight: 700;
  padding: 1rem 1rem 0.5rem;
  color: var(--ink);
}
.comparison-table th,
.comparison-table td {
  border-top: 1px solid var(--border);
  padding: 0.8rem 1rem;
  text-align: left;
  color: var(--muted);
}
.comparison-table thead th {
  color: var(--ink);
  font-weight: 700;
  background: #f7fbf8;
}
.comparison-table tbody th {
  color: var(--ink);
  font-weight: 700;
}
.comparison-note {
  margin-top: 0.8rem;
  font-size: 0.83rem;
}

/* ===== Why list ===== */
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }
.why-list li {
  padding-left: 1.9rem;
  position: relative;
  color: var(--muted);
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* ===== Testimonials ===== */
.placeholder-note { font-size: 0.85rem; font-style: italic; margin-bottom: 1.5rem; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.testimonials blockquote {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #8fd4b4;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.testimonials p { color: var(--ink); margin-bottom: 0.75rem; }
.testimonials cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

/* ===== Signup form ===== */
.signup { text-align: center; }
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 520px;
  margin: 1.75rem auto 0;
}
.signup-form input[type="email"] {
  flex: 1 1 260px;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.signup-form input[type="email"]:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.form-error { flex-basis: 100%; color: #b00020; font-size: 0.9rem; }

.signup-success {
  margin: 1.75rem auto 0;
  max-width: 520px;
  background: #eafaf2;
  border: 1px solid #bfe8d3;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.signup-success h3 { margin-bottom: 0.4rem; }

.pricing-soft { font-size: 0.9rem; margin-top: 1.75rem; }

/* ===== FAQ ===== */
.faq { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; }

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 1.2rem));
  z-index: 25;
  background: rgba(8, 107, 67, 0.97);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(8, 34, 24, 0.28);
}
.sticky-cta p {
  color: #ecfff7;
  font-size: 0.92rem;
  margin: 0;
  font-weight: 600;
}
.sticky-cta .btn {
  background: #fff;
  color: #0a5b39;
}
.sticky-cta .btn:hover {
  background: #f2fff8;
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.copyright { font-size: 0.9rem; }
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { font-size: 0.9rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* ===== Utilities ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  body { padding-bottom: 102px; }
  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }
  .sticky-cta .btn {
    text-align: center;
  }
  .comparison-table { min-width: 520px; }
  .comparison-table th,
  .comparison-table td { padding: 0.6rem 0.7rem; font-size: 0.9rem; }
  .signup-form input[type="email"] { flex-basis: 200px; }
}
