/* HospitalMS Cloud — dark mode, liquid glass */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.hospitalms-wrap {
    --hm-bg: transparent;
    --hm-bg-2: transparent;
    --hm-bg-3: transparent;
    --hm-ink: #eaf3ff;
    --hm-ink-soft: #a8c0d8;
    --hm-muted: #6a8aa8;
    --hm-line: rgba(255, 255, 255, .08);
    --hm-teal: #27d4ba;
    --hm-teal-dark: #079b8a;
    --hm-blue: #5da7ff;
    --hm-violet: #9a8af6;
    --hm-amber: #f7bd68;
    --hm-radius: 18px;
    --hm-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--hm-ink);
    font-family: var(--hm-font);
    font-size: 18px;
    line-height: 1.65;
    background: var(--hm-bg) !important;
    background-color: var(--hm-bg) !important;
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    overflow: clip;
    position: relative;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
}

.hospitalms-wrap *,
.hospitalms-wrap *::before,
.hospitalms-wrap *::after {
    box-sizing: border-box;
}

.hospitalms-wrap a {
    color: inherit;
    text-decoration: none;
}

.hospitalms-wrap button,
.hospitalms-wrap input,
.hospitalms-wrap select {
    font: inherit;
}

.hospitalms-wrap button {
    color: inherit;
}

.hospitalms-wrap svg {
    display: block;
    width: 20px;
    height: 20px;
}

.hospitalms-wrap img {
    max-width: 100%;
    height: auto;
}

.hm-container {
    width: min(1180px, calc(100% - 56px));
    margin-inline: auto;
}

/* Topbar */
.hm-topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    color: #fff;
    background: rgb(6 13 24 / 27%);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.hm-nav-inner {
    width: min(1280px, calc(100% - 48px));
    height: 74px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hm-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff !important;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.hm-brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(39, 212, 186, .4);
    border-radius: 14px;
    color: var(--hm-teal);
    background: linear-gradient(145deg, rgba(39, 212, 186, .2), rgba(93, 167, 255, .1));
}

.hm-brand-mark svg {
    width: 27px;
    height: 27px;
}

.hm-brand-accent {
    color: var(--hm-teal);
}

.hm-brand small {
    display: block;
    margin-top: 4px;
    color: rgba(170, 200, 220, .6);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .19em;
}

.hm-nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.hm-nav-links a,
.hm-nav-actions .hm-text-link {
    color: rgba(190, 215, 235, .7);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.hm-nav-links a:hover,
.hm-nav-actions .hm-text-link:hover {
    color: #fff;
}

.hm-nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Buttons */
.hm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hm-button svg {
    width: 17px;
    height: 17px;
}

.hm-button:hover {
    transform: translateY(-2px);
}

.hm-button-primary {
    color: #041a14 !important;
    background: var(--hm-teal);
    box-shadow: 0 8px 28px rgba(39, 212, 186, .25);
}

.hm-button-primary:hover {
    color: #041a14 !important;
    background: #5de8d4;
    box-shadow: 0 14px 36px rgba(39, 212, 186, .35);
}

.hm-button-small {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 18px;
    border-radius: 10px;
}

.hm-button-quiet {
    color: rgba(220, 240, 255, .9) !important;
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hm-button-quiet:hover {
    border-color: rgba(39, 212, 186, .5);
    background: rgba(39, 212, 186, .08);
}

.hm-button-plan {
    color: #c8e0f0 !important;
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hm-button-plan:hover {
    color: #fff !important;
    border-color: rgba(39, 212, 186, .5);
    background: rgba(39, 212, 186, .1);
}

/* Mobile nav — hidden on desktop, never shows unless toggled on mobile */
.hm-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.hm-mobile-toggle svg {
    width: 21px;
    height: 21px;
}

.hm-mobile-nav {
    display: none !important;
    flex-direction: column;
    gap: 3px;
    padding: 10px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(6, 13, 24, .97);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.hm-mobile-nav a {
    padding: 12px 2px;
    color: rgba(200, 225, 240, .8);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hm-mobile-nav a:last-child {
    border-bottom: none;
}

@media (max-width: 780px) {
    .hm-mobile-nav:not([hidden]) {
        display: flex !important;
    }
}

/* Hero */
.hm-hero {
    position: relative;
    color: #f3f8fb;
    padding: 100px 0 0;
    background: radial-gradient(ellipse 55% 62% at 76% 44%, rgba(39, 212, 186, .12), transparent 70%), radial-gradient(ellipse 50% 80% at 16% 0%, rgba(25, 67, 108, .35), transparent 67%), var(--hm-bg);
}

.hm-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .18;
    pointer-events: none;
    background-image: radial-gradient(rgba(140, 186, 208, .25) .75px, transparent .75px);
    background-size: 29px 29px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 88%, transparent);
}

.hm-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(390px, .92fr) minmax(480px, 1.08fr);
    align-items: center;
    gap: 28px;
    min-height: 560px;
}

.hm-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 10px 0 52px;
}

.hm-eyebrow,
.hm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #58d9c5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hm-live-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hm-teal);
    box-shadow: 0 0 0 5px rgba(39, 212, 186, .15), 0 0 16px rgba(39, 212, 186, .8);
}

/* Big product name on hero */
.hm-hero-product-name {
    display: block;
    font-size: clamp(52px, 7vw, 90px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .9;
    margin: 20px 0 8px;
    background: linear-gradient(135deg, #fff 40%, var(--hm-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hm-hero h1 {
    margin: 6px 0 22px;
    color: #c8e8e0;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.hm-hero h1 span {
    color: #58dec7;
}

.hm-hero-copy>p {
    max-width: 480px;
    margin: 0;
    color: #93b2c8;
    font-size: 17px;
    line-height: 1.75;
}

.hm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.hm-hero-actions .hm-button {
    min-height: 54px;
    padding-inline: 22px;
}

.hm-hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: #7a9aaf;
    font-size: 12px;
    font-weight: 600;
}

.hm-proof-icon {
    color: #56dbc4;
}

.hm-proof-icon svg {
    width: 16px;
    height: 16px;
}

.hm-hero-proof>i,
.hm-hero-bottom>i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #56dbc4;
    opacity: .75;
}

.hm-hero-visual {
    position: relative;
    min-height: 510px;
    overflow: visible;
}

.hm-orbit {
    position: absolute;
    left: 51%;
    top: 48%;
    border: 1px solid rgba(95, 182, 202, .1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hm-orbit-one {
    width: 415px;
    height: 415px;
    animation: hm-orbit-pulse 8s ease-in-out infinite;
}

.hm-orbit-two {
    width: 530px;
    height: 530px;
    border-style: dashed;
    border-color: rgba(95, 182, 202, .07);
    animation: hm-orbit-spin 80s linear infinite;
}

.hm-network-lines {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hm-path {
    fill: none;
    stroke: rgba(83, 213, 199, .28);
    stroke-width: 1.25;
    stroke-dasharray: 5 9;
    animation: hm-dash-flow 17s linear infinite;
}

.hm-path-b {
    animation-delay: -6s;
}

.hm-path-c {
    animation-delay: -11s;
}

.hm-path-d {
    animation-delay: -3s;
}

.hm-path-node {
    fill: #52dfca;
    filter: drop-shadow(0 0 7px rgba(53, 225, 207, .8));
    animation: hm-node-blink 2.4s ease-in-out infinite;
}

.hm-path-node:nth-of-type(even) {
    animation-delay: .8s;
}

/* Liquid glass core card */
.hm-core-card {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 49%;
    width: min(330px, 75%);
    min-height: 265px;
    padding: 24px 24px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(10, 25, 50, .6);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4), 0 0 60px rgba(39, 212, 186, .08), inset 0 1px 0 rgba(255, 255, 255, .1);
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    animation: hm-float-core 6s ease-in-out infinite;
}

.hm-core-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hm-core-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(47, 220, 194, .3);
    border-radius: 12px;
    color: #55e0c9;
    background: rgba(39, 212, 186, .1);
    font-size: 22px;
    font-weight: 700;
}

.hm-core-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(170, 210, 220, .7);
    font-size: 9px;
    font-weight: 650;
}

.hm-core-status b,
.hm-console-live i,
.hm-account-card .hm-status-pill i,
.hm-board-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #42dc9e;
    box-shadow: 0 0 10px rgba(66, 220, 158, .6);
}

.hm-core-title {
    margin-top: 20px;
    color: #f6fafc;
    font-size: 24px;
    font-weight: 720;
    letter-spacing: -.045em;
}

.hm-core-sub {
    margin-top: 2px;
    color: rgba(160, 200, 215, .6);
    font-size: 11px;
}

.hm-core-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 21px;
}

.hm-core-metrics>div {
    position: relative;
    min-height: 73px;
    padding: 10px 10px 8px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.hm-core-metrics small {
    display: block;
    color: rgba(160, 200, 210, .6);
    font-size: 8px;
}

.hm-core-metrics strong {
    display: block;
    margin-top: 5px;
    color: #e6f1f4;
    font-size: 11px;
}

.hm-mini-bars {
    position: absolute;
    right: 10px;
    bottom: 11px;
    display: flex;
    align-items: end;
    height: 22px;
    gap: 3px;
}

.hm-mini-bars i {
    display: block;
    width: 4px;
    border-radius: 4px;
    background: #4adcc4;
    opacity: .8;
    animation: hm-bars 1.5s ease-in-out infinite alternate;
}

.hm-mini-bars i:nth-child(1) {
    height: 8px
}

.hm-mini-bars i:nth-child(2) {
    height: 14px;
    animation-delay: .1s
}

.hm-mini-bars i:nth-child(3) {
    height: 11px;
    animation-delay: .35s
}

.hm-mini-bars i:nth-child(4) {
    height: 19px;
    animation-delay: .2s
}

.hm-mini-bars i:nth-child(5) {
    height: 13px;
    animation-delay: .5s
}

.hm-mini-bars i:nth-child(6) {
    height: 17px;
    animation-delay: .3s
}

.hm-mini-bars i:nth-child(7) {
    height: 22px;
    animation-delay: .15s
}

.hm-avatar-stack {
    display: flex;
    margin-top: 7px;
}

.hm-avatar-stack i,
.hm-avatar-stack b {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-right: -5px;
    border: 1px solid rgba(6, 13, 24, .8);
    border-radius: 50%;
    color: #e9f6f9;
    background: #397d83;
    font-size: 6px;
    font-style: normal;
    font-weight: 800;
}

.hm-avatar-stack i:nth-child(2) {
    background: #5366a2
}

.hm-avatar-stack i:nth-child(3) {
    background: #a77749
}

.hm-avatar-stack b {
    background: #25465a
}

.hm-core-flow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: rgba(180, 210, 220, .7);
    font-size: 9px;
}

.hm-flow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hm-teal);
    box-shadow: 0 0 9px #42dac5;
}

.hm-core-flow time {
    margin-left: auto;
    color: rgba(140, 180, 200, .5);
    font-size: 8px;
}

/* Liquid glass float cards */
.hm-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(10, 22, 45, .75);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: hm-float-card 5s ease-in-out infinite;
}

.hm-float-card>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hm-float-card small {
    color: rgba(160, 195, 215, .7);
    font-size: 8px;
}

.hm-float-card strong {
    color: #e8f1f4;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

.hm-float-symbol {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex: 0 0 30px;
}

.hm-float-symbol svg {
    width: 16px;
    height: 16px;
}

.hm-symbol-mint {
    color: #078c80;
    background: rgba(39, 212, 186, .18)
}

.hm-symbol-blue {
    color: #5da7ff;
    background: rgba(93, 167, 255, .15)
}

.hm-symbol-violet {
    color: #9a8af6;
    background: rgba(154, 138, 246, .15)
}

.hm-symbol-amber {
    color: #f7bd68;
    background: rgba(247, 189, 104, .15)
}

.hm-symbol-rose {
    color: #f43f7a;
    background: rgba(244, 63, 122, .12)
}

.hm-symbol-green {
    color: #22c55e;
    background: rgba(34, 197, 94, .13)
}

.hm-symbol-purple {
    color: #a855f7;
    background: rgba(168, 85, 247, .13)
}

.hm-symbol-orange {
    color: #f97316;
    background: rgba(249, 115, 22, .13)
}

.hm-float-patient {
    left: 0;
    top: 11%
}

.hm-float-lab {
    right: -4px;
    top: 15%;
    animation-delay: -1.2s
}

.hm-float-beds {
    left: 0;
    bottom: 15%;
    animation-delay: -.8s
}

.hm-float-calendar {
    right: -1%;
    bottom: 11%;
    animation-delay: -1.8s
}

.hm-card-pulse {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #52e0c7;
    box-shadow: 0 0 0 0 rgba(82, 224, 199, .6);
    animation: hm-ping 2.1s ease-out infinite;
}

.hm-visual-caption {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 2%;
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(130, 175, 200, .6);
    font-size: 9px;
    letter-spacing: .04em;
    transform: translateX(-50%);
    white-space: nowrap;
}

.hm-caption-wave {
    color: var(--hm-teal);
    font-size: 21px;
    line-height: .5;
}

.hm-hero-bottom {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 32px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.hm-hero-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    backdrop-filter: blur(8px);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hm-hero-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(39, 212, 186, .3);
    background: rgba(255, 255, 255, .04);
}

.hm-hfc-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
}

.hm-hfc-icon svg {
    width: 18px;
    height: 18px;
}

.hm-hfc-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hm-hfc-text strong {
    color: #e6f2fb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.hm-hfc-text span {
    color: var(--hm-muted);
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .hm-hero-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hm-hero-bottom {
        grid-template-columns: 1fr;
    }
}

/* Section headings */
.hm-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.hm-section-heading h2,
.hm-role-copy h2,
.hm-faq-layout h2 {
    margin: 11px 0 0;
    color: var(--hm-ink);
    font-size: clamp(33px, 3.5vw, 46px);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: 1.07;
}

.hm-section-heading p {
    max-width: 420px;
    margin: 0 0 3px;
    color: var(--hm-muted);
    font-size: 15px;
}

.hm-kicker {
    color: #2db8a6;
    font-size: 10px;
}

.hm-heading-center {
    display: block;
    text-align: center;
}

.hm-heading-center h2 {
    margin-top: 12px;
}

.hm-heading-center p {
    max-width: 520px;
    margin: 16px auto 0;
    color: var(--hm-muted);
    font-size: 15px;
}

/* Account (logged-in) section — liquid glass */
.hm-account-section {
    padding: 74px 0 83px;
    background: linear-gradient(135deg, rgba(39, 212, 186, .06), rgba(93, 167, 255, .04) 60%, rgba(154, 138, 246, .05));
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.hm-account-heading h2 {
    font-size: clamp(28px, 3vw, 37px);
}

.hm-account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hm-account-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: transform .25s ease, border-color .25s ease;
}

.hm-account-card:hover {
    border-color: rgba(39, 212, 186, .3);
    transform: translateY(-3px);
}

.hm-add-hospital-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border: 2px dashed rgba(39, 212, 186, .35);
    background: rgba(39, 212, 186, .02);
    text-align: center;
}

.hm-add-hospital-card:hover {
    border-color: rgba(39, 212, 186, .7);
    background: rgba(39, 212, 186, .05);
}

.hm-add-hospital-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.hm-add-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #27d4ba;
    background: rgba(39, 212, 186, .14);
    box-shadow: 0 0 24px rgba(39, 212, 186, .2);
    transition: transform .2s ease;
}

.hm-add-hospital-card:hover .hm-add-icon {
    transform: scale(1.1);
}

.hm-add-icon svg {
    width: 26px;
    height: 26px;
}

.hm-add-hospital-inner h3 {
    margin: 0;
    color: #e0eeff;
    font-size: 19px;
    font-weight: 700;
}

.hm-add-hospital-inner p {
    max-width: 280px;
    margin: 0;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hm-open-add-modal {
    margin-top: 6px;
}

/* Modal for Add Hospital */
.hm-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 13, 23, .85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.hm-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.hm-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px 32px;
    border: 1px solid rgba(39, 212, 186, .3);
    border-radius: 24px;
    background: #0b1828;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}

.hm-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    color: #a0b8cc;
    background: rgba(255, 255, 255, .06);
    font-size: 24px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.hm-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

.hm-modal-header {
    margin-bottom: 22px;
}

.hm-modal-header h3 {
    margin: 8px 0 6px;
    color: #fff;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -.03em;
}

.hm-modal-header p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.6;
}

.hm-account-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.hm-account-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    color: #27d4ba;
    background: rgba(39, 212, 186, .12);
}

.hm-account-icon svg {
    width: 20px;
    height: 20px;
}

.hm-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    color: #27d4ba;
    border: 1px solid rgba(39, 212, 186, .2);
    border-radius: 20px;
    background: rgba(39, 212, 186, .08);
    font-size: 9px;
    font-weight: 750;
}

.hm-status-pill i {
    width: 6px;
    height: 6px;
    box-shadow: none;
}

.hm-account-card h3 {
    margin: 8px 0 3px;
    font-size: 22px;
    color: #e8f5ff;
    letter-spacing: -.04em;
}

.hm-account-card>p {
    margin: 0 0 20px;
    color: var(--hm-muted);
    font-size: 14px;
}

.hm-account-open {
    margin-top: 12px;
}

.hm-setup-form {
    display: grid;
    gap: 13px;
    margin-top: 18px;
}

.hm-setup-form label {
    display: grid;
    gap: 6px;
    color: rgba(180, 215, 235, .8);
    font-size: 11px;
    font-weight: 730;
}

.hm-setup-form input,
.hm-setup-form select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    outline: 0;
    color: #d8eeff;
    background: rgba(255, 255, 255, .05);
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.hm-setup-form input:focus,
.hm-setup-form select:focus {
    border-color: rgba(39, 212, 186, .5);
    box-shadow: 0 0 0 3px rgba(39, 212, 186, .1);
}

.hm-setup-form input::placeholder {
    color: rgba(130, 170, 200, .5);
}

.hm-setup-form select option {
    background: #0a1628;
    color: #d8eeff;
}

.hm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hm-submit-setup {
    width: 100%;
}

.hm-submit-setup:disabled {
    opacity: .7;
    cursor: wait;
}

.hm-form-note {
    color: rgba(130, 160, 180, .6);
    font-size: 9px;
    text-align: center;
}

.hm-form-message {
    min-height: 0;
    color: rgba(150, 190, 210, .8);
    font-size: 12px;
}

.hm-form-message:not(:empty) {
    padding: 9px 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.hm-form-message.is-error {
    color: #f07878;
    background: rgba(240, 120, 120, .08);
    border-color: rgba(240, 120, 120, .2);
}

.hm-form-message.is-pending {
    color: #27d4ba;
    background: rgba(39, 212, 186, .07);
    border-color: rgba(39, 212, 186, .2);
}

/* Workflow strip */
.hm-flow-section {
    padding: 92px 0 96px;
    background: var(--hm-bg-2);
}

.hm-flow-track {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr;
    align-items: center;
    margin-top: 52px;
}

.hm-flow-step {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 21px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hm-flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 212, 186, .3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

.hm-step-icon,
.hm-feature-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 14px;
}

.hm-step-icon svg,
.hm-feature-icon svg {
    width: 21px;
    height: 21px;
}

.hm-flow-step small {
    margin-top: 16px;
    color: rgba(150, 180, 200, .6);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.hm-flow-step strong {
    margin-top: 3px;
    color: var(--hm-ink);
    font-size: 14px;
    letter-spacing: -.02em;
}

.hm-flow-step>span:last-child {
    margin-top: 4px;
    color: var(--hm-muted);
    font-size: 11px;
}

.hm-flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(39, 212, 186, .6);
}

.hm-flow-connector i {
    width: 12px;
    height: 1px;
    background: linear-gradient(90deg, rgba(39, 212, 186, .2), rgba(39, 212, 186, .6));
}

.hm-flow-connector b {
    font-size: 16px;
    font-weight: 400;
    animation: hm-arrow-nudge 1.5s ease-in-out infinite;
}

/* Platform grid — 2 column on desktop */
.hm-capabilities-section {
    padding: 96px 0 106px;
    background: var(--hm-bg);
}

.hm-capabilities-section .hm-section-heading {
    margin-bottom: 44px;
}

.hm-capabilities-section .hm-section-heading h2 {
    margin-top: 12px;
}

.hm-capabilities-section .hm-section-heading p {
    max-width: 400px;
    padding-bottom: 3px;
}

.hm-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hm-capability {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 26px 26px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hm-capability:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 212, 186, .3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.hm-capability-featured {
    min-height: auto;
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08);
}

.hm-feature-index {
    display: block;
    margin-top: 15px;
    color: rgba(140, 175, 200, .7);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.hm-capability h3 {
    margin: 10px 0 10px;
    color: #e0eeff;
    font-size: 20px;
    font-weight: 730;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.hm-capability p {
    max-width: none;
    margin: 0;
    color: rgba(200, 222, 235, .82);
    font-size: 15px;
    line-height: 1.68;
}

.hm-record-visual {
    position: absolute;
    right: 18px;
    bottom: 17px;
    left: 18px;
    padding: 13px;
    border: 1px solid rgba(39, 212, 186, .12);
    border-radius: 14px;
    background: rgba(10, 30, 50, .7);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hm-record-top {
    display: flex;
    align-items: center;
    gap: 8px
}

.hm-record-top>div {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hm-record-top b {
    color: #cce5f5;
    font-size: 9px
}

.hm-record-top small {
    color: rgba(140, 180, 200, .6);
    font-size: 7px
}

.hm-record-avatar {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(145deg, #5dbdaf, #398b9b);
    font-size: 8px;
    font-weight: 800
}

.hm-record-check {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-left: auto;
    border-radius: 50%;
    color: #27d4ba;
    background: rgba(39, 212, 186, .15);
    font-size: 10px
}

.hm-record-line {
    height: 1px;
    margin: 10px 0 8px;
    background: rgba(255, 255, 255, .07)
}

.hm-record-tags {
    display: flex;
    gap: 5px
}

.hm-record-tags i {
    padding: 4px 6px;
    border-radius: 5px;
    color: #5de0ca;
    background: rgba(39, 212, 186, .1);
    font-size: 7px;
    font-style: normal
}

.hm-record-pulse {
    position: absolute;
    top: -3px;
    right: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32c9a7;
    box-shadow: 0 0 0 0 rgba(50, 201, 167, .5);
    animation: hm-ping 2.3s ease-out infinite
}

.hm-calendar-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .07)
}

.hm-calendar-mini>div {
    display: flex;
    flex-direction: column;
    min-height: 65px;
    padding: 7px 6px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: rgba(255, 255, 255, .03)
}

.hm-calendar-mini>div b {
    color: rgba(140, 180, 200, .6);
    font-size: 6px;
    letter-spacing: .08em
}

.hm-calendar-mini strong {
    margin-top: 4px;
    color: #c8e5f8;
    font-size: 9px
}

.hm-calendar-mini small {
    margin-top: 4px;
    color: rgba(130, 170, 200, .6);
    font-size: 6px;
    white-space: nowrap
}

.hm-calendar-mini i {
    height: 2px;
    width: 17px;
    margin-top: 2px;
    border-radius: 3px;
    background: rgba(39, 212, 186, .4)
}

.hm-calendar-mini .hm-calendar-active {
    border-color: rgba(39, 212, 186, .25);
    background: rgba(39, 212, 186, .07)
}

.hm-calendar-active i {
    width: 27px;
    background: var(--hm-teal)
}

.hm-result-visual {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 83px;
    margin-top: 16px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03)
}

.hm-result-bar {
    display: block;
    width: 7px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, rgba(154, 138, 246, .8), rgba(93, 167, 255, .6));
    transform-origin: bottom;
    animation: hm-bars 1.8s ease-in-out infinite alternate
}

.hm-bar-one {
    height: 29%
}

.hm-bar-two {
    height: 55%;
    animation-delay: .2s
}

.hm-bar-three {
    height: 42%;
    animation-delay: .45s
}

.hm-bar-four {
    height: 78%;
    animation-delay: .1s
}

.hm-bar-five {
    height: 60%;
    animation-delay: .35s
}

.hm-result-visual>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: auto auto 2px 9px
}

.hm-result-visual small {
    color: rgba(140, 180, 200, .6);
    font-size: 7px
}

.hm-result-visual b {
    color: #c8e5f8;
    font-size: 9px
}

.hm-result-visual>i {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: #27d4ba;
    background: rgba(39, 212, 186, .12);
    font-size: 10px;
    font-style: normal
}

.hm-ward-visual {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(247, 189, 104, .05);
    border: 1px solid rgba(247, 189, 104, .1)
}

.hm-ward-visual span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(200, 225, 240, .7);
    font-size: 8px
}

.hm-ward-visual span>i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hm-amber)
}

.hm-ward-visual b {
    margin-left: auto;
    color: rgba(200, 230, 250, .7);
    font-size: 8px;
    font-weight: 650
}

.hm-public-site-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .04) 40%, rgba(154, 138, 246, .05))
}

.hm-browser-mini {
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .2)
}

.hm-browser-bar {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
    padding: 0 9px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.hm-browser-bar i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2)
}

.hm-browser-bar span {
    margin-left: 7px;
    color: rgba(140, 170, 200, .5);
    font-size: 6px
}

.hm-browser-body {
    position: relative;
    display: flex;
    min-height: 65px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: radial-gradient(ellipse at center, rgba(154, 138, 246, .1), transparent 70%)
}

.hm-browser-emblem {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 6px;
    color: var(--hm-violet);
    background: rgba(154, 138, 246, .15);
    font-size: 12px
}

.hm-browser-body b {
    color: #c8d8e8;
    font-size: 8px
}

.hm-browser-body small {
    color: rgba(140, 170, 200, .6);
    font-size: 6px
}

.hm-browser-body>i {
    position: absolute;
    right: 10px;
    bottom: 13px;
    width: 29px;
    height: 6px;
    border-radius: 5px;
    background: rgba(154, 138, 246, .5)
}

/* AI section */
.hm-ai-section {
    position: relative;
    padding: 99px 0 103px;
    overflow: hidden;
    color: #eaf5f6;
    background: radial-gradient(ellipse 55% 80% at 78% 48%, rgba(39, 212, 186, .12), transparent 70%), var(--hm-bg-3)
}

.hm-ai-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .1;
    background-image: linear-gradient(rgba(177, 211, 220, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(177, 211, 220, .09) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, #000 70%)
}

.hm-ai-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    gap: 9%
}

.hm-ai-copy .hm-kicker {
    color: #61dbc8
}

.hm-ai-copy h2 {
    margin: 16px 0 19px;
    color: #f4fbfc;
    font-size: clamp(38px, 4.3vw, 55px);
    font-weight: 760;
    letter-spacing: -.065em;
    line-height: 1.04
}

.hm-ai-copy h2 span {
    color: #62ddc9
}

.hm-ai-copy p {
    max-width: 435px;
    margin: 0;
    color: rgba(170, 200, 215, .8);
    font-size: 15px;
    line-height: 1.75
}

.hm-ai-copy>small {
    display: block;
    margin-top: 20px;
    color: rgba(130, 165, 190, .7);
    font-size: 11px
}

.hm-ai-provider-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 23px
}

.hm-provider-chip {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    color: rgba(175, 210, 225, .7);
    background: rgba(255, 255, 255, .04);
    font-size: 9px;
    font-weight: 700
}

.hm-ai-console {
    position: relative;
    min-height: 370px;
    padding: 23px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: rgba(10, 25, 50, .7);
    box-shadow: 0 32px 100px rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px)
}

.hm-console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.hm-console-top>div {
    display: grid;
    grid-template-columns: 34px auto;
    grid-template-rows: 18px 11px;
    align-items: center;
    column-gap: 9px
}

.hm-console-orb {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid rgba(39, 212, 186, .3);
    border-radius: 12px;
    color: #5de4d1;
    background: rgba(39, 212, 186, .1);
    font-size: 16px
}

.hm-console-top b {
    color: #e5f2f3;
    font-size: 13px
}

.hm-console-top small {
    color: rgba(140, 175, 195, .6);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em
}

.hm-console-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(140, 190, 175, .8);
    font-size: 9px
}

.hm-console-thread {
    display: grid;
    gap: 12px;
    margin-top: 17px
}

.hm-console-user,
.hm-console-ai {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 13px;
    background: rgba(255, 255, 255, .04)
}

.hm-console-user {
    margin-left: 52px;
    background: rgba(93, 167, 255, .07)
}

.hm-console-thread span {
    color: rgba(130, 175, 195, .7);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em
}

.hm-console-thread p {
    margin: 6px 0 0;
    color: rgba(200, 225, 235, .9);
    font-size: 11px;
    line-height: 1.5
}

.hm-console-ai {
    position: relative;
    padding-left: 14px;
    border-color: rgba(39, 212, 186, .1);
    background: rgba(39, 212, 186, .04)
}

.hm-console-ai::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 2px;
    border-radius: 2px;
    content: "";
    background: rgba(39, 212, 186, .5)
}

.hm-summary-lines {
    display: grid;
    gap: 4px;
    margin-top: 12px
}

.hm-summary-lines i {
    display: block;
    width: 96%;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07)
}

.hm-summary-lines i:nth-child(2) {
    width: 80%
}

.hm-summary-lines i:nth-child(3) {
    width: 56%
}

.hm-console-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 17px
}

.hm-console-tools span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(160, 195, 210, .7);
    font-size: 8px
}

.hm-console-tools svg {
    width: 14px;
    height: 14px;
    color: var(--hm-teal)
}

.hm-console-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: rgba(130, 165, 185, .6);
    font-size: 8px
}

.hm-console-foot i {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    color: var(--hm-teal);
    font-style: normal
}

.hm-ai-ripple {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(39, 212, 186, .07);
    border-radius: 50%;
    pointer-events: none
}

.hm-ripple-one {
    right: -99px;
    bottom: -129px;
    animation: hm-orbit-pulse 4.5s ease-in-out infinite
}

.hm-ripple-two {
    right: -58px;
    bottom: -88px;
    animation: hm-orbit-pulse 4.5s ease-in-out -2.2s infinite
}

.hm-ai-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 13px
}

.hm-ai-skill-tags span {
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 6px;
    color: rgba(140, 175, 200, .7);
    background: rgba(255, 255, 255, .03);
    font-size: 7px
}

/* Device section */
.hm-device-section {
    padding: 95px 0 101px;
    background: var(--hm-bg-2)
}

.hm-device-canvas {
    position: relative;
    height: 340px;
    margin-top: 46px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background: radial-gradient(ellipse 38% 90% at 50% 51%, rgba(39, 212, 186, .07), transparent 100%), var(--hm-bg-3);
    overflow: hidden
}

.hm-device-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.hm-device-lines path {
    fill: none;
    stroke: rgba(39, 212, 186, .2);
    stroke-width: 1.5;
    stroke-dasharray: 5 7;
    animation: hm-dash-flow 18s linear infinite
}

.hm-device-lines circle {
    fill: var(--hm-teal);
    filter: drop-shadow(0 0 5px rgba(39, 212, 186, .7))
}

.hm-device-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 210px;
    min-height: 78px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(10, 22, 45, .8);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px)
}

.hm-device-node>span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--hm-blue);
    background: rgba(93, 167, 255, .12)
}

.hm-device-node svg {
    width: 18px;
    height: 18px
}

.hm-device-node>div {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.hm-device-node small {
    color: rgba(140, 180, 200, .6);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .12em
}

.hm-device-node b {
    color: #cce5f8;
    font-size: 10px
}

.hm-device-node em {
    color: var(--hm-teal);
    font-size: 8px;
    font-style: normal
}

.hm-device-left-top {
    left: 7%;
    top: 10%
}

.hm-device-left-bottom {
    left: 7%;
    bottom: 10%
}

.hm-device-right-top {
    right: 7%;
    top: 10%
}

.hm-device-right-bottom {
    right: 7%;
    bottom: 10%
}

.hm-device-right-top>span {
    color: var(--hm-violet);
    background: rgba(154, 138, 246, .12)
}

.hm-device-right-bottom>span {
    color: var(--hm-teal);
    background: rgba(39, 212, 186, .1)
}

.hm-device-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 195px;
    height: 175px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(39, 212, 186, .2);
    border-radius: 24px;
    background: rgba(10, 25, 50, .85);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .3), 0 0 40px rgba(39, 212, 186, .08);
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px)
}

.hm-hub-ring {
    position: absolute;
    inset: -13px;
    border: 1px solid rgba(39, 212, 186, .15);
    border-radius: 30px;
    animation: hm-hub-ring 3.6s ease-out infinite
}

.hm-hub-symbol {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    margin-bottom: 7px;
    border-radius: 16px;
    color: var(--hm-teal);
    background: rgba(39, 212, 186, .12);
    font-size: 27px;
    font-weight: 700
}

.hm-device-hub b {
    color: #daf0ff;
    font-size: 14px;
    letter-spacing: -.03em
}

.hm-device-hub small {
    margin-top: 2px;
    color: rgba(140, 180, 200, .6);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .15em
}

.hm-device-hub i {
    margin-top: 9px;
    color: var(--hm-teal);
    font-size: 8px;
    font-style: normal
}

.hm-device-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px
}

.hm-device-tags span {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    color: rgba(160, 195, 215, .8);
    background: rgba(255, 255, 255, .03);
    font-size: 10px;
    font-weight: 600
}

/* Roles */
.hm-role-section {
    padding: 99px 0 105px;
    background: var(--hm-bg)
}

.hm-role-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hm-role-copy h2 {
    margin: 13px 0 17px;
}

.hm-role-copy p {
    max-width: 480px;
    margin: 0;
    color: var(--hm-muted);
    font-size: 16px;
    line-height: 1.75;
}

.hm-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 23px;
    color: var(--hm-teal) !important;
    font-size: 12px;
    font-weight: 750
}

.hm-inline-link svg {
    width: 15px;
    height: 15px;
    transition: transform .2s ease
}

.hm-inline-link:hover svg {
    transform: translateX(3px)
}

.hm-role-board {
    position: relative;
    padding: 18px 20px 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px)
}

.hm-role-board-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: rgba(160, 195, 215, .7);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em
}

.hm-role-board-head .hm-board-dot {
    width: 7px;
    height: 7px
}

.hm-board-time {
    margin-left: auto;
    color: rgba(140, 175, 195, .5);
    font-size: 7px
}

.hm-role-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.hm-role-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #fff;
    font-size: 8px;
    font-weight: 800
}

.hm-avatar-reception {
    background: linear-gradient(135deg, #68cdb6, #389e96)
}

.hm-avatar-doctor {
    background: linear-gradient(135deg, #84baff, #527bb5)
}

.hm-avatar-lab {
    background: linear-gradient(135deg, #b0a5fa, #7566cb)
}

.hm-avatar-admin {
    background: linear-gradient(135deg, #f7cc7c, #dc9c4b)
}

.hm-role-row>div {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hm-role-row>div b {
    color: #c8e0f5;
    font-size: 11px
}

.hm-role-row>div small {
    color: rgba(140, 175, 200, .6);
    font-size: 9px
}

.hm-role-task {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: rgba(140, 175, 200, .6);
    font-size: 8px
}

.hm-role-task i {
    padding: 5px 7px;
    border-radius: 6px;
    color: var(--hm-teal);
    background: rgba(39, 212, 186, .1);
    font-size: 8px;
    font-style: normal;
    font-weight: 700
}

.hm-role-board-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px
}

.hm-role-board-footer span {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 6px;
    color: rgba(140, 175, 200, .7);
    font-size: 7px
}

.hm-role-connector {
    position: absolute;
    right: 10%;
    bottom: -13px;
    width: 22%;
    height: 12px;
    border-right: 1px solid rgba(39, 212, 186, .2);
    border-bottom: 1px solid rgba(39, 212, 186, .2);
    border-left: 1px solid rgba(39, 212, 186, .2);
    border-radius: 0 0 8px 8px;
    opacity: .8
}

/* Pricing */
.hm-pricing-section {
    padding: 99px 0 103px;
    background: var(--hm-bg-2);
    scroll-margin-top: 75px
}

.hm-pricing-heading {
    align-items: end
}

.hm-pricing-heading h2 {
    margin-top: 12px
}

.hm-pricing-heading>p {
    max-width: 400px
}

.hm-pricing-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 33px 0 21px
}

.hm-choice-group,
.hm-billing-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03)
}

.hm-choice-button,
.hm-billing-toggle button {
    position: relative;
    min-height: 37px;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    color: rgba(160, 195, 215, .7);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease
}

.hm-choice-button.is-selected,
.hm-billing-toggle button.is-selected {
    color: #e0efff;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.hm-choice-button span {
    margin-left: 6px;
    padding: 3px 5px;
    border-radius: 5px;
    color: var(--hm-teal);
    background: rgba(39, 212, 186, .1);
    font-size: 7px;
    text-transform: uppercase
}

.hm-billing-toggle button span {
    margin-left: 4px;
    color: var(--hm-teal);
    font-size: 7px
}

.hm-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 13px
}

.hm-plan-card {
    position: relative;
    display: flex;
    min-height: 375px;
    flex-direction: column;
    padding: 25px 19px 18px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease
}

.hm-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 212, 186, .3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3)
}

.hm-plan-recommended {
    border-color: rgba(39, 212, 186, .3);
    background: linear-gradient(180deg, rgba(39, 212, 186, .08), rgba(255, 255, 255, .03) 35%);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .25), 0 0 40px rgba(39, 212, 186, .08)
}

.hm-recommend-label {
    position: absolute;
    top: -11px;
    right: 17px;
    padding: 5px 9px;
    border-radius: 7px;
    color: #041a14;
    background: var(--hm-teal);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .08em
}

.hm-plan-name-row {
    display: flex;
    align-items: center;
    gap: 9px
}

.hm-plan-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04)
}

.hm-plan-mark i {
    width: 9px;
    height: 9px;
    border: 2px solid rgba(39, 212, 186, .6);
    border-radius: 3px;
    transform: rotate(45deg)
}

.hm-mark-lite i {
    width: 11px;
    height: 11px;
    border-color: rgba(93, 167, 255, .7)
}

.hm-mark-pro i {
    width: 13px;
    height: 13px;
    border-color: rgba(154, 138, 246, .7)
}

.hm-mark-ultra i {
    width: 14px;
    height: 14px;
    border-color: rgba(247, 189, 104, .7);
    border-radius: 50%
}

.hm-plan-name {
    color: #daf0ff;
    font-size: 17px;
    font-weight: 760;
    letter-spacing: -.04em
}

.hm-plan-enterprise {
    margin-left: auto;
    color: var(--hm-amber);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em
}

.hm-plan-summary {
    margin: 13px 0 0;
    color: rgba(130, 170, 200, .6);
    font-size: 10px
}

.hm-price-block {
    min-height: 80px;
    margin-top: 10px
}

.hm-price-line {
    display: flex;
    align-items: baseline;
    gap: 5px
}

.hm-price-value {
    color: #e8f6ff;
    font-size: 29px;
    font-weight: 760;
    letter-spacing: -.06em;
    white-space: nowrap
}

.hm-price-value .woocommerce-Price-currencySymbol {
    font-size: 17px
}

.hm-price-line small {
    color: rgba(130, 170, 200, .6);
    font-size: 10px
}

.hm-yearly-note {
    margin-top: 4px;
    color: rgba(130, 170, 200, .6);
    font-size: 9px
}

.hm-price-unavailable {
    color: rgba(130, 170, 200, .5);
    font-size: 15px;
    font-weight: 600
}

.hm-plan-divider {
    height: 1px;
    margin: 12px 0 15px;
    background: rgba(255, 255, 255, .06)
}

.hm-plan-highlights {
    display: grid;
    gap: 9px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none
}

.hm-plan-highlights li {
    display: flex;
    gap: 7px;
    color: rgba(160, 200, 225, .8);
    font-size: 10px;
    line-height: 1.4
}

.hm-plan-highlights li span {
    color: var(--hm-teal);
    font-size: 11px;
    font-weight: 800
}

.hm-plan-cta {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 10px;
    font-size: 11px
}

.hm-plan-cta>svg {
    width: 14px;
    height: 14px
}

.hm-plan-cta.is-disabled {
    cursor: not-allowed;
    opacity: .45
}

.hm-plan-footnote {
    display: block;
    min-height: 26px;
    margin-top: 9px;
    color: rgba(130, 170, 200, .5);
    font-size: 7px;
    line-height: 1.4;
    text-align: center
}

.hm-pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 19px;
    color: rgba(130, 170, 200, .6);
    font-size: 10px
}

.hm-pricing-note span {
    color: var(--hm-teal);
    font-size: 14px;
    line-height: 1
}

/* How it works */
.hm-how-section {
    padding: 95px 0 101px;
    background: var(--hm-bg-3)
}

.hm-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 44px
}

.hm-how-grid article {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 17px;
    background: rgba(255, 255, 255, .03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.hm-how-number {
    position: absolute;
    top: 14px;
    right: 17px;
    color: rgba(140, 175, 200, .4);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em
}

.hm-how-illustration {
    position: relative;
    display: flex;
    height: 118px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03)
}

.hm-how-card-one {
    flex-direction: column;
    gap: 4px
}

.hm-how-card-one>i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: var(--hm-teal);
    background: rgba(39, 212, 186, .12);
    font-size: 8px;
    font-style: normal;
    font-weight: 800
}

.hm-how-card-one b {
    color: #c8e5f8;
    font-size: 12px
}

.hm-how-card-one span {
    color: rgba(140, 175, 200, .6);
    font-size: 8px
}

.hm-how-card-two {
    background: radial-gradient(circle at 50% 45%, rgba(39, 212, 186, .08), transparent 60%)
}

.hm-onboard-line {
    position: absolute;
    width: 110px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(39, 212, 186, .4) 0 4px, transparent 4px 8px);
    animation: hm-dash-flow 7s linear infinite
}

.hm-how-card-two>i {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(39, 212, 186, .2);
    border-radius: 14px;
    color: var(--hm-teal);
    background: rgba(39, 212, 186, .08);
    font-size: 22px;
    font-style: normal;
    box-shadow: 0 0 0 8px rgba(39, 212, 186, .04)
}

.hm-onboard-node {
    position: absolute;
    right: 17px;
    bottom: 17px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    color: rgba(160, 200, 220, .8);
    background: rgba(255, 255, 255, .04);
    font-size: 7px
}

.hm-launch-window {
    display: flex;
    width: 148px;
    height: 80px;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(10, 25, 50, .8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    transform: perspective(300px) rotateY(-8deg)
}

.hm-launch-window span {
    color: var(--hm-teal);
    font-size: 7px;
    font-weight: 800
}

.hm-launch-window b {
    color: #cce5f8;
    font-size: 10px
}

.hm-launch-window i {
    margin-top: auto;
    color: rgba(39, 212, 186, .7);
    font-size: 7px;
    font-style: normal
}

.hm-how-grid h3 {
    margin: 0 0 6px;
    color: #c8e5f8;
    font-size: 14px
}

.hm-how-grid p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 11px;
    line-height: 1.65
}

/* Use cases */
.hm-usecase-section {
    padding: 88px 0;
    background: var(--hm-bg)
}

.hm-usecase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hm-usecase-layout h2 {
    margin: 13px 0 14px;
    color: var(--hm-ink);
    font-size: clamp(33px, 3.6vw, 46px);
    letter-spacing: -.055em;
    line-height: 1.1;
}

.hm-usecase-layout p {
    max-width: 520px;
    margin: 0 0 24px;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.7;
}

.hm-usecase-highlights {
    display: flex;
    gap: 28px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.hm-uch-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-uch-num {
    color: var(--hm-teal);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.hm-uch-item small {
    color: rgba(140, 175, 200, .7);
    font-size: 12px;
    line-height: 1.4;
}

.hm-usecase-visual-wrapper {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    background: radial-gradient(ellipse at 80% 20%, rgba(39, 212, 186, .08), transparent 70%), rgba(255, 255, 255, .02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
    backdrop-filter: blur(12px);
}

.hm-usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hm-usecase-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hm-usecase-card:hover {
    transform: translateY(-2px);
    border-color: rgba(39, 212, 186, .3);
    background: rgba(255, 255, 255, .04);
}

.hm-uc-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.hm-uc-icon svg {
    width: 20px;
    height: 20px;
}

.hm-uc-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-uc-info strong {
    color: #e0eeff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.hm-uc-info small {
    color: var(--hm-muted);
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 600px) {
    .hm-usecase-grid {
        grid-template-columns: 1fr;
    }
}

.hm-usecase-cloud {
    position: relative;
    display: flex;
    min-height: 230px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background: radial-gradient(ellipse at center, rgba(39, 212, 186, .06), transparent 70%), rgba(255, 255, 255, .02);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.hm-use-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(39, 212, 186, .15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: hm-use-rings 4s ease-out infinite
}

.hm-use-chip {
    position: relative;
    z-index: 1;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    color: rgba(180, 215, 235, .8);
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
    font-size: 10px;
    font-weight: 650;
    animation: hm-float-chip 5.3s ease-in-out infinite
}

.hm-chip-b,
.hm-chip-e {
    animation-delay: -1.1s
}

.hm-chip-c,
.hm-chip-f {
    animation-delay: -2.4s
}

.hm-chip-d,
.hm-chip-g {
    animation-delay: -.6s
}

.hm-chip-h {
    animation-delay: -3.2s
}

/* FAQ */
.hm-faq-section {
    padding: 97px 0 103px;
    background: var(--hm-bg-2);
    scroll-margin-top: 75px
}

.hm-faq-layout {
    display: grid;
    grid-template-columns: .67fr 1.33fr;
    align-items: start;
    gap: 9%
}

.hm-faq-layout h2 {
    margin: 13px 0 12px
}

.hm-faq-layout>div:first-child p {
    color: var(--hm-muted);
    font-size: 13px
}

.hm-faq-layout .hm-inline-link {
    margin-top: 14px
}

.hm-faq-list {
    border-top: 1px solid rgba(255, 255, 255, .07)
}

.hm-faq-list details {
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.hm-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 3px;
    color: #c8e0f5;
    font-size: 17px;
    font-weight: 720;
    cursor: pointer;
    list-style: none
}

.hm-faq-list summary::-webkit-details-marker {
    display: none
}

.hm-faq-list summary span {
    color: var(--hm-teal);
    font-size: 22px;
    font-weight: 400;
    transition: transform .2s ease
}

.hm-faq-list details[open] summary span {
    transform: rotate(45deg)
}

.hm-faq-list details p {
    max-width: 660px;
    margin: -4px 25px 20px 3px;
    color: var(--hm-muted);
    font-size: 15px;
    line-height: 1.8
}

.hm-faq-list details p a {
    color: var(--hm-teal);
    text-decoration: underline;
    text-underline-offset: 2px
}

/* Final CTA */
.hm-final-cta {
    position: relative;
    padding: 86px 0 91px;
    overflow: hidden;
    color: #f4fafb;
    text-align: center;
    background: radial-gradient(ellipse 45% 110% at 49% 100%, rgba(39, 212, 186, .15), transparent 90%), var(--hm-bg-3)
}

.hm-final-content {
    position: relative;
    z-index: 2
}

.hm-final-content .hm-kicker {
    justify-content: center;
    color: #5cdbc8
}

.hm-final-content h2 {
    max-width: 700px;
    margin: 13px auto 13px;
    color: #f5fbfc;
    font-size: clamp(36px, 4.2vw, 52px);
    letter-spacing: -.06em;
    line-height: 1.07
}

.hm-final-content p {
    margin: 0;
    color: rgba(170, 205, 225, .8);
    font-size: 18px
}

.hm-final-content .hm-hero-actions {
    justify-content: center;
    margin-top: 27px
}

.hm-cta-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(39, 212, 186, .07);
    border-radius: 50%;
    transform: translate(-50%, -50%)
}

.hm-cta-orbit-b {
    width: 620px;
    height: 620px;
    border-style: dashed;
    animation: hm-orbit-spin 100s linear infinite
}

/* Footer */
.hm-footer {
    padding: 28px 0;
    color: rgba(140, 175, 200, .7);
    background: #030812;
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.hm-footer .hm-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.hm-footer .hm-brand {
    font-size: 14px
}

.hm-footer .hm-brand-mark {
    width: 35px;
    height: 35px
}

.hm-footer .hm-brand-mark svg {
    width: 23px;
    height: 23px
}

.hm-footer .hm-brand small {
    font-size: 7px
}

.hm-footer p {
    margin: 0;
    color: rgba(120, 155, 180, .5);
    font-size: 13px
}

.hm-footer>.hm-container>div {
    display: flex;
    gap: 18px
}

.hm-footer>.hm-container>div a {
    color: rgba(140, 175, 200, .6);
    font-size: 13px;
    transition: color .2s ease
}

.hm-footer>.hm-container>div a:hover {
    color: #fff
}

/* Checkout Sidebar */
.hm-checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease
}

.hm-checkout-overlay.is-open {
    opacity: 1;
    visibility: visible
}

.hm-checkout-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: min(440px, 96vw);
    background: rgba(8, 18, 36, .97);
    border-left: 1px solid rgba(255, 255, 255, .1);
    box-shadow: -20px 0 80px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.25, .8, .25, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column
}

.hm-checkout-sidebar.is-open {
    transform: translateX(0)
}

.hm-checkout-sidebar-inner {
    flex: 1;
    padding: 32px 28px 40px
}

.hm-checkout-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 24px
}

.hm-checkout-sidebar-head h3 {
    margin: 0;
    color: #e8f6ff;
    font-size: 19px;
    font-weight: 760;
    letter-spacing: -.04em
}

.hm-checkout-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: rgba(180, 210, 230, .7);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
    transition: all .2s ease
}

.hm-checkout-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08)
}

.hm-checkout-plan-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(39, 212, 186, .2);
    border-radius: 14px;
    background: rgba(39, 212, 186, .06);
    margin-bottom: 24px
}

.hm-checkout-plan-pill .hm-plan-mark {
    flex-shrink: 0
}

.hm-checkout-plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hm-checkout-plan-info strong {
    color: #daf0ff;
    font-size: 15px;
    font-weight: 760;
    letter-spacing: -.03em
}

.hm-checkout-plan-info small {
    color: rgba(140, 180, 210, .6);
    font-size: 11px
}

.hm-checkout-plan-price {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.hm-checkout-plan-price strong {
    color: var(--hm-teal);
    font-size: 20px;
    font-weight: 760;
    letter-spacing: -.04em
}

.hm-checkout-plan-price small {
    color: rgba(140, 180, 210, .5);
    font-size: 9px
}

.hm-checkout-period-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 22px
}

.hm-checkout-period-btn {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    color: rgba(160, 200, 225, .7);
    background: rgba(255, 255, 255, .03);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease
}

.hm-checkout-period-btn.is-selected {
    color: #daf0ff;
    border-color: rgba(39, 212, 186, .4);
    background: rgba(39, 212, 186, .08)
}

.hm-checkout-proceed {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 14px;
    border: 0;
    border-radius: 13px;
    margin-top: 8px;
    color: #041a14 !important;
    background: var(--hm-teal);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(39, 212, 186, .25);
    transition: all .2s ease;
    text-align: center;
    text-decoration: none
}

.hm-checkout-proceed:hover {
    background: #5de8d4;
    box-shadow: 0 14px 36px rgba(39, 212, 186, .35);
    transform: translateY(-1px)
}

.hm-checkout-note {
    margin-top: 14px;
    color: rgba(130, 170, 200, .5);
    font-size: 12px;
    text-align: center;
    line-height: 1.6
}

.hm-checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: rgba(130, 170, 200, .5);
    font-size: 11px
}

.hm-checkout-secure svg {
    width: 13px;
    height: 13px
}

.hm-checkout-sidebar-features {
    margin-bottom: 20px
}

.hm-checkout-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px
}

.hm-checkout-feature-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(170, 205, 225, .85);
    font-size: 13px
}

.hm-checkout-feature-list li svg {
    color: var(--hm-teal);
    width: 15px;
    height: 15px;
    flex-shrink: 0
}

.hm-checkout-divider {
    height: 1px;
    background: rgba(255, 255, 255, .06);
    margin: 22px 0
}

.hm-checkout-features {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none
}

.hm-checkout-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(170, 205, 225, .8);
    font-size: 13px
}

.hm-checkout-features li::before {
    content: "✓";
    color: var(--hm-teal);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0
}

/* Animations */
.hm-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1)
}

.hm-reveal.hm-in-view {
    opacity: 1;
    transform: translateY(0)
}

.hm-spin {
    animation: hm-spin 1s linear infinite
}

@keyframes hm-dash-flow {
    to {
        stroke-dashoffset: -140
    }
}

@keyframes hm-node-blink {

    0%,
    100% {
        opacity: .55;
        transform: scale(.85)
    }

    50% {
        opacity: 1;
        transform: scale(1.15)
    }
}

@keyframes hm-ping {
    0% {
        box-shadow: 0 0 0 0 rgba(82, 224, 199, .55)
    }

    75%,
    100% {
        box-shadow: 0 0 0 10px rgba(82, 224, 199, 0)
    }
}

@keyframes hm-float-core {

    0%,
    100% {
        margin-top: 0
    }

    50% {
        margin-top: -8px
    }
}

@keyframes hm-float-card {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@keyframes hm-bars {
    from {
        transform: scaleY(.76);
        opacity: .55
    }

    to {
        transform: scaleY(1);
        opacity: 1
    }
}

@keyframes hm-orbit-pulse {

    0%,
    100% {
        opacity: .5;
        transform: translate(-50%, -50%) scale(.98)
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.025)
    }
}

@keyframes hm-orbit-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

@keyframes hm-hub-ring {
    0% {
        opacity: .7;
        transform: scale(.96)
    }

    85%,
    100% {
        opacity: 0;
        transform: scale(1.11)
    }
}

@keyframes hm-arrow-nudge {

    0%,
    100% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(3px)
    }
}

@keyframes hm-use-rings {
    0% {
        opacity: .7;
        width: 40px;
        height: 40px
    }

    100% {
        opacity: 0;
        width: 240px;
        height: 170px
    }
}

@keyframes hm-float-chip {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

@keyframes hm-spin {
    to {
        transform: rotate(360deg)
    }
}

/* Responsive */
@media(max-width:1050px) {
    .hm-nav-links {
        gap: 20px
    }

    .hm-hero-grid {
        grid-template-columns: minmax(340px, .9fr) minmax(400px, 1.1fr)
    }

    .hm-float-patient,
    .hm-float-beds {
        left: -12px
    }

    .hm-float-lab,
    .hm-float-calendar {
        right: -11px
    }

    .hm-plan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px
    }

    .hm-plan-card {
        min-height: 340px
    }

    .hm-capabilities-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .hm-capability-featured {
        grid-column: span 2;
        min-height: 315px
    }
}

@media(max-width:780px) {
    .hm-container {
        width: min(100% - 36px, 620px)
    }

    .hm-nav-inner {
        width: calc(100% - 32px);
        height: 66px;
        gap: 16px
    }

    .hm-nav-links,
    .hm-nav-actions {
        display: none
    }

    .hm-mobile-toggle {
        display: inline-flex
    }

    .hm-brand {
        font-size: 15px
    }

    .hm-brand-mark {
        width: 36px;
        height: 36px
    }

    .hm-mobile-nav:not([hidden]) {
        display: flex
    }

    .hm-hero {
        padding-top: 62px
    }

    .hm-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .hm-hero-copy {
        max-width: 590px;
        padding: 0
    }

    .hm-hero-product-name {
        font-size: clamp(44px, 11vw, 70px)
    }

    .hm-hero h1 {
        margin-top: 16px;
        font-size: clamp(22px, 6vw, 34px)
    }

    .hm-hero-copy>p {
        max-width: 520px;
        font-size: 15px
    }

    .hm-hero-visual {
        width: 100%;
        min-height: min(470px, 90vw);
        margin-top: 16px
    }

    .hm-core-card {
        width: min(310px, 76%)
    }

    .hm-orbit-one {
        width: min(370px, 80vw);
        height: min(370px, 80vw)
    }

    .hm-orbit-two {
        width: min(465px, 98vw);
        height: min(465px, 98vw)
    }

    .hm-float-patient {
        left: 0
    }

    .hm-float-lab {
        right: 0
    }

    .hm-float-beds {
        left: 0
    }

    .hm-float-calendar {
        right: 0
    }

    .hm-section-heading {
        display: block
    }

    .hm-section-heading p {
        margin-top: 13px
    }

    .hm-flow-track {
        grid-template-columns: 1fr 28px 1fr;
        row-gap: 13px;
        margin-top: 33px
    }

    .hm-flow-track>:nth-child(n+5) {
        grid-row: 2
    }

    .hm-flow-track>:nth-child(5) {
        grid-column: 1
    }

    .hm-flow-track>:nth-child(6) {
        grid-column: 2
    }

    .hm-flow-track>:nth-child(7) {
        grid-column: 3
    }

    .hm-flow-track>:nth-child(4) {
        display: none
    }

    .hm-flow-step {
        min-height: 150px;
        padding: 17px 13px
    }

    .hm-flow-connector i {
        width: 6px
    }

    .hm-ai-layout,
    .hm-role-layout,
    .hm-usecase-layout,
    .hm-faq-layout {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .hm-device-canvas {
        height: 330px
    }

    .hm-device-node {
        width: 170px;
        padding: 9px
    }

    .hm-device-left-top,
    .hm-device-left-bottom {
        left: 3%
    }

    .hm-device-right-top,
    .hm-device-right-bottom {
        right: 3%
    }

    .hm-device-hub {
        width: 165px;
        height: 155px
    }

    .hm-device-lines {
        opacity: .75
    }

    .hm-pricing-heading {
        display: block
    }

    .hm-pricing-controls {
        align-items: flex-start;
        flex-direction: column
    }

    .hm-footer .hm-container {
        flex-wrap: wrap
    }

    .hm-footer .hm-container>p {
        order: 3;
        flex-basis: 100%
    }

    .hm-footer>.hm-container>div {
        margin-left: auto
    }

    .hm-capabilities-grid {
        grid-template-columns: 1fr
    }

    .hm-capability-featured {
        grid-column: span 1
    }
}

@media(max-width:560px) {
    .hm-container {
        width: calc(100% - 30px)
    }

    .hm-hero {
        padding-top: 48px
    }

    .hm-eyebrow {
        font-size: 9px
    }

    .hm-hero-product-name {
        font-size: clamp(38px, 13vw, 60px)
    }

    .hm-hero h1 {
        font-size: 24px
    }

    .hm-hero-copy>p {
        font-size: 14px
    }

    .hm-hero-actions {
        align-items: stretch;
        flex-direction: column
    }

    .hm-hero-actions .hm-button {
        width: 100%
    }

    .hm-hero-visual {
        min-height: 373px;
        margin-top: 22px
    }

    .hm-core-card {
        top: 49%;
        width: 275px;
        min-height: 240px;
        padding: 18px
    }

    .hm-core-title {
        margin-top: 14px;
        font-size: 20px
    }

    .hm-float-patient {
        left: -3px;
        top: 5%
    }

    .hm-float-lab {
        right: -4px;
        top: 8%
    }

    .hm-float-beds {
        left: -3px;
        bottom: 8%
    }

    .hm-float-calendar {
        right: -4px;
        bottom: 5%
    }

    .hm-account-section,
    .hm-flow-section,
    .hm-capabilities-section,
    .hm-ai-section,
    .hm-device-section,
    .hm-role-section,
    .hm-pricing-section,
    .hm-how-section,
    .hm-usecase-section,
    .hm-faq-section {
        padding: 68px 0
    }

    .hm-section-heading h2,
    .hm-role-copy h2,
    .hm-faq-layout h2,
    .hm-usecase-layout h2 {
        font-size: 33px
    }

    .hm-form-row {
        grid-template-columns: 1fr
    }

    .hm-capability,
    .hm-capability-featured {
        min-height: 230px;
        padding: 19px
    }

    .hm-capability-featured {
        min-height: 315px
    }

    .hm-plan-grid {
        grid-template-columns: 1fr
    }

    .hm-plan-card {
        min-height: 330px;
        padding: 22px
    }

    .hm-how-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 30px
    }

    .hm-device-canvas {
        display: flex;
        height: auto;
        min-height: 430px;
        flex-direction: column;
        justify-content: center;
        gap: 9px;
        padding: 19px 14px
    }

    .hm-device-lines {
        transform: rotate(90deg) scale(.44);
        opacity: .45
    }

    .hm-device-node {
        position: relative;
        z-index: 2;
        inset: auto;
        width: min(100%, 290px);
        min-height: 60px;
        margin: 0 auto
    }

    .hm-device-hub {
        position: relative;
        z-index: 2;
        top: auto;
        left: auto;
        width: 100%;
        height: 82px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        padding: 0 15px;
        border-radius: 13px;
        transform: none
    }

    .hm-hub-ring {
        display: none
    }

    .hm-hub-symbol {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        margin: 0;
        border-radius: 10px;
        font-size: 21px
    }

    .hm-device-hub b {
        font-size: 11px
    }

    .hm-device-hub small {
        position: absolute;
        top: 17px;
        left: 59px;
        margin: 0;
        font-size: 6px
    }

    .hm-device-hub i {
        margin: 0 0 0 auto;
        font-size: 7px
    }

    .hm-pricing-controls {
        gap: 11px
    }

    .hm-choice-group,
    .hm-billing-toggle {
        width: 100%
    }

    .hm-choice-button,
    .hm-billing-toggle button {
        flex: 1;
        padding-inline: 6px;
        font-size: 9px
    }

    .hm-choice-button span {
        display: none
    }

    .hm-faq-list summary {
        font-size: 12px
    }

    .hm-final-cta {
        padding: 68px 0
    }

    .hm-final-content h2 {
        font-size: 36px
    }

    .hm-footer .hm-container {
        align-items: flex-start
    }

    .hm-footer .hm-container>div {
        width: 100%;
        margin: 0
    }

    .hm-checkout-sidebar-inner {
        padding: 24px 20px 32px
    }
}

@media(prefers-reduced-motion:reduce) {

    .hospitalms-wrap *,
    .hospitalms-wrap *::before,
    .hospitalms-wrap *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .hospitalms-wrap .hm-reveal {
        opacity: 1;
        transform: none
    }
}

/* ── Hero stats ── */
.hm-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .07)
}

.hm-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hm-hero-stat strong {
    color: var(--hm-teal);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.04em
}

.hm-hero-stat span {
    color: rgba(140, 175, 200, .65);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em
}

/* ── Demo section ── */
.hm-demo-section {
    padding: 92px 0 100px;
    background: linear-gradient(180deg, rgba(39, 212, 186, .04), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.hm-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.hm-demo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
    text-decoration: none;
    cursor: pointer;
}

.hm-demo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 212, 186, .35);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
}

.hm-demo-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
}

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

.hm-demo-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.hm-demo-body strong {
    color: #e0eeff;
    font-size: 17px;
    font-weight: 720;
    letter-spacing: -.03em;
}

.hm-demo-body span {
    color: var(--hm-muted);
    font-size: 13px;
    line-height: 1.55;
}

.hm-demo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding-top: 14px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: var(--hm-teal);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: gap .2s ease, color .2s ease;
}

.hm-demo-card:hover .hm-demo-cta {
    gap: 12px;
    color: #4ef3d2;
}

.hm-demo-cta svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.hm-demo-card:hover .hm-demo-cta svg {
    transform: translateX(3px);
}

.hm-demo-cta svg {
    width: 14px;
    height: 14px
}

.hm-demo-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
    color: rgba(140, 175, 200, .7);
    font-size: 13px
}

.hm-demo-note svg {
    color: var(--hm-teal);
    flex-shrink: 0;
    width: 16px;
    height: 16px
}

.hm-demo-note strong {
    color: rgba(200, 230, 250, .9)
}

/* ── Plan highlights with icon check ── */
.hm-plan-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px
}

.hm-plan-highlights li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px
}

.hm-plan-highlights li > span svg {
    width: 15px;
    height: 15px;
    color: var(--hm-teal)
}

/* ── Stats section ── */
.hm-stats-section {
    padding: 64px 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .02)
}

.hm-stat-item {
    padding: 32px 28px;
    border-right: 1px solid rgba(255, 255, 255, .07);
    text-align: center
}

.hm-stat-item:last-child {
    border-right: none
}

.hm-stat-item strong {
    display: block;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.06em;
    color: var(--hm-teal);
    margin-bottom: 8px
}

.hm-stat-item span {
    color: var(--hm-muted);
    font-size: 13px;
    line-height: 1.5
}

/* ── AI features list ── */
.hm-ai-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0
}

.hm-ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03)
}

.hm-ai-feature-item > span {
    color: var(--hm-teal);
    flex-shrink: 0;
    margin-top: 1px
}

.hm-ai-feature-item > span svg {
    width: 18px;
    height: 18px
}

.hm-ai-feature-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hm-ai-feature-item strong {
    color: #d8eeff;
    font-size: 13px;
    font-weight: 700
}

.hm-ai-feature-item small {
    color: var(--hm-muted);
    font-size: 11px;
    line-height: 1.5
}

/* ── Device brands strip ── */
.hm-device-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    background: rgba(255, 255, 255, .02)
}

.hm-device-brands span {
    color: rgba(140, 175, 200, .6);
    font-size: 12px;
    font-weight: 600
}

.hm-device-brands span:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
    color: rgba(255, 255, 255, .2)
}

/* ── Role section avatar colors ── */
.hm-avatar-pharmacy {
    background: linear-gradient(135deg, #4a9f6e, #357a55)
}

/* ── Section heading bigger ── */
.hm-section-heading h2,
.hm-role-copy h2,
.hm-faq-layout h2 {
    font-size: clamp(36px, 3.8vw, 52px)
}

.hm-section-heading p {
    font-size: 17px
}

.hm-heading-center p {
    font-size: 17px
}

/* ── Flow section step text bigger ── */
.hm-flow-step strong {
    font-size: 16px
}

.hm-flow-step > span:last-child {
    font-size: 13px
}

/* ── Capability section text bigger ── */
.hm-capability h3 {
    font-size: 20px
}

.hm-capability p {
    font-size: 14px
}

/* ── Role board text bigger ── */
.hm-role-row b {
    font-size: 16px
}

.hm-role-row small {
    font-size: 13px
}

/* ── Demo responsive ── */
@media (max-width: 780px) {
    .hm-demo-grid {
        grid-template-columns: 1fr
    }

    .hm-stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .hm-stat-item:nth-child(2) {
        border-right: none
    }

    .hm-stat-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .07)
    }

    .hm-ai-features-list {
        grid-template-columns: 1fr
    }

    .hm-demo-card {
        flex-wrap: wrap
    }

    .hm-demo-cta {
        flex-basis: 100%;
        justify-content: flex-end
    }
}

@media (max-width: 560px) {
    .hm-stats-grid {
        grid-template-columns: 1fr
    }

    .hm-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .07)
    }

    .hm-stat-item:last-child {
        border-bottom: none
    }

    .hm-demo-note {
        flex-wrap: wrap;
        font-size: 12px
    }

    .hm-faq-list summary {
        font-size: 15px
    }
}
@media (max-width: 600px) {
    .hm-hero-stats {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: space-between !important;
        gap: 12px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hm-hero-stats::-webkit-scrollbar {
        display: none;
    }

    .hm-hero-stat {
        flex-shrink: 0;
        min-width: fit-content;
    }

    .hm-hero-stat strong {
        font-size: 18px !important;
    }

    .hm-hero-stat span {
        font-size: 9px !important;
        white-space: nowrap;
    }
}

/* ── Tabbed Workspace Viewer ── */
.hm-preview-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, transparent, rgba(14, 27, 44, .7) 40%, rgba(8, 16, 27, .95));
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.hm-preview-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 40px 0 28px;
}

@media (max-width: 900px) {
    .hm-preview-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .hm-preview-tabs {
        grid-template-columns: 1fr;
    }
}

.hm-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    cursor: pointer;
    text-align: left;
    transition: all .2s ease;
    color: inherit;
    font-family: inherit;
}

.hm-tab-btn:hover {
    border-color: rgba(39, 212, 186, .3);
    background: rgba(255, 255, 255, .04);
}

.hm-tab-btn.is-active {
    border-color: var(--hm-teal);
    background: rgba(39, 212, 186, .08);
    box-shadow: 0 4px 20px rgba(39, 212, 186, .15);
}

.hm-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.hm-tab-btn strong {
    color: #e6f2fb;
    font-size: 14px;
    font-weight: 700;
}

.hm-tab-btn small {
    color: var(--hm-muted);
    font-size: 11px;
}

.hm-preview-window {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: #0b1522;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
    overflow: hidden;
}

.hm-preview-browser-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hm-browser-dots {
    display: flex;
    gap: 6px;
}

.hm-browser-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
}

.hm-browser-dots i:nth-child(1) { background: #ff5f56; }
.hm-browser-dots i:nth-child(2) { background: #ffbd2e; }
.hm-browser-dots i:nth-child(3) { background: #27c93f; }

.hm-browser-address {
    flex: 1;
    max-width: 580px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(0, 0, 0, .3);
    font-size: 12px;
}

.hm-browser-lock {
    font-size: 11px;
}

.hm-browser-url {
    flex: 1;
    color: #a0c4de;
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-browser-badge {
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(39, 212, 186, .15);
    color: var(--hm-teal);
    font-size: 10px;
    font-weight: 700;
}

.hm-browser-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-preview-reload-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, .1);
    color: #a0c4de;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 15px;
    display: grid;
    place-items: center;
    transition: all .2s;
}

.hm-preview-reload-btn:hover {
    border-color: var(--hm-teal);
    color: var(--hm-teal);
}

.hm-preview-ext-btn {
    padding: 5px 12px;
    border: 1px solid rgba(39, 212, 186, .3);
    border-radius: 8px;
    background: rgba(39, 212, 186, .1);
    color: var(--hm-teal);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.hm-preview-ext-btn:hover {
    background: var(--hm-teal);
    color: #0b1522;
}

.hm-preview-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 680px;
    background: #ffffff;
}

.hm-preview-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.hm-iframe-loader {
    position: absolute;
    inset: 0;
    background: rgba(11, 21, 34, .88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    transition: opacity .3s ease;
    color: #a0c4de;
    font-size: 13px;
}

.hm-iframe-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hm-loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, .1);
    border-top-color: var(--hm-teal);
    border-radius: 50%;
    animation: hm-spin 0.8s linear infinite;
}

@keyframes hm-spin {
    to { transform: rotate(360deg); }
}

/* ── Custom Domain Section ── */
.hm-custom-domain-section {
    padding: 96px 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(39, 212, 186, .05), transparent 70%), var(--hm-bg);
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hm-domain-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 56px;
}

@media (max-width: 900px) {
    .hm-domain-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hm-domain-copy h2 {
    margin: 12px 0 16px;
    color: var(--hm-ink);
    font-size: clamp(32px, 3.5vw, 44px);
    letter-spacing: -.05em;
    line-height: 1.15;
}

.hm-domain-copy p {
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.hm-domain-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-domain-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #c0d8ea;
    font-size: 13px;
    line-height: 1.5;
}

.hm-domain-checklist li span {
    color: var(--hm-teal);
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.hm-domain-checklist strong {
    color: #e6f2fb;
}

.hm-domain-checklist em {
    color: #4ef3d2;
    font-style: normal;
}

.hm-domain-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
    backdrop-filter: blur(14px);
}

.hm-domain-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hm-domain-badge {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(39, 212, 186, .12);
    color: var(--hm-teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.hm-domain-status {
    color: #4ef3d2;
    font-size: 12px;
    font-weight: 600;
}

.hm-domain-input-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border: 1px solid rgba(39, 212, 186, .3);
    border-radius: 12px;
    background: rgba(0, 0, 0, .35);
    margin-bottom: 20px;
}

.hm-domain-proto {
    color: rgba(140, 175, 200, .6);
    font-family: monospace;
    font-size: 13px;
}

.hm-domain-input-preview strong {
    color: #ffffff;
    font-size: 15px;
    font-family: monospace;
    flex: 1;
}

.hm-domain-check {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(39, 212, 186, .15);
    color: var(--hm-teal);
    font-size: 11px;
    font-weight: 700;
}

.hm-dns-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .05);
}

.hm-dns-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.hm-dns-hdr {
    color: rgba(140, 175, 200, .6);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hm-dns-row code {
    font-family: monospace;
    color: #d0e4f5;
    background: rgba(255, 255, 255, .05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.hm-dns-ok {
    color: var(--hm-teal);
    font-weight: 600;
    font-size: 11px;
}

.hm-domain-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: rgba(140, 175, 200, .7);
    font-size: 11px;
}

/* ── Embedded Checkout Panel ── */
.hm-checkout-sidebar {
    width: min(680px, 98vw) !important;
}

.hm-checkout-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 24px !important;
}

.hm-checkout-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hm-checkout-head-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hm-checkout-head-meta h3 {
    margin: 0;
    color: #e8f6ff;
    font-size: 18px;
    font-weight: 760;
}

.hm-checkout-pill-tag {
    padding: 3px 9px;
    border-radius: 8px;
    background: rgba(39, 212, 186, .15);
    color: var(--hm-teal);
    font-size: 11px;
    font-weight: 700;
}

.hm-checkout-frame-container {
    position: relative;
    flex: 1;
    min-height: 520px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}

.hm-checkout-frame-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.hm-checkout-frame-loader {
    position: absolute;
    inset: 0;
    background: rgba(11, 21, 34, .92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
    color: #a0c4de;
    font-size: 13px;
    transition: opacity .3s ease;
}

.hm-checkout-frame-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hm-checkout-sidebar-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: rgba(140, 175, 200, .7);
    font-size: 12px;
}

.hm-checkout-sidebar-foot a {
    color: var(--hm-teal);
    text-decoration: none;
    font-weight: 600;
}

.hm-checkout-sidebar-foot a:hover {
    text-decoration: underline;
}

.hm-hero {
    background: transparent !important;
}

.hm-hero::before {
    display: none !important;
}

.hm-hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 440px;
    padding: 0 0 30px !important;
}

.hm-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hm-hero-copy > p {
    max-width: 680px;
    margin: 0 auto 32px;
    color: #9cbacf;
    font-size: 19px;
    line-height: 1.75;
}

.hm-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* Make hm-hero-stats bigger on desktop */
.hm-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 52px !important;
    margin-top: 26px !important;
    padding-top: 32px !important;
    border-top: 1px solid rgba(255, 255, 255, .1) !important;
    width: 100%;
    max-width: 780px !important;
}

.hm-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px !important;
}

.hm-hero-stat strong {
    font-size: 32px !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
    color: var(--hm-teal) !important;
    line-height: 1.1;
}

.hm-hero-stat span {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase;
    color: rgba(180, 210, 230, .85) !important;
}

/* ── Upgraded Device Canvas (Enhanced visual depth & bigger readable text) ── */
.hm-device-canvas {
    height: 380px !important;
    margin-top: 50px !important;
    border: 1px solid rgba(39, 212, 186, .2) !important;
    border-radius: 26px !important;
    background: radial-gradient(ellipse 50% 90% at 50% 50%, rgba(39, 212, 186, .12), transparent 85%), linear-gradient(180deg, #0a1932 0%, #071224 100%) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1) !important;
}

.hm-device-node {
    width: 250px !important;
    min-height: 92px !important;
    padding: 16px 18px !important;
    gap: 15px !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 18px !important;
    background: rgba(11, 25, 52, .92) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 20px rgba(39, 212, 186, .08) !important;
    backdrop-filter: blur(16px) !important;
}

.hm-device-node>span {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    flex-shrink: 0;
}

.hm-device-node svg {
    width: 22px !important;
    height: 22px !important;
}

.hm-device-node small {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    color: #7dd3fc !important;
}

.hm-device-node b {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.hm-device-node em {
    font-size: 11px !important;
    color: var(--hm-teal) !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
}

.hm-device-left-top,
.hm-device-right-top {
    top: 12% !important;
}

.hm-device-left-bottom,
.hm-device-right-bottom {
    bottom: 12% !important;
}

.hm-device-left-top,
.hm-device-left-bottom {
    left: 5% !important;
}

.hm-device-right-top,
.hm-device-right-bottom {
    right: 5% !important;
}

.hm-device-hub {
    width: 230px !important;
    height: 200px !important;
    border: 1.5px solid rgba(39, 212, 186, .35) !important;
    border-radius: 28px !important;
    background: rgba(8, 22, 46, .94) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .45), 0 0 50px rgba(39, 212, 186, .18) !important;
}

.hm-device-hub .hm-hub-symbol {
    width: 56px !important;
    height: 56px !important;
    font-size: 32px !important;
    margin-bottom: 8px !important;
    border-radius: 18px !important;
    background: rgba(39, 212, 186, .18) !important;
    box-shadow: 0 0 20px rgba(39, 212, 186, .25) !important;
}

.hm-device-hub b {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -.02em !important;
}

.hm-device-hub small {
    margin-top: 4px !important;
    font-size: 9.5px !important;
    letter-spacing: .18em !important;
    color: #7dd3fc !important;
    font-weight: 800 !important;
}

.hm-device-hub i {
    margin-top: 10px !important;
    font-size: 11px !important;
    color: rgba(220, 240, 255, .75) !important;
    font-style: normal !important;
    background: rgba(255, 255, 255, .06) !important;
    padding: 3px 10px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
}
/* ── Typography Enhancements (Larger Body Text) ── */
.hospitalms-wrap {
    font-size: 19px !important;
}

.hm-capability p,
.hm-capability-featured p,
.hm-role-copy p,
.hm-faq-layout p,
.hm-how-grid p,
.hm-section-heading p,
.hm-usecase-layout p,
.hm-domain-copy p {
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.hm-capability-list li,
.hm-role-list li,
.hm-domain-checklist li,
.hm-faq-list details p {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.hm-plan-highlights li {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
}
/* ── Mobile Responsive Refinements ── */
@media (max-width: 780px) {
    .hm-flow-track {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-top: 28px !important;
    }

    .hm-flow-connector {
        display: none !important;
    }

    .hm-flow-step {
        width: 100% !important;
        min-height: auto !important;
        padding: 20px !important;
    }

    /* Prevent hm-domain-visual from overflowing screen */
    .hm-domain-visual {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .hm-domain-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 16px !important;
        box-sizing: border-box !important;
    }

    .hm-domain-input-preview {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        word-break: break-all !important;
    }

    .hm-domain-input-preview strong {
        font-size: 13px !important;
    }

    .hm-dns-table {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .hm-dns-row {
        grid-template-columns: 50px 65px 1fr 65px !important;
        gap: 6px !important;
        font-size: 10px !important;
    }

    .hm-dns-row code {
        font-size: 10px !important;
        padding: 2px 4px !important;
        word-break: break-all !important;
    }

    .hm-domain-foot {
        flex-direction: column !important;
        gap: 6px !important;
        align-items: flex-start !important;
        font-size: 10px !important;
    }
}

/* ── Mobile Responsive: Hero ── */
@media (max-width: 768px) {
    .hm-hero {
        padding-top: 40px !important;
        overflow: hidden;
    }

    .hm-hero-grid {
        min-height: auto !important;
        padding: 0 0 24px !important;
    }

    .hm-hero-copy {
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hm-hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .hm-hero-actions .hm-button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .hm-hero-stats {
        gap: 16px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: space-around !important;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100% !important;
    }

    .hm-hero-stats::-webkit-scrollbar { display: none; }

    .hm-hero-stat {
        flex-shrink: 0;
        min-width: 56px;
    }

    .hm-hero-stat strong {
        font-size: 22px !important;
    }

    .hm-hero-stat span {
        font-size: 10px !important;
        white-space: nowrap;
    }
}

/* ── Mobile Responsive: Device Canvas ── */
@media (max-width: 768px) {
    .hm-device-canvas {
        height: auto !important;
        min-height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 16px 12px !important;
        margin-top: 28px !important;
        overflow: visible !important;
    }

    .hm-device-lines {
        display: none !important;
    }

    .hm-device-node {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 320px !important;
        min-height: 64px !important;
        padding: 12px 14px !important;
        gap: 12px !important;
        margin: 0 auto !important;
    }

    .hm-device-node > span {
        width: 38px !important;
        height: 38px !important;
    }

    .hm-device-node svg {
        width: 18px !important;
        height: 18px !important;
    }

    .hm-device-node small { font-size: 9px !important; }
    .hm-device-node b { font-size: 12px !important; }
    .hm-device-node em { font-size: 10px !important; }

    .hm-device-hub {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        min-height: 100px !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 14px !important;
        padding: 16px !important;
        margin: 4px auto !important;
        border-radius: 18px !important;
    }

    .hm-hub-ring { display: none !important; }

    .hm-device-hub .hm-hub-symbol {
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }

    .hm-device-hub b { font-size: 14px !important; }
    .hm-device-hub small { font-size: 8px !important; letter-spacing: .12em !important; margin-top: 2px !important; }
    .hm-device-hub i {
        font-size: 9px !important;
        margin-top: 6px !important;
        padding: 2px 8px !important;
    }

    .hm-device-left-top,
    .hm-device-left-bottom,
    .hm-device-right-top,
    .hm-device-right-bottom {
        position: relative !important;
        inset: auto !important;
    }
}

/* ── Mobile Responsive: Domain Copy overflow fix ── */
@media (max-width: 768px) {
    .hm-custom-domain-section {
        overflow: hidden !important;
    }

    .hm-domain-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .hm-domain-copy {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .hm-domain-copy h2 {
        font-size: clamp(22px, 6vw, 32px) !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .hm-domain-copy p {
        font-size: 14px !important;
    }

    .hm-domain-checklist {
        gap: 10px !important;
    }

    .hm-domain-checklist li {
        font-size: 13px !important;
    }
}

/* ── Mobile Responsive: Choice Group smaller ── */
@media (max-width: 768px) {
    .hm-choice-group,
    .hm-billing-toggle {
        gap: 2px !important;
        padding: 3px !important;
        border-radius: 10px !important;
    }

    .hm-choice-button,
    .hm-billing-toggle button {
        min-height: 28px !important;
        padding: 4px 7px !important;
        font-size: 8.5px !important;
        border-radius: 7px !important;
        flex: 1 !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .hm-choice-button span,
    .hm-billing-toggle button span {
        display: none !important;
    }
}

/* ── Mobile Responsive: Hide browser address bar ── */
@media (max-width: 768px) {
    .hm-browser-address {
        display: none !important;
    }

    .hm-preview-bar {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
}
