/* Dedicated app pages use the same card system as products.html. */
.app-page {
    display: grid;
    gap: 32px;
    max-width: 900px;
}

.app-hero,
.app-highlights,
.app-section,
.app-use-case,
.app-notice,
.app-cta {
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.app-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: clamp(20px, 4vw, 32px);
}

.app-hero > div:first-child { text-align: center; }

.app-eyebrow {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
}

.app-hero h1,
.app-section h2,
.app-cta h2 {
    padding: 0;
    color: var(--brand);
    font-family: Arial, sans-serif;
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    line-height: 1.3;
    text-align: center;
}

.app-hero h1 br { display: none; }
.app-hero h1 em { color: inherit; font-style: normal; }

.app-lede {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--text);
    font-size: 1rem;
    text-align: left;
}

.app-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    margin-top: 22px;
}

.app-actions .download-button,
.app-cta .download-button { margin: 0; }

.icon-first-hero .app-actions,
.app-cta .app-actions { margin-top: 0; }
.icon-first-hero .app-copy { text-align: center; }
.icon-first-hero .app-visual { margin-top: -4px; }

.ios-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .9rem;
}

.ios-note::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

.app-visual {
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.app-visual::before { content: none; }

.app-icon {
    width: 96px;
    height: 96px;
    padding: 6px;
    border: 1px solid rgba(74, 136, 147, .25);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(12, 52, 61, .12);
    object-fit: contain;
}

.app-visual-label { display: none; }

.app-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.app-highlights span {
    padding: 16px;
    color: var(--brand);
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
}

.app-highlights span:nth-child(even) { border-left: 1px solid rgba(74, 136, 147, .25); }
.app-highlights span:nth-child(n + 3) { border-top: 1px solid rgba(74, 136, 147, .25); }

.app-section,
.app-use-case { padding: clamp(20px, 4vw, 32px); }

.app-section-heading { max-width: 760px; margin-inline: auto; }
.app-section-heading > p:last-child {
    max-width: 760px;
    margin-top: 16px;
    color: var(--text);
    text-align: left;
}

.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 32px;
    margin-top: 24px;
}

.app-feature {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.app-feature-number { display: none; }
.app-feature h3 { color: var(--brand); font-size: 1rem; text-align: left; }
.app-feature p { margin-top: 5px; color: var(--text); font-size: .94rem; text-align: left; }
.app-feature h3::before { margin-right: 8px; color: var(--accent); content: "•"; }

.app-use-case { color: var(--text); }
.app-use-case .app-eyebrow { color: var(--accent); text-align: center; }
.app-use-case-grid { display: grid; gap: 24px; }
.app-use-case ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.app-use-case li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 0;
    border: 0;
}
.app-use-case li > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(74, 136, 147, .45);
    border-radius: 50%;
    color: var(--brand);
    font-size: .82rem;
    font-weight: 700;
}
.app-use-case h3 { color: var(--brand); font-size: 1rem; }
.app-use-case li p { margin-top: 3px; color: var(--text); font-size: .94rem; }

.app-notice {
    margin: 0;
    padding: 20px clamp(20px, 4vw, 32px);
    border-left: 4px solid var(--accent);
    color: var(--muted);
    font-size: .92rem;
}

.app-cta {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: clamp(20px, 4vw, 32px);
    text-align: center;
}

.app-cta > div > .app-eyebrow { text-align: center; }
.app-cta p { max-width: 650px; margin: 12px auto 0; color: var(--text); text-align: left; }
.app-cta .download-button { justify-self: center; }

.app-back {
    justify-self: center;
    color: var(--brand);
    font-weight: 700;
    text-underline-offset: 4px;
}

@media (max-width: 600px) {
    .app-feature-grid { grid-template-columns: 1fr; }
    .app-actions { flex-direction: column; }
}
