/* ╭─────────────────────────────────────────────────────────────╮
   │  FLIGHT LOG — MARKETING SITE v2                              │
   │  Dense, dark, premium pilot aesthetic. Every section earns   │
   │  its space. Mobile-first responsive.                         │
   ╰─────────────────────────────────────────────────────────────╯ */

/* Metric-matched fallback for Cormorant Garamond. While the web font is
   loading (display=optional means it may stay un-applied for slow visits),
   the system serif renders with adjusted x-height and ascent so the swap —
   if it happens — is invisible to the eye. */
@font-face {
    font-family: "Cormorant Fallback";
    src: local("Iowan Old Style"), local("Palatino"), local("Georgia");
    size-adjust: 102%;
    ascent-override: 92%;
    descent-override: 26%;
    line-gap-override: 0%;
    font-display: swap;
}

:root {
    --bg:               #06060A;
    --bg-deep:          #04040A;
    --bg-elev:          #0F1014;
    --surface:          #14151A;
    --surface-2:        #1A1B22;

    --hairline:         rgba(255,255,255,0.08);
    --hairline-strong:  rgba(255,255,255,0.14);

    --amber:            #FFB833;
    --amber-glow:       #FFCC5C;
    --amber-dim:        #C68A1F;
    --cyan:             #66D9FF;
    --safe:             #4DE68C;
    --warning:          #FFC633;
    --critical:         #FF5C5C;

    --text:             rgba(255,255,255,0.95);
    --text-2:           rgba(255,255,255,0.55);
    --text-3:           rgba(255,255,255,0.32);
    --text-4:           rgba(255,255,255,0.18);

    --serif: "Cormorant Garamond", "Cormorant Fallback", "Iowan Old Style", "Palatino", Georgia, serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    --mono:  "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --max:    1240px;
    --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* iOS Safari: prevent rubberband from yanking the page (and the fixed
       nav) up and down on bounce. */
    overscroll-behavior-y: none;
}
body {
    font-family: var(--sans);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    font-feature-settings: "ss01", "cv01";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--bg-deep); }

.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.amber  { color: var(--amber)  !important; }
.cyan   { color: var(--cyan)   !important; }
.green  { color: var(--safe)   !important; }
.dim    { color: var(--text-3) !important; }

/* ──────────── BUTTONS ──────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.005em;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
    will-change: transform;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
    background: var(--amber); color: var(--bg-deep);
    box-shadow: 0 14px 32px -12px rgba(255,184,51,0.55);
}
.btn--primary:hover { background: var(--amber-glow); box-shadow: 0 20px 48px -12px rgba(255,184,51,0.7); }
.btn--ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 0.5px solid var(--hairline-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--block { display: flex; justify-content: center; width: 100%; }
.btn--xl { padding: 18px 32px; font-size: 17px; }

/* ──────────── EYEBROW ──────────── */
.eyebrow {
    display: inline-block;
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--text-3);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.micro-label {
    display: block;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 600;
}

/* ──────────── CURSOR HALO ──────────── */
.cursor-halo {
    position: fixed;
    width: 600px; height: 600px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(255,184,51,0.10), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-halo { opacity: 1; } }

/* ╭─────────────────────────────────────────────────────────────╮
   │  NAV                                                        │
   ╰─────────────────────────────────────────────────────────────╯ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* iOS notch / Dynamic Island: respect the safe-area inset so the brand
       text never gets eaten by the status bar. Horizontal also widened to
       avoid the rounded corners on landscape. */
    padding-top:    calc(env(safe-area-inset-top, 0px) + 12px);
    padding-right:  calc(env(safe-area-inset-right, 0px) + var(--gutter));
    padding-bottom: 12px;
    padding-left:   calc(env(safe-area-inset-left, 0px) + var(--gutter));
    background: linear-gradient(to bottom, rgba(6,6,10,0.92), rgba(6,6,10,0.7));
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 0.5px solid var(--hairline);

    /* GPU-promoted: prevents flicker / sub-pixel drift during scroll. */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout paint;
}

/* Mobile / iOS: address bar collapse-expand on scroll causes 100vh jumps and
   makes backdrop-filter recompose every frame. Trade premium blur for a more
   opaque solid background — the nav stops jittering and overall perf jumps. */
@media (max-width: 760px) {
    .nav {
        background: rgba(6, 6, 10, 0.96);
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
    }
}
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}
.nav__icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    box-shadow: 0 4px 12px -2px rgba(0,0,0,0.5), 0 0 0 0.5px var(--hairline-strong) inset;
}
.nav__links { display: flex; gap: 30px; font-size: 14px; }
.nav__links a {
    color: var(--text-2);
    transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg-deep);
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); }

@media (max-width: 760px) {
    .nav__links { display: none; }
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  HERO                                                       │
   ╰─────────────────────────────────────────────────────────────╯ */
.hero {
    position: relative;
    min-height: 100vh;          /* fallback */
    min-height: 100svh;          /* iOS Safari: small viewport (URL bar shown) */
    overflow: hidden;
    /* Top padding clears the fixed nav including iOS safe-area inset. */
    padding-top:    calc(env(safe-area-inset-top, 0px) + 100px);
    padding-right:  calc(env(safe-area-inset-right, 0px) + var(--gutter));
    padding-bottom: 60px;
    padding-left:   calc(env(safe-area-inset-left, 0px) + var(--gutter));
    display: flex;
    align-items: center;
}
.hero__globe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 50%, transparent 0, var(--bg-deep) 70%),
        linear-gradient(to bottom, rgba(6,6,10,0.4) 0, transparent 12%, transparent 80%, var(--bg-deep) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero__grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.hero__left { max-width: 600px; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 0.5px solid var(--hairline);
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero__badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--safe);
    box-shadow: 0 0 8px var(--safe);
}
.hero__title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(48px, 8.5vw, 96px);
    line-height: 0.96;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--amber); font-weight: 500; }
.hero__sub {
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.6;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 32px;
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__signals {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 0.5px solid var(--hairline);
}
.signal {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.05em;
}
.signal strong {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero__right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  PHONE MOCKUP                                               │
   ╰─────────────────────────────────────────────────────────────╯ */
.phone {
    position: relative;
    width: min(320px, 100%);
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(170deg, #2a2a32 0%, #0a0a0e 100%);
    border-radius: 44px;
    padding: 8px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 0 1.5px #2A2A30,
        0 60px 120px -20px rgba(0,0,0,0.7),
        0 30px 60px -10px rgba(0,0,0,0.6);
    transform: rotate3d(0,0,0,0);
    transition: transform 0.6s var(--ease);
}
.phone--hero {
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
}
.phone--hero:hover {
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}
.phone__notch {
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 999px;
    z-index: 5;
}
.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #06060A;
    border-radius: 36px;
    overflow: hidden;
    color: var(--text);
}

.screen-status {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 26px 6px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.screen-status__icons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.battery {
    display: inline-block;
    width: 24px; height: 11px;
    border: 1px solid currentColor;
    border-radius: 3px;
    position: relative;
}
.battery::after {
    content: "";
    position: absolute;
    inset: 1.5px;
    background: currentColor;
    border-radius: 1.5px;
}
.battery::before {
    content: "";
    position: absolute;
    right: -3px; top: 3px;
    width: 1.5px; height: 4px;
    background: currentColor;
    border-radius: 0 1px 1px 0;
}

.screen-body {
    padding: 18px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 4px 8px;
    border-radius: 999px;
    background: rgba(77, 230, 140, 0.12);
    border: 0.5px solid rgba(77, 230, 140, 0.32);
    font-size: 9px;
    font-weight: 700;
    color: var(--safe);
    letter-spacing: 0.14em;
    align-self: flex-start;
}
.dashboard-pill__dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--safe);
}

.dashboard-greet {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
}

/* Hero card with gauge */
.hero-card {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 22px;
    padding: 14px;
}
.hero-gauge {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 220px;
    margin: 0 auto;
}
.hero-gauge svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(255,184,51,0.4));
}
.hero-gauge__ticks {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(255,255,255,0.20) 0deg, transparent 1deg,
        transparent 6deg, rgba(255,255,255,0.20) 7deg, transparent 8deg,
        transparent 12deg
    );
    -webkit-mask: radial-gradient(circle, transparent 65%, #000 66%, #000 70%, transparent 71%);
            mask: radial-gradient(circle, transparent 65%, #000 66%, #000 70%, transparent 71%);
}
.hero-gauge__readout {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-gauge__num {
    font-family: var(--mono);
    font-feature-settings: "tnum";
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
    margin-top: 4px;
    display: flex;
    align-items: baseline;
    gap: 1px;
}
.hero-gauge__num i {
    font-style: normal;
    font-size: 0.42em;
    color: var(--text-2);
    font-weight: 500;
    margin: 0 1px;
}
.hero-gauge__sub {
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--text-3);
    margin-top: 6px;
    letter-spacing: 0.02em;
}
.hero-card__legend {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 0.5px solid var(--hairline);
}
.hero-card__legend > div { text-align: center; }
.hero-card__legend > div b {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan);
    margin-top: 3px;
    letter-spacing: 0.02em;
}

.month-card {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 18px;
    padding: 14px 16px;
}
.month-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.month-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.month-card__row > div {
    flex: 1;
    text-align: center;
}
.month-card__row b {
    display: block;
    font-family: var(--mono);
    font-feature-settings: "tnum";
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}
.vsep {
    width: 0.5px;
    height: 28px;
    background: var(--hairline);
    flex: 0 0 auto !important;
}

/* Watch chip floating beside phone */
.watch-chip {
    position: absolute;
    bottom: 8%;
    left: -8%;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    background: linear-gradient(160deg, #16161a 0%, #0a0a0e 100%);
    border: 0.5px solid var(--hairline-strong);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.7);
    transform: rotate(-8deg);
    overflow: hidden;
}
.watch-chip__face {
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    background: #06060A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 0.5px solid var(--hairline);
}
.watch-chip__face .micro-label { font-size: 8px; margin-bottom: 4px; }
.watch-chip__num {
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: -0.03em;
}

@media (max-width: 880px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__right { margin-top: 32px; }
    .phone--hero { transform: none; }
    .watch-chip { display: none; }
    .hero__veil {
        background:
            radial-gradient(ellipse 80% 50% at 50% 40%, transparent 0, var(--bg-deep) 80%),
            linear-gradient(to bottom, transparent 0%, var(--bg-deep) 100%);
    }
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  STRIP                                                      │
   ╰─────────────────────────────────────────────────────────────╯ */
.strip {
    border-top: 0.5px solid var(--hairline);
    border-bottom: 0.5px solid var(--hairline);
    padding: 28px var(--gutter);
    background: var(--bg);
}
.strip__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}
.strip__cell {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 13px;
    color: var(--text-2);
}
.strip__cell strong {
    font-family: var(--mono);
    font-feature-settings: "tnum";
    font-size: 26px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
}
@media (max-width: 720px) {
    .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  FEATURES GRID                                              │
   ╰─────────────────────────────────────────────────────────────╯ */
.features {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(80px, 12vw, 140px) var(--gutter) clamp(40px, 6vw, 80px);
}
.features__head {
    text-align: center;
    margin-bottom: clamp(48px, 7vw, 80px);
}
.features__head h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 720px;
    margin: 0 auto;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 880px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

.fcard {
    padding: 28px;
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 20px;
    transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.fcard:hover {
    transform: translateY(-4px);
    border-color: var(--hairline-strong);
    background: var(--surface-2);
}
.fcard__icon {
    width: 38px; height: 38px;
    margin-bottom: 18px;
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fcard__icon svg { width: 100%; height: 100%; }
.fcard h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.fcard p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.55;
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  SHOWCASE (rows with phones)                                │
   ╰─────────────────────────────────────────────────────────────╯ */
.showcase {
    padding: clamp(60px, 10vw, 120px) var(--gutter);
    max-width: var(--max);
    margin: 0 auto;
}
.showcase__head {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}
.showcase__head h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.showcase__head p {
    color: var(--text-2);
    font-size: 17px;
}

.show-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
    padding: clamp(40px, 6vw, 80px) 0;
}
.show-row__copy h3 {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.show-row__copy p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 22px;
}
.show-row__copy ul li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.show-row__copy ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 10px; height: 1px;
    background: var(--amber);
}
.show-row__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 880px) {
    .show-row { grid-template-columns: 1fr; gap: 40px; }
    .show-row--reverse .show-row__copy { order: 1; }
    .show-row--reverse .show-row__visual { order: 2; }
}

/* Duty screen inside phone */
.duty-screen {
    padding: 18px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.duty-title {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}
.duty-rows {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 18px;
    overflow: hidden;
}
.duty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    border-bottom: 0.5px solid var(--hairline);
    font-size: 14px;
    color: var(--text-2);
}
.duty-row:last-child { border-bottom: 0; }
.duty-row b {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Map screen */
.phone__screen--map { display: flex; flex-direction: column; }
.map-screen {
    position: relative;
    flex: 1;
    min-height: 0;
}
.map-screen__terrain {
    position: absolute;
    inset: 18px 16px 198px 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 0.5px solid var(--hairline-strong);
    background: linear-gradient(160deg, #1a2030 0%, #060810 100%);
}
.map-screen__svg {
    width: 100%;
    height: 100%;
    display: block;
}
.map-route {
    stroke-dasharray: 6 5;
    animation: dashFlow 8s linear infinite;
}
@keyframes dashFlow {
    to { stroke-dashoffset: -110; }
}
.map-screen__pin {
    position: absolute;
    z-index: 4;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.7);
    border: 0.5px solid var(--hairline-strong);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.map-screen__pin--dep { top: 22%; left: 24%; color: var(--amber); }
.map-screen__pin--arr { top: 38%; right: 22%; color: var(--cyan); }
.map-screen__route {
    position: absolute;
    bottom: 16px; left: 16px; right: 16px;
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 18px;
    padding: 14px 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.map-screen__icaos {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.map-screen__icaos i {
    font-style: normal;
    color: var(--amber);
    font-weight: 300;
    font-size: 18px;
}
.map-screen__cities {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-2);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid var(--hairline);
}
.map-screen__row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.map-screen__row > div {
    flex: 1;
    text-align: center;
}
.map-screen__row > div b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
}

/* Career screen */
.career-screen {
    padding: 18px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.career-hero {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 22px;
    padding: 22px 18px;
    text-align: center;
}
.career-hero__num {
    font-size: 38px;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: -0.03em;
    margin-top: 8px;
    line-height: 1;
}
.career-hero__sub {
    font-size: 11px;
    color: var(--text-2);
    margin-top: 8px;
}
.career-chart {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 18px;
    padding: 14px 16px;
}
.bars {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    gap: 4px;
    height: 90px;
    margin-top: 10px;
}
.bar {
    height: var(--h);
    background: linear-gradient(to top, rgba(255,184,51,0.4), var(--amber));
    border-radius: 3px 3px 0 0;
    animation: barRise 0.8s var(--ease) backwards;
}
.bar:nth-child(1)  { animation-delay: 0.05s; }
.bar:nth-child(2)  { animation-delay: 0.10s; }
.bar:nth-child(3)  { animation-delay: 0.15s; }
.bar:nth-child(4)  { animation-delay: 0.20s; }
.bar:nth-child(5)  { animation-delay: 0.25s; }
.bar:nth-child(6)  { animation-delay: 0.30s; }
.bar:nth-child(7)  { animation-delay: 0.35s; }
.bar:nth-child(8)  { animation-delay: 0.40s; }
.bar:nth-child(9)  { animation-delay: 0.45s; }
.bar:nth-child(10) { animation-delay: 0.50s; }
.bar:nth-child(11) { animation-delay: 0.55s; }
.bar:nth-child(12) { animation-delay: 0.60s; }
@keyframes barRise { from { height: 0; opacity: 0; } to { height: var(--h); opacity: 1; } }

/* ╭─────────────────────────────────────────────────────────────╮
   │  PRIVACY                                                    │
   ╰─────────────────────────────────────────────────────────────╯ */
.privacy {
    background: linear-gradient(to bottom, var(--bg-deep), #08080F 50%, var(--bg-deep));
    padding: clamp(80px, 12vw, 140px) var(--gutter);
    position: relative;
    overflow: hidden;
}
.privacy::before {
    content: "";
    position: absolute;
    top: -30%; left: 50%;
    width: 1000px; height: 1000px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(102,217,255,0.06), transparent 60%);
    pointer-events: none;
}
.privacy__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.privacy__inner h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}
.privacy__inner h2 em { font-style: italic; color: var(--cyan); font-weight: 500; }
.privacy__inner > p {
    max-width: 680px;
    margin: 0 auto 56px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.65;
}
.privacy__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    text-align: left;
}
@media (max-width: 720px) { .privacy__pillars { grid-template-columns: 1fr; } }
.pillar {
    padding: 26px;
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 18px;
}
.pillar__num {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--amber);
    margin-bottom: 14px;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.pillar h4 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.pillar p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.55;
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  FAQ                                                        │
   ╰─────────────────────────────────────────────────────────────╯ */
.faq {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(80px, 12vw, 140px) var(--gutter);
}
.faq__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.faq__head h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] {
    background: var(--surface-2);
    border-color: var(--hairline-strong);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 400;
    color: var(--amber);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 0 26px 24px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.6;
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  PRICING                                                    │
   ╰─────────────────────────────────────────────────────────────╯ */
.pricing {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(80px, 12vw, 140px) var(--gutter);
}
.pricing__head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.pricing__head h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.pricing__head p { color: var(--text-2); font-size: 16px; }

/* What's included in Pro — list shown above the plans so users see they get
   the same feature set regardless of plan choice. */
.pro-includes {
    margin-bottom: 32px;
    padding: 28px 30px;
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 22px;
}
.pro-includes .eyebrow {
    display: block;
    margin-bottom: 18px;
}
.pro-includes__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 24px;
}
@media (max-width: 880px) { .pro-includes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pro-includes__grid { grid-template-columns: 1fr; } }

.pro-includes__grid > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 14px;
    border-left: 1px solid var(--amber);
}
.pro-includes__grid > div span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.005em;
}
.pro-includes__grid > div small {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.4;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}
@media (max-width: 880px) {
    .plans { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
.plan {
    position: relative;
    padding: 30px 26px;
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
}
.plan--featured {
    background: linear-gradient(165deg, rgba(255,184,51,0.10), var(--surface) 60%);
    border-color: rgba(255,184,51,0.4);
    box-shadow: 0 30px 60px -20px rgba(255,184,51,0.15);
}
.plan__badge {
    position: absolute;
    top: -11px; left: 26px;
    padding: 4px 10px;
    background: var(--amber);
    color: var(--bg-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
}
.plan__name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}
.plan__price {
    display: flex;
    align-items: baseline;
    margin-bottom: 6px;
}
.plan__price .d {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--text-2);
    margin-right: 3px;
    line-height: 1;
}
.plan__price .a {
    font-family: var(--mono);
    font-size: 44px;
    font-weight: 700;
    color: var(--text);
    font-feature-settings: "tnum";
    letter-spacing: -0.02em;
    line-height: 1;
}
.plan__price .p {
    font-size: 14px;
    color: var(--text-3);
    margin-left: 6px;
}
.plan__caption {
    color: var(--text-2);
    font-size: 13px;
    margin-bottom: 22px;
    min-height: 36px;
}
.plan ul { flex: 1; margin-bottom: 22px; }
.plan ul li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.plan ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 8px; height: 1px;
    background: var(--amber);
}

.crew {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    background: var(--surface);
    border: 0.5px dashed var(--hairline-strong);
    border-radius: 22px;
}
.crew__name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}
.crew__pill {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--cyan);
    color: var(--bg-deep);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    vertical-align: middle;
}
.crew p { color: var(--text-2); font-size: 14px; }
.crew__price { display: flex; align-items: baseline; }
.crew__price .d { font-family: var(--mono); font-size: 16px; color: var(--text-2); margin-right: 3px; }
.crew__price .a { font-family: var(--mono); font-size: 32px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.crew__price .p { font-size: 13px; color: var(--text-3); margin-left: 5px; }

@media (max-width: 720px) {
    .crew { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .crew__price { justify-content: center; }
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  CTA                                                        │
   ╰─────────────────────────────────────────────────────────────╯ */
.cta {
    text-align: center;
    padding: clamp(80px, 12vw, 140px) var(--gutter);
    border-top: 0.5px solid var(--hairline);
}
.cta h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.cta p {
    color: var(--text-2);
    font-size: 16px;
    margin-bottom: 32px;
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  FOOTER                                                     │
   ╰─────────────────────────────────────────────────────────────╯ */
.footer {
    background: var(--bg-deep);
    border-top: 0.5px solid var(--hairline);
    padding: clamp(50px, 8vw, 80px) var(--gutter) 32px;
}
.footer__top {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(32px, 5vw, 60px);
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--hairline);
}
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer__brand img {
    width: 44px; height: 44px;
    border-radius: 10px;
    box-shadow: 0 4px 12px -2px rgba(0,0,0,0.5), 0 0 0 0.5px var(--hairline-strong) inset;
}
.footer__name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}
.footer__tag {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--text-3);
    margin-top: 2px;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

.footer__cols h5 {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer__cols a {
    display: block;
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s var(--ease);
}
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-3);
}
.footer__colophon { font-family: var(--serif); font-style: italic; }

@media (max-width: 560px) {
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ╭─────────────────────────────────────────────────────────────╮
   │  REVEAL                                                     │
   ╰─────────────────────────────────────────────────────────────╯ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
    .reveal { opacity: 1; transform: none; }
    .phone--hero { transform: none !important; }
}
