
/* Stage 2 — decision tool + profession relevance pages
   Loaded per-page via HeadStyles. Keeps scope away from register/onboarding. */

.stage-two-page {
    --stage2-surface: rgba(255, 252, 247, 0.96);
    --stage2-surface-soft: rgba(255, 252, 247, 0.78);
    --stage2-line: rgba(18, 37, 56, 0.10);
    --stage2-line-strong: rgba(18, 37, 56, 0.16);
    --stage2-shadow: 0 18px 40px rgba(18, 37, 56, 0.08);
    --stage2-shadow-strong: 0 28px 60px rgba(18, 37, 56, 0.10);
    --stage2-teal-wash: rgba(15, 118, 110, 0.08);
    --stage2-warm-wash: rgba(222, 200, 172, 0.16);
}

.stage-two-page .stage-two-hero {
    position: relative;
    overflow: hidden;
}

.stage-two-page .stage-two-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 16%, rgba(222, 200, 172, 0.42), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(15, 118, 110, 0.11), transparent 20%),
        linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(247, 243, 238, 0.84) 100%);
    z-index: -1;
}

.stage-two-page .stage-two-hero__shell {
    display: grid;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.stage-two-page .stage-two-hero__shell .hero__subhead {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.stage-two-page .stage-two-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.stage-two-page .stage-two-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--stage2-line);
    background: var(--stage2-surface-soft);
    color: var(--pub-text);
    font-size: 0.94rem;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(18, 37, 56, 0.04);
}

.stage-two-page .stage-two-panel,
.stage-two-page .stage-two-card,
.stage-two-page .stage-two-screen,
.stage-two-page .stage-two-result-card,
.stage-two-page .stage-two-note {
    background: var(--stage2-surface);
    border: 1px solid var(--stage2-line);
    border-radius: 28px;
    box-shadow: var(--stage2-shadow);
}

.stage-two-page .stage-two-card,
.stage-two-page .stage-two-result-card,
.stage-two-page .stage-two-note,
.stage-two-page .stage-two-panel {
    padding: clamp(22px, 3vw, 30px);
}

.stage-two-page .stage-two-card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stage-two-page .stage-two-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-two-page .stage-two-card h3,
.stage-two-page .stage-two-result-card h3,
.stage-two-page .stage-two-panel h3,
.stage-two-page .stage-two-split__copy h3,
.stage-two-page .stage-two-screen__title,
.stage-two-page .stage-two-cta__title {
    margin: 0 0 10px;
    font-family: var(--pub-font-display);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.1;
    color: var(--pub-text);
    letter-spacing: -0.02em;
}

.stage-two-page .stage-two-card p,
.stage-two-page .stage-two-result-card p,
.stage-two-page .stage-two-panel p,
.stage-two-page .stage-two-note p {
    margin: 0;
    color: var(--pub-muted);
    line-height: 1.65;
}

.stage-two-page .stage-two-intro {
    max-width: 62rem;
    margin: 12px auto 0;
    text-align: center;
}

.stage-two-page .stage-two-split {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.stage-two-page .stage-two-split__copy {
    display: grid;
    gap: 14px;
}

.stage-two-page .stage-two-split__copy p {
    margin: 0;
    color: var(--pub-muted);
    line-height: 1.65;
}

.stage-two-page .stage-two-list,
.stage-two-page .stage-two-checklist {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--pub-muted);
}

.stage-two-page .stage-two-list li,
.stage-two-page .stage-two-checklist li {
    line-height: 1.65;
}

.stage-two-page .stage-two-list li + li,
.stage-two-page .stage-two-checklist li + li {
    margin-top: 8px;
}

.stage-two-page .stage-two-checklist {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 10px;
}

.stage-two-page .stage-two-checklist li {
    position: relative;
    padding-left: 28px;
}

.stage-two-page .stage-two-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--pub-accent-strong);
    font-weight: 800;
}

.stage-two-page .stage-two-profession-points {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.stage-two-page .stage-two-profession-points .stage-two-chip {
    justify-content: flex-start;
    border-radius: 18px;
    min-height: 0;
    padding: 12px 14px;
}

.stage-two-page .stage-two-tool {
    display: grid;
    gap: 28px;
}

.stage-two-page .stage-two-tool__layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
}

.stage-two-page .stage-two-tool__groups {
    display: grid;
    gap: 18px;
}

.stage-two-page .stage-two-tool__group {
    padding: 18px 18px 20px;
    border-radius: 22px;
    border: 1px solid var(--stage2-line);
    background: rgba(255, 253, 249, 0.82);
}

.stage-two-page .stage-two-tool__group h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-family: var(--pub-font-display);
}

.stage-two-page .stage-two-tool__group p {
    margin: 0 0 14px;
    color: var(--pub-muted);
}

.stage-two-page .stage-two-tool__group .input,
.stage-two-page .stage-two-tool__group .select {
    width: 100%;
}

.stage-two-page .stage-two-tool__group .form__field {
    margin: 0;
}

.stage-two-page .stage-two-tool__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.stage-two-page .stage-two-results {
    display: grid;
    gap: 16px;
}

.stage-two-page .stage-two-result-card {
    position: relative;
    overflow: hidden;
}

.stage-two-page .stage-two-result-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #18827a 0%, #0f766e 100%);
}

.stage-two-page .stage-two-result-card h3 {
    margin-bottom: 8px;
}

.stage-two-page .stage-two-result-card .eyebrow {
    margin-bottom: 10px;
}

.stage-two-page .stage-two-tool__empty {
    display: grid;
    gap: 12px;
}

.stage-two-page .stage-two-tool__next {
    margin-top: 4px;
}

.stage-two-page .stage-two-screen {
    padding: clamp(24px, 3vw, 34px);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 246, 241, 0.98) 100%);
    box-shadow: var(--stage2-shadow-strong);
}

.stage-two-page .stage-two-screen__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--stage2-line);
}

.stage-two-page .stage-two-screen__title {
    margin: 0;
}

.stage-two-page .stage-two-screen__kicker {
    margin: 0 0 6px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--pub-accent-strong);
}

.stage-two-page .stage-two-screen__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    border: 1px solid rgba(15, 118, 110, 0.18);
    color: var(--pub-accent-strong);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.stage-two-page .stage-two-screen__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stage-two-page .stage-two-screen__cell {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(18, 37, 56, 0.08);
    background: rgba(255, 253, 249, 0.96);
}

.stage-two-page .stage-two-screen__cell span {
    display: block;
    margin-bottom: 8px;
    color: var(--pub-muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stage-two-page .stage-two-screen__cell strong {
    display: block;
    color: var(--pub-text);
    line-height: 1.45;
}

.stage-two-page .stage-two-screen__support {
    margin: 16px 0 0;
    color: var(--pub-muted);
    line-height: 1.6;
}

.stage-two-page .stage-two-cta {
    display: grid;
    gap: 18px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.stage-two-page .stage-two-cta__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.stage-two-page .stage-two-cta__text {
    margin: 0;
    color: var(--pub-muted);
    line-height: 1.65;
}

.stage-two-page .stage-two-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.stage-two-page .stage-two-note {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.stage-two-page .stage-two-note h2 {
    margin: 0 0 10px;
    font-family: var(--pub-font-display);
    letter-spacing: -0.02em;
    color: var(--pub-text);
}

.stage-two-page .stage-two-profession-route {
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(249, 246, 241, 0.98) 100%);
}

.stage-two-page .stage-two-profession-route__head {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.stage-two-page .stage-two-profession-route__head p {
    margin: 0;
    color: var(--pub-muted);
    line-height: 1.6;
}

.stage-two-page .stage-two-profession-next {
    display: grid;
    gap: 12px;
}

.stage-two-page .stage-two-profession-next .btn {
    justify-self: start;
}

.stage-two-page .stage-two-profession-note {
    display: grid;
    gap: 14px;
}

.stage-two-page .stage-two-profession-note p {
    margin: 0;
    color: var(--pub-muted);
    line-height: 1.65;
}

.stage-two-page .stage-two-profession-note .btn {
    justify-self: start;
}

.stage-two-page .stage-two-hero .hero__actions,
.stage-two-page .stage-two-cta__actions {
    justify-content: center;
}

.stage-two-page .stage-two-hero .hero__actions .btn,
.stage-two-page .stage-two-tool__actions .btn,
.stage-two-page .stage-two-cta__actions .btn {
    min-height: 52px;
}

@media (max-width: 1100px) {
    .stage-two-page .stage-two-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stage-two-page .stage-two-tool__layout,
    .stage-two-page .stage-two-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .stage-two-page .stage-two-card-grid,
    .stage-two-page .stage-two-card-grid--three,
    .stage-two-page .stage-two-screen__grid {
        grid-template-columns: 1fr;
    }

    .stage-two-page .stage-two-hero__shell {
        gap: 16px;
    }

    .stage-two-page .stage-two-tool__actions,
    .stage-two-page .stage-two-cta__actions {
        display: grid;
    }

    .stage-two-page .stage-two-tool__actions .btn,
    .stage-two-page .stage-two-cta__actions .btn {
        width: 100%;
    }

    .stage-two-page .stage-two-screen__top {
        display: grid;
    }

    .stage-two-page .stage-two-profession-next .btn,
    .stage-two-page .stage-two-profession-note .btn {
        justify-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage-two-page .stage-two-screen,
    .stage-two-page .stage-two-card,
    .stage-two-page .stage-two-result-card {
        transition: none !important;
        transform: none !important;
    }
}

/* Profession page video hero
   Used by /reception-cover/physiotherapy, /chiropractic, /osteopathy, /podiatry
   Goal: match homepage-style video clarity with dark left-side text protection. */

.stage-two-page .stage-two-hero.stage-two-hero--video {
    position: relative;
    isolation: isolate;
    min-height: max(660px, calc(100svh - 64px));
    display: flex;
    align-items: center;
    padding: clamp(128px, 15vw, 184px) 0 clamp(82px, 9vw, 126px);
    overflow: hidden;
    background: #122538;
    color: #fffdf9;
}

    /* Strong override: remove the original pale profession-page hero wash. */
    .stage-two-page .stage-two-hero.stage-two-hero--video::before {
        content: none !important;
        display: none !important;
    }

.stage-two-page .stage-two-hero--video .stage-two-hero__backdrop,
.stage-two-page .stage-two-hero--video .stage-two-hero__media {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stage-two-page .stage-two-hero--video .stage-two-hero__backdrop {
    z-index: 0;
    background: radial-gradient(circle at 18% 18%, rgba(222, 200, 172, 0.14), transparent 30%), linear-gradient(180deg, rgba(18, 37, 56, 0.76) 0%, rgba(18, 37, 56, 0.58) 100%);
}

.stage-two-page .stage-two-hero--video .stage-two-hero__media {
    z-index: 1;
    overflow: hidden;
    background: #122538;
}

    /* Main readability layer. Dark left edge, transparent right side so Abby/video remains visible. */
    .stage-two-page .stage-two-hero--video .stage-two-hero__media::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 3;
        background: linear-gradient( 90deg, rgba(8, 22, 34, 0.92) 0%, rgba(8, 22, 34, 0.84) 28%, rgba(8, 22, 34, 0.58) 48%, rgba(8, 22, 34, 0.24) 68%, rgba(8, 22, 34, 0.04) 100% );
    }

    /* Bottom fade into the next pale section. */
    .stage-two-page .stage-two-hero--video .stage-two-hero__media::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        z-index: 4;
        height: 170px;
        background: linear-gradient( 180deg, rgba(247, 243, 238, 0) 0%, rgba(247, 243, 238, 0.88) 86%, rgba(247, 243, 238, 1) 100% );
    }

.stage-two-page .stage-two-hero--video .stage-two-hero__poster,
.stage-two-page .stage-two-hero--video .stage-two-hero__poster img,
.stage-two-page .stage-two-hero--video .stage-two-hero__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.stage-two-page .stage-two-hero--video .stage-two-hero__poster {
    z-index: 1;
}

    .stage-two-page .stage-two-hero--video .stage-two-hero__poster img,
    .stage-two-page .stage-two-hero--video .stage-two-hero__video {
        object-fit: cover;
        object-position: center right;
    }

.stage-two-page .stage-two-hero--video .stage-two-hero__video {
    z-index: 2;
}

.stage-two-page .stage-two-hero--video .stage-two-hero__container {
    position: relative;
    z-index: 5;
}

.stage-two-page .stage-two-hero--video .stage-two-hero__content {
    max-width: 650px;
    display: grid;
    gap: 22px;
}

.stage-two-page .stage-two-hero--video .eyebrow,
.stage-two-page .stage-two-hero--video .hero__h1,
.stage-two-page .stage-two-hero--video .hero__subhead {
    color: #fffdf9;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.34);
}

.stage-two-page .stage-two-hero--video .eyebrow {
    color: rgba(255, 253, 249, 0.82);
}

.stage-two-page .stage-two-hero--video .hero__h1 {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(3rem, 6.8vw, 4.35rem);
    line-height: 0.98;
}

.stage-two-page .stage-two-hero--video .hero__subhead {
    max-width: 39rem;
    margin: 0;
    color: rgba(255, 253, 249, 0.90);
}

.stage-two-page .stage-two-hero--video .hero__actions {
    justify-content: flex-start;
    margin-top: 8px;
}

.stage-two-page .stage-two-hero--video .btn--primary {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

/* Trust strip under the hero. */
.stage-two-page .stage-two-trust-strip {
    padding-top: clamp(54px, 7vw, 82px);
    padding-bottom: clamp(58px, 7vw, 88px);
}

.stage-two-page .stage-two-trust-card {
    padding: clamp(20px, 2.4vw, 26px);
}

    .stage-two-page .stage-two-trust-card .stage-two-card__title {
        margin: 0 0 8px;
    }

    .stage-two-page .stage-two-trust-card .stage-two-card__text {
        margin: 0;
    }

/* Professional recognition strip. */
.stage-two-page .stage-two-recognition {
    position: relative;
    padding: clamp(34px, 5vw, 52px) 0;
    background: linear-gradient(180deg, rgba(247, 243, 238, 1) 0%, rgba(255, 252, 247, 0.98) 100%);
}

.stage-two-page .stage-two-recognition__panel {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--stage2-line);
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.94);
    box-shadow: var(--stage2-shadow);
}

.stage-two-page .stage-two-recognition__copy {
    display: grid;
    gap: 8px;
    max-width: 780px;
}

    .stage-two-page .stage-two-recognition__copy h2 {
        margin: 0;
        font-family: var(--pub-font-display);
        font-size: clamp(1.45rem, 2.2vw, 2rem);
        line-height: 1.12;
        color: var(--pub-text);
        letter-spacing: -0.02em;
    }

    .stage-two-page .stage-two-recognition__copy p {
        margin: 0;
        color: var(--pub-muted);
        line-height: 1.6;
    }

.stage-two-page .stage-two-recognition__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.stage-two-page .stage-two-recognition__item {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(18, 37, 56, 0.12);
    background: rgba(255, 253, 249, 0.86);
    color: rgba(18, 37, 56, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.stage-two-page .stage-two-recognition__disclaimer {
    margin: 0;
    max-width: 760px;
    color: rgba(18, 37, 56, 0.62);
    font-size: 0.88rem;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .stage-two-page .stage-two-hero.stage-two-hero--video {
        min-height: auto;
        padding-top: 146px;
        padding-bottom: 84px;
    }

    .stage-two-page .stage-two-hero--video .stage-two-hero__media::before {
        background: linear-gradient( 90deg, rgba(8, 22, 34, 0.94) 0%, rgba(8, 22, 34, 0.82) 46%, rgba(8, 22, 34, 0.46) 100% );
    }

    .stage-two-page .stage-two-hero--video .stage-two-hero__content {
        max-width: 100%;
    }

    .stage-two-page .stage-two-hero--video .hero__h1 {
        max-width: 16ch;
    }
}

@media (max-width: 760px) {
    .stage-two-page .stage-two-hero.stage-two-hero--video {
        padding-top: 132px;
        padding-bottom: 74px;
    }

    .stage-two-page .stage-two-hero--video .stage-two-hero__poster img,
    .stage-two-page .stage-two-hero--video .stage-two-hero__video {
        object-position: center;
    }

    .stage-two-page .stage-two-hero--video .stage-two-hero__media::before {
        background: linear-gradient( 180deg, rgba(8, 22, 34, 0.92) 0%, rgba(8, 22, 34, 0.76) 52%, rgba(8, 22, 34, 0.88) 100% );
    }

    .stage-two-page .stage-two-hero--video .hero__h1 {
        max-width: none;
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .stage-two-page .stage-two-hero--video .hero__actions {
        display: grid;
    }

        .stage-two-page .stage-two-hero--video .hero__actions .btn {
            width: 100%;
            justify-content: center;
        }
}

/* Profession-fit strip
   Softer than regulatory/professional-body recognition.
   Shows relevance without implying endorsement or creating compliance anxiety. */

.stage-two-page .stage-two-fit-strip {
    position: relative;
    padding: clamp(32px, 4.5vw, 48px) 0;
    background: linear-gradient(180deg, rgba(247, 243, 238, 1) 0%, rgba(255, 252, 247, 0.98) 100%);
}

.stage-two-page .stage-two-fit-strip__panel {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--stage2-line);
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.94);
    box-shadow: var(--stage2-shadow);
}

.stage-two-page .stage-two-fit-strip__label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pub-accent-strong);
}

.stage-two-page .stage-two-fit-strip__title {
    margin: 0;
    font-family: var(--pub-font-display);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.12;
    color: var(--pub-text);
    letter-spacing: -0.02em;
}

.stage-two-page .stage-two-fit-strip__text {
    margin: 0;
    max-width: 780px;
    color: var(--pub-muted);
    line-height: 1.6;
}

.stage-two-page .stage-two-fit-strip__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.stage-two-page .stage-two-fit-strip__item {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(18, 37, 56, 0.12);
    background: rgba(255, 253, 249, 0.86);
    color: rgba(18, 37, 56, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}