/* ============================================================
   Send Me Flights — Pages stylesheet
   Shared across how-it-works.html, pricing.html, faq.html.
   Matches the brand system in styles.css (brand-forward cream,
   bold type, coral/gold/blue accents, editorial illustration moments).
   ============================================================ */

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

:root {
  --cream:       #F5F0E6;
  --cream-mid:   #EDE6D8;
  --cream-warm:  #F8F2E6;
  --paper:       #FFFBF3;
  --border:      #E4DDCF;
  --border-soft: #ECE6D6;

  --ink:         #1C1C1C;
  --ink-mid:     #3C3835;
  --ink-light:   #5C5750;
  --muted:       #8A847A;

  --gold:        #E8A830;
  --gold-soft:   #F6D488;
  --coral:       #E8674A;
  --coral-soft:  #F4A48D;
  --blue:        #2B5BA8;
  --blue-soft:   #9BBDE3;
  --sky:         #C6DBEE;
  --sky-light:   #E5EEF6;
  --green:       #6DAB7B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.page-title,
.section-title,
.step-title,
.pricing-label,
.faq-snip-title,
.compare-title,
.for-card h3,
.nav-wordmark,
.footer-wordmark {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 230, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0 24px;
  transition: box-shadow 0.2s;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.nav-wordmark {
  font-size: 16px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.3px; margin-left: 10px;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--ink-light);
  text-decoration: none; letter-spacing: 0.01em; transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important; color: var(--cream) !important;
  padding: 9px 18px; border-radius: 22px;
  transition: opacity 0.15s, transform 0.1s !important;
}
.nav-cta:hover { opacity: 0.88 !important; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
}

/* ── PAGE HEADER (branded, with sun burst) ───────────── */
.page-header {
  position: relative;
  background: var(--cream-mid);
  border-bottom: 1px solid var(--border-soft);
  padding: 52px 24px 48px;
  text-align: center;
  overflow: hidden;
}
.page-header::before { display: none; }
.page-header::after { display: none; }
.page-header-inner {
  position: relative; z-index: 2;
  max-width: 680px; margin: 0 auto;
}
.page-kicker { display: none; }
.page-kicker-line { display: none; }
.page-title {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.04;
  color: var(--ink); margin-bottom: 18px;
}
.page-title .accent-coral { color: var(--coral); }
.page-title .accent-blue { color: var(--blue); }
.page-title .accent-gold { color: var(--gold); }
.page-sub {
  font-size: 18px; color: var(--ink-mid); line-height: 1.65;
  max-width: 540px; margin: 0 auto;
}

/* Ticket pill (for page headers) */
.ticket-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 7px 16px 7px 8px;
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.ticket-pill-chip {
  background: var(--ink); color: var(--cream);
  padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
}
.ticket-pill-arrow { color: var(--coral); font-weight: 900; }

/* ── SECTIONS ─────────────────────────────────────────── */
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mid);
  margin-bottom: 14px;
}
.kicker-line {
  display: inline-block; width: 22px; height: 2px; background: var(--coral);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  letter-spacing: -1.2px; line-height: 1.08; color: var(--ink);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px; color: var(--ink-mid); line-height: 1.65; max-width: 560px;
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--cream-mid);
  border-top: 1px solid var(--border-soft);
  padding: 36px 24px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; }
.footer-wordmark {
  font-size: 15px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.3px; margin-left: 10px;
}
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: var(--ink-light); text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-size: 12px; color: var(--muted); width: 100%;
}

/* ── CTA (shared) ─────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: 88px 24px;
  text-align: center;
  background: var(--cream-warm);
  border-top: 1px solid var(--border-soft);
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--coral); opacity: 0.10;
  left: -140px; top: -60px;
}
.cta-band-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-form {
  display: flex; gap: 10px; max-width: 480px; width: 100%;
  margin: 26px auto 12px;
}
.cta-input {
  flex: 1; padding: 14px 18px;
  font-size: 15px; font-family: inherit;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  outline: none; color: var(--ink);
  transition: border-color 0.15s;
}
.cta-input:focus { border-color: var(--ink); }
.cta-btn {
  padding: 14px 24px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  background: var(--ink); color: var(--cream);
  border: none; border-radius: 100px;
  cursor: pointer; white-space: nowrap;
  letter-spacing: 0.02em;
  transition: transform 0.1s, opacity 0.15s;
}
.cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cta-caption {
  font-size: 12px; color: var(--muted); letter-spacing: 0.02em;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 820px) {
  nav { padding: 0 16px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: auto;
    width: 220px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: 0 0 16px 16px;
    box-shadow: 4px 4px 0 var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 200;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-links a {
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-soft);
    display: block;
    width: 100%;
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-cta {
    margin: 8px 12px 10px !important;
    text-align: center;
    padding: 11px 18px !important;
    border-radius: 10px !important;
    display: block;
  }

  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  .cta-form { flex-direction: column; }
  .cta-btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
