/* Distinct public product stories share the existing appyJunto type and spacing system. */
.site-products-menu {
    position: relative;
    color: var(--site-ink);
}
.site-products-menu summary {
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    color: var(--site-ink);
}
.site-products-menu summary:hover,
.site-products-menu[open] summary {
    color: var(--brand);
}
.site-products-menu summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 5px;
    border-radius: 3px;
}
.site-products-menu summary::-webkit-details-marker {
    display: none;
}
.site-products-menu summary::after {
    content: '⌄';
    margin-left: 7px;
    color: #647a9d;
}
.site-products-links {
    position: absolute;
    top: calc(100% + 17px);
    left: -16px;
    z-index: 40;
    display: grid;
    width: 235px;
    padding: 10px;
    border: 1px solid var(--site-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px #132d651c;
}
.site-products-links a {
    padding: 11px 12px;
    border-radius: 9px;
    color: var(--site-ink);
}
.site-products-links a:hover,
.site-products-links a[aria-current] {
    color: #075de5;
    background: #eef5ff;
}
.product-hero {
    overflow: hidden;
    background: radial-gradient(circle at 80% 30%, #dbe9ff, transparent 45%), #f7fbff;
}
.product-hero--survey {
    background: radial-gradient(circle at 80% 30%, #d0f9ee, transparent 45%), #f6fffc;
}
.product-hero--points {
    background: radial-gradient(circle at 80% 30%, #e9ddff, transparent 45%), #fbf8ff;
}
.product-hero--event {
    background: radial-gradient(circle at 80% 30%, #ffe6c6, transparent 47%), #fffbf5;
}
.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
    align-items: center;
    gap: 34px;
    min-height: 650px;
    padding-top: 68px;
    padding-bottom: 68px;
}
.product-hero-copy h1 {
    max-width: 530px;
    font-size: clamp(2.7rem, 4.3vw, 4.6rem);
}
.product-hero-copy > p {
    max-width: 490px;
    color: var(--site-muted);
    font-size: 1.18rem;
}
.product-hero-copy .site-eyebrow {
    color: #0766eb;
}
.product-hero--survey .product-hero-copy .site-eyebrow {
    color: #008d73;
}
.product-hero--points .product-hero-copy .site-eyebrow {
    color: #6e37d6;
}
.product-hero--event .product-hero-copy .site-eyebrow {
    color: #a35a15;
}
.product-illustration-note {
    display: block;
    margin-top: 16px;
    color: #7282a1;
    font-size: 0.75rem;
}
/* Transparent artwork sits directly on each product's existing hero gradient. */
.product-visual {
    min-width: 0;
    width: 100%;
}
.product-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.home-hero-mosaic {
    position: relative;
    min-height: 500px;
}
.home-hero-mosaic > div {
    position: absolute;
}
.home-hero-mosaic-main {
    top: 0;
    left: 0;
    width: 70%;
    z-index: 2;
}
.home-hero-mosaic-survey {
    top: 4%;
    right: 0;
    width: 46%;
    z-index: 1;
}
.home-hero-mosaic-points {
    right: 0;
    bottom: 2%;
    width: 48%;
    z-index: 3;
}
.home-product-showcases {
    display: grid;
    gap: 24px;
}
.home-product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 36px;
    overflow: hidden;
    padding: 20px 55px 20px 20px;
    border: 1px solid #e2eaf8;
    border-radius: 28px;
    background: #f9fcff;
}
.home-product-showcase--survey {
    background: #f8fffc;
}
.home-product-showcase--points {
    background: #fcfaff;
}
.home-product-showcase--event {
    background: #fffbf5;
}
.home-product-showcase:nth-child(2) .home-product-showcase-art {
    order: 2;
}
.home-product-showcase:nth-child(2) .home-product-showcase-copy {
    order: 1;
    padding-left: 35px;
}
.home-product-showcase-copy h3 {
    max-width: 410px;
    font-size: clamp(1.8rem, 2.5vw, 2.65rem);
}
.home-product-showcase-copy p {
    max-width: 420px;
    color: var(--site-muted);
}
.home-product-showcase-copy .site-button {
    display: inline-flex;
    margin-top: 10px;
}
.home-product-showcase--survey .site-button {
    background: #079f82;
}
.home-product-showcase--points .site-button {
    background: #7037da;
}
.home-product-showcase--event .site-button {
    background: #ac641d;
}
.product-benefit-grid,
.product-feature-grid,
.product-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.product-benefit,
.product-feature-grid article,
.product-steps li {
    padding: 27px;
    border: 1px solid #e4ebf7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px #1d41820a;
}
.product-benefit > span,
.product-feature-grid article > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ff;
    color: #0867ec;
    font-size: 1.4rem;
}
.product-benefit p,
.product-feature-grid p,
.product-steps p {
    color: var(--site-muted);
    font-size: 0.93rem;
}
.product-how {
    background: #f6f9ff;
}
.product-how--survey {
    background: #f2fcf8;
}
.product-how--points {
    background: #f9f5ff;
}
.product-how--event {
    background: #fff8ed;
}
.product-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-steps li > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e2eeff;
    color: #0866eb;
    font-weight: 800;
}
.product-integrations {
    background: #f8fffc;
}
.product-integrations .site-text-link {
    display: inline-block;
    margin-top: 24px;
}
.product-pricing {
    scroll-margin-top: 85px;
}
.product-pricing .pricing-family-heading {
    margin-top: 25px;
}
.product-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px 50px;
    border-radius: 25px;
    background: #eaf3ff;
}
.product-final-cta--survey {
    background: #e6f8f1;
}
.product-final-cta--points {
    background: #f2eaff;
}
.product-final-cta--event {
    background: #fff1df;
}
.product-final-cta p {
    margin-bottom: 0;
    color: var(--site-muted);
}
@media (max-width: 1020px) {
    .site-products-menu {
        width: 100%;
    }
    .site-products-links {
        position: static;
        width: 100%;
        margin-top: 9px;
        box-shadow: none;
    }
    .product-hero-grid {
        grid-template-columns: 1fr;
    }
    .product-hero-copy {
        max-width: 650px;
    }
    .product-hero-grid .product-visual {
        max-width: 720px;
        margin: auto;
    }
    .home-product-showcase {
        padding-right: 25px;
        gap: 24px;
    }
}
@media (max-width: 760px) {
    .home-hero-mosaic {
        min-height: 390px;
    }
    .home-product-showcase {
        grid-template-columns: 1fr;
        padding: 12px 12px 30px;
    }
    .home-product-showcase-art,
    .home-product-showcase:nth-child(2) .home-product-showcase-art {
        order: 1;
    }
    .home-product-showcase-copy,
    .home-product-showcase:nth-child(2) .home-product-showcase-copy {
        order: 2;
        padding: 6px 16px;
    }
    /* Mobile product heroes keep the message and actions without a large illustration. */
    .product-hero-grid .product-visual,
    .product-hero-copy .product-illustration-note {
        display: none;
    }
    .product-hero-grid {
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 55px;
    }
    .product-hero-copy h1 {
        font-size: clamp(2.5rem, 9vw, 3.5rem);
    }
    .product-benefit-grid,
    .product-feature-grid,
    .product-steps {
        grid-template-columns: 1fr;
    }
    .product-final-cta {
        display: block;
        padding: 29px;
    }
    .product-final-cta .site-button {
        margin-top: 20px;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .home-product-showcase,
    .product-benefit,
    .product-feature-grid article {
        transition: transform 220ms ease, box-shadow 220ms ease;
    }
    .home-product-showcase:hover,
    .product-benefit:hover,
    .product-feature-grid article:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px #193c7d14;
    }
}
