/* Pricing page (/pricing/). Shared tokens, sections, trays, cards and buttons come from site.css. */
.is-hidden { display: none !important; }
.page-head h1 { max-width: 24ch; }

/* Billing period switch and discount badge */
.plans-sec .col { padding-top: 48px; }
.billing { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.discount { display: inline-block; font-size: 14px; font-weight: 600; color: #fff; background: var(--h-blue); border-radius: 999px; padding: 6px 14px; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 4px; background: var(--h-tray); border: 1px solid var(--h-tray-line); border-radius: 999px; }
.seg button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--h-text-2); font-weight: 500; transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--h-ink); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--h-blue-hover); box-shadow: 0 1px 3px rgba(20, 40, 100, .12); }

/* Plan cards */
.plans { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.plan { padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: var(--h-blue); box-shadow: 0 0 0 1px var(--h-blue); }
.plan h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-sub { margin-top: 4px; font-size: 15px; color: var(--h-text-3); }
.price .num { font-size: 40px; line-height: 1.1; }
.price .was { font-size: 22px; color: var(--h-text-3); margin-right: 8px; }
.price .was:empty { display: none; }
.price .per { color: var(--h-text-3); white-space: nowrap; }
.then { margin-top: -12px; font-size: 14px; color: var(--h-ok-ink); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--h-text-2); }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--h-blue); font-weight: 600; }
.plan-cta { margin-top: auto; }
.plan .btn { padding: 12px; font-size: 15px; }
.seats { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 15px; color: var(--h-text-2); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper span { min-width: 56px; text-align: center; white-space: nowrap; }
.stepper button { min-width: 36px; min-height: 36px; border: 1px solid var(--h-btn-line); border-radius: 999px; background: #fff; color: var(--h-ink); font-size: 18px; line-height: 1; }
.stepper button:hover { border-color: var(--h-blue); color: var(--h-blue); }
.total { white-space: nowrap; color: var(--h-ink); font-weight: 600; }
.fine { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--h-text-3); }

/* Enterprise: what it includes, then the enquiry form */
.ent { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; }
.ent-list { margin: 0; padding: 28px 24px; }
.ent-form { padding: 28px; scroll-margin-top: 96px; }
.ent-form h3 { margin: 0; font-size: 20px; font-weight: 600; }
.form-sub { margin: 8px 0 0; font-size: 15px; color: var(--h-text-3); }
.sent { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--h-ok-ink); border-radius: 10px; color: var(--h-ok-ink); background: #F1FAF4; }
.ent-form form { margin-top: 20px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ent-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--h-nav); }
.ent-form label.wide { margin-top: 16px; }
.ent-form input, .ent-form textarea { min-height: 44px; width: 100%; padding: 10px 12px; background: #fff; border: 1px solid var(--h-btn-line); border-radius: 10px; color: var(--h-ink); font: 16px var(--h-sans); }
.ent-form textarea { resize: vertical; }
.ent-form input:focus, .ent-form textarea:focus { outline: none; border-color: var(--h-blue); box-shadow: 0 0 0 3px rgba(47, 91, 234, .15); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#enterprise-turnstile { margin-top: 16px; }
.form-error { margin: 16px 0 0; color: var(--h-bad-ink); }
.form-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14px; color: var(--h-text-3); }
.form-actions .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.form-actions a { color: var(--h-blue); }

/* FAQ: one answer open at a time (pricing.js) */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.faq-list button { width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; color: var(--h-ink); font-size: 16px; font-weight: 500; text-align: left; padding: 18px 20px; }
.faq-list .sign { font: 500 22px/1 var(--h-sans); color: var(--h-blue); }
.faq-list p { margin: 0; padding: 0 20px 18px; font-size: 15px; color: var(--h-text-2); }

@media (max-width: 900px) {
    .ent { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .plans-sec .col { padding-top: 40px; }
    .ent-form, .ent-list { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .seg button { transition: none; }
}
