/* Mastering-first public Home.
   All selectors are page-scoped so the landing can evolve without leaking into the app shell. */
.mm-home-mastering {
    --mm-home-bg: #020b16;
    --mm-home-panel: rgba(7, 22, 42, .84);
    --mm-home-panel-strong: #07162a;
    --mm-home-panel-soft: rgba(10, 28, 51, .68);
    --mm-home-border: rgba(93, 158, 240, .18);
    --mm-home-border-strong: rgba(70, 158, 255, .42);
    --mm-home-text: #f5f8ff;
    --mm-home-muted: #a9b7ca;
    --mm-home-blue: #2d8cff;
    --mm-home-cyan: #43c7ff;
    --mm-home-green: #67e2a0;
    --mm-home-violet: #8773ff;
    position: relative;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 0 clamp(5rem, 8vw, 8.5rem);
    color: var(--mm-home-text);
    isolation: isolate;
}

.mm-home-mastering,
.mm-home-mastering * {
    box-sizing: border-box;
}

.mm-home-mastering::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -2rem -12vw -8rem;
    background:
        radial-gradient(circle at 75% 5%, rgba(42, 139, 255, .13), transparent 28%),
        radial-gradient(circle at 20% 31%, rgba(83, 93, 255, .07), transparent 30%),
        radial-gradient(circle at 77% 61%, rgba(19, 159, 218, .06), transparent 27%),
        linear-gradient(180deg, #020b16 0%, #04101f 48%, #020b16 100%);
    pointer-events: none;
}

.mm-home-mastering a {
    text-underline-offset: .18em;
}

.mm-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--mm-home-cyan);
    font-size: clamp(.76rem, .72vw, .92rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mm-home-kicker i {
    font-size: 1rem;
}

.mm-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    min-height: clamp(690px, 78vh, 900px);
    padding: clamp(4.2rem, 7.5vw, 7.5rem) 0 clamp(5rem, 8vw, 8rem);
}

.mm-home-hero__copy {
    max-width: 760px;
}

.mm-home-hero h1 {
    max-width: 800px;
    margin: 1.25rem 0 0;
    color: #f9fbff;
    font-size: clamp(3.4rem, 6.2vw, 6.6rem);
    font-weight: 790;
    line-height: .96;
    letter-spacing: -.058em;
}

.mm-home-hero h1 span {
    display: block;
    color: #3199ff;
    text-shadow: 0 0 42px rgba(45, 140, 255, .14);
}

.mm-home-hero__lead,
.mm-home-section__lead,
.mm-home-section__header > p,
.mm-home-memory__copy > p,
.mm-home-mixer__copy > p,
.mm-home-verify__copy > p,
.mm-home-final p {
    color: var(--mm-home-muted);
    font-size: clamp(1.08rem, 1.2vw, 1.34rem);
    line-height: 1.65;
}

.mm-home-hero__lead {
    max-width: 720px;
    margin: 1.8rem 0 0;
}

.mm-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem;
}

.mm-home-action {
    display: inline-grid;
    grid-template-columns: 2.8rem auto;
    align-items: center;
    gap: .9rem;
    min-width: 245px;
    min-height: 72px;
    padding: .85rem 1.2rem;
    border: 1px solid rgba(87, 153, 237, .30);
    border-radius: 16px;
    color: #f3f7ff;
    background: rgba(7, 22, 42, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 15px 36px rgba(0, 0, 0, .16);
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.mm-home-action:hover,
.mm-home-action:focus-visible {
    color: #fff;
    border-color: rgba(92, 180, 255, .74);
    background: rgba(10, 31, 59, .95);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .25), 0 0 30px rgba(45, 140, 255, .08);
    transform: translateY(-2px);
}

.mm-home-action:focus-visible,
.mm-home-inline-link:focus-visible {
    outline: 3px solid rgba(49, 153, 255, .28);
    outline-offset: 3px;
}

.mm-home-action > i {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 50%;
    color: #dff2ff;
    background: rgba(255, 255, 255, .09);
    font-size: 1.15rem;
}

.mm-home-action span {
    display: grid;
    gap: .22rem;
}

.mm-home-action strong {
    font-size: 1.02rem;
    font-weight: 780;
}

.mm-home-action small {
    color: #afbdd0;
    font-size: .78rem;
}

.mm-home-action--primary {
    border-color: rgba(81, 169, 255, .78);
    background: linear-gradient(180deg, #2d8cff 0%, #1569ed 100%);
    box-shadow: 0 14px 40px rgba(18, 103, 239, .29), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.mm-home-action--primary:hover,
.mm-home-action--primary:focus-visible {
    border-color: #8bcaff;
    background: linear-gradient(180deg, #3a9aff 0%, #1774ff 100%);
}

.mm-home-action--primary small {
    color: rgba(239, 247, 255, .80);
}

.mm-home-guardrails {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem 1.8rem;
    margin: 1.7rem 0 0;
    padding: 0;
    color: #98a8bd;
    font-size: .9rem;
    list-style: none;
}

.mm-home-guardrails li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.mm-home-guardrails i {
    color: #6fb5f1;
}

.mm-home-demo {
    position: relative;
    overflow: hidden;
    min-height: 530px;
    padding: 1.2rem;
    border: 1px solid var(--mm-home-border-strong);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 3%, rgba(44, 132, 255, .18), transparent 32%),
        linear-gradient(180deg, rgba(9, 28, 53, .96), rgba(3, 14, 28, .98));
    box-shadow: 0 42px 90px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.mm-home-demo::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(87, 156, 244, .10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(87, 156, 244, .10) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 68%);
    pointer-events: none;
}

.mm-home-demo__topbar,
.mm-home-demo__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mm-home-demo__topbar {
    padding: .45rem .35rem 1rem;
    border-bottom: 1px solid rgba(108, 167, 239, .12);
    color: #afbed1;
    font-size: .78rem;
    font-weight: 700;
}

.mm-home-demo__status,
.mm-home-demo__song,
.mm-home-demo__footer span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.mm-home-demo__status i {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: var(--mm-home-green);
    box-shadow: 0 0 12px rgba(103, 226, 160, .65);
}

.mm-home-demo__wave {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 105px;
    margin: .85rem .15rem .35rem;
    overflow: hidden;
}

.mm-home-demo__wave i {
    display: block;
    width: 4px;
    min-height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #53d2ff, #2579ff 58%, #675cff);
    box-shadow: 0 0 10px rgba(55, 149, 255, .28);
}

.mm-home-demo__wave i:nth-child(6n + 1) { height: 24%; }
.mm-home-demo__wave i:nth-child(6n + 2) { height: 62%; }
.mm-home-demo__wave i:nth-child(6n + 3) { height: 88%; }
.mm-home-demo__wave i:nth-child(6n + 4) { height: 43%; }
.mm-home-demo__wave i:nth-child(6n + 5) { height: 72%; }
.mm-home-demo__wave i:nth-child(6n) { height: 34%; }

.mm-home-dialogue {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .8rem;
    padding: .25rem 0;
}

.mm-home-dialogue__bubble {
    max-width: 86%;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(95, 157, 236, .14);
    border-radius: 17px;
    background: rgba(6, 19, 37, .88);
}

.mm-home-dialogue__bubble.is-user {
    justify-self: end;
    border-color: rgba(75, 151, 255, .34);
    background: rgba(23, 82, 160, .24);
}

.mm-home-dialogue__bubble.is-ai {
    justify-self: start;
}

.mm-home-dialogue__bubble > span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .35rem;
    color: #6dc8ff;
    font-size: .71rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mm-home-dialogue__bubble p {
    margin: 0;
    color: #eaf1fb;
    font-size: .91rem;
    line-height: 1.48;
}

.mm-home-change-preview {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .9rem;
}

.mm-home-change-preview > div {
    display: grid;
    min-height: 82px;
    padding: .78rem .8rem;
    border: 1px solid rgba(94, 158, 238, .13);
    border-radius: 13px;
    background: rgba(3, 13, 28, .72);
}

.mm-home-change-preview span,
.mm-home-change-preview small {
    color: #879ab4;
    font-size: .68rem;
}

.mm-home-change-preview strong {
    align-self: center;
    color: #f6f9ff;
    font-size: .88rem;
}

.mm-home-demo__footer {
    margin-top: 1rem;
    padding: .8rem .2rem .2rem;
    border-top: 1px solid rgba(108, 167, 239, .11);
    color: #8fa2bb;
    font-size: .69rem;
}

.mm-home-demo__footer i {
    color: var(--mm-home-green);
}

.mm-home-demo__confirm {
    color: #7ccaff !important;
    font-weight: 750;
}

.mm-home-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 clamp(6rem, 9vw, 9rem);
}

.mm-home-trust article {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: .9rem;
    min-height: 168px;
    padding: 1.35rem;
    border: 1px solid var(--mm-home-border);
    border-radius: 20px;
    background: var(--mm-home-panel-soft);
}

.mm-home-trust article > i {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 12px;
    color: #69c4ff;
    background: rgba(45, 140, 255, .10);
    font-size: 1.15rem;
}

.mm-home-trust article div {
    display: grid;
    align-content: start;
    gap: .45rem;
}

.mm-home-trust strong {
    color: #f2f6fc;
    font-size: 1rem;
    line-height: 1.28;
}

.mm-home-trust span {
    color: #92a3b9;
    font-size: .83rem;
    line-height: 1.55;
}

.mm-home-section {
    margin-top: clamp(6rem, 10vw, 10rem);
    padding: clamp(3rem, 5vw, 5.5rem);
    border: 1px solid var(--mm-home-border);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(8, 24, 45, .88), rgba(4, 15, 29, .82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .026), 0 30px 80px rgba(0, 0, 0, .16);
}

.mm-home-section__header {
    max-width: 980px;
}

.mm-home-section h2,
.mm-home-final h2 {
    margin: .9rem 0 0;
    color: #f7faff;
    font-size: clamp(2.55rem, 4.4vw, 5rem);
    font-weight: 770;
    line-height: 1.01;
    letter-spacing: -.048em;
}

.mm-home-section__header > p {
    max-width: 850px;
    margin: 1.3rem 0 0;
}

.mm-home-workflow__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 3.1rem;
}

.mm-home-workflow__steps article {
    position: relative;
    min-height: 310px;
    padding: 1.7rem;
    border: 1px solid rgba(91, 153, 232, .14);
    border-radius: 21px;
    background: rgba(3, 14, 29, .58);
}

.mm-home-step-number {
    position: absolute;
    top: 1.25rem;
    right: 1.35rem;
    color: rgba(108, 163, 232, .36);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.mm-home-step-icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(68, 166, 255, .24);
    border-radius: 15px;
    color: #62c4ff;
    background: rgba(43, 135, 244, .10);
    font-size: 1.35rem;
}

.mm-home-workflow__steps h3,
.mm-home-mode-grid h3,
.mm-home-tool-grid h3 {
    margin: 0;
    color: #f2f7ff;
    font-size: clamp(1.18rem, 1.2vw, 1.42rem);
    font-weight: 750;
}

.mm-home-workflow__steps p,
.mm-home-mode-grid p,
.mm-home-tool-grid p {
    margin: .8rem 0 0;
    color: #96a8bf;
    font-size: .92rem;
    line-height: 1.65;
}

.mm-home-conversation,
.mm-home-memory,
.mm-home-mixer,
.mm-home-verify {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.mm-home-conversation__copy,
.mm-home-memory__copy,
.mm-home-mixer__copy,
.mm-home-verify__copy {
    max-width: 760px;
}

.mm-home-section__lead,
.mm-home-memory__copy > p,
.mm-home-mixer__copy > p,
.mm-home-verify__copy > p {
    margin: 1.3rem 0 0;
}

.mm-home-check-list {
    display: grid;
    gap: .9rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.mm-home-check-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: #b2bfd0;
    font-size: .96rem;
    line-height: 1.5;
}

.mm-home-check-list i {
    display: grid;
    flex: 0 0 1.65rem;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    margin-top: -.08rem;
    border-radius: 50%;
    color: #63ccff;
    background: rgba(52, 142, 255, .10);
}

.mm-home-check-list strong {
    color: #eef4fc;
}

.mm-home-decision-card {
    overflow: hidden;
    border: 1px solid rgba(77, 165, 255, .35);
    border-radius: 23px;
    background: rgba(3, 14, 29, .88);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .27);
}

.mm-home-decision-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    border-bottom: 1px solid rgba(91, 156, 238, .16);
    color: #f0f6ff;
    font-size: .85rem;
    font-weight: 800;
}

.mm-home-decision-card__badge {
    padding: .32rem .58rem;
    border: 1px solid rgba(103, 226, 160, .23);
    border-radius: 999px;
    color: #7be6ac;
    background: rgba(59, 181, 116, .08);
    font-size: .64rem;
    font-weight: 750;
    text-transform: uppercase;
}

.mm-home-decision-card dl {
    margin: 0;
    padding: .55rem 1.25rem;
}

.mm-home-decision-card dl > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid rgba(91, 156, 238, .10);
}

.mm-home-decision-card dl > div:last-child {
    border-bottom: 0;
}

.mm-home-decision-card dt {
    color: #99aac1;
    font-size: .81rem;
    font-weight: 600;
}

.mm-home-decision-card dd {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    font-size: .8rem;
}

.mm-home-decision-card dd span {
    color: #7d90aa;
}

.mm-home-decision-card dd i {
    color: #526a88;
}

.mm-home-decision-card dd strong {
    color: #76ceff;
}

.mm-home-decision-card__reason {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: .75rem;
    margin: .35rem .9rem .9rem;
    padding: .9rem;
    border: 1px solid rgba(85, 155, 239, .12);
    border-radius: 14px;
    background: rgba(20, 54, 92, .18);
}

.mm-home-decision-card__reason i {
    color: #72c8ff;
}

.mm-home-decision-card__reason p {
    margin: 0;
    color: #a8b8cb;
    font-size: .78rem;
    line-height: 1.55;
}

.mm-home-decision-card__reason strong {
    color: #e7f0fa;
}

.mm-home-memory__visual {
    display: grid;
    gap: .3rem;
    align-content: center;
    min-height: 390px;
    padding: clamp(1.8rem, 3vw, 3rem);
    border: 1px solid rgba(79, 163, 255, .25);
    border-radius: 24px;
    background:
        radial-gradient(circle at 22% 28%, rgba(46, 139, 255, .13), transparent 32%),
        rgba(3, 14, 29, .74);
}

.mm-home-memory__track {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(92, 154, 233, .13);
    border-radius: 16px;
    background: rgba(9, 27, 49, .72);
}

.mm-home-memory__track.is-current {
    border-color: rgba(70, 168, 255, .42);
    box-shadow: 0 0 30px rgba(44, 136, 255, .08);
}

.mm-home-memory__track > i {
    display: grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 13px;
    color: #67c7ff;
    background: rgba(51, 143, 255, .11);
    font-size: 1.15rem;
}

.mm-home-memory__track span {
    display: grid;
    gap: .22rem;
}

.mm-home-memory__track strong {
    color: #edf4fd;
    font-size: .92rem;
}

.mm-home-memory__track small {
    color: #8296b0;
    font-size: .73rem;
}

.mm-home-memory__line {
    width: 1px;
    height: 32px;
    margin-left: calc(1.1rem + 1.375rem);
    background: linear-gradient(to bottom, rgba(78, 168, 255, .60), rgba(78, 168, 255, .08));
}

.mm-home-quote-command {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 2rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(79, 164, 255, .24);
    border-radius: 16px;
    color: #dce8f6;
    background: rgba(30, 91, 164, .13);
    font-size: .93rem;
    line-height: 1.45;
}

.mm-home-quote-command i {
    color: #62c8ff;
}

.mm-home-command-list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 2rem;
}

.mm-home-command-list span {
    padding: .58rem .78rem;
    border: 1px solid rgba(83, 155, 242, .18);
    border-radius: 999px;
    color: #b8c8da;
    background: rgba(7, 23, 43, .76);
    font-size: .8rem;
}

.mm-home-inline-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: 2rem;
    color: #70c9ff;
    font-weight: 750;
    text-decoration: none;
}

.mm-home-inline-link:hover {
    color: #a4dcff;
}

.mm-home-mixer__console {
    min-height: 420px;
    padding: 1.15rem;
    border: 1px solid rgba(69, 154, 247, .34);
    border-radius: 24px;
    background: linear-gradient(180deg, #0a1e31 0%, #07121d 100%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .04);
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
}

.mm-home-console__screen {
    display: grid;
    gap: .32rem;
    min-height: 105px;
    padding: 1rem;
    border: 1px solid rgba(72, 164, 255, .28);
    border-radius: 13px;
    background:
        linear-gradient(rgba(44, 120, 183, .04) 1px, transparent 1px),
        #03101a;
    background-size: 100% 18px;
    box-shadow: inset 0 0 22px rgba(26, 138, 219, .08);
}

.mm-home-console__screen span {
    color: #5bc9ff;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mm-home-console__screen strong {
    align-self: end;
    color: #eff8ff;
    font-size: 1rem;
}

.mm-home-console__screen small {
    color: #7ca3ba;
    font-size: .7rem;
}

.mm-home-console__controls {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.15rem;
}

.mm-home-console__controls div {
    display: grid;
    justify-items: center;
    gap: .55rem;
}

.mm-home-console__controls i {
    position: relative;
    display: block;
    width: 47px;
    height: 47px;
    border: 5px solid #172c3d;
    border-radius: 50%;
    background: radial-gradient(circle at 42% 36%, #2d4355, #101f2c 62%, #071019 63%);
    box-shadow: 0 4px 7px rgba(0, 0, 0, .55), 0 0 0 1px rgba(93, 164, 222, .10);
}

.mm-home-console__controls i::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 2px;
    height: 13px;
    border-radius: 999px;
    background: #60c7ff;
    transform: translateX(-50%) rotate(21deg);
    transform-origin: center 19px;
    box-shadow: 0 0 6px rgba(96, 199, 255, .45);
}

.mm-home-console__controls span {
    color: #718da4;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.mm-home-console__faders {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1.4rem;
    padding: 1rem .4rem .3rem;
    border-top: 1px solid rgba(104, 162, 211, .10);
}

.mm-home-console__faders div {
    position: relative;
    height: 142px;
    border-radius: 8px;
    background: repeating-linear-gradient(to bottom, rgba(105, 143, 172, .15) 0 1px, transparent 1px 14px);
}

.mm-home-console__faders i {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 2px;
    background: #152b3b;
    transform: translateX(-50%);
}

.mm-home-console__faders span {
    position: absolute;
    top: 44%;
    left: 50%;
    width: 28px;
    height: 14px;
    border: 1px solid #2f4d62;
    border-radius: 3px;
    background: linear-gradient(#304d62, #182d3e);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .55);
    transform: translate(-50%, -50%);
}

.mm-home-console__faders div:nth-child(2) span { top: 57%; }
.mm-home-console__faders div:nth-child(3) span { top: 35%; }
.mm-home-console__faders div:nth-child(4) span { top: 48%; }
.mm-home-console__faders div:nth-child(5) span { top: 40%; }
.mm-home-console__faders div:nth-child(6) span { top: 61%; }
.mm-home-console__faders div:nth-child(7) span { top: 31%; }

.mm-home-mode-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.mm-home-mode-grid article {
    min-height: 265px;
    padding: 1.5rem;
    border: 1px solid rgba(92, 155, 234, .13);
    border-radius: 20px;
    background: rgba(3, 14, 29, .54);
}

.mm-home-mode-grid article.is-featured {
    border-color: rgba(69, 161, 255, .44);
    background: linear-gradient(160deg, rgba(26, 89, 162, .25), rgba(3, 14, 29, .70));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.mm-home-mode-grid article > i {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    margin-bottom: 1.3rem;
    border-radius: 13px;
    color: #65c8ff;
    background: rgba(49, 142, 252, .11);
    font-size: 1.2rem;
}

.mm-home-mode-grid article > span {
    display: block;
    margin-bottom: .42rem;
    color: #6686a7;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mm-home-verify__pipeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-home-verify__pipeline li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .65rem;
    padding: 1rem .4rem;
    color: #9caec3;
    font-size: .72rem;
    font-weight: 750;
    text-align: center;
}

.mm-home-verify__pipeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2rem;
    left: calc(50% + 1.35rem);
    width: calc(100% - 2.7rem);
    height: 1px;
    background: linear-gradient(90deg, rgba(72, 167, 255, .55), rgba(72, 167, 255, .08));
}

.mm-home-verify__pipeline i {
    display: grid;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(79, 164, 255, .27);
    border-radius: 50%;
    color: #62c5ff;
    background: #07182a;
    font-size: 1rem;
}

.mm-home-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.mm-home-tool-grid article {
    min-height: 200px;
    padding: 1.4rem;
    border: 1px solid rgba(91, 153, 232, .12);
    border-radius: 18px;
    background: rgba(3, 14, 29, .48);
}

.mm-home-tool-grid article > i {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    color: #80c9f4;
    background: rgba(74, 146, 224, .09);
    font-size: 1.05rem;
}

.mm-home-final {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: end;
    margin-top: clamp(6rem, 10vw, 10rem);
    padding: clamp(3rem, 5vw, 5.2rem);
    border: 1px solid rgba(74, 163, 255, .36);
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 20%, rgba(45, 140, 255, .13), transparent 29%),
        linear-gradient(145deg, rgba(10, 33, 62, .92), rgba(3, 14, 29, .95));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .20);
}

.mm-home-final h2 {
    max-width: 960px;
}

.mm-home-final p {
    max-width: 760px;
    margin: 1.25rem 0 0;
}

.mm-home-final .mm-home-action {
    margin-bottom: .25rem;
}

@media (max-width: 1199.98px) {
    .mm-home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
        gap: 3.5rem;
        min-height: 650px;
    }

    .mm-home-hero h1 {
        font-size: clamp(3.25rem, 6vw, 5.2rem);
    }

    .mm-home-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mm-home-mode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .mm-home-hero,
    .mm-home-conversation,
    .mm-home-memory,
    .mm-home-mixer,
    .mm-home-verify,
    .mm-home-final {
        grid-template-columns: 1fr;
    }

    .mm-home-hero {
        min-height: 0;
        padding: 4.5rem 0 5.5rem;
    }

    .mm-home-demo {
        max-width: 720px;
        width: 100%;
        min-height: 500px;
    }

    .mm-home-workflow__steps,
    .mm-home-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mm-home-conversation,
    .mm-home-memory,
    .mm-home-mixer,
    .mm-home-verify {
        gap: 3rem;
    }

    .mm-home-mixer__console {
        max-width: 700px;
        width: 100%;
        transform: none;
    }

    .mm-home-final {
        align-items: start;
    }

    .mm-home-final .mm-home-action {
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .mm-home-mastering::before {
        inset-inline: -1.5rem;
    }

    .mm-home-hero h1 {
        font-size: clamp(3rem, 12vw, 4.7rem);
    }

    .mm-home-trust,
    .mm-home-workflow__steps,
    .mm-home-mode-grid,
    .mm-home-tool-grid {
        grid-template-columns: 1fr;
    }

    .mm-home-trust article {
        min-height: 0;
    }

    .mm-home-section,
    .mm-home-final {
        padding: 2.2rem 1.45rem;
        border-radius: 24px;
    }

    .mm-home-workflow__steps article,
    .mm-home-mode-grid article,
    .mm-home-tool-grid article {
        min-height: 0;
    }

    .mm-home-change-preview {
        grid-template-columns: 1fr;
    }

    .mm-home-change-preview > div {
        min-height: 70px;
    }

    .mm-home-verify__pipeline {
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .mm-home-verify__pipeline li {
        grid-template-columns: 2.75rem 1fr;
        justify-items: start;
        align-items: center;
        text-align: left;
    }

    .mm-home-verify__pipeline li:not(:last-child)::after {
        top: calc(50% + 1.35rem);
        left: 1.36rem;
        width: 1px;
        height: calc(100% - 2rem);
        background: linear-gradient(to bottom, rgba(72, 167, 255, .55), rgba(72, 167, 255, .08));
    }
}

@media (max-width: 575.98px) {
    .mm-home-hero {
        padding-top: 3.1rem;
    }

    .mm-home-hero h1 {
        font-size: clamp(2.65rem, 13.5vw, 4rem);
    }

    .mm-home-hero__lead,
    .mm-home-section__lead,
    .mm-home-section__header > p,
    .mm-home-memory__copy > p,
    .mm-home-mixer__copy > p,
    .mm-home-verify__copy > p,
    .mm-home-final p {
        font-size: 1.02rem;
    }

    .mm-home-actions,
    .mm-home-action {
        width: 100%;
    }

    .mm-home-action {
        min-width: 0;
    }

    .mm-home-guardrails {
        display: grid;
    }

    .mm-home-demo {
        min-height: 0;
        padding: .85rem;
        border-radius: 20px;
    }

    .mm-home-demo__topbar,
    .mm-home-demo__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mm-home-demo__wave {
        height: 72px;
    }

    .mm-home-dialogue__bubble {
        max-width: 94%;
    }

    .mm-home-decision-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .mm-home-decision-card dl > div {
        grid-template-columns: 1fr;
        gap: .35rem;
        padding: .65rem 0;
    }

    .mm-home-console__controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1.1rem;
    }

    .mm-home-console__faders {
        grid-template-columns: repeat(7, minmax(32px, 1fr));
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mm-home-action {
        transition: none;
    }
}
