/* The home page for Pastor's Sermon Pro Online (on top of styles.css and sync.css) */

main { padding-top: 76px; }
.ol-section { padding: 4.5rem 0; }
.ol-band { background: rgba(var(--bg-secondary-rgb), 0.55); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.ol-nav-cta { white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

/* Hero */
.ol-hero { padding: 4rem 0 2rem; }
.ol-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.ol-hero h1 { font-family: var(--font-heading); font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.1; margin: 0.8rem 0 1.2rem; color: var(--text-primary); }
.ol-accent { color: var(--accent-hover); }
.ol-lead { color: var(--text-secondary); font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.8rem; }
.ol-small { color: var(--text-muted); font-size: 0.92rem; margin-top: 1rem; }
.ol-hero-shot { margin: 0; }
.ol-hero-shot img, .ol-feature img, .ol-devices img {
    width: 100%; height: auto; display: block; border-radius: var(--radius-md); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg); cursor: zoom-in; background: var(--bg-secondary);
}

/* Study / Write / Show / Shepherd */
.ol-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ol-four-card {
    display: block; padding: 1.6rem; border-radius: var(--radius-md); border: 1px solid var(--border-color);
    background: var(--bg-card); color: inherit; text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.ol-four-card:hover { border-color: var(--accent-primary); transform: translateY(-2px); }
.ol-four-card h3 { font-family: var(--font-heading); font-size: 1.35rem; margin: 0.6rem 0 0.4rem; color: var(--text-primary); }
.ol-four-card p { color: var(--text-secondary); line-height: 1.55; margin: 0; }
.ol-icon { font-size: 1.8rem; }

/* Features: text and a picture, alternating sides */
.ol-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 3rem; align-items: center; margin: 0 0 5rem; }
.ol-feature.flip .ol-feature-text { order: 2; }
.ol-feature h3 { font-family: var(--font-heading); font-size: 1.7rem; line-height: 1.2; margin: 0.4rem 0 1rem; color: var(--text-primary); }
.ol-kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-hover); }
.ol-new { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--accent-primary); color: #fff; font-size: 0.7rem; letter-spacing: 0.06em; vertical-align: 1px; }

/* Devices */
.ol-devices { display: flex; gap: 2rem; align-items: flex-end; justify-content: center; margin: 0 0 3rem; }
.ol-devices .ol-phone { width: 210px; border-radius: 28px; border-width: 2px; }
.ol-devices .ol-tablet { width: min(560px, 46vw); border-radius: 20px; border-width: 2px; }
.ol-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ol-three .panel h3 { font-family: var(--font-heading); font-size: 1.15rem; margin: 0 0 0.6rem; }
.ol-three .panel p { color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Private */
.ol-private { display: flex; gap: 1.6rem; align-items: flex-start; max-width: 980px; margin: 0 auto; }
.ol-private-icon { font-size: 2.6rem; line-height: 1; }
.ol-private h2 { font-family: var(--font-heading); margin: 0 0 0.8rem; }
.ol-private p { color: var(--text-secondary); line-height: 1.7; margin: 0; }

.ol-final { text-align: center; }
.ol-final h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1.6rem; }

/* Full-size picture */
.ol-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 8, 15, 0.92); display: flex; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.ol-lightbox[hidden] { display: none; }
.ol-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }

@media (max-width: 980px) {
    .ol-hero-grid, .ol-feature { grid-template-columns: 1fr; gap: 1.8rem; }
    .ol-feature.flip .ol-feature-text { order: 0; }
    .ol-feature { margin-bottom: 3.5rem; }
    .ol-four { grid-template-columns: repeat(2, 1fr); }
    .ol-three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .ol-nav { display: none; }
    .ol-section { padding: 3rem 0; }
    .ol-hero { padding-top: 2rem; }
    .ol-devices { gap: 0.8rem; flex-wrap: wrap; }
    .ol-devices .ol-phone { width: 42%; }
    .ol-devices .ol-tablet { width: 100%; }
    .ol-private { flex-direction: column; gap: 0.8rem; }
}
@media (max-width: 480px) {
    .ol-four { grid-template-columns: 1fr; }
}

/* Hero: the apps a Sunday takes, then the one that does it all */
.ol-apps { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: -0.2rem 0 1.3rem; }
.ol-apps span {
    padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px dashed var(--border-color); color: var(--text-muted);
    font-size: 0.88rem; text-decoration: line-through; text-decoration-color: rgba(var(--accent-rgb), 0.7); text-decoration-thickness: 2px;
}
.ol-what-if { display: block; color: var(--text-primary); font-family: var(--font-heading); font-size: 1.45rem; line-height: 1.3; margin-bottom: 0.5rem; }
