:root {
    --bg-deep: #0d2b37;
    --bg-deeper: #0a2230;
    --accent: #ff6a3d;
    /* orange */
    --accent-2: #ff7e57;
    --ink: #0f2740;
    /* dark text */
    --ink-2: #334e68;
    --muted: #6b8aa1;
    --surface: #ffffff;
    --surface-2: #f6f9fb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Fonts */
@font-face {
    font-family: 'Brice';
    src: url('../fonts/BriceRegularSemiExpanded.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    line-height: 1.45;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Brice', ui-sans-serif, system-ui, sans-serif;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* NAV */
.nav {
    position: relative;
    z-index: 30;
    background: linear-gradient(to bottom, var(--bg-deeper) 0%, var(--bg-deep) 50%, transparent 100%);
    border-bottom: none;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 80px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand__img {
    height: 60px;
    width: auto;
    display: block;
}

.brand__img--lg {
    height: 100px;
}

.brand__text {
    font-size: 1.25rem;
}

.brand__text--lg {
    font-size: 1.6rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav__menu {
    display: flex;
    gap: 24px;
}

.nav__menu a {
    color: #d7e7ef;
    font-weight: 600;
    opacity: .9;
}

.nav__menu a:hover {
    color: #fff;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
}

/* HERO */
.hero {
    color: #fff;
    padding: clamp(40px, 10vw, 90px) 0;
    position: relative;
    overflow: hidden;
    background: #fff;
    margin-top: -120px;
    padding-top: 140px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    z-index: 0;
    display: block;
}

.hero__bg--top {
    z-index: 1;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: min(6vw, 60px);
    position: relative;
    z-index: 1;
}

.hero__title {
    font-family: 'Brice', ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: .3px;
    margin: 0 0 22px;
}

.hero__title span {
    display: block;
}

.hero__badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__badges--center {
    justify-content: center;
    margin-top: 60px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: #000;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: var(--shadow);
    transition: transform .15s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge__apple,
.store-badge__play {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #fff, #ddd);
}

.store-badge__play {
    clip-path: polygon(20% 15%, 85% 50%, 20% 85%);
    background: linear-gradient(135deg, #8ef, #1cf);
}

/* Image badges override (official SVGs) */
.store-badge--image {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.store-badge--image img {
    display: block;
    height: 48px;
    width: auto;
}

.hero__art {
    display: grid;
    place-items: center;
}

.hero__img {
    max-width: 100%;
    height: auto;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* CTA STRIP */
.cta-strip {
    /* Wide pill overlay that cuts into the hero background */
    background: #fff;
    width: min(1440px, 96vw);
    margin-inline: auto;
    border-radius: 34px;
    margin-top: clamp(-160px, -13vw, -80px);
    position: relative;
    z-index: 3;
    box-shadow: 0px 115px 23px -100px rgba(0, 0, 0, .20);
}

.cta-strip__inner {
    padding: clamp(26px, 4.5vw, 44px) clamp(16px, 5.5vw, 56px);
    text-align: center;
}

.cta-strip__title {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    color: var(--ink);
}

.cta-strip__sub {
    margin: 0 0 18px;
    color: var(--ink-2);
}

.cta-strip__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #F3901B 0%, #F23424 100%);
}

.btn--outline {
    color: var(--accent);
    border: 2px solid var(--accent);
    background: #fff;
}

.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 61, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* ABOUT */
.about {
    background: #fff;
    padding: 70px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about__left {
    display: flex;
    flex-direction: column;
}

.about__brand {
    margin-bottom: 32px;
}

.about__title {
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    margin: 0;
}

.accent {
    color: var(--accent);
    font-weight: 700;
}

.about p {
    color: var(--ink-2);
    margin: 10px 0;
}

/* HIW */
.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.section-heading__brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* size the logo in the HIW heading without affecting global brand images */
.section-heading__brand .brand__img {
    height: 60px;
    width: auto;
}

.hiw {
    background: #fff;
    padding: 60px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .12);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .18);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card__icon img {
    width: 44px;
    height: 44px;
    display: block;
}

.card h3 {
    margin: 10px 0 8px;
    font-size: 1.1rem;
}

.card p {
    color: var(--ink-2);
    margin: 0;
}

/* How it works backdrop band */
.hiw .container { position: relative; }
.hiw__backdrop {
    position: absolute;
    left: 6%;
    right: 6%;
    top: clamp(140px, 15vw, 180px);
    height: clamp(180px, 22vw, 280px);
    background: #eaf2f6;
    border-radius: 28px;
    z-index: 0;
}

/* BENEFITS */
.benefits {
    background: #fff;
    padding: 60px 0;
}

.benefits__layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.benefits__art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits__art img {
    max-width: 100%;
    height: auto;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.benefits__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefits__heading {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    margin: 0;
    text-align: left;
}

.benefits__heading .brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.benefits__heading .brand__img {
    height: 42px;
    width: auto;
    vertical-align: middle;
}

.text-center {
    text-align: center;
}

.brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.benefit h3 {
    margin: 0 0 6px;
    color: var(--accent);
}

.benefit p {
    margin: 0;
    color: var(--ink-2);
}

/* SCREENS */
.screens {
    background: #fff;
    padding: 50px 0;
}

.screens__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.phone {
    aspect-ratio: 9/19.5;
    border-radius: 26px;
    background: linear-gradient(145deg, #142c3a, #223f51);
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.35), 0 25px 50px rgba(0, 0, 0, 0.25);
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
}

/* CONTACT */
.contact {
    background: #fff;
    padding: 70px 0;
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__brand {
    margin-bottom: 10px;
}

.contact__brand .brand__img {
    height: 50px;
    width: auto;
}

.contact__heading {
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    margin: 0;
    line-height: 1.3;
}

.contact__tagline {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.contact__cards {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .18);
}

.contact-card__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.contact__art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__art img {
    max-width: 100%;
    height: auto;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* FOOTER */
.footer {
    background: #022333 !important;
    color: #cfe2ea;
    padding: 18px 0 28px;
}

.footer__inner {
    display: grid;
    place-items: center;
    gap: 8px;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__btn {
    display: inline-block;
    padding: 12px 32px;
    color: #fff;
    background: linear-gradient(180deg, #F3901B 0%, #F23424 100%);
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 144, 27, 0.3);
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    /* responsive tweaks reserved; no additional styles needed here */
    .about__grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .benefits__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .screens__row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: absolute;
        top: 64px;
        right: 4%;
        background: rgba(255, 255, 255, .06);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 12px;
        padding: 10px;
        flex-direction: column;
        gap: 10px;
        display: none;
    }

    .nav__menu.open {
        display: flex;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .screens__row {
        grid-template-columns: repeat(2, 1fr);
    }

    .store-badge--image img {
        height: 42px;
    }

    .hiw__backdrop { display: none; }
}