/* Product landing — public schema only. Tokens match invoices/css/style.css */

.marketing {
    background: #f4f6f8;
    color: #1b263b;
}

.skip-link {
    position: absolute;
    right: 1rem;
    top: -40px;
    background: #1b263b;
    color: #fff;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    z-index: 20;
}

.skip-link:focus {
    top: 0.75rem;
}

.m-wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.m-kicker {
    margin: 0 0 0.5rem;
    color: #f77f00;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.m-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(244, 246, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(65, 90, 119, 0.12);
}

.m-header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 68px;
}

.m-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #1b263b;
    text-decoration: none;
    font-weight: 800;
    margin-left: auto;
}

.m-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.m-nav {
    display: flex;
    gap: 1.15rem;
}

.m-nav a {
    color: #415a77;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.m-nav a:hover {
    color: #1b263b;
}

.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.m-btn--solid {
    background: #f77f00;
    color: #fff;
}

.m-btn--solid:hover {
    background: #e57100;
    box-shadow: 0 10px 24px rgba(247, 127, 0, 0.28);
}

.m-btn--ghost {
    background: #fff;
    color: #1b263b;
    border: 1px solid rgba(65, 90, 119, 0.2);
}

.m-hero {
    padding: 3.5rem 0 2.5rem;
}

.m-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3rem;
    align-items: center;
}

.m-hero h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.55rem);
    line-height: 1.35;
    margin: 0 0 1rem;
}

.m-lead {
    color: #415a77;
    font-size: 1.05rem;
    line-height: 1.9;
    margin: 0 0 1.5rem;
}

.m-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.m-hero__hint {
    color: #415a77;
    font-size: 0.9rem;
}

.m-hero__hint code,
.m-tenancy code {
    background: #eef2f6;
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
    font-size: 0.88em;
}

.m-invoice {
    background: #fff;
    border-radius: 20px;
    padding: 1.35rem 1.4rem 1.2rem;
    box-shadow: 0 22px 50px rgba(27, 38, 59, 0.12);
    border: 1px solid rgba(65, 90, 119, 0.1);
    transform: rotate(-1.2deg);
}

.m-invoice__top,
.m-invoice__meta,
.m-invoice__total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.m-invoice__top {
    color: #415a77;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.m-invoice__meta {
    margin-bottom: 1.1rem;
}

.m-invoice__meta small {
    display: block;
    color: #415a77;
    font-size: 0.75rem;
}

.m-invoice__rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px dashed rgba(65, 90, 119, 0.2);
}

.m-invoice__rows li {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px dashed rgba(65, 90, 119, 0.16);
    font-size: 0.92rem;
}

.m-invoice__total {
    margin: 1rem 0 0.9rem;
    align-items: baseline;
}

.m-invoice__total strong {
    color: #f77f00;
    font-size: 1.15rem;
}

.m-invoice__pills {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.m-invoice__pills span {
    background: rgba(247, 127, 0, 0.12);
    color: #9a4e00;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.m-stats {
    background: #1b263b;
    color: #fff;
    padding: 1.6rem 0;
}

.m-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.m-stats strong {
    display: block;
    font-size: 1.4rem;
    color: #f77f00;
}

.m-stats span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.m-section {
    padding: 4rem 0;
}

.m-section--alt {
    background: #eef2f6;
}

.m-section__head {
    max-width: 38rem;
    margin-bottom: 2rem;
}

.m-section__head h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.m-section__head p {
    color: #415a77;
    margin: 0;
    line-height: 1.8;
}

.m-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.m-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.2rem 1.15rem 1.3rem;
    border: 1px solid rgba(65, 90, 119, 0.1);
    box-shadow: 0 8px 24px rgba(27, 38, 59, 0.05);
}

.m-card i {
    font-size: 1.35rem;
    color: #f77f00;
}

.m-card h3 {
    margin: 0.7rem 0 0.45rem;
    font-size: 1rem;
}

.m-card p {
    margin: 0;
    color: #415a77;
    font-size: 0.9rem;
    line-height: 1.75;
}

.m-flow,
.m-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.m-flow article,
.m-roles article {
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem 1.35rem;
    border: 1px solid rgba(65, 90, 119, 0.1);
}

.m-flow h3,
.m-roles h3 {
    margin: 0 0 0.85rem;
}

.m-flow ol {
    margin: 0;
    padding-right: 1.15rem;
    color: #415a77;
    line-height: 1.95;
}

.m-roles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.m-roles p {
    margin: 0;
    color: #415a77;
    font-size: 0.9rem;
    line-height: 1.75;
}

.m-tenancy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.m-tenancy h2 {
    margin: 0 0 0.7rem;
}

.m-tenancy p {
    color: #415a77;
    line-height: 1.85;
}

.m-tenancy__host a {
    color: #1b263b;
    font-weight: 700;
}

.m-builder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.m-builder h2 {
    margin: 0 0 0.7rem;
}

.m-builder p {
    color: #415a77;
    line-height: 1.85;
    max-width: 46rem;
}

.m-builder a:not(.m-btn) {
    color: #1b263b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.m-builder a:not(.m-btn):hover {
    color: #f77f00;
}

.m-footer {
    border-top: 1px solid rgba(65, 90, 119, 0.12);
    padding: 1.2rem 0 1.6rem;
    color: #415a77;
    font-size: 0.88rem;
}

.m-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.m-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
}

.m-footer a {
    color: #415a77;
}

.m-footer a:hover {
    color: #1b263b;
}

.m-contact {
    max-width: 920px;
}

.m-contact h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.m-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.m-contact__card {
    background: #fff;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(65, 90, 119, 0.1);
    box-shadow: 0 8px 24px rgba(27, 38, 59, 0.05);
}

.m-contact__card i {
    color: #f77f00;
    font-size: 1.35rem;
}

.m-contact__card h2 {
    margin: 0.7rem 0 0.65rem;
    font-size: 1.05rem;
}

.m-contact__card p,
.m-contact__card a {
    color: #415a77;
    line-height: 1.8;
    text-decoration: none;
}

.m-contact__card a:hover {
    color: #1b263b;
}

.m-contact__phones {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.m-contact__phones a {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1b263b;
    direction: ltr;
}

.m-contact__placeholder {
    color: #7a8ea3 !important;
    font-size: 0.92rem;
}

.m-contact__foot {
    margin: 1.75rem 0 0;
    color: #415a77;
    font-size: 0.92rem;
    line-height: 1.8;
}

.m-contact__foot a {
    color: #1b263b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.m-contact__foot a:hover {
    color: #f77f00;
}

@media (max-width: 960px) {
    .m-nav {
        display: none;
    }

    .m-hero__grid,
    .m-cards,
    .m-flow,
    .m-roles,
    .m-stats__grid,
    .m-contact__grid {
        grid-template-columns: 1fr 1fr;
    }

    .m-tenancy,
    .m-builder {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .m-hero {
        padding-top: 2rem;
    }

    .m-hero__grid,
    .m-cards,
    .m-flow,
    .m-roles,
    .m-stats__grid,
    .m-contact__grid {
        grid-template-columns: 1fr;
    }

    .m-hero__visual {
        order: -1;
    }

    .m-invoice {
        transform: none;
    }

    .m-header__inner .m-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.85rem;
    }
}
