/* ============================================================
   seo.css — shared styles for SEO / guide pages
   Built on landing.css design tokens (Soft Structuralism).
   Loaded AFTER landing.css, so :root tokens are available.
   Brand accent: #2563EB
   ============================================================ */

body { background: var(--canvas); color: var(--ink); }

/* ---- Layout wrappers ---- */
.container { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.seo-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 132px 24px 44px;
  text-align: center;
}
.seo-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 14px; border-radius: 99px;
  margin-bottom: 22px;
}
.seo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  font-weight: 800; color: var(--ink);
  line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.seo-hero h1 em { color: var(--accent); font-style: normal; }
.seo-hero p {
  font-size: 1.06rem; color: var(--ink-2);
  max-width: 580px; margin: 0 auto 30px; line-height: 1.7;
}

/* ---- Primary CTA button (hero + inline) ---- */
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.1px;
  padding: 13px 24px; border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(37, 99, 235, 0.55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .15s;
}
.btn-hero:hover {
  background: #1D4ED8; transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(37, 99, 235, 0.6);
}

/* ============================================================
   CONTENT
   ============================================================ */
.seo-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 96px;
}
.seo-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 56px 0 16px;
}
.seo-content h3 {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
  margin: 32px 0 8px;
}
.seo-content p,
.seo-content li {
  font-size: 0.98rem; color: var(--ink-2); line-height: 1.78;
}
.seo-content strong { color: var(--ink); font-weight: 600; }
.seo-content a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.28);
  transition: border-color .15s;
}
.seo-content a:hover { border-bottom-color: var(--accent); }
.seo-content ul,
.seo-content ol { padding-left: 22px; margin: 12px 0; }
.seo-content li { margin-bottom: 8px; }
.seo-content ul li::marker { color: var(--accent); }
.seo-content ol li::marker { color: var(--ink-3); font-weight: 600; }

/* ============================================================
   COMPENSATION TABLE
   ============================================================ */
.comp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 24px 0; font-size: 0.92rem;
  border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.comp-table th {
  background: var(--accent); color: #fff;
  padding: 13px 16px; text-align: left; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.02em;
}
.comp-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--hairline);
  color: var(--ink-2);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tbody tr:nth-child(even) td { background: var(--canvas-2); }
.comp-table td strong { color: var(--accent); font-weight: 700; }

/* ============================================================
   CALLOUT BOXES
   ============================================================ */
.info-box,
.warn-box {
  border-radius: 14px; padding: 18px 20px 18px 48px;
  margin: 28px 0; position: relative; font-size: 0.92rem; line-height: 1.65;
}
.info-box::before,
.warn-box::before {
  position: absolute; left: 18px; top: 18px;
  font-size: 1rem; line-height: 1;
}
.info-box {
  background: var(--accent-soft);
  border: 1px solid #BFD4FE;
}
.info-box p { margin: 0; color: #1E40AF; }
.info-box::before { content: "ℹ"; color: var(--accent); font-weight: 700; }
.warn-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}
.warn-box p { margin: 0; color: #92400E; }
.warn-box::before { content: "⚠"; color: #D97706; }
.info-box strong, .warn-box strong { font-weight: 700; }

/* ============================================================
   STEPS (lost-baggage)
   ============================================================ */
.steps { counter-reset: steps; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: #BFD4FE; box-shadow: var(--shadow-card); }
.step-num {
  counter-increment: steps; min-width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-mono);
  font-weight: 600; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.step-body strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.step-body span { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   TACTIC CARDS (denied-boarding, airline guides)
   ============================================================ */
.tactic-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.tactic {
  background: var(--canvas); border: 1px solid var(--hairline);
  border-left: 3px solid #F87171; border-radius: 12px; padding: 16px 18px;
}
.tactic strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.tactic span { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }
.tactic .counter {
  display: block; margin-top: 8px; font-size: 0.85rem; color: #047857; font-weight: 600;
}
.tactic .counter::before { content: "→ "; }

/* ============================================================
   RIGHTS GRID (cancelled-flight)
   ============================================================ */
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.rights-card {
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.rights-card:hover { border-color: #BFD4FE; box-shadow: var(--shadow-card); }
.rights-card h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 10px;
}
.rights-card p { font-size: 0.9rem; color: var(--ink-2); margin: 0; line-height: 1.6; }
@media (max-width: 560px) { .rights-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.seo-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-radius: 22px; padding: 48px 32px; text-align: center;
  margin: 64px 0 0;
}
.seo-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
}
.seo-cta h2 {
  position: relative;
  font-family: var(--font-display);
  color: #fff; font-size: 1.7rem; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.seo-cta p { position: relative; color: rgba(255,255,255,0.82); margin: 0 0 26px; font-size: 0.98rem; }
.seo-cta .btn-hero {
  position: relative;
  background: #fff; color: var(--accent);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.4);
}
.seo-cta .btn-hero:hover { background: #F3F4F6; color: #1D4ED8; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-of-type { border-top: 1px solid var(--hairline); }
.faq-btn {
  width: 100%; text-align: left; padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600; color: var(--ink);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .15s;
}
.faq-btn:hover { color: var(--accent); }
.faq-btn svg { flex-shrink: 0; color: var(--ink-3); transition: transform .25s var(--ease), color .15s; }
.faq-btn.open svg { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  font-size: 0.94rem; color: var(--ink-2); line-height: 1.75;
  padding-bottom: 18px; max-width: 660px; display: none;
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(37,99,235,0.28); }

/* ============================================================
   FOOTER — these pages have 5 children (brand + 4 link cols).
   Override landing's 6-col grid so there's no trailing empty column.
   ============================================================ */
.footer-top { grid-template-columns: 1.6fr repeat(4, 1fr); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .seo-hero { padding: 108px 20px 32px; }
  .seo-content { padding: 0 20px 72px; }
  .seo-content h2 { font-size: 1.35rem; margin: 44px 0 14px; }
  .comp-table { font-size: 0.82rem; }
  .comp-table th, .comp-table td { padding: 11px 12px; }
  .seo-cta { padding: 40px 24px; border-radius: 18px; }
  .seo-cta h2 { font-size: 1.45rem; }
}
