/* Landing pages: Infinite Flight (served at /), real flights and VATSIM. Drawn like the app's sign-in intro (App/js/airshow_startup_intro_auth.js):
   Pretendard throughout, heavy headlines in one accent colour per section, bold pale body text, the night Earth
   behind everything, real app screens in thin white frames, the yellow button and black pill buttons. */
@font-face { font-family: "Pretendard Variable"; src: url("/fonts/PretendardVariable-latin.woff2") format("woff2-variations"), url("/fonts/PretendardVariable-latin.woff2") format("woff2"); font-weight: 45 920; font-display: swap; }

:root {
  --night: #050a14;
  --ink: #f2f8ff;
  --ink-body: #e7f0ff;
  --ink-dim: rgba(203, 232, 255, 0.78);
  --orange: #ff944f;
  --go: #ffd84a;
  --go-ink: #1a1400;
  --yellow: #ffd84a;
  --lime: #b7f34d;
  --sky: #6ec8ff;
  --frame: rgba(255, 255, 255, 0.3);
  --glass: rgba(8, 14, 26, 0.58);
  --glass-line: rgba(255, 255, 255, 0.16);
  --font: "Pretendard Variable", "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; scroll-padding-top: 76px; }
body.lh { margin: 0; background: var(--night); color: var(--ink); font: 600 17px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--sky); text-underline-offset: 0.2em; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(255, 216, 74, 0.36); color: #fff; }
:focus-visible { outline: 2px solid rgba(255, 230, 168, 0.96); outline-offset: 3px; }
.lh-wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.la-skip { position: absolute; left: -9999px; top: 12px; z-index: 50; padding: 10px 16px; background: var(--go); color: var(--go-ink); font-weight: 800; }
.la-skip:focus { left: 16px; }

/* Header */
.lh-header { position: sticky; top: 0; z-index: 30; background: rgba(5, 10, 20, 0.82); border-bottom: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lh-header__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.lh-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; text-decoration: none; }
.lh-brand img { width: 32px; height: 32px; }
.lh-nav { display: flex; gap: 24px; margin-left: auto; }
.lh-nav a { color: var(--ink-dim); font-size: 15px; font-weight: 700; text-decoration: none; }
.lh-nav a:hover, .lh-nav a[aria-current="page"] { color: var(--ink); }

/* Buttons: yellow for boarding, and the intro's black sign-in pills. */
.lh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font: 800 17px/1 var(--font); white-space: nowrap; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
.lh-btn:hover { transform: translateY(-2px); }
.lh-btn--go { background: var(--go); color: var(--go-ink); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 0 rgba(255, 216, 74, 0); }
.lh-btn--go:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36), 0 0 26px rgba(255, 216, 74, 0.5); }
.lh-btn--dark { background: rgba(0, 0, 0, 0.78); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.lh-btn--dark:hover { background: #000; border-color: rgba(255, 255, 255, 0.4); }
.lh-btn--sm { min-height: 40px; padding: 0 20px; font-size: 15px; }

/* Hero: the intro's night Earth, white headline, pale blue subtitle and the yellow free-hours line. */
.lh-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vh, 112px) 0 clamp(64px, 10vh, 120px); background: var(--night) url("/images/landing/space-1600.webp") center 70% / cover no-repeat; }
.lh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 20, 0.82) 0%, rgba(5, 10, 20, 0.46) 52%, rgba(5, 10, 20, 0.12) 100%), linear-gradient(0deg, var(--night) 0%, rgba(5, 10, 20, 0) 30%); pointer-events: none; }
.lh-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 3.5vw, 48px); align-items: center; }
.lh-overline { margin-bottom: 18px; color: rgba(232, 245, 255, 0.78); font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.lh-h1 { font-size: clamp(38px, 4.4vw, 60px); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; color: var(--ink); text-shadow: 0 10px 24px rgba(0, 0, 0, 0.48), 0 0 26px rgba(174, 215, 255, 0.18); }
.lh-h1 .lh-accent { color: var(--orange); }
.lh-h1 .lh-accent--sky { color: var(--sky); }
.lh-h1 .lh-accent--lime { color: var(--lime); }
.lh-trio > span { display: block; }
.lh-nowrap { white-space: nowrap; }
.lh-lede { margin-top: 22px; max-width: 520px; color: rgba(203, 232, 255, 0.94); font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.3; text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42); }
.lh-also { margin-top: 10px; max-width: 520px; color: rgba(203, 232, 255, 0.94); font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.35; text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42); }
.lh-also a { color: var(--sky); font-weight: 800; text-decoration: none; }
.lh-also a:hover, .lh-also a:focus-visible { text-decoration: underline; }
.lh-offer { margin-top: 18px; color: var(--ink-body); font-size: 16px; font-weight: 600; }
.lh-offer b { color: var(--yellow); font-weight: 800; }
.lh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.la-live { display: block; min-height: 24px; margin-top: 18px; color: var(--ink-dim); font-size: 15px; line-height: 24px; text-decoration: none; visibility: hidden; }
.la-live.is-on { visibility: visible; }
.la-live:hover { color: var(--ink); }
.la-live b { color: var(--lime); font-weight: 800; font-variant-numeric: tabular-nums; }
.la-live__dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(183, 243, 77, 0.7); vertical-align: 1px; }
.la-teaser { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.la-teaser svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); fill: currentColor; }
.la-teaser:hover svg { background: var(--go); color: var(--go-ink); }

/* App screens: square, with the intro's thin white frame. */
.lh-shot { margin: 0; border: 2px solid var(--frame); background: #0f1828; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.lh-shot img { width: 100%; }
.lh-hero__shot { justify-self: end; width: 100%; }
.la-screen__display { position: relative; }
.la-screen__display.is-video img { visibility: hidden; }
.la-screen__display video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }

/* Sections over the blurred night Earth, as the intro's scroll area. */
.lh-intro { position: relative; isolation: isolate; overflow: hidden; }
.lh-intro::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: url("/images/landing/space-1600.webp") center 62% / cover no-repeat; filter: blur(26px) brightness(0.9) saturate(1.1); }
.lh-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(5, 10, 20, 0.35) 18%, rgba(5, 10, 20, 0.35) 82%, var(--night) 100%); }
.lh-section { padding: clamp(56px, 8vw, 104px) 0 0; }
.lh-section > .lh-wrap { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 24px); }
.lh-title { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; line-height: 1.06; color: var(--ink); text-shadow: 0 8px 20px rgba(0, 0, 0, 0.46), 0 2px 8px rgba(0, 0, 0, 0.34); }
.lh-title--orange { color: var(--orange); }
.lh-title--yellow { color: var(--yellow); }
.lh-title--lime { color: var(--lime); }
.lh-title--sky { color: var(--sky); }
.lh-body { max-width: 880px; color: var(--ink-body); font-size: clamp(19px, 1.9vw, 28px); font-weight: 700; line-height: 1.3; text-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); }
.lh-note { color: var(--ink-dim); font-size: 16px; }
.lh-note a { font-weight: 700; }
.lh-tag { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: #1a1400; font-size: 12px; font-weight: 800; vertical-align: 3px; }

/* Glass panels: the start screen's frosted cards. */
.lh-steps, .lh-plan, .lh-mode { border: 1px solid var(--glass-line); border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.lh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.lh-steps li { position: relative; padding: 28px 28px 28px 84px; counter-increment: step; }
.lh-steps li + li { border-left: 1px solid var(--glass-line); }
.lh-steps li::before { content: counter(step); position: absolute; left: 26px; top: 24px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: #142000; font-size: 20px; font-weight: 800; }
.lh-steps h3, .lh-mode h3, .lh-view h3 { font-size: 21px; font-weight: 800; line-height: 1.2; }
.lh-steps p, .lh-mode p, .lh-view p { margin-top: 6px; color: var(--ink-dim); font-size: 16px; }
.lh-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lh-mode { display: flex; align-items: center; gap: 18px; padding: 20px 24px; }
.lh-mode img { width: 56px; height: 56px; flex: 0 0 56px; }
.lh-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lh-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lh-view { margin: 0; }
.lh-view figcaption { padding-top: 16px; }

/* Three ways in, as equals: Infinite Flight, real flights and VATSIM, each in its own colour. */
.lh-sky { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.lh-sky .lh-shot { transition: transform 0.18s ease, border-color 0.18s ease; }
.lh-sky:hover .lh-shot, .lh-sky:focus-visible .lh-shot { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.7); }
.lh-sky__text { display: flex; flex: 1; flex-direction: column; padding-top: 16px; }
.lh-sky h3 { font-size: 26px; }
.lh-sky--if h3 { color: var(--orange); }
.lh-sky--real h3 { color: var(--sky); }
.lh-sky--vatsim h3 { color: var(--lime); }
.lh-sky__go { margin-top: auto; padding-top: 12px; color: var(--ink); font-size: 15px; font-weight: 800; }
.lh-sky__go::after { content: " \2192"; }
.lh-sky:hover .lh-sky__go { text-decoration: underline; text-underline-offset: 0.2em; }

/* Plans */
.lh-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lh-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 30px 28px; }
.lh-plan h3 { font-size: 30px; font-weight: 800; }
.lh-plan--first { border-color: rgba(255, 216, 74, 0.55); box-shadow: 0 0 40px rgba(255, 216, 74, 0.12); }
.lh-plan--first h3 { color: var(--yellow); }
.lh-plan__badge { position: absolute; top: 26px; right: 26px; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: #1a1400; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.lh-plan__price { margin-top: 8px; color: var(--ink-dim); font-size: 17px; }
.lh-plan__price b { color: var(--ink); font-size: 44px; font-weight: 800; letter-spacing: -0.01em; }
.lh-plan__alt { color: var(--ink-dim); font-size: 15px; }
.lh-plan ul { margin: 16px 0 24px; padding: 0; list-style: none; }
.lh-plan li { position: relative; padding: 6px 0 6px 28px; color: var(--ink-body); font-size: 16px; }
.lh-plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border: solid var(--lime); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.lh-plan .lh-btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.lh-faq-grid { display: grid !important; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
/* FAQ: the pricing page's question stack (pricing/pricing_page_inline.css .pricing-faq-*): a flat translucent card
   that turns warm gold when open, gold Q numbers, a gold chevron that turns over, a hairline above the answer. */
.lh-faq { display: flex; flex-direction: column; gap: 10px; counter-reset: lh-faq; }
.lh-faq details { padding: 0 24px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.025) 100%); counter-increment: lh-faq; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.lh-faq details[open] { border-color: rgba(255, 214, 144, 0.26); background: linear-gradient(180deg, rgba(255, 221, 163, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2); }
.lh-faq summary { display: flex; align-items: center; gap: 10px; padding: 20px 0; color: #fffdf8; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; user-select: none; }
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::before { content: "Q" counter(lh-faq) "."; flex: 0 0 auto; color: rgba(255, 214, 144, 0.9); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; }
.lh-faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin: 0 6px 0 auto; border: solid rgba(255, 214, 144, 0.95); border-width: 0 2.6px 2.6px 0; border-radius: 1px; transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease, border-color 0.2s ease; }
.lh-faq details[open] summary::after { border-color: #ffe2a4; transform: translateY(3px) rotate(225deg); }
.lh-faq details p { padding: 14px 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.6; }

/* Boarding: the intro's closing seatbelt sign and sign-in buttons. */
.lh-board { padding-bottom: clamp(72px, 10vw, 128px); }
.lh-board__in { align-items: center; text-align: center; }
.lh-board .lh-cta { justify-content: center; margin-top: 8px; }
.lh-seatbelt { position: relative; width: min(300px, 76%); margin-bottom: 8px; padding: 0; border: 0; background: none; cursor: pointer; }
.lh-seatbelt img { width: 100%; }
.lh-seatbelt .is-on { position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s ease; }
.lh-seatbelt[aria-pressed="true"] .is-on { opacity: 1; filter: drop-shadow(0 0 18px rgba(255, 216, 74, 0.5)); }

/* Footer */
.lh-footer { padding: 40px 0 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: var(--night); }
.lh-footer__in { display: grid; gap: 18px; }
.lh-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lh-footer__links a { color: var(--ink-dim); font-size: 14px; text-decoration: none; }
.lh-footer__links a:hover { color: var(--ink); }
.lh-footer__legal a { color: rgba(203, 232, 255, 0.6); }
.lh-footnote { color: rgba(203, 232, 255, 0.55); font-size: 13px; font-weight: 500; }

/* Sticky button on phones once the hero button has scrolled away (js/landing_page.js). */
.la-sticky { display: none; }

@media (max-width: 960px) {
  .lh-header__in { gap: 18px; }
  .lh-nav { gap: 16px; }
  .lh-hero__grid { grid-template-columns: 1fr; }
  .lh-hero__shot { justify-self: center; width: min(100%, 560px); }
  .lh-hero::after { background: linear-gradient(180deg, rgba(5, 10, 20, 0.7) 0%, rgba(5, 10, 20, 0.55) 60%, var(--night) 100%); }
  .lh-steps { grid-template-columns: 1fr; }
  .lh-steps li + li { border-left: 0; border-top: 1px solid var(--glass-line); }
  .lh-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lh-wrap { width: min(1120px, 100% - 32px); }
  .lh-nav { display: none; }
  .lh-header__in { justify-content: space-between; height: 58px; }
  .lh-hero { padding-top: 36px; background-image: url("/images/landing/space-800.webp"); }
  .lh-overline { font-size: 11px; margin-bottom: 12px; }
  .lh-cta .lh-btn { flex: 1 1 100%; }
  .lh-modes, .lh-views, .lh-pair, .lh-plans { grid-template-columns: 1fr; }
  .lh-intro::before { background-image: url("/images/landing/space-800.webp"); }
  .la-sticky { position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; display: block; opacity: 0; transform: translateY(120%); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; }
  .la-sticky.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .la-sticky .lh-btn { width: 100%; }
}
@media (max-width: 380px) {
  .lh-brand span { font-size: 16px; }
  .lh-btn--sm { padding: 0 14px; }
  .lh-steps li { padding: 22px 20px 22px 74px; }
  .lh-plan { padding: 26px 22px 24px; }
  .lh-plan__badge { top: 22px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lh-btn, .lh-sky .lh-shot, .lh-seatbelt .is-on, .lh-faq summary::after, .la-sticky { transition: none; }
}
