:root {
    --blue: #3185FC;
    --yellow: #F9DC5C;
    --pink: #FFC2D3;
    --red: #FC3F56;
    --ink: #282828;
    --white: #fff;
    --muted: #282828;
    --line: #282828;
    --radius: 8px;
    color-scheme: light;
}

.red {
    color: var(--red);
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lufga";
    src: url("/fonts/Lufga-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: "Lufga", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.site-shell,
.site-header,
.site-footer,
.hero,
.section,
.auth-page,
.client-page,
.pro-page,
.simple-page {
    font-family: "Lufga", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    max-width: 100%;
}

p {
    margin: 0;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 840px;
    font-size: clamp(3.1rem, 7vw, 6.8rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: 900;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 850;
}

.site-shell {
    min-height: 100vh;
}

.container {
    width: min(1160px, calc(100% - 64px));
    margin: 0 auto;
}

.small {
    font-size: .875rem;
}

.fst-italic {
    font-style: italic;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.pb-4 {
    padding-bottom: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.g-4 {
    gap: 1.5rem;
}

.align-items-center {
    align-items: center;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.d-none {
    display: none;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 calc(50% - .75rem);
        max-width: calc(50% - .75rem);
    }

    .d-lg-grid {
        display: grid;
    }
}

@media (min-width: 1200px) {
    .col-xl-5 {
        flex: 0 0 calc(41.666% - .75rem);
        max-width: calc(41.666% - .75rem);
    }

    .col-xl-7 {
        flex: 0 0 calc(58.333% - .75rem);
        max-width: calc(58.333% - .75rem);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .cta-advisor-band .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cta-advisor-left {
        grid-template-columns: 160px minmax(0, 320px);
        justify-content: center;
    }

    .cta-advisor-copy {
        padding-left: 0;
        text-align: center;
    }

    .cta-advisor-copy h2,
    .cta-advisor-copy p:not(.eyebrow) {
        margin-right: auto;
        margin-left: auto;
    }
}

#accompagnement {
    background-color: color-mix(in srgb, var(--pink) 38%, transparent);
}

#methode {
    background-color: white;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--blue);
}

.bg-blue {
    background: var(--blue);
}

.cta-advisor-band {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border-radius: var(--radius);
    color: var(--white);
}

.cta-advisor-left {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: end;
}

.cta-advisor-left .button {
    grid-column: 1 / -1;
    justify-self: center;
    width: fit-content;
}

.cta-advisor-copy {
    padding-left: 22px;
}

.cta-advisor-copy .eyebrow {
    color: var(--blue);
    margin-bottom: 18px;
}

.cta-advisor-copy h2 {
    max-width: 780px;
}

.cta-advisor-copy p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 18px;
    color: var(--white);
    font-size: 1.12rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    max-width: min(760px, 62vw);
    color: var(--white);
    font-weight: 850;
    line-height: 1;
}

.brand-mark {
    display: block;
    width: clamp(132px, 13vw, 190px);
    height: auto;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 4px;
    padding-left: 16px;
    position: relative;
}

.brand-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 999px;
    background: var(--yellow);
}

.brand-name {
    display: block;
    color: var(--white);
    font-size: clamp(1.45rem, 2.7vw, 2.15rem);
    font-weight: 950;
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.brand-title {
    display: block;
    color: var(--white);
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.15;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--white);
    font-size: .95rem;
}

.nav-links a:not(.button):hover {
    color: var(--yellow);
}

.nav-toggle {
    display: none;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--white);
    font: inherit;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.button {
    text-decoration: none;
}

.button:hover,
button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.button.primary {
    background: var(--blue);
    color: var(--white);
}

.button.yellow {
    background: var(--yellow);
    color: var(--ink);
}

.button.ghost {
    background: var(--yellow);
    color: var(--ink);
}

.business-referral-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    margin-bottom: 34px;
    padding: 26px 30px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--pink) 58%, transparent);
    color: var(--ink);
}

.business-referral-band h2 {
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.business-referral-band p {
    max-width: 780px;
    margin-top: 8px;
    font-weight: 400;
}

.business-referral-kicker {
    margin: 0 0 8px;
    color: var(--red);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.business-referral-band .button {
    background: var(--white);
    color: var(--ink);
}

.referral-page {
    background: var(--white);
}

.referral-hero {
    min-height: calc(100vh - 150px);
    display: grid;
    align-items: center;
    padding: 34px 0;
}

.referral-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: 34px;
    align-items: center;
}

.referral-hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    margin: 0;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--pink) 42%, var(--white));
}

.referral-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
}

.referral-hero-copy {
    display: grid;
    align-content: center;
}

.referral-hero h2 {
    max-width: 880px;
}

.referral-hero p:not(.eyebrow) {
    max-width: 720px;
}

.referral-benefits {
    background: color-mix(in srgb, var(--pink) 38%, transparent);
}

.referral-card-grid .feature-card:nth-child(1) {
    background: var(--yellow);
    color: var(--ink);
}

.referral-card-grid .feature-card:nth-child(2) {
    background: var(--pink);
    color: var(--ink);
}

.referral-card-grid .feature-card:nth-child(3) {
    background: var(--blue);
    color: var(--white);
}

.referral-process {
    display: grid;
    gap: 8px;
}

.section.referral-process-section {
    padding-bottom: 36px;
}

.section.referral-cta-section {
    padding-top: 22px;
}

.referral-sloped-title {
    display: block;
    width: fit-content;
    margin-top: 8px;
    transform: rotate(-3deg);
    transform-origin: left center;
}

.referral-steps {
    display: grid;
    grid-template-columns: .82fr .94fr 1.06fr 1.18fr;
    gap: 14px;
    align-items: end;
}

.referral-steps article {
    min-height: 220px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
}

.referral-steps article:nth-child(2) {
    min-height: 245px;
    background: var(--red);
}

.referral-steps article:nth-child(3) {
    min-height: 270px;
    background: var(--yellow);
    color: var(--ink);
}

.referral-steps article:nth-child(4) {
    min-height: 300px;
    background: var(--pink);
    color: var(--ink);
}

.referral-steps span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
}

.referral-steps p {
    margin-top: 12px;
    color: currentColor;
}

.referral-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
}

.referral-cta p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 16px;
    color: var(--white);
}

.referral-cta .eyebrow {
    color: var(--blue);
}

.hero {
    position: relative;
    min-height: calc(100vh - 150px);
    display: grid;
    align-items: center;
    background: var(--white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .82fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--white);
    color: var(--blue);
    font-size: .86rem;
    font-weight: 850;
}

.lead {
    max-width: 675px;
    margin-top: 24px;
    color: var(--ink);
    font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 42px;
}

.proof {
    min-height: 116px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
}

.proof strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 1.75rem;
    line-height: 1;
}

.visual-panel {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    border-radius: var(--radius);
    background: var(--white);
}

.hero-image-panel {
    display: block;
    min-height: auto;
    background: transparent;
}

.hero-campaign-image {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
}

.visual-card {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 30px;
    z-index: 1;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
}

.visual-card span {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 850;
}

.visual-card .amount {
    display: block;
    margin: 6px 0 10px;
    color: var(--red);
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
}

.section {
    padding: 90px 0;
}

.reviews-section {
    padding: 72px 0;
    background: var(--yellow);
}

.google-reviews-band {
    display: grid;
    gap: 28px;
    padding: 0;
    background: transparent;
}

.reviews-heading {
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
}

.google-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 850;
    white-space: nowrap;
}

.google-rating-pill strong,
.review-stars {
    color: var(--red);
    letter-spacing: 0;
}

.review-carousel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 14px;
    align-items: center;
}

.review-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 330px));
    gap: 14px;
    justify-content: center;
}

.review-card {
    display: none;
    align-content: space-between;
    gap: 24px;
    min-height: 260px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
}

.review-card.is-active {
    display: grid;
}

.review-card p {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.55;
}

.review-card footer {
    display: flex;
    gap: 10px;
    align-items: baseline;
    justify-content: space-between;
    color: var(--muted);
}

.review-card footer strong {
    color: var(--ink);
}

.review-nav {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--red);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.review-nav::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

.review-nav[data-review-prev]::before {
    transform: translateX(2px) rotate(-135deg);
}

.review-nav[data-review-next]::before {
    transform: translateX(-2px) rotate(45deg);
}

.review-nav:hover,
.review-nav:focus-visible {
    background: var(--red);
    color: var(--white);
    outline: none;
}

.section.alt .section-head p,
.section.alt .step p {
    color: var(--white);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    align-items: end;
    margin-bottom: 34px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card,
.contact-panel,
.form-panel,
.legal-panel {
    border-radius: var(--radius);
    background: var(--white);
}

.feature-card {
    min-height: 278px;
    padding: 28px;
}

.feature-card:nth-child(1) {
    background: var(--yellow);
}

.feature-card:nth-child(2) {
    background: var(--pink);
}

.feature-card:nth-child(3) {
    background: var(--blue);
    color: var(--white);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
}

.feature-card p {
    margin-top: 13px;
    color: currentColor;
    opacity: .78;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    color : white;
}

.step {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 230px;
    padding: 24px;
    border-radius: var(--radius);
    background-color: var(--ink);
    isolation: isolate;
}

.step::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -1;
    background-image: var(--step-image);
    background-position: center;
    background-size: cover;
    filter: blur(1px);
    transform: scale(1.04);
}

.step::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--ink) 70%, transparent);
}

.step-photo-1 {
    --step-image: url("/images/steps/step-3.webp");
}

.step-photo-2 {
    --step-image: url("/images/steps/step-4.webp");
}

.step-photo-3 {
    --step-image: url("/images/steps/step-1.webp");
}

.step-photo-4 {
    --step-image: url("/images/steps/step-2.webp");
}

.step span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
}

.step p {
    margin-top: 12px;
    color: white;
}

.cta-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    gap: 36px;
    align-items: end;
    overflow: hidden;
    padding: 56px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
}

.cta-band p {
    max-width: 680px;
    margin: 18px 0 28px;
    color: var(--white);
}

.cta-photo-wrap {
    align-self: end;
    min-height: 180px;
    position: relative;
}

.cta-photo {
    position: absolute;
    left: -8px;
    bottom: -44px;
    width: 180px;
    max-width: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content .eyebrow {
    color: var(--blue);
}

.advisor-details {
    display: grid;
    gap: 5px;
    align-self: center;
    margin: 0;
    color: var(--white);
}

.advisor-details strong {
    font-size: 1.28rem;
}

.advisor-details a {
    width: fit-content;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1199px) {
    .cta-advisor-band {
        overflow: visible;
        padding: 0;
        background: transparent;
        color: var(--ink);
    }

    .cta-advisor-band .row {
        display: grid;
        gap: 22px;
    }

    .cta-advisor-band .col-lg-6 {
        max-width: 100%;
    }

    .cta-advisor-left {
        grid-template-columns: 140px minmax(0, 300px) auto;
        justify-content: center;
        align-items: center;
        padding: 0;
        color: var(--ink);
    }

    .cta-advisor-left .button {
        grid-column: auto;
        justify-self: start;
    }

    .advisor-details {
        color: var(--ink);
    }

    .advisor-details a {
        color: var(--ink);
    }

    .cta-advisor-copy {
        padding: 34px;
        border-radius: var(--radius);
        background: var(--blue);
        color: var(--white);
        text-align: center;
    }

    .cta-advisor-copy h2,
    .cta-advisor-copy p:not(.eyebrow) {
        margin-right: auto;
        margin-left: auto;
    }
}

.site-footer {
    position: relative;
    margin-top: 36px;
    padding: 44px 0 36px;
    background: var(--blue);
    color: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    display: block;
    width: clamp(130px, 13vw, 180px);
    height: auto;
}

.site-footer a:hover {
    color: var(--yellow);
}

.auth-page,
.client-page,
.pro-page,
.simple-page {
    min-height: 100vh;
    background: var(--white);
}

.page-hero {
    padding: 70px 0 42px;
}

.page-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.page-hero p {
    max-width: 680px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.12rem;
}

.legal-hero {
    padding: 76px 0 38px;
}

.legal-hero h1 {
    max-width: 980px;
    font-size: clamp(3rem, 7vw, 6.4rem);
}

.legal-hero p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 20px;
    color: var(--ink);
    font-size: 1.14rem;
}

.legal-layout {
    padding-bottom: 86px;
}

.legal-block {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.legal-block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.contact-hero {
    padding: 72px 0;
    background: var(--blue);
    color: var(--white);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 42px;
    align-items: center;
}

.contact-hero .eyebrow {
    color: var(--blue);
}

.contact-hero p:not(.eyebrow) {
    max-width: 680px;
    margin-top: 22px;
    font-size: 1.18rem;
    color: var(--white);
}

.contact-advisor-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
}

.contact-advisor-card img {
    width: 132px;
    align-self: end;
}

.contact-advisor-card div {
    display: grid;
    gap: 5px;
}

.contact-advisor-card strong {
    font-size: 1.35rem;
    line-height: 1;
}

.contact-section {
    background: color-mix(in srgb, var(--pink) 58%, transparent);
}

.contact-grid,
.pro-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 22px;
    align-items: start;
}

.contact-panel,
.form-panel,
.legal-panel {
    padding: 28px;
}

.contact-info-panel {
    background: var(--yellow);
}

.contact-info-panel h2,
.contact-form-panel h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.contact-checklist {
    display: grid;
    gap: 10px;
    margin: 28px 0;
}

.contact-checklist span {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 700;
}

.contact-direct {
    display: grid;
    gap: 8px;
}

.contact-direct a {
    width: fit-content;
    color: var(--ink);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-form-panel {
    background: var(--white);
}

.contact-form-panel .eyebrow {
    color: var(--blue);
}

.contact-form-panel h2 {
    margin-bottom: 26px;
}

.contact-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-steps article {
    min-height: 210px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
}

.contact-steps article:nth-child(2) {
    background: var(--red);
}

.contact-steps article:nth-child(3) {
    background: var(--ink);
}

.contact-steps span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
}

.contact-steps p {
    margin-top: 12px;
    color: var(--white);
}

.contact-page {
    background: var(--white);
}

.contact-simple-section {
    min-height: calc(100vh - 86px);
    padding: 72px 0 86px;
}

.contact-heading {
    margin-bottom: 40px;
}

.contact-heading .eyebrow {
    color: var(--blue);
}

.contact-heading h1 {
    font-size: clamp(3rem, 7vw, 6.6rem);
}

.contact-heading p:not(.eyebrow) {
    margin-top: 22px;
    color: var(--ink);
    font-size: 1.18rem;
}

.contact-form-shell {
    display: grid;
    grid-template-columns: minmax(250px, .58fr) minmax(0, 1.42fr);
    gap: 24px;
    align-items: stretch;
}

.contact-aside {
    display: grid;
    place-items: center;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
}

.contact-photo-stack {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-portrait {
    display: block;
    width: min(260px, 82%);
    max-width: none;
}

.contact-signature {
    display: block;
    width: min(250px, 78%);
    max-width: none;
    margin-top: -14px;
    position: relative;
    z-index: 1;
}

.contact-mini-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--white);
}

.contact-mini-card img {
    width: 92px;
    align-self: end;
}

.contact-mini-card div {
    display: grid;
    gap: 4px;
}

.contact-mini-card strong {
    font-size: 1.2rem;
}

.contact-aside-note {
    display: grid;
    gap: 8px;
}

.contact-aside-note a {
    width: fit-content;
    color: var(--white);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-aside-note p {
    margin: 8px 0 0;
    color: var(--white);
}

.contact-success {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--yellow);
    color: var(--ink);
    font-weight: 800;
}

.contact-form-panel {
    padding: 34px;
    background: color-mix(in srgb, var(--pink) 42%, var(--white));
}

.form-panel + .form-panel {
    margin-top: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field-spacer {
    min-height: 1px;
}

label {
    color: var(--ink);
    font-size: .92rem;
    font-weight: 850;
}

input,
select,
textarea {
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    height: 52px;
    padding: 13px 14px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    line-height: 1.2;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--yellow);
    border-color: var(--blue);
}

textarea {
    min-height: 52px;
    resize: vertical;
}

fieldset {
    margin: 0 0 24px;
    padding: 24px;
    border: 0;
    border-radius: var(--radius);
    background: var(--white);
}

legend {
    width: 100%;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.privacy-note {
    margin: 18px 0;
    color: var(--muted);
    font-size: .92rem;
}

.login-card {
    width: min(460px, calc(100% - 40px));
    margin: 0 auto;
    padding: 12vh 0;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
    background: var(--white);
}

.login-visual {
    display: grid;
    align-content: space-between;
    padding: 54px;
    background: var(--blue);
    color: var(--white);
}

.login-logo {
    display: block;
    width: min(210px, 48vw);
}

.login-logo img {
    display: block;
}

.login-visual .eyebrow {
    color: var(--blue);
}

.login-visual h1 {
    max-width: 720px;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.login-visual p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 22px;
    color: var(--white);
    font-size: 1.18rem;
}

.login-panel {
    display: grid;
    align-content: center;
    gap: 30px;
    padding: 54px;
}

.login-panel-head {
    display: grid;
    gap: 4px;
}

.login-panel-head span {
    color: var(--blue);
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.login-panel-head strong {
    max-width: 320px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.04;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form input {
    border: 2px solid var(--yellow);
    background: var(--white);
}

.login-form input:focus {
    border-color: var(--blue);
    background: var(--white);
}

.login-form .button {
    margin-top: 6px;
}

.alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--pink);
    color: var(--ink);
}

.alert-success {
    background: var(--yellow);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
}

.topbar .brand {
    color: var(--white);
}

.topbar .brand-mark {
    width: clamp(118px, 11vw, 160px);
}

.topbar .button.ghost {
    background: var(--yellow);
    color: var(--ink);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pro-breadcrumb {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 850;
}

.pro-breadcrumb a {
    text-decoration: none;
}

.pro-breadcrumb span::before {
    content: "/";
    margin-right: 8px;
    color: var(--ink);
    opacity: .45;
}

.pro-landing {
    padding: 54px 0 90px;
}

.pro-landing-head {
    max-width: 820px;
    margin-bottom: 34px;
}

.pro-landing-head h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
}

.pro-landing-head p:not(.eyebrow) {
    max-width: 680px;
    margin-top: 18px;
    color: var(--ink);
    font-size: 1.12rem;
}

.pro-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pro-tile {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    padding: 28px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--pink) 46%, var(--white));
    color: var(--ink);
}

.pro-tile-primary {
    background: var(--blue);
    color: var(--white);
}

.pro-tile-note {
    background: var(--yellow);
}

.pro-tile-reviews {
    background: var(--red);
    color: var(--white);
}

.pro-tile-contracts {
    background: var(--blue);
    color: var(--white);
}

.pro-tile-index {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
}

.pro-tile h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.pro-tile p {
    color: currentColor;
}

.pro-tile strong {
    color: currentColor;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.pro-tile form {
    display: grid;
    gap: 14px;
}

.pro-form-hero {
    padding-top: 38px;
    padding-bottom: 24px;
}

.pro-client-form {
    display: grid;
    gap: 18px;
    margin-bottom: 90px;
    padding: 0;
    background: var(--white);
}

.account-form {
    display: grid;
    gap: 18px;
    max-width: 900px;
    margin-bottom: 90px;
}

.account-form fieldset {
    margin: 0;
    background: var(--white);
}

.account-form input,
.account-form select,
.account-form textarea {
    border: 2px solid var(--red);
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
    border-color: var(--red);
    outline: 3px solid color-mix(in srgb, var(--red) 18%, transparent);
}

.account-form legend {
    background: var(--red);
    color: var(--white);
}

.reviews-admin {
    display: grid;
    gap: 36px;
    margin-bottom: 90px;
}

.review-admin-form {
    max-width: none;
    margin-bottom: 0;
}

.review-admin-form textarea {
    min-height: 150px;
}

.review-admin-list {
    display: grid;
    gap: 18px;
}

.review-admin-list h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.review-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.review-admin-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--yellow) 60%, var(--white));
}

.review-admin-card p {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.55;
}

.review-admin-card footer {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    color: var(--ink);
}

.review-admin-card footer span {
    display: grid;
    gap: 3px;
}

.review-admin-card footer strong {
    display: block;
}

.review-admin-empty {
    padding: 24px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--pink) 42%, var(--white));
}

.pro-tile-income {
    background: var(--pink);
    color: var(--ink);
}

.pro-tile-simulator {
    background: color-mix(in srgb, var(--blue) 14%, var(--white));
}

.contracts-admin {
    display: grid;
    gap: 36px;
    margin-bottom: 90px;
}

.contract-admin-form {
    max-width: none;
    margin-bottom: 0;
}

.contract-admin-list {
    display: grid;
    gap: 18px;
}

.contract-admin-list-head {
    display: grid;
    gap: 16px;
}

.contract-admin-list h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.contract-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(120px, .35fr) auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 2px solid color-mix(in srgb, var(--red) 28%, transparent);
    border-radius: var(--radius);
    background: var(--white);
}

.contract-filter-field {
    display: grid;
    gap: 6px;
}

.contract-filter-field label {
    color: var(--red);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contract-filter-field select {
    height: 46px;
    width: 100%;
    border: 2px solid var(--red);
    background: color-mix(in srgb, var(--pink) 16%, var(--white));
    font-weight: 850;
}

.contract-filter-field.compact {
    max-width: 160px;
}

.contract-filter-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.contract-filter-actions .button {
    min-height: 46px;
    padding: 11px 16px;
}

.contract-contributions-field {
    display: grid;
    gap: 14px;
}

.contract-contributions-field.is-hidden {
    display: none;
}

.contract-contributions-head {
    display: grid;
    gap: 4px;
}

.contract-contributions-head span {
    color: var(--muted);
    font-size: .94rem;
    font-weight: 650;
}

.contract-contributions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contract-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contract-admin-card {
    display: grid;
    gap: 20px;
    align-content: start;
    padding: 24px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--blue) 12%, var(--white));
}

.contract-admin-card .button {
    justify-self: end;
}

.contract-admin-card header {
    display: grid;
    gap: 6px;
}

.contract-admin-card header strong {
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.08;
}

.contract-admin-card header span {
    color: var(--muted);
    font-size: .94rem;
}

.contract-admin-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.contract-admin-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.contract-admin-card dt,
.contract-admin-card dd {
    margin: 0;
}

.contract-admin-card dt {
    color: var(--muted);
}

.contract-admin-card dd {
    color: var(--ink);
    font-weight: 900;
    text-align: right;
}

.contract-admin-empty {
    padding: 24px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--pink) 42%, var(--white));
}

.income-page {
    display: grid;
    gap: 24px;
    margin-bottom: 90px;
}

.income-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.income-summary article {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--pink) 34%, var(--white));
}

.income-summary span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.income-summary strong {
    color: var(--ink);
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1;
}

.income-chart-panel {
    display: grid;
    gap: 26px;
    padding: 28px;
    border: 2px solid color-mix(in srgb, var(--blue) 20%, transparent);
    border-radius: var(--radius);
    background: var(--white);
    overflow: visible;
}

.income-chart-head {
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
}

.income-chart-head h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.income-chart-head p {
    max-width: 720px;
    margin-top: 10px;
    color: var(--muted);
}

.income-legend {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-weight: 850;
}

.income-legend span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.income-legend i {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.income-legend .fees {
    background: var(--blue);
}

.income-legend .commissions {
    background: var(--red);
}

.income-chart {
    display: grid;
    grid-template-columns: repeat(12, minmax(58px, 1fr));
    gap: 14px;
    align-items: start;
    overflow-x: auto;
    padding: 12px 2px 8px;
    border-bottom: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.income-month {
    position: relative;
    display: grid;
    grid-template-rows: 260px 18px 18px;
    min-width: 58px;
    gap: 8px;
    align-items: end;
    justify-items: center;
}

.income-bar-wrap {
    position: relative;
    display: flex;
    width: 100%;
    height: 260px;
    align-items: end;
    justify-content: center;
    border-radius: 0;
    background: repeating-linear-gradient(
        to top,
        color-mix(in srgb, var(--ink) 7%, transparent) 0,
        color-mix(in srgb, var(--ink) 7%, transparent) 1px,
        transparent 1px,
        transparent 52px
    );
}

.income-bar {
    display: flex;
    width: min(42px, 72%);
    flex-direction: column-reverse;
    justify-content: flex-start;
    overflow: visible;
    border-radius: 7px 7px 0 0;
    background: transparent;
    transition: filter .18s ease, transform .18s ease;
}

.income-month:not(.is-empty):hover .income-bar {
    filter: saturate(1.08);
    transform: translateY(-2px);
}

.income-bar-segment {
    display: block;
    min-height: 0;
}

.income-bar-segment.fees {
    background: var(--blue);
}

.income-bar-segment.commissions {
    background: var(--red);
}

.income-bar-segment:first-child {
    border-radius: 0;
}

.income-bar-segment:last-child {
    border-radius: 7px 7px 0 0;
}

.income-bar-segment:only-child {
    border-radius: 7px 7px 0 0;
}

.income-cursor-tooltip {
    position: fixed;
    z-index: 1000;
    display: grid;
    min-width: 190px;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    font-size: .82rem;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .16s ease, transform .16s ease;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 24%, transparent);
}

.income-cursor-tooltip strong {
    color: var(--white);
    font-size: .88rem;
}

.income-cursor-tooltip span {
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
}

.income-cursor-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.income-month strong {
    display: block;
    min-height: 18px;
    color: var(--ink);
    font-size: .85rem;
    line-height: 18px;
    white-space: nowrap;
}

.income-month > span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 900;
    line-height: 18px;
}

.savings-calculator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .55fr);
    gap: 24px;
    margin-bottom: 90px;
    align-items: stretch;
}

.savings-inputs {
    display: grid;
    gap: 18px;
    padding: 0;
    background: var(--white);
}

.savings-inputs fieldset {
    --section-color: var(--red);
    margin: 0;
    background: var(--white);
}

.savings-inputs fieldset:nth-of-type(1) {
    --section-color: var(--red);
}

.savings-inputs fieldset:nth-of-type(2) {
    --section-color: var(--blue);
}

.savings-inputs fieldset:nth-of-type(3) {
    --section-color: var(--pink);
}

.savings-inputs legend {
    background: var(--section-color);
    color: var(--white);
}

.savings-inputs fieldset:nth-of-type(3) legend {
    background: var(--pink);
    color: var(--ink);
}

.savings-inputs input,
.savings-inputs select {
    height: 52px;
    min-height: 52px;
    border: 2px solid var(--section-color);
    background: var(--white);
}

.savings-inputs input:focus,
.savings-inputs select:focus {
    border-color: var(--section-color);
    outline: 3px solid color-mix(in srgb, var(--section-color) 18%, transparent);
}

.profile-simulator-inputs fieldset:nth-of-type(1) {
    --section-color: var(--blue);
}

.profile-simulator-inputs fieldset:nth-of-type(2) {
    --section-color: var(--red);
}

.profile-simulator-inputs fieldset:nth-of-type(3) {
    --section-color: var(--pink);
}

.savings-results {
    display: grid;
    gap: 18px;
    height: 100%;
}

.savings-result-card {
    display: grid;
    align-content: start;
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: 0 16px 38px color-mix(in srgb, var(--ink) 10%, transparent);
}

.savings-result-current {
    background: var(--blue);
    color: var(--white);
}

.savings-result-new {
    background: var(--red);
    color: var(--white);
}

.savings-result-fees {
    background: var(--pink);
    color: var(--ink);
}

.moonee-installments {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--pink);
    color: var(--ink);
}

.moonee-installments-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
}

.moonee-installments-grid div {
    display: grid;
    gap: 4px;
    flex: 1 0 120px;
    min-height: 86px;
    align-content: center;
    padding: 14px 12px;
    border-radius: 18px;
    background: var(--white);
}

.moonee-installments-grid dt {
    font-size: .82rem;
    font-weight: 850;
}

.moonee-installments-grid dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
}

.savings-result-label {
    display: block;
    margin-bottom: 12px;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.savings-result-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 2.1vw, 1.85rem);
    line-height: 1.02;
}

.savings-result-card p {
    margin-top: 12px;
    font-weight: 850;
}

.savings-result-card dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.savings-result-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
    padding: 9px 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--white) 18%, transparent);
}

.savings-result-card dl div:last-child {
    border-bottom: 0;
}

.savings-result-fees dl div {
    background: var(--white);
}

.savings-result-card dt {
    color: currentColor;
    font-size: .86rem;
    font-weight: 750;
}

.savings-result-card dd {
    margin: 0;
    text-align: right;
    font-size: 1rem;
    font-weight: 950;
}

.checkbox-field {
    align-content: end;
}

.checkbox-field label {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid var(--red);
    border-radius: 18px;
    background: var(--white);
}

.checkbox-field input {
    width: 20px;
    height: 20px;
    min-height: 20px;
    flex: 0 0 20px;
}

.pro-client-form fieldset {
    --section-color: var(--yellow);
    margin: 0;
}

.pro-client-form input,
.pro-client-form select,
.pro-client-form textarea {
    height: 52px;
    min-height: 52px;
    border: 2px solid var(--section-color);
    background: var(--white);
    appearance: none;
}

.pro-client-form input:focus,
.pro-client-form select:focus,
.pro-client-form textarea:focus {
    border-color: var(--blue);
    outline: 3px solid color-mix(in srgb, var(--blue) 22%, transparent);
}

.pro-client-form label {
    min-height: 1.3em;
}

.pro-client-form fieldset:nth-of-type(1),
.pro-client-form fieldset:nth-of-type(2) {
    --section-color: var(--red);
}

.pro-client-form fieldset:nth-of-type(1) legend,
.pro-client-form fieldset:nth-of-type(2) legend {
    background: var(--red);
    color: var(--white);
}

.pro-client-form fieldset:last-of-type {
    --section-color: var(--pink);
}

.pro-client-form fieldset:last-of-type legend {
    background: var(--pink);
    color: var(--ink);
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0 24px 24px;
}

.link-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--yellow);
}

.link-result[hidden] {
    display: none;
}

.icon-button {
    padding: 11px 13px;
    background: var(--blue);
}

.legal-panel h2 {
    margin-top: 28px;
    font-size: 1.35rem;
}

.legal-block h2 {
    margin-top: 0;
}

.legal-panel h2:first-child {
    margin-top: 0;
}

.legal-panel p,
.legal-panel li {
    color: var(--muted);
}

.legal-panel p + p,
.legal-panel p + ul,
.legal-panel ul + p {
    margin-top: 12px;
}

.legal-panel ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-left: 20px;
}

.legal-panel a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.profile-sim {
    display: grid;
    gap: 18px;
    min-height: calc(100svh - 140px);
    align-content: center;
    margin-bottom: 86px;
}

.profile-sim-heading {
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
}

.profile-sim-heading h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: .95;
}

.profile-sim-card {
    width: min(100%, 980px);
    margin-inline: auto;
}

.profile-sim-step {
    display: none;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
    padding: clamp(18px, 2.4vw, 26px);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--blue) 4%, var(--white));
    box-shadow: 0 18px 44px color-mix(in srgb, var(--ink) 10%, transparent);
}

.profile-sim-step.is-active {
    display: grid;
}

.profile-sim-step-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.profile-sim-step-head > span {
    display: inline-grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 950;
}

.profile-sim-step-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.6rem, 2.4vw, 2.35rem);
    line-height: 1;
}

.profile-sim-step-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.25;
}

.profile-sim-body {
    min-height: 0;
}

.profile-sim-body.one-question,
.profile-sim-body.two-questions {
    display: grid;
    gap: 18px;
    align-content: start;
}

.profile-sim-body.one-question {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

.profile-sim-body.two-questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-sim-body.loan {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.profile-sim-body.insured {
    display: grid;
    grid-template-columns: minmax(180px, .85fr) minmax(0, 2fr);
    grid-template-areas:
        "age job"
        "smoker job"
        "sport job";
    gap: 12px;
    align-content: start;
}

.profile-sim-field,
.profile-sim-panel {
    display: grid;
    min-width: 0;
    gap: 8px;
    align-content: start;
    grid-template-rows: auto minmax(0, 1fr);
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    border-radius: var(--radius);
    background: var(--white);
}

.profile-sim-field.wide {
    grid-column: 1 / -1;
}

.profile-sim-body.loan .profile-sim-field:not(.wide) {
    grid-column: span 2;
}

.profile-sim-field label,
.profile-sim-label {
    color: var(--ink);
    font-size: .88rem;
    font-weight: 900;
    line-height: 1.15;
}

.profile-sim-field input {
    width: 100%;
    height: 54px;
    min-height: 54px;
    font-size: 1.05rem;
    border: 2px solid color-mix(in srgb, var(--blue) 70%, var(--white));
    border-radius: var(--radius);
    background: var(--white);
    align-self: start;
}

.profile-sim-body.insured .profile-sim-field input {
    border-color: color-mix(in srgb, var(--red) 70%, var(--white));
}

.profile-sim-field input:focus {
    outline: 3px solid color-mix(in srgb, var(--blue) 18%, transparent);
}

.profile-sim-body.insured .profile-sim-field input:focus {
    outline-color: color-mix(in srgb, var(--red) 18%, transparent);
}

.profile-sim-panel.age {
    grid-area: age;
}

.profile-sim-panel.job {
    grid-area: job;
}

.profile-sim-panel.smoker {
    grid-area: smoker;
}

.profile-sim-panel.sport {
    grid-area: sport;
}

.profile-sim-options {
    display: grid;
    gap: 12px;
    min-height: 0;
}

.profile-sim-options.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-sim-options.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-sim-options.jobs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-sim-option {
    display: block;
    min-width: 0;
    cursor: pointer;
}

.profile-sim-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
}

.profile-sim-option span {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 2px solid color-mix(in srgb, var(--blue) 70%, var(--white));
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-size: .92rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.profile-sim-body.one-question .profile-sim-panel {
    min-height: 0;
}

.profile-sim-body.one-question .profile-sim-options.two,
.profile-sim-body.one-question .profile-sim-options.four {
    grid-auto-rows: minmax(120px, 1fr);
}

.profile-sim-body.one-question .profile-sim-options.jobs {
    grid-auto-rows: minmax(130px, 1fr);
}

.profile-sim-body.one-question .profile-sim-option span {
    flex-direction: column;
    font-size: 1rem;
}

.profile-sim-body.insured .profile-sim-option span {
    border-color: color-mix(in srgb, var(--red) 70%, var(--white));
}

.profile-sim-option i {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--blue) 14%, var(--white));
    color: var(--blue);
}

.profile-sim-body.insured .profile-sim-option i {
    background: color-mix(in srgb, var(--red) 14%, var(--white));
    color: var(--red);
}

.profile-sim-option svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-sim-option:hover span {
    transform: translateY(-1px);
}

.profile-sim-option input:checked + span {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.profile-sim-body.insured .profile-sim-option input:checked + span {
    border-color: var(--red);
    background: var(--red);
}

.profile-sim-option input:checked + span i {
    background: var(--white);
    color: var(--blue);
}

.profile-sim-body.insured .profile-sim-option input:checked + span i {
    color: var(--red);
}

.profile-sim-option input.is-invalid + span,
.profile-sim-field input.is-invalid {
    border-color: var(--red);
    background: color-mix(in srgb, var(--pink) 18%, var(--white));
}

.profile-sim-error {
    margin: 0;
    padding: 8px 10px;
    border-radius: var(--radius);
    background: var(--pink);
    color: var(--ink);
    font-size: .84rem;
    font-weight: 850;
}

.profile-sim-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

.profile-sim-actions .button {
    min-height: 42px;
    padding: 10px 18px;
}

.profile-sim-result {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.profile-sim-result article {
    display: grid;
    gap: 6px;
    min-height: 118px;
    align-content: center;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--white);
}

.profile-sim-result article.main {
    grid-column: 1 / -1;
    min-height: 150px;
    background: var(--blue);
    color: var(--white);
}

.profile-sim-result span {
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.profile-sim-result strong {
    color: inherit;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    line-height: 1;
}

.profile-sim-result .main strong {
    font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.profile-sim-result small,
.profile-sim-note {
    color: var(--muted);
    font-weight: 750;
}

.profile-sim-result .main small {
    color: var(--white);
}

.profile-sim-note {
    max-width: 780px;
    margin: 0;
    font-size: .86rem;
    line-height: 1.3;
}

@media (max-width: 760px) {
    .profile-sim {
        min-height: auto;
        margin-bottom: 44px;
    }

    .profile-sim-card {
    }

    .profile-sim-step {
        gap: 10px;
        padding: 14px;
    }

    .profile-sim-step-head p {
        display: none;
    }

    .profile-sim-body.two-questions,
    .profile-sim-body.loan {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .profile-sim-body.loan .profile-sim-field:not(.wide) {
        grid-column: span 1;
    }

    .profile-sim-body.insured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "age age"
            "job job"
            "smoker sport";
        gap: 10px;
    }

    .profile-sim-options.jobs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-sim-option span {
        min-height: 56px;
        height: auto;
        gap: 6px;
        padding: 8px;
        font-size: .76rem;
    }

    .profile-sim-body.one-question .profile-sim-option span {
        flex-direction: row;
        font-size: .78rem;
    }

    .profile-sim-body.one-question .profile-sim-options.two,
    .profile-sim-body.one-question .profile-sim-options.four,
    .profile-sim-body.one-question .profile-sim-options.jobs {
        grid-auto-rows: minmax(62px, auto);
    }

    .profile-sim-option i {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .profile-sim-result {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .profile-sim-result article,
    .profile-sim-result article.main {
        min-height: auto;
        padding: 13px;
    }

    .profile-sim-result .main strong {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .profile-sim-actions,
    .profile-sim-actions .button {
        width: 100%;
    }
}

.profile-sim-body.two-questions {
    grid-template-columns: 1fr;
}

.profile-sim-field {
    width: 100%;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.profile-sim-field input {
    width: 100%;
}

.profile-sim .profile-sim-error {
    display: none;
}

.profile-sim-field-error {
    display: none;
    width: fit-content;
    margin-top: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 800;
}

.profile-sim-field:has(input.is-invalid) {
    border-color: var(--red);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 14%, transparent);
}

.profile-sim-field:has(input.is-invalid) .profile-sim-field-error {
    display: inline-flex;
}

.profile-sim-field input.is-invalid {
    border-color: var(--red);
    background: color-mix(in srgb, var(--pink) 16%, var(--white));
}

@media (max-width: 480px) {
    .profile-sim-card {
    }

    .profile-sim-heading h3 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .profile-sim-options.four,
    .profile-sim-options.jobs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-sim-body.two-questions,
    .profile-sim-body.loan {
        grid-template-columns: 1fr;
    }

    .profile-sim-body.loan .profile-sim-field:not(.wide) {
        grid-column: span 1;
    }
}

@media (max-height: 720px) and (min-width: 761px) {
    .profile-sim {
        gap: 12px;
        min-height: auto;
        align-content: start;
    }

    .profile-sim-heading h3 {
        font-size: clamp(1.9rem, 3.4vw, 3rem);
    }

    .profile-sim-card {
    }

    .profile-sim-step {
        gap: 10px;
        padding: 14px 16px;
    }

    .profile-sim-step-head p {
        display: none;
    }

    .profile-sim-field input {
        height: 44px;
        min-height: 44px;
    }

    .profile-sim-field,
    .profile-sim-panel {
        padding: 12px;
    }

    .profile-sim-option span {
        min-height: 46px;
        padding: 6px;
        font-size: .74rem;
    }

    .profile-sim-actions .button {
        min-height: 38px;
        padding: 8px 14px;
    }
}

/* Questionnaire presentation inspired by the reference mockup. */
.profile-sim {
    align-content: start;
    min-height: auto;
}

.profile-sim-heading {
    margin-bottom: 2px;
}

.profile-sim-card {
    width: min(100%, 760px);
}

.profile-sim-step {
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 48px color-mix(in srgb, var(--ink) 9%, transparent);
}

.profile-sim-step-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 30px 36px 28px;
    background: var(--blue);
    color: var(--white);
}

.profile-sim-step-head > span {
    background: var(--white);
    color: var(--blue);
}

.profile-sim-step-head h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.profile-sim-step-head p {
    color: var(--white);
    opacity: .92;
}

.profile-sim-progress {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    margin-top: 18px;
}

.profile-sim-progress div {
    display: flex;
    justify-content: space-between;
    color: var(--white);
    font-size: .86rem;
    font-weight: 700;
}

.profile-sim-progress i {
    display: block;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--white) 26%, transparent);
}

.profile-sim-progress i::before {
    display: block;
    width: var(--profile-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--white);
    content: "";
}

.profile-sim-body {
    padding: 34px 36px 24px;
}

.profile-sim-body.one-question,
.profile-sim-body.two-questions {
    align-content: stretch;
}

.profile-sim-body.two-questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-sim-field,
.profile-sim-panel {
    padding: 0;
    border: 0;
    background: transparent;
}

.profile-sim-field label,
.profile-sim-label {
    margin-bottom: 2px;
    font-size: 1rem;
}

.profile-sim-field input {
    height: 60px;
    min-height: 60px;
    border-color: color-mix(in srgb, var(--blue) 40%, var(--ink) 12%);
    font-size: 1.05rem;
}

.profile-sim-options {
    gap: 14px;
}

.profile-sim-options.two,
.profile-sim-options.four,
.profile-sim-options.jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-sim-option span {
    min-height: 92px;
    flex-direction: column;
    border-color: color-mix(in srgb, var(--ink) 13%, transparent);
    font-size: 1rem;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 5%, transparent);
}

.profile-sim-option i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.profile-sim-option svg {
    width: 19px;
    height: 19px;
}

.profile-sim-body.one-question .profile-sim-panel {
    display: grid;
    grid-template-rows: auto auto;
    min-height: 0;
}

.profile-sim-body.one-question .profile-sim-options {
    grid-auto-rows: minmax(120px, auto);
}

.profile-sim-step:has([data-profile-auto-next]) .profile-sim-actions .button.primary {
    display: none;
}

.profile-sim-actions {
    padding: 0 36px 34px;
}

.profile-sim-error {
    margin: 0 36px 14px;
}

.profile-sim-result {
    padding: 34px 36px 20px;
}

.profile-sim-note {
    margin: 0 36px 18px;
}

@media (max-width: 760px) {
    .profile-sim-card {
        width: min(100%, 560px);
    }

    .profile-sim-step-head,
    .profile-sim-body,
    .profile-sim-result {
        padding-right: 20px;
        padding-left: 20px;
    }

    .profile-sim-actions {
        padding-right: 20px;
        padding-left: 20px;
    }

    .profile-sim-error,
    .profile-sim-note {
        margin-right: 20px;
        margin-left: 20px;
    }

    .profile-sim-body.two-questions {
        grid-template-columns: 1fr;
    }

    .profile-sim-options.two,
    .profile-sim-options.four,
    .profile-sim-options.jobs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-sim-option span {
        min-height: 74px;
        font-size: .86rem;
    }
}

@media (max-width: 460px) {
    .profile-sim-options.two,
    .profile-sim-options.four,
    .profile-sim-options.jobs {
        grid-template-columns: 1fr;
    }

    .profile-sim-body.one-question .profile-sim-options {
        grid-auto-rows: minmax(58px, auto);
    }

    .profile-sim-option span {
        min-height: 58px;
        flex-direction: row;
    }
}

@media (max-width: 1050px) {
    .review-track {
        grid-template-columns: repeat(2, minmax(0, 360px));
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .contact-grid,
    .pro-grid,
    .section-head,
    .contact-hero-grid,
    .contact-steps,
    .contact-form-shell,
    .referral-hero-grid,
    .referral-cta,
    .review-admin-grid,
    .contract-admin-grid,
    .contract-contributions-grid,
    .savings-calculator,
    .savings-inputs {
        grid-template-columns: 1fr;
    }

    .savings-results {
        position: static;
    }

    .visual-panel {
        min-height: 430px;
    }

    .feature-grid,
    .proof-row,
    .steps,
    .referral-steps {
        grid-template-columns: 1fr 1fr;
    }

    .referral-sloped-title {
        transform: none;
    }

    .referral-steps {
        align-items: stretch;
    }

    .referral-steps article,
    .referral-steps article:nth-child(2),
    .referral-steps article:nth-child(3),
    .referral-steps article:nth-child(4) {
        min-height: 250px;
    }

    .reviews-heading,
    .review-card footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .contract-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .income-summary {
        grid-template-columns: 1fr;
    }

    .income-chart-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .income-legend {
        justify-content: flex-start;
    }

    .contract-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .review-carousel {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 8px;
    }

    .contact-aside {
        grid-template-columns: auto minmax(0, max-content);
        gap: 18px;
        justify-content: center;
        align-items: center;
    }

    .contact-aside .text-center {
        order: 2;
        text-align: left;
    }

    .contact-photo-stack {
        order: 1;
        min-height: 0;
    }

    .contact-portrait {
        width: min(150px, 28vw);
    }

    .contact-signature {
        width: min(150px, 28vw);
        margin-top: -8px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 40px, 1160px);
    }

    .cta-advisor-left {
        grid-template-columns: 86px minmax(0, max-content) auto;
        justify-content: center;
        justify-items: start;
        gap: 6px;
        text-align: left;
    }

    .cta-advisor-left .button {
        grid-column: auto;
        justify-self: start;
        min-height: 40px;
        padding: 9px 12px;
        font-size: .82rem;
    }

    .advisor-details {
        justify-items: start;
        text-align: left;
        font-size: .9rem;
    }

    .advisor-details strong {
        font-size: 1.05rem;
    }

    .cta-photo-wrap {
        width: 86px;
        min-height: 102px;
    }

    .cta-photo {
        bottom: -18px;
        width: 86px;
    }

    .site-header {
        position: relative;
    }

    .nav {
        flex-direction: column;
        justify-content: center;
        min-height: 0;
        gap: 16px;
        padding: 18px 0 20px;
    }

    .nav-toggle {
        display: none;
    }

    .brand {
        flex-direction: column;
        max-width: 100%;
        gap: 12px;
        text-align: center;
    }

    .brand-mark {
        width: min(190px, 62vw);
        height: auto;
    }

    .brand-copy {
        gap: 6px;
        padding-top: 13px;
        padding-left: 0;
    }

    .brand-copy::before {
        top: 0;
        right: 50%;
        bottom: auto;
        left: 50%;
        width: min(118px, 34vw);
        height: 4px;
        transform: translateX(-50%);
    }

    .brand-name {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
        line-height: .95;
    }

    .brand-title {
        max-width: 300px;
        font-size: .82rem;
        line-height: 1.18;
    }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0;
        background: transparent;
        color: var(--white);
        box-shadow: none;
    }

    .nav-links a {
        min-height: 42px;
        color: var(--white);
    }

    .nav-links a:not(.button) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 120px;
        padding: 10px 18px;
        border-radius: 999px;
        background: var(--white);
        color: var(--ink);
        font-weight: 850;
        text-align: center;
    }

    .nav-links .button.ghost {
        width: auto;
        min-width: 120px;
        min-height: 42px;
        padding: 10px 18px;
    }

    .nav-open .nav-links {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 44px;
    }

    .business-referral-band {
        grid-template-columns: 1fr;
        margin-top: 18px;
        margin-bottom: 24px;
        padding: 22px;
    }

    .business-referral-band .button {
        width: 100%;
    }

    .hero-campaign-image {
        height: auto;
        min-height: 0;
    }

    h1 {
        font-size: clamp(2.9rem, 14vw, 4.9rem);
    }

    .section {
        padding: 58px 0;
    }

    .google-reviews-band {
        padding: 0;
    }

    .google-rating-pill {
        width: fit-content;
    }

    .review-carousel {
        grid-template-columns: 1fr 1fr;
    }

    .review-track {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        min-height: 0;
        order: -1;
    }

    .review-card {
        padding: 22px;
    }

    .review-nav {
        width: 100%;
        border-radius: 999px;
    }

    .contract-filter-form {
        grid-template-columns: 1fr;
    }

    .contract-filter-field.compact {
        max-width: none;
    }

    .contract-filter-actions,
    .contract-filter-actions .button {
        width: 100%;
    }

    .feature-grid,
    .proof-row,
    .steps,
    .referral-steps,
    .pro-tile-grid,
    .form-grid,
    .contact-form-shell,
    .login-page,
    .savings-inputs {
        grid-template-columns: 1fr;
    }

    .savings-result-card dl div {
        display: grid;
        gap: 4px;
    }

    .savings-result-card dd {
        text-align: left;
    }

    .login-visual,
    .login-panel {
        padding: 32px 20px;
    }

    .login-visual {
        min-height: 44vh;
    }

    .contact-aside {
        padding: 20px;
        gap: 14px;
    }

    .contact-aside h3 {
        font-size: 1.35rem;
    }

    .contact-photo-stack {
        min-height: 0;
    }

    .contact-portrait {
        width: min(150px, 48vw);
    }

    .contact-signature {
        width: min(160px, 52vw);
        margin-top: -8px;
    }

    .feature-card,
    .step,
    .referral-steps article,
    .proof {
        min-height: auto;
    }

    .referral-sloped-title {
        transform: none;
    }

    .referral-hero {
        min-height: auto;
        padding: 48px 0 42px;
    }

    .referral-hero-visual,
    .referral-hero-visual img {
        min-height: auto;
    }

    .referral-hero-visual img {
        aspect-ratio: 4 / 5;
    }

    .referral-cta {
        padding: 28px;
    }

    .referral-cta .button {
        width: 100%;
    }

    .cta-band {
        grid-template-columns: 1fr;
        padding: 30px 30px 0;
    }

    .cta-advisor-band {
        padding: 0;
    }

    .cta-advisor-left {
        grid-template-columns: 86px minmax(0, max-content) auto;
        justify-items: start;
        gap: 6px;
        text-align: left;
    }

    .cta-advisor-copy {
        padding-left: 0;
        text-align: center;
    }

    .cta-advisor-copy h2,
    .cta-advisor-copy p:not(.eyebrow) {
        margin-right: auto;
        margin-left: auto;
    }

    .cta-photo-wrap {
        width: 86px;
        min-height: 102px;
    }

    .cta-photo {
        left: 50%;
        bottom: -18px;
        width: 86px;
        transform: translateX(-50%);
    }

    .advisor-details {
        justify-items: start;
        text-align: left;
    }

    .advisor-details a {
        width: auto;
    }

    .link-result {
        grid-template-columns: 1fr;
    }

    .topbar,
    .topbar-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .topbar-actions .button,
    .topbar-actions form,
    .topbar-actions button {
        width: 100%;
    }
}

.profile-sim .profile-sim-body.two-questions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
}

.profile-sim .profile-sim-field {
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.profile-sim .profile-sim-field input {
    width: 100%;
}

.profile-sim .profile-sim-field:has(input.is-invalid) {
    border-color: transparent;
    box-shadow: none;
}

.profile-sim .profile-sim-field input.is-invalid {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 14%, transparent);
}

.profile-sim .profile-sim-field-error {
    display: block;
    min-height: 14px;
    margin-top: 3px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--red);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    visibility: hidden;
    opacity: 0;
}

.profile-sim .profile-sim-field:has(input.is-invalid) .profile-sim-field-error {
    display: block;
    visibility: visible;
    opacity: 1;
}

.profile-sim .profile-sim-panel {
    gap: 0;
}

.profile-sim .profile-sim-label {
    display: block;
    margin-bottom: 14px;
}

.profile-sim .profile-sim-options {
    gap: 9px;
}

.profile-sim .profile-sim-body.one-question .profile-sim-options {
    grid-auto-rows: minmax(82px, auto);
}

.profile-sim .profile-sim-option span {
    min-height: 68px;
    padding: 9px 10px;
}

.profile-sim .profile-sim-result article.main {
    background: var(--yellow);
    color: var(--white);
}

.profile-sim .profile-sim-result article.main strong {
    color: var(--white);
}

.profile-sim .profile-sim-result article.main small {
    color: var(--white);
}

.profile-sim .profile-sim-result article:last-child {
    background: color-mix(in srgb, var(--pink) 54%, var(--white));
}

.profile-sim .profile-sim-result article:last-child strong {
    color: var(--red);
}

.calendly-section {
    background: var(--white);
}

.calendly-band {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.calendly-copy {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 32px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--blue) 9%, var(--white));
}

.calendly-copy h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: .98;
}

.calendly-copy p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.55;
}

.calendly-copy ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.calendly-copy li {
    position: relative;
    padding-left: 28px;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.35;
}

.calendly-copy li::before {
    position: absolute;
    top: .05em;
    left: 0;
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 950;
    content: "✓";
}

.calendly-frame {
    min-height: 690px;
    overflow: hidden;
    border: 2px solid var(--blue);
    border-radius: var(--radius);
    background: var(--white);
}

.calendly-inline-widget {
    width: 100%;
    height: 690px;
    min-width: 280px;
}

@media (max-width: 760px) {
    .profile-sim .profile-sim-body.one-question .profile-sim-options {
        grid-auto-rows: minmax(60px, auto);
    }

    .profile-sim .profile-sim-option span {
        min-height: 58px;
        padding: 8px;
    }

    .calendly-band {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .calendly-copy {
        padding: 24px;
    }

    .calendly-frame {
        min-height: 720px;
    }

    .calendly-inline-widget {
        height: 720px;
    }
}
