:root {
    color-scheme: light dark;
    --page-bg: #ffffff;
    --surface: #ffffff;
    --surface-muted: #f7f7f5;
    --surface-strong: #111111;
    --text-primary: #111111;
    --text-secondary: #5a5a55;
    --text-inverse: #ffffff;
    --line: #deded9;
    --line-strong: #111111;
    --link: #111111;
    --link-hover: #3a3a36;
    --home-hero-bg: #f7f7f5;
    --home-hero-bg-soft: #ffffff;
    --button-bg: #111111;
    --button-text: #ffffff;
    --shadow: 0 16px 36px rgba(20, 20, 18, 0.07);
    --app-accent: #8f4f2c;
    --app-accent-rgb: 143 79 44;
    --app-accent-2: #c06c3d;
    --app-accent-2-rgb: 192 108 61;
    --font-body: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", "Nimbus Sans L", sans-serif;
    --font-display: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page-bg: #11100d;
        --surface: #191813;
        --surface-muted: #242119;
        --surface-strong: #f5efe4;
        --text-primary: #f5efe4;
        --text-secondary: #c8bdae;
        --text-inverse: #11100d;
        --line: #383327;
        --line-strong: #f5efe4;
        --link: #f0a46e;
        --link-hover: #ffc194;
        --home-hero-bg: #171716;
        --home-hero-bg-soft: #11110f;
        --button-bg: #f5efe4;
        --button-text: #11100d;
        --shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--page-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.app-page {
    --link: var(--app-accent);
    --link-hover: var(--app-accent);
    --button-bg: var(--app-accent);
    --button-text: #ffffff;
    background:
        radial-gradient(circle at top left, rgb(var(--app-accent-rgb) / 0.1), transparent 26rem),
        var(--page-bg);
}

.home-page {
    --hero-ui-color: rgba(255, 255, 255, 0.82);
    --hero-ui-strong: #ffffff;
    --hero-ui-border: rgba(255, 255, 255, 0.28);
    --hero-ui-shadow:
        0 1px 2px rgba(0, 0, 0, 0.38),
        0 2px 12px rgba(0, 0, 0, 0.28);
    --hero-credit-color: rgba(255, 255, 255, 0.54);
}

.home-page.hero-text-dark {
    --hero-ui-color: rgba(17, 16, 13, 0.78);
    --hero-ui-strong: #11100d;
    --hero-ui-border: rgba(17, 16, 13, 0.24);
    --hero-ui-shadow:
        0 1px 2px rgba(255, 255, 255, 0.62),
        0 2px 12px rgba(255, 255, 255, 0.36);
    --hero-credit-color: rgba(17, 16, 13, 0.58);
}

img {
    max-width: 100%;
}

a {
    color: var(--link);
    text-decoration: none;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.site-shell,
.container {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 22px;
}

.container {
    padding-top: 22px;
    padding-bottom: 48px;
}

.app-page .container {
    padding-top: 0;
}

.site-header,
header {
    margin: 0;
}

.home-page .site-shell {
    position: relative;
}

.home-page .site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.home-page .site-nav {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: max(18px, calc((100vw - 1180px) / 2 + 22px));
    padding-left: max(18px, calc((100vw - 1180px) / 2 + 22px));
    border-bottom: 0;
    color: var(--hero-ui-color);
    text-shadow: var(--hero-ui-shadow);
}

.home-page .brand {
    color: var(--hero-ui-strong);
}

.home-page .site-nav a:hover {
    color: var(--hero-ui-strong);
}

.site-nav,
.support-link {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 3vw, 30px);
    min-width: 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.support-link {
    justify-content: center;
    margin-bottom: 26px;
    text-align: center;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: 0;
    flex: 0 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 2.2vw, 24px);
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-links a {
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nav-links a,
.support-link a,
footer a {
    color: inherit;
}

.nav-links a:hover,
.support-link a:hover,
footer a:hover {
    color: var(--text-primary);
}

.hero,
.directory-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(26px, 5vw, 62px);
    align-items: center;
    padding: clamp(38px, 6vw, 76px) 0 clamp(32px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}

.hero-single,
.directory-hero {
    grid-template-columns: 1fr;
}

.hero-copy {
    align-self: center;
    min-width: 0;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: clamp(20px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.12), transparent 48%),
        var(--surface);
    box-shadow: var(--shadow);
}

.app-page .hero {
    width: 100vw;
    grid-template-columns: minmax(0, 1180px);
    margin-right: calc(50% - 50vw);
    margin-bottom: clamp(12px, 3vw, 28px);
    margin-left: calc(50% - 50vw);
    padding: clamp(24px, 3.8vw, 46px) max(22px, calc((100vw - 1180px) / 2 + 22px)) clamp(52px, 7vw, 88px);
    border: 0;
    border-top: 1px solid rgb(var(--app-accent-rgb) / 0.22);
    border-bottom: 1px solid rgb(var(--app-accent-rgb) / 0.28);
    border-radius: 0;
    background:
        radial-gradient(circle at 12% 16%, rgb(var(--app-accent-rgb) / 0.3), transparent 18rem),
        radial-gradient(circle at 86% 22%, rgb(var(--app-accent-2-rgb) / 0.18), transparent 24rem),
        linear-gradient(135deg, rgb(var(--app-accent-rgb) / 0.18), rgb(var(--app-accent-2-rgb) / 0.1) 46%, transparent 82%),
        var(--surface);
    box-shadow: none;
}

.app-page .hero-compact {
    padding-top: clamp(22px, 3.4vw, 40px);
    padding-bottom: clamp(44px, 6vw, 72px);
}

.app-page .hero-copy {
    width: 100%;
    max-width: none;
    display: grid;
    justify-items: center;
    text-align: center;
}

.app-browse-link {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 0.45em;
    margin-bottom: clamp(28px, 4.8vw, 54px);
    color: var(--app-accent);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.app-browse-link:hover {
    color: var(--app-accent);
    text-decoration: underline;
    text-underline-offset: 0.24em;
}

.app-hero-grid {
    display: grid;
    justify-items: center;
    width: min(100%, 860px);
    max-width: 860px;
}

.app-hero-main {
    width: min(100%, 760px);
    min-width: 0;
    display: grid;
    justify-items: center;
}

.app-hero-identity {
    display: flex;
    gap: clamp(16px, 2.4vw, 26px);
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: clamp(24px, 4vw, 38px);
    padding-bottom: clamp(22px, 3.8vw, 36px);
    border-bottom: 1px solid rgb(var(--app-accent-rgb) / 0.24);
}

.app-hero-labels {
    min-width: 0;
    text-align: left;
}

.app-hero-labels .eyebrow {
    margin-bottom: 8px;
}

.app-hero-actions {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: min(100%, 260px);
    max-width: 100%;
    min-width: 0;
}

.hero-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: rgb(var(--app-accent-rgb) / 0.34);
    text-underline-offset: 0.22em;
}

.hero-support-link:hover {
    color: var(--app-accent);
    text-decoration-color: currentColor;
}

.app-hero-copy-text {
    max-width: 48rem;
    margin-top: clamp(24px, 4vw, 38px);
    text-align: center;
}

.app-hero-copy-text .app-description,
.app-hero-copy-text .app-summary {
    margin: 0;
}

.app-hero-copy-text .app-summary {
    margin-top: 12px;
}

.home-visual {
    flex-direction: column;
    align-content: start;
    justify-content: stretch;
    align-items: stretch;
}

.hero-compact .hero-visual {
    min-height: 280px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--link);
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-page .eyebrow {
    color: var(--app-accent);
}

.app-name,
.directory-title {
    max-width: 11ch;
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2.9rem, 7vw, 5.8rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.directory-title {
    max-width: 12ch;
}

.app-name {
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(3rem, 5.5vw, 5.05rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

.app-description,
.directory-description {
    max-width: 42rem;
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: clamp(1.12rem, 2vw, 1.38rem);
    line-height: 1.55;
}

.app-summary {
    max-width: 48rem;
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.7;
}

.app-icon {
    display: block;
    width: 84px;
    height: 84px;
    margin-bottom: 0;
    border-radius: 20px;
    box-shadow:
        0 14px 30px rgb(var(--app-accent-rgb) / 0.2),
        0 8px 20px rgba(18, 16, 12, 0.12);
}

.app-store-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid var(--button-bg);
    border-radius: 999px;
    background: var(--button-bg);
    color: var(--button-text);
    font-weight: 400;
    line-height: 1.1;
    text-decoration: none;
}

.app-store-button:hover,
.text-button:hover {
    color: var(--button-text);
    text-decoration: none;
    transform: translateY(-1px);
}

.app-page .app-store-button {
    width: 100%;
    min-width: 248px;
    border-color: var(--app-accent);
    background: linear-gradient(135deg, var(--app-accent), var(--app-accent-2));
}

.app-page .app-store-button:hover {
    color: #ffffff;
    filter: saturate(1.08) brightness(0.98);
}

.text-button.secondary {
    background: transparent;
    color: var(--text-primary);
}

.text-button.secondary:hover {
    color: var(--text-primary);
}

.hero-image {
    display: block;
    width: min(100%, 320px);
    height: auto;
    max-height: 540px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(18, 16, 12, 0.18);
}

.hero-image-compact,
.hero-compact .hero-image {
    width: min(100%, 250px);
}

.home-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.section-band,
.features,
.screenshots,
.privacy-policy,
.apps-directory-intro,
.plain-page {
    padding: clamp(34px, 6vw, 70px) 0;
    border-bottom: 1px solid var(--line);
}

.features,
.screenshots,
.privacy-policy,
.apps-directory-intro,
.plain-page {
    margin: 0;
}

.section-heading,
.features h2,
.screenshots h2,
.privacy-policy h2,
.apps-directory-intro h2,
.plain-page h1 {
    max-width: 16ch;
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0;
}

.story-section {
    --hero-shadow-deep: 16, 14, 10;
    --hero-shadow-mid: 28, 24, 18;
    --hero-shadow-soft: 30, 27, 21;
    position: relative;
    display: grid;
    align-items: end;
    min-height: clamp(360px, 56vw, 620px);
    margin: clamp(34px, 6vw, 72px) 0 0;
    overflow: hidden;
    border-radius: 8px;
    background: #171510;
}

.story-primary {
    width: 100vw;
    height: min(100svh, 116vw);
    max-height: 100svh;
    align-items: end;
    min-height: 0;
    margin: 0 calc(50% - 50vw);
    border-radius: 0;
    border-bottom: 0;
    background: #171510;
}

.story-secondary {
    margin-top: clamp(34px, 6vw, 72px);
}

.story-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-primary .story-image {
    object-position: center;
    filter: saturate(0.9) contrast(1.05);
}

.hero-carousel,
.hero-carousel-slides {
    position: absolute;
    inset: 0;
}

.hero-carousel {
    z-index: 0;
}

.hero-carousel-slide {
    opacity: 0;
    visibility: hidden;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-carousel-zones[hidden] {
    display: none;
}

.hero-carousel-zones {
    position: absolute;
    top: clamp(76px, 12vw, 128px);
    right: 0;
    bottom: clamp(42px, 7vw, 58px);
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(36px, 8vw, 96px) minmax(0, 1fr);
    width: 100%;
    pointer-events: none;
}

.hero-carousel-zone {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    box-shadow: none;
    pointer-events: auto;
}

.hero-carousel-zone-previous {
    grid-column: 1;
}

.hero-carousel-zone-next {
    grid-column: 3;
}

.hero-carousel-zone:hover {
    background: transparent;
}

.hero-carousel-zone:focus {
    outline: none;
}

.hero-carousel-zone:focus-visible {
    outline: 1px solid var(--hero-ui-strong);
    outline-offset: -8px;
}

.story-background-split {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-background-split img {
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    filter: saturate(0.84) contrast(1.06);
}

.story-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(760px 420px at -120px -100px, rgba(var(--hero-shadow-deep), 0.34) 0%, rgba(var(--hero-shadow-mid), 0.12) 42%, rgba(var(--hero-shadow-soft), 0) 100%),
        radial-gradient(760px 420px at calc(100% + 120px) -100px, rgba(var(--hero-shadow-deep), 0.24) 0%, rgba(var(--hero-shadow-mid), 0.08) 42%, rgba(var(--hero-shadow-soft), 0) 100%),
        radial-gradient(1180px 300px at 50% -70px, rgba(var(--hero-shadow-deep), 0.4) 0%, rgba(var(--hero-shadow-mid), 0.18) 36%, rgba(var(--hero-shadow-soft), 0.055) 62%, rgba(var(--hero-shadow-soft), 0) 100%),
        linear-gradient(to bottom, rgba(var(--hero-shadow-deep), 0.18) 0%, rgba(var(--hero-shadow-mid), 0.1) 16%, rgba(var(--hero-shadow-soft), 0.025) 38%, rgba(var(--hero-shadow-soft), 0) 58%),
        radial-gradient(680px 680px at 22% 72%, rgba(var(--hero-shadow-deep), 0.32) 0%, rgba(var(--hero-shadow-mid), 0.15) 42%, rgba(var(--hero-shadow-soft), 0) 78%),
        radial-gradient(620px 1360px at -210px 50%, rgba(var(--hero-shadow-deep), 0.08) 0%, rgba(var(--hero-shadow-mid), 0.06) 28%, rgba(var(--hero-shadow-soft), 0.025) 54%, rgba(var(--hero-shadow-soft), 0) 100%),
        radial-gradient(620px 1360px at calc(100% + 210px) 50%, rgba(var(--hero-shadow-deep), 0.07) 0%, rgba(var(--hero-shadow-mid), 0.05) 28%, rgba(var(--hero-shadow-soft), 0.02) 54%, rgba(var(--hero-shadow-soft), 0) 100%),
        radial-gradient(1500px 820px at 50% 42%, rgba(var(--hero-shadow-soft), 0.02) 0%, rgba(var(--hero-shadow-soft), 0.008) 44%, rgba(var(--hero-shadow-soft), 0) 74%),
        radial-gradient(1560px 560px at 50% calc(100% + 90px), rgba(var(--hero-shadow-deep), 0.2) 0%, rgba(var(--hero-shadow-mid), 0.1) 34%, rgba(var(--hero-shadow-soft), 0.04) 58%, rgba(var(--hero-shadow-soft), 0) 84%),
        linear-gradient(to top, rgba(var(--hero-shadow-deep), 0.22) 0%, rgba(var(--hero-shadow-mid), 0.14) 12%, rgba(var(--hero-shadow-soft), 0.06) 22%, rgba(var(--hero-shadow-soft), 0) 36%),
        radial-gradient(820px 400px at 14% 100%, rgba(var(--hero-shadow-mid), 0.07) 0%, rgba(var(--hero-shadow-soft), 0.028) 42%, rgba(var(--hero-shadow-soft), 0) 82%),
        radial-gradient(820px 400px at 86% 100%, rgba(var(--hero-shadow-mid), 0.08) 0%, rgba(var(--hero-shadow-soft), 0.032) 42%, rgba(var(--hero-shadow-soft), 0) 82%);
}

.story-primary::after {
    display: none;
}

.story-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: clamp(28px, 6vw, 68px);
    color: #ffffff;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.32);
}

.story-primary .story-copy {
    width: min(100%, 1180px);
    max-width: none;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    padding: clamp(116px, 16vh, 176px) 22px clamp(52px, 9vh, 92px);
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.38);
}

.story-primary .story-kicker,
.story-primary .story-copy h2,
.story-primary .story-copy > p:last-of-type,
.story-primary .story-actions {
    max-width: 620px;
}

.story-primary .story-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.story-primary .story-copy > p:last-of-type {
    color: rgba(255, 255, 255, 0.86);
}

.story-primary .story-copy h2 {
    max-width: min(100%, 38rem);
    margin-bottom: 12px;
    font-family: "New York", var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 2.25rem);
    font-weight: 500;
    line-height: 1.08;
}

.story-primary .story-copy > p:last-of-type {
    max-width: 28rem;
    font-size: clamp(0.72rem, 0.9vw, 0.82rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.story-primary .story-actions {
    justify-content: center;
}

.story-heading-link,
.story-body-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    color: inherit;
    text-underline-offset: 0.28em;
    text-decoration: none;
}

.story-heading-link:hover,
.story-body-link:hover {
    color: inherit;
    text-decoration: underline;
}

.story-heading-text,
.story-link-text {
    min-width: 0;
    text-wrap: balance;
}

.story-heading-caret {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 0.62em;
    height: 1lh;
    font-family: var(--font-body);
    font-size: 1.24em;
    line-height: 1;
    transform: translateY(0.01em);
}

.story-kicker {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.story-copy h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5.75rem);
    font-weight: 500;
    line-height: 0.96;
}

.story-copy > p:last-of-type {
    max-width: 34rem;
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.6;
}

.story-photo-credit {
    position: absolute;
    right: max(18px, calc((100vw - 1180px) / 2 + 22px));
    bottom: 18px;
    z-index: 3;
    width: max-content;
    max-width: min(62ch, calc(100% - 36px));
    margin: 0;
    color: var(--hero-credit-color, rgba(255, 255, 255, 0.54));
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
    text-shadow: var(--hero-ui-shadow, 0 2px 14px rgba(0, 0, 0, 0.42));
}

.story-photo-credit span {
    display: block;
}

.story-photo-credit span + span {
    font-size: 0.88em;
    font-weight: 300;
    letter-spacing: 0.14em;
}

.story-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.story-actions .text-button {
    border-color: #ffffff;
    background: #ffffff;
    color: #171510;
}

.story-actions .text-button.secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.story-actions .text-button:hover,
.story-actions .text-button.secondary:hover {
    color: #171510;
}

.story-actions .text-button.secondary:hover {
    background: #ffffff;
}

.story-primary .story-actions .text-button {
    border-color: #ffffff;
    background: #ffffff;
    color: #171510;
}

.story-primary .story-actions .text-button.secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.story-primary .story-actions .text-button:hover {
    color: #171510;
}

.story-primary .story-actions .text-button.secondary:hover {
    background: #ffffff;
    color: #171510;
}

.features h3,
.privacy-policy h3 {
    margin: 26px 0 8px;
    font-size: 1rem;
    line-height: 1.3;
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--link);
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-label {
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.section-lede,
.features p,
.privacy-policy p,
.apps-directory-intro p,
.plain-page p {
    max-width: 48rem;
    margin: 12px 0 0;
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.75;
}

.plain-page-lines {
    margin-top: 12px;
}

.plain-page-lines p {
    margin: 0;
}

.feature-columns {
    --grid-line: var(--line);
    --grid-line: color-mix(in srgb, var(--line), transparent 24%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    margin-top: 34px;
    background: transparent;
}

.feature-note {
    min-height: 190px;
    padding: 24px;
    background: var(--surface);
    border-right: 1px solid var(--grid-line);
    border-bottom: 1px solid var(--grid-line);
}

.feature-note:nth-child(3n) {
    border-right: 0;
}

.feature-note:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.feature-note:last-child:nth-child(3n + 1),
.feature-note:last-child:nth-child(3n + 2) {
    border-right: 0;
}

.feature-note h3 {
    margin: 0 0 10px;
    font-size: 1.03rem;
}

.feature-note p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.apps-grid {
    --grid-line: var(--line);
    --grid-line: color-mix(in srgb, var(--line), transparent 24%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    margin-top: 30px;
    background: transparent;
}

.app-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-height: 172px;
    padding: 22px;
    background: var(--surface);
    border-right: 1px solid var(--grid-line);
    border-bottom: 1px solid var(--grid-line);
    color: inherit;
    text-decoration: none;
}

.app-card:nth-child(3n) {
    border-right: 0;
}

.app-card:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.app-card:hover {
    color: inherit;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.08), transparent),
        var(--surface);
}

.app-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 9px 20px rgba(18, 16, 12, 0.12);
}

.app-card-title {
    margin: 0 0 8px;
    color: var(--text-primary);
    font-size: 1.08rem;
    line-height: 1.25;
}

.app-card-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.features-list {
    --grid-line: var(--line);
    --grid-line: color-mix(in srgb, var(--line), transparent 24%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    margin: 26px 0 0;
    padding: 0;
    background: transparent;
    list-style: none;
}

.app-page .features-list,
.app-page .feature-columns {
    --grid-line: rgb(var(--app-accent-rgb) / 0.22);
}

.app-page .features-list > li,
.app-page .feature-note {
    background:
        linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.045), transparent 52%),
        var(--surface);
}

.features-list > li {
    min-height: 116px;
    margin: 0;
    padding: 20px;
    background: var(--surface);
    border-right: 1px solid var(--grid-line);
    border-bottom: 1px solid var(--grid-line);
    color: var(--text-secondary);
    line-height: 1.65;
}

.features-list > li:nth-child(2n) {
    border-right: 0;
}

.features-list > li:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.features-list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
}

.features-list > li:nth-last-child(2):nth-child(even) {
    border-bottom: 1px solid var(--grid-line);
}

.features-list > li strong,
.features-list > li h3 {
    color: var(--text-primary);
}

.features-list > li h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.features-list > li p {
    margin: 0;
    font-size: 0.98rem;
}

.features-list-sublist {
    margin: 12px 0 0;
    padding-inline-start: 20px;
    color: var(--text-secondary);
}

.features-list-sublist li {
    min-height: 0;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.screenshot-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.screenshot-images a,
.screenshot-video {
    display: block;
    min-height: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.app-page .screenshot-images a,
.app-page .screenshot-video {
    border-color: rgb(var(--app-accent-rgb) / 0.24);
    background:
        linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.06), rgb(var(--app-accent-2-rgb) / 0.04)),
        var(--surface);
}

.screenshot-images img,
.screenshot-images video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-links a.is-active {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.56em;
}

.apps-directory-page .site-shell,
.app-page .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.apps-directory-page .site-header,
.apps-directory-page .site-footer,
.app-page .site-nav,
.app-page .site-footer {
    width: min(100%, 1180px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 22px;
    padding-left: 22px;
}

.apps-showcase-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    min-height: clamp(520px, 72vh, 760px);
    border-bottom: 1px solid var(--line);
}

.apps-showcase-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(54px, 8vw, 112px) clamp(28px, 8vw, 108px);
}

.apps-showcase-kicker {
    margin: 0 0 clamp(22px, 3.6vw, 38px);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.32em;
    line-height: 1.4;
    text-transform: uppercase;
}

.apps-showcase-hero h1 {
    max-width: 9ch;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(4.1rem, 8.6vw, 7.7rem);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0;
}

.apps-showcase-hero-copy > p:not(.apps-showcase-kicker) {
    max-width: 28rem;
    margin: clamp(24px, 3vw, 34px) 0 0;
    color: var(--text-primary);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 300;
    line-height: 1.7;
}

.apps-showcase-scroll,
.apps-showcase-cta a {
    display: inline-flex;
    align-items: center;
    gap: 1.35rem;
    width: fit-content;
    margin-top: clamp(28px, 4vw, 42px);
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
}

.apps-showcase-scroll:hover,
.apps-showcase-cta a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 0.4em;
}

.apps-showcase-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 36px);
    min-width: 0;
    overflow: hidden;
    border-left: 1px solid var(--line);
    background:
        radial-gradient(circle at 32% 28%, rgb(var(--app-accent-rgb) / 0.12), transparent 22rem),
        linear-gradient(135deg, var(--surface-muted), var(--surface));
}

.showcase-phone {
    position: relative;
    z-index: 1;
    display: block;
    width: min(35vw, 250px);
    min-width: 0;
}

.showcase-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: clamp(26px, 3.6vw, 42px);
    box-shadow: 0 24px 60px rgba(18, 16, 12, 0.2);
}

.apps-showcase-hero-visual .showcase-phone:first-child {
    transform: translateY(6%) rotate(-4deg);
}

.apps-showcase-hero-visual .showcase-phone:last-child {
    width: min(31vw, 220px);
    transform: translateY(-8%) rotate(3deg);
}

.apps-showcase-section {
    padding: 4px;
}

.apps-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    filter: grayscale(1);
}

.apps-showcase-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(96px, 1fr);
    min-height: clamp(320px, 34vw, 460px);
    overflow: hidden;
    padding: clamp(22px, 3vw, 36px);
    background:
        radial-gradient(circle at 84% 76%, rgb(var(--app-accent-rgb) / 0.16), transparent 17rem),
        linear-gradient(135deg, rgb(var(--app-accent-rgb) / 0.06), rgb(var(--app-accent-2-rgb) / 0.035)),
        #f5f5f2;
    color: #171510;
    text-decoration: none;
}

.apps-showcase-card:nth-child(2),
.apps-showcase-card:nth-child(6) {
    background:
        radial-gradient(circle at 78% 72%, rgb(var(--app-accent-rgb) / 0.28), transparent 15rem),
        linear-gradient(145deg, #101010, #232321 64%, #151515);
    color: #fbfaf6;
}

.apps-showcase-card:nth-child(3),
.apps-showcase-card:nth-child(5) {
    background:
        radial-gradient(circle at 78% 72%, rgb(var(--app-accent-2-rgb) / 0.13), transparent 17rem),
        linear-gradient(135deg, #f3f3f0, #ffffff);
    color: #171510;
}

.apps-showcase-card:hover {
    color: #171510;
    text-decoration: none;
}

.apps-showcase-card:nth-child(2):hover,
.apps-showcase-card:nth-child(6):hover {
    color: #fbfaf6;
}

.apps-showcase-number,
.apps-showcase-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.apps-showcase-number {
    font-size: 0.77rem;
    font-weight: 300;
    letter-spacing: 0.08em;
}

.apps-showcase-copy {
    align-self: start;
    margin-top: clamp(28px, 4vw, 46px);
    padding-right: 0;
}

.apps-showcase-copy h2 {
    max-width: 100%;
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.apps-showcase-copy p {
    max-width: 12rem;
    margin: 0;
    font-size: 0.96rem;
    font-weight: 300;
    line-height: 1.55;
}

.apps-showcase-icon {
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: end;
    width: clamp(86px, 32%, 150px);
    aspect-ratio: 1;
    margin-top: clamp(26px, 5vw, 56px);
    border-radius: 22%;
    box-shadow: 0 18px 42px rgba(18, 16, 12, 0.18);
}

.apps-showcase-cta {
    padding: clamp(48px, 7vw, 76px) clamp(28px, 8vw, 108px);
    border-bottom: 1px solid var(--line);
}

.apps-showcase-cta h2 {
    max-width: none;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 7vw, 3.35rem);
    font-weight: 400;
    line-height: 1.05;
    white-space: nowrap;
}

body.app-page {
    background: var(--page-bg);
}

.app-page .app-detail-header {
    margin: 0;
}

.app-page .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    min-height: clamp(560px, 72vh, 760px);
    margin: 0;
    padding: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    background: var(--page-bg);
}

.app-page .hero-compact {
    min-height: clamp(460px, 62vh, 620px);
}

.app-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(46px, 7vw, 94px) clamp(28px, 7vw, 88px);
}

.app-page .app-browse-link {
    width: fit-content;
    margin: 0 0 auto;
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.app-page .eyebrow {
    order: 2;
    margin: 14px 0 0;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
}

.app-page .app-name {
    order: 1;
    max-width: 9ch;
    margin: clamp(58px, 9vh, 104px) 0 0;
    font-size: clamp(4.3rem, 8.4vw, 7.4rem);
    font-weight: 400;
    line-height: 0.92;
    text-wrap: balance;
}

.app-hero-copy-text {
    order: 3;
    max-width: 31rem;
    margin-top: clamp(28px, 4vw, 42px);
    text-align: left;
}

.app-hero-copy-text .app-description,
.app-hero-copy-text .app-summary {
    max-width: 100%;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1rem, 1.45vw, 1.14rem);
    font-weight: 300;
    line-height: 1.75;
}

.app-hero-copy-text .app-summary {
    margin-top: 8px;
}

.app-page .app-hero-actions {
    order: 4;
    justify-items: start;
    width: fit-content;
    margin-top: clamp(28px, 4vw, 42px);
}

.app-page .app-store-button {
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 11px 17px;
    border-color: #11100d;
    border-radius: 4px;
    background: #11100d;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.app-page .hero-support-link {
    width: 100%;
    min-height: 0;
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
    text-decoration-color: rgb(var(--app-accent-rgb) / 0.35);
}

.app-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border-left: 1px solid var(--line);
    background:
        radial-gradient(circle at 45% 28%, rgb(var(--app-accent-rgb) / 0.2), transparent 24rem),
        linear-gradient(135deg, rgb(var(--app-accent-rgb) / 0.12), rgb(var(--app-accent-2-rgb) / 0.08)),
        var(--surface-muted);
}

.app-hero-visual img {
    display: block;
    width: min(42vw, 360px);
    max-width: 68%;
    max-height: min(82%, 620px);
    height: auto;
    object-fit: contain;
    border-radius: clamp(28px, 4vw, 46px);
    box-shadow: 0 28px 72px rgba(18, 16, 12, 0.28);
}

.app-hero-visual-icon img {
    width: min(34vw, 220px);
    border-radius: 22%;
}

.app-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: min(100% - 44px, 1180px);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 52px) 0;
    border-bottom: 1px solid var(--line);
}

.app-feature-highlight {
    padding: 0 clamp(18px, 2.6vw, 34px);
    border-right: 1px solid color-mix(in srgb, var(--line), transparent 28%);
}

.app-feature-highlight:first-child {
    padding-left: 0;
}

.app-feature-highlight:last-child {
    padding-right: 0;
    border-right: 0;
}

.app-feature-mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 20px;
    border: 1px solid rgb(var(--app-accent-rgb) / 0.28);
    border-radius: 999px;
    background: rgb(var(--app-accent-rgb) / 0.07);
    color: var(--text-secondary);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.08em;
}

.app-feature-highlight h2 {
    margin: 0 0 12px;
    font-size: 0.74rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 1.35;
    text-transform: uppercase;
}

.app-feature-highlight p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.68;
}

.app-page .features,
.app-page .screenshots,
.app-page .privacy-policy {
    width: min(100% - 44px, 1180px);
    margin: 0 auto;
    padding: clamp(50px, 7vw, 82px) 0;
}

.app-page .features h2,
.app-page .screenshots h2,
.app-page .privacy-policy h2 {
    max-width: 14ch;
    font-size: clamp(2.3rem, 4.6vw, 4.2rem);
    font-weight: 400;
}

.app-page .features-list,
.app-page .feature-columns {
    --grid-line: color-mix(in srgb, var(--line), transparent 24%);
}

.app-page .features-list > li,
.app-page .feature-note {
    background: var(--surface);
}

.app-page .screenshot-images {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 3vw, 32px);
    align-items: end;
}

.app-page .screenshot-images a,
.app-page .screenshot-video {
    display: grid;
    place-items: center;
    min-height: clamp(380px, 52vw, 620px);
    padding: clamp(20px, 4vw, 42px);
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 24%, rgb(var(--app-accent-rgb) / 0.18), transparent 22rem),
        var(--surface-muted);
}

.app-page .screenshot-images img,
.app-page .screenshot-images video {
    width: auto;
    max-width: min(100%, 340px);
    max-height: min(100%, 560px);
    border-radius: clamp(24px, 4vw, 40px);
    box-shadow: 0 24px 62px rgba(18, 16, 12, 0.22);
}

.app-page .screenshot-media-landscape {
    grid-column: 1 / -1;
    min-height: 0;
    padding: clamp(10px, 2.2vw, 24px);
}

.app-page .screenshot-media-landscape img,
.app-page .screenshot-media-landscape video {
    width: 100%;
    max-width: 100%;
    max-height: none;
    border-radius: clamp(10px, 2vw, 18px);
}

.site-footer {
    padding: 15px 0;
    border-top: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    color: var(--text-secondary);
    font-size: 0.64rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    line-height: 1.35;
    text-transform: uppercase;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: clamp(14px, 4vw, 42px);
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 14, 11, 0.68);
    backdrop-filter: blur(8px);
}

.contact-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(100%, 720px);
    max-height: min(92vh, 840px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 28px 80px rgba(18, 16, 12, 0.28);
}

.contact-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--line);
}

.contact-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--text-primary);
    cursor: pointer;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
}

.contact-modal-close:hover {
    border-color: var(--line-strong);
}

.contact-modal-frame {
    height: min(720px, calc(92vh - 76px));
    min-height: 520px;
    background: var(--surface);
}

.contact-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

body.contact-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .app-page .app-store-button {
        width: 100%;
        min-width: 248px;
    }

    .hero-visual {
        min-height: 260px;
    }

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

    .feature-note:nth-child(3n) {
        border-right: 1px solid var(--grid-line);
    }

    .feature-note:nth-child(2n) {
        border-right: 0;
    }

    .feature-note:nth-last-child(-n + 3) {
        border-bottom: 1px solid var(--grid-line);
    }

    .feature-note:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .feature-note:nth-last-child(2):nth-child(even) {
        border-bottom: 1px solid var(--grid-line);
    }

    .feature-note:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .apps-grid .app-card:nth-child(3n) {
        border-right: 1px solid var(--grid-line);
    }

    .apps-grid .app-card:nth-child(2n) {
        border-right: 0;
    }

    .apps-grid .app-card:nth-last-child(-n + 3) {
        border-bottom: 1px solid var(--grid-line);
    }

    .apps-grid .app-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .site-shell,
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-nav {
        min-height: 64px;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .brand {
        font-size: 1.18rem;
    }

    .support-link {
        min-height: 64px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .nav-links {
        justify-content: flex-end;
        gap: 8px;
    }

    .nav-links a {
        font-size: 0.58rem;
        letter-spacing: 0.055em;
    }

    .directory-title {
        max-width: 8.2ch;
        font-size: clamp(2.9rem, 15vw, 4rem);
    }

    .app-name {
        max-width: 100%;
        font-size: clamp(2.2rem, 10vw, 3.4rem);
        overflow-wrap: normal;
    }

    .app-page .hero {
        padding: 22px 16px 48px;
    }

    .app-browse-link {
        margin-bottom: 28px;
    }

    .app-hero-identity {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 24px;
        padding-bottom: 22px;
    }

    .app-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .app-hero-labels .eyebrow {
        margin-bottom: 6px;
        font-size: 0.7rem;
    }

    .app-description {
        font-size: 1.04rem;
        line-height: 1.55;
    }

    .app-hero-actions {
        display: grid;
        justify-items: center;
        gap: 10px;
        width: 100%;
        align-items: stretch;
    }

    .app-page .app-store-button {
        width: 100%;
        min-width: 0;
    }

    .hero,
    .directory-hero {
        padding-top: 34px;
    }

    .feature-columns,
    .apps-grid,
    .features-list {
        grid-template-columns: 1fr;
    }

    .app-card {
        min-height: 0;
    }

    .apps-grid .app-card,
    .apps-grid .app-card:nth-child(2n),
    .apps-grid .app-card:nth-child(3n),
    .apps-grid .app-card:nth-last-child(-n + 2),
    .apps-grid .app-card:nth-last-child(-n + 3) {
        border-right: 0;
        border-bottom: 1px solid var(--grid-line);
    }

    .apps-grid .app-card:last-child {
        border-bottom: 0;
    }

    .feature-note,
    .feature-note:nth-child(2n),
    .feature-note:nth-child(3n),
    .feature-note:nth-last-child(-n + 2),
    .feature-note:nth-last-child(-n + 3),
    .feature-note:last-child:nth-child(odd) {
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid var(--grid-line);
    }

    .feature-note:last-child {
        border-bottom: 0;
    }

    .features-list > li,
    .features-list > li:nth-child(2n),
    .features-list > li:nth-last-child(-n + 2),
    .features-list > li:nth-last-child(2):nth-child(even),
    .features-list > li:last-child:nth-child(odd) {
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid var(--grid-line);
    }

    .features-list > li:last-child {
        border-bottom: 0;
    }

    .story-primary .story-copy {
        padding: clamp(88px, 13vh, 124px) 18px clamp(42px, 7vh, 62px);
    }

    .story-background-split {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 360px) {
    .site-nav {
        min-height: 82px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .home-page .site-nav {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 9px 12px;
    }
}

@media (max-width: 980px) {
    .apps-showcase-hero,
    .app-page .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .apps-showcase-hero-visual,
    .app-hero-visual {
        min-height: clamp(420px, 72vw, 620px);
        border-top: 1px solid var(--line);
        border-left: 0;
    }

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

    .apps-showcase-card {
        min-height: clamp(300px, 52vw, 430px);
    }

    .app-feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-feature-highlight {
        padding: 24px;
        border-right: 1px solid color-mix(in srgb, var(--line), transparent 28%);
        border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 28%);
    }

    .app-feature-highlight:nth-child(2n) {
        border-right: 0;
    }

    .app-feature-highlight:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .apps-directory-page .site-header,
    .apps-directory-page .site-footer,
    .app-page .site-nav,
    .app-page .site-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .apps-showcase-hero-copy,
    .app-hero-copy {
        padding: 38px 20px 46px;
    }

    .apps-showcase-hero h1 {
        font-size: clamp(3.35rem, 19vw, 5rem);
    }

    .apps-showcase-hero-visual,
    .app-hero-visual {
        min-height: clamp(360px, 92vw, 520px);
    }

    .apps-showcase-hero-visual .showcase-phone {
        width: min(44vw, 190px);
    }

    .apps-showcase-hero-visual .showcase-phone:last-child {
        width: min(38vw, 166px);
    }

    .apps-showcase-grid {
        grid-template-columns: 1fr;
    }

    .apps-showcase-card {
        min-height: 320px;
        padding: 24px;
    }

    .apps-showcase-icon {
        width: clamp(82px, 30%, 132px);
    }

    .apps-showcase-cta {
        padding: 44px 20px;
    }

    .app-page .app-name {
        max-width: 10ch;
        margin-top: 52px;
        font-size: clamp(3.1rem, 18vw, 4.6rem);
    }

    .app-page .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.18em;
    }

    .app-hero-copy-text {
        margin-top: 24px;
    }

    .app-page .app-hero-actions {
        justify-items: stretch;
        width: 100%;
        margin-top: 28px;
    }

    .app-page .app-store-button {
        width: 100%;
    }

    .app-hero-visual img {
        width: min(58vw, 280px);
        max-height: 78%;
    }

    .app-feature-strip,
    .app-page .features,
    .app-page .screenshots,
    .app-page .privacy-policy {
        width: min(100% - 32px, 1180px);
    }

    .app-feature-strip {
        grid-template-columns: 1fr;
    }

    .app-feature-highlight,
    .app-feature-highlight:first-child,
    .app-feature-highlight:last-child,
    .app-feature-highlight:nth-child(2n),
    .app-feature-highlight:nth-last-child(-n + 2) {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 28%);
    }

    .app-feature-highlight:first-child {
        padding-top: 0;
    }

    .app-feature-highlight:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .app-page .screenshot-images a {
        min-height: 420px;
    }
}

.app-product-page .app-detail-header {
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 82% 28%, rgb(var(--app-accent-rgb) / 0.1), transparent 22rem),
        radial-gradient(circle at 12% 10%, rgb(var(--app-accent-2-rgb) / 0.06), transparent 26rem),
        linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.035), transparent 70%);
}

.app-product-page .hero {
    display: block;
    width: min(100%, 1180px);
    min-height: 0;
    margin: 0 auto;
    padding: 20px 22px clamp(46px, 6.5vw, 82px);
    overflow: hidden;
    border: 0;
    background: transparent;
}

.app-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: clamp(34px, 5vw, 54px);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.app-breadcrumbs a,
.app-breadcrumbs span:last-child {
    color: var(--text-primary);
}

.app-breadcrumbs a:hover {
    color: var(--text-primary);
}

.app-product-hero-layout {
    display: grid;
    grid-template-columns: clamp(132px, 17vw, 188px) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 58px);
    align-items: center;
    max-width: 900px;
}

.app-product-icon {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 22%;
    box-shadow:
        0 22px 48px rgb(var(--app-accent-rgb) / 0.2),
        0 10px 28px rgba(18, 16, 12, 0.14);
}

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

.app-product-page .app-name {
    max-width: none;
    margin: 0;
    font-size: clamp(3rem, 6.2vw, 5.5rem);
    font-weight: 400;
    line-height: 0.98;
}

.app-product-page .app-description {
    max-width: 38rem;
    margin: 16px 0 0;
    color: var(--text-primary);
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    font-weight: 300;
    line-height: 1.5;
}

.app-product-page .app-summary {
    max-width: 42rem;
    margin: 14px 0 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.75;
}

.app-product-page .app-hero-actions {
    display: flex;
    align-items: center;
    justify-items: initial;
    gap: 12px;
    width: auto;
    margin-top: clamp(22px, 3vw, 30px);
}

.app-product-page .app-store-button {
    min-height: 44px;
}

.app-product-page .hero-support-link {
    width: auto;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: color-mix(in srgb, var(--surface), transparent 18%);
    color: var(--text-primary);
    text-decoration: none;
}

.app-product-page .hero-support-link:hover {
    border-color: color-mix(in srgb, var(--app-accent), var(--line) 28%);
    color: var(--text-primary);
}

.app-product-page .app-feature-strip {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    width: min(100% - 44px, 1180px);
    margin: clamp(26px, 4vw, 46px) auto 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface), transparent 4%);
    box-shadow: 0 18px 50px rgba(18, 16, 12, 0.05);
}

.app-product-page .app-feature-highlight,
.app-product-page .app-feature-highlight:first-child,
.app-product-page .app-feature-highlight:last-child {
    padding: clamp(22px, 3vw, 32px);
    border-right: 1px solid color-mix(in srgb, var(--line), transparent 34%);
    border-bottom: 0;
}

.app-product-page .app-feature-highlight:last-child {
    border-right: 0;
}

.app-product-page .app-feature-mark {
    margin-bottom: 18px;
    color: var(--app-accent);
}

.app-product-page .screenshots {
    width: min(100% - 44px, 1180px);
    padding: clamp(40px, 6vw, 72px) 0 0;
    border-bottom: 0;
}

.screenshots-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.screenshots-header h2 {
    margin: 0;
}

.screenshots-header a {
    flex: 0 0 auto;
    color: var(--app-accent);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.screenshots-header a:hover {
    color: var(--app-accent);
    text-decoration: underline;
    text-underline-offset: 0.38em;
}

.app-product-page .screenshot-images {
    gap: 10px;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.app-product-page .screenshot-images a,
.app-product-page .screenshot-video {
    min-height: clamp(360px, 48vw, 560px);
    border-radius: 6px;
}

.app-product-page .screenshot-media-landscape {
    min-height: 0;
}

.app-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 22px;
    width: min(100% - 44px, 1180px);
    margin: clamp(28px, 5vw, 48px) auto 0;
    padding-bottom: clamp(42px, 6vw, 70px);
}

.app-detail-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.app-product-page .app-detail-main .features {
    width: auto;
    margin: 0;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.app-product-page .app-detail-main .features h2 {
    max-width: 16ch;
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.app-product-page .app-detail-main .features-list {
    margin-top: 0;
}

.app-info-panel {
    align-self: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.app-info-panel dl {
    margin: 0;
}

.app-info-panel dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 34%);
}

.app-info-panel dl > div:first-child {
    padding-top: 0;
}

.app-info-panel dt,
.app-info-panel dd {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.45;
}

.app-info-panel dd {
    color: var(--text-primary);
    text-align: right;
}

.app-info-pill {
    display: inline-flex;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgb(var(--app-accent-rgb) / 0.08);
    color: var(--app-accent);
    font-size: 0.72rem;
    line-height: 1.35;
}

.app-info-links {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.app-info-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--app-accent);
    font-size: 0.76rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.app-info-links a:hover {
    color: var(--app-accent);
    text-decoration: underline;
    text-underline-offset: 0.34em;
}

@media (max-width: 900px) {
    .app-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .app-product-page .hero {
        padding: 20px 16px 44px;
    }

    .app-breadcrumbs {
        gap: 0.48rem;
        margin-bottom: 30px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .app-product-hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .app-product-icon {
        width: 118px;
    }

    .app-product-page .app-name {
        font-size: clamp(2.7rem, 15vw, 4rem);
    }

    .app-product-page .app-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .app-product-page .hero-support-link {
        justify-content: center;
        width: 100%;
    }

    .app-product-page .app-feature-strip,
    .app-product-page .screenshots,
    .app-detail-grid {
        width: min(100% - 32px, 1180px);
    }

    .app-product-page .app-feature-strip {
        grid-template-columns: 1fr;
    }

    .app-product-page .app-feature-highlight,
    .app-product-page .app-feature-highlight:first-child,
    .app-product-page .app-feature-highlight:last-child {
        border-right: 0;
        border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 34%);
    }

    .app-product-page .app-feature-highlight:last-child {
        border-bottom: 0;
    }

    .screenshots-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-product-page .screenshot-images a {
        min-height: 380px;
    }

    .app-info-panel dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .app-info-panel dd {
        text-align: left;
    }
}
