.landing-page,
.landing-shell {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%);
    color: #0f172a;
}

body.landing-page,
body.app-guest.landing-page {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: #ffffff !important;
    color: #0f172a;
    overflow-x: hidden;
}

body.landing-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%) !important;
}

.ofx-landing {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 44px;
    background: transparent;
}

.landing-container {
    width: min(100% - 48px, 1180px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    margin: 24px auto 0;
    width: min(100% - 48px, 1180px);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: nowrap;
    min-width: 0;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.landing-brand {
    gap: 10px;
}

.landing-brand strong {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.landing-brand small {
    font-size: 0.82rem;
    opacity: 0.76;
}

.landing-menu,
.landing-actions,
.hero-cta,
.benefit-strip,
.audience-grid,
.feature-grid,
.control-grid,
.trial-actions,
.benefits-grid,
.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-menu a {
    color: rgba(55, 65, 81, 0.8);
    padding: 10px 12px;
    border-radius: 12px;
    transition: background-color 180ms ease, color 180ms ease;
}

.landing-menu a:hover {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text);
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.landing-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.landing-btn.secondary,
.btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.landing-btn.primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.96), rgba(99, 102, 241, 0.9));
    color: #ffffff;
    border-color: transparent;
}

.landing-btn.primary:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(79, 70, 229, 0.96));
}

.landing-btn.large {
    padding: 14px 20px;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: rgba(29, 78, 216, 0.88);
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.landing-badge.dark {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(30, 41, 59, 0.9);
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 72px;
    align-items: center;
    padding: 72px 0 48px;
}

.hero-copy {
    padding-right: 0;
}

.hero-copy h1 {
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    font-weight: 620;
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-align: center;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    color: #0f172a;
}

.hero-copy p {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.75;
    max-width: 680px;
    color: #475569;
    font-weight: 400;
}

.hero-lead {
    max-width: 680px;
}

.section-title,
.landing-section h2 {
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    font-weight: 620;
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-align: center;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    color: #0f172a;
}

.section-heading,
.section-heading.compact {
    text-align: center;
}

.section-heading p {
    margin-left: auto;
    margin-right: auto;
}

.section-heading .landing-badge {
    display: inline-flex;
}

.hero-cta {
    margin-top: 24px;
}

.dashboard-mockup {
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.command-card,
.hero-card {
    max-width: 520px;
    width: 100%;
    justify-self: end;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
    border-radius: 28px;
}

.mockup-top,
.mockup-head,
.mockup-table > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mockup-top {
    align-items: center;
    margin-bottom: 16px;
    color: rgba(71, 85, 105, 0.72);
}

.mockup-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.55);
    display: inline-block;
}

.mockup-title {
    margin-bottom: 16px;
}

.mockup-title span {
    color: rgba(71, 85, 105, 0.7);
}

.mockup-title strong {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-stats article,
.mockup-table > div,
.control-grid article,
.audience-grid article,
.feature-card,
.benefits-grid article {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.mockup-stats small,
.mockup-table span {
    color: rgba(71, 85, 105, 0.74);
}

.mockup-stats strong {
    font-size: 1.35rem;
    font-weight: 700;
    display: block;
    margin-top: 4px;
    color: #0f172a;
}

.mockup-table {
    display: grid;
    gap: 10px;
}

.mockup-table em {
    font-style: normal;
    font-weight: 600;
}

.ok {
    color: #2563eb;
}

.photo {
    color: #4f46e5;
}

.stock {
    color: #7c3aed;
}

.benefit-strip {
    justify-content: space-between;
    margin: 32px auto 0;
    width: min(100% - 48px, 1180px);
    padding: 14px 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: #ffffff;
    color: rgba(51, 65, 85, 0.84);
}

.keyword-strip {
    width: min(100% - 48px, 1180px);
    margin: 32px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.landing-section,
.control-section,
.trial-cta,
.document-section,
.audience-section,
.benefits-section,
.industries-section,
.mobile-section {
    padding: 28px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 2.2vw, 2.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    color: #0f172a;
}

.section-heading p {
    max-width: 62ch;
    color: rgba(71, 85, 105, 0.82);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature-card h3,
.audience-grid h3,
.control-grid strong,
.benefits-grid strong {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.feature-card p,
.audience-grid p,
.control-grid span,
.benefits-grid p {
    color: rgba(71, 85, 105, 0.84);
}

.feature-icon {
    display: none;
}

.feature-card {
    padding-top: 18px;
}

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

.control-section {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 24px;
    align-items: start;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-grid article {
    min-height: 100%;
}

.industry-list {
    align-items: stretch;
}

.industry-list span {
    display: inline-flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: rgba(51, 65, 85, 0.88);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.document-section {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 24px;
    align-items: center;
}

.document-card {
    padding: 22px;
    min-height: 320px;
}

.doc-header,
.doc-row,
.doc-sign span {
    background: rgba(148, 163, 184, 0.18);
    border-radius: 12px;
}

.doc-header {
    height: 42px;
    margin-bottom: 18px;
}

.doc-row {
    height: 18px;
    margin-bottom: 12px;
}

.doc-row.wide {
    width: 82%;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 22px 0;
}

.doc-grid span {
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.doc-sign {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.doc-sign span {
    display: block;
    height: 40px;
    width: 45%;
}

.trial-cta {
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    gap: 24px;
    align-items: start;
    padding-top: 34px;
}

.trial-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    border-radius: 28px;
}

.form-card,
.contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    border-radius: 28px;
}

label,
.form-label {
    color: #334155;
    font-weight: 600;
}

input,
textarea,
select {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

input::placeholder,
textarea::placeholder,
select::placeholder,
::placeholder {
    color: #64748b;
    opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.landing-section h2,
.section-title {
    margin-bottom: 12px;
}

.landing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 28px 0 14px;
    color: rgba(71, 85, 105, 0.74);
}

.landing-footer strong {
    color: #0f172a;
}

@media (max-width: 1120px) {
    .hero-copy h1 {
        max-width: 720px;
    }

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

    .landing-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 980px) {
    .landing-nav,
    .landing-hero,
    .control-section,
    .document-section,
    .trial-cta {
        grid-template-columns: 1fr;
        display: grid;
    }

    .landing-nav {
        gap: 16px;
    }

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

    .landing-menu {
        display: none;
    }

    .benefit-strip {
        justify-content: flex-start;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2rem, 4.8vw, 3.1rem);
    }

    .hero-copy p {
        max-width: 100%;
    }

    .command-card,
    .hero-card {
        justify-self: start;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .ofx-landing {
        width: 100%;
        padding-top: 14px;
    }

    .landing-nav {
        width: min(100% - 24px, 100%);
        margin-top: 12px;
        padding: 14px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .landing-nav-links {
        width: 100%;
        order: 3;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 16px;
        padding-top: 10px;
    }

    .landing-nav-actions {
        width: 100%;
        justify-content: stretch;
    }

    .landing-nav-actions .landing-btn {
        flex: 1 1 0;
    }

    .landing-hero {
        gap: 22px;
        padding: 40px 0 28px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 2.75rem);
        letter-spacing: -0.045em;
        line-height: 1.08;
    }

    .hero-copy p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-cta {
        margin-top: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-mockup {
        padding: 14px;
    }

    .mockup-stats,
    .mockup-top,
    .mockup-head,
    .mockup-table > div,
    .feature-grid,
    .audience-grid,
    .control-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-strip {
        margin: 20px auto 18px;
        padding: 12px 14px;
    }

    .keyword-strip {
        width: min(100% - 24px, 100%);
        margin-top: 22px;
    }

    .section-heading h2 {
        font-size: 1.45rem;
    }

    .landing-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
