/* Subpage styles — features / pricing / contact.
   The React versions of these pages used inline style objects rather than the
   CSS module. Those are extracted into classes here so the markup stays legible.
   Per-section accent colours are passed in as --c / --bg custom properties. */

.sub { background: #fff; color: #0d0d0d; font-family: var(--font-sans); }

/* ── Shared hero ──────────────────────────────────────────────────────────── */
.subHero { background: #f7f8f5; padding: 72px 48px; text-align: center; }
.subPill {
  display: inline-block; background: var(--bg, #e8f5ed); color: var(--c, #1a7a3c);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 100px; margin-bottom: 20px;
}
.subH1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; color: #0d0d0d; max-width: 700px; margin: 0 auto 16px;
}
.subH1sm { max-width: 600px; font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.subGreen { color: #1a7a3c; }
.subLead {
  font-size: 18px; color: #6b7280; max-width: 520px;
  margin: 0 auto; line-height: 1.65;
}
.subLeadNarrow { max-width: 460px; }
.subActions {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 32px; flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.bGreen {
  background: #1a7a3c; color: #fff; padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.bOutline {
  background: #fff; color: #0d0d0d; padding: 12px 28px; border-radius: 10px;
  font-weight: 500; font-size: 15px; text-decoration: none; border: 1.5px solid #e5e7eb;
}
.bDark {
  background: #0d0d0d; color: #fff; padding: 11px 24px; border-radius: 9px;
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.bOnGreen {
  background: #fff; color: #1a7a3c; padding: 13px 32px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.bOnGreenGhost {
  background: rgba(255,255,255,0.15); color: #fff; padding: 12px 28px;
  border-radius: 10px; font-weight: 500; font-size: 15px;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.4);
}

/* ── Feature groups (features.html) ───────────────────────────────────────── */
.grp { padding: 80px 48px; background: #fff; }
.grpAlt { background: #f7f8f5; }
.grpInner { max-width: 960px; margin: 0 auto; }
.grpHead { margin-bottom: 48px; }
.grpHead h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.025em; color: #0d0d0d; margin: 12px 0 14px; max-width: 600px;
}
.grpHead p { font-size: 17px; color: #6b7280; line-height: 1.65; max-width: 580px; margin: 0; }
.cardGrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px;
}
.card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px;
}
.cardIcon {
  width: 44px; height: 44px; background: var(--bg, #e8f5ed); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--c, #1a7a3c);
}
.card h3 { font-size: 15px; font-weight: 700; color: #0d0d0d; margin: 0 0 8px; }
.card p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }

/* ── Bottom CTA box ───────────────────────────────────────────────────────── */
.ctaWrap { padding: 80px 48px; background: #fff; }
.ctaBox {
  max-width: 800px; margin: 0 auto; background: #1a7a3c;
  border-radius: 20px; padding: 64px 48px; text-align: center;
}
.ctaBox h2 {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; color: #fff;
  line-height: 1.1; margin: 0 0 14px;
}
.ctaBox p {
  font-size: 16px; color: rgba(255,255,255,0.8); max-width: 400px;
  margin: 0 auto 28px; line-height: 1.65;
}
.ctaBoxBtns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Billing toggle (pricing.html) ────────────────────────────────────────── */
.billRow { display: flex; align-items: center; justify-content: center; gap: 12px; }
.billBtn {
  padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 400;
  background: transparent; color: #6b7280; border: 1.5px solid #e5e7eb;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.billBtnOn { font-weight: 600; background: #0d0d0d; color: #fff; border-color: #0d0d0d; }
.billSave {
  background: #e8f5ed; color: #1a7a3c; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
}
.billSwitch {
  width: 48px; height: 26px; border-radius: 100px; background: #1a7a3c;
  cursor: pointer; position: relative; flex-shrink: 0; border: none; padding: 0;
}
.billKnob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: left 0.2s;
}
.billSwitch[data-billing='annual'] .billKnob { left: 25px; }

/* ── Plan cards ───────────────────────────────────────────────────────────── */
.planSection { padding: 64px 48px; background: #f7f8f5; }
.planGrid {
  max-width: 1000px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch;
}
.plan {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
}
.planFeatured { border: 2px solid #1a7a3c; }
.planBadge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #1a7a3c; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.planHead { margin-bottom: 24px; }
.planHead h3 { font-size: 18px; font-weight: 700; color: #0d0d0d; margin: 0 0 6px; }
.planDesc { font-size: 13px; color: #6b7280; line-height: 1.5; margin: 0 0 20px; }
.planPrice { display: flex; align-items: baseline; gap: 6px; }
.planAmount { font-size: 36px; font-weight: 800; color: #0d0d0d; letter-spacing: -0.02em; }
.planPer { font-size: 13px; color: #6b7280; }
.planNote { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.planLimits {
  font-size: 12px; color: #6b7280; margin-top: 12px; padding: 6px 10px;
  background: #f9fafb; border-radius: 6px; display: inline-block;
}
.planCta {
  display: block; text-align: center; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; margin-bottom: 28px;
  background: transparent; color: #1a7a3c; border: 1.5px solid #1a7a3c;
}
.planCtaFeatured { background: #1a7a3c; color: #fff; border: none; }
.planList {
  list-style: none; margin: 0; padding: 0; display: flex;
  flex-direction: column; gap: 10px; flex: 1;
}
.planList li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151;
}
.planList svg { flex-shrink: 0; margin-top: 2px; }

.entCallout {
  max-width: 1000px; margin: 20px auto 0; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.entCallout h4 { font-size: 16px; font-weight: 700; color: #0d0d0d; margin: 0 0 4px; }
.entCallout p { font-size: 14px; color: #6b7280; margin: 0; }

/* ── Included grid + FAQ ──────────────────────────────────────────────────── */
.centerSection { padding: 80px 48px; background: #fff; }
.centerSectionAlt { background: #f7f8f5; }
.centerInner { max-width: 800px; margin: 0 auto; }
.centerInnerNarrow { max-width: 680px; }
.centerTitle {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; text-align: center;
  letter-spacing: -0.025em; margin: 0 0 48px;
}
.incGrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.incItem {
  background: #f7f8f5; border-radius: 12px; padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
}
.incIcon {
  width: 38px; height: 38px; background: #e8f5ed; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.incTitle { font-size: 14px; font-weight: 700; color: #0d0d0d; margin-bottom: 4px; }
.incBody { font-size: 13px; color: #6b7280; line-height: 1.5; }

.faqItem { padding: 24px 0; border-bottom: 1px solid #e5e7eb; }
.faqItem:last-child { border-bottom: none; }
.faqItem h3 { font-size: 16px; font-weight: 700; color: #0d0d0d; margin: 0 0 8px; }
.faqItem p { font-size: 15px; color: #6b7280; margin: 0; line-height: 1.65; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contactOptsWrap { padding: 64px 48px 0; background: #f7f8f5; }
.contactOpts {
  max-width: 960px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.contactOpt {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 24px; text-decoration: none; display: block; transition: border-color 0.15s;
}
.contactOpt:hover { border-color: #1a7a3c; }
.contactOpt h3 { font-size: 15px; font-weight: 700; color: #0d0d0d; margin: 0 0 6px; }
.contactOpt p { font-size: 13px; color: #6b7280; margin: 0 0 10px; line-height: 1.5; }
.contactAction { font-size: 13px; color: #1a7a3c; font-weight: 600; }

.formSection { padding: 64px 48px 80px; background: #f7f8f5; }
.formGrid {
  max-width: 960px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start;
}
.formInfo h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.025em; margin: 0 0 16px;
}
.formInfo > p { font-size: 16px; color: #6b7280; line-height: 1.65; margin: 0 0 32px; }
.formInfo a { color: #1a7a3c; font-weight: 600; text-decoration: none; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.stepNum {
  width: 32px; height: 32px; background: #e8f5ed; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #1a7a3c; flex-shrink: 0;
}
.stepTitle { font-size: 14px; font-weight: 700; color: #0d0d0d; margin-bottom: 3px; }
.stepBody { font-size: 13px; color: #6b7280; line-height: 1.5; }

.formCard {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px;
}
.formEl { display: flex; flex-direction: column; gap: 18px; }
.formRow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formLabel {
  display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px;
}
.formInput {
  width: 100%; padding: 11px 14px; border: 1px solid #e5e7eb; border-radius: 9px;
  font-size: 15px; color: #0d0d0d; background: #fff; outline: none;
  font-family: inherit; box-sizing: border-box;
}
.formInput:focus { border-color: #1a7a3c; }
textarea.formInput { resize: vertical; line-height: 1.6; }
.formSubmit {
  background: #1a7a3c; color: #fff; padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.formSubmit:disabled { background: #6b7280; cursor: not-allowed; }
.formFine { font-size: 12px; color: #9ca3af; text-align: center; margin: 0; }
.formFine a { color: #6b7280; text-decoration: none; }
.formError {
  font-size: 13px; color: #b91c1c; background: #fef2f2;
  border: 1px solid #fecaca; border-radius: 9px;
  padding: 10px 14px; margin: 0; line-height: 1.5;
}
.formError a { color: #b91c1c; font-weight: 600; }

/* Honeypot. Positioned off-screen rather than display:none — bots increasingly
   skip display:none and visibility:hidden fields, but still fill this one.
   /api/contact returns a fake success when it arrives populated. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.formDone { text-align: center; padding: 32px 0; }
.formDoneIcon {
  width: 56px; height: 56px; background: #e8f5ed; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.formDone h3 { font-size: 20px; font-weight: 700; color: #0d0d0d; margin: 0 0 8px; }
.formDone p { font-size: 15px; color: #6b7280; margin: 0 0 24px; line-height: 1.6; }
.formDoneBtn {
  background: #1a7a3c; color: #fff; padding: 10px 24px; border-radius: 9px;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer; font-family: inherit;
}

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .planGrid { grid-template-columns: 1fr; }
  .contactOpts { grid-template-columns: 1fr; }
  .formGrid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .subHero { padding: 56px 24px; }
  .grp, .centerSection, .ctaWrap { padding: 56px 24px; }
  .planSection, .formSection, .contactOptsWrap { padding-left: 24px; padding-right: 24px; }
  .formRow { grid-template-columns: 1fr; }
  .ctaBox { padding: 48px 24px; }
}
