.apps-page {
    --apps-paper: #f3f0e8;
    --apps-paper-clean: #fbfaf6;
    --apps-ink: #29292b;
    --apps-dark: #18181a;
    --apps-muted: #666a71;
    --apps-line: rgba(41, 41, 43, 0.16);
}

.apps-page .desktop-nav .is-active { color: var(--primary); }
.apps-page .desktop-nav .is-active::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 0.45rem;
    background: currentColor;
}

.apps-hero {
    min-height: clamp(390px, 54vw, 650px);
    display: flex;
    align-items: flex-end;
    padding: clamp(5rem, 10vw, 9.5rem) 0 clamp(4rem, 8vw, 7.25rem);
    background: var(--apps-dark);
    color: #f8f7f2;
}

.apps-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
    align-items: end;
    gap: clamp(3rem, 8vw, 9rem);
}

.apps-kicker {
    display: flex;
    gap: 0.8rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: #a9afb9;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.apps-kicker span:first-child { color: #f8f7f2; }

.apps-hero h1 {
    margin: 0;
    color: #fbfaf6;
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(3.45rem, 7.8vw, 7.7rem);
    font-weight: 470;
    line-height: 0.9;
    letter-spacing: -0.068em;
}
.apps-hero h1 span {
    color: #c4c8cf;
    font-size: 0.58em;
    letter-spacing: -0.05em;
}
.apps-intro {
    max-width: 34rem;
    margin: 0 0 0.4rem;
    color: #a9afb9;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.65;
}

.apps-catalog {
    padding: clamp(4.5rem, 9vw, 9rem) 0 clamp(5rem, 10vw, 10rem);
    background: var(--apps-paper);
}
.apps-section-heading {
    display: grid;
    grid-template-columns: minmax(80px, 0.22fr) 1fr;
    align-items: end;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--apps-line);
}
.apps-section-number {
    color: var(--apps-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.apps-section-heading h2 {
    margin: 0;
    color: var(--apps-ink);
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(2.35rem, 4.8vw, 5rem);
    font-weight: 480;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.apps-grid { display: grid; gap: 1.25rem; }
.app-card {
    display: grid;
    grid-template-columns: minmax(230px, 0.38fr) minmax(0, 0.62fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--apps-line);
    border-radius: 0.45rem;
    background: var(--apps-paper-clean);
}
.app-card:nth-child(even) .app-logo-wrap { order: 2; }
.app-logo-wrap {
    display: grid;
    place-items: center;
    padding: clamp(2rem, 5vw, 5rem);
    background: #dfe2dc;
}
.app-card:nth-child(2) .app-logo-wrap { background: #dddeda; }
.app-card:nth-child(3) .app-logo-wrap { background: #e4ded5; }
.app-card:nth-child(4) .app-logo-wrap { background: #d9e1e3; }
.app-card:nth-child(5) .app-logo-wrap { background: #d8dedf; }
.app-card:nth-child(6) .app-logo-wrap { background: #d9e3e8; }
.app-card:nth-child(7) .app-logo-wrap { background: #e8e6df; }
.app-card:nth-child(8) .app-logo-wrap { background: #d9e5ea; }
.app-logo {
    width: min(100%, 290px);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: clamp(1.35rem, 3vw, 2.5rem);
    box-shadow: 0 25px 60px rgba(23, 24, 26, 0.18);
}
.app-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.25rem, 6vw, 6.5rem);
}
.app-card-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: var(--apps-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.app-card-meta span + span::before { content: '·'; margin-right: 0.75rem; }
.app-card-meta span:last-child { text-transform: none; }
.app-card h3 {
    margin: 0;
    color: var(--apps-ink);
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(2.1rem, 4.1vw, 4.5rem);
    font-weight: 490;
    line-height: 0.98;
    letter-spacing: -0.058em;
}
.app-card h3 span {
    display: block;
    margin-top: 0.16em;
    color: #73767c;
    font-size: 0.53em;
    letter-spacing: -0.035em;
}
.app-card-content > p {
    max-width: 680px;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--apps-muted);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.7;
}

.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}
.store-badge {
    min-width: 175px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    padding: 0.62rem 1rem;
    border: 1px solid var(--apps-dark);
    border-radius: 0.5rem;
    background: var(--apps-dark);
    color: #fff;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}
a.store-badge:hover { background: #303033; transform: translateY(-2px); }
.store-badge.is-disabled {
    border-color: rgba(41, 41, 43, 0.15);
    background: rgba(41, 41, 43, 0.075);
    color: rgba(41, 41, 43, 0.46);
    cursor: not-allowed;
}
.store-icon { width: 27px; height: 27px; flex: 0 0 auto; }
.store-icon-apple { width: 29px; height: 29px; }
.store-badge > span { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge small { margin-bottom: 0.2rem; font-size: 0.64rem; font-weight: 500; }
.store-badge strong { font-size: 1.04rem; font-weight: 600; letter-spacing: -0.025em; }

.apps-footer-mark {
    color: #777d87;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

@media (max-width: 820px) {
    .apps-hero-layout, .app-card { grid-template-columns: 1fr; }
    .apps-hero-layout { gap: 2.5rem; }
    .app-card { min-height: 0; }
    .app-card:nth-child(even) .app-logo-wrap { order: 0; }
    .app-logo-wrap { min-height: 340px; }
}
@media (max-width: 560px) {
    .apps-hero { min-height: 520px; }
    .apps-hero h1 { font-size: clamp(3rem, 15vw, 4.35rem); }
    .apps-section-heading { grid-template-columns: 1fr; gap: 0.65rem; }
    .app-logo-wrap { min-height: 285px; padding: 2.5rem; }
    .app-logo { width: min(100%, 210px); }
    .store-actions { flex-direction: column; }
    .store-badge { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .store-badge { transition: none; }
}
