/* IT Park benefits and an illustrative monthly cash distribution. */
.benefits-section {
    padding-bottom: 52px
}

.language-switcher .language-chevron {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    align-self: center;
    overflow: visible
}

.city-photo {
    object-position: 50% 50%
}

.photo-frame {
    aspect-ratio: 3/2
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

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

.benefit-grid article {
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px
}

.benefit-grid strong {
    display: block;
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -.065em;
    color: var(--purple);
    margin-bottom: 18px
}

.benefit-grid strong span {
    font-size: .55em;
    letter-spacing: -.04em
}

.benefit-grid strong.benefit-word {
    font-size: 2.75rem;
    line-height: 1.4
}

.benefit-grid h3 {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: -.02em;
    margin-bottom: 7px
}

.benefit-grid p {
    font-size: .6875rem;
    line-height: 1.7
}

.benefit-grid .benefit-accent {
    background: #eee7ff;
    border-color: #d8c7fc
}

.benefit-note {
    font-size: .6875rem;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 1000px
}

.benefit-note a {
    color: var(--purple-dark);
    text-decoration: underline;
    text-underline-offset: 3px
}

.tax-calculator {
    margin-top: 80px;
    border-top: 1px solid var(--line);
    padding-top: 72px
}

.calc-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 36px
}

.calc-heading>p {
    max-width: 370px;
    font-size: .9375rem
}

.calc-heading .eyebrow {
    color: var(--purple-dark);
    margin-bottom: 18px
}

.calc-layout {
    display: grid;
    grid-template-columns: minmax(230px, .85fr) minmax(0, 2fr);
    gap: 30px;
    align-items: start
}

.calc-controls {
    padding: 25px;
    background: #eeebf2;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    gap: 22px
}

.calc-control label,
.calc-settings label:not(.calc-checkbox) {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5
}

.calc-number {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #d5cede;
    border-radius: 8px;
    padding: 10px 13px;
    min-height: 53px
}

.calc-number:focus-within {
    outline: 2px solid #bfa8f4;
    outline-offset: 1px
}

.calc-number span {
    color: var(--muted);
    font-size: .75rem;
    flex-shrink: 0
}

.calc-number input {
    border: 0;
    outline: none;
    min-width: 0;
    width: 100%;
    font-weight: 700;
    font-size: 1.125rem;
    background: transparent;
    color: var(--ink);
    padding: 0;
    appearance: textfield;
    -moz-appearance: textfield
}

.calc-number input::-webkit-inner-spin-button,
.calc-number input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.calc-control input[type=range] {
    display: block;
    width: 100%;
    height: 24px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    --fill: 0%
}

.calc-control input[type=range]::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--purple) var(--fill), #d4c9e4 var(--fill))
}

.calc-control input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -8.5px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--purple);
    box-shadow: 0 2px 4px #211f2512
}

.calc-control input[type=range]::-moz-range-track {
    height: 3px;
    background: #d4c9e4
}

.calc-control input[type=range]::-moz-range-progress {
    height: 3px;
    background: var(--purple)
}

.calc-control input[type=range]::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--purple)
}

.calc-control small,
.calc-settings small {
    display: block;
    font-size: .625rem;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 3px
}

.calc-reset {
    border: 0;
    background: none;
    color: var(--purple-dark);
    padding: 3px 0;
    font-size: .75rem;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
    justify-self: start
}

.calc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
    min-height: 35px
}

.calc-toolbar>span {
    font-size: .625rem;
    letter-spacing: .065em;
    font-weight: 700;
    color: var(--muted)
}

.calc-toolbar select,
.calc-settings select,
.calc-settings input[type=number] {
    border: 1px solid #d5cede;
    border-radius: 7px;
    background: white;
    color: var(--ink);
    padding: 10px 11px;
    max-width: 100%;
    font-size: .75rem;
    min-height: 42px
}

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

.calc-result {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 25px 21px;
    background: #fff;
    min-width: 0
}

.calc-result-resident {
    background: #f0eaff;
    border-color: #bda3f5
}

.calc-result-tag {
    display: block;
    font-size: .625rem;
    letter-spacing: .085em;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 15px
}

.calc-result-resident .calc-result-tag {
    color: var(--purple-dark)
}

.calc-result h3 {
    font-size: 1.25rem;
    letter-spacing: -.03em;
    line-height: 1.3
}

.calc-result>p:not(.calc-loss) {
    font-size: .625rem;
    margin-top: 7px;
    min-height: 24px
}

.calc-net {
    margin-top: 30px;
    margin-bottom: 23px;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.calc-net>span {
    font-size: .625rem;
    color: var(--muted)
}

.calc-net strong {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere
}

.calc-result-resident .calc-net strong {
    color: var(--purple-dark)
}

.calc-net small {
    color: var(--muted);
    font-size: .625rem
}

.calc-bar {
    height: 12px;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
    background: #e8e4ee
}

.calc-bar span {
    height: 100%;
    transition: width .2s
}

.calc-bar span:nth-child(1),
.calc-legend span:nth-child(1) i {
    background: #eb5d18
}

.calc-bar span:nth-child(2),
.calc-legend span:nth-child(2) i {
    background: #d48747
}

.calc-bar span:nth-child(3),
.calc-legend span:nth-child(3) i {
    background: #afa0cc
}

.calc-bar span:nth-child(4),
.calc-legend span:nth-child(4) i {
    background: #d9d4e1
}

.calc-totals {
    margin: 22px 0 0;
    display: grid;
    gap: 12px
}

.calc-totals div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: .6875rem;
    line-height: 1.6
}

.calc-totals dt {
    color: var(--muted)
}

.calc-totals dd {
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap
}

.calc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;
    margin-top: 19px;
    font-size: .5625rem;
    color: var(--muted)
}

.calc-legend span {
    display: flex;
    gap: 6px;
    align-items: center
}

.calc-legend i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0
}

.calc-chart-note,
.calc-scope {
    font-size: .625rem;
    line-height: 1.8;
    margin-top: 12px
}

.calc-uplift {
    display: flex;
    align-items: center;
    gap: 17px;
    background: var(--purple);
    color: white;
    border-radius: 11px;
    padding: 21px 24px;
    margin-top: 24px
}

.calc-uplift>span {
    font-size: 2rem;
    line-height: 1
}

.calc-uplift strong {
    font-size: 1.75rem;
    line-height: 1.3;
    letter-spacing: -.04em;
    overflow-wrap: anywhere
}

.calc-uplift p {
    font-size: .6875rem;
    color: #f3edff;
    margin-top: 3px
}

.calc-loss {
    font-size: .6875rem;
    margin-top: 15px;
    padding: 10px;
    background: #fff1df;
    color: #783d12;
    border-radius: 5px;
    line-height: 1.7
}

.calc-settings {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1.1fr;
    gap: 25px;
    padding: 24px;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    align-items: start;
    background: #fff
}

.calc-settings select,
.calc-settings input[type=number] {
    width: 100%
}

.calc-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .75rem;
    line-height: 1.6;
    padding-top: 5px;
    cursor: pointer
}

.calc-checkbox input {
    accent-color: var(--purple);
    width: 17px;
    height: 17px;
    margin: 3px 0 0;
    flex-shrink: 0
}

.calc-details {
    border-bottom: 1px solid var(--line);
    margin-top: 16px
}

.calc-details summary {
    padding: 21px 0;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.6
}

.calc-details summary>span {
    float: right;
    font-size: .625rem;
    font-weight: 400;
    color: var(--muted);
    margin-top: 3px
}

.calc-details>p,
.calc-assumptions p {
    font-size: .6875rem;
    line-height: 1.85;
    margin: 16px 0 22px
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: .75rem;
    font-variant-numeric: tabular-nums
}

.calc-table th,
.calc-table td {
    padding: 12px 17px;
    text-align: right;
    overflow-wrap: anywhere;
    vertical-align: middle
}

.calc-table th:first-child {
    width: 48%;
    text-align: left;
    font-weight: 400
}

.calc-table thead th {
    font-size: .6875rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line)
}

.calc-table tbody tr:nth-child(odd) {
    background: #eeebf2
}

.calc-table tbody tr:last-child {
    background: var(--purple);
    color: #fff;
    font-weight: 700
}

.calc-table tbody tr:last-child th {
    font-weight: 700
}

.calc-table tbody td:nth-child(2) {
    color: var(--purple-dark);
    font-weight: 700
}

.calc-table tbody tr:last-child td {
    color: white
}

.calc-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    padding-bottom: 24px
}

.calc-sources a {
    font-size: .625rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--purple-dark)
}

.calc-cta {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.calc-cta p {
    font-size: 1rem;
    color: var(--ink)
}

@media(max-width:1100px) {
    .calc-layout {
        gap: 20px;
        grid-template-columns: minmax(220px, .8fr) minmax(0, 1.8fr)
    }

    .calc-controls {
        padding: 20px
    }

    .calc-result {
        padding: 22px 16px
    }

    .calc-totals div {
        flex-direction: column;
        gap: 2px
    }

    .calc-net strong {
        font-size: 1.65rem
    }
}

@media(max-width:960px) {
    .calc-layout {
        grid-template-columns: 1fr
    }

    .calc-controls {
        grid-template-columns: 1fr 1fr;
        gap: 22px 28px
    }

    .calc-reset {
        grid-column: 1/-1
    }

    .calc-result {
        padding: 26px
    }

    .calc-net strong {
        font-size: 2rem
    }

    .calc-totals div {
        flex-direction: row
    }

    .calc-settings {
        grid-template-columns: 1fr 1fr
    }

    .calc-checkbox {
        grid-column: 1/-1
    }

    .calc-heading {
        gap: 30px
    }

    .calc-heading>p {
        max-width: 300px
    }

    .benefit-grid article {
        padding: 22px
    }

    .benefit-grid strong {
        font-size: 3rem
    }
}

@media(max-width:640px) {
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .benefit-grid article {
        padding: 20px 16px
    }

    .benefit-grid h3 {
        font-size: .8125rem
    }

    .benefit-grid strong {
        font-size: 2.75rem
    }

    .benefit-grid strong.benefit-word {
        font-size: 2rem
    }

    .benefit-grid article:last-child {
        grid-column: 1/-1
    }

    .benefit-note {
        font-size: .625rem
    }

    .tax-calculator {
        margin-top: 50px;
        padding-top: 48px
    }

    .calc-heading {
        display: block
    }

    .calc-heading>p {
        margin-top: 22px;
        max-width: none;
        font-size: .875rem
    }

    .calc-controls {
        padding: 20px;
        gap: 22px;
        grid-template-columns: 1fr
    }

    .calc-result-grid {
        gap: 10px
    }

    .calc-result {
        padding: 20px 12px
    }

    .calc-result h3 {
        font-size: 1rem
    }

    .calc-result-tag {
        font-size: .5625rem
    }

    .calc-net {
        margin-top: 21px
    }

    .calc-net strong {
        font-size: 1.4rem
    }

    .calc-net>span {
        min-height: 28px
    }

    .calc-totals div {
        flex-direction: column;
        gap: 2px
    }

    .calc-result>p:not(.calc-loss) {
        min-height: 35px
    }

    .calc-toolbar>span {
        font-size: .5625rem
    }

    .calc-toolbar select {
        font-size: .6875rem;
        padding-inline: 7px
    }

    .calc-settings {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px
    }

    .calc-table {
        font-size: .625rem
    }

    .calc-table th,
    .calc-table td {
        padding: 11px 6px
    }

    .calc-table th:first-child {
        width: 42%
    }

    .calc-table thead th {
        font-size: .5625rem
    }

    .calc-details summary>span {
        float: none;
        display: block;
        margin-left: 17px
    }

    .calc-uplift {
        padding: 18px
    }

    .calc-uplift strong {
        font-size: 1.6rem
    }

    .calc-cta {
        flex-direction: column;
        align-items: stretch
    }

    .calc-cta p {
        text-align: center;
        font-size: .9375rem
    }
}

@media(max-width:640px) {
    .benefits-section {
        padding-bottom: 36px
    }
}

@media(prefers-reduced-motion:reduce) {
    .calc-bar span {
        transition: none
    }
}