/* Philips Sleep Hub */

:root {
    --philips-blue: rgb(11, 94, 215);
    --philips-blue-dark: rgb(0, 114, 219);
    --philips-navy: rgb(0, 19, 48);
    --philips-journey-bg: rgb(1, 27, 73);
    --text-primary: rgb(21, 25, 30);
    --text-secondary: rgb(86, 102, 118);
    --text-dark: rgb(23, 25, 28);
    --surface-tint: rgb(240, 249, 255);
    --risk-card-bg: rgb(246, 248, 249);
    --footer-bg: rgb(11, 94, 215);
    --font: "Neue Frutiger World", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-one: "Neue Frutiger One", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --content-max: 72rem;
    --gutter: 1.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.landing-page {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sleep-hub {
    width: 100%;
    background: #fff;
    overflow-x: hidden;
}

.sleep-hub__container {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 2px solid rgb(202, 210, 216);
}

.site-header__main {
    position: relative;
    height: 64px;
    max-width: var(--content-max);
    margin-inline: auto;
}

.site-header__main-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 var(--gutter);
}

.site-header__logo {
    position: absolute;
    left: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    width: 126px;
    height: 23px;
    display: inline-flex;
    color: var(--philips-blue);
    text-decoration: none;
}

.site-header__logo-svg {
    width: 126px;
    height: 23px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 67, 138, 0.06);
    color: var(--text-secondary);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 344px;
    overflow: hidden;
    color: #fff;
}

.hero__media {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-image, url("../images/sleep-hub/hero-bg.webp"));
    background-position: 100.043% -0.126%;
    background-size: 134.345% 107.58%;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0, 19, 48) 18.25%, rgba(11, 94, 215, 0) 118.6%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 32px var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
}

.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    max-width: 28rem;
    margin-inline: auto;
}

.hero__title {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    color: #fff;
    white-space: pre-line;
}

.hero__lead {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
}

.hero__meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 24px;
    border: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.27px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn:hover {
    opacity: 0.92;
}

.btn--light {
    background: #fff;
    color: var(--text-dark);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.btn--primary {
    background: var(--philips-blue-dark);
    color: #fff;
}

.btn--outline {
    width: auto;
    min-height: 48px;
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

/* ── Sections ── */
.section {
    padding-block: 2.5rem;
}

.section--white {
    background: #fff;
}

.section--tint {
    background: var(--surface-tint);
}

.section__title {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    color: #000;
    text-align: center;
}

.section__title--bold {
    font-weight: 700;
    text-align: left;
    color: var(--text-primary);
}

.section__text {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #000;
}

.section__text--center {
    text-align: center;
}

/* ── OSA ── */
.section--osa {
    padding-block: 2.5rem;
}

.osa-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.osa-block__copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 23.125rem;
    text-align: center;
}

.osa-block__title {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    color: #000;
    white-space: pre-line;
}

.osa-block__text {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #000;
}

.osa-block__figure {
    margin: 0;
    width: 100%;
    max-width: 23.125rem;
    aspect-ratio: 370 / 202;
    border-radius: 15px;
    overflow: hidden;
}

.osa-block__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
}

/* ── Symptoms ── */
.section--symptoms {
    padding-block: 2.5rem 3.75rem;
}

.symptoms__header {
    margin-bottom: 2rem;
}

.symptom-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.symptom-card__icon {
    display: block;
    width: 25.42px;
    height: 25.42px;
    margin-bottom: 8px;
    color: #000;
}

.symptom-card__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text-primary);
}

.symptom-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

/* ── Testimonials ── */
.section--community {
    padding-block: 2.5rem;
}

.community__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    max-width: 19.3125rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.testimonial-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 0;
    padding: 16px;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgb(202, 210, 216);
}

.testimonial-card__avatar {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.testimonial-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.testimonial-card__author {
    margin: 0;
    font-size: 10px;
    line-height: 14px;
    color: var(--text-secondary);
    order: -1;
}

.testimonial-card__quote {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text-dark);
}

.testimonial-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
}

/* ── Why act now ── */
.section--why {
    padding-bottom: 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    max-width: 19.3125rem;
    margin: 0 auto;
    padding-bottom: 1rem;
    text-align: center;
}

.risk-carousel {
    margin-top: 1rem;
    overflow: hidden;
}

.risk-carousel__track {
    display: flex;
    gap: 16px;
    padding: 0 var(--gutter) 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.risk-carousel__track::-webkit-scrollbar {
    display: none;
}

.risk-card {
    flex: 0 0 min(85%, 17.5625rem);
    scroll-snap-align: start;
    min-height: 8.375rem;
    padding: 1.25rem 1rem;
    border-radius: 20px;
    background: var(--risk-card-bg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.risk-card__icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    color: var(--philips-blue);
}

.risk-card__icon svg {
    width: 100%;
    height: 100%;
}

.risk-card__title {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--philips-blue);
}

.risk-card__text {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--philips-blue);
    text-align: center;
}

/* ── Journey ── */
.section--journey-header {
    background: var(--philips-journey-bg);
    color: #fff;
    padding-block: 2.5rem 0;
}

.section--journey-header .section__title,
.section--journey-header .section__text {
    color: #fff;
}

.section--journey-header .section-header {
    max-width: 23.75rem;
    padding-bottom: 0;
}

.section--journey {
    background: var(--philips-journey-bg);
    color: #fff;
    padding-block: 2rem 2.5rem;
}

.journey-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.journey-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    align-items: start;
}

.journey-step__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.journey-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--philips-blue-dark);
    font-family: var(--font-one);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    flex-shrink: 0;
}

.journey-step__line {
    width: 1px;
    flex: 1;
    min-height: 2rem;
    background: var(--philips-blue-dark);
}

.journey-step:last-child .journey-step__line {
    display: none;
}

.journey-step__body {
    padding-bottom: 2.5rem;
}

.journey-step:last-child .journey-step__body {
    padding-bottom: 0;
}

.journey-step__title {
    margin: 0 0 1rem;
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    color: #fff;
}

.journey-step__text {
    margin: 0 0 1.5rem;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

/* ── Footer ── */
.site-footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 0 var(--gutter) 2.5rem;
}

.site-footer__accordion {
    max-width: var(--content-max);
    margin-inline: auto;
}

.site-footer__item {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer__item:first-child {
    border-top: 0;
}

.site-footer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 24px 0;
    font-family: var(--font-one);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.site-footer__summary::-webkit-details-marker {
    display: none;
}

.site-footer__summary::after {
    content: "";
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 15.5 6 9.5h12z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.15s ease;
}

.site-footer__item[open] .site-footer__summary::after {
    transform: rotate(180deg);
}

.site-footer__bottom {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-top: 48px;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    max-width: 11.5rem;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    color: var(--philips-blue);
    text-decoration: none;
}

.site-footer__locale {
    margin: 0 0 48px;
    max-width: 20.9375rem;
}

.site-footer__locale-label {
    display: block;
    font-family: var(--font-one);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 12px;
}

.site-footer__locale-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.27px;
    text-decoration: none;
}

.site-footer__brand {
    margin-bottom: 40px;
}

.site-footer__shield {
    display: block;
    width: 61.604px;
    height: 80px;
    color: #fff;
}

.site-footer__legal {
    display: grid;
    grid-template-columns: 6.25rem 1fr;
    grid-template-rows: repeat(2, 1.5rem);
    column-gap: 1.3125rem;
    row-gap: 0;
    align-items: center;
    width: 100%;
    max-width: 20.9375rem;
    min-height: 3rem;
    margin-bottom: 20px;
}

.site-footer__legal-link {
    color: #fff;
    font-family: var(--font-one);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer__legal-link:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.site-footer__legal-link:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.site-footer__legal-link:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.site-footer__copy {
    margin: 0;
    max-width: 20.9375rem;
    font-family: var(--font-one);
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}

/* ── Tablet ── */
@media (min-width: 640px) {
    :root {
        --gutter: 2rem;
    }

    .hero__title {
        font-size: 28px;
        line-height: 32px;
    }

    .hero__lead {
        font-size: 14px;
        line-height: 20px;
    }

    .hero__actions {
        flex-direction: row;
        max-width: 36rem;
    }

    .hero__actions .btn {
        flex: 1;
    }

    .symptom-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 2.5rem;
    }

    .testimonial-list {
        gap: 1rem;
    }
}

/* ── Desktop / iPad landscape ── */
@media (min-width: 1024px) {
    :root {
        --gutter: 2.5rem;
    }

    .hero {
        min-height: 420px;
    }

    .hero__media {
        background-position: center 20%;
        background-size: cover;
    }

    .hero__inner {
        padding-block: 4rem 3rem;
    }

    .hero__copy {
        max-width: 36rem;
    }

    .hero__title {
        font-size: 36px;
        line-height: 40px;
    }

    .hero__lead {
        font-size: 16px;
        line-height: 24px;
    }

    .osa-block {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .osa-block__copy {
        flex: 1;
        align-items: flex-start;
        text-align: left;
        max-width: none;
    }

    .osa-block__figure {
        flex: 1;
        max-width: 28rem;
    }

    .symptom-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .community__header,
    .section-header {
        max-width: 42rem;
    }

    .section__title {
        font-size: 28px;
        line-height: 32px;
    }

    .risk-carousel__track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        overflow: visible;
        padding-inline: 0;
    }

    .risk-card {
        flex: none;
        width: 100%;
    }

    .journey-steps {
        max-width: 48rem;
        margin-inline: auto;
    }

    .site-footer__legal {
        max-width: 20.9375rem;
    }
}

/* ── Explore care options page ── */
.explore-care {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.explore-care__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: var(--content-max);
    width: 100%;
    margin-inline: auto;
    padding: 2rem var(--gutter) 1.5rem;
}

.explore-care__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-block: 1rem 2rem;
}

.explore-care__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    max-width: 21.375rem;
}

.explore-care__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-primary);
    white-space: pre-line;
}

.explore-care__lead {
    margin: 0;
    max-width: 18rem;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.explore-care__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 23.25rem;
    margin-inline: auto;
    padding-bottom: 0.5rem;
}

.btn--cancel {
    background: #fff;
    color: var(--text-dark);
    box-shadow: inset 0 0 0 2px var(--text-dark);
}

/* Sleep Hub cloud illustration */
.sleep-hub-cloud {
    position: relative;
    width: 226px;
    height: 137px;
    color: rgb(230, 241, 250);
}

.sleep-hub-cloud__shape {
    display: block;
    width: 100%;
    height: 100%;
}

.sleep-hub-cloud__label {
    position: absolute;
    left: 50%;
    top: 58px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 137px;
}

.sleep-hub-cloud__moon {
    width: 32px;
    height: 32px;
    color: var(--philips-blue);
}

.sleep-hub-cloud__text {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--philips-blue);
    text-align: center;
}

@media (min-width: 640px) {
    .explore-care__main {
        padding-block: 3rem 2rem;
    }

    .explore-care__content {
        gap: 2rem;
    }

    .explore-care__title {
        font-size: 24px;
        line-height: 32px;
    }

    .explore-care__lead {
        max-width: 22rem;
    }

    .explore-care__actions {
        max-width: 28rem;
    }
}

@media (min-width: 1024px) {
    .explore-care__content {
        min-height: 50vh;
    }
}

/* ── Login page ── */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding-bottom: 2rem;
}

.login-page--sticky-actions {
    padding-bottom: calc(8.5rem + env(safe-area-inset-bottom));
}

.login-page--sticky-actions.login-page--single-action {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.login-page--sticky-actions.login-page--single-action .login-page__actions {
    gap: 0;
}

.login-page__main {
    flex: 1;
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 1.5rem var(--gutter) 1rem;
}

.login-page__hero {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-page__form-wrap {
    width: 100%;
    max-width: 23.25rem;
    margin-inline: auto;
}

.login-page__title {
    margin: 0 0 1.25rem;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-primary);
}

.login-page__lead {
    margin: -0.5rem 0 1.25rem;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.login-page__status {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgb(244, 247, 251);
    font-size: 15px;
    line-height: 22px;
    color: var(--text-primary);
}

.login-page__error {
    margin: -0.25rem 0 0;
    font-size: 14px;
    line-height: 20px;
    color: #c0392b;
}

.login-page__alert {
    margin: 0 0 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
}

.login-page__alert--error {
    background: #fff1f0;
    border: 1px solid #f3c0bc;
    color: #8f2f2f;
}

.login-page__alert-text {
    margin: 0;
}

.login-page__alert-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--philips-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-page__portal-hint {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
    text-align: center;
}

.login-page__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-field {
    position: relative;
    display: block;
    border: 1px solid rgb(138, 144, 153);
    border-radius: 6px;
    padding: 0.8125rem 0.875rem 0.6875rem;
}

.login-field:focus-within {
    border-color: var(--philips-blue);
    box-shadow: 0 0 0 1px var(--philips-blue);
}

.login-field__label {
    position: absolute;
    top: -8px;
    left: 11px;
    padding: 0 5px;
    background: #fff;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-secondary);
}

.login-field__input {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    outline: none;
}

.login-field__input.is-invalid {
    color: #c0392b;
}

.login-field:has(.login-field__input.is-invalid) {
    border-color: #c0392b;
}

.login-field--password {
    padding-right: 4.5rem;
}

.login-field__toggle {
    position: absolute;
    top: 50%;
    right: 0.875rem;
    transform: translateY(-50%);
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--philips-blue);
    cursor: pointer;
}

.login-page__help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.25rem;
}

.login-page__help-text {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
}

.login-page__help-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.login-page__link {
    font-size: 14px;
    line-height: 20px;
    color: var(--philips-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-page__form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.25rem;
}

.login-page--sticky-actions .login-page__actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.login-page--sticky-actions .login-page__actions .btn {
    width: min(100%, 32rem);
    max-width: 32rem;
}

@media (min-width: 640px) {
    .login-page__main {
        padding-block: 2rem 1.5rem;
    }

    .login-page__hero {
        margin-bottom: 2rem;
    }

    .login-page__form-wrap {
        max-width: 28rem;
    }
}

/* ── Care options page ── */
.care-options {
    background: #fff;
}

.care-options__main {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 1rem var(--gutter) 2rem;
}

.care-options__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.care-options__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.care-options__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-primary);
}

.care-options__subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.care-options__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.care-option-card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgb(224, 228, 232);
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: box-shadow 0.15s ease;
}

.care-option-card.is-selected {
    box-shadow: inset 0 0 0 2px rgb(24, 95, 165);
}

.care-option-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    height: 100%;
}

.care-option-card__illustration {
    width: 100%;
    height: 98px;
    flex-shrink: 0;
    border-radius: 7px;
    background-repeat: no-repeat;
    background-color: rgb(246, 248, 249);
}

.care-option-card__illustration--medicare {
    background-image: url("../images/sleep-hub/care-medicare.webp");
    background-position: 0% 41.172%;
    background-size: 111.559% 100.949%;
}

.care-option-card__illustration--pharmacy {
    background-image: url("../images/sleep-hub/care-pharmacy.webp");
    background-position: 0.402% 50%;
    background-size: 110.209% 100%;
}

.care-option-card__heading {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: rgb(12, 68, 124);
}

.care-option-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 24px;
    background: rgb(230, 241, 250);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -0.2px;
    color: var(--philips-blue-dark);
    align-self: stretch;
    text-align: center;
}

.care-option-card__description {
    margin: 0;
    font-size: 10px;
    line-height: 14px;
    color: rgb(107, 116, 129);
}

.care-option-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.care-option-card__list li {
    position: relative;
    padding: 2px 0 2px 10px;
    font-size: 10px;
    line-height: 14px;
    color: rgb(107, 116, 129);
}

.care-option-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgb(107, 116, 129);
}

.care-option-card__link {
    display: inline-block;
    margin-top: auto;
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    color: var(--philips-blue-dark);
}

.care-options__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-top: 0.25rem;
}

@media (min-width: 390px) {
    .care-option-card__heading {
        font-size: 16px;
        line-height: 24px;
    }

    .care-option-card__badge {
        font-size: 14px;
        line-height: 20px;
        padding: 4px 12px;
    }
}

@media (min-width: 640px) {
    .care-options__main {
        padding-block: 2rem 2.5rem;
    }

    .care-options__content {
        gap: 1.5rem;
        max-width: 36rem;
    }

    .care-options__title {
        font-size: 24px;
        line-height: 32px;
    }

    .care-options__cards {
        gap: 1rem;
    }

    .care-option-card__heading {
        font-size: 18px;
        line-height: 24px;
    }

    .care-option-card__badge {
        font-size: 16px;
        line-height: 24px;
        padding: 0 1rem;
    }

    .care-option-card__description,
    .care-option-card__list li {
        font-size: 11px;
        line-height: 16px;
    }

    .care-option-card__illustration {
        height: 120px;
    }
}

@media (min-width: 1024px) {
    .care-options__content {
        max-width: 42rem;
        gap: 2rem;
    }

    .care-options__cards {
        gap: 1.25rem;
    }

    .care-option-card__body {
        padding: 1rem;
    }

    .care-option-card__illustration {
        height: 140px;
    }

    .care-option-card__description,
    .care-option-card__list li {
        font-size: 12px;
        line-height: 18px;
    }
}

/* ── Find pharmacy page ── */
.find-pharmacy {
    background: #fff;
}

.find-pharmacy__main {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 1rem var(--gutter) 2rem;
}

.find-pharmacy__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.find-pharmacy__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.find-pharmacy__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 23.25rem;
    text-align: center;
}

.find-pharmacy__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-primary);
    white-space: pre-line;
}

.find-pharmacy__lead {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.find-pharmacy__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 21.75rem;
    text-align: left;
}

.find-pharmacy__steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.find-pharmacy__steps li::before {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 7px;
    background: rgb(234, 236, 238);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    color: rgb(107, 116, 129);
}

.find-pharmacy__steps li:nth-child(1)::before {
    content: "1";
}

.find-pharmacy__steps li:nth-child(2)::before {
    content: "2";
}

.find-pharmacy__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 23.25rem;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .find-pharmacy__main {
        padding-block: 2rem 2.5rem;
    }

    .find-pharmacy__content {
        gap: 2rem;
        max-width: 28rem;
    }

    .find-pharmacy__body {
        gap: 2rem;
    }

    .find-pharmacy__title {
        font-size: 24px;
        line-height: 32px;
    }

    .find-pharmacy__copy {
        max-width: 26rem;
    }
}

/* ── Find pharmacy search / list ── */
.find-pharmacy-search {
    background: #fff;
    min-height: 100vh;
    padding-bottom: 6.5rem;
}

.find-pharmacy-search__main {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
    padding: 1rem var(--gutter) 2rem;
}

.find-pharmacy-search__intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.find-pharmacy-search__eyebrow {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: var(--text-secondary);
}

.pharmacy-search-form__combobox {
    position: relative;
    width: 100%;
}

.pharmacy-search-form__field {
    position: relative;
    display: block;
    width: 100%;
}

.pharmacy-search-form__input {
    width: 100%;
    min-height: 56px;
    padding: 0.875rem 3.5rem 0.875rem 1.125rem;
    border: 2px solid rgb(210, 218, 226);
    border-radius: 16px;
    font-family: var(--font);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pharmacy-search-form__combobox.has-value .pharmacy-search-form__input {
    padding-right: 5.25rem;
}

.pharmacy-search-form__input::-webkit-search-cancel-button,
.pharmacy-search-form__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.pharmacy-search-form__input:focus {
    outline: 2px solid var(--philips-blue);
    outline-offset: 1px;
    border-color: var(--philips-blue);
}

.pharmacy-search-form__clear {
    position: absolute;
    top: 50%;
    right: 3.25rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

.pharmacy-search-form__clear[hidden] {
    display: none;
}

.pharmacy-search-form__clear:hover {
    color: var(--text-primary);
}

.pharmacy-search-form__submit {
    position: absolute;
    top: 50%;
    right: 0.875rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--philips-blue);
    cursor: pointer;
}

.pharmacy-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 30;
    margin: 0;
    padding: 0.375rem 0;
    list-style: none;
    border: 1px solid rgb(222, 228, 234);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
    max-height: 18rem;
    overflow-y: auto;
}

.pharmacy-suggestions__item.is-active .pharmacy-suggestions__button,
.pharmacy-suggestions__button:hover {
    background: rgb(240, 249, 255);
}

.pharmacy-suggestions__button {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.pharmacy-suggestions__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.125rem;
    color: var(--philips-blue);
}

.pharmacy-suggestions__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.pharmacy-suggestions__label {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: var(--text-primary);
}

.pharmacy-suggestions__meta {
    font-size: 13px;
    line-height: 18px;
    color: var(--text-secondary);
}

.pac-container {
    z-index: 10000;
    margin-top: 0.5rem;
    border: 1px solid rgb(222, 228, 234);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
    font-family: var(--font);
    overflow: hidden;
}

.pac-item {
    padding: 0.75rem 1rem;
    font-size: 15px;
    line-height: 20px;
    color: var(--text-primary);
    cursor: pointer;
    border-top: 1px solid rgb(240, 242, 245);
}

.pac-item:first-child {
    border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
    background: rgb(240, 249, 255);
}

.pac-icon {
    display: none;
}

.pac-item-query {
    font-size: 15px;
    color: var(--text-primary);
}

.pac-matched {
    font-weight: 700;
}

.pharmacy-map-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 1.25rem;
}

.pharmacy-map {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: #e8f1f8;
}

.pharmacy-map__fullscreen {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.16);
    cursor: pointer;
}

.pharmacy-map__fullscreen:hover {
    background: rgb(240, 249, 255);
}

.pharmacy-map__fullscreen-icon[hidden] {
    display: none;
}

.pharmacy-map-wrap.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    margin: 0;
    background: #fff;
}

.pharmacy-map-wrap.is-fullscreen .pharmacy-map {
    height: 100%;
    border-radius: 0;
}

.pharmacy-map-wrap:fullscreen {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #fff;
}

.pharmacy-map-wrap:fullscreen .pharmacy-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.pharmacy-map .leaflet-container {
    width: 100%;
    height: 100%;
    font-family: var(--font);
}

.pharmacy-results__header {
    margin-bottom: 0.875rem;
}

.pharmacy-results__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pharmacy-results__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: var(--text-primary);
}

.pharmacy-results__tools {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-primary);
}

.pharmacy-results__filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.pharmacy-results__heading-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--philips-blue);
}

.pharmacy-results__count {
    margin: 0.25rem 0 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
}

.pharmacy-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgb(234, 236, 238);
    border-radius: 12px;
    background: #fafbfc;
}

.pharmacy-filters__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pharmacy-filters__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pharmacy-filters__select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid rgb(210, 214, 220);
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

.pharmacy-results__status,
.pharmacy-results__error {
    margin: 0 0 1rem;
    font-size: 15px;
    line-height: 22px;
}

.pharmacy-results__status {
    color: var(--text-secondary);
}

.pharmacy-results__error {
    color: #c0392b;
}

.pharmacy-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
}

.pharmacy-card {
    width: 100%;
    border: 2px solid rgb(222, 228, 234);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.pharmacy-card.is-selected {
    border-color: var(--philips-blue);
}

.pharmacy-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1rem 0.875rem;
    cursor: pointer;
}

.pharmacy-card__summary {
    flex: 1;
    min-width: 0;
}

.pharmacy-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.pharmacy-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: var(--text-primary);
}

.pharmacy-card__distance {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--philips-blue);
}

.pharmacy-card__address {
    margin: 0.25rem 0 0.5rem;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
}

.pharmacy-card__stars {
    display: inline-flex;
    gap: 0.125rem;
}

.pharmacy-card__star {
    color: #f5a623;
    font-size: 15px;
    line-height: 1;
}

.pharmacy-card__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    margin-top: 0.125rem;
    color: var(--philips-blue);
}

.pharmacy-card__details {
    padding: 0 1rem 1rem;
}

.pharmacy-card__detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem 1.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgb(234, 236, 238);
}

.pharmacy-card__detail-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.pharmacy-card__detail-label {
    margin: 0 0 0.25rem;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: var(--text-primary);
}

.pharmacy-card__detail-value {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
}

.pharmacy-card__detail-list {
    margin: 0;
    padding-left: 1.125rem;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
}

.pharmacy-select-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.pharmacy-select-bar__btn {
    width: min(100%, 32rem);
    max-width: 32rem;
    margin: 0;
}

.pharmacy-results--needs-selection .pharmacy-results__title {
    color: var(--philips-blue);
}

.pharmacy-list--needs-selection .pharmacy-card {
    animation: pharmacy-card-attention 0.75s ease;
}

@keyframes pharmacy-card-attention {
    0%,
    100% {
        box-shadow: none;
    }

    50% {
        box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.22);
    }
}

.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;
}

@media (min-width: 640px) {
    .find-pharmacy-search__main {
        max-width: 36rem;
        padding-block: 1.5rem 2.5rem;
    }

    .pharmacy-map {
        height: 260px;
    }

    .pharmacy-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .find-pharmacy-search__main {
        max-width: 44rem;
        padding-inline: 1.5rem;
    }

    .find-pharmacy-search__eyebrow {
        font-size: 16px;
    }

    .pharmacy-map {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    .find-pharmacy-search__main {
        max-width: 72rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "intro intro"
            "map results";
        gap: 1rem 1.75rem;
        align-items: start;
        padding-inline: 2rem;
    }

    .find-pharmacy-search__intro {
        grid-area: intro;
        margin-bottom: 0;
    }

    .pharmacy-map-wrap {
        grid-area: map;
        margin-bottom: 0;
        position: sticky;
        top: 5.5rem;
    }

    .pharmacy-map-wrap.is-fullscreen,
    .pharmacy-map-wrap:fullscreen {
        position: fixed;
        top: 0;
    }

    .pharmacy-map {
        height: min(540px, calc(100vh - 11rem));
    }

    .pharmacy-results {
        grid-area: results;
        min-width: 0;
    }

    .pharmacy-list {
        max-height: none;
    }
}

@media (min-width: 1280px) {
    .find-pharmacy-search__main {
        padding-inline: 2.5rem;
        gap: 1.25rem 2rem;
    }

    .pharmacy-map {
        height: min(580px, calc(100vh - 10rem));
    }
}

/* ── Privacy consent modal ── */
body.privacy-modal-open {
    overflow: hidden;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.privacy-modal[hidden] {
    display: none;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.privacy-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 23.75rem;
    max-height: min(46.625rem, calc(100vh - 2rem));
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.privacy-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgb(60, 64, 67);
    cursor: pointer;
}

.privacy-modal__close:hover {
    background: rgb(246, 248, 249);
}

.privacy-modal__title {
    margin: 0 2rem 1rem 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-primary);
}

.privacy-modal__scroll {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgb(232, 235, 238);
    overflow-y: auto;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
    scrollbar-width: thin;
    scrollbar-color: var(--philips-blue-dark) rgb(232, 235, 238);
}

.privacy-modal__scroll p {
    margin: 0 0 1rem;
}

.privacy-modal__scroll p:last-child {
    margin-bottom: 0;
}

.privacy-modal__scroll::-webkit-scrollbar {
    width: 4px;
}

.privacy-modal__scroll::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: var(--philips-blue-dark);
}

.privacy-modal__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.privacy-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .privacy-modal {
        padding: 2rem;
    }

    .privacy-modal__panel {
        max-width: 26rem;
        padding: 2rem 1.75rem 1.75rem;
    }
}

/* ── Eligibility page ── */
.eligibility {
    background: #fff;
}

.eligibility__main {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 1rem var(--gutter) 2rem;
}

.eligibility__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.eligibility__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.eligibility__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 23.25rem;
    text-align: center;
}

.eligibility__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-primary);
}

.eligibility__lead {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.eligibility__steps {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 21.75rem;
    text-align: left;
}

.eligibility__steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.eligibility__steps li::before {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 7px;
    background: rgb(234, 236, 238);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    color: rgb(107, 116, 129);
}

.eligibility__steps li:nth-child(1)::before {
    content: "1";
}

.eligibility__steps li:nth-child(2)::before {
    content: "2";
}

.eligibility__steps li:nth-child(3)::before {
    content: "3";
}

.eligibility__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 23.25rem;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .eligibility__main {
        padding-block: 2rem 2.5rem;
    }

    .eligibility__content {
        gap: 2rem;
        max-width: 28rem;
    }

    .eligibility__body {
        gap: 2rem;
    }

    .eligibility__title {
        font-size: 24px;
        line-height: 32px;
    }

    .eligibility__copy {
        max-width: 26rem;
    }
}

/* ── Sleep questionnaire ── */
.questionnaire {
    background: #fff;
}

.questionnaire__main {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-bottom: 2rem;
}

.questionnaire-section {
    width: 100%;
}

.questionnaire-section + .questionnaire-section {
    margin-top: 0.5rem;
    border-top: 8px solid rgb(246, 248, 249);
}

.questionnaire-section.is-hidden,
.questionnaire__actions.is-hidden {
    display: none !important;
}

.questionnaire__error-summary {
    margin: 0 var(--gutter);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgb(254, 242, 242);
    font-size: 14px;
    line-height: 20px;
    color: rgb(153, 27, 27);
}

.questionnaire__error-summary[hidden] {
    display: none;
}

.questionnaire__error-summary:not([hidden]) {
    margin-bottom: 0.75rem;
}

.questionnaire-section__header {
    position: sticky;
    top: 64px;
    z-index: 9;
    margin-inline: calc(-1 * var(--gutter));
    padding: 1rem var(--gutter) 1.125rem;
    background: #fff;
    box-shadow: 0 6px 14px -8px rgba(21, 25, 30, 0.18);
}

.questionnaire-section__title {
    margin: 0 0 0.875rem;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: var(--text-primary);
}

.questionnaire-chrome {
    padding: 0 var(--gutter);
}

.questionnaire-chrome__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: -0.21px;
}

.questionnaire-chrome__crumb-link,
.questionnaire-chrome__crumb-muted {
    color: var(--text-secondary);
    text-decoration: none;
}

.questionnaire-chrome__crumb-link:hover {
    text-decoration: underline;
}

.questionnaire-chrome__crumb-current {
    color: var(--text-primary);
}

.questionnaire-chrome__crumb-sep {
    color: var(--text-secondary);
}

.questionnaire-chrome__title {
    margin: 0 0 1rem;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    color: var(--text-primary);
}

.questionnaire-chrome__service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--philips-blue-dark);
    border-radius: 12px;
}

.questionnaire-chrome__service-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: var(--text-primary);
}

.questionnaire-chrome__service-price {
    flex-shrink: 0;
    padding: 0.25rem 0.875rem;
    border-radius: 16px;
    background: rgba(0, 114, 219, 0.1);
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: var(--philips-blue-dark);
}

.questionnaire-chrome__stepbar {
    position: sticky;
    top: 64px;
    z-index: 10;
    margin-inline: calc(-1 * var(--gutter));
    padding: 1rem var(--gutter) 1.125rem;
    background: #fff;
    box-shadow: 0 6px 14px -8px rgba(21, 25, 30, 0.18);
}

.questionnaire-chrome__step {
    margin: 0 0 0.875rem;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: var(--text-primary);
}

.questionnaire-chrome__progress {
    height: 6px;
    border-radius: 100px;
    background: rgb(230, 232, 234);
    overflow: hidden;
}

.questionnaire-chrome__progress-fill {
    height: 100%;
    border-radius: 100px;
    background: var(--philips-blue);
}

.questionnaire__body {
    width: 100%;
}

.questionnaire__intro {
    margin: 0;
    padding: 1.25rem var(--gutter) 0.25rem;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text-primary);
}

.questionnaire__edit-notice {
    margin: 0;
    padding: 1rem var(--gutter) 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .questionnaire__main {
        max-width: 42rem;
        padding-inline: 1.5rem;
    }

    .questionnaire-chrome {
        padding-inline: 0;
    }

    .questionnaire-section__header {
        margin-inline: 0;
        border-radius: 12px;
    }

    .questionnaire-chrome__title {
        font-size: 23px;
        line-height: 32px;
    }

    .questionnaire-section__title {
        font-size: 19px;
    }

    .q-block__question {
        font-size: 20px;
    }

    .questionnaire__intro {
        padding-inline: 0;
        font-size: 18px;
        line-height: 26px;
    }

    .q-block {
        padding-inline: 0;
    }

    .questionnaire__actions {
        padding-inline: 0;
    }

    .questionnaire__error-summary {
        margin-inline: 0;
    }
}

@media (min-width: 1024px) {
    .questionnaire__main {
        max-width: 48rem;
        padding-inline: 2rem;
    }

    .q-options {
        gap: 1rem;
    }

    .q-option {
        flex: 1 1 calc(50% - 0.5rem);
        padding: 1rem 1.25rem;
    }

    .q-bmi {
        max-width: 28rem;
    }

    .questionnaire__actions {
        max-width: none;
    }
}

.q-block {
    padding: 1.375rem var(--gutter);
    border-top: 1px solid rgb(230, 232, 234);
}

.q-block__label {
    margin: 0 0 0.625rem;
    font-size: 13px;
    line-height: 18px;
    color: var(--text-secondary);
}

.q-block__question,
.q-block__category {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.q-block__category {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}

.q-block__sub {
    margin: 0.5rem 0 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgb(53, 58, 64);
    white-space: pre-line;
}

.q-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.125rem;
}

.q-option {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 9rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
    padding: 0.8125rem 1.125rem;
    border: 1px solid rgb(201, 205, 210);
    border-radius: 100px;
    background: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.q-option:hover {
    border-color: rgb(154, 160, 168);
}

.q-option.is-selected {
    border-color: rgb(157, 195, 238);
    background: rgb(234, 242, 251);
}

.q-block.is-invalid .q-options,
.q-block.is-invalid .q-list {
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgb(197, 48, 48);
}

.q-block.is-invalid .q-bmi .q-field {
    border-color: rgb(197, 48, 48);
}

.q-block__error {
    margin: 0.75rem 0 0;
    font-size: 13px;
    line-height: 18px;
    color: rgb(197, 48, 48);
}

.q-field__input.is-invalid {
    color: rgb(197, 48, 48);
}

.q-list {
    margin-top: 1rem;
    border: 1px solid rgb(201, 205, 210);
    border-radius: 12px;
    overflow: hidden;
}

.q-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    margin: 0;
    padding: 0.9375rem 1.125rem;
    border: 0;
    border-top: 1px solid rgb(230, 232, 234);
    background: #fff;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
}

.q-row:first-child {
    border-top: 0;
}

.q-row:hover {
    background: rgb(250, 251, 252);
}

.q-row.is-selected {
    background: rgb(234, 242, 251);
}

.q-radio {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgb(138, 144, 153);
    border-radius: 50%;
    position: relative;
}

.is-selected .q-radio {
    border-color: var(--philips-blue);
    border-width: 2px;
}

.is-selected .q-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--philips-blue);
}

.q-bmi {
    display: flex;
    gap: 0.875rem;
    margin-top: 1.125rem;
}

.q-field {
    position: relative;
    flex: 1;
    min-width: 0;
    display: block;
    border: 1px solid rgb(138, 144, 153);
    border-radius: 6px;
    padding: 0.8125rem 0.875rem 0.6875rem;
}

.q-field__label {
    position: absolute;
    top: -8px;
    left: 11px;
    padding: 0 5px;
    background: #fff;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-secondary);
}

.q-field__input {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    outline: none;
}

.q-field__input:focus {
    outline: none;
}

.q-field:focus-within {
    border-color: var(--philips-blue);
    box-shadow: 0 0 0 1px var(--philips-blue);
}

.q-field__input::-webkit-outer-spin-button,
.q-field__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.q-field__input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.q-bmi-result {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    background: rgb(244, 247, 251);
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    color: var(--text-primary);
}

.q-bmi-result__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.q-bmi-result__value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.questionnaire__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1.25rem var(--gutter) 0;
    max-width: 28rem;
    margin-inline: auto;
}

.q-bullets {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
}

.q-bullets li {
    margin-bottom: 0.5rem;
}

.q-bullets ul {
    margin: 0.375rem 0 0;
    padding-left: 1.25rem;
}

.q-block--contra .q-block__question {
    margin-bottom: 0;
}

.q-block--contra .q-list {
    margin-top: 1.25rem;
}

.questionnaire__success {
    margin: 1rem var(--gutter) 0;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    background: rgb(234, 242, 251);
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-primary);
    text-align: center;
}

.questionnaire__success[hidden] {
    display: none;
}

/* ── Eligibility results ── */
.eligibility-results {
    background: #fff;
}

.eligibility-results__main {
    max-width: 28rem;
    margin-inline: auto;
    padding: 0 0 2.5rem;
}

.eligibility-results__summary {
    padding: 1.25rem var(--gutter) 0;
    text-align: center;
}

.eligibility-results--ineligible .eligibility-results__summary {
    text-align: left;
}

.eligibility-results__status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
}

.eligibility-results__status-icon--success {
    background: rgb(204, 236, 230);
    color: rgb(0, 128, 96);
}

.eligibility-results__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.eligibility-results__lead {
    margin: 0.75rem 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgb(53, 58, 64);
}

.eligibility-results__card {
    margin: 1.25rem var(--gutter) 0;
    padding: 1.25rem 1.125rem;
    border: 1px solid rgb(201, 205, 210);
    border-radius: 12px;
    background: #fff;
}

.eligibility-results__step-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.eligibility-results__text {
    margin: 0.75rem 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgb(53, 58, 64);
}

.eligibility-results__criteria {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
}

.eligibility-results__criteria li + li {
    margin-top: 0.375rem;
}

.eligibility-results__download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: var(--philips-blue);
    text-decoration: none;
}

.eligibility-results__download:hover {
    text-decoration: underline;
}

.eligibility-results__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1.5rem var(--gutter) 0;
}

.eligibility-results__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.eligibility-results__pharmacy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.questionnaire-chrome__service--results {
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .eligibility-results__main {
        max-width: 42rem;
    }

    .eligibility-results__title {
        font-size: 26px;
    }
}

@media (min-width: 1024px) {
    .eligibility-results__main {
        max-width: 48rem;
    }
}

/* ── Finding providers ── */
.finding-providers {
    background: #fff;
}

.finding-providers__main {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 2rem var(--gutter) 3rem;
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.finding-providers__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    width: 100%;
    max-width: 23.25rem;
    margin-inline: auto;
    text-align: center;
}

.finding-providers__copy {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.finding-providers__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.finding-providers__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .finding-providers__main {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .finding-providers__content {
        max-width: 28rem;
    }

    .finding-providers__title {
        font-size: 22px;
    }
}
