:root {
    --ms-bg: #ffffff;
    --ms-band: #f7f4ed;
    --ms-ink: #18181b;
    --ms-muted: #686b6a;
    --ms-line: #e3ded5;
    --ms-primary: #23403d;
    --ms-accent: #d75f32;
}

* {
    box-sizing: border-box;
}

body.ms-sales-body {
    margin: 0;
    color: var(--ms-ink);
    background: var(--ms-bg);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.ms-sales-nav {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    padding: 0 max(22px, calc((100vw - 1160px) / 2));
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--ms-line);
    backdrop-filter: blur(14px);
}

.ms-sales-brand,
.ms-sales-actions,
.ms-sales-cta {
    display: flex;
    align-items: center;
}

.ms-sales-brand {
    gap: 10px;
    color: var(--ms-ink);
    text-decoration: none;
    font-weight: 760;
}

.ms-sales-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.ms-sales-actions,
.ms-sales-cta {
    gap: 10px;
}

.ms-sales-link,
.ms-sales-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 7px;
    font-weight: 720;
    text-decoration: none;
}

.ms-sales-link {
    color: var(--ms-primary);
}

.ms-sales-button {
    color: #ffffff;
    background: var(--ms-primary);
}

.ms-sales-button-large {
    min-height: 48px;
    padding: 0 20px;
}

.ms-sales-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 48px;
    align-items: center;
    width: min(1160px, calc(100vw - 44px));
    min-height: calc(100vh - 66px);
    margin: 0 auto;
    padding: 56px 0;
}

.ms-sales-eyebrow {
    margin: 0 0 14px;
    color: var(--ms-accent);
    font-size: 0.78rem;
    font-weight: 820;
    text-transform: uppercase;
}

.ms-sales-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.ms-sales-lead {
    max-width: 650px;
    margin: 24px 0 28px;
    color: var(--ms-muted);
    font-size: 1.12rem;
    line-height: 1.7;
}

.ms-sales-product {
    min-height: 430px;
    padding: 16px;
    background: var(--ms-band);
    border: 1px solid var(--ms-line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(35, 64, 61, 0.14);
}

.ms-sales-product-bar {
    display: flex;
    gap: 7px;
    padding: 2px 0 14px;
}

.ms-sales-product-bar span {
    width: 11px;
    height: 11px;
    background: #c8c1b6;
    border-radius: 50%;
}

.ms-sales-product-grid {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 14px;
}

.ms-sales-editor,
.ms-sales-player {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--ms-line);
    border-radius: 10px;
}

.ms-sales-label {
    margin-bottom: 14px;
    color: var(--ms-primary);
    font-weight: 800;
}

.ms-sales-line {
    height: 16px;
    width: 72%;
    margin: 13px 0;
    background: #e9e4db;
    border-radius: 999px;
}

.ms-sales-line-long {
    width: 94%;
}

.ms-sales-line-mid {
    width: 58%;
}

.ms-sales-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ms-sales-controls span,
.ms-sales-download {
    display: grid;
    min-height: 42px;
    place-items: center;
    color: #ffffff;
    background: var(--ms-primary);
    border-radius: 7px;
    font-weight: 760;
}

.ms-sales-download {
    margin-top: 10px;
    color: var(--ms-primary);
    background: #f4d6c9;
}

.ms-sales-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 56px max(22px, calc((100vw - 1160px) / 2));
    background: var(--ms-band);
    border-top: 1px solid var(--ms-line);
}

.ms-sales-feature {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--ms-line);
    border-radius: 8px;
}

.ms-sales-feature h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.ms-sales-feature p {
    margin: 0;
    color: var(--ms-muted);
    line-height: 1.6;
}

@media (max-width: 880px) {
    .ms-sales-hero,
    .ms-sales-band {
        grid-template-columns: 1fr;
    }

    .ms-sales-hero {
        min-height: auto;
    }

    .ms-sales-product {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    .ms-sales-nav {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .ms-sales-actions,
    .ms-sales-cta {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .ms-sales-link,
    .ms-sales-button {
        width: 100%;
    }
}
