:root {
    --app-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
    background: #f6f7f9;
    color: #1f2933;
}

.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding-bottom: calc(1rem + var(--app-safe-bottom));
}

.app-shell > footer {
    margin-top: auto !important;
}

.footer-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-nav a {
    color: #52616f;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #0d6efd;
    text-decoration: underline;
}

.footer-social-link {
    align-items: center;
    display: inline-flex;
    min-height: 1.5rem;
}

.social-icon {
    fill: none;
    height: 1.25rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.25rem;
}

.social-callout {
    border-top: 1px solid rgba(31, 41, 51, 0.08);
    padding-top: 1.5rem;
}

.app-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.navbar-toggler {
    border: 0;
}

.navbar-brand.active {
    color: #0d6efd !important;
}

.navbar .nav-link {
    border-radius: 8px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.navbar .nav-link.active {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-weight: 700;
}

.nav-cta {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    width: 100%;
}

.tap-target {
    min-height: 44px;
}

.mobile-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(31, 41, 51, 0.08);
}

.status-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 999px;
    background: #198754;
    display: inline-block;
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(25, 135, 84, 0.08)),
        #ffffff;
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.section-kicker {
    color: #0d6efd;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.feature-tile,
.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card-featured {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 12px 34px rgba(13, 110, 253, 0.14);
}

.soft-band {
    background: #eef4f1;
    border-top: 1px solid rgba(31, 41, 51, 0.08);
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.check-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 8px;
    display: flex;
    height: 100%;
    padding: 0.875rem 1rem;
}

.narrow-copy {
    max-width: 44rem;
}

.screen-preview {
    background: #101828;
    border: 8px solid #1f2937;
    border-radius: 1rem;
    color: #ffffff;
    max-width: 26rem;
    padding: 1rem;
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.22);
}

.screen-preview .text-secondary {
    color: rgba(255, 255, 255, 0.68) !important;
}

.screen-topbar {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    height: 0.375rem;
    margin: 0 auto 1.25rem;
    width: 5rem;
}

.metric-row {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 1rem;
}

@media (min-width: 992px) {
    .hero-section .container {
        padding-bottom: 5rem !important;
        padding-top: 5rem !important;
    }

    .nav-cta {
        width: auto;
    }
}
