:root {
    --bg: #f5f5f2;
    --surface: #ffffff;
    --surface-dark: #111214;
    --text: #111214;
    --muted: #686b70;
    --line: #ddddda;
    --line-dark: rgba(255, 255, 255, 0.13);
    --accent: #111214;
    --max-width: 1240px;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(17, 18, 20, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    background: #111214;
    color: #fff;
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(17, 18, 20, 0.07);
    background: rgba(245, 245, 242, 0.9);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(calc(100% - 48px), var(--max-width));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.13em;
    white-space: nowrap;
}

.brand-mark {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid var(--text);
    border-radius: 50%;
    font-size: 11px;
    letter-spacing: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;
    color: #4f5257;
    font-size: 14px;
    font-weight: 550;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: var(--text);
    transition: right 0.22s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--text);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    right: 0;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

main {
    overflow: clip;
}

.hero {
    min-height: 780px;
    padding: 160px 24px 96px;
    display: flex;
    align-items: center;
}

.hero-shell,
.section-shell {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: 76px;
}

.eyebrow {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 900px;
    font-size: clamp(58px, 7.5vw, 108px);
    font-weight: 620;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.hero-title.compact {
    font-size: clamp(54px, 6.4vw, 88px);
}

.hero-copy {
    max-width: 620px;
    margin-top: 34px;
    color: #55585d;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.7;
}

.actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
    background: var(--text);
    color: #fff;
}

.button-primary:hover {
    background: #292b2f;
}

.button-secondary {
    border-color: #cfd0cd;
    background: rgba(255, 255, 255, 0.48);
}

.button-secondary:hover {
    border-color: #aeb0ad;
    background: #fff;
}

.button-disabled {
    cursor: not-allowed;
    background: #e2e2de;
    color: #8b8d90;
}

.button-disabled:hover {
    transform: none;
}

.hero-panel {
    min-height: 500px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.panel-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.panel-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #52555a;
    font-size: 12px;
}

.panel-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64a66d;
}

.flight-route {
    padding: 26px 0 18px;
}

.route-line {
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.route-line::before,
.route-line::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d3d4d1;
}

.route-plane {
    font-size: 22px;
    transform: rotate(45deg);
}

.route-cities {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.airport-code {
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 650;
    letter-spacing: -0.05em;
}

.airport-name {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.panel-metrics {
    padding-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--line);
}

.metric strong {
    display: block;
    font-size: 20px;
    font-weight: 650;
}

.metric span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.section {
    padding: 118px 24px;
}

.section-white {
    background: var(--surface);
}

.section-dark {
    background: var(--surface-dark);
    color: #fff;
}

.section-heading {
    margin-bottom: 52px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: end;
}

.section-title {
    max-width: 780px;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 620;
    letter-spacing: -0.055em;
    line-height: 1;
}

.section-intro {
    max-width: 560px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.section-dark .section-intro,
.section-dark .eyebrow {
    color: #a9abb0;
}

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

.card {
    min-height: 320px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.card:hover {
    transform: translateY(-4px);
    border-color: #bdbfbb;
    box-shadow: 0 18px 46px rgba(17, 18, 20, 0.07);
}

.card-index {
    color: #8b8d91;
    font-size: 12px;
    font-weight: 700;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 31px;
    font-weight: 620;
    letter-spacing: -0.035em;
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

.card-link {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
}

.dark-grid .card {
    border-color: var(--line-dark);
    background: #17181b;
}

.dark-grid .card p,
.dark-grid .card-index {
    color: #999ca2;
}

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.product-copy,
.product-visual {
    min-height: 540px;
    padding: clamp(30px, 5vw, 64px);
    border-radius: 28px;
}

.product-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #111214;
    color: #fff;
}

.product-wordmark {
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 700;
    letter-spacing: -0.055em;
}

.product-copy p {
    max-width: 500px;
    margin-top: 20px;
    color: #b7b9be;
    font-size: 17px;
    line-height: 1.7;
}

.product-visual {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #ecece8;
}

.phone {
    width: min(290px, 78%);
    aspect-ratio: 0.5;
    padding: 9px;
    border: 2px solid #2b2d31;
    border-radius: 44px;
    background: #111214;
    box-shadow: 0 28px 70px rgba(17, 18, 20, 0.22);
    transform: rotate(3deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    padding: 28px 18px 18px;
    overflow: hidden;
    border-radius: 35px;
    background: #f7f7f4;
    color: #111214;
}

.phone-notch {
    width: 78px;
    height: 22px;
    margin: -20px auto 30px;
    border-radius: 999px;
    background: #111214;
}

.app-title {
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.app-subtitle {
    margin-top: 4px;
    color: #7a7c80;
    font-size: 11px;
}

.app-card {
    margin-top: 22px;
    padding: 15px;
    border: 1px solid #dedfdb;
    border-radius: 14px;
    background: #fff;
}

.app-card strong {
    display: block;
    font-size: 14px;
}

.app-card span {
    display: block;
    margin-top: 4px;
    color: #777a7e;
    font-size: 10px;
}

.app-stars {
    margin-top: 12px;
    letter-spacing: 2px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 42px 28px;
}

.stat + .stat {
    border-left: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 620;
    letter-spacing: -0.045em;
}

.stat span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

.feature-list {
    border-top: 1px solid var(--line-dark);
}

.feature-row {
    padding: 28px 0;
    display: grid;
    grid-template-columns: 70px 0.7fr 1.3fr;
    gap: 30px;
    border-bottom: 1px solid var(--line-dark);
    align-items: start;
}

.feature-number {
    color: #74777c;
    font-size: 12px;
    font-weight: 700;
}

.feature-row h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.feature-row p {
    max-width: 610px;
    color: #a9abb0;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-copy {
    max-width: 630px;
}

.about-copy p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.about-facts {
    border-top: 1px solid var(--line);
}

.fact-row {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    border-bottom: 1px solid var(--line);
}

.fact-row span:first-child {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fact-row strong {
    font-weight: 620;
}

.download-list {
    border-top: 1px solid var(--line);
}

.download-item {
    padding: 32px 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid var(--line);
}

.download-title {
    font-size: 26px;
    font-weight: 620;
    letter-spacing: -0.025em;
}

.download-meta {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.download-status {
    color: var(--muted);
    font-size: 13px;
}

.callout {
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.callout h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 620;
    letter-spacing: -0.045em;
}

.callout p {
    max-width: 600px;
    margin-top: 10px;
    color: var(--muted);
}

.site-footer {
    padding: 64px 24px 34px;
    border-top: 1px solid var(--line);
    background: #efefeb;
}

.footer-shell {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: start;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-note {
    max-width: 430px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.footer-nav {
    display: flex;
    gap: 26px;
    color: #4f5257;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 58px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--line);
    color: #777a7e;
    font-size: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .section-heading,
    .product-feature,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 56px;
    }

    .hero-panel {
        min-height: 430px;
    }

    .section-heading {
        gap: 24px;
    }

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

    .card-grid .card:last-child {
        grid-column: 1 / -1;
    }

    .product-copy,
    .product-visual {
        min-height: 470px;
    }

    .feature-row {
        grid-template-columns: 50px 0.8fr 1.2fr;
    }

    .download-item {
        grid-template-columns: 1fr auto;
    }

    .download-status {
        grid-column: 1;
    }
}

@media (max-width: 720px) {
    .nav-shell {
        width: min(calc(100% - 32px), var(--max-width));
        height: 64px;
    }

    .brand {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .brand-mark {
        width: 25px;
        height: 25px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 64px 0 auto 0;
        min-height: calc(100vh - 64px);
        padding: 34px 24px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        background: #f5f5f2;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s ease;
    }

    .main-nav.open {
        transform: translateX(0);
        visibility: visible;
    }

    .main-nav a {
        width: 100%;
        padding: 19px 0;
        border-bottom: 1px solid var(--line);
        font-size: 22px;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 132px 20px 76px;
    }

    .hero-title {
        font-size: clamp(52px, 16vw, 74px);
        letter-spacing: -0.065em;
    }

    .hero-copy {
        margin-top: 26px;
        font-size: 17px;
    }

    .actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-panel {
        min-height: 390px;
        padding: 24px;
        border-radius: 24px;
    }

    .route-cities {
        gap: 12px;
    }

    .airport-code {
        font-size: 38px;
    }

    .panel-metrics {
        gap: 10px;
    }

    .metric strong {
        font-size: 17px;
    }

    .section {
        padding: 86px 20px;
    }

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

    .card-grid .card:last-child {
        grid-column: auto;
    }

    .card {
        min-height: 270px;
    }

    .product-copy,
    .product-visual {
        min-height: 420px;
        padding: 30px;
        border-radius: 22px;
    }

    .phone {
        width: min(250px, 84%);
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .stat + .stat {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .feature-row {
        grid-template-columns: 42px 1fr;
        gap: 18px;
    }

    .feature-row p {
        grid-column: 2;
    }

    .fact-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .download-item {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .download-status {
        grid-column: auto;
    }

    .callout {
        padding: 30px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}