/* ============================================================
   PILOTX360 — GLOBAL STYLESHEET
   style.css
   Covers: reset, tokens, typography, layout, nav, footer,
   shared components, homepage, calculator pages, responsive.
   ============================================================ */


/* ── 1. CSS CUSTOM PROPERTIES (DESIGN TOKENS) ──────────────── */
:root {
  /* Colors */
  --white:        #ffffff;
  --off:          #f6f7f9;
  --off-2:        #eef0f4;
  --border:       #e4e8ef;

  --blue:         #1a56db;
  --blue-mid:     #2563eb;
  --blue-pale:    #eff4ff;
  --blue-dark:    #1e3a8a;

  --ink:          #0b1120;
  --ink-2:        #374151;
  --ink-3:        #6b7280;
  --ink-4:        #9ca3af;

  --green:        #059669;
  --green-pale:   #ecfdf5;
  --green-mid:    #d1fae5;

  --amber:        #d97706;
  --amber-pale:   #fffbeb;
  --amber-mid:    #fde68a;

  --orange:       #ea580c;
  --orange-pale:  #fff7ed;

  --red:          #dc2626;
  --red-pale:     #fef2f2;
  --red-mid:      #fecaca;

  --purple:       #7c3aed;
  --purple-pale:  #f5f3ff;

  --teal:         #0891b2;
  --teal-pale:    #ecfeff;

  /* Spacing & Shape */
  --radius:       10px;
  --radius-lg:    14px;
  --radius-xl:    18px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

dfn {
  font-style: normal;
  font-weight: 600;
}


/* ── 3. TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

p {
  color: var(--ink-2);
  line-height: 1.75;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

em {
  font-style: normal;
}


/* ── 4. LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}


/* ── 5. ANIMATIONS & KEYFRAMES ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-up   { animation: fadeUp 0.6s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.10s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.20s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.30s ease both; }


/* ── 6. ACCESSIBILITY ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}


/* ── 7. SITE HEADER & NAV ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* ── Desktop nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > li > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 11px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}

.nav-links > li > a:hover {
  background: var(--off);
  color: var(--ink);
}

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

/* Chevron icon inside category triggers */
.nav-item > a .nav-chevron,
.nav-item > button .nav-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.22s;
}

.nav-item.is-open > a .nav-chevron,
.nav-item.is-open > button .nav-chevron,
.nav-item > a[aria-expanded="true"] .nav-chevron,
.nav-item > button[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ── Desktop dropdown panel ── */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}

/* JS-driven open state */
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Right-align last two dropdowns so they don't overflow viewport */
.nav-item:nth-last-child(-n+2) .nav-dropdown {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}

.nav-item:nth-last-child(-n+2).is-open .nav-dropdown {
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
}

.nav-dropdown a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.nav-dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Dropdown header row (category label + see all link) */
.nav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
}

.nav-dropdown-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.nav-dropdown-see-all {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap 0.15s;
  letter-spacing: 0.02em;
}

.nav-dropdown-see-all:hover {
  color: var(--blue-dark);
}

/* Tool name + description text block */
.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-dropdown-text strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  line-height: 1.3;
}

.nav-dropdown-text span {
  font-size: 0.72rem;
  color: var(--ink-4);
  font-weight: 400;
  line-height: 1.3;
}

.nav-dropdown a:hover .nav-dropdown-text strong {
  color: var(--blue);
}

.nav-dropdown a:hover .nav-dropdown-text span {
  color: var(--blue-mid);
  opacity: 0.75;
}

/* 2-column dropdown for larger categories (Performance has 6 tools) */
.nav-dropdown--wide {
  min-width: 420px;
}

.nav-dropdown--wide .nav-dropdown-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Active tool in dropdown */
.nav-dropdown a.active .nav-dropdown-text strong {
  color: var(--blue);
}

/* Mobile section label */
.nav-mobile-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 10px 10px 4px;
}

.nav-mobile-section a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background 0.15s;
}

.nav-mobile-section a:hover,
.nav-mobile-section a.active {
  background: var(--blue-pale);
  color: var(--blue);
}

.nav-mobile-section + .nav-mobile-section {
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 4px;
}

/* ── Mobile hamburger button ── */
.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
}

.nav-mobile-toggle:hover {
  background: var(--off);
  border-color: var(--ink-4);
}

/* ── Mobile full-screen menu panel ── */
.nav-mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 8px 0 16px;
  /* No position needed - sits in normal document flow below header */
}

.nav-mobile-menu.is-open {
  display: block;
}

/* Home link */
.nav-mobile-home {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.nav-mobile-home:hover,
.nav-mobile-home.active {
  background: var(--blue-pale);
  color: var(--blue);
}

/* Accordion category section */
.nav-mobile-category {
  border-bottom: 1px solid var(--border);
}

/* Category accordion toggle button */
.nav-mobile-category-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  min-height: 52px;
}

.nav-mobile-category-toggle:hover {
  background: var(--off);
}

.nav-mobile-category-toggle.is-open {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-mobile-category-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mobile-category-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-4);
  background: var(--off-2);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.nav-mobile-category-toggle .nav-chevron {
  width: 16px;
  height: 16px;
  color: var(--ink-4);
  flex-shrink: 0;
  transition: transform 0.22s;
}

.nav-mobile-category-toggle.is-open .nav-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

/* Tool links inside accordion */
.nav-mobile-tools {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--off);
}

.nav-mobile-tools.is-open {
  max-height: 800px;
}

.nav-mobile-tool-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 28px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  border-top: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
  min-height: 48px;
}

.nav-mobile-tool-link:first-child {
  border-top: none;
}

.nav-mobile-tool-link:hover,
.nav-mobile-tool-link.active {
  background: var(--blue-pale);
  color: var(--blue);
}

.nav-mobile-tool-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.nav-mobile-tool-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
}

.nav-mobile-tool-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-4);
  line-height: 1.3;
  margin-top: 1px;
}

.nav-mobile-section {
  margin-bottom: 16px;
}

.nav-mobile-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 8px 8px 4px;
}

.nav-mobile-section a {
  display: block;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background 0.15s;
}

.nav-mobile-section a:hover {
  background: var(--off);
  color: var(--ink);
}


/* ── 8. BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--off);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.breadcrumb-list a {
  color: var(--blue);
  transition: color 0.15s;
}

.breadcrumb-list a:hover {
  color: var(--blue-dark);
}

.breadcrumb-sep {
  color: var(--ink-4);
}

.breadcrumb-current {
  color: var(--ink-2);
  font-weight: 500;
}


/* ── 9. SHARED SECTION COMPONENTS ──────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.75;
}


/* ── 10. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink-2);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--blue-dark);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}


/* ── 11. TAGS / BADGES ──────────────────────────────────────── */
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}


/* ── 12. FAQ ACCORDION ──────────────────────────────────────── */
.faq-section {
  padding: 72px 0;
  background: var(--off);
}

.faq-list {
  margin-top: 44px;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--off-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: all 0.22s;
  font-size: 1.2rem;
  font-weight: 300;
}

.faq-item.open .faq-toggle {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.8;
  padding-bottom: 22px;
  max-width: 720px;
}

.faq-answer-inner p {
  margin-bottom: 10px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}


/* ── 13. HOMEPAGE — HERO ────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(8,145,178,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26,86,219,0.15);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: float 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 500;
}

.trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}


/* ── 14. HOMEPAGE — FEATURED TOOLS GRID ─────────────────────── */
.featured {
  padding: 80px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.tool-card {
  position: relative;
  padding: 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.22s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.tool-card:hover .tool-arrow {
  transform: translate(3px, -3px);
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tool-arrow {
  color: var(--ink-4);
  transition: transform 0.22s;
  margin-top: 2px;
  flex-shrink: 0;
}

.tool-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tool-card p {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}


/* ── 15. HOMEPAGE — ALL TOOLS LIST ──────────────────────────── */
.all-tools {
  padding: 0 0 80px;
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 44px;
}

.tools-list-item {
  background: var(--white);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.18s;
}

.tools-list-item:hover {
  background: var(--blue-pale);
}

.tools-list-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tools-list-text {
  flex: 1;
  min-width: 0;
}

.tools-list-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.tools-list-text span {
  font-size: 0.78rem;
  color: var(--ink-3);
}

.tools-list-arrow {
  color: var(--ink-4);
  flex-shrink: 0;
}


/* ── 16. HOMEPAGE — EXPLAINER (TOPICAL DEPTH) ───────────────── */
.explainer {
  padding: 80px 0;
  background: var(--off);
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.explainer-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.explainer-block p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.explainer-block ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.explainer-block li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.explainer-block li::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}


/* ── 17. HOMEPAGE — PHASES OF FLIGHT ────────────────────────── */
.phases {
  padding: 80px 0;
}

.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.phase-card {
  padding: 22px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--white);
}

.phase-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.phase-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.phase-card p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 12px;
}

.phase-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phase-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.18s;
}

.phase-link:hover {
  gap: 8px;
}


/* ── 18. HOMEPAGE — AUDIENCE ────────────────────────────────── */
.audience {
  padding: 80px 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.audience-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
}

.audience-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.87rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 14px;
}

.audience-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}


/* ── 19. HOMEPAGE — CTA BANNER ──────────────────────────────── */
.cta-banner {
  margin: 0 0 80px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1a56db 60%, #0891b2 100%);
  border-radius: 20px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 480px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-top: 8px;
}


/* ── 20. INNER PAGE HERO ────────────────────────────────────── */
.page-hero {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
}

.page-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}

.page-hero-lead {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.75;
}


/* ── 21. CALCULATOR CARD ────────────────────────────────────── */
.calc-section {
  padding: 48px 0;
}

.calc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calc-card-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--off);
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-card-header-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.calc-card-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.calc-card-header p {
  font-size: 0.78rem;
  color: var(--ink-3);
}

.calc-body {
  display: grid;
  grid-template-columns: 360px 1fr;
}


/* ── 22. CALCULATOR — INPUTS PANEL ─────────────────────────── */
.inputs-panel {
  padding: 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-hint {
  font-size: 0.7rem;
  color: var(--ink-4);
  font-weight: 400;
}

.input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.input-field {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -moz-appearance: textfield;
  appearance: textfield;
}

.input-field::-webkit-inner-spin-button,
.input-field::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.input-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.10);
}

.input-field.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.input-unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-4);
  white-space: nowrap;
  min-width: 30px;
  text-align: right;
}

.input-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.input-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.input-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid #fff;
}

.input-select {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color 0.18s;
}

.input-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.10);
}

.input-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.input-toggle-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

.input-toggle-row span {
  font-size: 0.82rem;
  color: var(--ink-2);
  font-weight: 500;
}

.input-divider {
  height: 1px;
  background: var(--border);
}

.calc-btn {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  letter-spacing: 0.01em;
}

.calc-btn:hover {
  background: var(--blue-dark);
}

.calc-btn:active {
  transform: scale(0.98);
}


/* ── 23. CALCULATOR — RESULTS PANEL ─────────────────────────── */
.results-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.diagram-wrap {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-box {
  padding: 16px;
  border-radius: 11px;
  border: 1.5px solid;
}

.result-box-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.result-box-value {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.result-box-sub {
  font-size: 0.72rem;
  font-weight: 500;
}

/* Result box color variants */
.result-blue   { background: var(--blue-pale);   border-color: rgba(26,86,219,0.2); }
.result-blue   .result-box-label { color: var(--blue); }
.result-blue   .result-box-value { color: var(--blue); }
.result-blue   .result-box-sub   { color: rgba(26,86,219,0.55); }

.result-green  { background: var(--green-pale);  border-color: rgba(5,150,105,0.2); }
.result-green  .result-box-label { color: var(--green); }
.result-green  .result-box-value { color: var(--green); }
.result-green  .result-box-sub   { color: rgba(5,150,105,0.55); }

.result-amber  { background: var(--amber-pale);  border-color: rgba(217,119,6,0.2); }
.result-amber  .result-box-label { color: var(--amber); }
.result-amber  .result-box-value { color: var(--amber); }
.result-amber  .result-box-sub   { color: rgba(217,119,6,0.55); }

.result-red    { background: var(--red-pale);    border-color: rgba(220,38,38,0.2); }
.result-red    .result-box-label { color: var(--red); }
.result-red    .result-box-value { color: var(--red); }
.result-red    .result-box-sub   { color: rgba(220,38,38,0.55); }

.result-neutral { background: var(--off); border-color: var(--border); }
.result-neutral .result-box-label { color: var(--ink-3); }
.result-neutral .result-box-value { color: var(--ink-2); font-size: 1.6rem; }
.result-neutral .result-box-sub   { color: var(--ink-4); }

/* Assessment bar */
.assessment {
  border-radius: 11px;
  padding: 14px 16px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  gap: 12px;
}

.assessment-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.assessment-text {
  font-size: 0.875rem;
  font-weight: 600;
  flex: 1;
}

.assessment-sub {
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 2px;
  color: var(--ink-3);
}

.assessment-calm      { background: var(--green-pale);  border-color: rgba(5,150,105,0.2);  }
.assessment-calm      .assessment-dot  { background: var(--green); }
.assessment-calm      .assessment-text { color: var(--green); }

.assessment-moderate  { background: #f0fdf4;            border-color: rgba(5,150,105,0.15); }
.assessment-moderate  .assessment-dot  { background: #16a34a; }
.assessment-moderate  .assessment-text { color: #15803d; }

.assessment-strong    { background: var(--amber-pale);  border-color: rgba(217,119,6,0.2);  }
.assessment-strong    .assessment-dot  { background: var(--amber); }
.assessment-strong    .assessment-text { color: var(--amber); }

.assessment-near-limit { background: var(--orange-pale); border-color: rgba(234,88,12,0.2); }
.assessment-near-limit .assessment-dot  { background: var(--orange); }
.assessment-near-limit .assessment-text { color: var(--orange); }

.assessment-exceeded  { background: var(--red-pale);    border-color: rgba(220,38,38,0.2);  }
.assessment-exceeded  .assessment-dot  { background: var(--red); }
.assessment-exceeded  .assessment-text { color: var(--red); }


/* ── 24. INNER PAGE — HOW-TO STEPS ─────────────────────────── */
.how-section {
  padding: 72px 0;
  background: var(--off);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.step-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 22px;
}

.step-num {
  width: 34px;
  height: 34px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.65;
}


/* ── 25. INNER PAGE — FORMULA SECTION ───────────────────────── */
.formula-section {
  padding: 72px 0;
}

.formula-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}

.formula-box {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.formula-box h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.formula {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.formula-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.formula-var {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #93c5fd;
  min-width: 170px;
}

.formula-eq {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

.formula-expr {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 600;
}

.formula-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 18px;
  line-height: 1.65;
}

.formula-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.formula-prose p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.formula-prose ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formula-prose li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.formula-prose li::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ── 26. INNER PAGE — DATA TABLES ───────────────────────────── */
.limits-section {
  padding: 72px 0;
  background: var(--off);
}

.limits-table-wrap {
  margin-top: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.limits-table {
  width: 100%;
  border-collapse: collapse;
}

.limits-table thead {
  background: var(--ink);
}

.limits-table thead th {
  padding: 14px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.limits-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.limits-table tbody tr:last-child {
  border-bottom: none;
}

.limits-table tbody tr:hover {
  background: var(--blue-pale);
}

.limits-table tbody td {
  padding: 13px 20px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.limits-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.limits-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.limits-badge-low  { background: var(--green-mid); color: #065f46; }
.limits-badge-mid  { background: var(--amber-mid); color: #78350f; }
.limits-badge-high { background: var(--off-2);     color: var(--ink-2); }

.limits-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.65;
}


/* ── 27. INNER PAGE — TECHNIQUE CARDS ───────────────────────── */
.techniques-section {
  padding: 72px 0;
}

.technique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.technique-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.technique-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.technique-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.technique-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.technique-card-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.technique-card-body p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.technique-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pros, .cons {
  padding: 10px 12px;
  border-radius: 8px;
}

.pros { background: var(--green-pale); }
.cons { background: var(--red-pale); }

.pros-cons-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pros .pros-cons-label { color: var(--green); }
.cons .pros-cons-label { color: var(--red); }

.pros-cons-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pros-cons-list li {
  font-size: 0.75rem;
  color: var(--ink-2);
  line-height: 1.45;
  display: flex;
  gap: 5px;
}

.pros-cons-list li::before { flex-shrink: 0; font-weight: 700; }
.pros .pros-cons-list li::before { content: '+'; color: var(--green); }
.cons .pros-cons-list li::before { content: '–'; color: var(--red); }


/* ── 28. INNER PAGE — CALLOUT BOXES ─────────────────────────── */
.callout {
  padding: 18px 20px;
  border-radius: 12px;
  border-left: 4px solid;
}

.callout-amber { background: var(--amber-pale); border-color: var(--amber); }
.callout-blue  { background: var(--blue-pale);  border-color: var(--blue); }
.callout-green { background: var(--green-pale); border-color: var(--green); }
.callout-red   { background: var(--red-pale);   border-color: var(--red); }

.callout-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.callout-amber .callout-label { color: var(--amber); }
.callout-blue  .callout-label { color: var(--blue); }
.callout-green .callout-label { color: var(--green); }
.callout-red   .callout-label { color: var(--red); }

.callout p {
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
}


/* ── 29. INNER PAGE — TWO-COL INFO SECTIONS ─────────────────── */
.two-col-section {
  padding: 72px 0;
}

.two-col-section.bg-off {
  background: var(--off);
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}

.info-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.info-block p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

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


/* ── 30. INNER PAGE — CHECKLIST GRID ───────────────────────── */
.checklist-section {
  padding: 72px 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}

.checklist-item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.checklist-item p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.6;
}


/* ── 31. INNER PAGE — RELATED TOOLS ────────────────────────── */
.related-section {
  padding: 72px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.related-card {
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 22px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.related-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.related-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.related-card p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}

.related-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.18s;
}

.related-card:hover .related-link {
  gap: 8px;
}


/* ── 32. SITE FOOTER ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--white);
}

/* ── Footer wrapper ── */
.footer-inner {
  padding: 56px 0 0;
}

/* ── Top grid: brand (left) + 5 category cols (right) ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand-logo {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.75;
  max-width: 260px;
}

/* Category columns */
.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col h4 a {
  color: var(--ink);
  transition: color 0.18s;
}

.footer-col h4 a:hover {
  color: var(--blue);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col li a {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.4;
  transition: color 0.18s;
  display: block;
}

.footer-col li a:hover {
  color: var(--blue);
}

.footer-col li a[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
}

/* ── Bottom bar ── */
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-copy {
  font-size: 0.8rem;
  color: var(--ink-4);
  line-height: 1.5;
}

.footer-bottom-copy strong {
  color: var(--ink-3);
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--ink-4);
  transition: color 0.18s;
  padding: 4px 14px;
  position: relative;
}

.footer-bottom-links a:first-child {
  padding-left: 0;
}

.footer-bottom-links a:hover {
  color: var(--blue);
}

.footer-bottom-links a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 1px;
  background: var(--border);
}

/* ── Responsive: large tablet ≤ 1024px ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

/* ── Responsive: small tablet ≤ 768px ── */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ── Responsive: mobile ≤ 480px ── */
@media (max-width: 480px) {
  .footer-inner {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
  }

  .footer-bottom-links a:first-child {
    padding-left: 0;
  }
}


/* ── 33. RESPONSIVE — TABLET (≤ 1024px) ─────────────────────── */
@media (max-width: 1024px) {
  /* Footer responsive rules are inside the footer section above */
}


/* ── 34. RESPONSIVE — TABLET & MOBILE nav (≤ 1024px) ───────── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }
}


/* ── 35. RESPONSIVE — TABLET (≤ 900px) ─────────────────────── */
@media (max-width: 900px) {
  .calc-body {
    grid-template-columns: 1fr;
  }

  .inputs-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .formula-grid,
  .two-col-grid,
  .explainer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .technique-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 36. RESPONSIVE — MOBILE (≤ 640px) ──────────────────────── */
@media (max-width: 640px) {
  .hero {
    padding: 60px 0 52px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .phases-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .result-grid {
    grid-template-columns: 1fr 1fr;
  }

  .technique-pros-cons {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 36px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: 36px 0 32px;
  }

  .calc-section {
    padding: 28px 0;
  }

  .container {
    padding: 0 16px;
  }
}


/* ── HOMEPAGE — Stats bar ────────────────────────────────────── */
.hero-stats-bar {
  padding: 0;
  background: var(--white);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 32px;
}

.hero-stat strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat span {
  font-size: 0.72rem;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── HOMEPAGE — Calculators section ─────────────────────────── */
.calculators-section {
  padding: 80px 0;
}

/* Category group wrapper */
.calc-category-group {
  margin-top: 56px;
}

.calc-category-group:first-of-type {
  margin-top: 44px;
}

/* Category header bar */
.calc-category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.calc-category-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.calc-category-name {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.calc-category-count {
  font-size: 0.72rem;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 2px;
}

/* ── RESPONSIVE — stats bar & category ──────────────────────── */
@media (max-width: 768px) {
  .hero-stat {
    padding: 0 18px;
  }

  .hero-stat strong {
    font-size: 1.3rem;
  }

  .hero-stat-divider {
    height: 24px;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    gap: 16px;
    justify-content: flex-start;
    padding: 16px 0;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat {
    padding: 0;
    flex-direction: row;
    gap: 6px;
    align-items: baseline;
  }

  .hero-stat strong {
    font-size: 1.1rem;
  }

  .hero-stat span {
    font-size: 0.7rem;
  }
}


/* ── HOMEPAGE — Two-column hero layout ──────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  width: 100%;
  max-width: 520px;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

/* ── HOMEPAGE — Numbered category header (no icon) ──────────── */
.calc-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  /* border-left colour set inline per category */
}

.calc-category-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 44px;
  /* color set inline per category */
}

.calc-category-name {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.calc-category-count {
  font-size: 0.7rem;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HOMEPAGE — Tool card without icon (numbered + top border) ─ */
.tool-card--lined {
  padding-top: 20px;
  /* border-top colour set inline per category */
}

.tool-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tool-card-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  /* color set inline per category */
}

.tool-card--lined h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.tool-card--lined h2 a:hover {
  color: var(--blue);
}

/* ── EXPLAINER — h3 without icon: add a color underline ─────── */
.explainer-block h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.explainer-block h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ── RESPONSIVE — hero two-column ───────────────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-col {
    display: none; /* hide image on tablet — text only */
  }
}

@media (max-width: 640px) {
  .hero-image-col {
    display: none;
  }

  .calc-category-num {
    font-size: 1.4rem;
    min-width: 32px;
  }
}


/* ── H1: smaller size, PilotX360 in blue ────────────────────── */
.hero-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em;
}

.hero-brand {
  color: var(--blue);
}

/* ── Category header: full blue background, white text ──────── */
.calc-category-header {
  background: var(--blue) !important;
  border: none !important;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.calc-category-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.35) !important;
  min-width: 44px;
}

.calc-category-name {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.calc-category-count {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Tool card: clean, no border colour accent ───────────────── */
.tool-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tool-card-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--ink-4);
}

/* ── Preflight step list ─────────────────────────────────────── */
.preflight-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
}

.preflight-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.preflight-step:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.preflight-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fff;
  background: var(--blue);
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.preflight-step-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.preflight-step-body strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.preflight-step-body span {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.45;
}

/* ── Remove old calc-category-icon (no longer used) ─────────── */
.calc-category-icon {
  display: none;
}


/* ── HERO: H1 brand name only, bigger ───────────────────────── */
.hero-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em;
  line-height: 1 !important;
  color: var(--blue) !important;
  margin-bottom: 12px;
}

/* ── HERO: tagline below H1 ─────────────────────────────────── */
.hero-tagline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

/* ── CATEGORY HEADER: sleek light background ─────────────────── */
/* Override the solid blue from previous iteration */
.calc-category-header {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 14px 20px !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border) !important;
  margin-bottom: 14px !important;
  /* background and border-left set inline per category */
}

.calc-category-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 38px;
  /* color set inline per category */
}

.calc-category-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.calc-category-count {
  font-size: 0.68rem !important;
  color: var(--ink-4) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── CATEGORY INTRO TEXT ─────────────────────────────────────── */
.calc-category-intro {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 860px;
  margin-bottom: 22px;
  padding: 0 2px;
}

/* ── Remove the old solid-blue override ─────────────────────── */
/* (Previous session appended background: var(--blue) !important — neutralised above) */


/* ════════════════════════════════════════════════════════════
   INDEX PAGE — typography & layout refinements
════════════════════════════════════════════════════════════ */

/* Tagline: exactly 25px */
.hero-tagline {
  font-size: 25px !important;
  font-weight: 700 !important;
  font-family: 'Sora', sans-serif;
  color: var(--ink) !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

/* Lead paragraph: exactly 16px */
.hero-lead {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: var(--ink-2) !important;
}

/* Centered section-sub variant */
.section-sub--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Centered category intro variant */
.calc-category-intro--center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Category header: light grey, modern, no colour background ─ */
.calc-category-header {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 14px 22px !important;
  background: #f4f6f9 !important;
  border: 1px solid #e4e8ef !important;
  border-radius: var(--radius-lg) !important;
  border-left-width: 4px !important;
  margin-bottom: 14px !important;
  /* border-left color set inline per category */
}

.calc-category-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 36px;
  /* color set inline per category */
}

.calc-category-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.calc-category-count {
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  color: var(--ink-4) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Audience cards: no icon, top accent line instead ───────── */
.audience-card {
  border-top: 3px solid var(--blue);
  padding-top: 24px;
}

.audience-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* Hide audience-icon if any remain */
.audience-icon {
  display: none !important;
}


/* ════════════════════════════════════════════════════════════
   CATEGORY HEADER — grey bg, black number, 18px name
════════════════════════════════════════════════════════════ */

.calc-category-header {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 16px 22px !important;
  background: #f4f6f9 !important;
  border: 1px solid #e4e8ef !important;
  border-left-width: 4px !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 14px !important;
}

/* Number: black, clearly visible */
.calc-category-num {
  font-family: 'Sora', sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: var(--ink) !important;
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 36px;
}

/* Category name: 18px */
.calc-category-name {
  font-family: 'Sora', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
  margin-bottom: 2px !important;
  line-height: 1.2;
}

/* "4 calculators" — tight gap below category name */
.calc-category-count {
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  color: var(--ink-4) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px !important;
}

/* ════════════════════════════════════════════════════════════
   TOOL CARD — clean: no number, no arrow, H2 not a link,
   CTA button at the bottom
════════════════════════════════════════════════════════════ */

.tool-card--clean {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}

.tool-card--clean:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* H2: plain text, not a link */
.tool-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}

/* Description */
.tool-card-desc {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}

/* Tags row */
.tool-card--clean .tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

/* CTA button */
.tool-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: var(--off);
  color: var(--ink-2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  text-decoration: none;
  margin-top: auto;
}

.tool-card-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}


/* ════════════════════════════════════════════════════════════
   NAV — hover dropdown + push-down mobile menu fixes
════════════════════════════════════════════════════════════ */

/* Desktop dropdown: shown on hover via .is-open class */
.nav-item .nav-dropdown {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.is-open .nav-dropdown {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown: no icon, clean link list */
.nav-dropdown-icon {
  display: none !important;
}

.nav-dropdown-header,
.nav-dropdown-see-all,
.nav-dropdown-category {
  display: none !important;
}

/* Home link in mobile */
.nav-mobile-home {
  padding: 14px 20px;
}


/* ── Nav trigger: button reset so it looks like a nav link ── */
button.nav-item-trigger {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 11px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

button.nav-item-trigger:hover,
.nav-item.is-open > button.nav-item-trigger {
  background: var(--off);
  color: var(--ink);
}

button.nav-item-trigger.active {
  color: var(--blue);
  font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   HUB PAGE — shared styles for all 5 category hub pages
════════════════════════════════════════════════════════════ */

/* ── Two-column prose layout ─────────────────────────────── */
.hub-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 44px;
}

.hub-prose-block h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.hub-prose-block p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.hub-prose-block code {
  background: var(--off);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--ink-2);
  font-family: 'SF Mono', 'Fira Code', monospace;
  word-break: break-all;
}

/* ── Hub explainer section ─────────────────────────────────── */
.hub-explainer {
  padding: 72px 0;
  background: var(--off);
}

/* ── Report types section ──────────────────────────────────── */
.hub-report-types {
  padding: 72px 0;
}

.hub-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.hub-report-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hub-report-card-header {
  padding: 18px 24px;
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-report-type-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  min-width: 24px;
}

.hub-report-card-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hub-report-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hub-report-card-body p {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.75;
}

.hub-report-example {
  background: var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hub-example-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hub-report-example code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #93c5fd;
  line-height: 1.5;
  word-break: break-all;
}

.hub-key-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.hub-key-points li {
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hub-key-points li::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.hub-tool-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap 0.18s;
  gap: 4px;
  margin-top: 4px;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
}

.hub-tool-link:hover { color: var(--blue-dark); }

/* ── Flight category table ─────────────────────────────────── */
.hub-flight-categories {
  padding: 72px 0;
  background: var(--off);
}

.hub-category-table-wrap {
  margin-top: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hub-category-table {
  width: 100%;
  border-collapse: collapse;
}

.hub-category-table thead {
  background: var(--ink);
}

.hub-category-table thead th {
  padding: 13px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.hub-category-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.hub-category-table tbody tr:last-child { border-bottom: none; }
.hub-category-table tbody tr:hover { background: var(--blue-pale); }

.hub-category-table tbody td {
  padding: 13px 20px;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
  vertical-align: top;
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: 'Sora', sans-serif;
}

.cat-badge--vfr  { background: var(--green-pale);  color: var(--green); border: 1.5px solid rgba(5,150,105,0.25); }
.cat-badge--mvfr { background: var(--blue-pale);   color: var(--blue);  border: 1.5px solid rgba(26,86,219,0.25); }
.cat-badge--ifr  { background: var(--amber-pale);  color: var(--amber); border: 1.5px solid rgba(217,119,6,0.25); }
.cat-badge--lifr { background: var(--red-pale);    color: var(--red);   border: 1.5px solid rgba(220,38,38,0.25); }

/* ── Workflow steps ────────────────────────────────────────── */
.hub-workflow {
  padding: 72px 0;
}

.hub-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hub-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}

.hub-step:last-child { border-bottom: none; }
.hub-step:hover { background: var(--blue-pale); }

.hub-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fff;
  background: var(--blue);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.hub-step-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hub-step-body p {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.72;
}

.hub-step-body a {
  color: var(--blue);
  font-weight: 600;
  transition: color 0.18s;
}

.hub-step-body a:hover { color: var(--blue-dark); }

/* ── Additional weather products ──────────────────────────── */
.hub-additional {
  padding: 72px 0;
  background: var(--off);
}

.hub-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.hub-product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hub-product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.hub-product-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hub-product-card p {
  font-size: 0.85rem;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ── Related icon placeholder (no image) ─────────────────── */
.related-icon {
  display: none;
}

/* ── Hub responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hub-two-col       { grid-template-columns: 1fr; gap: 32px; }
  .hub-report-grid   { grid-template-columns: 1fr; }
  .hub-products-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hub-report-types,
  .hub-explainer,
  .hub-flight-categories,
  .hub-workflow,
  .hub-additional { padding: 48px 0; }

  .hub-products-grid   { grid-template-columns: 1fr; }
  .hub-step            { gap: 14px; padding: 18px 16px; }
  .hub-report-card-body{ padding: 18px 16px; }

  .hub-category-table thead th,
  .hub-category-table tbody td { padding: 10px 12px; font-size: 0.78rem; }
}


/* ── Page hero: centered H1 and lead variant ─────────────── */
.page-hero-h1--center {
  text-align: center;
}

.page-hero-lead--center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hub report card header: no number label ─────────────── */
.hub-report-card-header {
  gap: 0;
}

.hub-report-type-label {
  display: none;
}

/* Table header: white text ──────────────────────────────── */
.hub-category-table thead th {
  color: #ffffff !important;
}

/* Example label: white text ─────────────────────────────── */
.hub-example-label {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 700;
}


/* ── Section heading centered variant ────────────────────── */
.section-heading--center {
  text-align: center;
  max-width: 100%;
}

.section-heading--center + .section-sub,
.section-heading--center + p {
  margin-left: auto;
  margin-right: auto;
}


/* ── Section label centered variant ──────────────────────── */
.section-label--center {
  text-align: center;
}


/* ── Phonetic alphabet grid ──────────────────────────────── */
.hub-phonetic {
  padding: 72px 0;
  background: var(--off);
}

.hub-alphabet-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 44px;
}

.hub-alpha-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.hub-alpha-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-sm);
}

.hub-alpha-letter {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}

.hub-alpha-word {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.hub-alpha-pron {
  font-size: 0.68rem;
  color: var(--ink-4);
  font-weight: 400;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .hub-alphabet-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .hub-alphabet-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hub-alpha-letter  { font-size: 1.1rem; }
  .hub-alpha-word    { font-size: 0.72rem; }
  .hub-phonetic      { padding: 48px 0; }
}