.mock-format-tabs {
    position: absolute;
    top: 11px;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    direction: ltr;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;
    background: rgba(11,12,16,.76);
}
.mock-format-tabs span {
    padding: 3px 5px;
    border-radius: 4px;
    color: #656773;
    font: 5px Arial, sans-serif;
}
.mock-format-tabs .active {
    color: #d5ccff;
    background: rgba(119,88,236,.2);
}

.quality-pill { gap: 4px; }

.brand-lockup {
    width: auto;
    min-width: 185px;
    padding: 0;
}
.brand-lockup img {
    width: 185px;
    height: auto;
    display: block;
}
.site-footer .brand-lockup img { width: 155px; }
.mobile-gate-top .brand-lockup { min-width: 150px; }
.mobile-gate-top .brand-lockup img { width: 150px; }

@media (max-width: 660px) {
    .brand-lockup { min-width: 148px; }
    .brand-lockup img { width: 148px; }
}

/* Readable type scale for desktop and laptop displays */
.desktop-nav { gap: clamp(22px, 2.2vw, 34px); }
.desktop-nav a { font-size: 14px; font-weight: 500; }
.header-cta { font-size: 13px; padding-inline: 18px; }

.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(30px, 3.5vw, 52px);
    min-height: clamp(700px, 100vh, 840px);
    padding-top: 132px;
    padding-bottom: 65px;
}
.hero-badge { font-size: 12px; padding: 8px 13px; }
.hero h1 {
    max-width: 620px;
    margin: 19px 0 17px;
    font-size: clamp(42px, 3.6vw, 56px);
    line-height: 1.22;
    letter-spacing: -.035em;
}
[dir="ltr"] .hero h1 {
    max-width: 560px;
    font-size: clamp(40px, 3.45vw, 54px);
    line-height: 1.16;
}
.hero-copy > p {
    max-width: 610px;
    font-size: 15px;
    line-height: 2;
}
.hero-actions { margin-top: 26px; }
.primary-cta { min-height: 52px; font-size: 13px; }
.text-cta { font-size: 13px; }
.hero-notes { gap: 17px; margin-top: 23px; font-size: 12px; }

.product-scene { min-height: 510px; }
.editor-window { width: min(630px, 100%); }

.trust-strip p { font-size: 13px; }
.trust-strip div { gap: clamp(25px, 3vw, 42px); }
.trust-strip span { font-size: 15px; }

.section-kicker { font-size: 13px; }
.section-heading h2 {
    font-size: clamp(34px, 3.6vw, 50px);
    line-height: 1.35;
}
.section-heading p { font-size: 15px; line-height: 2; }

.bento-card { padding: 32px; }
.feature-icon { font-size: 17px; }
.card-copy h3 { font-size: 21px; line-height: 1.55; }
.card-copy p { font-size: 14px; line-height: 2; }
.feature-tag { font-size: 12px; }

.step-number { font-size: 11px; }
.step h3 { font-size: 18px; }
.step p { max-width: 270px; font-size: 13.5px; line-height: 1.9; }

.workflow-section { padding-bottom: 65px; }
.final-cta > span { font-size: 13px; }
.final-cta p { font-size: 14px; line-height: 1.9; }
.final-cta a { font-size: 13px; }
.site-footer { font-size: 12px; }
.site-footer{gap:28px;align-items:start}
.site-footer-brand{min-width:155px}
.site-footer-brand p{margin:9px 0 0;line-height:1.6;color:#9a96a5}
.site-footer-links{display:flex;flex-wrap:wrap;justify-content:center;column-gap:22px;row-gap:9px;max-width:560px;padding-top:9px}
.site-footer-links a,.site-footer-end a{color:#b9b5c3;transition:color .15s}
.site-footer-links a:hover,.site-footer-end a:hover{color:#e8d9ff}
.site-footer-end{display:flex;flex-direction:column;align-items:end;gap:9px;padding-top:9px;white-space:nowrap}
[dir="ltr"] .site-footer-end{align-items:start}
@media(max-width:900px){.site-footer{flex-wrap:wrap;justify-content:center;text-align:center}.site-footer-links{order:3;flex-basis:100%}.site-footer-end{align-items:center}[dir="ltr"] .site-footer-end{align-items:center}}

@media (min-width: 981px) and (max-width: 1250px) {
    .hero { width: calc(100% - 52px); gap: 28px; }
    .hero h1 { font-size: clamp(41px, 4.2vw, 52px); }
    [dir="ltr"] .hero h1 { font-size: clamp(39px, 4vw, 49px); }
    .hero-copy > p { font-size: 14px; }
    .editor-window { width: 100%; }
    .site-header { width: calc(100% - 34px); }
}

@media (min-width: 981px) and (max-height: 760px) {
    .hero {
        min-height: 700px;
        padding-top: 112px;
        padding-bottom: 40px;
    }
    .hero h1 { margin-top: 14px; margin-bottom: 12px; }
    .hero-actions { margin-top: 19px; }
    .hero-notes { margin-top: 17px; }
    .product-scene { min-height: 455px; }
    .editor-window { transform: rotateY(-3deg) rotateX(1deg) scale(.9); }
    [dir="rtl"] .editor-window { transform: rotateY(3deg) rotateX(1deg) scale(.9); }
}

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; }
    .hero h1,
    [dir="ltr"] .hero h1 { max-width: 680px; margin-inline: auto; }
}

@media (max-width: 660px) {
    .hero h1,
    [dir="ltr"] .hero h1 { font-size: clamp(37px, 11vw, 48px); }
    .hero-copy > p { font-size: 13px; }
    .section-heading p { font-size: 13px; }
    .card-copy p { font-size: 12px; }
}

/* Keep the public landing page compact on phones, including rotated phones. */
@media (max-width: 700px), (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 0;
        padding-top: 104px;
        padding-bottom: 32px;
        gap: 12px;
    }
    .hero h1,
    [dir="ltr"] .hero h1 {
        max-width: 600px;
        margin: 15px auto 13px;
        font-size: clamp(29px, 7.8vw, 37px);
        line-height: 1.29;
        letter-spacing: -.025em;
    }
    .hero-copy > p {
        max-width: 580px;
        font-size: 13px;
        line-height: 1.8;
    }
    .hero-actions { margin-top: 21px; }
    .hero-notes { margin-top: 18px; gap: 9px 15px; }
    .product-scene { min-height: 360px; }

    .trust-strip {
        width: calc(100% - 20px);
        padding: 14px 0 24px;
        gap: 10px;
    }
    .trust-strip p { margin: 0; font-size: 12px; line-height: 1.5; }
    .trust-strip div {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: stretch;
        gap: 4px;
        width: min(100%, 420px);
        margin-inline: auto;
    }
    .trust-strip span {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        white-space: nowrap;
        font: 600 clamp(10px, 3vw, 12px)/1.3 Arial, sans-serif;
    }

    .section { padding: 46px 0; }
    .section-heading { margin-bottom: 25px; }
    .section-heading h2 {
        margin: 9px 0 10px;
        font-size: clamp(25px, 6.7vw, 32px);
        line-height: 1.35;
        letter-spacing: -.02em;
    }
    .section-heading p { font-size: 13px; line-height: 1.8; }
    .bento-grid { gap: 12px; }
    .bento-card,
    .bento-card.large { min-height: 230px; padding: 21px; border-radius: 16px; }
    .bento-card.large { min-height: 290px; }
    .card-copy h3 { margin: 12px 0 7px; font-size: 18px; line-height: 1.45; }
    .card-copy p { font-size: 12px; line-height: 1.75; }
    .mini-timeline {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 112px;
        margin-top: 18px;
        padding: 14px;
    }
    .privacy { justify-content: flex-start; }
    .privacy-visual {
        position: relative;
        inset: auto;
        flex: 0 0 88px;
        height: 88px;
        margin: -8px -8px 9px;
    }
    .privacy-visual span {
        width: 52px;
        height: 52px;
        font-size: 22px;
        box-shadow: 0 0 0 12px rgba(82,210,163,.03), 0 0 0 24px rgba(82,210,163,.02);
    }
    .quality-pill { left: 21px; bottom: 20px; }
    .library-orbs { position: relative; left: auto; bottom: auto; margin-top: 18px; }

    .steps { gap: 9px; }
    .step-icon { width: 54px; height: 54px; margin: 8px auto 12px; border-radius: 15px; font-size: 21px; }
    .step h3 { font-size: 17px; margin-bottom: 5px; }
    .step p { font-size: 12px; line-height: 1.7; }
    .step-line { height: 22px; }

    .workflow-section { padding-bottom: 28px; }

    .final-cta {
        min-height: 0;
        margin-bottom: 38px;
        padding: 42px 23px;
        border-radius: 18px;
    }
    .final-cta h2 { font-size: clamp(25px, 6.7vw, 32px); line-height: 1.4; }
    .final-cta p { font-size: 13px; }

    .site-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        align-items: start;
        gap: 18px;
        width: calc(100% - 32px);
        padding: 26px 0 30px;
        text-align: start;
    }
    .site-footer-brand { min-width: 0; }
    .site-footer-brand p { margin-top: 6px; font-size: 12px; }
    .site-footer-links {
        order: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 10px 16px;
        width: 100%;
        max-width: none;
        padding: 17px 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }
    .site-footer-links a { font-size: 12px; line-height: 1.5; }
    .site-footer-end,
    [dir="ltr"] .site-footer-end {
        order: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 14px;
        width: 100%;
        padding: 0;
        white-space: normal;
        font-size: 11px;
    }
}

@media (max-width: 700px) and (orientation: portrait) {
    .steps { gap: 10px; }
    .step {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        column-gap: 13px;
        min-height: 98px;
        padding: 14px;
        border: 1px solid rgba(139, 109, 245, .18);
        border-radius: 15px;
        background: linear-gradient(125deg, rgba(119, 88, 236, .09), rgba(255, 255, 255, .015));
        text-align: start;
    }
    .step-number { grid-column: 2; grid-row: 1; font-size: 10px; }
    .step-icon {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 48px;
        height: 48px;
        margin: 0;
        border-radius: 12px;
        font-size: 20px;
    }
    .step h3 { grid-column: 2; grid-row: 2; margin: 3px 0; font-size: 16px; }
    .step p { grid-column: 2; grid-row: 3; max-width: none; margin: 0; }
    .step-line { display: none; }
}

@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
    .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; }
    .step-line { width: 28px; height: 1px; }
    .site-footer { max-width: 700px; }
    .site-footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
