/* ============ p2 design system ============
   Shared by /pricing and /how-it-works-greenhouse.
   Page-specific styles (plan cards, steps, etc.) live inline on each page. */
:root {
  --p2-green: #3d8270;
  --p2-green-dark: #2e6a5a;
  --p2-forest: #223c31;
  --p2-olive: #50574c;
  --p2-ink: #3d4439;
  --p2-lime: #ccde65;
  --p2-mist: #eef7f4;
  --p2-line: #e3e8e1;
  --p2-radius: 16px;
  --p2-shadow: 0 2px 24px rgba(56, 130, 112, 0.10), 0 1px 4px rgba(80, 87, 76, 0.08);
}

.p2 {
  font-family: 'Albert Sans', Arial, sans-serif;
  color: var(--p2-ink);
}

.p2-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.p2-section {
  padding: 48px 0;
}

.p2-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p2-green);
  margin-bottom: 12px;
}

.p2-h2 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--p2-olive);
  margin: 0 0 14px;
}

.p2-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--p2-olive);
  max-width: 640px;
  margin: 0 auto;
}

.p2-center {
  text-align: center;
}

.p2-btn {
  display: inline-block;
  background-color: var(--p2-green);
  color: #fff;
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.p2-btn:hover {
  background-color: var(--p2-green-dark);
  transform: translateY(-1px);
}

.p2-btn--lime {
  background-color: var(--p2-lime);
  color: var(--p2-forest);
}

.p2-btn--lime:hover {
  background-color: #bfd254;
}

.p2-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--p2-green);
  color: var(--p2-green);
}

.p2-btn--ghost:hover {
  background: var(--p2-mist);
  transform: translateY(-1px);
}

/* ============ hero ============ */
.p2-hero {
  padding: 152px 0 8px;
}

.p2-hero-card {
  background: linear-gradient(135deg, #35604f 0%, var(--p2-forest) 62%);
  border-radius: 24px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.p2-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p2-lime);
  margin-bottom: 16px;
}

.p2-hero-h1 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 20px;
}

.p2-hero-copy {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

.p2-hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p2-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.p2-hero-points .p2-tick {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(204, 222, 101, 0.18);
  color: var(--p2-lime);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ form card ============ */
.p2-form-card {
  background: #fff;
  border-radius: var(--p2-radius);
  box-shadow: 0 12px 44px rgba(15, 38, 30, 0.28);
  padding: 36px 34px 30px;
}

.p2-form-card h2 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  color: var(--p2-olive);
  margin: 0 0 8px;
}

.p2-form-card .p2-form-note {
  font-size: 14.5px;
  line-height: 1.55;
  color: #6b7265;
  margin-bottom: 22px;
}

.p2-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.p2-form-card input[type="text"],
.p2-form-card input[type="email"],
.p2-form-card input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Albert Sans', sans-serif;
  font-size: 14.5px;
  color: var(--p2-ink);
  background: #f7f9f6;
  border: 1px solid var(--p2-line);
  border-radius: 10px;
  padding: 13px 14px;
  margin: 0;
  height: auto;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.p2-form-card input:focus {
  outline: none;
  border-color: var(--p2-green);
  box-shadow: 0 0 0 3px rgba(61, 130, 112, 0.14);
}

.p2-form-card input::placeholder {
  color: #9aa295;
}

.p2-terms {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 18px;
  font-size: 14px;
  color: #6b7265;
}

.p2-terms input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--p2-green);
  flex-shrink: 0;
}

.p2-terms a {
  color: var(--p2-green);
  font-weight: 600;
  text-decoration: none;
}

.p2-terms a:hover {
  text-decoration: underline;
}

.p2-form-card .p2-btn {
  width: 100%;
  text-align: center;
}

.p2-form-fineprint {
  font-size: 12.5px;
  line-height: 1.5;
  color: #8b927f;
  text-align: center;
  margin-top: 14px;
}

.p2-form-card .w-form-done,
.p2-form-card .w-form-fail {
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
}

/* ============ mist include container ============ */
.p2-include {
  background: var(--p2-mist);
  border-radius: 24px;
  padding: 56px 48px;
}

.p2-include-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.p2-include-col h3 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p2-green);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(61, 130, 112, 0.22);
}

.p2-include-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p2-include-col li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--p2-ink);
}

.p2-include-col .p2-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(61, 130, 112, 0.14);
  color: var(--p2-green);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ gradient band CTA ============ */
.p2-band {
  background: linear-gradient(135deg, #35604f 0%, var(--p2-forest) 70%);
  border-radius: 24px;
  padding: 52px 48px;
  text-align: center;
}

.p2-band h2 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--p2-lime);
  margin: 0 0 12px;
}

.p2-band p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto 26px;
}

/* ============ FAQ ============ */
.p2-faq {
  max-width: 780px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(80, 87, 76, 0.22);
}

.faq-item:first-child {
  border-top: 1px solid rgba(80, 87, 76, 0.22);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 22px 4px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--p2-olive);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--p2-green);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 4px 22px;
  font-family: 'Albert Sans', Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--p2-ink);
}

.faq-answer-inner p {
  margin: 0;
}

/* ============ responsive (shared) ============ */
@media (max-width: 991px) {
  .p2-hero-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 32px;
  }

  .p2-hero-h1 {
    font-size: 36px;
  }

  .p2-include-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .p2-section {
    padding: 36px 0;
  }

  .p2-h2 {
    font-size: 30px;
  }

  .p2-hero-card {
    padding: 36px 22px;
    border-radius: 18px;
  }

  .p2-hero-h1 {
    font-size: 30px;
  }

  .p2-form-card {
    padding: 26px 20px 22px;
  }

  .p2-form-grid {
    grid-template-columns: 1fr;
  }

  .p2-include {
    padding: 36px 22px;
    border-radius: 18px;
  }

  .p2-include-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .p2-band {
    padding: 36px 22px;
    border-radius: 18px;
  }

  .p2-band h2 {
    font-size: 26px;
  }
}
