/* ==========================================================================
   Ms2Pay theme layer
   Loaded last, on top of style.css and every page's inline <style> block.
   Shape language: squared edges, 1px rules, left accent bars, no pills.
   ========================================================================== */

:root {
    --ms-orange: #d93c02;
    --ms-orange-soft: #f25c22;
    --ms-navy: #0b3a72;
    --ms-navy-deep: #06264c;
    --ms-ink: #0d1b2a;
    --ms-body: #51607a;
    --ms-muted: #7d8aa0;
    --ms-line: #e3e8f0;
    --ms-wash: #f4f6fa;
    --ms-font-display: 'Space Grotesk', 'Poppins', sans-serif;
    --ms-font-body: 'Inter', 'Poppins', sans-serif;
}

/* ---------- Typography ---------------------------------------------------- */

body,
body.home,
p,
li,
td,
th,
input,
textarea,
select,
.widget-text,
.section-disc,
.banner-text {
    font-family: var(--ms-font-body) !important;
    letter-spacing: 0;
}

body {
    color: var(--ms-body);
    font-size: 15px;
    line-height: 1.75;
    background: #fff;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.banner-title,
.widget-title,
.top-title,
button,
.pulse,
.btn-white,
.button-round-white,
.navigation ul li a {
    font-family: var(--ms-font-display) !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.banner-title {
    color: var(--ms-ink);
    letter-spacing: -0.025em;
    font-weight: 700;
    line-height: 1.15;
}

.section-title {
    font-size: 40px;
}

.title-highlight {
    color: var(--ms-orange);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.04em;
    height: 0.14em;
    background: rgba(217, 60, 2, 0.22);
    z-index: -1;
}

.section-disc p,
.section-disc {
    color: var(--ms-muted);
    font-size: 15px;
}

/* ---------- Eyebrow label: pill + dots  ->  bar + small caps --------------- */

.divider-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.text-start .divider-wrapper,
.banner-content .divider-wrapper,
.divider-wrapper.text-start {
    justify-content: flex-start;
}

.divider-wrapper .title-divider {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
}

/* Orange reads on both the light sections and the dark ones */
.divider-wrapper .title-divider .top-title {
    color: var(--ms-orange) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.divider-wrapper .title-divider .top-title::before {
    content: '';
    background: var(--ms-orange) !important;
    border-radius: 0 !important;
    width: 28px !important;
    height: 2px !important;
    margin-right: 12px !important;
}

.divider-wrapper .title-divider .top-title::after {
    display: none !important;
}

/* Inline "eyebrow"-ish chips used on a few sections */
.feature-tag,
.industry-tag,
.service-type,
.brand-eyebrow {
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px !important;
    font-weight: 700;
}

/* ---------- Buttons: pills -> squared, uppercase, hard shadow -------------- */

.pulse,
.btn-white,
.button-round-white,
.banner-button a,
.default-btn,
button[type="submit"],
.btn-primary {
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px !important;
    font-weight: 700;
    padding: 16px 30px !important;
    box-shadow: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.pulse,
.banner-button a.pulse,
button[type="submit"],
.btn-primary {
    background: var(--ms-orange) !important;
    color: #fff !important;
    border: 1px solid var(--ms-orange) !important;
}

.pulse:hover,
button[type="submit"]:hover,
.btn-primary:hover {
    background: var(--ms-navy) !important;
    border-color: var(--ms-navy) !important;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--ms-orange) !important;
}

.button-round-white,
.btn-white {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .45) !important;
}

.button-round-white:hover,
.btn-white:hover {
    background: #fff !important;
    color: var(--ms-navy) !important;
    border-color: #fff !important;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(255, 255, 255, .3) !important;
}

/* ---------- Cards: rounded + soft shadow -> squared + 1px rule ------------- */

.service-card,
.product-card,
.value-card,
.step-card,
.testimonial-card,
.contact-box,
.contact-form-card,
.stat-box,
.why-choose-item,
.faq-item,
.integration-item,
.milestone-item,
.sec-feature,
.cta-banner,
.counter-inner,
.card,
[class*="-card"] {
    border-radius: 3px !important;
    box-shadow: none !important;
    border: 1px solid var(--ms-line) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover,
.product-card:hover,
.value-card:hover,
.step-card:hover,
.testimonial-card:hover,
.why-choose-item:hover,
.integration-item:hover,
[class*="-card"]:hover {
    border-color: var(--ms-orange) !important;
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(11, 58, 114, .1) !important;
}

/* Icon tiles inside cards: circles -> squares with a cut corner */
.service-card-icon,
.value-icon,
.why-icon,
.contact-box-icon,
.step-number {
    border-radius: 3px !important;
}

/* Inputs */
.form-control,
.form-control-custom,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
    border-radius: 2px !important;
    border: 1px solid var(--ms-line) !important;
    background: #fff !important;
    font-family: var(--ms-font-body) !important;
}

.form-control:focus,
.form-control-custom:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--ms-orange) !important;
    box-shadow: 0 0 0 3px rgba(217, 60, 2, .12) !important;
    outline: none;
}

/* Kill the generic rounding rule inherited from the old global block */
[class*="card"],
[class*="box"],
[class*="wrapper"] {
    border-radius: 3px;
}

/* ---------- Header: utility strip + squared nav --------------------------- */

.ms-topbar {
    background: var(--ms-navy-deep);
    color: rgba(255, 255, 255, .75);
    font-family: var(--ms-font-body);
    font-size: 12.5px;
}

.ms-topbar a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s ease;
}

.ms-topbar a:hover {
    color: #fff;
}

.ms-topbar .ms-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 9px 0;
    flex-wrap: wrap;
}

.ms-topbar i {
    color: var(--ms-orange-soft);
    margin-right: 7px;
}

.site-header {
    box-shadow: none !important;
    border-bottom: 1px solid var(--ms-line);
}

.navigation ul li a {
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 0.12em;
    font-weight: 600 !important;
    color: var(--ms-ink) !important;
    padding-bottom: 0 !important;
}

.navigation ul li a:hover,
.navigation ul li.current-menu-item a {
    color: var(--ms-orange) !important;
}

.navigation ul li.current-menu-item a::after {
    height: 2px !important;
    border-radius: 0 !important;
    background: var(--ms-orange) !important;
    bottom: -6px !important;
}

/* Login sits as a solid CTA, not a plain link */
.navigation ul li.ms-nav-cta a,
.navigation ul li.ms-nav-cta.current-menu-item a {
    background: var(--ms-orange);
    color: #fff !important;
    padding: 11px 22px !important;
    border-radius: 2px;
    margin-left: 10px;
}

.navigation ul li.ms-nav-cta a:hover {
    background: var(--ms-navy);
    color: #fff !important;
}

.navigation ul li.ms-nav-cta.current-menu-item a::after {
    display: none !important;
}

/* ---------- Inner page banner --------------------------------------------- */

.inner-baner-container {
    border-bottom: 3px solid var(--ms-orange);
}

.inner-banner-content .entry-title,
.inner-banner-content h1 {
    letter-spacing: -0.03em;
}

/* ---------- Footer -------------------------------------------------------- */

.site-footer .widget-title {
    font-size: 12px !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding-bottom: 0 !important;
    padding-left: 14px;
    border-left: 2px solid var(--ms-orange);
}

.site-footer .widget-title::after {
    display: none !important;
}

.site-footer ul li a:hover {
    padding-left: 0 !important;
    color: var(--ms-orange-soft) !important;
}

.site-footer .footer-social a,
.site-footer .social-link {
    border-radius: 2px !important;
}

#backTotop {
    border-radius: 2px !important;
    background: var(--ms-orange) !important;
}

/* ---------- Hero ---------------------------------------------------------- */

.home-banner {
    min-height: 620px !important;
    padding-top: 120px !important;
    padding-bottom: 110px !important;
}

.banner-content {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.banner-content .banner-text p {
    padding: 0 !important;
    margin-bottom: 32px !important;
}

.banner-content .banner-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.banner-content .banner-button a {
    margin: 0 !important;
}

.banner-title {
    font-size: 58px !important;
    line-height: 1.05 !important;
}

.banner-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
}

.banner-button {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ms-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding-top: 22px;
}

.ms-hero-stats div {
    padding-right: 38px;
    margin-right: 38px;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.ms-hero-stats div:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.ms-hero-stats strong {
    display: block;
    font-family: var(--ms-font-display);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.ms-hero-stats span {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

#homeBannerCarousel .carousel-indicators [data-bs-target] {
    border-radius: 0 !important;
    width: 26px !important;
    height: 3px !important;
}

@media (max-width: 991px) {
    .section-title { font-size: 30px; }
    .banner-title { font-size: 38px !important; }
    .ms-hero-stats div { padding-right: 22px; margin-right: 22px; }
}

/* ---------- Dark sections ------------------------------------------------- */

.fact-section,
.bg-gray {
    background-color: var(--ms-navy-deep) !important;
}

.fact-section .section-title,
.fact-section h2,
.fact-section h3 {
    color: #fff;
}

/* The template's icon font has no glyph here, so the checkmark comes from Font Awesome */
.section-about-content ul li:before,
.about-list ul li:before {
    content: "\f058" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    color: var(--ms-orange) !important;
    font-size: 14px !important;
    margin-right: 10px !important;
}

/* ---------- Colour-filled CTA bands --------------------------------------- */

.cta-banner,
.whatsapp-cta,
.security-wrap {
    border: 0 !important;
}

.cta-banner h2,
.cta-banner h3,
.cta-banner p,
.cta-banner a,
.whatsapp-cta h2,
.whatsapp-cta h3,
.whatsapp-cta p {
    color: #fff !important;
}

.cta-banner .pulse,
.cta-banner .btn-white,
.cta-banner .button-round-white {
    background: #fff !important;
    color: var(--ms-orange) !important;
    border-color: #fff !important;
}

.cta-banner .pulse:hover,
.cta-banner .btn-white:hover,
.cta-banner .button-round-white:hover {
    background: var(--ms-navy-deep) !important;
    color: #fff !important;
    border-color: var(--ms-navy-deep) !important;
    box-shadow: 4px 4px 0 rgba(255, 255, 255, .35) !important;
}

/* ==========================================================================
   Home hero - split studio layout (replaces the old full-bleed slider)
   ========================================================================== */

.ms-hero {
    background:
        radial-gradient(1100px 520px at 12% 8%, rgba(217, 60, 2, .34) 0%, transparent 62%),
        radial-gradient(900px 520px at 92% 86%, rgba(15, 75, 148, .55) 0%, transparent 60%),
        linear-gradient(135deg, #04203f 0%, #072c57 55%, #0b3a72 100%);
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
}

.ms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.ms-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: center;
}

/* --- left column --- */

.ms-hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ms-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ms-orange-soft);
    margin-bottom: 26px;
}

.ms-hero-kicker span {
    width: 34px;
    height: 2px;
    background: var(--ms-orange);
}

.ms-hero-title {
    font-family: var(--ms-font-display);
    font-size: 54px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.03em;
    color: #fff;
    margin: 0 0 24px;
}

.ms-hero-title em {
    font-style: normal;
    color: var(--ms-orange-soft);
    border-bottom: 4px solid rgba(217, 60, 2, .55);
}

.ms-hero-lead {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    max-width: 540px;
    margin: 0 0 34px;
}

.ms-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.ms-btn-solid,
.ms-btn-ghost {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 2px;
    font-family: var(--ms-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.ms-btn-solid {
    background: var(--ms-orange);
    color: #fff;
    border: 1px solid var(--ms-orange);
}

.ms-btn-solid:hover {
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(255, 255, 255, .28);
}

.ms-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
}

.ms-btn-ghost:hover {
    background: #fff;
    color: var(--ms-navy-deep);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(255, 255, 255, .22);
}

.ms-hero-ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.ms-hero-ticker li {
    font-family: var(--ms-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 7px 13px;
    border-radius: 2px;
}

/* --- right column: build panel --- */

.ms-hero-panel {
    background: rgba(4, 22, 44, .72);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 3px;
    box-shadow: 18px 18px 0 rgba(217, 60, 2, .16);
    backdrop-filter: blur(2px);
}

.ms-panel-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ms-panel-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
}

.ms-panel-bar span:first-child { background: var(--ms-orange); }

.ms-panel-bar em {
    margin-left: auto;
    font-style: normal;
    font-family: var(--ms-font-display);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.ms-panel-body { padding: 24px 22px 26px; }

.ms-panel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .11);
}

.ms-panel-row code {
    font-family: var(--ms-font-body);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.ms-panel-row b {
    font-family: var(--ms-font-display);
    font-size: 14px;
    color: #fff;
}

.ms-panel-meter {
    height: 4px;
    background: rgba(255, 255, 255, .12);
    margin: 22px 0 26px;
}

.ms-panel-meter i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--ms-orange), var(--ms-orange-soft));
}

.ms-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .11);
}

.ms-panel-grid div {
    background: rgba(4, 22, 44, .9);
    padding: 18px 16px;
}

.ms-panel-grid strong {
    display: block;
    font-family: var(--ms-font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}

.ms-panel-grid span {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

@media (max-width: 991px) {
    .ms-hero { padding: 64px 0 72px; }
    .ms-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .ms-hero-title { font-size: 36px; }
}

/* ==========================================================================
   Capability index - numbered rows, replaces the old 3-column card grid
   ========================================================================== */

.ms-index { padding: 104px 0; background: #fff; }

.ms-index-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 72px;
    align-items: start;
}

.ms-index-aside { position: sticky; top: 130px; }

.ms-index-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ms-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ms-orange);
    margin-bottom: 20px;
}

.ms-index-kicker span { width: 28px; height: 2px; background: var(--ms-orange); }

.ms-index-title {
    font-family: var(--ms-font-display);
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--ms-ink);
    margin: 0 0 20px;
}

.ms-index-note {
    color: var(--ms-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.ms-index-link {
    font-family: var(--ms-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ms-orange);
    border-bottom: 2px solid rgba(217, 60, 2, .3);
    padding-bottom: 3px;
}

.ms-index-link:hover { color: var(--ms-navy); border-color: var(--ms-navy); }

.ms-index-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--ms-line);
}

.ms-index-row {
    display: grid;
    grid-template-columns: 52px 56px 1fr 32px;
    gap: 18px;
    align-items: start;
    padding: 28px 16px 28px 0;
    border-bottom: 1px solid var(--ms-line);
    transition: background .22s ease, padding .22s ease;
}

.ms-index-row:hover {
    background: #fdf6f2;
    padding-left: 16px;
    padding-right: 0;
}

.ms-index-no {
    font-family: var(--ms-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--ms-muted);
    padding-top: 6px;
}

.ms-index-row:hover .ms-index-no { color: var(--ms-orange); }

.ms-index-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ms-line);
    border-radius: 2px;
    color: var(--ms-orange);
    font-size: 17px;
    transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.ms-index-row:hover .ms-index-icon {
    background: var(--ms-orange);
    border-color: var(--ms-orange);
    color: #fff;
}

.ms-index-text h3 {
    font-family: var(--ms-font-display);
    font-size: 20px;
    letter-spacing: -.02em;
    color: var(--ms-ink);
    margin: 0 0 4px;
}

.ms-index-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ms-orange);
    margin: 0 0 10px;
}

.ms-index-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ms-muted);
    margin: 0;
    max-width: 520px;
}

.ms-index-go {
    font-size: 20px;
    color: var(--ms-line);
    padding-top: 2px;
    transition: color .22s ease, transform .22s ease;
}

.ms-index-row:hover .ms-index-go { color: var(--ms-orange); transform: translateX(4px); }

@media (max-width: 991px) {
    .ms-index { padding: 64px 0; }
    .ms-index-grid { grid-template-columns: 1fr; gap: 40px; }
    .ms-index-aside { position: static; }
    .ms-index-title { font-size: 32px; }
    .ms-index-row { grid-template-columns: 40px 44px 1fr; }
    .ms-index-go { display: none; }
}

/* Section headings sitting on the navy bands (cards inside keep their own colours) */
.bg-gray > .container .section-head .section-title,
.bg-gray > .container .section-head h2,
.fact-section .fact-section-head .section-title,
.fact-section .fact-section-head h2 {
    color: #fff !important;
}

.bg-gray > .container .section-head .section-disc p,
.fact-section .fact-section-head .section-disc p {
    color: rgba(255, 255, 255, .72) !important;
}

/* ==========================================================================
   "What happens next" panel - sits where the contact stock photo used to be
   ========================================================================== */

.ms-next {
    background: linear-gradient(150deg, #06264c 0%, #0b3a72 100%);
    border-radius: 3px;
    padding: 34px 30px 30px;
    height: 100%;
    box-shadow: 14px 14px 0 rgba(217, 60, 2, .14);
}

.ms-next-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--ms-font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ms-orange-soft);
    margin: 0 0 26px;
}

.ms-next-kicker span { width: 26px; height: 2px; background: var(--ms-orange); }

.ms-next-steps {
    list-style: none;
    counter-reset: msnext;
    margin: 0;
    padding: 0;
}

.ms-next-steps li {
    counter-increment: msnext;
    position: relative;
    padding: 0 0 22px 42px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ms-next-steps li:last-child {
    border-bottom: 0;
    margin-bottom: 18px;
    padding-bottom: 0;
}

.ms-next-steps li::before {
    content: counter(msnext, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1px;
    font-family: var(--ms-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ms-orange-soft);
    border: 1px solid rgba(242, 92, 34, .45);
    border-radius: 2px;
    padding: 4px 6px;
    line-height: 1;
}

.ms-next-steps strong {
    display: block;
    font-family: var(--ms-font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fff;
    margin-bottom: 5px;
}

.ms-next-steps span {
    display: block;
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .62);
}

.ms-next-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .12);
}

.ms-next-foot div {
    background: rgba(4, 22, 44, .55);
    padding: 15px 14px;
}

.ms-next-foot strong {
    display: block;
    font-family: var(--ms-font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}

.ms-next-foot span {
    font-size: 10.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}
