.lm {
    padding: 96px 32px;
    background: #f7f6f3;
    color: #171717;
}
.lm [hidden] { display: none; }
.lm-wrap { max-width: 1240px; margin: auto; }
.lm-intro { max-width: 760px; margin-bottom: 52px; }
.lm-intro h2, .lm-box h3, .lm-card h4 { font-family: "Red Hat Display ExtraBold", sans-serif; line-height: 1.08; letter-spacing: -.03em; }
.lm-intro h2 { margin-bottom: 16px; font-size: 46px; }
.lm-intro p, .lm-lead, .lm-hint { color: #57534f; line-height: 1.55; }
.lm-intro p { font-size: 19px; }
.lm-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: center;
    padding: 44px;
    border-radius: 24px;
    background: white;
}
.lm-kicker { margin-bottom: 16px; font: 12px "Red Hat Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #b83d49; }
.lm-box h3 { font-size: 34px; margin-bottom: 14px; }
.lm-lead { max-width: 460px; margin-bottom: 20px; font-size: 17px; }
.lm-box button, .lm-cta, .lm-chat-head, .lm-web-head, .lm-hint { font-family: "Red Hat Display Bold", sans-serif; }
.lm-modes { display: inline-flex; gap: 4px; padding: 4px; background: #f7f6f3; border: 1px solid #edebe7; border-radius: 999px; }
.lm-modes button { font-size: 14px; padding: 9px 18px; border-radius: 999px; color: #57534f; }
.lm-modes button[aria-pressed=true] { background: #171717; color: white; }
.lm-modes button:disabled { opacity: .45; cursor: default; }
.lm-hint { margin: 10px 0 22px; font-size: 14px; max-width: 460px; }
.lm-topics { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.lm-topics button { text-align: left; font-size: 15px; padding: 15px 20px; border-radius: 14px; border: 1.5px solid #e2dfda; }
.lm-topics button[aria-pressed=true] { border-color: #d64b57; background: #fdf3f4; color: #b93a46; }
.lm-cta { align-self: flex-start; margin-top: 8px; color: white; background: #c34250; font-size: 15px; padding: 13px 26px; border-radius: 999px; }
.lm-cta:hover { background: #b93a46; }
.lm :focus-visible { outline: 3px solid #17697b; outline-offset: 2px; }
.lm-phone { width: min(100%, 300px); height: 588px; margin: auto; padding: 11px; border-radius: 42px; background: #171717; box-shadow: 0 24px 60px #17171738; }
.lm-screen { height: 100%; display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; }
.lm-chat, .lm-web { background: #f4fafa radial-gradient(#ddebea 1.4px, transparent 1.5px) 0 0 / 26px 26px; }
.lm-chat-head, .lm-web-head { display: flex; align-items: center; gap: 10px; padding: 14px; font-size: 14px; line-height: 1.25; }
.lm-chat-head { background: white; border-bottom: 1px solid #e7eeee; }
.lm-chat-head small, .lm-web-head small { display: block; font-size: 11px; }
.lm-chat-head small { color: #167970; }
.lm-avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #d64b57; color: white; }
.lm-messages { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
.lm-bubble { max-width: 90%; padding: 12px 14px; background: white; border-radius: 14px 14px 14px 4px; font-size: 13px; line-height: 1.5; }
.lm-bubble p { margin-top: 6px; }
.lm-me { align-self: flex-end; max-width: 85%; border-radius: 14px 14px 4px 14px; background: #c34250; color: white; font-weight: bold; }
.lm-ok { background: #eaf6f1; color: #1f6b53; }
.lm-chat-foot { background: white; border-top: 1px solid #e7eeee; padding: 13px 16px; font-size: 13px; color: #66625f; }

.lm-web { background-color: #e4efee; }
.lm-web-head { background: #d33548; color: white; gap: 9px; padding: 14px 12px 11px; }
.lm-web-head div { flex: 1; }
.lm-web-head .lm-avatar { width: 28px; height: 28px; background: white; color: #d33548; }
.lm-feed { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 0; }
.lm-card { position: relative; isolation: isolate; flex: none; min-height: 372px; overflow: hidden; border-radius: 20px; color: white; background: #24343a; box-shadow: 0 6px 22px #1e2b3329; }
.lm-photo, .lm-card:has(.lm-photo)::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.lm-photo { object-fit: cover; }
.lm-card:has(.lm-photo)::after { content: ""; background: linear-gradient(180deg, #101c226b, #101c2214 35%, #101c22ec); }
.lm-label { font: 10px "Red Hat Display ExtraBold", sans-serif; letter-spacing: 1.3px; text-transform: uppercase; }
.lm-safety > .lm-label, .lm-leadership > .lm-label { position: absolute; top: 20px; left: 18px; }
.lm-safety > .lm-label { padding: 5px 11px; border-radius: 999px; background: #101c229c; }
.lm-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: #fffffff2; color: #c9394f; font-size: 20px; box-shadow: 0 8px 24px #0004; }
.lm-caption { position: absolute; bottom: 0; width: 100%; padding: 20px; display: grid; gap: 10px; }
.lm-card h4 { font-size: 21px; }
.lm-caption p { font-size: 13px; line-height: 1.5; }
.lm-caption small { font-size: 12px; }
.lm-track { height: 4px; overflow: hidden; background: #ffffff52; border-radius: 4px; }
.lm-track span { display: block; height: 100%; width: 6%; background: white; }
.lm-safety.is-started .lm-track span { animation: lm-preview-progress 8s linear forwards; }
.lm-safety.is-paused .lm-track span { animation-play-state: paused; }
@keyframes lm-preview-progress { to { width: 100%; } }
.lm-sales { display: flex; flex-direction: column; gap: 13px; padding: 24px 18px 20px; background: linear-gradient(160deg, #d83b4c, #b32f46); }
.lm-sales h4 { font-size: 19px; }
.lm-options { display: grid; gap: 9px; }
.lm-options button { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1.5px solid #ffffff80; border-radius: 18px; background: #ffffff19; font-size: 13px; line-height: 1.3; text-align: left; }
.lm-options b { display: grid; place-items: center; flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%; background: #ffffff38; }
.lm-options [data-mark] { margin-left: auto; }
.lm-options [data-result=correct] { background: white; color: #24665f; }
.lm-options [data-result=wrong] { background: white; color: #9c293b; }
.lm-options button:disabled { cursor: default; }
.lm-feedback { margin-top: auto; font-size: 12px; line-height: 1.45; }
.lm-meta { display: flex; justify-content: space-between; padding: 0 4px; color: #47676c; font-size: 11px; }
.lm-next { display: grid; align-content: start; justify-items: center; gap: 4px; flex: 1; padding: 12px; border-radius: 20px 20px 0 0; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.lm-next span { font-size: 18px; line-height: 1; }
.lm-next-safety { background: #d33548; color: white; }
.lm-next-sales { background: #4467b2; color: white; }
.lm-next-leadership { background: white; color: #496e73; }

@media (max-width: 900px) {
    .lm { padding: 48px 18px; }
    .lm-box { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 28px; }
    .lm-intro h2 { font-size: 30px; }
    .lm-box h3 { font-size: 26px; }
}
@media (max-width: 360px) {
    .lm-box { padding: 20px 10px; }
}
