/* FlightDesk — static site stylesheet */

:root {
  --white: #ffffff;
  --gray-50: #f7f8f9;
  --gray-100: #eef0f2;
  --gray-200: #dde1e6;
  --gray-400: #9aa3ae;
  --gray-500: #6b7685;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --navy: #0c1a2e;
  --navy-mid: #162540;
  --blue: #1d4e89;
  --blue-light: #2563ab;
  --text-primary: #0c1a2e;
  --text-secondary: #4b5563;
  --text-muted: #6b7685;
  --border: #dde1e6;
  --page-bg: #f7f8f9;
  --card-bg: #ffffff;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Typography ── */

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

h2:first-child {
  margin-top: 0;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
  padding: 3.5rem 0 5rem;
}

/* ── Navigation ── */

.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-cta {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
}

/* ── Mobile nav ── */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gray-600);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }
}

/* ── Hero (home page) ── */

.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* ── Page header (inner pages) ── */

.page-header {
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0;
}

/* ── Content sections ── */

.content-section {
  margin-bottom: 0.25rem;
}

.content-section p,
.content-section ul {
  color: var(--text-secondary);
}

.bullet-list {
  margin: 0.5rem 0 1rem 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
}

/* ── Capability grid (home) ── */

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
  margin: 0.75rem 0 1.5rem;
}

.capability-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.capability-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
}

@media (max-width: 480px) {
  .capability-list {
    grid-template-columns: 1fr;
  }
}

/* ── Info block (policy callouts) ── */

.info-block {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}

.info-block p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-block p:last-child {
  margin-bottom: 0;
}

/* ── Contact block ── */

.contact-block {
  margin-top: 1.25rem;
}

.contact-block .email-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-light);
  margin-top: 0.25rem;
}

/* ── Divider ── */

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ── Footer ── */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: auto;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--navy);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 0;
}
