/* ============================================================
   Flight Delay / APPR cluster — shared styles
   Extracted verbatim from flight-delay-compensation/index.html
   page-local <style> blocks so every spoke matches the pillar.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --crimson: #D63157; --coral: #FF8852; --cream: #FFFAF0;
  --near-black: #1A1A18; --peach: #FFD4B8; --blush: #FFF0E8;
  --mid-gray: #6B6B68; --light-border: rgba(26,26,24,0.12);
  --dk-primary: #F0EEE8; --dk-secondary: #C8C4BC;
  --dk-tertiary: #9A9590; --dk-accent: #FFAA72;
}
body { font-family: 'Bricolage Grotesque', sans-serif; background: var(--cream); color: var(--near-black); line-height: 1.7; font-size: 16px; }
.page-wrapper { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }

/* Hero */
.hero { margin-bottom: 36px; padding-top: 32px; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(32px, 5.5vw, 54px); font-weight: 700; line-height: 1.06; letter-spacing: -0.025em; color: var(--near-black); margin-bottom: 16px; max-width: 600px; }
.hero-body { font-size: 18px; line-height: 1.7; color: #3A3A38; max-width: 580px; }

/* Sections */
.section { margin-bottom: 40px; }
.section h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--near-black); }
.section h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 24px 0 8px; color: var(--near-black); }
.section p { color: #3A3A38; margin-bottom: 14px; font-size: 16px; }
.section p:last-child { margin-bottom: 0; }
.section ul { margin: 0 0 14px; padding-left: 20px; color: #3A3A38; }
.section ul li { margin-bottom: 6px; line-height: 1.6; }
.divider { height: 0.5px; background: var(--light-border); margin: 56px 0; }

/* Note box */
.note-box { background: var(--blush); border: 0.5px solid var(--peach); border-radius: 10px; padding: 16px 20px; margin: 16px 0; font-size: 14px; color: #3A3A38; line-height: 1.6; }
.note-box strong { color: var(--near-black); }
.note-box p { margin: 10px 0 0; }
.note-box p:first-child { margin-top: 0; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: var(--mid-gray); margin: 18px 0 0; line-height: 1.5; }
.breadcrumb a { color: var(--mid-gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--crimson); text-decoration: underline; }
.breadcrumb span { color: var(--near-black); }

/* Compensation reference table */
.comp-ref-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 28px 0 0; border: 0.5px solid var(--light-border); border-radius: 12px; overflow: hidden; }
.comp-ref-table thead tr { background: var(--near-black); }
.comp-ref-table thead th { padding: 12px 14px; text-align: left; font-weight: 600; font-size: 11px; color: var(--dk-primary); }
.comp-ref-table thead th:first-child { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dk-tertiary); }
.comp-ref-table tbody tr { border-bottom: 0.5px solid var(--light-border); }
.comp-ref-table tbody tr:last-child { border-bottom: none; }
.comp-ref-table tbody tr.group-head td { background: rgba(26,26,24,0.04); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-gray); padding: 7px 14px; }
.comp-ref-table td { padding: 10px 14px; color: #3A3A38; }
.comp-ref-table td:first-child { color: var(--mid-gray); font-weight: 500; font-variant-numeric: tabular-nums; }
.comp-ref-table td.large-amt { font-weight: 700; color: var(--near-black); font-variant-numeric: tabular-nums; }
.comp-ref-table td.small-amt { color: var(--mid-gray); font-variant-numeric: tabular-nums; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 0; }
.category-card { border-radius: 12px; padding: 18px 16px; border: 0.5px solid var(--light-border); background: white; }
.cat-control { border-left: 3px solid #3B7D14; }
.cat-safety  { border-left: 3px solid #C0780A; }
.cat-outside { border-left: 3px solid var(--crimson); }
.cat-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; line-height: 1.3; }
.cat-control .cat-eyebrow { color: #3B7D14; }
.cat-safety  .cat-eyebrow { color: #C0780A; }
.cat-outside .cat-eyebrow { color: var(--crimson); }
.cat-title { font-size: 14px; font-weight: 600; color: var(--near-black); margin-bottom: 12px; line-height: 1.3; }
.cat-rights { display: flex; flex-direction: column; gap: 6px; }
.cat-right { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #3A3A38; line-height: 1.4; }
.cat-right-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.cat-control .cat-right-dot { background: #3B7D14; }
.cat-safety  .cat-right-dot { background: #C0780A; }
.cat-outside .cat-right-dot { background: var(--crimson); }
.cat-right.excluded { color: #BCBAB6; }
.cat-right.excluded .cat-right-dot { background: #DDDBD7; }
.cat-examples { font-size: 11px; color: var(--mid-gray); line-height: 1.5; margin-top: 10px; padding-top: 8px; border-top: 0.5px solid var(--light-border); }

/* Steps */
.steps { display: flex; flex-direction: column; margin: 24px 0; }
.step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 0.5px solid var(--light-border); align-items: flex-start; }
.step:last-child { border-bottom: none; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--near-black); color: var(--cream); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 3px; }
.step-title { font-size: 16px; font-weight: 600; color: var(--near-black); margin-bottom: 6px; }
.step-body { font-size: 14px; color: #3A3A38; line-height: 1.65; }
.step-body p { margin-bottom: 8px; }
.step-body p:last-child { margin-bottom: 0; }

/* Gotcha list */
.gotcha-list { display: flex; flex-direction: column; border: 0.5px solid var(--light-border); border-radius: 12px; overflow: hidden; margin: 12px 0 0; }
.gotcha-item { padding: 16px 18px; border-bottom: 0.5px solid var(--light-border); display: flex; gap: 14px; align-items: flex-start; }
.gotcha-item:last-child { border-bottom: none; }
.gotcha-marker { width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); flex-shrink: 0; margin-top: 7px; }
.gotcha-title { font-size: 14px; font-weight: 600; color: var(--near-black); margin-bottom: 4px; }
.gotcha-desc { font-size: 13px; color: #3A3A38; line-height: 1.55; }

/* Stat tiles */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--light-border); border: 0.5px solid var(--light-border); border-radius: 12px; overflow: hidden; margin: 24px 0; }
.stat-cell { background: var(--cream); padding: 22px 16px; text-align: center; }
.stat-num { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--crimson); display: block; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: var(--mid-gray); line-height: 1.4; }

/* FAQ list */
.faq-list { margin: 16px 0 0; }
.faq-item { padding: 18px 0; border-bottom: 0.5px solid var(--light-border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 16px; font-weight: 600; color: var(--near-black); margin-bottom: 8px; line-height: 1.4; }
.faq-a { font-size: 15px; color: #3A3A38; line-height: 1.65; }
.faq-a p { margin-bottom: 8px; }
.faq-a p:last-child { margin-bottom: 0; }

/* Cluster nav block (related articles) */
.cluster-nav { margin: 24px 0 0; }
.cluster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cluster-card { display: block; background: white; border: 0.5px solid var(--light-border); border-radius: 10px; padding: 16px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cluster-card:hover { border-color: var(--coral); box-shadow: 0 4px 14px rgba(26,26,24,0.06); }
.cluster-card-title { font-size: 14px; font-weight: 700; color: var(--near-black); margin-bottom: 4px; line-height: 1.3; }
.cluster-card-sub { font-size: 12px; color: var(--mid-gray); line-height: 1.45; }
.cluster-card.hub { background: var(--near-black); border-color: transparent; }
.cluster-card.hub .cluster-card-title { color: var(--dk-primary); }
.cluster-card.hub .cluster-card-sub { color: var(--dk-tertiary); }

/* CTA block */
.cta-block { background: var(--near-black); border-radius: 16px; padding: 48px 40px; margin-top: 64px; text-align: center; }
.cta-block h2 { font-size: 28px; font-weight: 700; color: var(--dk-primary); letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.2; }
.cta-block p { font-size: 16px; color: var(--dk-secondary); max-width: 480px; margin: 0 auto 28px; line-height: 1.6; }
.cta-btn-main { display: inline-block; background: var(--coral); color: white; font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 600; padding: 14px 32px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; }
.page-footer { margin-top: 64px; padding-top: 32px; border-top: 0.5px solid var(--light-border); font-size: 11px; color: #AAA9A5; line-height: 1.7; }

html { scroll-behavior: smooth; }

@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; gap: 8px; }
  .stat-row { grid-template-columns: 1fr; gap: 0; }
  .stat-cell { border-bottom: 0.5px solid var(--light-border); }
  .stat-cell:last-child { border-bottom: none; }
  .cluster-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 36px 24px; }
  .comp-ref-table { font-size: 12px; }
  .comp-ref-table td, .comp-ref-table thead th { padding: 8px 10px; }
}

/* ++ Nav ++ */
.hp-nav { position:sticky; top:0; z-index:100; background:rgba(255,250,240,0.93); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid transparent; transition:border-color 0.3s ease; }
.hp-nav--scrolled { border-bottom-color:rgba(11,13,10,0.12); }
.hp-nav__inner { display:flex; align-items:center; justify-content:space-between; padding:20px 40px; gap:32px; transition:padding 0.35s ease; }
.hp-nav--scrolled .hp-nav__inner { padding:12px 40px; }
.hp-nav__logo { height:80px; display:block; transition:height 0.35s ease; }
.hp-nav--scrolled .hp-nav__logo { height:44px; }
.hp-nav__links { display:flex; gap:32px; align-items:center; }
.hp-nav__links a { font-family:"Bricolage Grotesque",sans-serif; font-weight:500; font-size:15px; text-decoration:none; color:#0B0D0A; transition:color .15s; }
.hp-nav__links a:hover { color:#C8102E; }
.hp-nav__burger { display:none; background:none; border:none; cursor:pointer; color:#0B0D0A; padding:4px; line-height:0; position:relative; width:30px; height:30px; align-items:center; justify-content:center; }
.hp-nav__burger .icon-burger, .hp-nav__burger .icon-close { position:absolute; transition:opacity 0.2s ease, transform 0.2s ease; }
.hp-nav__burger .icon-close { opacity:0; transform:rotate(-45deg) scale(0.8); }
.hp-nav__burger.is-open .icon-burger { opacity:0; transform:rotate(45deg) scale(0.8); }
.hp-nav__burger.is-open .icon-close { opacity:1; transform:rotate(0deg) scale(1); }
.hp-nav__mobile { display:flex; flex-direction:column; padding:0 24px; max-height:0; overflow:hidden; opacity:0; border-top:1px solid transparent; pointer-events:none; transition:max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, border-top-color 0.25s ease; }
.hp-nav__mobile.open { max-height:600px; opacity:1; padding:8px 24px 24px; border-top-color:rgba(11,13,10,0.08); pointer-events:auto; }
.hp-nav__mobile a { font-family:"Bricolage Grotesque",sans-serif; font-weight:500; font-size:17px; text-decoration:none; color:#0B0D0A; padding:13px 0; border-bottom:1px solid rgba(11,13,10,0.08); }
.hp-nav__mobile a.btn { padding:12px 24px; border-bottom:none; margin-top:16px; align-self:flex-start; }
.hp-nav__mobile a.btn--crimson { color:#FFFAF0; }
@media (max-width:760px) { .hp-nav__logo { height:60px; } .hp-nav--scrolled .hp-nav__logo { height:36px; } .hp-nav__links { display:none; } .hp-nav__cta { font-size:12px !important; padding:8px 10px !important; } .hp-nav__cta svg { display:none; } .hp-nav__burger { display:flex; } .hp-nav__inner { padding:14px 24px; gap:0; } }
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:999px; font-family:"Bricolage Grotesque",sans-serif; font-weight:600; font-size:15px; text-decoration:none; cursor:pointer; border:none; transition:background .15s; }
.btn--crimson { background:#C8102E; color:#FFFAF0; }
.btn--crimson:hover { background:#A20B23; }
.hp-nav__dropdown { position:relative; }
.hp-nav__dropdown-toggle { background:none; border:none; cursor:pointer; font-family:"Bricolage Grotesque",sans-serif; font-weight:500; font-size:15px; color:#0B0D0A; padding:0; display:flex; align-items:center; gap:5px; transition:color .15s; }
.hp-nav__dropdown-toggle:hover { color:#C8102E; }
.hp-nav__dropdown-caret { font-style:normal; font-size:10px; transition:transform .15s; line-height:1; }
.hp-nav__dropdown.open .hp-nav__dropdown-caret { transform:rotate(180deg); }
.hp-nav__dropdown-menu { position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%); background:#FFFAF0; border:1px solid rgba(11,13,10,0.1); border-radius:10px; padding:6px 0; min-width:180px; display:none; box-shadow:0 8px 24px rgba(11,13,10,0.1); z-index:200; }
.hp-nav__dropdown.open .hp-nav__dropdown-menu { display:block; }
.hp-nav__dropdown-item { display:block; padding:10px 18px; text-decoration:none; color:#0B0D0A; font-family:"Bricolage Grotesque",sans-serif; font-size:14px; font-weight:500; transition:color .15s,background .15s; white-space:nowrap; }
.hp-nav__dropdown-item:hover { color:#C8102E; background:rgba(11,13,10,0.03); }
.hp-nav__dropdown-item[aria-current="page"] { color:#C8102E; font-weight:600; }
.hp-nav__mobile-dd { border-bottom: 1px solid rgba(11,13,10,0.08); }
.hp-nav__mobile-dd-toggle { background: none; border: none; cursor: pointer; font-family: "Bricolage Grotesque", sans-serif; font-weight: 500; font-size: 17px; color: #0B0D0A; padding: 13px 0; display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; }
.hp-nav__mobile-dd-caret { font-style: normal; font-size: 11px; transition: transform 0.2s; line-height: 1; }
.hp-nav__mobile-dd.open .hp-nav__mobile-dd-caret { transform: rotate(180deg); }
.hp-nav__mobile-dd-items { max-height: 0; overflow: hidden; opacity: 0; padding-left: 12px; transition: max-height 0.3s ease, opacity 0.2s ease; }
.hp-nav__mobile-dd.open .hp-nav__mobile-dd-items { max-height: 200px; opacity: 1; }
.hp-nav__mobile-dd-items a { font-family: "Bricolage Grotesque", sans-serif; font-size: 15px; font-weight: 500; color: #0B0D0A; text-decoration: none; display: block; padding: 11px 0; border-bottom: 1px solid rgba(11,13,10,0.05); }
.hp-nav__mobile-dd-items a:last-child { border-bottom: none; }
.hp-nav__mobile-dd-items a[aria-current="page"] { color: #C8102E; font-weight: 600; }
