/* Final Home page styles. Shared marketing primitives remain in public-marketing-system.css. */

.home-hero {
    padding-block: clamp(48px, 7vw, 88px);
}

.home-hero__grid,
.home-hero__copy,
.home-booking-ui,
.home-booking-ui__brand span,
.home-booking-ui__content,
.home-booking-ui__header,
.home-booking-ui__services,
.home-booking-ui__service,
.home-booking-ui__service > div:first-child,
.home-product-demo,
.home-product-demo__bar div span,
.home-product-demo__grid,
.home-product-demo__flow,
.home-product-demo__schedule,
.home-product-demo__team,
.home-product-demo__flow ol,
.home-product-demo__flow li div,
.home-pricing-action {
    display: grid;
}

.home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
}

.home-hero__copy {
    min-width: 0;
    max-width: 640px;
    gap: clamp(18px, 2.4vw, 28px);
}

.home-hero .tmk-heading-xl,
.home-hero .tmk-lead {
    max-width: 620px;
}

.home-hero .tmk-heading-xl {
    font-size: clamp(42px, 4.4vw, 52px);
    line-height: 1.23;
}

.home-hero .tmk-lead {
    font-size: clamp(16px, 1.45vw, 18px);
}

.home-hero__actions,
.tmk-cta-panel__actions,
.home-hero__benefits,
.home-booking-ui__topbar,
.home-booking-ui__brand,
.home-booking-ui__progress span,
.home-booking-ui__service dl,
.home-product-demo__bar,
.home-product-demo__bar > div,
.home-product-demo__schedule div,
.home-product-demo__team div,
.home-product-demo__flow li,
.home-pricing-action ul {
    display: flex;
    align-items: center;
}

.home-hero__actions,
.tmk-cta-panel__actions,
.home-hero__benefits,
.home-pricing-action ul {
    flex-wrap: wrap;
}

.home-hero__actions {
    gap: var(--tmk-space-2);
}

.home-hero .tmk-button--primary {
    min-height: 50px;
    padding-inline: 24px;
}

.home-hero__benefits {
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    color: var(--tmk-muted-strong);
    list-style: none;
}

.home-hero__benefits li,
.home-pricing-action li {
    position: relative;
    padding-inline-start: 20px;
}

.home-hero__benefits li {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

.home-hero__benefits li::before,
.home-pricing-action li::before {
    position: absolute;
    inset-inline-start: 0;
    color: var(--tmk-brand);
    content: "✓";
    font-weight: 900;
}

.home-hero__preview {
    display: grid;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    gap: var(--tmk-space-2);
    margin: 0;
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-lg);
    padding: var(--tmk-space-2);
    overflow: hidden;
    background: var(--tmk-section-soft);
    box-shadow: var(--tmk-shadow);
}

.home-hero__preview::before,
.home-hero__preview::after {
    display: none;
}

.home-booking-ui {
    min-width: 0;
    max-width: 100%;
    gap: var(--tmk-space-3);
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-md);
    padding: clamp(16px, 2.2vw, 24px);
    color: #0F172A;
    background: #FFFFFF;
}

.home-booking-ui__topbar,
.home-product-demo__bar {
    justify-content: space-between;
}

.home-booking-ui__topbar {
    gap: var(--tmk-space-3);
}

.home-booking-ui__brand,
.home-product-demo__bar > div {
    min-width: 0;
    gap: 10px;
}

.home-booking-ui__brand img,
.home-product-demo__bar img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    object-fit: contain;
}

.home-booking-ui__brand span,
.home-product-demo__bar div span {
    min-width: 0;
    gap: 1px;
}

.home-booking-ui__brand strong,
.home-booking-ui__brand small,
.home-product-demo__bar strong,
.home-product-demo__bar small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-booking-ui__brand strong,
.home-product-demo__bar strong {
    font-size: 13px;
    font-weight: 900;
}

.home-booking-ui__brand small {
    color: #64748B;
    font-size: 10px;
    font-weight: 700;
}

.home-booking-ui__status,
.home-booking-ui__badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    color: #1D4ED8;
    background: #EFF6FF;
    font-weight: 900;
}

.home-booking-ui__status {
    flex: 0 0 auto;
    padding: 7px 10px;
    font-size: 10px;
}

.home-booking-ui__progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-sm);
    padding: 5px;
    background: #F8FAFC;
}

.home-booking-ui__progress span {
    min-width: 0;
    min-height: 38px;
    justify-content: center;
    gap: 5px;
    border-radius: 9px;
    color: #94A3B8;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.home-booking-ui__progress b {
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    place-items: center;
    border-radius: 50%;
    color: #64748B;
    background: #E2E8F0;
    font-size: 9px;
}

.home-booking-ui__progress .is-active {
    color: #0F172A;
    background: #FFFFFF;
    box-shadow: var(--tmk-shadow-soft);
}

.home-booking-ui__progress .is-active b {
    color: #FFFFFF;
    background: var(--tmk-brand);
}

.home-booking-ui__content {
    gap: var(--tmk-space-3);
    border-radius: var(--tmk-radius-md);
    padding: clamp(16px, 2.2vw, 22px);
    background: #F8FAFC;
}

.home-booking-ui__header {
    gap: 7px;
}

.home-booking-ui__header > span,
.home-product-demo__label {
    color: var(--tmk-brand-strong);
    font-size: 10px;
    font-weight: 900;
}

.home-booking-ui__header h2,
.home-booking-ui__header p,
.home-booking-ui__service h3,
.home-booking-ui__service p,
.home-product-demo h3,
.home-product-demo ol {
    margin: 0;
}

.home-booking-ui__header h2 {
    color: #0F172A;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    line-height: 1.45;
}

.home-booking-ui__header p {
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
}

.home-booking-ui__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-booking-ui__service {
    align-content: space-between;
    gap: 12px;
    min-width: 0;
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-sm);
    padding: 14px;
    background: #FFFFFF;
}

.home-booking-ui__service > div:first-child {
    gap: 7px;
}

.home-booking-ui__badge {
    padding: 4px 8px;
    font-size: 9px;
}

.home-booking-ui__service h3 {
    color: #0F172A;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
}

.home-booking-ui__service p {
    color: #64748B;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}

.home-booking-ui__service dl {
    gap: 7px;
    margin: 0;
}

.home-booking-ui__service dl div {
    display: grid;
    min-width: 0;
    flex: 1 1 0;
    gap: 2px;
    border-radius: 9px;
    padding: 8px;
    background: #F8FAFC;
}

.home-booking-ui__service dt,
.home-booking-ui__service dd {
    margin: 0;
}

.home-booking-ui__service dt {
    color: #94A3B8;
    font-size: 8px;
    font-weight: 800;
}

.home-booking-ui__service dd {
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-booking-ui__action {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #FFFFFF;
    background: var(--tmk-brand);
    font-size: 10px;
    font-weight: 900;
}

.home-product-demo {
    gap: var(--tmk-space-3);
    min-width: 0;
    max-width: 100%;
    margin: 0;
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-lg);
    padding: var(--tmk-space-3);
    overflow: hidden;
    background: var(--tmk-section-soft);
    box-shadow: var(--tmk-shadow-soft);
}

.home-product-demo__bar {
    gap: var(--tmk-space-3);
    padding-inline: var(--tmk-space-2);
}

.home-product-demo__bar strong {
    color: var(--tmk-text);
}

.home-product-demo__bar small,
.home-product-demo__bar > span {
    color: var(--tmk-muted);
    font-size: 11px;
    font-weight: 800;
}

.home-product-demo__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    grid-template-areas:
        "flow schedule"
        "flow team";
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-md);
    background: #FFFFFF;
}

.home-product-demo__flow,
.home-product-demo__schedule,
.home-product-demo__team {
    align-content: start;
    gap: var(--tmk-space-3);
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
}

.home-product-demo__flow {
    grid-area: flow;
    border-inline-end: 1px solid var(--tmk-border);
}

.home-product-demo__schedule {
    grid-area: schedule;
    border-block-end: 1px solid var(--tmk-border);
}

.home-product-demo__team {
    grid-area: team;
}

.home-product-demo__label {
    font-size: 11px;
}

.home-product-demo h3 {
    color: var(--tmk-text);
    font-size: var(--tmk-title-size);
    font-weight: 900;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.home-product-demo__flow ol {
    gap: 0;
    padding: 0;
    list-style: none;
}

.home-product-demo__flow li {
    gap: var(--tmk-space-3);
    min-height: 76px;
    border-block-start: 1px solid var(--tmk-border);
}

.home-product-demo__flow li:last-child {
    border-block-end: 1px solid var(--tmk-border);
}

.home-product-demo__flow li > span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tmk-border-strong);
    border-radius: 50%;
    color: var(--tmk-brand-strong);
    font-size: 11px;
    font-weight: 900;
}

.home-product-demo__flow li div {
    min-width: 0;
    gap: 4px;
}

.home-product-demo__flow strong,
.home-product-demo__flow small {
    display: block;
}

.home-product-demo__flow strong {
    color: var(--tmk-text);
    font-size: 14px;
    font-weight: 900;
}

.home-product-demo__flow small {
    color: var(--tmk-muted);
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.home-product-demo__schedule div,
.home-product-demo__team div {
    justify-content: space-between;
    gap: var(--tmk-space-3);
    min-width: 0;
    min-height: 42px;
    border-block-start: 1px solid var(--tmk-border);
    color: var(--tmk-muted-strong);
    font-size: 12px;
    font-weight: 800;
}

.home-product-demo__schedule time,
.home-product-demo__team small {
    flex: 0 0 auto;
    color: var(--tmk-brand-strong);
    font-weight: 900;
}

.home-pricing-action {
    min-width: min(100%, 280px);
    gap: var(--tmk-space-4);
}

.home-pricing-action ul {
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-pricing-action li {
    padding-inline-start: 18px;
    color: var(--tmk-muted-strong);
    font-size: 13px;
    font-weight: 800;
}

.home-pricing-action .tmk-button {
    width: fit-content;
}

.home-final-cta {
    padding-block-start: clamp(32px, 5vw, 64px);
}

@media (max-width: 1024px) {
    .home-hero__grid {
        grid-template-columns: 1fr;
        gap: clamp(32px, 6vw, 52px);
    }

    .home-hero__copy,
    .home-hero .tmk-heading-xl,
    .home-hero .tmk-lead {
        max-width: 720px;
    }

    .home-hero__preview {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .home-product-demo__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "flow"
            "schedule"
            "team";
    }

    .home-product-demo__flow {
        border-inline-end: 0;
        border-block-end: 1px solid var(--tmk-border);
    }

    .home-pricing-action {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding-block: 36px 48px;
    }

    .home-hero__grid {
        gap: var(--tmk-space-5);
    }

    .home-hero__copy {
        gap: var(--tmk-space-3);
    }

    .home-hero .tmk-heading-xl {
        max-width: none;
        font-size: clamp(32px, 9vw, 40px);
        line-height: 1.3;
    }

    .home-hero .tmk-lead {
        font-size: 15px;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .tmk-button,
    .home-hero__actions .tmk-link-button,
    .home-pricing-action,
    .home-pricing-action .tmk-button {
        width: 100%;
    }

    .home-hero__benefits {
        display: grid;
        gap: 6px;
    }

    .home-hero__benefits li {
        font-size: 12px;
    }

    .home-hero__preview,
    .home-product-demo {
        border-radius: var(--tmk-radius-md);
        padding: 8px;
    }

    .home-booking-ui {
        gap: 11px;
        padding: 12px;
    }

    .home-booking-ui__brand img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .home-booking-ui__progress span {
        min-height: 34px;
        gap: 3px;
        font-size: 9px;
    }

    .home-booking-ui__content {
        padding: 14px;
    }

    .home-booking-ui__header h2 {
        font-size: 20px;
    }

    .home-booking-ui__services {
        grid-template-columns: 1fr;
    }

    .home-booking-ui__service--secondary {
        display: none;
    }

    .home-product-demo__bar {
        padding: 6px 8px;
    }

    .home-product-demo__flow,
    .home-product-demo__schedule,
    .home-product-demo__team {
        padding: var(--tmk-space-4);
    }

    .home-product-demo__flow li {
        min-height: 70px;
    }
}

@media (max-width: 400px) {
    .home-booking-ui__status {
        display: none;
    }

    .home-booking-ui__progress span {
        flex-direction: column;
        gap: 2px;
        padding-block: 4px;
    }

    .home-product-demo__schedule div,
    .home-product-demo__team div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-block: 10px;
    }
}
