/* FlightAssist — Shared Static Pages CSS
   Design: Command Center dark aviation HUD
   Fonts: Space Grotesk (headings), Inter (body)
   Color system: OKLCH dark palette matching React app
*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:        oklch(0.11 0.02 240);
  --bg-card:   oklch(0.14 0.025 240);
  --bg-hero:   oklch(0.15 0.035 240);
  --bg-footer: oklch(0.09 0.015 240);
  --bg-disc:   oklch(0.08 0.014 240);
  --accent:    oklch(0.55 0.22 260);
  --accent-glow: oklch(0.55 0.22 260 / 30%);
  --text:      oklch(0.96 0.005 240);
  --text2:     oklch(0.82 0.008 240);
  --text3:     oklch(0.58 0.015 240);
  --text4:     oklch(0.42 0.012 240);
  --text5:     oklch(0.36 0.01 240);
  --border:    oklch(1 0 0 / 8%);
  --border2:   oklch(1 0 0 / 12%);
  --border3:   oklch(1 0 0 / 6%);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius:    1rem;
  --container: 1100px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: oklch(0.11 0.02 240 / 92%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 3rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 1.5rem; height: 1.5rem;
  border-radius: .375rem;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: .875rem; height: .875rem; color: white; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  color: oklch(0.94 0.005 240);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}
.nav-links a {
  font-size: .75rem;
  color: var(--text3);
  text-decoration: none;
  transition: color .2s;
  font-family: var(--font-body);
}
.nav-links a:hover, .nav-links a.active { color: var(--text2); }
@media(max-width:640px){ .nav-links { display: none; } }

/* ── Page hero ── */
.page-hero {
  padding-top: 3rem;
  background: linear-gradient(180deg, var(--bg-hero) 0%, var(--bg) 100%);
}
.page-hero-inner {
  padding: 3.5rem 1.5rem;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: oklch(0.96 0.005 240);
  margin-bottom: .75rem;
}
.page-hero .subtitle {
  font-size: .875rem;
  color: var(--text3);
  max-width: 36rem;
  margin: 0 auto;
}
.page-hero .date-tag {
  font-size: .8rem;
  color: oklch(0.55 0.015 240);
  margin-bottom: .25rem;
}

/* ── Content area ── */
.page-content {
  padding: 3rem 1.5rem 4rem;
}
.cards-stack {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: oklch(0.88 0.005 240);
  margin-bottom: 1rem;
}
.card-body {
  font-size: .875rem;
  line-height: 1.7;
  color: oklch(0.62 0.015 240);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.card-body p { margin: 0; }
.card-body strong { color: oklch(0.82 0.008 240); }

/* ── Contact form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media(max-width:768px){ .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.contact-info p { font-size: .875rem; color: var(--text4); }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .875rem;
}
.contact-detail .label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-detail .value { color: var(--text3); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label {
  font-size: .75rem;
  color: oklch(0.60 0.015 240);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .625rem .75rem;
  border-radius: .5rem;
  background: oklch(0.11 0.02 240);
  border: 1px solid var(--border2);
  color: oklch(0.88 0.005 240);
  font-family: var(--font-body);
  font-size: .875rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: oklch(0.55 0.22 260 / 60%);
}
.form-group textarea { resize: none; }
.form-group select option { background: oklch(0.14 0.025 240); }
.btn-submit {
  width: 100%;
  padding: .75rem;
  border-radius: .5rem;
  background: var(--accent);
  color: white;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: opacity .2s, transform .1s;
}
.btn-submit:hover { opacity: .9; }
.btn-submit:active { transform: scale(.98); }
.notice-box {
  background: oklch(0.13 0.02 240);
  border: 1px solid var(--border3);
  border-radius: .75rem;
  padding: 1rem;
  font-size: .75rem;
  line-height: 1.6;
  color: var(--text4);
}
.notice-box strong { color: oklch(0.50 0.01 240); }

/* ── Footer ── */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-footer);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media(min-width:768px){
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.footer-logo-icon {
  width: 1.25rem; height: 1.25rem;
  border-radius: .25rem;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-logo-icon svg { width: .75rem; height: .75rem; color: white; }
.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  color: oklch(0.75 0.005 240);
}
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}
.footer-links-row a {
  font-size: .75rem;
  color: var(--text4);
  text-decoration: none;
  transition: opacity .2s;
}
.footer-links-row a:hover { opacity: .8; }
.footer-copy {
  font-size: .75rem;
  color: oklch(0.32 0.008 240);
  white-space: nowrap;
}

/* ── Disclaimer bar ── */
.disclaimer-bar {
  border-top: 1px solid var(--border3);
  background: var(--bg-disc);
  padding: 1.25rem 1.5rem;
}
.disclaimer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.disclaimer-text {
  font-size: .72rem;
  line-height: 1.6;
  color: oklch(0.36 0.01 240);
  margin-bottom: .5rem;
}
.disclaimer-text strong { color: oklch(0.48 0.01 240); }
.disclaimer-copy { font-size: .7rem; color: oklch(0.32 0.008 240); }

/* ── 404 ── */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.not-found .code {
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.not-found h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.not-found p { font-size: .9rem; color: var(--text3); }
.not-found a {
  display: inline-block;
  margin-top: .5rem;
  padding: .625rem 1.5rem;
  border-radius: .5rem;
  background: var(--accent);
  color: white;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: opacity .2s;
}
.not-found a:hover { opacity: .9; }

/* ── GTM noscript ── */
.gtm-noscript { display: none; }
