/* Pricing page. Brand tokens from styles.css. Poppins is inherited. */
.hy-pricing { padding-top: 28px; }
/* Oct 22 (David 5:13 PM): the dark-green banner stays; the Producer / Broker toggle sits on its right, vertically centred. */
.hy-price-hero {
  background: var(--green-d);
  color: #f6f3ea;
  border-radius: 16px;
  padding: 36px 32px 32px;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  column-gap: 32px;
}
.hy-price-hero-text { min-width: 0; }
.hy-price-hero .kicker { color: var(--gold); margin-bottom: 8px; }
.hy-price-hero .page-title { color: #f6f3ea; max-width: 18ch; }
.hy-price-hero .lead { color: #dfe9e2; max-width: 40rem; margin: 10px 0 0; font-size: 1.05rem; }
/* Oct 22 (David 4:54 PM): both toggles hug their options (same compact pill on desktop and phone). */
.hy-pricing .hy-price-audience,
.hy-pricing .plan-billing { display: inline-flex; width: fit-content; max-width: 100%; border-radius: 999px; padding: 3px; gap: 2px; }
.hy-pricing .hy-price-audience button,
.hy-pricing .plan-billing button { flex: none; min-width: 0; min-height: 38px; padding: 7px 18px; border-radius: 999px; font-size: 0.92rem; }
/* The toggle on dark green: a light pill, the chosen side filled in green. */
.hy-pricing .hy-price-hero .hy-price-audience { flex: none; margin: 0; justify-self: center; background: #f6f3ea; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12); }
.hy-pricing .hy-price-hero .hy-price-audience button { color: var(--green-d); }
.hy-pricing .hy-price-hero .hy-price-audience button.on { background: var(--green-d); color: #fff; box-shadow: 0 1px 4px rgba(20, 32, 24, 0.25); }
.hy-pricing .hy-price-hero .hy-price-audience button:focus-visible { outline-color: var(--gold); }
.hy-price-block[hidden] { display: none; }
.hy-price-block { margin: 0 0 40px; }
.hy-price-block > h2 { margin-bottom: 8px; }
.hy-price-block > .sub { margin-bottom: 18px; }
.hy-pricing .plans { align-items: stretch; }
.hy-pricing .plan { display: flex; flex-direction: column; height: 100%; }
.hy-pricing .plan-for { margin: 0 0 8px; color: var(--ink-soft); font-size: 0.92rem; }
.hy-pricing .plan.featured .plan-for { color: #dfe9e2; }
.hy-pricing .plan-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(196, 163, 90, 0.28);
  color: #f3e2b4;
  font-size: 0.78rem;
  font-weight: 700;
}
.hy-pricing .plan-actions { margin-top: auto; }
.hy-pricing .plan-alt { margin: 0 0 10px; font-size: 0.92rem; }
/* Oct 22 (David 4:52 PM): equal-height cards; the button block is pushed to the bottom so the buttons line up in a row. */
.hy-pricing .plan > ul { flex: 1 0 auto; }
.hy-pricing .plan-actions .btn { box-sizing: border-box; min-height: 44px; display: flex; align-items: center; justify-content: center; }
/* Checkout step: renewal and cancel terms right above the Stripe payment form (moved from the pricing cards). */
.co-terms { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--green-l, #eef4ef); color: var(--ink); font-size: 0.9rem; line-height: 1.5; }
.hy-pricing .plan.featured .plan-alt a { color: #f3e2b4; text-decoration: underline; text-underline-offset: 2px; }
.hy-pricing .plan-renew { margin: 12px 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--ink-soft); }
.hy-pricing .plan.featured .plan-renew { color: #dfe9e2; }
.hy-pricing .plan-broker-top { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.hy-pricing .plan-save[hidden] { display: none; }
.hy-pricing .plan-billing { margin-top: 4px; }
.hy-pricing .plan-billing button:focus-visible,
.hy-pricing .hy-price-audience button:focus-visible,
.hy-pricing a:focus-visible,
.hy-pricing summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.hy-why-grid, .hy-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hy-why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
}
.hy-why-card h3 { margin: 0 0 6px; font-size: 1rem; color: var(--ink); }
.hy-why-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.45; }
.hy-benefit { display: flex; flex-direction: column; padding: 18px 18px 20px; }
.hy-benefit-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  margin: 0 0 14px;
  border-radius: 12px;
  background: var(--green-l);
}
.hy-benefit-art svg { width: 100%; max-width: 180px; height: 112px; }
.hy-benefit h3 { font-size: 1.12rem; }
.hy-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hy-compare-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.hy-compare-producer { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.hy-compare-card h3 { margin: 0 0 12px; font-size: 1.12rem; color: var(--ink); }
.hy-compare-list { list-style: none; margin: 0; padding: 0; }
.hy-compare-list li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; color: var(--ink); font-size: 0.95rem; line-height: 1.4; }
.hy-compare-mark { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; }
.hy-compare-when { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.hy-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.hy-break-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 8px;
}
.hy-break-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.hy-break-card p { margin: 0 0 12px; }
.hy-break-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hy-pricing .faq details { margin-top: 10px; }
.hy-pricing .faq summary { font-weight: 650; }
.hy-pricing .faq p { margin: 10px 0 0; }

@media (max-width: 980px) {
  .hy-why-grid, .hy-trust, .hy-break, .hy-break-3, .hy-compare { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hy-pricing { padding-top: 12px; }
  .hy-price-hero { display: flex; flex-direction: column; align-items: stretch; padding: 28px 18px; gap: 18px; }
  .hy-price-hero .page-title { max-width: none; }
  .hy-pricing .hy-price-hero .hy-price-audience { align-self: center; }
}
