/* ================================ HOME BASE */
.home {
    font-family: var(--h-font-body);
    color: var(--h-text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    gap: var(--h-space-6);
}

.home * {
    box-sizing: border-box;
}

.home ion-icon {
    display: inline-flex;
}

.home > section {
    position: relative;
    border-radius: var(--h-border-radius-xl);
    padding: clamp(var(--h-space-8), 6vw, var(--h-space-11)) clamp(var(--h-space-6), 5vw, var(--h-space-10));
    margin-bottom: clamp(var(--h-space-8), 6vw, var(--h-space-11));
    overflow: hidden;
}

@media (max-width: 992px) {
    .home {
        padding: var(--h-space-4) var(--h-space-4) var(--h-space-7);
        gap: var(--h-space-4);
    }

    .home > section {
        border-radius: var(--h-border-radius-lg);
        padding: clamp(var(--h-space-7), 5vw, var(--h-space-9)) clamp(var(--h-space-5), 4vw, var(--h-space-8));
    }
}

@media (max-width: 640px) {
    .home > section {
        border-radius: var(--h-border-radius-md);
        padding: var(--h-space-7) var(--h-space-5);
    }
}

/* ================================ HOME HERO */
.home .hero {
    padding: 0;
    overflow: visible;
}

.home .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.home h1 {
    margin-top: var(--h-space-10);
    font-size: 2.8rem;
}

.home h1 .hero-title-accent {
    text-decoration: underline;
    text-decoration-color: var(--h-blue);
    text-decoration-thickness: 5px;
    text-underline-offset: .1em;
}

.home .hero-subtitle {
    font-size: 1.0625rem;
    color: var(--h-text-muted);
    margin-top: var(--h-space-6);
    margin-bottom: var(--h-space-7);
}

.home .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--h-space-3);
    margin-bottom: var(--h-space-7);
}

.home .hero-mockup {
    position: relative;
}

.home .hero-mockup-frame {
    background: var(--h-white);
    border-radius: 6px;
    box-shadow: 0 24px 48px -24px rgba(11, 31, 58, .18), 0 6px 16px -8px rgba(11, 31, 58, .06);
    border: 1px solid var(--h-border-color-light);
    overflow: hidden;
}

.home .hero-mockup-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    height: 38px;
    background: #1a76d1;
    color: var(--h-white);
    font-size: 11px;
    font-weight: 600;
}

.home .hero-mockup-topbar-brand {
    display: inline-flex;
    align-items: baseline;
    margin-right: 8px;
}

.home .hero-mockup-topbar-my {
    font-family: var(--h-font-accent);
    font-size: 14px;
    color: var(--h-white);
}

.home .hero-mockup-topbar-hr {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--h-white);
    letter-spacing: -0.04em;
    margin-left: 1px;
}

.home .hero-mockup-topbar-nav {
    display: flex;
    gap: 2px;
    flex: 1;
}

.home .hero-mockup-topbar-nav span {
    padding: 4px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: default;
    white-space: nowrap;
}

.home .hero-mockup-topbar-nav span.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--h-white);
}

.home .hero-mockup-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.home .hero-mockup-topbar-tasks {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.home .hero-mockup-topbar-tasks em {
    font-style: normal;
    background: #ef4444;
    color: var(--h-white);
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 700;
    margin-left: 4px;
}

.home .hero-mockup-topbar-user {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--h-white);
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home .hero-mockup-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 260px;
}

.home .hero-mockup-sidebar {
    background: var(--h-gray-50);
    border-right: 1px solid var(--h-border-color-lightest);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home .hero-mockup-sidebar-title {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--h-text-muted);
    padding: 6px 8px 4px;
}

.home .hero-mockup-sidebar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--h-text-muted);
    padding: 5px 8px;
    border-radius: 6px;
    cursor: default;
    white-space: nowrap;
}

.home .hero-mockup-sidebar-item ion-icon {
    font-size: 13px;
}

.home .hero-mockup-sidebar-item.is-active {
    background: var(--h-blue-pale);
    color: var(--h-blue);
    font-weight: 600;
}

.home .hero-mockup-content {
    padding: 14px 16px;
}

.home .hero-mockup-content-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.home .hero-mockup-content-title {
    font-family: var(--h-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--h-navy);
}

.home .hero-mockup-content-sub {
    font-size: 11px;
    color: var(--h-text-muted);
    margin-left: 8px;
}

.home .hero-mockup-content-export {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--h-teal);
    background: var(--h-teal-pale);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.home .hero-mockup-table {
    display: flex;
    flex-direction: column;
}

.home .hero-mockup-table-head {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr 1fr;
    gap: 8px;
    padding: 7px 6px;
    align-items: center;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--h-text-muted);
    border-bottom: 1px solid var(--h-border-color-lightest);
    padding-bottom: 6px;
}

.home .hero-mockup-table-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr 1fr;
    gap: 8px;
    padding: 7px 6px;
    align-items: center;
    font-size: 11px;
    border-bottom: 1px solid var(--h-border-color-lightest);
    color: var(--h-navy);
    font-weight: 500;
}

.home .hero-mockup-table-row:last-child {
    border-bottom: none;
}

.home .hero-mockup-table-col-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home .hero-mockup-table-col-end {
    text-align: right;
}

.home .hero-mockup-email {
    color: var(--h-text-muted);
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home .hero-mockup-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--h-white);
    flex-shrink: 0;
}

.home .hero-mockup-avatar-a {
    background: #2563eb;
}

.home .hero-mockup-avatar-b {
    background: #db2777;
}

.home .hero-mockup-avatar-c {
    background: #059669;
}

.home .hero-mockup-avatar-d {
    background: #d97706;
}

.home .hero-mockup-dept {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.home .hero-mockup-dept-hr {
    background: var(--h-blue-pale);
    color: var(--h-blue);
}

.home .hero-mockup-dept-prod {
    background: var(--h-orange-pale);
    color: var(--h-orange);
}

.home .hero-mockup-dept-sales {
    background: var(--h-teal-pale);
    color: var(--h-teal);
}

.home .hero-mockup-tag {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.home .hero-mockup-tag-ok {
    background: var(--h-teal-pale);
    color: var(--h-teal);
}

.home .hero-mockup-tag-pending {
    background: #fef3c7;
    color: #b45309;
}

@media (max-width: 992px) {
    .home .hero-inner {
        grid-template-columns: 1fr;
    }

    .home .hero-mockup {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .home .hero-mockup-frame {
        display: none;
    }

    .home h1 {
        margin-top: 0;
    }

    .home .hero {
        margin-bottom: 0;
    }
}


/* ================================ HOME TEAM */
.home .team {
    background: #eaf2fb;
}

.home .team::after {
    content: "my";
    position: absolute;
    top: 8%;
    right: 4%;
    font-family: var(--h-font-accent);
    font-size: clamp(120px, 18vw, 240px);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    color: rgba(255, 255, 255, .55);
}

.home .team .team-inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    position: relative;
    z-index: 1;
}

.home .team .team-intro {
    text-align: center;
}

.home .team .team-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    margin-bottom: var(--h-space-5);
    color: var(--h-navy);
    background: var(--h-white);
}

.home .team .team-title {
    font-family: var(--h-font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-4);
    line-height: 1.1;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.home .team .team-subtitle {
    font-size: 1rem;
    color: var(--h-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 0 var(--h-space-8);
}

.home .team .team-made-in {
    display: inline-block;
    color: var(--h-navy);
}

.home .team .team-made-in svg {
    display: block;
    width: 140px;
    height: auto;
}

.home .team .team-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--h-space-3);
}

.home .team .team-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: var(--h-space-4);
    background: var(--h-white);
    border-radius: var(--h-border-radius-md);
    padding: var(--h-space-5) var(--h-space-6);
    align-items: start;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .03);
}

.home .team .team-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--h-blue-pale);
    color: var(--h-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.home .team .team-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-1);
}

.home .team .team-item-text {
    font-size: .88rem;
    color: var(--h-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .home .team .team-inner {
        grid-template-columns: 1fr;
    }
}


/* ================================ HOME COMPARISON */
.home .comparison {
    background: var(--h-white);
    padding: 0;
    border-radius: 0;
}

.home .comparison .comparison-inner {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.home .comparison .comparison-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #ebf2fb;
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    margin-bottom: var(--h-space-5);
}

.home .comparison .comparison-title {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-4);
}

.home .comparison .comparison-subtitle {
    font-size: 1rem;
    color: var(--h-text-muted);
    line-height: 1.7;
    margin: 0;
}

.home .comparison .comparison-table {
    display: flex;
    flex-direction: column;
}

.home .comparison .comparison-row {
    display: grid;
    grid-template-columns: minmax(140px, .5fr) minmax(0, 1fr) minmax(0, 1fr);
    padding: var(--h-space-4) var(--h-space-2);
    border-bottom: 1px solid var(--h-gray-200);
    align-items: center;
}

.home .comparison .comparison-row:last-child {
    border-bottom: none;
}

.home .comparison .comparison-row-head {
    background: #eaf2fb;
    border-radius: 8px 32px 0 0;
    padding: var(--h-space-3) var(--h-space-4);
    border-bottom: 2px solid var(--h-gray-200);
}

.home .comparison .comparison-row-head .comparison-cell {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;

}

.home .comparison .comparison-row-head .comparison-cell-label {
    color: transparent;
}

.home .comparison .comparison-row-head .comparison-cell-us {
    color: var(--h-blue);
}

.home .comparison .comparison-cell-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--h-gray-500);
}

.home .comparison .comparison-cell-them {
    font-size: .88rem;
    color: var(--h-gray-500);
}

.home .comparison .comparison-cell-us {
    font-size: .92rem;
    color: var(--h-blue);
    font-weight: 600;
}

.home .comparison .comparison-row:not(.comparison-row-head) .comparison-cell-us::before {
    content: "✓";
    color: var(--h-teal);
    font-weight: 800;
    margin-right: var(--h-space-2);
}

.home .comparison .comparison-cell a {
    color: inherit;
    text-decoration: underline;
}

.home .comparison .comparison-cell a:hover {
    text-decoration: none;
}

@media (max-width: 992px) {
    .home .comparison .comparison-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home .comparison .comparison-row {
        grid-template-columns: 1fr;
        gap: var(--h-space-1);
    }

    .home .comparison .comparison-row-head {
        display: none;
    }
}

/* ================================ HOME PIXIE */
.home .pixie {
    background: #fff9e6;
}

.home .pixie::after {
    content: "my";
    position: absolute;
    top: -14%;
    right: 1%;
    font-family: var(--h-font-accent);
    font-size: clamp(120px, 18vw, 200px);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    color: rgb(255 255 255 / 94%);
}

.home .pixie .pixie-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.home .pixie .pixie-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    margin-bottom: var(--h-space-5);
    color: var(--h-pink-dark);
    background: var(--h-white);
}

.home .pixie .pixie-title {
    font-family: var(--h-font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-4);
    line-height: 1.1;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.home .pixie .pixie-subtitle {
    font-size: 1rem;
    color: var(--h-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 0 var(--h-space-6);
}

.home .pixie .pixie-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--h-space-7);
    display: flex;
    flex-direction: column;
    gap: var(--h-space-2);
}

.home .pixie .pixie-list li {
    position: relative;
    padding-left: var(--h-space-7);
    font-size: .92rem;
    color: var(--h-navy);
    line-height: 1.5;
}

.home .pixie .pixie-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--h-pink);
    color: var(--h-white);
    font-size: .7rem;
    font-weight: 700;
}

.home .pixie .pixie-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--h-space-2);
    background: var(--h-navy);
    color: var(--h-white);
    text-decoration: none;
    padding: var(--h-space-4) var(--h-space-6);
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s, transform .15s;
}

.home .pixie .pixie-btn:hover {
    background: var(--h-pink-dark);
    color: var(--h-white);
    transform: translateY(-1px);
}

.home .pixie .pixie-chat {
    background: var(--h-white);
    border-radius: var(--h-border-radius-lg);
    box-shadow: 0 25px 50px -20px rgba(15, 23, 42, .15);
    overflow: hidden;
    border: 1px solid var(--h-gray-200);
    display: flex;
    flex-direction: column;
    max-height: 560px;
}

.home .pixie .pixie-chat-head {
    background: var(--h-pink-soft);
    padding: var(--h-space-4) var(--h-space-5);
    display: flex;
    align-items: center;
    gap: var(--h-space-3);
    border-bottom: 1px solid var(--h-gray-200);
}

.home .pixie .pixie-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--h-pink);
    color: var(--h-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .pixie .pixie-chat-name {
    font-weight: 700;
    color: var(--h-navy);
    font-size: .93rem;
}

.home .pixie .pixie-chat-status {
    display: flex;
    align-items: center;
    gap: var(--h-space-2);
    font-size: .74rem;
    color: var(--h-text-muted);
}

.home .pixie .pixie-chat-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
}

.home .pixie .pixie-chat-body {
    padding: var(--h-space-4) var(--h-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--h-space-3);
    overflow-y: auto;
    flex: 1;
}

.home .pixie .pixie-chat-msg {
    display: flex;
}

.home .pixie .pixie-chat-msg-user {
    justify-content: flex-end;
}

.home .pixie .pixie-chat-msg-ai {
    justify-content: flex-start;
}

.home .pixie .pixie-chat-bubble {
    max-width: 85%;
    padding: var(--h-space-3) var(--h-space-4);
    border-radius: 14px;
    font-size: .84rem;
    line-height: 1.5;
}

.home .pixie .pixie-chat-msg-user .pixie-chat-bubble {
    background: var(--h-navy);
    color: var(--h-white);
    border-bottom-right-radius: 4px;
}

.home .pixie .pixie-chat-msg-ai .pixie-chat-bubble {
    background: var(--h-pink-soft);
    color: var(--h-navy);
    border-bottom-left-radius: 4px;
}

.home .pixie .pixie-chat-source {
    margin-top: var(--h-space-2);
    padding-top: var(--h-space-2);
    border-top: 1px dashed rgba(15, 23, 42, .15);
    font-size: .7rem;
    color: var(--h-text-muted);
}

.home .pixie .pixie-chat-doc {
    display: flex;
    align-items: center;
    gap: var(--h-space-3);
    background: var(--h-white);
    border: 1px solid var(--h-gray-200);
    padding: var(--h-space-2) var(--h-space-3);
    border-radius: 8px;
}

.home .pixie .pixie-chat-doc-title {
    font-size: .8rem;
    font-weight: 600;
    color: var(--h-navy);
}

.home .pixie .pixie-chat-doc-sub {
    font-size: .7rem;
    color: var(--h-text-muted);
}

.home .pixie .pixie-chat-input {
    border-top: 1px solid var(--h-gray-200);
    padding: var(--h-space-3) var(--h-space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .84rem;
    color: var(--h-gray-500);
    background: var(--h-gray-50);
}

.home .pixie .pixie-chat-send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--h-pink);
    color: var(--h-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 992px) {
    .home .pixie .pixie-inner {
        grid-template-columns: 1fr;
    }
}


/* ================================ HOME MODULES */
.home .modules {
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
}

.home .modules .modules-inner {
    position: relative;
    z-index: 1;
}

/* Intro: eyebrow + title on the left, subtitle on the right */
.home .modules .modules-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--h-space-6), 5vw, var(--h-space-10));
    align-items: end;
    margin-bottom: var(--h-space-8);
}

.home .modules .modules-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--h-blue);
    background: transparent;
    padding: 0;
    margin-bottom: var(--h-space-3);
}

.home .modules .modules-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1.05;
    margin: 0;
}

.home .modules .modules-subtitle {
    font-size: 1rem;
    color: var(--h-text-muted);
    line-height: 1.7;
    margin: 0;
    max-width: none;
}

.home .modules .modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--h-space-4);
}

.home .modules .modules-card {
    display: flex;
    flex-direction: column;
    gap: var(--h-space-2);
    padding: var(--h-space-5) var(--h-space-6) var(--h-space-4);
    background: var(--h-white);
    border: 1px solid var(--h-gray-200);
    border-radius: var(--h-border-radius-md);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home .modules .modules-card:hover {
    border-color: var(--h-border-color-light);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

/* Category accent — each card exposes --accent-bg/--accent-fg via data-category */
.home .modules .modules-card[data-category="core"]          { --accent-bg: var(--h-cat-core-subtle-bg);          --accent-fg: var(--h-cat-core-subtle-fg); }
.home .modules .modules-card[data-category="time"]          { --accent-bg: var(--h-cat-time-subtle-bg);          --accent-fg: var(--h-cat-time-subtle-fg); }
.home .modules .modules-card[data-category="people"]        { --accent-bg: var(--h-cat-people-subtle-bg);        --accent-fg: var(--h-cat-people-subtle-fg); }
.home .modules .modules-card[data-category="talent"]        { --accent-bg: var(--h-cat-talent-subtle-bg);        --accent-fg: var(--h-cat-talent-subtle-fg); }
.home .modules .modules-card[data-category="communication"] { --accent-bg: var(--h-cat-communication-subtle-bg); --accent-fg: var(--h-cat-communication-subtle-fg); }
.home .modules .modules-card[data-category="admin"]         { --accent-bg: var(--h-cat-admin-subtle-bg);         --accent-fg: var(--h-cat-admin-subtle-fg); }
.home .modules .modules-card[data-category="intelligence"]  { --accent-bg: var(--h-cat-intelligence-subtle-bg);  --accent-fg: var(--h-cat-intelligence-subtle-fg); }

.home .modules .modules-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-bg, #f8fafc);
    color: var(--accent-fg, inherit);
    font-size: 18px;
    margin-bottom: var(--h-space-2);
}

.home .modules .modules-card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.2px;
    color: var(--h-navy);
    margin: 0;
}

.home .modules .modules-card-text {
    font-size: .85rem;
    color: var(--h-text-muted);
    line-height: 1.55;
    margin: 0;
}

.home .modules .modules-card-more {
    background: var(--h-blue-pale);
    border-color: var(--h-blue-mid);
}

.home .modules .modules-card-more .modules-card-icon {
    background: var(--h-white);
    color: var(--h-blue);
}

.home .modules .modules-card-more .modules-card-title {
    color: var(--h-blue-dark);
}

.home .modules .modules-card-more .modules-card-text {
    color: var(--h-blue);
    font-weight: 600;
}

.home .modules .modules-card-more:hover {
    border-color: var(--h-blue);
    box-shadow: 0 6px 18px rgba(26, 118, 209, .12);
}

@media (max-width: 900px) {
    .home .modules .modules-intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home .modules .modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home .modules .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================ HOME ONBOARDING */
.home .onboarding {
    background: #e6f5ed;
}

.home .onboarding .onboarding-inner {
    position: relative;
    z-index: 1;
}

.home .onboarding .onboarding-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    margin-bottom: var(--h-space-5);
    color: #607a6c;
    background: var(--h-white);
}

.home .onboarding .onboarding-title {
    font-family: var(--h-font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-4);
    line-height: 1.1;
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.home .onboarding .onboarding-subtitle {
    font-size: 1rem;
    color: var(--h-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 0 var(--h-space-8);
}

.home .onboarding .onboarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--h-space-4);
}

.home .onboarding .onboarding-card {
    position: relative;
    background: var(--h-white);
    border-radius: var(--h-border-radius-md);
    padding: var(--h-space-6);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home .onboarding .onboarding-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -10px rgba(15, 23, 42, .1);
}

.home .onboarding .onboarding-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--h-teal-pale);
    color: var(--h-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: var(--h-space-4);
}

.home .onboarding .onboarding-card-number {
    position: absolute;
    top: var(--h-space-5);
    right: var(--h-space-6);
    font-family: var(--h-font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--h-gray-300);
}

.home .onboarding .onboarding-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-2);
}

.home .onboarding .onboarding-card-text {
    font-size: .875rem;
    color: var(--h-text-muted);
    line-height: 1.6;
    margin: 0;
}

.home .onboarding .onboarding-testimonial {
    position: relative;
    margin: var(--h-space-7) 0 0 0;
    padding: var(--h-space-7) var(--h-space-9) 0 var(--h-space-12);
    border-top: 5px dashed #ffffff;
}

.home .onboarding .onboarding-testimonial::before {
    content: "\201C";
    position: absolute;
    top: var(--h-space-4);
    left: var(--h-space-4);
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--h-teal);
    opacity: .9;
}

.home .onboarding .onboarding-testimonial-quote {
    margin: 0;
    font-family: var(--h-font-display);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--h-navy);
    letter-spacing: -.01em;
}

.home .onboarding .onboarding-testimonial-quote p {
    margin: 0;
}

.home .onboarding .onboarding-testimonial-author {
    margin-top: var(--h-space-5);
    padding-top: var(--h-space-4);
    border-top: 1px solid #0000000a;
    display: flex;
    flex-direction: column;
    gap: var(--h-space-1);
    line-height: 1.4;
}

.home .onboarding .onboarding-testimonial-author strong {
    font-size: 1rem;
    color: var(--h-navy);
    font-weight: 700;
}

.home .onboarding .onboarding-testimonial-author span {
    font-size: .85rem;
    font-style: italic;
    color: var(--h-text-muted);
}

@media (max-width: 600px) {
    .home .onboarding .onboarding-testimonial {
        padding: var(--h-space-7) var(--h-space-6) var(--h-space-6);
    }

    .home .onboarding .onboarding-testimonial::before {
        font-size: 4rem;
        top: -.2rem;
        left: var(--h-space-3);
    }

    .home .onboarding .onboarding-testimonial-quote {
        padding-top: var(--h-space-7);
        font-size: 1.05rem;
    }
}

/* ================================ HOME CTA */
.home .cta {
    background: linear-gradient(135deg, var(--h-blue) 0%, #2b8ce4 100%);
    color: var(--h-white);
    text-align: center;
}

.home .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .08), transparent 40%);
    pointer-events: none;
}

.home .cta .cta-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home .cta .cta-title {
    font-family: var(--h-font-display);
    font-weight: 600;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 var(--h-space-4);
    color: var(--h-white);
}

.home .cta .cta-title .cta-title-accent {
    color: var(--h-white);
    background: #ee2f75;
    padding: .02em .15em .08em;
    display: inline-block;
}

.home .cta .cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
    margin: 0 0 var(--h-space-7);
}

.home .cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--h-space-3);
    justify-content: center;
    margin-bottom: var(--h-space-5);
}

@media (max-width: 640px) {
    .home .cta .cta-actions {
        justify-content: stretch;
    }
}


