/* Public calculator introduction; keep the established site's fonts and shell. */
.calculator-introduction {
    color: #3f4443;
}

.calculator-introduction__panel {
    overflow: hidden;
    border: 1px solid #e5dbe0;
    border-radius: 12px;
    background: #fff;
}

.calculator-introduction__welcome {
    padding: 24px;
    background: #fff6fa;
}

.calculator-introduction__copy {
    min-width: 0;
}

.calculator-introduction__artwork {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin: 20px auto 0;
}

.calculator-introduction__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #a90050;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.calculator-introduction__welcome h1,
.calculator-introduction__welcome h2 {
    max-width: 24ch;
    margin: 0 0 16px;
    color: #303635;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
}

.calculator-introduction p {
    max-width: 68ch;
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.65;
}

.calculator-introduction__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
}

.calculator-introduction__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #bb0058;
    border-radius: 6px;
    background: #bb0058;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease;
}

.calculator-introduction__button:hover {
    border-color: #990048;
    background: #990048;
    color: #fff;
}

.calculator-introduction__button svg {
    flex: none;
}

.calculator-introduction__signin {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #9f004b;
    font-size: .9375rem;
    font-weight: 600;
    text-underline-offset: 3px;
}

.calculator-introduction a:focus-visible {
    outline: 3px solid #6935ff;
    outline-offset: 4px;
}

.calculator-introduction .calculator-introduction__reassurance {
    margin: 14px 0 0;
    color: #595e5d;
    font-size: .875rem;
}

.calculator-introduction__steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 24px;
    list-style: none;
}

.calculator-introduction__steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 0;
}

.calculator-introduction__steps li + li {
    border-top: 1px solid #e9e9e9;
}

.calculator-introduction__number {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fde5ef;
    color: #a90050;
    font-size: .9375rem;
    font-weight: 700;
}

.calculator-introduction__steps h3 {
    margin: 3px 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.calculator-introduction__steps p {
    margin: 0;
    color: #555c59;
    font-size: .9375rem;
}

.calculator-introduction__details {
    display: grid;
    gap: 24px;
    padding: 30px 0 0;
}

.calculator-introduction__details h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.calculator-introduction__details .calculator-introduction__small {
    color: #595e5d;
    font-size: .875rem;
}

.calculator-introduction__account-help {
    padding: 20px;
    border-left: 3px solid #b90058;
    border-radius: 0 8px 8px 0;
    background: #f7f7f7;
}

.calculator-introduction__account-help p:last-child {
    margin-bottom: 0;
}

.calculator-introduction--standalone {
    max-width: 900px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.calculator-introduction__home {
    display: inline-flex;
    margin-bottom: 24px;
}

.calculator-introduction__home img {
    max-width: 100%;
    height: auto;
}

.calculator-introduction .calculator-introduction__return {
    margin-top: 24px;
}

@media (min-width: 768px) {
    .calculator-introduction__welcome {
        padding: 36px;
    }

    .calculator-introduction__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        padding: 0 36px;
    }

    .calculator-introduction__steps li {
        padding: 30px 0;
    }

    .calculator-introduction__steps li + li {
        border-top: 0;
    }

    .calculator-introduction__details {
        grid-template-columns: 1.15fr 1fr;
        gap: 36px;
        align-items: start;
    }
}

@media (min-width: 992px) {
    .calculator-introduction__welcome--illustrated {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(240px, .85fr);
        align-items: center;
        gap: 32px;
    }

    .calculator-introduction__artwork {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .calculator-introduction__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .calculator-introduction__button {
        transition: none;
    }
}
