@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --blue: #1B4399;
  --blue-600: #163a86;
  --blue-50: #e8eef9;
  --red: #C8102E;      /* brand + safety only */
  --navy: #0A1628;
  --navy-2: #12223b;
  --warm: #F4F3EE;
  --ink: #0A1628;
  --muted: #4a5568;
  --line: #e2e1da;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(10, 22, 40, .18);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; }
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow-light { color: #9fb6e8; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 14px 24px; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 18px 30px; font-size: clamp(16px, 2.5vw, 20px); word-break: break-all; }
.is-soon { cursor: pointer; } /* links to #launch-list until appStoreUrl is set */
.btn-primary.is-soon { background: transparent; color: var(--blue); border-color: var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 22, 40, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-top: 4px solid var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 28px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: -.01em; }
.brand-by { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fb6e8; }
.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--white); padding: 10px; margin-right: -10px; cursor: pointer; }
.site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-nav.is-open { display: flex; }
.site-nav a { color: #dfe6f3; text-decoration: none; font-weight: 600; padding: 12px 0; }
.site-nav a:hover { color: var(--white); }
.site-nav .btn { margin-top: 8px; color: var(--white); border-color: rgba(255,255,255,.5); }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; }
  .site-nav a { padding: 0; font-size: 15px; }
  .site-nav .btn { margin-top: 0; padding: 8px 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(27,67,153,.55) 0%, rgba(27,67,153,0) 70%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(27,67,153,.30) 0%, rgba(27,67,153,0) 70%),
    linear-gradient(160deg, #0A1628 0%, #12223b 60%, #0A1628 100%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); }
.hero-inner { position: relative; display: grid; gap: 48px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
.hero-title { font-size: clamp(60px, 13vw, 112px); font-weight: 900; letter-spacing: -.045em; line-height: .95; margin-bottom: 20px; }
.hero-lede { font-size: clamp(18px, 2.4vw, 21px); color: #d3dcec; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 18px; }
.hero-note { font-size: 15px; color: #9fb0cc; margin: 0; }
.hero-visual { display: flex; justify-content: center; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; padding-top: 88px; padding-bottom: 104px; }
}

/* App Store button */
.appstore { display: inline-flex; align-items: center; gap: 12px; background: var(--white); color: var(--navy); text-decoration: none; padding: 10px 22px 10px 18px; border-radius: 14px; font-weight: 700; min-height: 58px; }
.appstore-icon { width: 24px; height: 28px; flex: none; }
.appstore-text { display: flex; flex-direction: column; line-height: 1.2; }
.appstore-text small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5b6475; }
.appstore-text span { font-size: 17px; }
.appstore:not(.is-soon):hover { background: #e9edf5; }

/* Phone frames */
.phone { margin: 0; width: min(280px, 64vw); border-radius: 36px; padding: 9px; background: #0b0f17; box-shadow: var(--shadow), inset 0 0 0 2px #2a3242; }
.phone img { display: block; border-radius: 28px; width: 100%; height: auto; }
.phone-hero { width: min(300px, 64vw); transform: rotate(2deg); box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 2px #2a3242; }

/* Sections */
.section { padding: 80px 0; }
@media (min-width: 860px) { .section { padding: 112px 0; } }
.section-head { max-width: 760px; margin: 0 auto 48px; }

/* Problem */
.problem { background: var(--warm); }
.scatter { list-style: none; padding: 0; margin: 32px 0 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.scatter li { background: var(--white); border: 1px dashed #bdbab0; color: #5b5a55; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(10,22,40,.35); }
.scatter li:nth-child(odd) { transform: rotate(-1.5deg); }
.scatter li:nth-child(even) { transform: rotate(1.5deg); }
.solution-callout { display: flex; gap: 18px; align-items: center; text-align: left; background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 8px 30px rgba(10,22,40,.08); border-left: 5px solid var(--blue); }
.solution-callout img { width: 36px; flex: none; }
.solution-callout p { margin: 0; font-size: 18px; }

/* Features */
.feature { display: grid; gap: 40px; align-items: center; margin-bottom: 96px; }
.feature-media { display: flex; justify-content: center; }
.feature-media-pair { gap: 0; align-items: flex-start; }
.feature-media-pair .phone { width: min(230px, 46vw); }
.feature-media-pair .phone-offset { margin-left: -36px; margin-top: 64px; }
.feature-copy p { color: var(--muted); font-size: 18px; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: #e6f4ea; color: #1d6b36; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.feature-copy .tag { color: #1d6b36; font-size: 12px; }
.feature-copy .tag-blue { background: var(--blue-50); color: var(--blue); }
.pill { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #e6f4ea; color: #1d6b36; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: #2d3748; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231B4399' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.canfly { margin-top: 24px; background: var(--navy); color: #d3dcec; border-radius: var(--radius); padding: 22px 24px; position: relative; overflow: hidden; }
.canfly::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--blue), #2e9e5b); }
.canfly-title { color: var(--white) !important; font-weight: 900; font-size: 22px !important; margin-bottom: 6px !important; }
.canfly p { color: #d3dcec; font-size: 16px; margin: 0; }
.canfly strong { color: var(--white); }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 128px; }
  .feature-reverse .feature-media { order: 2; }
}

/* Why */
.why { background: var(--navy); color: var(--white); position: relative; }
.why::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.why .container { position: relative; }
.why-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px 28px; }
.why-num { display: block; font-weight: 900; font-size: 15px; color: #7f9fe0; letter-spacing: .1em; margin-bottom: 18px; }
.why-card h3 { font-size: 22px; }
.why-card p { color: #b8c4da; margin: 0; }

/* Pricing */
.pricing { background: var(--warm); }
.price-grid { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(10,22,40,.06); }
.price-card h3 { font-size: 22px; margin-bottom: 14px; }
.price { margin: 0; }
.amount { font-size: 48px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.price-sub { color: var(--muted); font-size: 15px; font-weight: 600; margin: 6px 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-card .checks li { font-size: 16px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 28px; }

/* Contact */
.contact .lead { margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--navy); color: #b8c4da; padding: 56px 0 32px; font-size: 15px; }
.footer-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1fr auto auto; gap: 48px; } }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 32px; }
.footer-name { color: var(--white); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.footer-sub { margin: 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #dfe6f3; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #dfe6f3; border: 1px solid rgba(255,255,255,.18); }
.social a:hover { color: var(--white); border-color: var(--white); }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }
.disclaimer { color: #ff8a9b; }

/* Gallery */
.gallery { background: var(--white); padding-bottom: 96px; }
.gallery .section-head { margin-bottom: 36px; }
.gallery-track { list-style: none; margin: 0 auto; padding: 8px 20px 24px; display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; max-width: calc(var(--container) + 40px); -webkit-overflow-scrolling: touch; }
.gallery-track li { flex: none; width: 220px; scroll-snap-align: center; text-align: center; }
.gallery-track .phone { width: 220px; }
.gallery-track p { margin: 16px 0 0; font-weight: 700; font-size: 15px; color: var(--ink); }
@media (max-width: 699px) { .gallery-track { flex-direction: column; align-items: center; overflow: visible; scroll-snap-type: none; gap: 40px; } .gallery-track li { width: min(260px, 72vw); } .gallery-track .phone { width: 100%; } }
@media (min-width: 1100px) { .gallery-track { justify-content: center; overflow: visible; } .gallery-track .phone { width: 230px; } }

/* Inner pages (privacy, terms, support) */
.page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); padding: 64px 0 56px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(34px, 6vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 18px; }
.page-lede { font-size: clamp(17px, 2.2vw, 20px); color: #d3dcec; margin-bottom: 28px; }
.legal-meta { color: #9fb0cc; font-size: 15px; }
.legal-meta p { margin: 0; }
@media (min-width: 860px) { .page-hero { padding: 88px 0 72px; } }

.legal-body { padding-top: 56px; }
.prose { color: #2d3748; }
.prose h2 { font-size: clamp(22px, 3vw, 26px); font-weight: 800; color: var(--ink); margin: 2em 0 .6em; padding-top: 8px; scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 800; color: var(--red); letter-spacing: 0; }
.prose ul { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); }
.prose a { font-weight: 600; }

.faq { background: var(--warm); }
.faq .section-head { margin: 0 0 32px; }
.faq-list { display: grid; gap: 16px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 10px; box-shadow: 0 8px 30px rgba(10,22,40,.06); }
.faq-item h3 { font-size: 20px; margin-bottom: 10px; }
.faq-item p { color: var(--muted); }

/* Marketing & Web, Oct 24 2026: 44px minimum tap targets for footer links and social icons */
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.social a { width: 44px; height: 44px; }
@media (max-width: 859px) { .footer-links { gap: 8px 22px; } }

/* Marketing & Web, Oct 24 2026: "the why behind the number" Study Ref feature */
.feature-copy .why-kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.feature-copy .feature-fine { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
@media (min-width: 1100px) { .gallery-track { gap: 24px; } .gallery-track .phone { width: 220px; } .gallery-track li { width: 220px; } }

/* Marketing & Web, Oct 24 2026: tagline hero ("FlightDeck" brand line above the tagline h1) */
.hero-brand { font-size: clamp(60px, 13vw, 104px); font-weight: 900; letter-spacing: -.045em; line-height: .95; color: var(--white); margin: 0 0 18px; }
.hero-title.hero-title-tagline { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: #d3dcec; margin-bottom: 20px; }

/* Hero breathing room (Oct 24 2026, Paul: text felt cramped) */
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-brand { line-height: 1; margin: 0 0 24px; }
.hero-title.hero-title-tagline { line-height: 1.3; margin: 0 0 28px; max-width: 18em; }
.hero-lede { line-height: 1.7; max-width: 32em; }
.hero-ctas { margin: 36px 0 22px; }

/* Launch list (Netlify Forms) */
.launch-list { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.launch-list::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.launch-list .container { position: relative; }
.launch-list #launch-list-title { line-height: 1.15; margin-bottom: 20px; }
.launch-list .lead { color: #d3dcec; line-height: 1.7; max-width: 34em; margin: 0 auto 36px; }
.launch-form { max-width: 560px; margin: 0 auto; text-align: left; }
.launch-label { display: block; font-size: 15px; font-weight: 700; color: #d3dcec; margin: 0 0 8px 4px; }
.launch-row { display: flex; flex-direction: column; gap: 12px; }
.launch-input { flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--ink); background: var(--white); border: 2px solid transparent; border-radius: 999px; padding: 14px 22px; line-height: 1.2; }
.launch-input::placeholder { color: #8a94a6; }
.launch-input:focus { outline: none; border-color: #7aa2ff; box-shadow: 0 0 0 3px rgba(122,162,255,.35); }
.launch-btn { font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.launch-list .btn-primary { border-color: rgba(255,255,255,.2); }
@media (min-width: 600px) { .launch-row { flex-direction: row; } }
.launch-fine { color: #9fb0cc; font-size: 14px; margin: 22px 0 0; }
.launch-fine a { color: #c9d7f5; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks-main { min-height: calc(100vh - 230px); display: flex; align-items: center; }
