@font-face {
    font-family: 'Roboto';
    src: url('../fonts/multisim/roboto-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/multisim/inter-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.multisim-page {
    margin: 0;
    overflow-x: clip;
    color: #041f4a;
    background: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: normal;
}

.multisim-page * {
    box-sizing: border-box;
}

.multisim-page [hidden] {
    display: none !important;
}

.multisim-page button {
    font: inherit;
    cursor: pointer;
}

.multisim-page a {
    color: inherit;
}

.multisim-page button:focus-visible, .multisim-page a:focus-visible, .multisim-page summary:focus-visible, .ms-inline-action:focus-visible {
    outline: 3px solid #2184ef;
    outline-offset: 4px;
}

.ms-container {
    width: calc(100% - 64px);
    max-width: 1280px;
    margin: 0 auto;
}

.ms-section {
    padding-top: 64px;
    padding-bottom: 64px;
    scroll-margin-top: 90px;
}

.multisim-page h2 {
    font-size: 64px;
    font-weight: 700;
    line-height: 75px;
    margin: 0 0 60px;
    text-align: center;
}

.multisim-page h3 {
    font-weight: 700;
}

.ms-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(245, 248, 255, .1);
    -webkit-backdrop-filter: blur(22.2px);
    backdrop-filter: blur(22.2px);
}

.ms-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 80px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.ms-logo {
    display: block;
    width: 197px;
    height: 32px;
    object-fit: contain;
}

.ms-header-inner > a {
    display: flex;
    flex-shrink: 0;
}

.ms-header nav {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.ms-header nav a {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.ms-header nav a:hover {
    color: #ec1c24;
}

.ms-menu-toggle {
    display: none;
}

.ms-language {
    position: relative;
    flex-shrink: 0;
    color: #114b91;
    font-size: 14px;
}

.ms-language summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border: 1px solid #28a6fc;
    border-radius: 16px;
    background: #fbfbfb;
    font-weight: 600;
    line-height: 15px;
    list-style: none;
    cursor: pointer;
}

.ms-language summary::-webkit-details-marker {
    display: none;
}

.ms-language img {
    object-fit: contain;
}

.ms-language summary img {
    border-radius: 50%;
    object-fit: cover;
}

.ms-language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    padding: 4px;
    border: 1px solid #dbe7f5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(4, 31, 74, .12);
}

.ms-language-options a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 4px;
    white-space: nowrap;
    text-decoration: none;
}

.ms-language-options a:hover,
.ms-language-options a[aria-current="true"] {
    background: #edf5ff;
}

@media (max-width: 991px) {
    .ms-language {
        position: absolute;
        right: 16px;
    }

    .ms-language summary {
        padding: 5px 8px;
    }
}

.ms-hero {
    background: linear-gradient(#cbe7fd, #fff);
    padding: 170px 0 0;
    text-align: center;
}

.ms-hero h1 {
    color: #000814;
    font-size: 64px;
    font-weight: 700;
    line-height: 75px;
    max-width: 916px;
    margin: 0 auto 20px;
}

.ms-hero p {
    font-size: 24px;
    line-height: 28px;
    color: #727272;
    max-width: 916px;
    margin: 0 auto 56px;
}

.ms-learn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 227px;
    height: 52px;
    margin: 0 auto;
    border: 1px solid #000814;
    border-radius: 8px;
    padding: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    color: #000814 !important;
}

.ms-learn-more {
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.ms-learn-more:hover, .ms-learn-more:focus-visible {
    color: #fff !important;
    background: #0060a6;
    border-color: #0060a6;
    text-decoration: none;
}
.ms-document, .ms-document .multisim-page {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}
.multisim-page main, .ms-container > *, .ms-pricing > * { min-width: 0; }
.ms-preview { touch-action: pan-y pinch-zoom; }
.ms-hero-image {
    display: block;
    width: min(860px, 100%);
    height: auto;
    margin: 73px auto 0;
}

.ms-benefits {
    display: grid;
    grid-template-columns: 42.591% minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding-top: 150px;
}

.ms-benefits h2 {
    text-align: left;
    margin-bottom: 56px;
}

.ms-benefits-art {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 463px;
    text-align: center;
    isolation: isolate;
}

.ms-benefits-image {
    position: relative;
    overflow: hidden;
    width: 329px;
    max-width: 100%;
    height: 454px;
}

.ms-benefits-image img {
    position: absolute;
    width: 125.42%;
    height: 119.42%;
    max-width: none;
    left: -12.77%;
    top: -9.95%;
}

.ms-benefit-list {
    counter-reset: benefit;
    padding: 0;
    list-style: none;
    margin: 0;
}

.ms-benefit-list li {
    position: relative;
    padding-left: 65px;
    margin: 0 0 24px;
    counter-increment: benefit;
}

.ms-benefit-list li:before {
    content: counter(benefit);
    position: absolute;
    left: 0;
    top: 0;
    width: 49px;
    height: 49px;
    border-radius: 50%;
    background: linear-gradient(266deg, #28a6fc, #0052cc);
    color: white;
    font-family: Inter, Arial, sans-serif;
    font-weight: 600;
    font-size: 24px;
    display: grid;
    place-items: center;
}

.ms-benefit-list h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    margin: 0 0 8px;
}

.ms-benefit-list p {
    font-size: 18px;
    line-height: 21px;
    color: #727272;
    margin: 0;
}

.ms-benefit-list li:last-child {
    margin-bottom: 0;
}

.ms-conditions {
    position: relative;
    padding-bottom: 111px;
}

.ms-conditions h2 {
    margin-bottom: 86px;
}

.ms-condition-body {
    position: relative;
}

.ms-condition-card {
    border-radius: 30px;
    background: #f5f5f7;
    padding: 30px 40px;
    font-size: 20px;
    line-height: 23px;
}

.ms-condition-card h3 {
    font-size: 32px;
    line-height: 38px;
    color: #111;
    margin: 0 0 32px;
}

.ms-condition-card h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    max-width: 76%;
    margin: 0 0 8px;
}

.ms-condition-card ul {
    padding-left: 23px;
    max-width: 77%;
    line-height: 23px;
    color: #727272;
    font-weight: 500;
    margin-bottom: 16px;
}

.ms-condition-card ul + h3 {
    margin-top: 32px;
    margin-bottom: 24px;
}

.ms-condition-art {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 38.4375%;
    height: auto;
    pointer-events: none;
}

.ms-condition-card .ms-check-list {
    list-style: none;
    padding: 0;
    max-width: 70%;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 400;
}

.ms-check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}
.ms-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 21px;
    background: url('../../images/multisim/condition-check.svg') center / contain no-repeat;
}

.ms-guide {
    scroll-margin-top: 96px;
    background: #f4f4f4;
    border: 1px solid #f8faff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.ms-guide-heading {
    margin: 0;
    font-size: 24px;
    font-family: Inter, Arial, sans-serif;
    line-height: 29px;
}

.ms-guide-toggle {
    border: 0;
    padding: 0;
    background: none;
    color: #041f4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    font-weight: 700 !important;
    gap: 16px;
}

.ms-guide-toggle small {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #868686;
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    margin-top: 8px;
}

.ms-chevron {
    flex-shrink: 0;
}

.ms-guide-toggle[aria-expanded=true] .ms-chevron {
    transform: rotate(180deg);
}

.ms-guide-panel {
    border-top: 1px solid #dedede;
    margin-top: 24px;
    padding-top: 24px;
}

.ms-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 55px;
    row-gap: 24px;
    align-items: start;
}

.ms-guide[data-guide="cancel"] .ms-guide-layout {
    column-gap: 85px;
}

.ms-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 211px 194px 211px 112px;
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
    gap: 0;
    min-width: 0;
}

.ms-step {
    position: relative;
    text-align: center;
    padding: 0;
    font-size: 14px;
    line-height: 16px;
    min-width: 0;
}

.ms-step:before {
    content: '';
    position: absolute;
    top: 18.5px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: url('../../images/multisim/guide-connector-horizontal.svg') center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 0;
}

.ms-step-number {
    position: relative;
    z-index: 1;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 0;
    background: #0b247a;
    color: white;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: Inter, Arial, sans-serif !important;
    line-height: 27px !important;
}

.ms-step p {
    position: relative;
    margin: 0 auto 7px;
    width: 222px;
    max-width: 100%;
}

.ms-step.is-active {
    color: #ec1c24;
}

.ms-step.is-active .ms-step-number {
    background: #ec1c24;
}

.ms-step:nth-child(1) {
    grid-area: 1/2;
}

.ms-step:nth-child(2) {
    grid-area: 1/3;
}

.ms-step:nth-child(3) {
    grid-area: 2/3;
}

.ms-step:nth-child(4) {
    grid-area: 2/2;
}

.ms-step:nth-child(5) {
    grid-area: 3/2;
}

.ms-step:nth-child(6) {
    grid-area: 3/3;
}

.ms-step:nth-child(7) {
    grid-area: 4/3;
}

.ms-step:nth-child(8) {
    grid-area: 4/2;
}

.ms-step:nth-child(9) {
    grid-area: 4/1;
}

.ms-step:nth-child(2):before, .ms-step:nth-child(6):before {
    width: 50%;
    height: 214px;
    background-image: url('../../images/multisim/guide-connector-turn-right.svg');
}

.ms-step:nth-child(3):before, .ms-step:nth-child(7):before, .ms-step:nth-child(8):before {
    left: -50%;
}

.ms-steps-cancel .ms-step:last-child:before, .ms-steps-register .ms-step:last-child:before {
    content: none;
}

/* Cancellation has two columns; its left lead-in is 151px, not a third column. */
@media (min-width: 992px) {
    .ms-steps-cancel {
        width: 581px;
        max-width: 100%;
        justify-self: end;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 75px;
        padding-left: 51px;
        padding-right: 11px;
    }

    .ms-steps-cancel .ms-step:nth-child(1) {
        grid-area: 1/1;
    }

    .ms-steps-cancel .ms-step:nth-child(2) {
        grid-area: 1/2;
    }

    .ms-steps-cancel .ms-step:nth-child(3) {
        grid-area: 2/2;
    }

    .ms-steps-cancel .ms-step:nth-child(4) {
        grid-area: 2/1;
    }

    .ms-steps-cancel .ms-step:nth-child(5) {
        grid-area: 3/1;
    }

    .ms-steps-cancel .ms-step:nth-child(6) {
        grid-area: 3/2;
    }

    .ms-steps-cancel .ms-step:nth-child(7) {
        grid-area: 4/2;
    }

    .ms-steps-cancel .ms-step:nth-child(8) {
        grid-area: 4/1;
    }

    .ms-steps-cancel .ms-step:before {
        width: calc(100% + 75px);
    }

    .ms-steps-cancel .ms-step:nth-child(3):before,
    .ms-steps-cancel .ms-step:nth-child(7):before {
        left: calc(-50% - 75px);
    }

    .ms-steps-cancel .ms-step:nth-child(2):before,
    .ms-steps-cancel .ms-step:nth-child(6):before {
        width: calc(50% + 11px);
    }

    .ms-steps-cancel .ms-step:nth-child(4):before {
        left: -40px;
        width: calc(50% + 40px);
    }

    .ms-steps-cancel .ms-step:first-child:after {
        left: -40px;
        width: calc(50% + 40px);
    }

    .ms-steps-cancel .ms-start {
        left: -55px;
    }
}

.ms-step:nth-child(4):before {
    left: -50%;
    width: 100%;
    height: 197px;
    background-image: url('../../images/multisim/guide-connector-turn-left.svg');
}

.ms-step:first-child:after {
    content: '';
    position: absolute;
    top: 18.5px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: url('../../images/multisim/guide-connector-horizontal.svg') center / 100% 100% no-repeat;
    pointer-events: none;
}

.ms-start {
    position: absolute;
    top: 9px;
    left: calc(-50% - 15px);
    width: 30px;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}

.ms-inline-action {
    display: inline;
    cursor: pointer;
    white-space: normal;
    background: transparent;
    color: inherit;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    text-align: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

.ms-inline-action strong {
    font-weight: 700;
}

.ms-inline-action:hover {
    text-decoration: none;
}

.ms-preview {
    position: relative;
}

.ms-phone {
    position: relative;
    width: 100%;
    aspect-ratio: 360/751;
    filter: drop-shadow(0 0 20px #a1c6ff99);
}

.ms-screen {
    position: absolute;
    left: 3.25%;
    top: 1.3%;
    width: 93.75%;
    height: 97.45%;
    border-radius: 11% / 5%;
    object-fit: cover;
}
.ms-phone { overflow: hidden; border-radius: 13% / 6%; }
.ms-screen-outgoing { z-index: 1; pointer-events: none; }
.is-device-preview .ms-phone { overflow: hidden; border-radius: 0; filter: none; }
.is-device-preview .ms-phone-frame, .is-device-preview .ms-phone-island { visibility: hidden; }
.is-device-preview .ms-screen {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
}
@media (max-width: 991px) {
    .ms-guide { scroll-margin-top: 58px; }
}

.ms-phone-frame {
    z-index: 2;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 99.56%;
    pointer-events: none;
}

.ms-phone-island {
    z-index: 3;
    position: absolute;
    top: 2.8%;
    left: 35.1%;
    width: 29.8%;
    height: 4.24%;
    pointer-events: none;
}

.ms-autoplay {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.ms-autoplay:focus-visible {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    margin: 12px 0 0 auto;
}

.ms-mobile-progress, .ms-mobile-arrows {
    display: none;
}

.ms-pricing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 648px);
    gap: 32px;
    padding: 40px 60px;
    border-radius: 30px;
    background: #0d1948 url('../../images/multisim/pricing-background.png') center/cover;
    color: white;
}

.ms-pricing h2 {
    text-align: left;
    color: white;
    margin: 0;
    font-size: 61px;
    line-height: 64px;
}

.ms-pricing > div > p {
    font-size: 16px;
    line-height: 19px;
    color: #e0e0e0;
    margin: 8px 0 0;
}

.ms-price-card {
    padding: 30px;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    background: #f5f8ff1a;
    backdrop-filter: blur(14px);
}

.ms-price-date {
    display: inline-block;
    padding: 8px 20px;
    background: #0060a6;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    margin-bottom: 8px;
}

.ms-price-card h3 {
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
}

.ms-price-card dl {
    font-size: 18px;
    margin: 16px 0;
}

.ms-price-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0;
    align-items: center;
}

.ms-price-card dd {
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
}

.ms-price-card dt {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-price-card dt::before {
    content: '';
    flex: 0 0 16px;
    height: 13px;
    background: url('../../images/multisim/pricing-check.svg') center/100% 100% no-repeat;
    transform: scaleY(-1);
}

.ms-pricing .ms-price-card > p {
    margin: 16px 0 0;
    color: white;
}

.ms-renewal {
    border-top: 1px solid #fff;
    padding-top: 16px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    font-size: 18px;
}

.ms-renewal strong:last-child {
    white-space: nowrap;
}

.ms-recurring-price span {
    margin-left: 3px;
}

.ms-price-card p {
    font-size: 14px !important;
    margin: 12px 0 0;
}

.ms-faq h2 span {
    color: #ec1c24;
}

.ms-faq h2 {
    font-family: Inter, Arial, sans-serif;
    line-height: 64px;
    margin-bottom: 20px;
}

.ms-faq-item {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    margin-bottom: 8px;
    font-family: Inter, Arial, sans-serif;
    font-size: 15.3px;
    font-weight: 700;
    line-height: 24px;
}

.ms-faq-item:last-child {
    margin-bottom: 0;
}

.ms-faq summary {
    font-weight: 700;
    position: relative;
    padding: 10px 50px 10px 20px;
    color: #0b247a;
    cursor: pointer;
    list-style: none;
}

.ms-faq summary::-webkit-details-marker {
    display: none;
}

.ms-faq summary:after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 10.3px;
    height: 16px;
    background: url('../../images/multisim/faq-chevron.svg') center/contain no-repeat;
    transform: translateY(-50%) scaleY(-1);
}

.ms-faq details[open] summary:after {
    transform: translateY(-50%);
}

.ms-faq details[open] summary {
    background-color: #0b247a;
    color: #fff;
    border-radius: 7px 7px 0 0;
}

.ms-faq-answer {
    padding: 20px 10px;
    font-weight: 400;
    color: #333;
}

.ms-faq-answer p {
    margin: 0;
}

.ms-faq .ms-faq-answer a {
    color: #0b247a;
    text-decoration: underline;
}

.ms-faq-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    font-family: Inter, Arial, sans-serif;
}

.ms-faq-buttons {
    display: flex;
    gap: 20px;
}

.ms-faq-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    width: 47px;
    height: 44px;
    border: 1px solid #0b247a;
    border-radius: 5px;
    background: white;
    color: #0b247a;
    font-size: 14.3px;
    font-weight: 600;
    padding: 0;
}

.ms-faq-buttons button[data-faq-direction="1"] {
    width: 217.45px;
}

.ms-faq-buttons button[data-faq-direction="1"] img {
    transform: rotate(180deg);
}

.ms-faq-buttons button:disabled {
    background: #f2f2f7;
    border-color: #aeaeb2;
    color: #aeaeb2;
    cursor: default;
}

.ms-faq-buttons button:disabled img {
    filter: grayscale(1);
    opacity: .4;
}

.ms-faq-page-picker {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #333;
    font-size: 15.5px;
    line-height: 24px;
}

.ms-faq-page-picker label {
    margin: 0;
}

.ms-faq-page-picker input {
    width: 30px;
    height: 28px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    background: white;
    color: black;
    text-align: center;
    padding: 1px 2px;
    font: inherit;
}

.multisim-page .footer {
    background: #0e193d;
    color: #fff;
    padding: 32px 0;
    font-size: 14px;
    font-family: Inter, Arial, sans-serif;
    line-height: 20px;
}

.multisim-page .footer-title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    padding: 20px 0 16px;
}

.multisim-page .footer ul {
    padding: 0;
    list-style: none;
}

.multisim-page .footer li {
    padding: 4px 0;
}

.multisim-page .footer a {
    color: #fff;
}

.multisim-page .footer .social, .multisim-page .store-download {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.multisim-page .store-download img {
    max-width: 110px;
    height: 36px;
}

.multisim-page .footer .social img {
    width: 20px;
    height: 20px;
}

.multisim-page .footer-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.multisim-page .footer-info-item-2 {
    gap: 20px;
}

.multisim-page .footer .border-top {
    margin-top: 48px;
}

.multisim-page .giay-chung-nhan {
    padding-top: 20px;
}

.multisim-page .copyright {
    background: #04144a;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

@media (min-width: 1600px) {
    .ms-condition-art {
        right: -130px;
    }
}

@media (max-width: 1200px) {
    .ms-header nav {
        gap: 15px;
    }

    .ms-logo {
        width: 160px;
    }

    .ms-guide-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .ms-steps {
        grid-template-rows: repeat(4, 175px);
    }

    .ms-step:nth-child(2):before, .ms-step:nth-child(4):before, .ms-step:nth-child(6):before {
        height: 178px;
    }

    .ms-step {
        padding: 0;
        font-size: 12px;
    }

    .ms-condition-art {
        right: 0;
        width: 33%;
    }

    .ms-condition-card ul {
        max-width: 70%;
    }

    .ms-pricing {
        padding: 32px;
        gap: 24px;
        grid-template-columns: 34% 1fr;
    }

    .ms-renewal {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 991px) {
    .ms-container {
        width: calc(100% - 32px);
    }

    .ms-section {
        padding: 24px 0;
        scroll-margin-top: 70px;
    }

    .multisim-page h2 {
        font-size: 28px;
        line-height: 33px;
        margin-bottom: 24px;
        text-align: left;
    }

    .ms-header-inner {
        min-height: 42px;
        padding-top: 0;
        padding-bottom: 0;
        justify-content: center;
    }

    .ms-logo {
        width: 90px;
        height: 14px;
    }

    .ms-header {
        background: #fefefe;
        box-shadow: 0 4px 2px rgba(79, 128, 176, .25);
    }

    .ms-menu-toggle {
        display: block;
        position: absolute;
        left: 16px;
        border: 0;
        background: transparent;
        color: #041f4a;
        font-size: 23px !important;
    }

    .ms-header nav {
        display: none;
        position: absolute;
        top: 42px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 24px;
        box-shadow: 0 10px 20px #041f4a20;
        max-height: calc(100dvh - 42px);
        overflow-y: auto;
    }

    .ms-header nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .ms-header nav a {
        font-size: 16px;
    }

    .ms-hero {
        padding-top: 81px;
        padding-bottom: 112px;
    }

    .ms-hero h1 {
        font-size: 28px;
        line-height: 33px;
        max-width: 343px;
        margin-bottom: 8px;
    }

    .ms-hero h1 span {
        display: block;
    }

    .ms-hero p {
        font-size: 16px;
        line-height: 19px;
        max-width: 343px;
        margin-bottom: 32px;
    }

    .ms-learn-more {
        width: 154px;
        height: 45px;
        font-size: 16px;
        padding: 0;
    }

    .ms-hero-image {
        width: min(341px, 100%);
        margin-top: 73px;
    }

    .ms-benefits {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-top: 28px;
    }

    .ms-benefits-art {
        width: 100%;
        min-height: 396px;
    }

    .ms-benefits-image {
        width: 288px;
        height: 396px;
    }

    .ms-benefits h2 {
        margin-bottom: 24px;
    }

    .ms-benefit-list li {
        padding-left: 48px;
        margin-bottom: 24px;
    }

    .ms-benefit-list li:before {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .ms-benefit-list h3 {
        font-size: 18px;
        line-height: 21px;
        margin-bottom: 8px;
    }

    .ms-benefit-list p {
        font-size: 14px;
        line-height: 16px;
    }

    .ms-conditions {
        display: flex;
        flex-direction: column;
    }

    .ms-condition-body {
        display: contents;
    }

    .ms-condition-art {
        position: static;
        transform: none;
        order: -1;
        width: 100%;
        max-width: 300px;
        align-self: center;
        margin-bottom: 24px;
    }

    .ms-condition-card {
        padding: 16px;
        border-radius: 10px;
        font-size: 16px;
        line-height: 19px;
    }

    .ms-condition-card h3 {
        font-size: 22px;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .ms-condition-card h4 {
        font-size: 18px;
        line-height: 21px;
        max-width: 100%;
    }

    .ms-condition-card ul, .ms-condition-card .ms-check-list {
        max-width: 100%;
        font-size: 16px;
        font-weight: 400;
        line-height: 19px;
        margin-bottom: 16px;
    }

    .ms-condition-card .ms-check-list {
        margin-bottom: 0;
    }

    .ms-check-list li {
        background-size: 16px;
        padding-left: 24px;
    }
    .ms-check-list li::before { width: 16px; height: 17px; top: 1px; }

    .ms-guide {
        padding: 16px;
        margin-bottom: 16px;
        border: 0;
        border-radius: 8px;
        background: #f5f5f7;
    }

    .ms-guide-heading {
        font-size: 18px;
        line-height: 21px;
        font-family: Roboto, Arial, sans-serif;
    }

    .ms-guide-toggle small {
        font-size: 12px;
        line-height: 15px;
        gap: 6px;
    }

    .ms-guide-toggle small img {
        width: 16px;
        height: 16px;
    }

    .ms-guide-panel {
        border-top: 1px solid #d1d1d6;
        margin-top: 16px;
        padding-top: 16px;
    }

    .ms-guide-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .ms-preview {
        order: 0;
        width: 100%;
    }

    .ms-phone {
        width: 253px;
        max-width: 90%;
        margin: auto;
    }

    .ms-mobile-arrows {
        position: absolute;
        top: 56%;
        transform: translateY(-50%);
        left: -8px;
        right: -8px;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }

    .ms-mobile-arrows button {
        pointer-events: auto;
        border: 0;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        padding: 0;
        background: #fff;
        box-shadow: 0 4px 2px rgba(0, 0, 0, .11);
    }

    .ms-mobile-arrows button:disabled {
        background: #f2f2f7;
        cursor: default;
    }

    .ms-mobile-arrows button[data-direction="-1"] img {
        transform: rotate(180deg);
    }

    .ms-mobile-arrows img {
        display: block;
        width: 18px;
        height: 18px;
    }
    .ms-price-card h3 { flex-wrap: wrap; }
    .multisim-page .footer .text { min-width: 0; overflow-wrap: anywhere; }

    .ms-mobile-progress {
        display: flex;
        order: 1;
        width: 100%;
        gap: 4px;
    }

    .ms-mobile-progress button {
        position: relative;
        flex: 1;
        min-width: 0;
        border: 0;
        border-radius: 4px;
        background: #deebff;
        height: 2px;
        padding: 0;
    }

    .ms-mobile-progress button:before {
        content: '';
        position: absolute;
        inset: -10px 0;
    }

    .ms-mobile-progress button[aria-pressed=true] {
        background: linear-gradient(220deg, #28a6fc, #0052cc);
    }

    .ms-steps {
        display: block;
        order: 2;
        width: 100%;
        padding: 0;
    }

    .ms-step {
        display: none;
        padding: 0;
        font-size: 12px;
    }

    .ms-step.is-active {
        display: block;
        color: #041f4a;
    }

    .ms-step:before, .ms-step:after, .ms-start {
        display: none !important;
    }

    .ms-step.is-active .ms-step-number {
        background: #041f4a;
    }

    .ms-step p {
        max-width: 222px;
        margin-bottom: 0;
    }

    .ms-pricing {
        display: block;
        padding: 16px;
        border-radius: 8px;
    }

    .ms-pricing h2 {
        font-size: 28px;
        line-height: 33px;
        margin-bottom: 8px;
    }

    .ms-pricing > div > p {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 24px;
    }

    .ms-price-card {
        padding: 16px;
        border-radius: 20px;
    }

    .ms-price-card h3 {
        font-size: 18px;
        line-height: 21px;
        gap: 8px;
    }

    .ms-price-card dl {
        font-size: 14px;
    }

    .ms-price-card dt::before {
        flex-basis: 10px;
        height: 8px;
    }

    .ms-recurring-price span {
        display: block;
        margin-left: 0;
    }

    .ms-price-date {
        font-size: 14px;
        line-height: 16px;
        padding: 8px 12px;
    }

    .ms-renewal {
        font-size: 14px;
        flex-wrap: nowrap;
        align-items: center;
        gap: 24px;
    }

    .ms-price-card p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }

    .ms-faq h2 {
        font-family: Roboto, Arial, sans-serif;
        font-size: 28px;
        line-height: 33px;
        margin-bottom: 24px;
    }

    .ms-faq-item {
        font-size: 14px;
        font-family: Roboto, Arial, sans-serif;
        font-weight: 400;
        line-height: 17px;
    }

    .ms-faq summary {
        padding: 10px 42px 10px 16px;
        font-weight: 600;
    }

    .ms-faq-answer {
        padding: 20px 10px;
    }

    .ms-faq-buttons {
        gap: 16px;
    }

    .ms-faq-buttons button, .ms-faq-buttons button[data-faq-direction="1"] {
        width: 36px;
        height: 36px;
    }

    .ms-faq-buttons button span {
        display: none;
    }

    .ms-faq-buttons img {
        width: 18px;
        height: 18px;
    }

    .ms-faq-page-picker {
        font-size: 12px;
    }

    .multisim-page .footer-title {
        font-size: 20px;
    }

    .multisim-page .footer-info-item-2 {
        flex-wrap: wrap;
        gap: 0;
    }

    .multisim-page .footer .border-top {
        margin-top: 24px;
    }

    .multisim-page .footer img {
        max-width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1440px) {
    .ms-condition-art {
        right: 0;
    }
}

/* Figma ellipses include their blur bounds, so the glow is not cropped to the art box. */
.ms-benefits-art::before, .ms-benefits-art::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ms-benefits-art::before {
    left: -11.28%;
    top: -33.35%;
    width: 139.62%;
    height: 155.62%;
    background-image: url('../../images/multisim/benefits-glow-blue.svg');
}

.ms-benefits-art::after {
    left: -28.32%;
    top: -26%;
    width: 135.74%;
    height: 146.13%;
    background-image: url('../../images/multisim/benefits-glow-orange.svg');
}

@media (max-width: 991px) {
    .ms-benefits-art::before {
        left: calc(50% - 173.65px);
        top: -1.38px;
        width: 373.55px;
        height: 354.79px;
        background-image: url('../../images/multisim/benefits-glow-blue-mobile.svg');
    }

    .ms-benefits-art::after {
        left: calc(50% - 233.18px);
        top: -15.6px;
        width: 444.6px;
        height: 404.4px;
        background-image: url('../../images/multisim/benefits-glow-orange-mobile.svg');
    }
}

/* Updated registration flow: 01–02 / 05–04–03 / 06–07–08 / 11–10–09. */
@media (min-width: 992px) {
    .ms-steps-register { grid-template-rows: 211px 187px 199px 112px; }
    .ms-steps-register .ms-step:nth-child(5) { grid-area: 2/1; }
    .ms-steps-register .ms-step:nth-child(6) { grid-area: 3/1; }
    .ms-steps-register .ms-step:nth-child(7) { grid-area: 3/2; }
    .ms-steps-register .ms-step:nth-child(8) { grid-area: 3/3; }
    .ms-steps-register .ms-step:nth-child(9) { grid-area: 4/3; }
    .ms-steps-register .ms-step:nth-child(10) { grid-area: 4/2; }
    .ms-steps-register .ms-step:nth-child(11) { grid-area: 4/1; }
    .ms-steps-register .ms-step:before {
        left: 50%; width: 100%; height: 3px;
        background-image: url('../../images/multisim/guide-connector-horizontal.svg');
    }
    .ms-steps-register .ms-step:nth-child(3):before,
    .ms-steps-register .ms-step:nth-child(4):before,
    .ms-steps-register .ms-step:nth-child(9):before,
    .ms-steps-register .ms-step:nth-child(10):before { left: -50%; }
    .ms-steps-register .ms-step:nth-child(2):before {
        width: 50%; height: 214px;
        background-image: url('../../images/multisim/guide-connector-turn-right.svg');
    }
    .ms-steps-register .ms-step:nth-child(5):before {
        left: 0; width: 50%; height: 190px;
        background-image: url('../../images/multisim/guide-connector-turn-left.svg');
    }
    .ms-steps-register .ms-step:nth-child(8):before {
        width: 50%; height: 202px;
        background-image: url('../../images/multisim/guide-connector-turn-right.svg');
    }
}
