.hm-app {
    position: relative;
    padding: calc(var(--sec) * 2) 0 var(--sec);
    overflow: hidden;
    background: var(--bg);
}

.hm-app__inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(40px, 5vw, 96px);
}

.hm-app__text {
    min-width: 0;
    container-type: inline-size;
}

.hm-app__title {
    font-size: var(--f-l);
    font-size: min(var(--f-l), 12.4cqi);
}

.hm-app__title em {
    display: inline-block;
    padding-bottom: .08em;
    white-space: nowrap;
    font-style: normal;
    color: var(--accent);
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hm-app__lead {
    max-width: 50ch;
    margin-top: 22px;
    font-size: var(--f-s);
    line-height: 1.6;
    color: var(--ink-2);
}

.hm-app__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.hm-app__pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px 0 12px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--ink-2);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.hm-app__pills i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.hm-app__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.hm-app__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.hm-app__list b {
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
    color: var(--ink);
}

.hm-app__ico {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--accent);
    background: var(--paper);
    box-shadow: var(--shadow-1);
}

.hm-app__ico svg,
.hm-app__dot svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hm-app__dl {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hm-app__dl .hm-btn {
    height: 60px;
    padding: 0 30px 0 26px;
    font-size: 1rem;
}

.hm-app__dl .hm-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hm-app__dl .hm-btn svg path {
    fill: currentColor;
    stroke: none;
}

.hm-app__dl .hm-btn:hover svg {
    transform: none;
}

.hm-app__dl .hm-btn--dark {
    box-shadow: 0 18px 40px -18px rgba(12, 12, 14, .55);
}

.hm-app__note {
    margin-top: 14px;
    font-size: .86rem;
    color: var(--ink-3);
}

.hm-app__mobile {
    display: none;
    margin-top: 28px;
    padding: 14px 18px;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--ink-2);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

.hm-app__more {
    margin-top: 26px;
}

.hm-app__more svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hm-app__dl .hm-btn,
.hm-app__screen,
.hm-app__more {
    text-decoration: none;
}

.hm-app__media {
    position: relative;
    min-width: 0;
    padding: clamp(28px, 3vw, 44px) 0 clamp(80px, 8vw, 130px) clamp(20px, 3vw, 48px);
}

.hm-app__glow {
    position: absolute;
    left: 18%;
    top: 12%;
    width: 78%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 107, 61, .28), rgba(227, 38, 45, .14) 50%, rgba(227, 38, 45, 0));
    filter: blur(24px);
    pointer-events: none;
}

.hm-app__laptop {
    position: relative;
    margin: 0 7%;
    transition: transform .7s var(--ease);
}

.hm-app__laptop:hover {
    transform: translateY(-6px);
}

.hm-app__screen {
    position: relative;
    display: block;
    padding: clamp(8px, 1vw, 14px) clamp(8px, 1vw, 14px) clamp(10px, 1.3vw, 18px);
    background: #0c0c0e;
    border-radius: clamp(14px, 1.5vw, 22px) clamp(14px, 1.5vw, 22px) 4px 4px;
    box-shadow: 0 0 0 1.5px #c7c7cd, inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.hm-app__screen::before {
    content: "";
    position: absolute;
    top: clamp(3px, .4vw, 6px);
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #2a2a31;
}

.hm-app__screen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.hm-app__base {
    position: relative;
    height: clamp(12px, 1.3vw, 20px);
    margin: 0 -8%;
    border-radius: 2px 2px 16px 16px / 2px 2px 100% 100%;
    background: linear-gradient(#ececef, #cfcfd5 45%, #a3a3ab);
    box-shadow: 0 26px 40px -22px rgba(12, 12, 14, .5);
}

.hm-app__base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 14%;
    height: 45%;
    transform: translateX(-50%);
    border-radius: 0 0 10px 10px;
    background: linear-gradient(#b4b4bb, #d4d4d9);
}

.hm-app__float,
.hm-app__chat {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px -22px rgba(12, 12, 14, .45);
    animation: hmAppFloat 6s ease-in-out infinite;
}

.hm-app__float {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 12px;
    border-radius: 18px;
}

.hm-app__float--due {
    top: 0;
    right: clamp(-8px, -1vw, 0px);
}

.hm-app__float--tk {
    top: 46%;
    right: 0;
    animation-delay: -2s;
}

.hm-app__dot {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #fff;
}

.hm-app__dot svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

.hm-app__dot.is-amber {
    background: #d97706;
}

.hm-app__dot.is-green {
    background: #16a34a;
}

.hm-app__ft {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
}

.hm-app__ft b {
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.hm-app__ft small {
    font-size: .76rem;
    color: var(--ink-3);
    white-space: nowrap;
}

.hm-app__tag {
    margin-left: 4px;
    padding: 7px 12px;
    font-size: .78rem;
    font-weight: 500;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
}

.hm-app__chat {
    left: 0;
    bottom: clamp(-12px, -1vw, 0px);
    width: clamp(240px, 34%, 320px);
    padding: 16px;
    border-radius: 22px;
    animation-delay: -4s;
}

.hm-app__chat-h {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.hm-app__bot {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 30% 25%, #3a3a42, #0c0c0e 70%);
    box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px #e3262d, 0 6px 16px -4px rgba(227, 38, 45, .55);
}

.hm-app__bot svg {
    width: 22px;
    height: 22px;
}

.hm-app__bot svg path {
    fill: #ff6b3d;
    stroke: none;
}

.hm-app__bot svg path + path {
    fill: #fff;
}

.hm-app__chat-h b {
    display: block;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink);
}

.hm-app__chat-h small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .74rem;
    color: var(--ink-3);
}

.hm-app__chat-h small i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}

.hm-app__q {
    width: fit-content;
    max-width: 88%;
    margin: 14px 0 10px auto;
    padding: 10px 14px;
    font-size: .84rem;
    line-height: 1.4;
    color: #fff;
    background: var(--accent);
    border-radius: 16px 16px 4px 16px;
}

.hm-app__a {
    padding: 12px 14px;
    font-size: .84rem;
    line-height: 1.45;
    color: var(--ink-2);
    background: #f3f3f5;
    border-radius: 16px 16px 16px 4px;
}

.hm-app__a b {
    font-weight: 600;
    color: var(--ink);
}

.hm-app__rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.hm-app__rows span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    font-size: .8rem;
    background: var(--paper);
    border-radius: 10px;
}

.hm-app__rows em {
    font-style: normal;
    color: var(--ink);
}

.hm-app__rows strong {
    font-weight: 500;
    white-space: nowrap;
}

.hm-app__rows .is-amber {
    color: #b45309;
}

.hm-app__rows .is-blue {
    color: #1d4ed8;
}

.hm-app__screen:focus-visible,
.hm-app__more:focus-visible,
.hm-app__dl .hm-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@keyframes hmAppFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .hm-app__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hm-app__media {
        max-width: 820px;
    }
}

@media (max-width: 760px) {
    .hm-app__dl,
    .hm-app__note {
        display: none;
    }

    .hm-app__mobile {
        display: block;
    }

    .hm-app__media {
        padding: 34px 0 30px;
    }

    .hm-app__laptop {
        margin: 0 5%;
    }

    .hm-app__float--due {
        top: 0;
        right: 4px;
    }

    .hm-app__float--tk {
        display: none;
    }

    .hm-app__chat {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(78%, 300px);
        margin: -64px 0 0 4px;
    }

    .hm-app__list li {
        font-size: .95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-app__float,
    .hm-app__chat {
        animation: none;
    }

    .hm-app__laptop {
        transition: none;
    }

    .hm-app__laptop:hover {
        transform: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .hm-app__glow {
        display: none;
    }

    .hm-app__float,
    .hm-app__chat {
        background: var(--paper);
    }
}
