/* TRINITY flagship landing page */
/* Responsive bands: use static/css/breakpoints.css (--bp-mobile-max 639px, tablet 640–1023px, --bp-full-min 1024px). */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

body:is(.landing-index, .onboarding-welcome-page) {
    --landing-fs: 0.875;
}

.landing-page {
    --landing-font-display: var(--font-display, "Outfit", -apple-system, BlinkMacSystemFont, sans-serif);
    --landing-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --landing-hero-dark-top: #08111f;
    --landing-hero-dark-mid: #0e1731;
    --landing-hero-dark-bottom: #14203d;
    --landing-hero-light-top: #f7faff;
    --landing-hero-light-mid: #eef4ff;
    --landing-hero-light-bottom: #e4ecfb;
    --landing-text-primary: #f6f9ff;
    --landing-text-secondary: #b3c0db;
    --landing-text-muted: #7889ab;
    --landing-light-primary: #0d1730;
    --landing-light-secondary: #42526f;
    --landing-light-muted: #7286aa;
    --landing-accent-blue: #6baaff;
    --landing-accent-cyan: #53e5ff;
    --landing-accent-violet: #9076ff;
    --landing-glass: rgba(15, 24, 48, 0.72);
    --landing-glass-strong: rgba(11, 18, 37, 0.86);
    --landing-glass-border: rgba(116, 150, 220, 0.2);
    --landing-card-shadow: 0 32px 72px rgba(0, 0, 0, 0.34);
    --landing-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: var(--landing-font-body);
    overflow: clip;
}

.landing-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.28;
    pointer-events: none;
}

.landing-page > section {
    position: relative;
    z-index: 1;
}

.landing-hero,
.landing-system,
.landing-how,
.landing-audience,
.landing-cta {
    position: relative;
}

.landing-hero {
    position: relative;
    min-height: 70vh;
    min-height: 70svh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: -51px;
    margin-bottom: 0;
    padding: calc(72px + 51px) 0 40px;
    overflow: visible;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(107, 170, 255, 0.18), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(83, 229, 255, 0.14), transparent 26%),
        radial-gradient(circle at 76% 78%, rgba(144, 118, 255, 0.14), transparent 28%),
        linear-gradient(180deg, var(--landing-hero-dark-top) 0%, var(--landing-hero-dark-mid) 56%, var(--landing-hero-dark-bottom) 100%);
    z-index: 0;
}

.landing-hero-bg::before {
    content: "";
    position: absolute;
    right: 8%;
    top: 10%;
    width: min(480px, 40vw);
    aspect-ratio: 1;
    border-radius: 38% 62% 58% 42% / 42% 44% 56% 58%;
    background: linear-gradient(135deg, rgba(83, 229, 255, 0.1), rgba(107, 170, 255, 0.02));
    filter: blur(4px);
    transform: rotate(-18deg);
}

.landing-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, transparent 42%, rgba(107, 170, 255, 0.06) 58%, transparent 72%);
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
    margin-bottom: 0;
}

.landing-hero-emblem-wrap {
    margin: -6px auto 22px;
}

.landing-hero-emblem {
    width: clamp(123px, 21.28vw, 179px);
    height: auto;
    display: block;
    margin: 0 auto;
}

.landing-hero-wordmark {
    display: none;
}


.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 28px;
    color: var(--landing-text-secondary);
    font-size: calc(clamp(21.6px, 2.64vw, 26.4px) * var(--landing-fs));
    font-weight: 400;
    letter-spacing: normal;
    animation: landingFadeIn 0.6s ease-out;
}

.landing-hero-badge i {
    color: var(--landing-accent-blue);
}

.landing-hero-badge span {
    font-size: inherit;
    line-height: 1.7;
    display: inline-block;
    margin-bottom: 40px;
}

.landing-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid var(--landing-glass-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.landing-hero-title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #f4f6fa;
    max-width: 16ch;
    margin: 5px auto;
    text-align: left;
    animation: landingFadeIn 0.6s ease-out 0.1s both;
}

.landing-hero-title span {
    font-style: italic;
    background: linear-gradient(135deg, #53e5ff, #6baaff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

:root:not([data-theme="dark"]) .landing-hero-title {
    color: #0d1730;
}

.landing-gradient {
    background: linear-gradient(135deg, var(--landing-accent-blue) 0%, var(--landing-accent-cyan) 44%, var(--landing-accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero-desc {
    max-width: 660px;
    margin: 0 auto 40px;
    color: var(--landing-accent-blue);
    font-size: calc(clamp(21.6px, 2.64vw, 26.4px) * var(--landing-fs));
    line-height: 1.7;
    animation: landingFadeIn 0.6s ease-out 0.2s both;
}

.landing-hero-desc + .landing-hero-desc {
    margin-top: 20px;
}

.landing-hero-cta,
.landing-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.landing-hero-cta {
    justify-content: center;
    margin-top: 100px;
}

@media (min-width: 768px) {
    .landing-hero {
        align-items: center;
        justify-content: center;
    }

    .landing-hero-content.container,
    .landing-hero-content {
        display: grid;
        grid-template-columns: minmax(220px, 40%) minmax(0, 60%);
        align-items: center;
        column-gap: clamp(40px, 5vw, 72px);
        width: 100%;
        max-width: 1400px;
        height: auto;
        text-align: left;
        box-sizing: border-box;
    }

    .landing-hero-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        align-self: center;
        height: auto;
        text-align: center;
    }

    .landing-hero-emblem-wrap {
        margin: 0;
    }

    .landing-hero-emblem {
        width: clamp(134px, 12vw, 178px);
        margin: 0;
    }

    .landing-hero-copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 32px;
        min-width: 0;
        width: 100%;
        height: auto;
        padding-left: clamp(28px, 4vw, 56px);
        border-left: 1px solid rgba(110, 200, 255, 0.14);
    }

    .landing-hero-title {
        margin: 0;
        max-width: none;
        width: 100%;
        font-size: clamp(2.6rem, 5vw, 4rem);
    }

    .landing-hero-cta {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 0;
        gap: 12px;
        max-width: none;
        width: 100%;
    }
}

.landing-btn-primary,
.landing-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 16px 28px;
    border-radius: 16px;
    font-size: calc(18px * var(--landing-fs));
    font-weight: 700;
    text-decoration: none;
    transition: var(--landing-transition);
}

.landing-btn-primary {
    gap: 0.45rem;
    min-height: auto;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--iris-create-btn-bg, var(--gradient-primary));
    color: var(--iris-primary-action-fg);
    border: none;
    box-shadow: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.landing-btn-primary:hover {
    box-shadow: none;
    color: var(--iris-primary-action-fg);
}

.landing-btn-primary:active {
    transform: translateY(1px);
}

.landing-btn-primary i {
    color: inherit;
}

.landing-btn-secondary {
    gap: 0.45rem;
    min-height: auto;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--iris-secondary-action-bg, transparent);
    border: 1px solid var(--iris-secondary-action-border, rgba(110, 200, 255, 0.12));
    color: var(--iris-secondary-action-fg, #f4f6fa);
    backdrop-filter: none;
    box-shadow: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.landing-btn-secondary:hover {
    background: var(--iris-secondary-action-hover-bg, rgba(107, 170, 255, 0.06));
    border-color: var(--iris-secondary-action-hover-border, rgba(110, 200, 255, 0.22));
    color: var(--iris-secondary-action-fg, #f4f6fa);
}

.landing-bento-card,
.landing-how-step,
.landing-audience-card,
.landing-cta-box {
    border: 1px solid var(--landing-glass-border);
    background: var(--landing-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--landing-card-shadow);
}

.landing-system,
.landing-how,
.landing-audience,
.landing-cta {
    padding: 96px 0;
}

.landing-how {
    padding-top: 34px;
}

.landing-system::before,
.landing-how::before,
.landing-audience::before,
.landing-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.landing-system::before {
    background:
        radial-gradient(circle at 15% 10%, rgba(107, 170, 255, 0.08), transparent 22%),
        radial-gradient(circle at 90% 90%, rgba(83, 229, 255, 0.06), transparent 22%);
}

.landing-how::before {
    background: radial-gradient(circle at 80% 10%, rgba(144, 118, 255, 0.08), transparent 20%);
}

.landing-audience::before {
    background: radial-gradient(circle at 20% 100%, rgba(107, 170, 255, 0.06), transparent 22%);
}

.landing-cta::before {
    background: radial-gradient(circle at 50% 20%, rgba(83, 229, 255, 0.08), transparent 26%);
}

.landing-section-header {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.landing-section-label {
    margin-bottom: 14px;
    color: var(--landing-accent-blue);
    font-size: calc(16px * var(--landing-fs));
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-section-title {
    margin: 0 0 18px;
    color: var(--landing-text-primary);
    font-family: var(--landing-font-display);
    font-size: calc(clamp(38px, 4.6vw, 58px) * var(--landing-fs));
    font-weight: var(--display-copy-weight, 700);
    line-height: var(--display-copy-line-height, 1.08);
    letter-spacing: var(--display-copy-letter-spacing, -0.04em);
}

.landing-section-desc {
    margin: 0;
    color: var(--landing-text-secondary);
    font-size: calc(20px * var(--landing-fs));
    line-height: 1.75;
}

.landing-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.landing-bento-card {
    grid-column: span 4;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 240px;
    padding: 28px;
    border-radius: 10px;
}

.landing-bento-card-wide {
    grid-column: span 6;
}

.landing-bento-card-accent {
    background:
        linear-gradient(180deg, rgba(15, 24, 48, 0.72), rgba(11, 18, 37, 0.84)),
        radial-gradient(circle at 100% 0%, rgba(83, 229, 255, 0.1), transparent 34%);
}

.landing-bento-label {
    color: var(--landing-text-muted);
    font-size: calc(12px * var(--landing-fs));
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-bento-card h3 {
    margin: 0;
    color: var(--landing-text-primary);
    font-family: var(--landing-font-display);
    font-size: calc(28px * var(--landing-fs));
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.landing-bento-card p,
.landing-how-step p {
    margin: 0;
    color: var(--landing-text-secondary);
    font-size: calc(22px * var(--landing-fs));
    line-height: 1.72;
}

.landing-bento-pills,
.landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-trust {
    justify-content: center;
    margin-bottom: 22px;
}

.landing-trust-pill {
    padding: 10px 16px;
    color: var(--landing-text-secondary);
    font-size: calc(14px * var(--landing-fs));
    font-weight: 600;
}

.landing-trust-pill i {
    color: var(--landing-accent-cyan);
}

.landing-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-how-step {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 100%;
    padding: 28px;
    border-radius: 10px;
}

.landing-how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 72px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(107, 170, 255, 0.24);
    background: rgba(107, 170, 255, 0.12);
    color: var(--landing-accent-blue);
    font-family: var(--landing-font-display);
    font-size: calc(16px * var(--landing-fs));
    font-weight: 700;
    letter-spacing: 0.12em;
}

.landing-how-step h3 {
    margin: 0;
    color: var(--landing-text-primary);
    font-family: var(--landing-font-display);
    font-size: calc(24px * var(--landing-fs));
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-audience-card {
    display: grid;
    gap: 18px;
    padding: 32px;
    border-radius: 10px;
}

.landing-audience-card h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--landing-text-primary);
    font-family: var(--landing-font-display);
    font-size: calc(28px * var(--landing-fs));
    line-height: 1.2;
}

.landing-audience-card h3 i {
    color: var(--landing-accent-blue);
}

.landing-audience-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-audience-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--landing-text-secondary);
    font-size: calc(17px * var(--landing-fs));
    line-height: 1.7;
}

.landing-audience-card li i {
    margin-top: 5px;
    color: var(--landing-accent-cyan);
}

.landing-cta-box {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 40px;
    border-radius: 10px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(15, 24, 48, 0.82), rgba(11, 18, 37, 0.94)),
        radial-gradient(circle at 50% 0%, rgba(83, 229, 255, 0.12), transparent 30%);
}

.landing-cta-box h2 {
    margin: 0 0 18px;
    color: var(--landing-text-primary);
    font-family: var(--landing-font-display);
    font-size: calc(clamp(34px, 4vw, 52px) * var(--landing-fs));
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.landing-cta-box p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: var(--landing-text-secondary);
    font-size: calc(20px * var(--landing-fs));
    line-height: 1.7;
}

.landing-cta-buttons {
    justify-content: center;
}

@keyframes landingFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-section-header,
.landing-bento-card,
.landing-how-step,
.landing-audience-card,
.landing-cta-box {
    animation: landingFadeIn 0.6s ease-out both;
}

.landing-bento-card:nth-child(2) {
    animation-delay: 0.04s;
}

.landing-bento-card:nth-child(3) {
    animation-delay: 0.08s;
}

.landing-bento-card:nth-child(4) {
    animation-delay: 0.12s;
}

.landing-bento-card:nth-child(5) {
    animation-delay: 0.16s;
}

/* Light theme support */
:root:not([data-theme="dark"]) .landing-page {
    --landing-text-primary: var(--landing-light-primary);
    --landing-text-secondary: var(--landing-light-secondary);
    --landing-text-muted: var(--landing-light-muted);
    --landing-accent-blue: #2563eb;
    --landing-accent-cyan: #0e7490;
    --landing-accent-violet: #6d28d9;
    --landing-glass: rgba(255, 255, 255, 0.76);
    --landing-glass-strong: rgba(255, 255, 255, 0.92);
    --landing-glass-border: rgba(94, 128, 194, 0.18);
    --landing-card-shadow: 0 26px 52px rgba(20, 37, 78, 0.1);
}

:root:not([data-theme="dark"]) .landing-hero-desc {
    color: color-mix(in srgb, var(--landing-light-secondary) 68%, #1e40af 32%);
}

:root:not([data-theme="dark"]) .landing-section-label {
    color: #1e4a8c;
}

:root:not([data-theme="dark"]) .landing-how-num {
    color: #1e4a8c;
    border-color: rgba(37, 99, 235, 0.24);
    background: rgba(37, 99, 235, 0.1);
}

:root:not([data-theme="dark"]) .landing-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 44%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:root:not([data-theme="dark"]) .landing-hero-bg {
    background:
        radial-gradient(circle at 18% 16%, rgba(107, 170, 255, 0.18), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(83, 229, 255, 0.14), transparent 26%),
        radial-gradient(circle at 76% 78%, rgba(144, 118, 255, 0.1), transparent 28%),
        linear-gradient(180deg, var(--landing-hero-light-top) 0%, var(--landing-hero-light-mid) 56%, var(--landing-hero-light-bottom) 100%);
}

:root:not([data-theme="dark"]) .landing-cta-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 248, 255, 0.96)),
        radial-gradient(circle at 50% 0%, rgba(83, 229, 255, 0.1), transparent 30%);
}

:root:not([data-theme="dark"]) .landing-bento-card,
:root:not([data-theme="dark"]) .landing-how-step,
:root:not([data-theme="dark"]) .landing-audience-card {
    background: rgba(255, 255, 255, 0.76);
}

:root:not([data-theme="dark"]) .landing-btn-secondary {
    background: transparent;
    border-color: rgba(92, 118, 170, 0.22);
    color: #0d1730;
}

:root:not([data-theme="dark"]) .landing-trust-pill {
    background: rgba(255, 255, 255, 0.72);
}

/* Dark landing: aligned with [data-theme="dark"] tokens in new-design.css */
[data-theme="dark"] body.landing-index .landing-page {
    --landing-hero-dark-top: #090b10;
    --landing-hero-dark-mid: #121826;
    --landing-hero-dark-bottom: #1a2234;
    --landing-text-primary: #f4f6fa;
    --landing-text-secondary: #9aa3b2;
    --landing-text-muted: #6d7688;
    --landing-accent-blue: #6ec8ff;
    --landing-accent-cyan: #54e0ff;
    --landing-accent-violet: #ff5a7a;
    --landing-glass: rgba(18, 22, 38, 0.88);
    --landing-glass-strong: rgba(9, 11, 16, 0.92);
    --landing-glass-border: rgba(110, 200, 255, 0.14);
    --landing-card-shadow: 0 32px 72px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] body.landing-index .landing-page .landing-hero-bg {
    background:
        radial-gradient(circle at 18% 16%, rgba(110, 200, 255, 0.14), transparent 32%),
        radial-gradient(circle at 84% 18%, rgba(255, 90, 122, 0.1), transparent 28%),
        radial-gradient(circle at 76% 78%, rgba(84, 224, 255, 0.08), transparent 30%),
        linear-gradient(180deg, var(--landing-hero-dark-top) 0%, var(--landing-hero-dark-mid) 56%, var(--landing-hero-dark-bottom) 100%);
}

[data-theme="dark"] body.landing-index .landing-page .landing-hero-bg::before {
    background: linear-gradient(135deg, rgba(84, 224, 255, 0.08), rgba(110, 200, 255, 0.02));
}

[data-theme="dark"] body.landing-index .landing-page .landing-hero-bg::after {
    background: linear-gradient(140deg, transparent 42%, rgba(255, 90, 122, 0.05) 58%, transparent 72%);
}

/* Responsive */
@media (max-width: 1180px) {
    .landing-bento-card,
    .landing-bento-card-wide {
        grid-column: span 6;
    }

    .landing-how-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .landing-audience-grid {
        grid-template-columns: 1fr;
    }

    .landing-bento-card,
    .landing-bento-card-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 639px) {
    /* One full viewport height; flex centers content; extra spacing trimmed vs desktop */
    .landing-hero {
        box-sizing: border-box;
        min-height: 70vh;
        min-height: 70svh;
        margin-bottom: 0;
        padding: calc(51px + env(safe-area-inset-top, 0px) + 28px) 16px
            calc(24px + env(safe-area-inset-bottom, 0px));
        overflow-x: clip;
        overflow-y: visible;
    }

    .landing-hero-content {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .landing-hero-brand,
    .landing-hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .landing-hero-emblem-wrap {
        margin: 0 auto 18px;
    }

    .landing-hero-wordmark {
        display: none;
    }

    .landing-hero-title {
        max-width: 100%;
        font-size: clamp(2.72rem, 11vw, 3.38rem);
        line-height: 1.18;
        margin-top: 28px;
        margin-bottom: 58px;
        text-align: center;
    }

    .landing-hero-cta {
        margin-top: 8px;
    }

    .landing-hero-badge {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 0;
        margin-bottom: 20px;
        text-align: center;
        font-size: calc(20px * var(--landing-fs));
    }

    .landing-hero-emblem {
        width: min(34vw, 132px);
    }

    .landing-hero-badge span {
        font-size: inherit;
        line-height: 1.6;
        text-align: center;
        max-width: 22rem;
        margin: 0 auto;
    }

    .landing-hero-eyebrow {
        font-size: calc(14px * var(--landing-fs));
    }

    .landing-hero-desc {
        font-size: calc(22px * var(--landing-fs));
        margin-bottom: 20px;
    }

    .landing-section-desc,
    .landing-cta-box p {
        font-size: calc(22px * var(--landing-fs));
    }

    .landing-bento-card,
    .landing-how-step,
    .landing-audience-card,
    .landing-cta-box {
        padding: 24px 20px;
    }

    .landing-cta-box {
        max-width: none;
        width: auto;
        margin: 0 24px;
    }

    .landing-system,
    .landing-how,
    .landing-audience,
    .landing-cta {
        padding: 72px 0;
    }

    .landing-how {
        padding-top: 30px;
    }
}

/* Footer / prompts: landing scale. Site header uses shared header.html only (same as Portfolio Hub). */
body:is(.landing-index, .onboarding-welcome-page) .bottom-link,
body:is(.landing-index, .onboarding-welcome-page) .contact-list li,
body:is(.landing-index, .onboarding-welcome-page) .newsletter-form input[type="email"],
body:is(.landing-index, .onboarding-welcome-page) .disclaimer-text,
body:is(.landing-index, .onboarding-welcome-page) .prompt-text p {
    font-size: calc(14px * var(--landing-fs));
}

body:is(.landing-index, .onboarding-welcome-page) .footer-title,
body:is(.landing-index, .onboarding-welcome-page) .pwa-install__title {
    font-size: calc(16px * var(--landing-fs));
}

body:is(.landing-index, .onboarding-welcome-page) .pwa-install__cta {
    font-size: calc(16px * var(--landing-fs));
}

/*
 * Landing index primary CTAs (hero + bottom): shared primary tokens.
 * Covers both .landing-hero-cta and .landing-cta-buttons.
 */
body.landing-index .landing-page a.landing-btn-primary {
    background: var(--iris-create-btn-bg, var(--gradient-primary)) !important;
    color: var(--iris-primary-action-fg);
    box-shadow: none;
}

[data-theme="dark"] body.landing-index .landing-page a.landing-btn-primary,
[data-theme="dark"] .landing-btn-primary,
[data-theme="dark"] .landing-btn-primary:hover {
    box-shadow: none;
}
