/* Public landing pages share the composition introduced on FeeLink. */
body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) {
    padding: clamp(48px, 6vw, 88px) 0;
    background: radial-gradient(ellipse at 88% 30%, #d9f4f4, transparent 52%),
        linear-gradient(135deg, #f2f8ff, #fff9eb);
    border-bottom: 1px solid #dce8f4;
}

body .page-heading.public-listing-heading::after,
body .home-hero .knowledge-graph::before {
    display: none;
}

body :is(.home-hero > .hero-layout, .public-listing-heading > .module-hero-layout) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 36%);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .eyebrow {
    margin-bottom: 16px;
    color: #205cda;
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .eyebrow::before {
    background: #ff6b5e;
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) h1 {
    margin: 0 0 16px;
    color: #183153;
    font-size: var(--public-hero-title, clamp(2.4rem, 5vw, 4rem));
    line-height: 1.12;
    letter-spacing: -.04em;
}

body .hero.home-hero {
    --public-hero-title: clamp(2.3rem, 4.5vw, 3.75rem);
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .hero-copy {
    max-width: 34em;
    text-wrap: pretty;
    color: #46627d;
    font-size: clamp(1rem, 1.6vw, 1.13rem);
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .actions .button {
    min-height: 44px;
    border: 1px solid #2563eb;
    border-radius: 12px;
    background: linear-gradient(120deg, #245cdd, #126db4);
    color: #fff;
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .actions .button:hover {
    background: #1746a2;
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .actions .button.secondary {
    border-color: #a1c2ed;
    background: #ffffffb3;
    color: #1746a2;
}

body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) .actions .button.secondary:hover {
    background: #eaf4ff;
}

body :is(.home-hero .knowledge-graph, .public-listing-heading .module-hero-visual) {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 410px;
    aspect-ratio: 1.52;
    margin: 0;
    padding: 12px;
    justify-self: end;
    border: 1px solid #fff;
    border-radius: clamp(24px, 3vw, 44px);
    background: radial-gradient(ellipse at 75% 22%, #dcf2f2, transparent 70%),
        linear-gradient(145deg, #ffffffde, #f4f6efd9);
    box-shadow: 0 16px 36px rgba(24, 49, 83, .11);
    overflow: hidden;
}

.home-hero .knowledge-graph svg,
.public-listing-heading .module-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.home-hero .knowledge-graph svg {
    width: 88%;
}

body .public-listing-heading + .section {
    padding-top: clamp(34px, 5vw, 56px);
}

@media (max-width: 760px) {
    body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) {
        padding: 36px 0 32px;
    }

    body :is(.home-hero > .hero-layout, .public-listing-heading > .module-hero-layout) {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .public-listing-heading .actions[aria-hidden="true"] {
        display: none !important;
    }

    body :is(.hero.home-hero, .page-heading.public-listing-heading.module-hero-heading) h1 {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
    }

    body :is(.home-hero .knowledge-graph, .public-listing-heading .module-hero-visual) {
        max-width: 270px;
        justify-self: start;
        padding: 8px;
    }
}

@media (max-width: 380px) {
    .ui-footer-inner {
        flex-wrap: wrap;
        gap: 6px 16px;
    }
}