/*
 * Landingpage V3
 * Keeps the approved V2 visual language while tightening the product story:
 * product portfolio -> shared system -> workspaces -> workflows -> proof -> N.O.A.H. -> value.
 */

.lpv3-landing .lpv2-hero {
    padding-bottom: 0;
}

.lpv3-landing .lpv2-hero-intro {
    padding-bottom: 104px;
}

.lpv3-landing .lpv2-hero-copy .apv2-display > span {
    display: block;
    white-space: nowrap;
}

.lpv3-landing #product-teaser,
.lpv3-landing #system,
.lpv3-landing #product,
.lpv3-landing #workflow,
.lpv3-landing #output,
.lpv3-landing #noah {
    scroll-margin-top: calc(var(--apv2-header-height) + 24px);
}

.lpv3-product-teaser {
    border-top: 1px solid rgba(18, 22, 29, .07);
    background: #fff;
}

.lpv3-product-teaser-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
    align-items: end;
    gap: clamp(44px, 8vw, 112px);
    margin-bottom: 46px;
}

.lpv3-product-count {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0 0;
}

.lpv3-product-count strong {
    color: var(--apv2-ink);
    font-size: clamp(68px, 8vw, 108px);
    font-weight: 690;
    letter-spacing: -.07em;
    line-height: .8;
}

.lpv3-product-count span {
    color: var(--apv2-muted);
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 620;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.lpv3-product-teaser-head h2 {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: clamp(42px, 5.4vw, 68px);
    font-weight: 690;
    letter-spacing: -.035em;
    line-height: .96;
    text-wrap: balance;
}

.lpv3-product-teaser-intro {
    padding-bottom: 4px;
}

.lpv3-product-teaser-intro p {
    margin: 0;
    color: var(--apv2-muted);
    font-size: 16px;
    line-height: 1.7;
}

.lpv3-product-teaser-intro a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--apv2-ink);
    font-size: 13px;
    font-weight: 690;
    text-decoration: none;
}

.lpv3-product-teaser-intro a svg {
    width: 18px;
    height: 18px;
    transition: transform .22s ease;
}

.lpv3-product-teaser-intro a:hover svg,
.lpv3-product-teaser-intro a:focus-visible svg {
    transform: translateX(4px);
}

.lpv3-product-family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lpv3-product-family {
    --lpv3-accent: var(--apv2-mint-dark);
    --lpv3-soft: var(--apv2-mint-soft);
    --lpv3-surface: #f4faf8;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px;
    border: 1px solid rgba(18, 22, 29, .055);
    border-radius: 24px;
    background: var(--lpv3-surface);
    box-shadow: 0 1px 2px rgba(35, 44, 58, .025);
}

.lpv3-product-family.is-blue {
    --lpv3-accent: var(--apv2-blue);
    --lpv3-soft: var(--apv2-blue-soft);
    --lpv3-surface: #f5f7fd;
}

.lpv3-product-family.is-violet {
    --lpv3-accent: var(--apv2-violet);
    --lpv3-soft: var(--apv2-violet-soft);
    --lpv3-surface: #f8f6fc;
}

.lpv3-product-family > header {
    display: block;
}

.lpv3-product-family > header small {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--lpv3-accent);
    font-size: var(--apv2-readable-min);
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lpv3-product-family > header small::before {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.lpv3-product-family h3 {
    margin: 16px 0 0;
    font-size: clamp(25px, 2.35vw, 31px);
    font-weight: 690;
    letter-spacing: -.025em;
    line-height: 1.02;
    text-wrap: balance;
}

.lpv3-product-family > p {
    margin: 18px 0 0;
    color: var(--apv2-muted);
    font-size: 13.5px;
    line-height: 1.62;
}

.lpv3-product-family ul {
    display: grid;
    gap: 0;
    margin: auto 0 0;
    padding: 24px 0 0;
    list-style: none;
}

.lpv3-product-family li {
    display: grid;
    min-width: 0;
    min-height: 64px;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid rgba(18, 22, 29, .075);
}

.lpv3-product-family li > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--lpv3-accent);
    background: rgba(255, 255, 255, .78);
    box-shadow: inset 0 0 0 1px rgba(18, 22, 29, .04);
}

.lpv3-product-family li svg {
    width: 18px;
    height: 18px;
}

.lpv3-product-family li span,
.lpv3-product-family li strong,
.lpv3-product-family li small {
    display: block;
    min-width: 0;
}

.lpv3-product-family li strong {
    overflow-wrap: break-word;
    font-size: 13.5px;
    font-weight: 690;
    line-height: 1.3;
}

.lpv3-product-family li small {
    margin-top: 3px;
    color: var(--apv2-faint);
    font-size: var(--apv2-readable-min);
    line-height: 1.38;
}

.lpv3-system-section {
    border-top: 1px solid rgba(18, 22, 29, .055);
    box-shadow: none;
}

.lpv3-system-section .lpv2-system-card {
    background: #f9fbfb;
}

.lpv3-system-section .lpv2-system-steps article:nth-child(2) svg {
    color: var(--apv2-blue);
}

.lpv3-system-section .lpv2-system-steps article:nth-child(3) svg {
    color: var(--apv2-violet);
}

.lpv3-system-section .lpv2-system-steps article:nth-child(4) svg {
    color: var(--apv2-coral);
}

.lpv3-landing .lpv2-product-section {
    border-top: 1px solid rgba(18, 22, 29, .055);
    background: var(--apv2-canvas);
}

.lpv3-landing .lpv2-workflow-section {
    border-top: 1px solid rgba(18, 22, 29, .055);
}

.lpv3-benefit-grid {
    gap: 14px;
}

.lpv3-benefit-card {
    --lpv3-benefit-accent: var(--apv2-mint-dark);
    --lpv3-benefit-soft: var(--apv2-mint-soft);
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(18, 22, 29, .075);
    border-radius: 22px;
    background: #fff;
}

.lpv3-benefit-card:nth-child(2) {
    --lpv3-benefit-accent: var(--apv2-blue);
    --lpv3-benefit-soft: var(--apv2-blue-soft);
}

.lpv3-benefit-card:nth-child(3) {
    --lpv3-benefit-accent: var(--apv2-violet);
    --lpv3-benefit-soft: var(--apv2-violet-soft);
}

.lpv3-benefit-card:nth-child(4) {
    --lpv3-benefit-accent: var(--apv2-coral);
    --lpv3-benefit-soft: var(--apv2-coral-soft);
}

.lpv3-benefit-card header {
    display: flex;
    align-items: center;
    gap: 13px;
}

.lpv3-benefit-card header > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: var(--lpv3-benefit-accent);
    background: var(--lpv3-benefit-soft);
}

.lpv3-benefit-card svg {
    width: 18px;
    height: 18px;
}

.lpv3-benefit-card h3 {
    margin: 0;
    font-size: clamp(19px, 1.7vw, 23px);
    font-weight: 680;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.lpv3-benefit-card p {
    margin: 17px 0 0;
    color: var(--apv2-muted);
    font-size: 13px;
    line-height: 1.62;
}

.lpv3-landing .lpv2-faq-section {
    border-top-color: rgba(18, 22, 29, .08);
}

@media (max-width: 1120px) {
    .lpv3-product-family-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lpv3-product-family:last-child {
        grid-column: 1 / -1;
    }

    .lpv3-product-family:last-child ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lpv3-product-family:last-child > p {
        min-height: 0;
        max-width: 720px;
    }
}

@media (max-width: 980px) {
    .lpv3-landing .lpv2-hero {
        padding-bottom: 0;
    }

    .lpv3-landing .lpv2-hero-intro {
        padding-bottom: 82px;
    }

    .lpv3-product-teaser-head {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .lpv3-product-teaser-intro {
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .lpv3-landing .lpv2-hero {
        padding-bottom: 0;
    }

    .lpv3-landing .lpv2-hero-intro {
        padding-bottom: 72px;
    }

    .lpv3-landing .lpv2-hero-copy .apv2-display {
        font-size: clamp(30px, 9.25vw, 48px);
        letter-spacing: -.035em;
        line-height: 1.02;
    }

    .lpv3-product-teaser-head {
        margin-bottom: 32px;
    }

    .lpv3-product-count {
        align-items: flex-end;
        gap: 14px;
    }

    .lpv3-product-count strong {
        font-size: 76px;
    }

    .lpv3-product-count span {
        padding-bottom: 2px;
        font-size: 16px;
    }

    .lpv3-product-teaser-head h2 {
        margin-top: 20px;
        font-size: clamp(40px, 12vw, 54px);
    }

    .lpv3-product-family-grid,
    .lpv3-product-family:last-child ul {
        grid-template-columns: 1fr;
    }

    .lpv3-product-family:last-child {
        grid-column: auto;
    }

    .lpv3-product-family {
        padding: 24px;
        border-radius: 22px;
    }

    .lpv3-product-family > p {
        min-height: 0;
    }

    .lpv3-product-family h3 {
        font-size: 28px;
    }

    .lpv3-benefit-card {
        padding: 22px;
    }
}

@media (max-width: 390px) {
    .lpv3-landing .lpv2-hero-copy .apv2-display {
        font-size: clamp(29px, 9.15vw, 36px);
    }

    .lpv3-product-count strong {
        font-size: 68px;
    }

    .lpv3-product-count span {
        font-size: 15px;
    }

    .lpv3-product-family {
        padding: 21px;
    }

    .lpv3-product-family li {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .lpv3-product-family li > i {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lpv3-product-teaser-intro a svg {
        transition: none;
    }
}
