/* Base polish */
html {
    scroll-behavior: smooth;
}

body {
    color: #202124;
}

.navbar-brand {
    font-weight: 700 !important;
}

.btn {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 .2rem rgba(229, 40, 27, .25);
}

.btn-invert:hover {
    background: #111;
}

.btn-quiet {
    color: #fff;
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .12);
}

.btn-quiet:hover {
    color: #111;
    border-color: #fff;
    background: #fff;
}

/* Hero */
header.masthead {
    overflow: hidden;
}

header.masthead .overlay {
    background: linear-gradient(100deg, rgba(10, 14, 20, .82), rgba(87, 20, 3, .52));
}

header.masthead .header-content {
    max-width: initial !important;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-kicker i {
    color: #ffd66b;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.hero-stat {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(0, 0, 0, .2);
    backdrop-filter: blur(8px);
}

.hero-stat strong {
    display: block;
    color: #fff;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
}

.hero-stat span {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

/* Shared cards */
.quick-actions,
.preparedness {
    background: #f7f8fa;
}

.quick-card,
.level-card,
.step-card,
.checklist-panel {
    height: 100%;
    border: 1px solid rgba(32, 33, 36, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(22, 24, 29, .08);
}

.quick-card,
.level-card,
.step-card,
.checklist-panel {
    padding: 28px;
}

.quick-card h3,
.level-card h3,
.step-card h3 {
    font-size: 28px;
    font-weight: 500;
}

.quick-card p,
.level-card p,
.step-card p,
.checklist-panel p {
    color: #5f6368;
}

/* Quick actions */
.quick-card i {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: #e5281b;
    font-size: 22px;
    line-height: 50px;
    text-align: center;
}

/* Warning levels */
.level-card {
    position: relative;
    overflow: hidden;
}

.level-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--level-color);
}

.level-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #111;
    background: rgba(0, 0, 0, .06);
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Preparedness */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: #202124;
    font-weight: 700;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(32, 33, 36, .08);
    font-size: 17px;
}

.checklist li:last-child {
    border-bottom: 0;
}

.checklist input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #e5281b;
}

.checklist label {
    margin: 0;
    cursor: pointer;
}

.checklist input:checked + label {
    color: #6f7378;
    text-decoration: line-through;
}

.progress-shell {
    height: 10px;
    margin: 20px 0 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eaed;
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #e5281b, #fdcc52);
    transition: width .25s ease;
}

/* Feature cards */
.feature-item {
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(22, 24, 29, .08);
}

/* FAQ and reviews */
.faq-reviews {
    background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.faq-reviews .section-heading {
    margin-bottom: 56px;
}

.faq-reviews .row {
    align-items: flex-start;
}

.faq-card,
.review-card {
    border: 1px solid rgba(32, 33, 36, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(22, 24, 29, .07);
}

.faq-card {
    position: relative;
    padding: 22px 24px 22px 68px;
}

.faq-card + .faq-card {
    margin-top: 14px;
}

.faq-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0;
}

.faq-card h3 i {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #e5281b;
    background: rgba(229, 40, 27, .1);
    font-size: 15px;
    line-height: 1;
}

.faq-card p {
    margin-bottom: 0;
    color: #5f6368;
    font-size: 16px;
}

.review-card {
    padding: 24px;
}

.review-card + .review-card {
    margin-top: 16px;
}

.review-card.featured-review {
    color: #fff;
    background: linear-gradient(135deg, #202124, #5a1710);
}

.review-card.featured-review p,
.review-card.featured-review .review-meta {
    color: rgba(255, 255, 255, .78);
}

.review-stars {
    margin-bottom: 12px;
    color: #fdcc52;
    letter-spacing: 2px;
}

.review-card blockquote {
    margin: 0 0 16px;
    color: inherit;
    font-size: 17px;
    line-height: 1.5;
}

.review-name {
    display: block;
    color: inherit;
    font-weight: 700;
}

.review-meta {
    color: #6f7378;
    font-size: 14px;
}

/* Download and social */
.app-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
}

.social-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
}

/* Footer */
footer.site-footer {
    padding: 0;
    color: rgba(255, 255, 255, .8);
    background: radial-gradient(circle at 15% 10%, rgba(253, 204, 82, .22), transparent 26%), linear-gradient(135deg, #17191f 0%, #2b1210 55%, #111318 100%);
}

footer.site-footer p {
    font-size: 15px;
}

footer.site-footer a {
    color: rgba(255, 255, 255, .82);
}

footer.site-footer a:hover {
    color: #fdcc52;
    text-decoration: none;
}

.footer-alert-strip {
    padding: 18px 0;
    color: #111318;
    background: linear-gradient(90deg, #fdcc52, #ffef9a);
}

.footer-alert-strip p {
    margin: 0;
    color: #111318;
    font-size: 16px;
    font-weight: 700;
}

.footer-alert-strip i {
    margin-right: 10px;
}

.footer-main {
    padding: 68px 0 44px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #fff;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.footer-brand i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #111318;
    background: #fdcc52;
    font-size: 20px;
}

.footer-title {
    margin-bottom: 18px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-mini-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.footer-mini-card i {
    margin-right: 8px;
    color: #fdcc52;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.footer-info-box {
    padding: 16px;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.footer-info-box strong {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.footer-info-box span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .22);
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (min-width: 992px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }

    section h2,
    section.download h2 {
        font-size: 38px;
    }

    .hero-stats,
    .footer-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-card,
    .level-card,
    .step-card,
    .checklist-panel {
        margin-bottom: 18px;
    }

    .faq-reviews .section-heading {
        margin-bottom: 36px;
    }

    .faq-card {
        padding: 20px 20px 20px 58px;
    }

    .faq-card h3 {
        font-size: 19px;
    }

    .faq-card h3 i {
        top: 22px;
        left: 18px;
    }

    .review-card {
        padding: 22px;
    }

    .review-card blockquote {
        font-size: 16px;
    }

    .footer-main {
        padding: 44px 0 24px;
    }

    .footer-bottom,
    .footer-bottom .text-md-right {
        text-align: center !important;
    }

    .back-to-top {
        margin-top: 14px;
    }
}
