/* Cutmora — landing pages (/features and /features/{slug}). Uses the variables of site.css. */

.lp-hero { padding-bottom: 40px; }

.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding-top: 4px; padding-bottom: 4px; }
.lp-crumbs a { text-decoration: none; color: var(--ink-2); }
.lp-crumbs a:hover { color: var(--flare-ink); }
.lp-crumbs [aria-current] { color: var(--muted); }

.lp-related { padding: 40px 0 56px; }
.lp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.lp-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 780; }
.lp-head a { color: var(--flare-ink); font-weight: 650; text-decoration: none; font-size: 15px; }
.lp-head a:hover { text-decoration: underline; }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.lp-card {
    position: relative; display: flex; flex-direction: column; min-height: 100%; overflow: hidden;
    background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
    color: inherit; text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--flare) 45%, var(--line)); }
.lp-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.lp-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lp-card:hover .lp-card-media img { transform: scale(1.04); }
.lp-card-media.is-empty {
    display: grid; place-items: center;
    background: radial-gradient(60% 80% at 30% 20%, color-mix(in srgb, #ff7a1a 18%, transparent), transparent 70%),
                radial-gradient(50% 70% at 80% 80%, color-mix(in srgb, #ff2e6e 14%, transparent), transparent 70%), var(--bg-soft);
}
.lp-card-media .f-icon { width: 68px; height: 68px; border-radius: 20px; margin: 0; }
.lp-card-media .f-icon svg { width: 32px; height: 32px; }
.lp-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; min-width: 0; }
.lp-card h3 { font-size: 18px; }
.lp-card p { flex: 1; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.lp-card-go { margin-top: 6px; color: var(--flare-ink); font-weight: 650; font-size: 14.5px; }
.lp-card-go span { display: inline-block; transition: transform .15s ease; }
.lp-card:hover .lp-card-go span { transform: translateX(4px); }

.lp-content { padding-top: 64px; }
.lp-content .post-body > h2:first-child { margin-top: 0; }

/* All features */
.lp-hub-hero { padding-bottom: 12px; }
.lp-hub-hero .hero-copy { margin-bottom: 22px; }
.lp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
    border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-elev);
    color: var(--ink-2); font: 600 14px/1 var(--font); text-decoration: none;
}
.lp-chip small { color: var(--muted); font-weight: 600; }
.lp-chip:hover { border-color: var(--flare); color: var(--flare-ink); }
.lp-hub { padding-top: 28px; }
.lp-group { scroll-margin-top: 84px; }
.lp-group + .lp-group { margin-top: 44px; }
.lp-cat-title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 760; margin-bottom: 16px; }
.lp-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--bg-soft); }
.lp-empty h2 { font-size: 22px; margin-bottom: 8px; }
.lp-empty p { color: var(--muted); margin-bottom: 18px; }

.lp-preview-bar { position: sticky; top: 0; z-index: 40; background: #16131c; color: #fff; text-align: center; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.lp-preview-bar a { color: #ffb48f; }

@media (max-width: 560px) {
    .lp-card-body { padding: 16px; }
    .lp-related { padding: 32px 0 44px; }
}
