/* WingsLevel marketing site. No external fonts or frameworks: fast, private, works anywhere. */
:root {
  /* Light theme: white page, black text, orange for actions and highlights, green for links/ticks. */
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --line: #e2e5ea;
  --text: #111111;
  --text-2: #2b2f36;
  --muted: #5f6673;
  --orange: #f57c00;
  --orange-hover: #ef6c00;
  --orange-text: #c2410c;
  --orange-soft: #fff4e5;
  --green: #15803d;
  --green-bright: #16a34a;
  --good: #15803d;
  --bad: #5f6673;
  --radius: 14px;
  --wrap: 1140px;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.accent { color: var(--orange-text); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 650; cursor: pointer;
  text-decoration: none !important; transition: transform .12s, background .12s, border-color .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--text); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: #cfd4db; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }

/* ---------------------------------------------------------------- Nav */
.nav {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.brand b { color: var(--orange); font-weight: 800; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; gap: 10px; }
@media (max-width: 820px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }
.nav-actions .btn { white-space: nowrap; }
@media (max-width: 400px) {
  .nav-inner { gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { padding: 0 11px; font-size: 14px; }
}
@media (max-width: 359px) { .nav .brand span { display: none; } }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Hero */
.hero {
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(245, 124, 0, .10), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(22, 163, 74, .08), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.eyebrow { color: var(--green); font-weight: 650; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-app { margin: -8px 0 18px; color: var(--muted); font-size: 15px; }
.hero-app a { font-weight: 650; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.hero-points li::before { content: '✓'; color: var(--good); margin-right: 8px; font-weight: 800; }
.hero-visual { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { order: -1; }
}

/* Phone frame */
.phone {
  position: relative; width: min(300px, 78vw); padding: 10px; border-radius: 40px;
  background: linear-gradient(145deg, #f4f5f7, #d8dce2); box-shadow: 0 24px 60px rgba(60, 70, 85, .18), inset 0 0 0 1px #c9ced6;
}
.phone img { border-radius: 30px; width: 100%; }
.phone-tilt { transform: perspective(1200px) rotateY(-12deg) rotateX(4deg); margin: 0; }
.phone-landscape { width: min(720px, 100%); padding: 10px; border-radius: 34px; }
.phone-landscape img { border-radius: 24px; }

/* ---------------------------------------------------------------- Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 22px 0; text-align: center; }
.strip b { display: block; font-size: 1.35rem; color: var(--orange-text); }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } .strip-inner > :last-child { grid-column: span 2; } }

/* ---------------------------------------------------------------- Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 42em; margin-bottom: 40px; }
.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 1px 2px rgba(60, 70, 85, .06);
}
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--orange-soft); border: 1px solid #f7c88a;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--orange-hover); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon svg .fill { fill: var(--orange-hover); }

/* GPS-aided explainer */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split p { color: var(--text-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.compare-head { border-top: 0; background: var(--surface-2); font-weight: 700; font-size: 14px; color: var(--muted); }
.compare-head span:last-child { color: var(--orange-text); }
.good { color: var(--good); font-weight: 650; }
.bad { color: var(--bad); }
.compare-note { color: var(--muted); font-size: 13px; padding: 12px 18px 16px; margin: 0; border-top: 1px solid var(--line); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; justify-items: center; }
.gallery figure, .landscape { margin: 0; text-align: center; }
.gallery .phone { width: 100%; max-width: 250px; padding: 8px; border-radius: 32px; }
.gallery .phone img { border-radius: 25px; }
figcaption { color: var(--muted); font-size: 15px; margin-top: 14px; }
.landscape { margin-top: 48px; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); color: var(--text); font-weight: 800; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.requirements { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.requirements ul { margin: 0; padding-left: 20px; color: var(--text-2); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 650; list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 22px; top: 14px; font-size: 22px; color: var(--orange-hover); }
details[open] summary::after { content: '−'; }
details p { padding: 0 22px 18px; margin: 0; color: var(--text-2); }

/* Safety + footer */
.safety { background: var(--orange-soft); border-block: 1px solid #f7c88a; }
.safety p { margin: 0; padding: 22px 0; color: var(--text); font-size: 15px; }
.safety b { color: var(--orange-text); }
.footer { padding: 36px 0 48px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer nav a { color: var(--muted); font-size: 15px; }
.brand-footer { font-size: 17px; }
.copy { color: var(--muted); font-size: 14px; margin: 0; width: 100%; }

/* Quickstart page */
.qs-hero { padding: 72px 0 56px; }
.qs-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.qs-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.qs-platforms { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .qs-platforms { grid-template-columns: 1fr; } }
.qs-card { scroll-margin-top: 90px; }
.qs-list { margin: 0 0 16px; padding-left: 22px; color: var(--text-2); }
.qs-list li { margin-bottom: 10px; }
.qs-note { font-size: 14px !important; }
.qs-fly { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .qs-fly { grid-template-columns: 1fr; } }
.qs-green { color: var(--good); }
.nav-links a[aria-current="page"] { color: var(--text); }
.qs-more { color: var(--text-2); margin: 32px 0 0; }
.qs-next { margin: 36px 0 0; display: flex; align-items: center; gap: 14px; font-weight: 650; }
#install, #prepare, #fly { scroll-margin-top: 70px; }

/* Legal page */
.page { padding: 56px 0 80px; }
.page h2 { margin-top: 1.6em; font-size: 1.5rem; }
.page p, .page li { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .phone-tilt { transition: none; transform: none; }
}
