/* ================================================================
   LawnCalendar landing page
   ================================================================ */

:root {
  --green-900: #14532d;
  --green-700: #166534;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --red-600: #dc2626;
  --amber-600: #d97706;
  --amber-50:  #fffbeb;
  --sky-500: #0ea5e9;

  --max-w: 1140px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 40px rgba(15,23,42,0.12);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--slate-900);
  background: white;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.container-narrow { max-width: 720px; }

/* ---------- Header ---------- */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--slate-200);
  background: white;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--green-900);
}
.brand-mark {
  color: var(--green-500);
  font-size: 22px;
  line-height: 1;
}
.header-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.header-links a {
  color: var(--slate-700);
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, white 0%, var(--green-50) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  color: var(--slate-900);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hl {
  color: var(--green-700);
  background: linear-gradient(180deg, transparent 60%, var(--green-100) 60%);
  padding: 0 2px;
}

.lede {
  font-size: 17px;
  color: var(--slate-700);
  margin-bottom: 14px;
  max-width: 560px;
}
.lede-secondary {
  font-size: 15px;
  color: var(--slate-500);
  margin-bottom: 28px;
}

/* ---------- Form ---------- */
.subscribe-form {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  max-width: 480px;
}
.form-row {
  margin-bottom: 14px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 4px;
}
.form-row .optional {
  font-weight: 400;
  color: var(--slate-500);
  font-size: 12px;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  background: white;
  color: var(--slate-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.cta {
  width: 100%;
  padding: 13px 18px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: var(--green-700);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  margin-top: 4px;
}
.cta:hover { background: var(--green-900); }
.cta:active { transform: translateY(1px); }
.cta:disabled {
  background: var(--slate-300);
  cursor: not-allowed;
}

.form-fine-print {
  font-size: 12px;
  color: var(--slate-500);
  margin: 12px 0 0 0;
  text-align: center;
}

.success-message {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--green-50);
  border: 1px solid var(--green-500);
  border-radius: 10px;
  max-width: 480px;
}
.success-message h3 {
  font-size: 18px;
  color: var(--green-900);
  margin-bottom: 6px;
}
.success-message p {
  font-size: 14px;
  color: var(--slate-700);
  margin: 4px 0;
}
.success-secondary { font-size: 13px !important; color: var(--slate-500) !important; }

.error-message {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fef2f2;
  border-left: 4px solid var(--red-600);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--slate-800);
  max-width: 480px;
}

/* ---------- Hero PDF preview art ---------- */
.hero-art { display: flex; justify-content: center; }
.pdf-preview {
  perspective: 1000px;
}
.pdf-page {
  width: 320px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  font-family: Georgia, serif;
  color: var(--slate-900);
}
.pdf-brand {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--green-700);
  text-align: center;
  margin-bottom: 24px;
}
.pdf-title {
  font-size: 22px;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 6px;
  text-align: center;
  font-weight: 600;
}
.pdf-sub {
  font-size: 12px;
  color: var(--slate-500);
  text-align: center;
  margin-bottom: 22px;
}
.pdf-meta {
  background: var(--green-50);
  border: 1px solid var(--green-500);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
}
.pdf-meta div { margin-bottom: 4px; color: var(--slate-700); }
.pdf-meta div:last-child { margin-bottom: 0; }
.pdf-meta strong { color: var(--green-900); }

.pdf-key-dates {
  border-top: 1px dashed var(--slate-200);
  padding-top: 12px;
}
.pdf-key-dates-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  margin-bottom: 8px;
  text-align: center;
}
.pdf-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 5px 0;
  border-bottom: 1px solid var(--slate-100);
}
.pdf-row:last-child { border-bottom: none; }
.pdf-row span:first-child { color: var(--slate-700); }
.pdf-row span:last-child {
  font-family: Georgia, serif;
  font-weight: 600;
  color: var(--green-900);
}

/* ---------- Generic sections ---------- */
.section-light { padding: 80px 0; background: white; }
.section-dark {
  padding: 80px 0;
  background: var(--slate-900);
  color: var(--slate-100);
}
.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--green-900);
  margin-bottom: 12px;
}
.section-title-light { color: var(--green-100); }
.section-intro {
  font-size: 16px;
  color: var(--slate-300);
  max-width: 640px;
  margin-bottom: 36px;
}

/* ---------- How it works grid ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
}
.how-card {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.how-step {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--green-700);
  color: white;
  border-radius: 50%;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-card h3 {
  font-size: 18px;
  color: var(--green-900);
  margin: 6px 0 8px 0;
}
.how-card p {
  font-size: 14px;
  color: var(--slate-700);
  margin: 0;
}

/* ---------- Sample preview ---------- */
.sample-month {
  background: white;
  color: var(--slate-900);
  border-radius: 14px;
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.sample-month-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 3px solid var(--green-500);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.sample-month-name {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--green-900);
}
.sample-month-headline {
  font-style: italic;
  color: var(--green-700);
  font-size: 14px;
  margin-top: 4px;
}
.sample-month-meta {
  font-size: 12px;
  color: var(--slate-500);
}

.sample-task {
  padding: 14px 16px;
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}
.sample-task p {
  font-size: 14px;
  color: var(--slate-700);
  margin: 6px 0 0 0;
}
.sample-task-critical {
  border-left-color: var(--red-600);
  background: #fef2f2;
}
.sample-task-essential {
  border-left-color: var(--green-700);
  background: var(--green-50);
}
.sample-task-recommended {
  border-left-color: var(--sky-500);
  background: #f0f9ff;
}
.sample-task-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.sample-task-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-900);
}
.sample-priority {
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  color: white;
}
.sample-priority-critical { background: var(--red-600); }
.sample-priority-essential { background: var(--green-700); }
.sample-priority-recommended { background: var(--sky-500); }
.sample-window {
  margin-top: 8px;
  padding: 6px 10px;
  background: white;
  border: 1px dashed var(--green-700);
  border-radius: 4px;
  font-size: 13px;
  color: var(--green-900);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 17px;
  color: var(--green-900);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 15px;
  color: var(--slate-700);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-50);
  padding: 28px 0;
  border-top: 1px solid var(--slate-200);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a { color: var(--slate-700); }
