
* {
    font-family: 'Red Hat Display', sans-serif;
}
html {
    scroll-behavior: smooth;
}

nav h1 {
    letter-spacing: 10px;
    font-weight: 100;
}

span#highlight {
    font-weight: 800;
}


.hero-alt {
    padding-top: 67px; /* clear fixed navbar */
    min-height: 70vh;
    margin-bottom: 3rem; /* space before About (buttons / hero → black section) */
}

.hero-alt-image-wrapper {
    width: 100%;
    height: 600px;
    aspect-ratio: 1 / 1;
    background-image: url('assets/landing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    position: relative;
}



.hero-alt-disclaimer {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.75rem;
    color: rgba(190, 190, 190, 0.511);
    text-align: right;
}
.hero-alt-disclaimer small {
    font-size: 8px;
}

/* Between lg and ~1088px: tight two-column hero — shrink headline and let image box follow column width (avoids ~600px min from fixed height + square) */
@media (min-width: 992px) and (max-width: 1088.98px) {
    #home .hero-alt-text h1.display-2 {
        font-size: clamp(2rem, 0.5rem + 3.2vw, 2.875rem);
        line-height: 1.5;
        overflow-wrap: break-word;
    }

    #home .hero-alt-image-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* How it works: ~10% smaller frame so video isn’t clipped vs tight col-lg-6 */
    #how .how-step-media {
        width: 450px;
        height: 450px;
        max-width: 100%;
    }
}

.section#about {
    background-color: black;
    /* Let height follow text + video(s); fixed 50vh caused overflow past the black */
}

/* Single about video on small screens: keep a sensible max width */
@media (max-width: 991.98px) {
    .section#about #about-text h1 {
        text-align: center;
    }

    .about-videos-row {
        max-width: 24rem;
        margin-left: auto;
        margin-right: auto;
    }

    /* contain = full frame visible (no top/bottom crop); letterboxing uses background */
    .about-videos-row .phone-video {
        width: 100%;
        height: auto;
        max-height: min(70vh, 520px);
        object-fit: contain;
        object-position: center;
        border-radius: 0.5rem;
        vertical-align: middle;
    }
}

.section#home p {
    color: black;
}

.section#about h1,
.section#about p {
    color: white;
}

.section#features {
    background-color: black;
    color: white;
}

.section#features .card {
    background-color: transparent;
}

.section#features .card-title,
.section#features .card-text,
.section#features .card-body {
    color: #ffffff !important;
}


@media (max-width: 991.98px) {
    .hero-alt {
        min-height: auto;
        padding-bottom: 2rem;
    }

    /* Shorter hero on phones/tablets so headline + CTAs stay in view */
    .hero-alt-image-wrapper {
        height: min(450px, 55vh);
        aspect-ratio: auto;
    }

    .hero-alt-text .d-flex {
        justify-content: center;
    }
}

.section {
    padding: 80px 0;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    color: #333 !important;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #667eea !important;
}

/* How it works step images */
.how-step-image {
    width: 300px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
}

.how-step-image:not(img):not(video) {
    background: #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.how-step-media {
    width: 500px;
    height: 500px;
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
}

.how-step-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* How it works: step titles when layout stacks (below lg — same as col-lg-6 side-by-side) */
@media (max-width: 991.98px) {
    .how-step-title {
        text-align: center;
        padding: 10px;
        background-color: #00457c21;
    }
}

/* How it works: video scales with viewport on narrow screens (< 500px).
   min(260px, 88vw) always chose 260px when 88vw was larger — use viewport width instead.
   min(88vw, 100%) + aspect-ratio keeps a square box if the column is narrower than 88vw. */
@media (max-width: 499.98px) {
    .how-step-media {
        width: min(88vw, 100%);
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 100%;
    }
}

/* Netlify honeypot — off-screen, not display:none (some bots skip hidden fields) */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Contact form → thank-you transition (AJAX submit)
   Reserve vertical space so the shorter thank-you message doesn’t collapse
   the layout and cause a sudden scroll/jump after the form fades out. */
.contact-form-stack {
    position: relative;
    min-height: 775px;
}

.contact-panel {
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.contact-panel--form {
    opacity: 1;
    transform: translateY(0);
}

.contact-panel--form.contact-panel--leaving {
    opacity: 0;
    transform: translateY(-8px);
}

.contact-panel--thanks {
    opacity: 0;
    transform: translateY(10px);
    outline: none;
}

.contact-panel--thanks.contact-panel--visible {
    opacity: 1;
    transform: translateY(0);
}