.mt-andro {
    --navy: #141531;
    --ink: #10122d;
    --coral: #ff7869;
    --lavender: #d5b9fa;
    color: #fffaff;
    background: var(--navy);
    font-family: system-ui, sans-serif;
}
.mt-andro [hidden] { display: none !important; }
.mt-andro-wrap { width: min(100% - 36px, 1190px); margin-inline: auto; }
.mt-andro h1, .mt-andro h2, .mt-andro h3 {
    color: inherit; margin: 0; font-weight: 850; letter-spacing: -.045em; line-height: 1.04;
}
.mt-andro h1 { font-size: clamp(1.42rem, 5.6vw, 2.8rem); }
.mt-andro h2 { font-size: clamp(1.6rem, 4.6vw, 2.9rem); }
.mt-andro h3 { font-size: clamp(1.22rem, 3vw, 1.55rem); }
.mt-andro p { color: inherit; margin: 0; }
.mt-andro-stage { display: grid; gap: 14px; padding-block: 25px 20px; }
.mt-andro-intro p { margin-block: 12px 16px; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.mt-andro-cta {
    display: inline-flex; justify-content: center; align-items: center; min-height: 46px;
    padding: 9px 18px; border-radius: 10px; color: var(--ink);
    background: var(--coral); font-weight: 850; text-decoration: none;
}
.mt-andro-cta:hover { background: #ff9c90; color: var(--ink); }
.mt-andro :is(a,button):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mt-andro-console { display: none; }
.mt-andro-monitor { aspect-ratio: 1.52; overflow: hidden; background: #20213e; }
.mt-andro-monitor img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mt-andro-controls {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px;
    border: 1px solid var(--lavender); border-radius: 10px; overflow: hidden;
}
.mt-andro-controls button {
    min-height: 44px; padding: 4px; color: #fffaff; background: transparent; border: 0;
    border-radius: 0; font: inherit; font-size: clamp(.82rem, 2.8vw, 1.05rem); font-weight: 750;
}
.mt-andro-controls button + button { border-inline-start: 1px solid var(--lavender); }
.mt-andro-controls button[aria-pressed="true"] { color: var(--ink); background: var(--coral); }
.mt-andro-controls button:focus-visible { outline-offset: -4px; outline-color: currentColor; }
.mt-andro-flow { background: var(--lavender); color: var(--ink); padding-block: 26px; }
.mt-andro-flow ol {
    list-style: none; counter-reset: andro; display: grid; gap: 20px; padding: 0; margin: 22px 0 17px;
}
.mt-andro-flow li {
    position: relative; counter-increment: andro; border: 2px solid transparent;
    background: #faf5ff; border-radius: 12px; padding: 10px; text-align: center;
    font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 850;
}
.mt-andro-flow li::before { content: counter(andro) ". "; }
.mt-andro-flow li:not(:last-child)::after {
    content: "↓"; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); line-height: 20px;
}
.mt-andro-flow li:nth-child(2) { border-color: #e84d40; }
.mt-andro-flow strong {
    display: table; margin: 4px auto 0; padding: 0 7px; border-radius: 4px;
    background: var(--coral); font-size: .77em;
}
.mt-andro-flow p { max-width: 77ch; }
.mt-andro-examples { padding-block: 26px 38px; scroll-margin-top: 100px; }
.mt-andro-comparison { display: grid; gap: 24px; margin-top: 19px; }
.mt-andro-comparison article { min-width: 0; }
.mt-andro-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.mt-andro-strip img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.mt-andro-comparison h3 { text-align: center; margin-block: 10px; }
.mt-andro-comparison ul { margin: 0; padding-inline-start: 1.25em; }
.mt-andro-comparison li + li { margin-top: 7px; }

@media (min-width: 800px) {
    .mt-andro-wrap { width: min(100% - 84px, 1190px); }
    .mt-andro-stage { grid-template-columns: .93fr 1fr; gap: 24px; padding-block: 28px 24px; align-items: center; }
    .mt-andro h1 { font-size: clamp(1.85rem, 3.05vw, 2.75rem); }
    .mt-andro-console { display: block; width: 100%; height: auto; margin-top: 12px; }
    .mt-andro-flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; align-items: center; }
    .mt-andro-flow li { padding: 14px 10px; }
    .mt-andro-flow li:not(:last-child)::after { content: "→"; left: calc(100% + 28px); top: 50%; transform: translate(-50%, -50%); }
    .mt-andro-comparison { grid-template-columns: 1fr 1fr; gap: 36px; }
    .mt-andro-comparison article + article { border-inline-start: 1px solid #d8cbea; padding-inline-start: 18px; }
}

.mt-andro h1, .mt-andro h2, .mt-andro h3, .mt-andro-controls button { text-transform: none; }

.mt-andro #andro-definition { scroll-margin-top: 100px; }

.mt-andro-workbench { padding-block: clamp(26px, 4vw, 54px); scroll-margin-top: 95px; }
.mt-andro-workbench-light { background: var(--lavender); color: var(--ink); }
.mt-andro-modules { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.mt-andro-modules > * {
    display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 15px;
    background: #faf5ff; color: var(--ink); border-radius: 14px;
}
.mt-andro-modules span { color: #c1352b; font-weight: 900; font-size: clamp(1.55rem, 3.4vw, 2.9rem); line-height: 1; }
.mt-andro-modules h3 { margin-bottom: 5px; }
.mt-andro-modules p { font-size: .98rem; line-height: 1.45; }
.mt-andro .mt-andro-workbench-link { margin-top: 17px; text-align: center; font-weight: 800; }
.mt-andro-workbench-link a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.mt-andro-workbench-link a:focus-visible { outline-color: var(--ink); }
.mt-andro-test-board { display: grid; gap: 12px; margin-top: 20px; }
.mt-andro-test-board p { text-align: center; font-weight: 850; font-size: clamp(1.05rem, 2.5vw, 2.2rem); line-height: 1.08; }
@media (min-width: 800px) {
    .mt-andro-modules { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 25px; }
    .mt-andro-modules > * { padding: 20px; }
    .mt-andro-modules:not(.mt-andro-cases):not(.mt-andro-test-steps) > * { display: grid; gap: 8px; }
    .mt-andro-cases { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mt-andro-test-steps { gap: 46px; }
    .mt-andro-test-steps li { position: relative; }
    .mt-andro-test-steps li:not(:last-child)::after {
        content: "→"; position: absolute; top: 50%; left: calc(100% + 23px);
        transform: translate(-50%, -50%); color: var(--coral); font-size: 1.8rem;
    }
    .mt-andro-test-board { grid-template-columns: 2fr 1fr; gap: 28px; align-items: stretch; }
    .mt-andro-test-board p { display: grid; place-content: center; border-inline-start: 1px solid var(--lavender); padding-inline: 24px; }
}

.mt-andro-faq { display: grid; gap: 12px; margin-top: 22px; }
.mt-andro-faq details { background: #faf5ff; color: var(--ink); border-radius: 14px; }
.mt-andro-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 48px; padding: 14px 18px; cursor: pointer; list-style: none;
    font-size: clamp(1.05rem, 2.2vw, 1.65rem); font-weight: 850; line-height: 1.18;
}
.mt-andro-faq summary::-webkit-details-marker { display: none; }
.mt-andro-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 14px; }
.mt-andro-faq summary span { color: #c1352b; font-size: 1.35em; line-height: 1; flex: none; }
.mt-andro-faq summary span::before { content: "+"; }
.mt-andro-faq details[open] summary span::before { content: "−"; }
.mt-andro-faq details p { padding: 0 18px 16px; max-width: 85ch; }
.mt-andro-agency { display: grid; gap: 22px; }
.mt-andro-agency h2 { font-size: clamp(1.9rem, 4.7vw, 3.8rem); }
.mt-andro-agency p { margin-block: 12px 16px; max-width: 54ch; }
.mt-andro-agency .mt-andro-cta { text-align: center; }
.mt-andro-agency-cues ul {
    list-style: none; padding: 6px 16px; margin: 0; background: #faf5ff;
    border-radius: 14px; color: var(--ink);
}
.mt-andro-agency-cues li {
    display: flex; gap: 15px; align-items: center; padding-block: 10px;
    font-size: clamp(1.05rem, 2vw, 1.55rem); font-weight: 850;
}
.mt-andro-agency-cues li + li { border-top: 1px solid #a09db2; }
.mt-andro-agency-cues span { color: #c1352b; font-size: 1.25em; font-weight: 900; }
@media (min-width: 800px) {
    .mt-andro-agency { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 32px; }
    .mt-andro-agency-cues { border-inline-start: 1px solid var(--lavender); padding-inline-start: 27px; }
    .mt-andro-faq summary { padding: 16px 22px; }
    .mt-andro-faq details p { padding-inline: 22px; }
}
