/* Landing Page Styles */


/* Hero install row: the primary action. Hand-written rather than Tailwind
   utilities so it needs no `npm run build-css` to go live. Colours match
   .hero-dark-cta in hero.css; min-height keeps a 44px tap target on mobile. */
.hero-install-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.125rem;
    border-radius: 0.625rem;
    background-color: #6366f1;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.08) inset, 0 8px 24px -8px rgba(99, 102, 241, 0.6);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Phones: tighter horizontally so six pills wrap to two rows instead of three.
   min-height stays 44px, so the tap target is unchanged. Three rows pushed the
   last pills under the fold and under the chat launcher's fixed corner. */
@media (max-width: 640px) {
    .hero-install-pill {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.hero-install-pill:hover {
    background-color: #818cf8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.12) inset, 0 12px 32px -8px rgba(99, 102, 241, 0.7);
}

.hero-install-pill:focus-visible {
    outline: 2px solid #c7d2fe;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-install-pill {
        transition: none;
    }

    .hero-install-pill:hover {
        transform: none;
    }
}

/* Blog card text clamping */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Feature narrative sections */
.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    color: #6b7280;
    text-align: center;
    padding: 2rem;
}

.dark .screenshot-placeholder {
    background: #1f2937;
    border-color: #4b5563;
    color: #9ca3af;
}

/* Compact feature grid */
.compact-feature-card {
    transition: all 0.2s ease;
}

.compact-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

.dark .compact-feature-card:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

