/* Humanize AI service page — scoped styles */
.humanize-ai-page {
    --hmi-primary: #7a3cff;
    --hmi-primary-dark: #5124c7;
    --hmi-secondary: #1769e0;
    --hmi-ink: #17233c;
    --hmi-muted: #667085;
    --hmi-soft: #f6f4ff;
    --hmi-border: rgba(58, 39, 112, .12);
    --hmi-white: #fff;
    --hmi-shadow: 0 24px 70px rgba(61, 38, 123, .12);
    color: var(--hmi-ink);
    overflow: hidden;
    background: #fff;
    font-family: var(--firstFont);
}

.humanize-ai-page button,
.humanize-ai-page input,
.humanize-ai-page textarea,
.humanize-ai-page select {
    font-family: var(--firstFont);
}

.humanize-ai-page *,
.humanize-ai-page *::before,
.humanize-ai-page *::after {
    box-sizing: border-box;
}

.humanize-ai-page a {
    text-decoration: none;
}

.humanize-ai-page button,
.humanize-ai-page a {
    -webkit-tap-highlight-color: transparent;
}

.humanize-ai-page :focus-visible {
    outline: 3px solid rgba(23, 105, 224, .38);
    outline-offset: 4px;
}

.hmi-breadcrumb {
    padding: 22px 0 0;
    background: linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}

.hmi-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: .9rem;
    color: var(--hmi-muted);
}

.hmi-breadcrumb li + li::before {
    content: "/";
    margin-left: 8px;
    color: #b4adc7;
}

.hmi-breadcrumb a {
    color: var(--hmi-primary-dark);
}

.hmi-hero {
    position: relative;
    isolation: isolate;
    padding: 72px 0 88px;
    background:
        radial-gradient(circle at 88% 12%, rgba(122, 60, 255, .12), transparent 28%),
        radial-gradient(circle at 8% 84%, rgba(23, 105, 224, .09), transparent 30%),
        linear-gradient(180deg, #fff 0%, #faf9ff 100%);
}

.hmi-hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hmi-hero-orb-one {
    width: 300px;
    height: 300px;
    top: 4%;
    left: -170px;
    background: rgba(122, 60, 255, .08);
}

.hmi-hero-orb-two {
    width: 220px;
    height: 220px;
    right: -110px;
    bottom: 2%;
    background: rgba(23, 105, 224, .07);
}

.hmi-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
    gap: 62px;
}

.hmi-eyebrow,
.hmi-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--hmi-primary-dark);
    font-weight: 800;
    font-size: .92rem;
}

.hmi-eyebrow {
    padding: 9px 14px;
    border: 1px solid rgba(122, 60, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 8px 25px rgba(83, 37, 176, .08);
}

.hmi-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #121c32;
    font-size: clamp(2.15rem, 4.5vw, 4.15rem);
    font-weight: 900;
    line-height: 1.24;
    letter-spacing: -.035em;
}

.hmi-hero-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: #596579;
    font-size: 1.08rem;
    line-height: 2.05;
}

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

.hmi-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.hmi-btn:hover {
    transform: translateY(-2px);
}

.hmi-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--hmi-primary), var(--hmi-secondary));
    box-shadow: 0 16px 34px rgba(89, 49, 205, .24);
}

.hmi-btn-primary:hover {
    color: #fff;
    box-shadow: 0 20px 38px rgba(89, 49, 205, .31);
}

.hmi-btn-secondary {
    color: var(--hmi-primary-dark);
    border-color: rgba(88, 49, 190, .16);
    background: #fff;
}

.hmi-btn-secondary:hover {
    color: var(--hmi-primary-dark);
    border-color: rgba(88, 49, 190, .32);
    box-shadow: 0 12px 28px rgba(69, 45, 131, .1);
}

.hmi-btn-white {
    color: #46219c;
    background: #fff;
    box-shadow: 0 14px 34px rgba(31, 15, 75, .2);
}

.hmi-btn-white:hover {
    color: #46219c;
}

.hmi-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 0;
    margin: 25px 0 0;
    list-style: none;
    color: #4e5b70;
    font-size: .92rem;
}

.hmi-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hmi-hero-trust i {
    color: #6735dd;
}

.hmi-hero-visual {
    position: relative;
}

.hmi-editor-card {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(112, 72, 211, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--hmi-shadow);
    backdrop-filter: blur(12px);
}

.hmi-editor-card::before {
    content: "";
    position: absolute;
    inset: -12px 26px auto;
    height: 28px;
    z-index: -1;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, rgba(122, 60, 255, .28), rgba(23, 105, 224, .18));
    filter: blur(12px);
}

.hmi-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 2px 3px 16px;
    border-bottom: 1px solid #ece8f5;
}

.hmi-editor-toolbar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d9d4e6;
}

.hmi-editor-toolbar b {
    margin-right: auto;
    color: #7b748c;
    font-size: .8rem;
    font-weight: 700;
}

.hmi-editor-row {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    margin-top: 18px;
    padding: 17px;
    border-radius: 17px;
}

.hmi-editor-row p {
    margin: 0;
    line-height: 2;
    font-size: .93rem;
}

.hmi-editor-row-muted {
    color: #8a8495;
    border: 1px dashed #ded8ea;
    background: #faf9fc;
}

.hmi-editor-row-active {
    color: #27344c;
    border: 1px solid rgba(92, 54, 193, .14);
    background: linear-gradient(135deg, rgba(122, 60, 255, .07), rgba(23, 105, 224, .055));
}

.hmi-line-number {
    color: #aaa2b8;
    font-family: monospace;
    font-size: .75rem;
    direction: ltr;
}

.hmi-transform-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin: 10px auto -8px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--hmi-primary), var(--hmi-secondary));
    box-shadow: 0 10px 25px rgba(83, 41, 187, .22);
}

.hmi-editor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hmi-editor-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    color: #5033a4;
    background: #f0ebff;
    font-size: .76rem;
    font-weight: 800;
}

.hmi-section {
    padding: 92px 0;
}

.hmi-section-heading {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.hmi-section-heading > span,
.hmi-lab-copy > span,
.hmi-warning-box > div > span,
.hmi-final-card > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--hmi-primary);
    font-size: .88rem;
    font-weight: 900;
}

.hmi-section-heading h2,
.hmi-lab-copy h2,
.hmi-warning-box h2,
.hmi-cost-layout h2,
.hmi-checklist-shell h2,
.hmi-final-card h2 {
    margin: 0;
    color: #142039;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.02em;
}

.hmi-section-heading p,
.hmi-lab-copy p,
.hmi-warning-box p,
.hmi-checklist-shell p,
.hmi-final-card p {
    margin: 15px 0 0;
    color: var(--hmi-muted);
    line-height: 2;
}

.hmi-card-grid {
    display: grid;
    gap: 20px;
}

.hmi-card-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.hmi-info-card {
    padding: 30px;
    border: 1px solid var(--hmi-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(38, 30, 76, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hmi-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(109, 60, 218, .25);
    box-shadow: 0 24px 58px rgba(38, 30, 76, .1);
}

.hmi-card-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--hmi-primary), var(--hmi-secondary));
    box-shadow: 0 12px 26px rgba(88, 43, 197, .2);
    font-size: 1.25rem;
}

.hmi-info-card h3,
.hmi-feature-card h3,
.hmi-timeline h3,
.hmi-use-grid h3,
.hmi-related-grid h3 {
    margin: 0 0 10px;
    color: #1b2944;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.65;
}

.hmi-info-card p,
.hmi-feature-card p,
.hmi-timeline p,
.hmi-use-grid p {
    margin: 0;
    color: var(--hmi-muted);
    line-height: 1.95;
    font-size: .94rem;
}

.hmi-lab {
    background: #f7f5fc;
}

.hmi-lab-shell {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 42px;
    padding: 46px;
    border: 1px solid rgba(94, 54, 190, .12);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--hmi-shadow);
}

.hmi-tab-list {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    margin-top: 22px;
    border-radius: 14px;
    background: #f2eff9;
}

.hmi-tab {
    min-height: 44px;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    color: #665d77;
    background: transparent;
    font-weight: 800;
}

.hmi-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--hmi-primary), var(--hmi-secondary));
    box-shadow: 0 8px 20px rgba(80, 41, 179, .19);
}

.hmi-lab-output {
    min-height: 330px;
    padding: 28px;
    border: 1px solid #e7e2f1;
    border-radius: 22px;
    background:
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)),
        repeating-linear-gradient(0deg, transparent 0 31px, #ebe7f1 31px 32px);
}

.hmi-output-label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #5530b3;
    background: #eee8ff;
    font-size: .78rem;
    font-weight: 900;
}

.hmi-tab-panel p {
    margin: 0;
    color: #27354e;
    font-size: 1rem;
    line-height: 2.15;
}

.hmi-tab-panel ul {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.hmi-tab-panel li {
    position: relative;
    padding-right: 22px;
    margin-top: 10px;
    color: #657085;
    font-size: .9rem;
}

.hmi-tab-panel li::before {
    content: "";
    position: absolute;
    top: .65em;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hmi-primary);
}

.hmi-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.hmi-feature-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--hmi-border);
    border-radius: 20px;
    background: #fff;
}

.hmi-feature-card > i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: var(--hmi-primary-dark);
    background: #f0ebff;
    font-size: 1.15rem;
}

.hmi-process {
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.13), transparent 26%),
        linear-gradient(135deg, #3d1d8e 0%, #6432cf 48%, #1769e0 100%);
}

.hmi-section-heading-light h2,
.hmi-section-heading-light > span {
    color: #fff;
}

.hmi-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: none;
}

.hmi-timeline li {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(8px);
}

.hmi-timeline li > span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #4e259d;
    background: #fff;
    font-size: .86rem;
    font-weight: 900;
}

.hmi-timeline h3,
.hmi-timeline p {
    color: #fff;
}

.hmi-timeline p {
    opacity: .84;
}

.hmi-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 26px;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    background: rgba(14, 8, 37, .18);
}

.hmi-inline-cta strong {
    display: block;
    font-size: 1.05rem;
}

.hmi-inline-cta p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .76);
}

.hmi-use-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hmi-use-grid article {
    padding: 26px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #faf9ff);
    box-shadow: inset 0 0 0 1px var(--hmi-border);
}

.hmi-use-grid i {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--hmi-primary);
    font-size: 1.55rem;
}

.hmi-warning {
    padding-top: 20px;
}

.hmi-warning-box {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 24px;
    align-items: start;
    padding: 34px;
    border: 1px solid rgba(211, 139, 18, .22);
    border-radius: 26px;
    background: linear-gradient(135deg, #fffbef, #fff);
}

.hmi-warning-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 19px;
    color: #9e6500;
    background: #fff0bf;
    font-size: 1.45rem;
}

.hmi-warning-box > div > span {
    color: #9e6500;
}

.hmi-cost-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 58px;
    align-items: start;
}

.hmi-section-heading-start {
    margin: 0;
    text-align: right;
}

.hmi-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--hmi-primary-dark);
    font-weight: 900;
}

.hmi-cost-list {
    display: grid;
    gap: 12px;
}

.hmi-cost-list > div {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid var(--hmi-border);
    border-radius: 16px;
    background: #fff;
}

.hmi-cost-list span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: #5c32bd;
    background: #f0ebff;
    font-size: .82rem;
    font-weight: 900;
}

.hmi-cost-list p {
    margin: 0;
    color: #5e687a;
    line-height: 1.8;
}

.hmi-cost-list strong {
    color: #202d46;
}

.hmi-checklist {
    background: #f7f5fc;
}

.hmi-checklist-shell {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 42px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--hmi-shadow);
}

.hmi-checklist-shell ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.hmi-checklist-shell li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    color: #4f5c70;
    border-bottom: 1px solid #eeeaf4;
    line-height: 1.8;
}

.hmi-checklist-shell li:last-child {
    border-bottom: 0;
}

.hmi-checklist-shell li i {
    margin-top: 5px;
    color: var(--hmi-primary);
}

.hmi-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hmi-related-grid a {
    position: relative;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--hmi-border);
    border-radius: 20px;
    color: inherit;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hmi-related-grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(41, 29, 82, .1);
}

.hmi-related-grid span {
    color: var(--hmi-primary);
    font-size: .78rem;
    font-weight: 900;
}

.hmi-related-grid h3 {
    margin-top: 14px;
}

.hmi-related-grid i {
    margin-top: auto;
    color: var(--hmi-primary-dark);
}

.hmi-service-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #667085;
}

.hmi-service-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #5431ab;
    background: #f0ebff;
    font-size: .86rem;
    font-weight: 800;
}

.hmi-faq {
    background: #faf9fd;
}

.hmi-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.hmi-accordion-item {
    margin-bottom: 12px;
    border: 1px solid var(--hmi-border);
    border-radius: 17px;
    background: #fff;
    overflow: hidden;
}

.hmi-accordion-item h3 {
    margin: 0;
}

.hmi-accordion-item button {
    width: 100%;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border: 0;
    color: #1e2c46;
    background: transparent;
    text-align: right;
    font-weight: 900;
}

.hmi-accordion-item button i {
    transition: transform .2s ease;
}

.hmi-accordion-item button[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.hmi-accordion-item [role="region"] {
    padding: 0 22px 20px;
}

.hmi-accordion-item [role="region"] p {
    margin: 0;
    color: var(--hmi-muted);
    line-height: 2;
}

.hmi-final-cta {
    padding: 90px 0;
    background: #fff;
}

.hmi-final-card {
    position: relative;
    padding: 54px;
    overflow: hidden;
    border-radius: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 12% 20%, rgba(255,255,255,.15), transparent 20%),
        linear-gradient(135deg, #3f1b91, #7137e2 50%, #1769e0);
    box-shadow: 0 30px 70px rgba(60, 30, 137, .25);
}

.hmi-final-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -110px;
    bottom: -150px;
    border: 40px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.hmi-final-card > span,
.hmi-final-card h2,
.hmi-final-card p {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hmi-final-card p {
    opacity: .82;
}

.hmi-final-card > div {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hmi-final-card .hmi-btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
}

.hmi-final-card .hmi-btn-secondary:hover {
    color: #fff;
}

[data-hmi-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

[data-hmi-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1199.98px) {
    .hmi-hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 34px;
    }

    .hmi-timeline,
    .hmi-use-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .hmi-hero {
        padding: 54px 0 70px;
    }

    .hmi-hero-grid,
    .hmi-lab-shell,
    .hmi-cost-layout,
    .hmi-checklist-shell {
        grid-template-columns: 1fr;
    }

    .hmi-hero-content {
        text-align: center;
    }

    .hmi-hero h1,
    .hmi-hero-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .hmi-hero-actions,
    .hmi-hero-trust {
        justify-content: center;
    }

    .hmi-hero-visual {
        max-width: 650px;
        margin: 0 auto;
    }

    .hmi-card-grid-three,
    .hmi-related-grid {
        grid-template-columns: 1fr;
    }

    .hmi-feature-grid {
        grid-template-columns: 1fr;
    }

    .hmi-section-heading-start {
        text-align: center;
        margin: 0 auto;
    }

    .hmi-related-grid a {
        min-height: 170px;
    }
}

@media (max-width: 767.98px) {
    .hmi-breadcrumb {
        padding-top: 16px;
    }

    .hmi-hero {
        padding: 42px 0 58px;
    }

    .hmi-hero h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
        line-height: 1.35;
    }

    .hmi-hero-lead {
        font-size: 1rem;
        line-height: 1.95;
        text-align: justify;
    }

    .hmi-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hmi-btn {
        width: 100%;
    }

    .hmi-hero-trust {
        display: grid;
        justify-content: start;
        text-align: right;
    }

    .hmi-editor-card {
        padding: 13px;
        border-radius: 21px;
    }

    .hmi-editor-row {
        padding: 14px;
    }

    .hmi-section {
        padding: 66px 0;
    }

    .hmi-section-heading {
        margin-bottom: 30px;
    }

    .hmi-section-heading h2,
    .hmi-lab-copy h2,
    .hmi-warning-box h2,
    .hmi-cost-layout h2,
    .hmi-checklist-shell h2,
    .hmi-final-card h2 {
        font-size: 1.8rem;
    }

    .hmi-section-heading p,
    .hmi-lab-copy p,
    .hmi-warning-box p,
    .hmi-checklist-shell p {
        text-align: justify;
    }

    .hmi-info-card,
    .hmi-lab-shell,
    .hmi-checklist-shell {
        padding: 24px;
    }

    .hmi-lab-shell {
        gap: 28px;
    }

    .hmi-tab-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hmi-lab-output {
        min-height: 0;
        padding: 21px;
    }

    .hmi-timeline,
    .hmi-use-grid {
        grid-template-columns: 1fr;
    }

    .hmi-inline-cta {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .hmi-warning-box {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .hmi-warning-icon {
        width: 54px;
        height: 54px;
    }

    .hmi-cost-layout {
        gap: 34px;
    }

    .hmi-cost-list > div {
        grid-template-columns: 42px 1fr;
    }

    .hmi-service-links {
        justify-content: center;
    }

    .hmi-final-card {
        padding: 38px 22px;
        border-radius: 24px;
    }

    .hmi-final-card > div {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hmi-accordion-item button {
        min-height: 62px;
        padding: 16px 18px;
        font-size: .95rem;
        line-height: 1.8;
    }
}

@media (hover: none) {
    .hmi-info-card:hover,
    .hmi-related-grid a:hover,
    .hmi-btn:hover {
        transform: none;
    }

    .hmi-info-card:active,
    .hmi-related-grid a:active,
    .hmi-btn:active {
        transform: scale(.985);
    }
}

@media (prefers-reduced-motion: reduce) {
    .humanize-ai-page *,
    .humanize-ai-page *::before,
    .humanize-ai-page *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    [data-hmi-reveal] {
        opacity: 1;
        transform: none;
    }
}


/* ===== Humanize AI V2: compact typography, AI visual, stats and testimonials ===== */

.hmi-hero {
    padding-top: 56px;
    padding-bottom: 72px;
}

.hmi-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 42px;
}

.hmi-hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 17px;
}

.hmi-hero-badges .hmi-eyebrow {
    margin-bottom: 0;
}

.hmi-language-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(23, 105, 224, .15);
    border-radius: 999px;
    color: #1769e0;
    background: rgba(238, 247, 255, .9);
    font-size: .78rem;
    font-weight: 800;
}

.hmi-hero h1 {
    max-width: 680px;
    font-size: clamp(2rem, 3.35vw, 3.2rem);
    line-height: 1.42;
    letter-spacing: -.025em;
}

.hmi-hero-lead {
    max-width: 700px;
    margin-top: 18px;
    font-size: 1.02rem;
    line-height: 2;
}

.hmi-section-heading h2,
.hmi-lab-copy h2,
.hmi-warning-box h2,
.hmi-cost-layout h2,
.hmi-checklist-shell h2,
.hmi-final-card h2 {
    font-size: clamp(1.65rem, 2.45vw, 2.35rem);
    line-height: 1.65;
}

/* AI neural element */
.hmi-hero-visual {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.hmi-ai-orbit {
    position: absolute;
    z-index: 4;
    top: -22px;
    left: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hmi-ai-core {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 32% 25%, rgba(255,255,255,.38), transparent 28%),
        linear-gradient(135deg, #7a3cff, #1769e0);
    box-shadow:
        0 20px 42px rgba(67, 42, 160, .28),
        0 0 0 10px rgba(122, 60, 255, .07);
    transform: translate(-50%, -50%) rotate(-5deg);
}

.hmi-ai-core i {
    font-size: 2rem;
}

.hmi-ai-core small {
    position: absolute;
    right: 9px;
    bottom: 7px;
    font: 800 .58rem/1 sans-serif;
    letter-spacing: .06em;
}

.hmi-ai-orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(122, 60, 255, .2);
    border-radius: 50%;
}

.hmi-ai-orbit-ring-one {
    animation: hmiOrbitSpin 13s linear infinite;
}

.hmi-ai-orbit-ring-two {
    inset: 20px;
    border-style: dashed;
    border-color: rgba(23, 105, 224, .27);
    animation: hmiOrbitSpinReverse 9s linear infinite;
}

.hmi-ai-node {
    position: absolute;
    z-index: 3;
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #6c3ce7;
    box-shadow: 0 5px 13px rgba(63, 38, 140, .24);
}

.hmi-ai-node-one {
    top: 8px;
    left: 48%;
    animation: hmiNodePulse 2.3s ease-in-out infinite;
}

.hmi-ai-node-two {
    right: 11px;
    bottom: 40px;
    background: #1769e0;
    animation: hmiNodePulse 2.3s .5s ease-in-out infinite;
}

.hmi-ai-node-three {
    left: 10px;
    bottom: 43px;
    background: #9a48f5;
    animation: hmiNodePulse 2.3s 1s ease-in-out infinite;
}

.hmi-ai-signal {
    position: absolute;
    z-index: 5;
    padding: 6px 10px;
    border: 1px solid rgba(93, 55, 193, .13);
    border-radius: 999px;
    color: #5b526f;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(62, 40, 120, .09);
    font-size: .66rem;
    font-weight: 800;
    white-space: nowrap;
}

.hmi-ai-signal-input {
    top: 18px;
    right: -17px;
}

.hmi-ai-signal-output {
    left: -28px;
    bottom: 21px;
    color: #1769e0;
}

.hmi-editor-card {
    z-index: 2;
    width: 100%;
    margin-top: 72px;
}

@keyframes hmiOrbitSpin {
    to { transform: rotate(360deg); }
}

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

@keyframes hmiNodePulse {
    0%, 100% { transform: scale(.82); opacity: .7; }
    50% { transform: scale(1.25); opacity: 1; }
}

/* More action and hover states */
.hmi-btn {
    position: relative;
    overflow: hidden;
}

.hmi-btn::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -75px;
    width: 45px;
    height: 140%;
    background: rgba(255,255,255,.27);
    transform: rotate(18deg);
    transition: right .55s ease;
}

.hmi-btn:hover::after {
    right: calc(100% + 35px);
}

.hmi-feature-card,
.hmi-use-grid article,
.hmi-cost-list > div,
.hmi-related-grid a,
.hmi-warning-box,
.hmi-stat-card,
.hmi-testimonial-card {
    will-change: transform;
}

.hmi-feature-card,
.hmi-use-grid article,
.hmi-cost-list > div {
    position: relative;
    overflow: hidden;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.hmi-feature-card::after,
.hmi-use-grid article::after,
.hmi-cost-list > div::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7a3cff, #1769e0);
    transition: width .38s ease;
}

@media (hover: hover) and (pointer: fine) {
    .hmi-feature-card:hover,
    .hmi-use-grid article:hover,
    .hmi-cost-list > div:hover {
        transform: translateY(-7px);
        border-color: rgba(122, 60, 255, .25);
        box-shadow: 0 18px 42px rgba(54, 35, 111, .12);
    }

    .hmi-feature-card:hover::after,
    .hmi-use-grid article:hover::after,
    .hmi-cost-list > div:hover::after {
        width: 100%;
    }

    .hmi-use-grid article:hover > i,
    .hmi-feature-card:hover > i {
        transform: translateY(-4px) rotate(-5deg) scale(1.08);
    }

    .hmi-related-grid a:hover {
        transform: translateY(-8px) rotate(.25deg);
    }

    .hmi-warning-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 52px rgba(69, 44, 134, .12);
    }
}

.hmi-use-grid article > i,
.hmi-feature-card > i {
    transition: transform .35s ease, color .35s ease;
}

.hmi-touch-active {
    transform: translateY(-5px) !important;
    border-color: rgba(122, 60, 255, .27) !important;
    box-shadow: 0 16px 36px rgba(54, 35, 111, .12) !important;
}

/* Stats */
.hmi-stats-section {
    position: relative;
    padding: 78px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(34, 211, 238, .13), transparent 25%),
        radial-gradient(circle at 88% 82%, rgba(167, 139, 250, .16), transparent 30%),
        #f8f7ff;
}

.hmi-stats-shell {
    position: relative;
    padding: 40px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 32%),
        linear-gradient(135deg, #5124c7, #6d32dd 48%, #1769e0);
    box-shadow: 0 25px 65px rgba(54, 29, 119, .22);
}

.hmi-stats-shell::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -20%;
    right: -28%;
    width: 28%;
    height: 140%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform: skewX(-18deg);
    animation: hmiStatsShine 6.5s ease-in-out infinite;
}

.hmi-stats-heading {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.hmi-stats-heading > span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: #e8e2ff;
    background: rgba(255,255,255,.1);
    font-size: .78rem;
    font-weight: 800;
}

.hmi-stats-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    font-weight: 900;
    line-height: 1.65;
}

.hmi-stats-heading p {
    margin: 10px auto 0;
    color: rgba(255,255,255,.75);
    line-height: 2;
}

.hmi-stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.hmi-stat-card {
    position: relative;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 22px;
    text-align: center;
    background: rgba(255,255,255,.11);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.hmi-stat-card::after {
    content: "";
    position: absolute;
    top: -70px;
    left: -70px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    opacity: .4;
    transition: transform .4s ease, opacity .4s ease;
}

.hmi-stat-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 18px;
    color: #6d28d9;
    background: #fff;
    font-size: 1.35rem;
    box-shadow: 0 13px 28px rgba(28, 13, 80, .16);
    transition: transform .35s ease;
}

.hmi-stat-value {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    direction: rtl;
    color: #fff;
}

.hmi-stat-number {
    color: #fff;
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 1.35;
}

.hmi-stat-value > span {
    margin-right: 4px;
    color: #bae6fd;
    font-size: 1.25rem;
    font-weight: 900;
}

.hmi-stat-card h3 {
    position: relative;
    z-index: 2;
    margin: 4px 0 5px;
    color: #fff;
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.8;
}

.hmi-stat-card p {
    position: relative;
    z-index: 2;
    margin: auto 0 0;
    color: rgba(255,255,255,.7);
    font-size: .76rem;
    line-height: 1.9;
}

@media (hover: hover) and (pointer: fine) {
    .hmi-stat-card:hover {
        transform: translateY(-9px);
        border-color: rgba(255,255,255,.44);
        background: rgba(255,255,255,.17);
        box-shadow: 0 22px 44px rgba(27, 13, 72, .2);
    }

    .hmi-stat-card:hover::after {
        opacity: .7;
        transform: scale(1.35);
    }

    .hmi-stat-card:hover .hmi-stat-icon {
        transform: translateY(-4px) scale(1.08) rotate(-5deg);
    }
}

@keyframes hmiStatsShine {
    0%, 28% { right: -28%; }
    65%, 100% { right: 128%; }
}

/* Testimonials */
.hmi-testimonials-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 16%, rgba(122,60,255,.07), transparent 25%),
        radial-gradient(circle at 96% 82%, rgba(23,105,224,.07), transparent 27%),
        #fbfbfe;
}

.hmi-testimonials-heading {
    max-width: 790px;
}

.hmi-testimonials-slider {
    position: relative;
    padding: 4px 55px;
}

.hmi-testimonials-viewport {
    width: 100%;
    overflow: hidden;
}

.hmi-testimonials-track {
    display: flex;
    width: 100%;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
}

.hmi-testimonials-page {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 0 0 100%;
    gap: 18px;
    padding: 12px 2px 24px;
}

.hmi-testimonial-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 365px;
    flex-direction: column;
    padding: 25px 22px 22px;
    overflow: hidden;
    border: 1px solid #e7e1f1;
    border-radius: 23px;
    background:
        radial-gradient(circle at top right, rgba(122,60,255,.07), transparent 38%),
        #fff;
    box-shadow: 0 14px 38px rgba(42, 35, 70, .075);
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.hmi-testimonial-card::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #7a3cff, #d946ef, #1769e0);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s ease;
}

.hmi-testimonial-card::after {
    content: "";
    position: absolute;
    top: -85px;
    left: -85px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(122,60,255,.08);
    transition: transform .4s ease, opacity .4s ease;
}

.hmi-testimonial-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.hmi-testimonial-avatar {
    position: relative;
    display: grid;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 22px;
    background: linear-gradient(135deg, #ece5ff, #e4f3ff);
    box-shadow: 0 10px 25px rgba(74, 47, 143, .16);
    transition: transform .35s ease, box-shadow .35s ease;
}

.hmi-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hmi-testimonial-avatar-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #6535d8;
    font-weight: 900;
}

.hmi-testimonial-person {
    min-width: 0;
}

.hmi-testimonial-person h3 {
    margin: 0 0 5px;
    color: #27344c;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.7;
}

.hmi-testimonial-person span {
    color: #7a7488;
    font-size: .72rem;
    line-height: 1.8;
}

.hmi-testimonial-stars {
    position: relative;
    z-index: 2;
    display: flex;
    direction: ltr;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 15px;
    color: #f59e0b;
    font-size: .88rem;
}

.hmi-testimonial-card blockquote {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    margin: 0;
    color: #566074;
    font-size: .8rem;
    line-height: 2.2;
    text-align: justify;
    text-align-last: right;
}

.hmi-testimonial-quote {
    position: absolute;
    z-index: 1;
    left: 19px;
    bottom: 16px;
    color: rgba(122,60,255,.12);
    font-size: 2.4rem;
}

.hmi-testimonials-nav {
    position: absolute;
    z-index: 8;
    top: 50%;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    padding: 0;
    border: 1px solid #ddd0ff;
    border-radius: 14px;
    color: #6d32dd;
    background: #fff;
    box-shadow: 0 10px 25px rgba(71, 50, 130, .13);
    transform: translateY(-50%);
    transition: transform .3s ease, color .3s ease, background .3s ease, box-shadow .3s ease;
}

.hmi-testimonials-prev { right: 3px; }
.hmi-testimonials-next { left: 3px; }

.hmi-testimonials-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    gap: 3px;
    margin-top: 2px;
}

.hmi-testimonials-dot {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.hmi-testimonials-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8d1e6;
    transform: translate(50%, -50%);
    transition: width .3s ease, border-radius .3s ease, background .3s ease;
}

.hmi-testimonials-dot.is-active::before {
    width: 25px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7a3cff, #1769e0);
}

.hmi-testimonials-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid #ddd1f5;
    border-radius: 21px;
    background:
        radial-gradient(circle at left center, rgba(23,105,224,.1), transparent 27%),
        linear-gradient(135deg, #f6f1ff, #fff);
}

.hmi-testimonials-action strong {
    color: #2a3650;
    font-size: .96rem;
}

.hmi-testimonials-action p {
    margin: 6px 0 0;
    color: #6c7485;
    font-size: .82rem;
    line-height: 1.9;
}

@media (hover: hover) and (pointer: fine) {
    .hmi-testimonial-card:hover {
        transform: translateY(-8px);
        border-color: #d7c8fa;
        box-shadow: 0 23px 50px rgba(67,48,120,.14);
    }

    .hmi-testimonial-card:hover::before {
        transform: scaleX(1);
    }

    .hmi-testimonial-card:hover::after {
        transform: scale(1.3);
        opacity: .55;
    }

    .hmi-testimonial-card:hover .hmi-testimonial-avatar {
        transform: translateY(-4px) rotate(-3deg) scale(1.05);
        box-shadow: 0 15px 30px rgba(122,60,255,.2);
    }

    .hmi-testimonials-nav:hover {
        color: #fff;
        background: linear-gradient(135deg, #7a3cff, #1769e0);
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 14px 30px rgba(122,60,255,.25);
    }
}

@media (max-width: 991.98px) {
    .hmi-hero-grid {
        grid-template-columns: 1fr;
    }

    .hmi-hero-visual {
        min-height: 465px;
    }

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

    .hmi-testimonials-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hmi-hero {
        padding-top: 34px;
        padding-bottom: 52px;
    }

    .hmi-hero-badges {
        justify-content: center;
    }

    .hmi-hero h1 {
        font-size: clamp(1.8rem, 8.8vw, 2.35rem);
        line-height: 1.55;
    }

    .hmi-hero-visual {
        min-height: 445px;
    }

    .hmi-ai-orbit {
        top: -10px;
        width: 145px;
        height: 145px;
    }

    .hmi-ai-core {
        width: 68px;
        height: 68px;
        border-radius: 22px;
    }

    .hmi-ai-core i {
        font-size: 1.6rem;
    }

    .hmi-ai-signal {
        font-size: .58rem;
    }

    .hmi-ai-signal-input { right: -25px; }
    .hmi-ai-signal-output { left: -34px; }

    .hmi-editor-card {
        margin-top: 62px;
    }

    .hmi-stats-section {
        padding: 52px 0;
    }

    .hmi-stats-shell {
        padding: 25px 14px;
        border-radius: 23px;
    }

    .hmi-stats-grid {
        gap: 10px;
    }

    .hmi-stat-card {
        min-height: 203px;
        padding: 18px 8px 15px;
        border-radius: 17px;
    }

    .hmi-stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.05rem;
    }

    .hmi-stat-number {
        font-size: 1.65rem;
    }

    .hmi-stat-value > span {
        font-size: 1rem;
    }

    .hmi-stat-card h3 {
        font-size: .78rem;
    }

    .hmi-stat-card p {
        font-size: .62rem;
    }

    .hmi-testimonials-slider {
        padding: 0;
        padding-bottom: 48px;
    }

    .hmi-testimonials-page {
        grid-template-columns: 1fr;
        padding: 8px 1px 20px;
    }

    .hmi-testimonial-card {
        min-height: 350px;
        padding: 21px 17px 20px;
        border-radius: 19px;
    }

    .hmi-testimonials-nav {
        top: auto;
        bottom: 0;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .hmi-testimonials-prev {
        right: calc(50% - 47px);
    }

    .hmi-testimonials-next {
        left: calc(50% - 47px);
    }

    .hmi-testimonials-action {
        flex-direction: column;
        align-items: stretch;
        padding: 19px 17px;
        text-align: center;
    }

    .hmi-testimonials-action .hmi-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .hmi-language-badge {
        width: 100%;
        justify-content: center;
    }

    .hmi-stat-number {
        font-size: 1.45rem;
    }
}
