/* ===========================================================================
   Pricing page — Monthly/Annual toggle + segmented pane swap
   ---------------------------------------------------------------------------
   Compiled from weboard-pricing.scss by Web Compiler (compilerconfig.json).
   Do not edit this file by hand — edit the .scss source and recompile.
   =========================================================================== */

.pricing-block {
    margin-bottom: var(--space-3xl);
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 4px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-xl);
    width: max-content;
}
.pricing-block > .pricing-toggle {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle-label {
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--text-muted);
    user-select: none;
    transition: color 120ms ease;
}
.pricing-toggle-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-default);
    background: var(--bg-elevated);
    cursor: pointer;
    padding: 0;
    transition: background 160ms ease, border-color 160ms ease;
}
.pricing-toggle-switch.active {
    background: var(--accent);
    border-color: var(--accent);
}
.pricing-toggle-switch.active .pricing-toggle-knob {
    left: calc(100% - 18px);
    background: white;
}

.pricing-toggle-knob {
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-primary);
    transition: left 160ms ease, background 160ms ease;
}

.pricing-panes {
    position: relative;
}

.pricing-pane {
    display: none;
}
.pricing-pane.active {
    display: block;
}

/* Page-shape overrides — tighten rhythm vs. the base .hero/.section/
   .section-header in site.css. */
.hero.pricing-hero {
    padding-bottom: var(--space-xl);
}
.section.pricing-section {
    padding-top: var(--space-xl);
}
.pricing-block .section-header {
    margin-bottom: var(--space-xl);
}
.pricing-block + .pricing-block {
    margin-top: var(--space-3xl);
}
.pricing-toggle-label .badge {
    margin-left: 6px;
}

/* FAQ */
.pricing-faq {
    max-width: 720px;
    margin: var(--space-3xl) auto 0;
}
.pricing-faq summary {
    cursor: pointer;
    font-weight: 600;
}
.pricing-faq p {
    margin-top: var(--space-md);
}
