:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --text: #172033;
    --muted: #6e7788;
    --line: #e5e8ef;
    --radius: 24px;
    --max-width: 1180px;
}


/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 18px;
    color: #778195;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.section-head {
    margin-bottom: 34px;
}

.section-head h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
    padding: 26px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.03em;
	color: #858585;
}

.main-nav {
    display: flex;
    gap: 30px;
    color: var(--muted);
    font-size: 15px;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 24px;
}


/* =========================================================
   Home
   ========================================================= */

.hero {
    padding: 100px 0 75px;
}

.hero-inner {
    max-width: var(--max-width);
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(52px, 7vw, 92px);
    font-weight: 750;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-text {
    max-width: 550px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.apps {
    padding: 0 0 120px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.app-card {
    position: relative;
    display: flex;
    min-height: 240px;
    padding: 30px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(25, 35, 55, 0.08);
}

.app-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
}

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

.app-content {
    margin-top: 32px;
}

.app-card h3 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.025em;
}

.app-subtitle {
    margin: 4px 0 12px !important;
    color: var(--text) !important;
    font-weight: 600;
}

.app-card p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
}

.app-card-arrow {
    position: absolute;
    top: 32px;
    right: 30px;
    color: #9aa2b0;
    font-size: 25px;
}


/* =========================================================
   privacy
   ========================================================= */

.app-legal {
    padding: 0 0 50px;
    text-align: center;
}

.app-legal a {
    color: var(--muted);
    font-size: 14px;
}

.app-legal a:hover {
    color: var(--text);
}

/* =========================================================
   App pages - shared
   ========================================================= */

.app-hero {
    padding: 60px 0 90px;
}

.app-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: 80px;
    align-items: center;
}

.app-hero-copy {
    max-width: 650px;
}

.app-hero-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 18px;
}

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

.app-hero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 750;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.app-hero-text {
    max-width: 520px;
    margin: 24px 0 30px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.google-play-link {
    display: inline-block;
}

.google-play-link img {
    display: block;
    width: 150px;
    height: auto;
}

.app-hero-screen {
    display: flex;
    justify-content: center;
}

.app-hero-screen img {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(25, 35, 55, 0.14);
}


/* features */

.app-features {
    padding: 0 0 90px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feature-number {
    display: block;
    margin-bottom: 38px;
    color: #a1a8b4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.feature h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.feature p {
    margin: 0;
    color: var(--muted);
}


/* screenshots */

.app-screens {
    padding: 0 0 110px;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 0.92fr));
    justify-content: center;
    gap: 24px;
    align-items: start;
}

.screens-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 26px;
    box-shadow: 0 24px 55px rgba(25, 35, 55, 0.10);
}


/* =========================================================
   Simple Hof - specific
   ========================================================= */

.hof-hero {
    padding-bottom: 80px;
}

.hof-hero .app-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
}

.hof-hero .app-hero-screen img {
    max-width: 330px;
    box-shadow: 0 30px 70px rgba(25, 35, 55, 0.12);
}

.hof-promo {
    padding: 0 0 90px;
}

.hof-promo .wrap {
    max-width: 1100px;
}

.hof-promo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 24px 55px rgba(25, 35, 55, 0.08);
}

.hof-screens .screens-grid {
    grid-template-columns: repeat(3, minmax(0, 0.88fr));
}


/* =========================================================
   AeroXC - specific
   ========================================================= */

.aeroxc-hero .app-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.aeroxc-hero .app-hero-screen img {
    max-width: 390px;
}

.aeroxc-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.aeroxc-web-link {
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.aeroxc-web-link:hover {
    color: var(--text);
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 820px) {

    .app-hero {
        padding: 50px 0 70px;
    }

    .app-hero-grid,
    .hof-hero .app-hero-grid,
    .aeroxc-hero .app-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .app-hero-screen img {
        max-width: 330px;
    }

    .hof-hero {
        padding-bottom: 65px;
    }

    .hof-hero .app-hero-grid {
        gap: 45px;
    }

    .hof-hero .app-hero-screen img {
        max-width: 300px;
    }

    .aeroxc-hero .app-hero-screen img {
        max-width: 340px;
    }

    .aeroxc-actions {
        gap: 18px;
    }

    .app-features {
        padding-bottom: 75px;
    }

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

    .feature-number {
        margin-bottom: 24px;
    }

    .app-screens {
        padding-bottom: 90px;
    }

    .screens-grid,
    .hof-screens .screens-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .screens-grid img {
        max-width: 390px;
        margin: 0 auto;
    }

    .hof-promo {
        padding-bottom: 70px;
    }

    .hof-promo .wrap {
        width: min(calc(100% - 32px), var(--max-width));
    }
}


@media (max-width: 720px) {

    .wrap {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .site-header {
        padding: 20px 0;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .hero-text {
        font-size: 18px;
    }

    .apps {
        padding-bottom: 70px;
    }

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

    .app-card {
        min-height: 215px;
        padding: 25px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

