/* Pricing (launch prices), model costs, trust row, FAQ, sticky CTA, consent banner. */
#faq { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ================= Pricing ================= */
#pricing { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.pricing-head { text-align: center; margin-bottom: 28px; display: flex; flex-direction: column; align-items: center; }
.pricing-head h2 { line-height: 1.02; }
.pricing-head h2 .h2-b { display: block; }
.pricing-sub { margin-top: 16px; max-width: 34em; color: var(--ink-2); font-size: 18px; }
.pricing-launch-line { display: inline-block; margin-top: 18px; padding: 9px 18px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35; max-width: 52em; text-wrap: balance; }
.billing-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.billing-switch { position: relative; display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); }
.billing-slider { position: absolute; z-index: 0; top: 4px; left: 0; height: 44px; width: 0; border-radius: var(--r-pill); background: var(--forest); transition: transform .26s var(--ease), width .26s var(--ease); }
.billing-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; transition: color .2s var(--ease); }
.billing-btn[aria-pressed="true"] { color: #fff; }
.billing-save { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 700; }

.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 24px 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink-2); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-size: 22px; font-weight: 600; }
.plan-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-pill); background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 700; }
.plan-desc { margin-top: 8px; min-height: 3em; font-size: 15px; line-height: 1.45; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-currency { font-size: 26px; font-weight: 600; }
.plan-amount { font-size: 60px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan-per { margin-left: 4px; font-size: 15px; color: var(--muted); }
.plan-billed-wrap { min-height: 22px; margin-top: 6px; }
.plan-billed { font-size: 13px; color: var(--muted); }
.plan-launch { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 10px 0 18px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.plan-launch-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: var(--r-pill); background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 700; letter-spacing: .01em; }
.plan-launch-note { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.plan-cta { width: 100%; min-height: 48px; padding: 0 20px; margin-top: 6px; }
.plan-features { display: grid; gap: 10px; margin-top: 22px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.plan-features svg { flex: none; width: 20px; height: 20px; color: var(--ink-2); }
.plan-divider { height: 1px; margin: 22px 0 16px; background: var(--line); }
.plan-includes-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.plan-includes { display: grid; gap: 10px; }
.plan-includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; }
.plan-check { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.plan-check svg { width: 11px; height: 11px; stroke-width: 3; }
.plan-soon { display: inline-flex; align-items: center; height: 20px; margin-left: 4px; padding: 0 8px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); font-size: 11px; font-weight: 600; vertical-align: 1px; }

/* highlighted plan: the dark forest card */
.plan-pro { background: var(--forest); color: rgba(255, 255, 255, .82); }
.plan-pro .plan-name, .plan-pro .plan-price, .plan-pro .plan-features li { color: #fff; }
.plan-pro .plan-per, .plan-pro .plan-billed, .plan-pro .plan-includes-title { color: rgba(255, 255, 255, .7); }
.plan-pro .plan-features svg { color: rgba(255, 255, 255, .82); }
.plan-pro .plan-launch { background: rgba(255, 255, 255, .08); }
.plan-pro .plan-launch-note { color: rgba(255, 255, 255, .86); }
.plan-pro .plan-divider { background: rgba(255, 255, 255, .14); }
.plan-pro .plan-soon { background: rgba(255, 255, 255, .14); color: #fff; }
.plan-pro .btn-lime { padding: 0 20px; }

.pricing-note { max-width: 46em; margin: 28px auto 0; text-align: center; color: var(--ink-2); font-size: 15px; }
.pricing-noscript { margin: 16px auto 0; text-align: center; color: var(--ink); font-weight: 600; }
.trust-row { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 32px; max-width: 1000px; margin: 28px auto 0; }
.trust-row li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--ink); }
.trust-row svg { flex: none; padding: 5px; box-sizing: content-box; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.relax-note { max-width: 56em; margin: 18px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }

.credit-costs { max-width: 920px; margin: 36px auto 0; padding: 26px 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.credit-costs h3 { font-size: 20px; margin-bottom: 14px; }
.credit-costs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.credit-costs li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credit-costs .cc-model { font-weight: 600; color: var(--ink); }
.credit-costs .cc-what { color: var(--muted); font-size: 14px; }
.credit-costs .cc-credits { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; min-width: 9ch; }

/* ================= FAQ ================= */
#faq .container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 32px 64px; align-items: start; }
#faq .section-head { margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-1); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 24px; font-weight: 600; font-size: 18px; color: var(--ink); cursor: pointer; list-style: none; border-radius: var(--r-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; max-width: 62em; }

/* ================= Sticky CTA (phones) + consent ================= */
.sticky-cta { display: none; }
.consent {
  position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px; max-width: 580px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 16px 18px; border-radius: var(--r-lg); color: var(--ink-2); font-size: 14px; line-height: 1.45;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2);
}
.consent p { flex: 1 1 220px; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.consent .btn { padding: 0 20px; }
.consent-link { font-weight: 500; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

@media (max-width: 900px) { #faq .container { grid-template-columns: 1fr; } #faq .section-head { position: static; margin-bottom: 8px; } }
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 760px) {
  :root { --sticky-h: 72px; }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
  .trust-row { grid-template-columns: 1fr; justify-content: start; max-width: 320px; margin-left: 0; }
  .credit-costs { padding: 20px 16px; }
  .credit-costs ul { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 16px; padding: 12px 18px; }
  .faq-item p { padding: 0 18px 18px; }
  .sticky-cta {
    display: flex; position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px;
    min-height: 56px; padding: 6px 6px 6px 20px; border-radius: var(--r-pill); background: var(--forest); box-shadow: var(--shadow-2);
    transform: translateY(160%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; }
  .sticky-text { color: #fff; font-weight: 600; font-size: 15px; }
  .sticky-cta .btn { min-height: 44px; padding: 0 22px; }
  .consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  .sticky-on .consent { bottom: calc(var(--sticky-h) + 12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { .billing-btn { padding: 0 14px; gap: 6px; font-size: 14px; } }
