.hero-pagepan .app-frame img, .hero-highspeaker .app-frame img { aspect-ratio: 16/9; object-fit: contain; height: auto; }
.hero-shnu-sc .hero-visual.app-frame img { aspect-ratio: 1916/821; object-fit: contain; height: auto; }
.hero-sc .hero-visual.app-frame img { aspect-ratio: 1586/992; object-fit: contain; height: auto; }
.hero-pagepan h1 { font-size: clamp(2.8rem, 6vw, 6.1rem); }
.hero-highspeaker h1 { font-size: clamp(2.7rem, 5.1vw, 5.05rem); }
.hero-sc, .hero-shnu-sc { background: #f7f8fb; }

@media (max-width: 44rem) {
    .hero-highspeaker h1 { font-size: clamp(2.4rem, 12vw, 2.7rem); }
}

.hero-shnu-sc ~ #benefits { background: #f7f9fe; padding-block: clamp(3.25rem, 6vw, 6rem); }
.hero-shnu-sc ~ #benefits .section-heading { margin-bottom: 1.25rem; }
.hero-shnu-sc ~ #benefits h2 { font-size: clamp(1.85rem, 3.35vw, 3rem); }
.hero-shnu-sc ~ #benefits .rich > p { margin-bottom: .85rem; }
.hero-shnu-sc ~ #benefits .rich > ul { padding-left: 1.35rem; }
.hero-shnu-sc ~ #benefits .rich > ul li + li { margin-top: .35rem; }
.hero-shnu-sc ~ #benefits .rich > ul li::marker { color: var(--accent); }
.hero-shnu-sc ~ #benefits .rich > img {
    width: var(--studio-media-width, 100%);
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 .75rem 2.25rem #101c341a;
}
@media (min-width: 52rem) {
    .hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: .8rem clamp(2rem, 5vw, 5.5rem);
        align-content: center;
    }
    .hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) > .rich { display: contents; }
    .hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) :is(.section-heading, .rich > p, .rich > ul) {
        grid-column: 1;
        margin-bottom: 0;
    }
    .hero-shnu-sc ~ #benefits > .wrap:has(> .rich > p:first-child + ul + img:last-child) .rich > img {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }
}

#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #materials .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #why .choice-card { background: #e9f0ff; border-color: #7599ec; box-shadow: inset 0 3px var(--accent); }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #why .choice-card h3 { color: var(--accent-deep); }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #options .feature-card { display: flex; flex-direction: column; align-items: flex-start; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #options .feature-card > img { width: 3.6rem; height: 3.6rem; margin-bottom: .95rem; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #options .feature-card > a { margin-top: auto; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #faq .faq { max-width: none; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #faq summary { font-size: clamp(1.05rem, 1.35vw, 1.2rem); min-height: 3.75rem; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #faq details > div { max-width: 75ch; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go { padding-block: clamp(2rem, 5vw, 4rem); background: var(--white); }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go > .wrap {
    position: relative;
    padding: clamp(1.5rem, 5vw, 4.5rem);
    padding-right: clamp(11rem, 29vw, 23rem);
    border-radius: var(--radius);
    background: radial-gradient(ellipse at 88% 110%, #264b9a 0, transparent 59%), #132443;
    color: var(--white);
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .section-heading { margin-bottom: .8rem; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .contact-panel { display: block; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .contact-panel p { color: #d9e8ff; max-width: 40ch; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .contact-panel img {
    position: absolute;
    top: 50%;
    right: clamp(1.5rem, 6vw, 6rem);
    transform: translateY(-50%);
    width: clamp(8rem, 13vw, 12rem);
    padding: .5rem;
    border: 0;
    border-radius: .85rem;
    background: white;
}
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .button { color: #142956; background: #eef4ff; border-color: #eef4ff; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #terms { padding-block: 1.4rem 2.5rem; border-top: 0; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #terms .section-heading { margin-bottom: .35rem; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #terms h2 { font-size: .95rem; letter-spacing: 0; }
#main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #terms .rich { font-size: .875rem; color: var(--muted); }

@media (max-width: 62rem) {
    #main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #materials .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
    .catalog-grid, #main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #materials .feature-grid { grid-template-columns: 1fr; }
    #main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go > .wrap { padding: 1.55rem; min-height: 0; }
    #main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .contact-panel { display: flex; gap: 1rem; }
    #main-content:has(> :is(.hero-sc, .hero-shnu-sc)) #go .contact-panel img { position: static; transform: none; width: 7rem; }
}

.home-cursor {
    display: inline-block;
    width: .52em;
    margin-inline-start: .08em;
    font-family: var(--mono);
    font-size: .7em;
    animation: home-cursor-blink 1.1s steps(1, end) 5;
}
@keyframes home-cursor-blink { 50% { opacity: 0; } }

.home-pipe-flow {
    position: absolute;
    inset: clamp(.45rem, 1.8vw, 1.7rem);
    width: calc(100% - 2 * clamp(.45rem, 1.8vw, 1.7rem));
    height: calc(100% - 2 * clamp(.45rem, 1.8vw, 1.7rem));
    pointer-events: none;
}
.home-pipe-route { opacity: 0; animation: pipe-visibility 7s linear 2 both; }
.home-pipe-route use {
    fill: none;
    stroke: #2985fa;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 17 110;
    stroke-dashoffset: 19;
    opacity: .48;
    animation: pipe-travel 7s linear 2 both;
}
.home-pipe-route use + use { stroke: #ecffff; stroke-width: 1.3; stroke-dasharray: 11 116; opacity: .95; }
.home-pipe-route:nth-of-type(2) { --pipe-delay: .85s; }
.home-pipe-route:nth-of-type(3) { --pipe-delay: 2.35s; }
.home-pipe-route:nth-of-type(4) { --pipe-delay: 3.2s; }
.home-pipe-route, .home-pipe-route use { animation-delay: var(--pipe-delay, 0s); }
@keyframes pipe-travel { 0%, 6% { stroke-dashoffset: 19; } 45%, 100% { stroke-dashoffset: -104; } }
@keyframes pipe-visibility { 0%, 6%, 45%, 100% { opacity: 0; } 13%, 37% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .home-cursor { animation: none; }
    .home-pipe-flow { display: none; }
}

.footer-company .site-address { margin: .25rem 0 0; color: var(--muted); max-width: 26rem; font-style: italic; }

.hero-home .hero-visual.app-frame {
    isolation: isolate;
    border: 1px solid #cad9f6;
    border-radius: 1.8rem;
    background: radial-gradient(circle, #a9bce9 1px, transparent 1.3px) 0 0 / 20px 20px, #eaf0fd;
    padding: clamp(.45rem, 1.8vw, 1.7rem);
    box-shadow: 0 22px 85px -44px #204dba65;
}
.hero-home .hero-visual.app-frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1.15rem;
    mix-blend-mode: multiply;
}
.hero-home ~ #about {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: white;
    background: var(--navy);
}
.hero-home ~ #about::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: repeating-radial-gradient(circle at 90% 72%, transparent 0 33px, #5e8ff822 34px 35px, transparent 36px 60px),
        linear-gradient(135deg, #111f3b, #142b5f);
    pointer-events: none;
}
.hero-home ~ #about.moment-active::before { animation: iris 900ms ease-out both; }
.hero-home ~ #about .section-heading { margin-bottom: 1.45rem; }
.hero-home ~ #about .rich p { color: #dbe7ff; font-size: clamp(1.2rem, 2.4vw, 1.7rem); max-width: 50rem; }
.page-photo-credit { padding-bottom: 1.4rem; margin-bottom: 0; color: var(--muted); font-size: .875rem; }

@media (max-width: 44rem) {
    .hero-home .hero-visual.app-frame { border-radius: 1.15rem; }
    .hero-home .hero-visual.app-frame img { border-radius: .8rem; }
}
