:root[data-theme] body.st-page {
    padding-bottom: 0;
}

.st-page [hidden] {
    display: none !important;
}

.st-head-link {
    border-color: transparent;
    background: transparent;
}

.st-balance {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 4px 0 14px;
    border-radius: 999px;
    background: var(--ah-sunken);
    color: var(--ah-ink);
    font: 800 14px/1 var(--ah-font-ui);
    text-decoration: none;
}

.st-balance-go {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ah-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.st-balance span:first-child {
    white-space: nowrap;
}

@media (max-width: 400px) {
    .st-balance {
        padding-right: 14px;
    }

    .st-balance-go {
        display: none;
    }
}

.st-main {
    max-width: var(--ah-content-w);
    margin: 0 auto;
    padding: 0 24px;
}

.st-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
    padding: 64px 0 40px;
}

.st-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--ah-accent);
    font: 800 12px/1 var(--ah-font-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.st-title {
    margin: 0;
    color: var(--ah-ink);
    font: 600 clamp(32px, 4.2vw, 54px)/1.08 var(--ah-font-display);
    letter-spacing: -0.02em;
}

.st-lead {
    max-width: 560px;
    margin: 20px 0 0;
    color: var(--ah-muted);
    font: 500 17px/1.55 var(--ah-font-ui);
}

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.st-cta {
    height: 48px;
    padding: 0 22px;
    font-size: 15px;
    text-decoration: none;
}

.st-hero-art {
    position: relative;
    height: 420px;
}

.st-art-card {
    position: absolute;
    overflow: hidden;
    border-radius: 22px;
    background: var(--ah-surface);
    box-shadow: 0 20px 50px rgba(21, 24, 51, 0.14);
}

.st-art-card :is(img, video) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-art-photo {
    top: 0;
    left: 6%;
    width: 52%;
    aspect-ratio: 3 / 4;
    transform: rotate(-4deg);
}

.st-art-video {
    top: 14%;
    right: 2%;
    width: 42%;
    aspect-ratio: 9 / 14;
    transform: rotate(3deg);
}

.st-art-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
}

.st-art-play::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 16px;
    border-left: 16px solid var(--ah-ink);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.st-art-track {
    left: 0;
    bottom: 4%;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px 12px;
    width: 64%;
    padding: 14px;
    background: var(--ah-deep);
    color: #fff;
}

.st-art-track-cover {
    grid-row: 1 / 2;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #B8337F, #6B2A8E);
}

.st-art-track-meta {
    display: grid;
    align-content: center;
    gap: 3px;
    min-width: 0;
}

.st-art-track-meta b {
    font: 700 14px/1.2 var(--ah-font-ui);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-art-track-meta small {
    color: rgba(255, 255, 255, 0.6);
    font: 500 12px/1.2 var(--ah-font-ui);
}

.st-art-track-bar {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.st-art-track-bar i {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: var(--ah-teal);
}

.st-iphone {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
    box-shadow: var(--ah-shadow);
    color: var(--ah-ink);
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.st-iphone:hover {
    border-color: var(--ah-accent);
}

.st-iphone-icons {
    display: flex;
}

.st-iphone-icons img {
    width: 44px;
    height: 44px;
    margin-left: -10px;
    border: 2px solid #fff;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.st-iphone-icons img:first-child {
    margin-left: 0;
}

.st-iphone-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.st-iphone-copy .ah-badge {
    justify-self: start;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ah-accent-soft);
    color: var(--ah-accent);
    font: 700 11px/1.4 var(--ah-font-ui);
}

.st-iphone-copy b {
    font: 700 17px/1.3 var(--ah-font-ui);
}

.st-iphone-copy small {
    color: var(--ah-muted);
    font: 500 13px/1.4 var(--ah-font-ui);
}

.st-iphone-btn {
    pointer-events: none;
}

.st-section {
    margin-top: 56px;
}

.st-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.st-h2 {
    margin: 0 0 20px;
    color: var(--ah-ink);
    font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--ah-font-display);
}

.st-section-head .st-h2 {
    margin: 0;
}

.st-directions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.st-directions--small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.st-dir {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
    box-shadow: var(--ah-shadow);
    color: var(--ah-ink);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.st-dir:hover {
    border-color: var(--ah-accent);
    transform: translateY(-2px);
}

.st-dir h3 {
    margin: 0;
    font: 700 18px/1.25 var(--ah-font-ui);
}

.st-dir p {
    flex: 1;
    margin: 0;
    color: var(--ah-muted);
    font: 500 14px/1.5 var(--ah-font-ui);
}

.st-dir-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ah-accent-soft);
    color: var(--ah-accent);
}

.st-dir-icon .ah-ico {
    width: 22px;
    height: 22px;
}

.st-dir--music .st-dir-icon { background: rgba(184, 51, 127, 0.1); color: #A42C72; }
.st-dir--video .st-dir-icon { background: rgba(55, 211, 193, 0.16); color: var(--ah-success); }
.st-dir--chat .st-dir-icon { background: rgba(21, 24, 51, 0.07); color: var(--ah-ink); }

.st-dir-go {
    color: var(--ah-accent);
    font: 700 14px/1 var(--ah-font-ui);
}

.st-dir--row {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
}

.st-dir--row .st-dir-icon {
    flex: 0 0 auto;
}

.st-dir--row h3 {
    margin-bottom: 4px;
}

.st-filter {
    flex: 0 0 auto;
}

.st-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.st-gallery .gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    background: var(--ah-sunken);
    color: var(--ah-ink);
    text-decoration: none;
    cursor: pointer;
}

.st-gallery .gallery-image,
.st-gallery video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.st-gallery .gallery-item:hover .gallery-image {
    transform: scale(1.03);
}

.st-gallery .gallery-video {
    background: linear-gradient(160deg, #2A2F5E, #151833);
}

.st-gallery .gallery-audio {
    background: linear-gradient(160deg, #B8337F, #4B3BD6);
}

.st-gallery .video-placeholder,
.st-gallery .audio-orb {
    position: absolute;
    left: 50%;
    top: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #151833;
}

.st-gallery .video-placeholder .ah-ico,
.st-gallery .audio-orb .ah-ico {
    width: 22px;
    height: 22px;
}

.st-gallery .gallery-audio.is-playing .audio-orb {
    background: var(--ah-teal);
}

.st-gallery .gallery-video.has-cover .video-placeholder {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    background: rgba(255, 255, 255, 0.85);
    transition: opacity 0.2s ease;
}

.st-gallery .gallery-video.has-cover .video-placeholder .ah-ico {
    width: 18px;
    height: 18px;
}

@media (hover: hover) {
    .st-gallery .gallery-video.has-cover:hover .video-placeholder {
        opacity: 0;
    }
}

.st-gallery .gallery-video.is-playing .video-placeholder,
.st-gallery .gallery-video.is-playing .gallery-overlay {
    display: none;
}

.st-gallery .gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 14px 14px;
    background: linear-gradient(180deg, transparent, rgba(21, 24, 51, 0.78));
    color: #fff;
    pointer-events: none;
}

.st-gallery .gallery-title {
    margin: 0;
    font: 700 15px/1.25 var(--ah-font-ui);
}

.st-gallery .gallery-subtitle {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font: 500 12px/1.2 var(--ah-font-ui);
}

.st-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.st-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.st-feature {
    padding: 22px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
}

.st-feature h3 {
    margin: 0 0 8px;
    font: 700 16px/1.3 var(--ah-font-ui);
    color: var(--ah-ink);
}

.st-feature p {
    margin: 0;
    color: var(--ah-muted);
    font: 500 14px/1.5 var(--ah-font-ui);
}

.st-page #reviews .rv-trust {
    justify-content: flex-start;
    margin: 0 0 16px;
}

.st-page #reviews .rv-trust-item {
    border: 1px solid var(--ah-line);
    background: var(--ah-surface);
    box-shadow: none;
    color: var(--ah-ink);
}

.st-page #reviews .rv-trust-item > span {
    color: var(--ah-muted);
}

:root[data-theme] .ah-shell #reviews .rv-trust-item b {
    color: var(--ah-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.st-page #reviews .rv-card {
    border: 1px solid var(--ah-line);
    background: var(--ah-surface);
    box-shadow: var(--ah-shadow);
    color: var(--ah-ink);
}

.st-page #reviews .rv-card:hover {
    border-color: var(--ah-accent);
}

.st-page #reviews .rv-name {
    color: var(--ah-ink);
}

.st-page #reviews .rv-sub,
.st-page #reviews .rv-text {
    color: var(--ah-muted);
}

.st-page #reviews .rv-sub em {
    color: var(--ah-success);
}

.st-page #reviews .rv-topic {
    border-color: transparent;
    background: var(--ah-accent-soft);
    color: var(--ah-accent);
}

.st-page #reviews .rv-empty {
    border: 1.5px dashed var(--ah-line-strong);
    background: transparent;
    color: var(--ah-muted);
}

.st-page #reviews .rv-actions {
    justify-content: flex-start;
    margin-top: 20px;
}

.st-launch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 56px 0 0;
    padding: 32px;
    border-radius: var(--ah-radius-card);
    background: var(--ah-deep);
    color: #fff;
}

.st-launch .st-h2 {
    margin-bottom: 8px;
    color: #fff;
}

.st-launch p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font: 500 15px/1.5 var(--ah-font-ui);
}

.st-launch .st-hero-actions {
    margin-top: 0;
    justify-content: flex-end;
}

.st-launch .ah-btn--ghost {
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
}

.st-launch .ah-btn--ghost:hover {
    border-color: #fff;
}

.st-footer {
    max-width: var(--ah-content-w);
    margin: 48px auto 0;
    padding: 24px 24px 40px;
    border-top: 1px solid var(--ah-line);
}

.st-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.st-footer-links a {
    color: var(--ah-muted);
    font: 600 13px/1.4 var(--ah-font-ui);
    text-decoration: none;
}

.st-footer-links a:hover {
    color: var(--ah-accent);
}

.st-copy {
    margin: 16px 0 0;
    color: var(--ah-muted);
    font: 600 13px/1 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .st-gallery .gallery-title,
:root[data-theme] .ah-shell .st-launch .st-h2 {
    color: #fff;
}

:root[data-theme] .ah-shell .st-launch p {
    color: rgba(255, 255, 255, 0.7);
}

:root[data-theme] .ah-shell .st-launch .ah-btn--ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: transparent;
    color: #fff;
}

@media (max-width: 1100px) {
    .st-hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 40px;
    }

    .st-hero-art {
        display: none;
    }

    .st-directions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .st-launch {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-launch .st-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .st-head-link {
        display: none;
    }

    .st-main {
        padding: 0 16px;
    }

    .st-hero {
        padding: 28px 0 24px;
    }

    .st-lead {
        font-size: 15px;
    }

    .st-hero-actions .st-cta {
        flex: 1 1 100%;
    }

    .st-iphone {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .st-iphone-btn {
        display: none;
    }

    .st-section {
        margin-top: 40px;
    }

    .st-directions,
    .st-directions--small,
    .st-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-dir {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 4px 14px;
        padding: 14px 16px;
    }

    .st-dir .st-dir-icon {
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
    }

    .st-dir h3 {
        font-size: 16px;
    }

    .st-dir p {
        font-size: 13px;
    }

    .st-dir-go {
        display: none;
    }

    .st-dir--row > span:last-child {
        display: contents;
    }

    .st-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .st-filter {
        width: 100%;
        overflow-x: auto;
    }

    .st-launch {
        padding: 24px 20px;
    }

    .st-footer {
        padding-bottom: 96px;
    }
}
