/* Bills journey — extends hub design tokens */

.hub--bills {
    padding-top: 26px;
}

.hub--bills #bills-intro .page-header__copy {
    line-height: 1.62;
}

.bills-panel[hidden] {
    display: none !important;
}

.bills-check {
    margin-bottom: 28px;
}

.bills-section-label {
    margin: 0 0 12px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4f5861;
    text-align: center;
}

.bills-section-title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

.bills-section-copy {
    margin: 0 0 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 10px;
    align-items: stretch;
}

.service-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    height: 100%;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.service-chip__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-chip__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.service-chip__label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-footnote {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-muted);
    opacity: 0.78;
}

.bills-fieldset .service-footnote {
    text-align: left;
    margin-top: 8px;
}

.bills-contact {
    margin-bottom: 8px;
}

.choice-stack {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.choice-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    width: 100%;
    text-align: left;
    min-height: 96px;
    padding: 18px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.choice-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(23, 33, 43, 0.18);
}

.choice-card:active {
    transform: translateY(0);
}

.choice-card:focus {
    outline: none;
}

.choice-card:focus-visible {
    box-shadow: var(--shadow-hover), var(--focus);
    border-color: var(--accent);
}

.choice-card.is-placeholder {
    opacity: 0.72;
    cursor: not-allowed;
}

.choice-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}

.choice-card__icon svg {
    width: 24px;
    height: 24px;
}

.choice-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.choice-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.choice-card__desc {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.choice-card__cta {
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.bills-overview {
    margin: 22px 0 0;
    text-align: center;
}

.bills-overview__title {
    margin: 0 0 6px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--text);
}

.bills-overview__copy {
    margin: 0 auto 10px;
    max-width: 22rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.bills-overview__link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    border-radius: 4px;
    transition: color 160ms ease, opacity 160ms ease;
}

.bills-overview__link:hover {
    color: #46642c;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.bills-overview__link:focus {
    outline: none;
}

.bills-overview__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.bills-reassure {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.bills-reassure--tight {
    margin-top: 14px;
}

/* Form */

.page-header--form {
    margin-bottom: 22px;
}

.page-header--form .page-header__title {
    font-size: clamp(1.4rem, 4.8vw, 1.7rem);
    margin-bottom: 8px;
}

.page-header--form .page-header__copy {
    max-width: 21rem;
}

.bills-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bills-fieldset {
    margin: 0;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid rgba(23, 33, 43, 0.06);
    min-inline-size: 0;
}

.bills-fieldset:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.bills-legend {
    margin: 0 0 12px;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.field:last-child {
    margin-bottom: 0;
}

.field label,
.consent {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.req {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0;
}

.opt {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.35rem;
}

/* Honeypot — hidden from people, present for bots */
.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    box-shadow: var(--shadow);
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field textarea {
    min-height: 72px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--shadow), var(--focus);
}

.field input.is-invalid,
.field textarea.is-invalid {
    border-color: #9a3b3b;
}

.field-hint {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.field-error {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #8a2f2f;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.contact-outcome {
    margin-top: 10px;
}

.contact-note {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--accent);
}

.contact-choice {
    margin-top: 4px;
}

.bills-legend--sub {
    margin-bottom: 10px;
    font-size: 0.95rem;
}


.check-grid,
.radio-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.check-pill,
.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg-card);
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.check-pill:has(input:checked),
.radio-pill:has(input:checked):not(.is-disabled) {
    border-color: rgba(85, 122, 54, 0.45);
    background: rgba(85, 122, 54, 0.08);
    color: var(--text);
}

.radio-pill.is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
}

.check-pill input,
.radio-pill input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--accent);
}

.field--consent {
    margin-top: 0;
}

.field--eligibility {
    display: grid;
    gap: 12px;
    border: 0;
    padding: 0;
    margin: 0;
    min-inline-size: 0;
}

.field--eligibility .consent + .field-error {
    margin-top: -4px;
}

.consent {
    display: grid;
    grid-template-columns: 1.2rem 1fr;
    gap: 10px;
    align-items: start;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-muted);
}

.consent input {
    margin-top: 0.2rem;
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--accent);
}

.consent a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-actions .btn--primary {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.btn:focus {
    outline: none;
}

.btn:focus-visible {
    box-shadow: var(--focus);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn--primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn--ghost {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.btn--ghost:hover {
    border-color: rgba(23, 33, 43, 0.18);
}

.form-status {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(154, 59, 59, 0.08);
    color: #8a2f2f;
    font-size: 0.9rem;
}

/* Confirmation */

.confirm {
    text-align: center;
    padding: 28px 0 18px;
}

.confirm__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}

.confirm__icon svg {
    width: 26px;
    height: 26px;
}

.confirm__title {
    margin: 0 0 14px;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.confirm__copy {
    margin: 0 auto 8px;
    max-width: 21rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.confirm__copy--follow {
    margin-bottom: 16px;
}

.confirm__method {
    margin: 0 auto 28px;
    max-width: 21rem;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--accent);
}

.confirm__home {
    width: 100%;
}

@media (min-width: 480px) {
    .field-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .form-actions .btn--primary {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .hub--bills {
        padding-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .choice-card,
    .btn {
        transition: none;
    }

    .choice-card:hover,
    .btn--primary:hover:not(:disabled) {
        transform: none;
    }
}
