:root {
    --mc-purple: #951ce3;
    --mc-purple-dark: #641091;
    --mc-purple-soft: #f7effc;
    --mc-ink: #21152b;
    --mc-muted: #655f69;
    --mc-line: #e8dfee;
    --mc-green: #1f7a50;
    --mc-yellow: #ffda44;
}

.stock-sync-page {
    color: var(--mc-ink);
    font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

.stock-sync-page h1,
.stock-sync-page h2,
.stock-sync-page h3,
.stock-sync-page .navbar-brand {
    font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.stock-sync-page #mainNav {
    border-bottom: 1px solid rgba(33, 21, 43, 0.08);
}

.stock-sync-page #mainNav .navbar-brand {
    color: var(--mc-purple);
    font-size: 1.45rem;
}

.stock-sync-page #mainNav .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 8.25rem 0 5rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(149, 28, 227, 0.12), transparent 30rem),
        linear-gradient(180deg, #fff 0%, #fbf8fd 100%);
}

.landing-hero::after {
    position: absolute;
    content: "";
    width: 18rem;
    height: 18rem;
    right: -8rem;
    bottom: -9rem;
    border: 3.5rem solid rgba(149, 28, 227, 0.06);
    border-radius: 50%;
}

.landing-breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    color: var(--mc-muted);
    font-size: 0.88rem;
}

.landing-breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: #aaa2af;
}

.landing-breadcrumb a {
    color: var(--mc-purple-dark);
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-copy-block {
    max-width: 1080px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--mc-purple-dark);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 1080px;
    margin-bottom: 1.35rem;
    color: var(--mc-purple);
    font-size: clamp(2.55rem, 5vw, 4.9rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.hero-copy {
    max-width: 740px;
    margin: 0 auto 1.75rem;
    color: var(--mc-muted);
    font-size: clamp(1.06rem, 1.5vw, 1.3rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.mercury-btn {
    border-radius: 0.75rem;
    padding: 0.85rem 1.25rem;
    font-weight: 800;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.mercury-btn:hover {
    transform: translateY(-1px);
}

.mercury-btn-primary,
.mercury-btn-small {
    color: #fff;
    background: var(--mc-purple);
    border-color: var(--mc-purple);
    box-shadow: 0 0.65rem 1.4rem rgba(149, 28, 227, 0.2);
}

.mercury-btn-primary:hover,
.mercury-btn-small:hover {
    color: #fff;
    background: var(--mc-purple-dark);
    border-color: var(--mc-purple-dark);
}

.mercury-btn-secondary {
    color: var(--mc-ink);
    background: #fff;
    border: 1px solid #d8cddd;
}

.mercury-btn-secondary:hover {
    color: var(--mc-purple-dark);
    border-color: var(--mc-purple);
}

.mercury-btn-small {
    padding: 0.62rem 1rem;
    box-shadow: none;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    color: var(--mc-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-proof i {
    color: var(--mc-green);
}

.product-window {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(53, 30, 65, 0.15);
}

.product-window img {
    display: block;
    width: 100%;
    height: auto;
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.35rem;
    padding: 0.55rem 0.8rem;
    color: var(--mc-muted);
    background: #f8f5fa;
    border-bottom: 1px solid var(--mc-line);
    font-size: 0.75rem;
}

.window-bar span {
    width: 0.55rem;
    height: 0.55rem;
    background: #d9cce0;
    border-radius: 50%;
}

.window-bar strong {
    margin-left: 0.35rem;
}

.hero-window {
    width: 100%;
}

.hero-window img {
    aspect-ratio: 3.136;
    object-fit: contain;
}

.hero-product {
    width: 100%;
    max-width: 1180px;
    margin-top: 3rem;
}

.hero-window figcaption {
    padding: 0.7rem 0.9rem;
    color: var(--mc-muted);
    font-size: 0.76rem;
}

.direct-answer {
    position: relative;
    z-index: 2;
    padding: 0;
}

.answer-card {
    max-width: 1000px;
    margin: -1.5rem auto 0;
    padding: 1.75rem 2rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-left: 5px solid var(--mc-purple);
    border-radius: 0.85rem;
    box-shadow: 0 0.85rem 2.2rem rgba(53, 30, 65, 0.09);
}

.answer-label {
    margin-bottom: 0.4rem;
    color: var(--mc-purple-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.answer-card h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.answer-card p:last-child {
    margin: 0;
    color: var(--mc-muted);
    line-height: 1.65;
}

.section-block {
    padding: 6rem 0;
}

.section-tint {
    background: #fbf8fd;
}

.section-dark {
    color: #fff;
    background: var(--mc-ink);
}

.section-dark .section-heading p:not(.eyebrow) {
    color: #d9cfdf;
}

.section-dark .eyebrow {
    color: #dca9f7;
}

.section-heading {
    margin-bottom: 2.7rem;
}

.section-heading.narrow {
    max-width: 800px;
}

.section-heading h2,
.stock-sync-page .row h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.section-heading > p:not(.eyebrow),
.stock-sync-page .row h2 ~ p {
    color: var(--mc-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.oversale-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 1rem;
}

.stock-state {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 0.85rem;
}

.stock-state strong {
    margin: 0.2rem 0;
    font-family: "Kanit", sans-serif;
    font-size: 1.75rem;
}

.stock-state span:not(.state-label) {
    color: var(--mc-muted);
    font-size: 0.92rem;
}

.state-label {
    color: var(--mc-purple-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sale-state {
    background: #fff9e5;
    border-color: #f0d46d;
}

.updated-state {
    background: #effaf5;
    border-color: #9bd1b8;
}

.state-arrow {
    align-self: center;
    color: var(--mc-purple);
    font-size: 1.7rem;
    font-weight: 800;
}

.context-note,
.evidence-caption {
    margin-top: 1rem;
    color: var(--mc-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.sync-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: flow;
}

.sync-flow li {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 12rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 0.85rem;
}

.sync-flow li:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    content: "→";
    right: -1.05rem;
    top: 50%;
    width: 1.3rem;
    color: var(--mc-purple);
    font-weight: 800;
    text-align: center;
    transform: translateY(-50%);
}

.sync-flow li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    background: var(--mc-purple);
    border-radius: 50%;
    font-weight: 800;
}

.sync-flow strong {
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.sync-flow small {
    color: var(--mc-muted);
    line-height: 1.45;
}

.example-card {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--mc-ink);
    color: #fff;
    border-radius: 1rem;
}

.example-intro h3 {
    font-size: 1.75rem;
}

.example-intro p:last-child {
    margin: 0;
    color: #cfc4d5;
}

.example-card .eyebrow {
    color: #dca9f7;
}

.example-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.example-numbers > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 7.5rem;
    padding: 1rem;
    color: var(--mc-ink);
    background: #fff;
    border-radius: 0.7rem;
}

.example-numbers span {
    font-size: 0.8rem;
    font-weight: 700;
}

.example-numbers strong {
    font-family: "Kanit", sans-serif;
    font-size: 2.4rem;
}

.example-numbers .example-operation {
    background: #fff5ce;
}

.example-numbers .example-result {
    background: #dff5e9;
}

.channel-result {
    grid-column: 2;
    display: flex;
    gap: 0.75rem;
}

.channel-result span {
    flex: 1;
    padding: 0.75rem 1rem;
    color: var(--mc-ink);
    background: #f5ebfa;
    border-radius: 0.6rem;
}

.channel-result strong {
    float: right;
}

.mid-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 0.85rem;
}

.video-demo {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.8rem rgba(53, 30, 65, 0.08);
}

.video-demo-reverse {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.video-demo-reverse .video-demo-copy {
    grid-column: 2;
}

.video-demo-reverse .product-video {
    grid-column: 1;
    grid-row: 1;
}

.video-demo-copy h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    line-height: 1.12;
}

.video-demo-copy > p:not(.eyebrow) {
    color: var(--mc-muted);
    line-height: 1.65;
}

.video-demo-copy details {
    color: var(--mc-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.video-demo-copy summary {
    color: var(--mc-purple-dark);
    cursor: pointer;
    font-weight: 800;
}

.video-demo-copy details p {
    margin: 0.7rem 0 0;
}

.product-video {
    margin: 0;
}

.video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--mc-ink);
    border-radius: 0.75rem;
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-video figcaption {
    margin-top: 0.6rem;
    color: var(--mc-muted);
    font-size: 0.76rem;
}

.mid-cta div {
    display: flex;
    flex-direction: column;
}

.mid-cta span {
    color: var(--mc-muted);
}

.account-map {
    padding: 2rem;
    background: #fbf8fd;
    border: 1px solid var(--mc-line);
    border-radius: 1rem;
}

.sku-hub {
    display: flex;
    flex-direction: column;
    max-width: 250px;
    margin: 0 auto 2.5rem;
    padding: 1rem;
    color: #fff;
    background: var(--mc-purple);
    border-radius: 0.8rem;
    text-align: center;
}

.sku-hub span {
    font-size: 0.75rem;
}

.sku-hub strong {
    font-size: 1.15rem;
}

.account-branches {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.account-branches::before {
    position: absolute;
    content: "";
    left: 15%;
    right: 15%;
    top: -1.25rem;
    height: 1px;
    background: #c7b1d2;
}

.account-branches > div {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 0.7rem;
    text-align: center;
}

.account-branches > div::before {
    position: absolute;
    content: "";
    left: 50%;
    top: -1.25rem;
    width: 1px;
    height: 1.25rem;
    background: #c7b1d2;
}

.channel-badge {
    display: inline-block;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
}

.ml-badge {
    color: #534600;
    background: #fff1a8;
}

.tn-badge {
    color: #27264b;
    background: #e9e7ff;
}

.scope-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 1rem;
}

.scope-table {
    width: 100%;
    min-width: 640px;
    color: var(--mc-ink);
    border-collapse: collapse;
}

.scope-table th,
.scope-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--mc-line);
    text-align: left;
}

.scope-table tr:last-child td {
    border-bottom: 0;
}

.scope-table th {
    color: var(--mc-muted);
    background: #f7f3f9;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.status {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status.yes {
    color: #155d3b;
    background: #def5e9;
}

.status.review {
    color: #6b5700;
    background: #fff4c2;
}

.status.no {
    color: #873035;
    background: #fbe3e5;
}

.evidence-window {
    position: relative;
}

.evidence-window:hover,
.evidence-window:focus-visible {
    color: inherit;
    box-shadow: 0 1.75rem 4.5rem rgba(53, 30, 65, 0.2);
}

.zoom-label {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.55rem 0.75rem;
    color: #fff;
    background: rgba(33, 21, 43, 0.88);
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fit-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 1rem;
}

.fit-card h3 {
    margin-bottom: 1.15rem;
    font-size: 1.45rem;
}

.fit-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.fit-card li + li {
    margin-top: 0.7rem;
}

.fit-yes h3 i {
    color: var(--mc-green);
}

.fit-no h3 i {
    color: #ad454c;
}

.faq-container {
    max-width: 950px;
}

.stock-sync-page .accordion-item {
    border-color: var(--mc-line);
}

.stock-sync-page .accordion-button {
    padding: 1.2rem 1.25rem;
    color: var(--mc-ink);
    font-family: "Mulish", sans-serif;
    font-weight: 800;
}

.stock-sync-page .accordion-button:not(.collapsed) {
    color: var(--mc-purple-dark);
    background: var(--mc-purple-soft);
    box-shadow: none;
}

.stock-sync-page .accordion-button:focus {
    border-color: var(--mc-purple);
    box-shadow: 0 0 0 0.2rem rgba(149, 28, 227, 0.15);
}

.stock-sync-page .accordion-body {
    color: var(--mc-muted);
    line-height: 1.7;
}

.final-cta {
    padding: 0 0 5rem;
}

.final-cta-inner {
    padding: 4rem 2rem;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 20rem),
        linear-gradient(135deg, var(--mc-purple) 0%, var(--mc-purple-dark) 100%);
    border-radius: 1.2rem;
    text-align: center;
}

.final-cta-inner .eyebrow {
    color: #efd9fa;
}

.final-cta-inner h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.final-cta-inner p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: #f4eaf9;
}

.mercury-btn-light {
    color: var(--mc-purple-dark);
    background: #fff;
    border-color: #fff;
}

.mercury-btn-light:hover {
    color: var(--mc-purple-dark);
    background: #f8effc;
}

.landing-footer {
    padding: 2.5rem 0;
    color: #d9cfdf;
    background: var(--mc-ink);
}

.landing-footer .container,
.landing-footer div:first-child,
.landing-footer nav {
    display: flex;
}

.landing-footer .container {
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.landing-footer div:first-child {
    flex-direction: column;
}

.landing-footer strong {
    color: #fff;
    font-family: "Kanit", sans-serif;
    font-size: 1.2rem;
}

.landing-footer span {
    font-size: 0.82rem;
}

.landing-footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.landing-footer a {
    color: #e6dceb;
    font-size: 0.84rem;
}

@media (max-width: 991.98px) {
    .landing-hero {
        padding-top: 7.5rem;
    }

    .sync-flow {
        grid-template-columns: 1fr 1fr;
    }

    .sync-flow li:not(:last-child)::after {
        display: none;
    }

    .example-card {
        grid-template-columns: 1fr;
    }

    .video-demo,
    .video-demo-reverse {
        grid-template-columns: 1fr;
    }

    .video-demo-reverse .video-demo-copy,
    .video-demo-reverse .product-video {
        grid-column: auto;
        grid-row: auto;
    }

    .channel-result {
        grid-column: 1;
    }
}

@media (max-width: 767.98px) {
    .section-block {
        padding: 4.5rem 0;
    }

    .landing-hero h1 {
        font-size: 2.75rem;
    }

    .hero-actions,
    .hero-actions .btn,
    .mid-cta,
    .mid-cta .btn {
        width: 100%;
    }

    .oversale-card,
    .sync-flow,
    .example-numbers,
    .fit-grid {
        grid-template-columns: 1fr;
    }

    .state-arrow {
        transform: rotate(90deg);
    }

    .example-card,
    .account-map,
    .fit-card {
        padding: 1.35rem;
    }

    .channel-result,
    .mid-cta,
    .landing-footer .container {
        flex-direction: column;
    }

    .account-branches {
        grid-template-columns: 1fr;
    }

    .account-branches::before,
    .account-branches > div::before {
        display: none;
    }

    .landing-footer .container,
    .landing-footer nav {
        align-items: flex-start;
    }

    .landing-footer nav {
        flex-direction: column;
    }
}

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