:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --border: rgba(0, 0, 0, 0.08);
    --accent: #1a4b8c;
    --accent-hover: #123866;
    --on-accent: #ffffff;
    --header: rgba(255, 255, 255, 0.78);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    --radius-card: 22px;
    --radius-shot: 20px;
    --max: 1120px;
    --pad: 20px;
    --header-h: 48px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 640px) {
    :root { --pad: 28px; --header-h: 52px; }
}

@media (min-width: 900px) {
    :root { --pad: 40px; }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-soft: #1c1c1e;
        --text: #f5f5f7;
        --text-2: #a1a1a6;
        --border: rgba(255, 255, 255, 0.12);
        --accent: #7eb0ff;
        --accent-hover: #9bc2ff;
        --on-accent: #071018;
        --header: rgba(0, 0, 0, 0.68);
        --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background:
        radial-gradient(80% 50% at 10% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    background: var(--accent);
    color: var(--on-accent);
    padding: 8px 12px;
    border-radius: 999px;
    z-index: 80;
}

.skip-link:focus { top: 10px; }

.wrap {
    width: min(var(--max), calc(100% - (var(--pad) * 2)));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--header);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.wordmark-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

.wordmark-text { font-size: 14px; }

.nav-desktop {
    display: none;
    gap: 18px;
}

.nav-desktop a,
.nav-mobile a {
    color: var(--text);
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-desktop a[aria-current="page"] { color: var(--accent); }

.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 2px;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form {
    display: flex;
    align-items: center;
}

.header-search-input {
    width: 0;
    min-width: 0;
    min-height: 36px;
    padding: 0;
    border: 0;
    opacity: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    pointer-events: none;
    transition: width 180ms ease, opacity 160ms ease, padding 180ms ease;
}

.header-search.is-open .header-search-input {
    width: min(220px, 42vw);
    margin-right: 4px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-soft);
    opacity: 1;
    pointer-events: auto;
}

.header-search-live {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    width: min(360px, calc(100vw - 32px));
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    box-shadow: var(--shadow);
}

.header-search-live[hidden] { display: none; }

.search-link,
.nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--text);
    background: none;
    border: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    margin: 3px 0;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 4px var(--pad) 16px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.nav-mobile.is-open { display: flex; }

@media (min-width: 900px) {
    .nav-desktop { display: flex; }
    .nav-toggle { display: none; }
    .wordmark-text { font-size: 15px; }
    .header-search.is-open .header-search-input { width: 240px; }
}

.hero { padding: 20px 0 8px; }

.hero-intro { margin-bottom: 18px; }

.hero-kicker,
.kicker {
    color: var(--text-2);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.038em;
    font-weight: 700;
    max-width: 18ch;
    margin: 0;
}

.today-card {
    border-radius: 28px;
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}

.today-media {
    position: relative;
    display: block;
    color: #fff;
    min-height: 280px;
    background: var(--tint, #1a1a1a);
}

.today-photo {
    width: 100%;
    height: min(58vw, 380px);
    object-fit: cover;
    object-position: center;
}

.today-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 28px 22px 22px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72) 70%);
    color: #fff;
}

.today-overlay .kicker { color: rgba(255, 255, 255, 0.72); }

.today-overlay h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 5vw, 34px);
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    max-width: 14ch;
    overflow-wrap: break-word;
}

.today-overlay p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    max-width: 36ch;
}

.today-dock {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 16px;
    background: var(--bg);
}

.today-dock-copy {
    min-width: 0;
    flex: 1;
}

.today-dock-copy h3 {
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.today-dock-copy p {
    margin: 2px 0 0;
    color: var(--text-2);
    font-size: 13px;
}

.today-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

@media (max-width: 639px) {
    .today-media { min-height: 240px; }
    .today-photo { height: 240px; }
    .today-dock {
        flex-wrap: wrap;
        padding: 14px 16px 16px;
    }
    .today-actions {
        flex-basis: 100%;
    }
    .today-actions .btn {
        flex: 1;
    }
}

.section { padding: 32px 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-head h2,
.app-detail h2,
.page-intro h1,
.empty-state h1 {
    margin: 0;
    font-size: clamp(24px, 4vw, 32px);
    letter-spacing: -0.03em;
}

.text-link {
    color: var(--accent);
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.rail-bleed { overflow: hidden; }

.rail,
.shot-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rail::-webkit-scrollbar,
.shot-rail::-webkit-scrollbar { display: none; }

.rail > * {
    flex: 0 0 min(340px, 82vw);
    scroll-snap-align: start;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 96px;
    padding: 12px 12px 12px 12px;
    background: var(--bg-soft);
    border-radius: var(--radius-card);
}

.section-soft .app-card,
.app-card-stack { background: var(--bg); }

.app-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
    color: inherit;
}

.app-card-copy {
    min-width: 0;
    flex: 1;
}

.app-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.app-card h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card p {
    margin: 2px 0 0;
    color: var(--text-2);
    font-size: 13px;
}

.app-card-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-top: 6px;
}

.app-meta {
    display: block;
    margin-top: 2px;
    color: var(--text-2);
    font-size: 12px;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 22.5%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    background: var(--bg-soft);
    flex-shrink: 0;
}

.app-icon-lg { width: 64px; height: 64px; }
.app-icon-xl {
    width: 88px;
    height: 88px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

@media (min-width: 640px) {
    .app-icon-xl { width: 132px; height: 132px; }
}

.app-card .btn-pill { flex-shrink: 0; }

@media (hover: hover) {
    .app-card { transition: transform 180ms ease, box-shadow 180ms ease; }
    .app-card:hover { transform: translateY(-1px); }
    .editorial-card { transition: transform 180ms ease; }
    .editorial-card:hover { transform: translateY(-2px); }
    .category-card { transition: transform 180ms ease; }
    .category-card:hover { transform: translateY(-1px); color: inherit; }
}

.btn,
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    color: var(--on-accent);
    background: var(--accent);
}

.btn { min-height: 44px; padding: 0 18px; }

.btn:hover { background: var(--accent-hover); color: var(--on-accent); }

.btn-ghost {
    background: var(--bg-soft);
    color: var(--accent);
    border: 0;
}

.btn-ghost:hover { background: var(--border); color: var(--accent-hover); }

.btn-pill {
    min-width: 78px;
    padding: 0 13px;
}

.btn-row,
.today-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.badge,
.pill-note {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.section-soft .badge { background: var(--bg-soft); }

.editorial-grid {
    display: grid;
    gap: 14px;
}

.editorial-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bg);
    color: inherit;
    box-shadow: var(--shadow);
    min-height: 100%;
}

.editorial-visual {
    height: 180px;
    background:
        radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, 0.22), transparent 50%),
        var(--tint, #1a4b8c);
    display: grid;
    place-items: center;
}

.editorial-card.has-photo .editorial-visual { padding: 0; }

.editorial-visual img:not(.editorial-icon) {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.editorial-icon {
    width: 88px;
    height: 88px;
    border-radius: 22.5%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.editorial-copy { padding: 16px 18px 20px; }

.editorial-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.editorial-card p { margin: 0; color: var(--text-2); font-size: 14px; }

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 104px;
    padding: 16px;
    border-radius: 18px;
    background: var(--bg-soft);
    color: inherit;
}

.category-card-lg { min-height: 128px; }

.category-card strong {
    font-size: 17px;
    letter-spacing: -0.02em;
}

.category-card span { color: var(--text-2); font-size: 13px; }

.category-card:nth-child(6n+1) { background: #eef2f7; }
.category-card:nth-child(6n+2) { background: #f3eef6; }
.category-card:nth-child(6n+3) { background: #eef6f2; }
.category-card:nth-child(6n+4) { background: #f7f0ee; }
.category-card:nth-child(6n+5) { background: #eef4f7; }
.category-card:nth-child(6n+6) { background: #f6f3ee; }

@media (prefers-color-scheme: dark) {
    .category-card:nth-child(n) { background: var(--bg-soft); }
}

.page-intro { padding: 28px 0 10px; }
.page-intro p,
.muted { color: var(--text-2); }

.page-head {
    padding: 40px 0 8px;
}

.page-kicker,
.home-kicker {
    margin: 0 0 12px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-kicker a { color: inherit; }

.page-title,
.home-hero h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.home-hero .page-title { max-width: 14ch; }

.page-lead,
.home-lead,
.lead {
    margin: 14px 0 0;
    max-width: 36ch;
    color: var(--text-2);
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 1.4;
}

.home-slider { padding-top: 28px; }

.home-catalog { padding-top: 8px; }

.home-catalog-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-catalog-head h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
}

.home-catalog-head p {
    margin: 0;
    color: var(--text-2);
    font-size: 13px;
}

.app-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 16px;
    border-radius: 18px;
    background: var(--bg-soft);
    color: inherit;
}

.app-tile:hover { color: inherit; }

.app-tile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.app-tile .app-icon {
    width: 56px;
    height: 56px;
}

.app-tile-title {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.app-tile-title strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

.app-tile-sub,
.app-tile-desc,
.app-tile-meta {
    color: var(--text-2);
}

.app-tile-sub {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-tile-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
}

.app-tile-meta {
    margin-top: auto;
    font-size: 13px;
}

.feature-slider {
    --feature-h: 440px;
    position: relative;
    margin: 4px 0 36px;
}

.feature-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.feature-head h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
}

.feature-head p {
    margin: 0;
    color: var(--text-2);
    font-size: 13px;
}

.feature-stage {
    position: relative;
}

.feature-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    height: var(--feature-h);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.feature-track::-webkit-scrollbar { display: none; }

.feature-slide {
    flex: 0 0 100%;
    height: var(--feature-h);
    max-height: var(--feature-h);
    scroll-snap-align: start;
    border-radius: 28px;
    overflow: hidden;
}

.product-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 28px;
    overflow: hidden;
    background: var(--app-accent, #1a4b8c);
    color: var(--app-ink, #fff);
}

.product-hero-wash,
.product-hero-mark,
.product-hero-frame {
    position: absolute;
    pointer-events: none;
}

.product-hero-wash {
    inset: -10%;
    background:
        radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--app-ink, #fff) 20%, transparent) 0 18%, transparent 46%),
        radial-gradient(circle at 72% 86%, color-mix(in srgb, #000 30%, transparent) 0 22%, transparent 52%),
        radial-gradient(circle at 12% 88%, color-mix(in srgb, var(--app-ink, #fff) 12%, transparent) 0 16%, transparent 44%),
        radial-gradient(circle at 8% 12%, color-mix(in srgb, #fff 10%, transparent) 0 14%, transparent 40%);
    z-index: 0;
}

.product-hero-mark {
    width: min(420px, 58vw);
    height: auto;
    right: -8%;
    bottom: -32%;
    opacity: 0.22;
    border-radius: 22.5%;
    box-shadow: none;
    z-index: 0;
}

.product-hero-frame {
    top: 50%;
    right: 0;
    width: min(46%, 460px);
    transform: translate(8%, -50%);
    border-radius: 18px 0 0 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
    z-index: 0;
}

.product-hero-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.product-hero.has-shot .product-hero-mark { opacity: 0.1; }

.product-hero-page {
    padding: 0;
}

.product-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
    min-height: 300px;
    padding: 56px 0 48px;
}

.product-hero-main,
.product-hero > .btn-row {
    position: relative;
    z-index: 1;
}

.product-hero-main {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    color: inherit;
}

.product-hero.has-shot .product-hero-main,
.product-hero.has-shot .btn-row {
    max-width: min(560px, 58%);
}

.product-hero .app-icon-xl {
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.22),
        0 0 0 14px color-mix(in srgb, var(--app-ink, #fff) 10%, transparent);
}

.product-hero-main:hover { color: inherit; }

.product-hero-copy { min-width: 0; }

.product-hero h1,
.product-hero h2,
.product-hero .page-title {
    margin: 0;
    color: inherit;
    font-size: clamp(32px, 5.4vw, 52px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-hero-sub {
    margin: 8px 0 0;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 400;
    color: color-mix(in srgb, var(--app-ink, #fff) 82%, transparent);
}

.product-hero-meta {
    margin: 10px 0 0;
    font-size: 13px;
    color: color-mix(in srgb, var(--app-ink, #fff) 58%, transparent);
}

.product-hero-meta a { color: inherit; }

.product-hero .btn {
    background: var(--app-ink, #fff);
    color: var(--app-accent, #1a4b8c);
}

.product-hero .btn:hover {
    background: color-mix(in srgb, var(--app-ink, #fff) 88%, var(--app-accent));
    color: var(--app-accent, #1a4b8c);
}

.product-hero .btn-ghost {
    background: transparent;
    color: var(--app-ink, #fff);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-ink, #fff) 38%, transparent);
}

.product-hero .btn-ghost:hover {
    background: color-mix(in srgb, var(--app-ink, #fff) 12%, transparent);
    color: var(--app-ink, #fff);
}

.product-hero .app-price,
.product-hero .badge,
.product-hero .pill-note {
    color: color-mix(in srgb, var(--app-ink, #fff) 78%, transparent);
    background: color-mix(in srgb, var(--app-ink, #fff) 10%, transparent);
}

.feature-nav {
    position: absolute;
    top: calc(var(--feature-h) / 2);
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, #fff 20%, var(--border));
    border-radius: 50%;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    color: var(--text);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transform: translateY(-50%);
}

.feature-nav-prev { left: 10px; }
.feature-nav-next { right: 10px; }

.feature-nav:hover {
    background: var(--bg);
    color: var(--text);
}

.feature-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
}

.feature-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

.feature-dot.is-active {
    width: 22px;
    background: var(--accent);
}

@media (min-width: 640px) {
    .feature-slider { --feature-h: 380px; }
}

@media (min-width: 800px) {
    .feature-slider { --feature-h: 400px; }

    .feature-slide {
        flex: 0 0 calc(100% - 36px);
        padding: 40px 48px;
    }

    .feature-nav-prev { left: 16px; }
    .feature-nav-next { right: 52px; }
}

.app-stack {
    display: grid;
    gap: 14px;
    padding-bottom: 20px;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0 48px;
}

.pager-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pager-btn,
.pager-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.pager-num { padding: 0; }

.pager-btn:hover,
.pager-num:hover {
    background: var(--border);
    color: var(--text);
}

.pager-num.is-current {
    background: var(--accent);
    color: var(--on-accent);
}

.pager-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.app-card-stack {
    height: auto;
    min-height: 0;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--border);
}

.app-card-stack .app-card-main { align-items: flex-start; }
.app-card-stack .btn-pill { margin-top: 2px; }

@media (min-width: 900px) {
    .app-stack {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .page-head,
    .home-hero { padding-top: 56px; }
    .product-hero-inner { min-height: 360px; padding: 72px 0 64px; }
}

.app-detail {
    padding-bottom: 8px;
}

.app-price {
    color: var(--text-2);
    font-size: 14px;
}

.app-layout {
    display: grid;
    gap: 36px;
    padding: 28px 0 12px;
}

.app-story p {
    margin: 0 0 1.15em;
    font-size: 18px;
    line-height: 1.6;
    max-width: 46rem;
}

.app-story p:first-child {
    font-size: clamp(22px, 3.2vw, 28px);
    line-height: 1.35;
    letter-spacing: -0.03em;
    max-width: 28rem;
}

.app-story p:last-child { margin-bottom: 0; }

.app-aside {
    display: grid;
    gap: 28px;
    align-content: start;
}

.app-aside h2,
.related h2 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
    font-weight: 650;
}

.aside-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.aside-features li {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-soft);
    font-size: 14px;
    line-height: 1.35;
}

.aside-facts {
    margin: 0;
    display: grid;
}

.aside-facts > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.aside-facts dt { color: var(--text-2); font-weight: 500; }
.aside-facts dd { margin: 0; }

.related {
    padding: 12px 0 48px;
}

.related-grid {
    display: grid;
    gap: 10px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: var(--bg-soft);
    color: inherit;
    min-height: 76px;
}

.related-card:hover { color: inherit; background: color-mix(in srgb, var(--app-accent) 10%, var(--bg-soft)); }

.related-card .app-icon {
    width: 48px;
    height: 48px;
}

.related-card-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.related-card-copy strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

.related-card-copy span {
    color: var(--text-2);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shots { padding: 28px 0 8px; }

.shot {
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    background: none;
    cursor: zoom-in;
    scroll-snap-align: start;
}

.shot img {
    border-radius: var(--radius-shot);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: var(--bg-soft);
}

.shot-desktop img { width: min(640px, 78vw); height: auto; }
.shot-mobile img { width: min(220px, 52vw); height: auto; }

.prose {
    max-width: 68ch;
    padding: 8px 0 16px;
}

.prose p { font-size: 17px; }

.search-page-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.search-page-form input {
    flex: 1 1 220px;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    padding: 0 18px;
    font: inherit;
}

.search-hit {
    display: flex;
    gap: 12px;
    align-items: center;
    color: inherit;
    padding: 8px;
    border-radius: 14px;
}

.search-hit:hover { background: var(--bg-soft); }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 20px;
}

.lightbox[hidden] { display: none; }

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    border-radius: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 8px; font-size: 36px; }
.lightbox-next { right: 8px; font-size: 36px; }

.empty-state,
.about { padding: 40px 0 64px; }

.site-footer {
    margin-top: 24px;
    padding: 36px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--text-2);
    background: var(--bg);
}

.footer-inner {
    display: grid;
    gap: 24px;
}

.footer-brand .wordmark { color: var(--text); }
.footer-brand p {
    margin: 10px 0 0;
    font-size: 14px;
    max-width: 28ch;
}

.footer-label {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col a {
    color: var(--text-2);
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

.footer-copy {
    margin: 0;
    font-size: 13px;
}

@media (min-width: 720px) {
    .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr;
        align-items: start;
    }
    .footer-copy {
        grid-column: 1 / -1;
        padding-top: 8px;
    }
}

@media (min-width: 900px) {
    .hero { padding-top: 28px; }
    .editorial-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .app-layout { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.7fr); gap: 48px; padding-top: 36px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .today-overlay { padding: 36px 28px 24px; }
    .today-dock { padding: 16px 20px 18px; }
}

@media (max-width: 639px) {
    .product-hero h1,
    .product-hero h2,
    .product-hero .page-title {
        white-space: normal;
    }
    .product-hero-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .product-hero.has-shot .product-hero-main,
    .product-hero.has-shot .btn-row {
        max-width: none;
    }
    .product-hero-frame { display: none; }
    .product-hero.has-shot .product-hero-mark { opacity: 0.22; }
    .product-hero .btn-row,
    .product-hero .btn { width: 100%; }
    .aside-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .app-card:hover,
    .editorial-card:hover,
    .category-card:hover { transform: none; }
    .feature-dot { transition: none; }
    .header-search-input { transition: none; }
}
