/* SimpliFlight — brand-family site. Dark theme; blue accent for the pilot app,
   deeper navy accent for the Fleet management platform. Self-contained. */
:root {
  --bg: #101317;
  --surface: #1b2027;
  --surface-elevated: #242b35;
  --accent: #2a6fe3;        /* SimpliFlight blue */
  --navy: #4677b8;          /* Fleet accent */
  --navy-deep: #1c3a63;
  --steel: #8c949e;
  --business: #4db873;
  --error: #e65250;
  --text: #edf0f2;
  --text-2: #a8adb5;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 880px; margin: 0 auto; padding: 0 24px 64px; }

a { color: var(--accent); }

/* ---- header ---- */
header.site {
  display: flex; align-items: center; gap: 12px;
  max-width: 880px; margin: 0 auto; padding: 20px 24px;
}
header.site img { width: 40px; height: 40px; border-radius: 9px; }
header.site .brand { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
header.site .brand span { color: var(--accent); }
header.site .brand em { color: var(--text-2); font-weight: 600; font-style: italic; }
header.site nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; }
header.site nav a:hover { color: var(--text); }

/* ---- hero ---- */
.hero { text-align: center; padding: 56px 0 32px; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.hero h1 { font-size: 2.4rem; margin: 20px 0 6px; letter-spacing: -0.01em; line-height: 1.15; }
.hero h1 span { color: var(--accent); }
.hero h1 em { font-style: italic; }
.hero p.tagline { color: var(--text-2); font-size: 1.15rem; max-width: 36em; margin: 0 auto; }
.hero .cta-row { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .badge,
.badge {
  display: inline-block; padding: 12px 26px;
  background: var(--accent); color: #eef3fc; font-weight: 700; border-radius: 12px;
  text-decoration: none; font-size: 1rem;
}
.badge.navy { background: var(--navy-deep); color: #eef3fc; }
.badge.soon, .badge.ghost {
  background: var(--surface-elevated); color: var(--text-2); font-weight: 600;
}

/* ---- sections ---- */
section { margin-top: 56px; }
section h2 { font-size: 1.35rem; margin-bottom: 18px; color: var(--text); }
section h2::before { content: "\25B8\00A0"; color: var(--accent); }
section.fleet h2::before { color: var(--navy); }
section > p.lead { color: var(--text-2); font-size: 1rem; max-width: 44em; margin: -6px 0 20px; }

/* ---- two paths (landing) ---- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path {
  background: var(--surface); border-radius: 16px; padding: 28px 24px;
  border: 1px solid rgba(140, 148, 158, 0.15);
  display: flex; flex-direction: column;
}
.path.pilot { border-top: 3px solid var(--accent); }
.path.fleet { border-top: 3px solid var(--navy); }
.path .eyebrow { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.path h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.path h3 em { font-style: italic; color: var(--text-2); }
.path p { color: var(--text-2); font-size: 0.97rem; margin-bottom: 14px; }
.path ul { list-style: none; margin: 0 0 22px; padding: 0; }
.path ul li { color: var(--text-2); font-size: 0.93rem; padding: 4px 0 4px 22px; position: relative; }
.path ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--business); font-weight: 700; }
.path .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.path.fleet .badge { background: var(--navy-deep); color: #eef3fc; }

/* ---- feature grid ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  background: var(--surface); border-radius: 14px; padding: 20px;
  border: 1px solid rgba(140, 148, 158, 0.15);
}
.feature h3 { font-size: 1rem; margin-bottom: 6px; color: var(--accent); }
.features.fleet .feature h3 { color: var(--navy); }
.feature p { font-size: 0.92rem; color: var(--text-2); }

/* ---- callouts ---- */
.privacy-callout {
  background: var(--surface); border-left: 4px solid var(--business);
  border-radius: 10px; padding: 18px 20px; color: var(--text-2); font-size: 0.95rem;
}
.privacy-callout strong { color: var(--text); }
.privacy-callout em { font-style: italic; }
.callout-accent { border-left-color: var(--accent); }
.callout-navy { border-left-color: var(--navy); }

.orgtypes {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px;
}
.orgtypes span {
  background: var(--surface-elevated); color: var(--text-2);
  border-radius: 999px; padding: 7px 16px; font-size: 0.88rem;
  border: 1px solid rgba(140, 148, 158, 0.15);
}

/* ---- article (privacy / support) ---- */
article h1 { font-size: 1.9rem; margin: 40px 0 8px; }
article p.updated { color: var(--steel); font-size: 0.85rem; margin-bottom: 28px; }
article h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--accent); }
article p, article li { color: var(--text-2); font-size: 0.97rem; }
article ul { padding-left: 22px; margin: 8px 0; }
article a { color: var(--accent); }
article strong { color: var(--text); }
article em { font-style: italic; }

.faq dt { font-weight: 600; color: var(--text); margin-top: 22px; }
.faq dd { color: var(--text-2); margin: 6px 0 0; font-size: 0.95rem; }

/* ---- 404 ---- */
.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { font-size: 4rem; color: var(--accent); margin-bottom: 8px; }
.notfound p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 24px; }

/* ---- footer ---- */
footer {
  border-top: 1px solid rgba(140, 148, 158, 0.18);
  margin-top: 72px; padding: 28px 24px; text-align: center;
  color: var(--steel); font-size: 0.85rem;
}
footer a { color: var(--text-2); text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--text); }

/* ---- responsive ---- */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .paths { grid-template-columns: 1fr; }
  header.site { flex-wrap: wrap; }
  header.site nav { width: 100%; margin-left: 0; margin-top: 6px; }
}
