/* ===================================
   Westley Resource - IT Recruiting Firm
   Modern Design System & Styles
   =================================== */

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;900&family=Open+Sans:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===================================
   CSS Custom Properties
   =================================== */
:root {
  /* Color Palette - Professional Blues, Grays, Natural Tones */
  --primary-color: hsl(210, 60%, 45%);
  --primary-dark: hsl(210, 65%, 35%);
  --primary-light: hsl(210, 55%, 55%);
  --secondary-color: hsl(200, 20%, 50%);
  --accent-color: hsl(25, 70%, 55%);
  --success-color: hsl(150, 40%, 45%);

  /* Neutrals */
  --dark-bg: hsl(210, 15%, 12%);
  --dark-surface: hsl(210, 12%, 18%);
  --dark-surface-light: hsl(210, 10%, 25%);
  --light-bg: hsl(210, 20%, 98%);
  --light-surface: hsl(0, 0%, 100%);
  --text-dark: hsl(210, 15%, 20%);
  --text-light: hsl(0, 0%, 95%);
  --text-muted: hsl(210, 8%, 50%);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), hsl(210, 50%, 55%));
  --gradient-accent: linear-gradient(135deg, hsl(210, 60%, 40%), hsl(200, 25%, 45%));
  --gradient-hero: linear-gradient(135deg, hsl(210, 65%, 20%), hsl(210, 50%, 30%));

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-tagline: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* ===================================
   Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ===================================
   Layout Components
   =================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section-sm {
  padding: var(--spacing-xl) 0;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.logo-container:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
}

.logo-title {
  font-family: var(--font-tagline);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  word-spacing: 0.5em;
}

.logo-title-first {
  color: hsl(210, 70%, 35%);
}

.logo-title-second {
  color: hsl(210, 10%, 20%);
}

.logo-tagline {
  font-family: var(--font-tagline);
  font-size: 0.65rem;
  font-weight: 600;
  color: hsl(210, 20%, 35%);
  letter-spacing: 0.12em;
  word-spacing: -0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  color: white;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ===================================
   Cards
   =================================== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  color: white;
}

.card h3 {
  margin-bottom: var(--spacing-sm);
}

.card p {
  color: var(--text-muted);
}

/* ===================================
   Grid Layouts
   =================================== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===================================
   Forms
   =================================== */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  border: 2px solid hsl(220, 15%, 85%);
  border-radius: var(--radius-md);
  background: white;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer h4 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--dark-surface-light);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease;
}

.slide-in-right {
  animation: slideInRight 0.8s ease;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    transition: left var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }
}

/* ===================================
   FDE Practice page
   =================================== */

.fde-section { padding-block: clamp(3rem, 6vw, 5rem); }

.fde-section .section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.fde-section .section-lead {
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* Generic grid + card primitives (used by What an FDE does, Engagement) */
.fde-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fde-card {
  background: var(--light-surface);
  border: 1px solid hsl(210, 15%, 90%);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px hsla(210, 15%, 90%, 0.4);
}

.fde-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.5rem;
  color: var(--text-dark);
}

.fde-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.fde-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient-primary);
}

/* Partnerships strip */
.fde-partners-strip {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fde-partner-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--light-surface);
  border: 1px solid hsl(210, 15%, 90%);
  border-radius: 12px;
}

.fde-partner-card-pending {
  border-style: dashed;
  background: hsl(210, 20%, 98%);
}

.fde-partner-logo {
  width: 80px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.fde-partner-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  display: inline-block;
  margin-right: 0.5rem;
}

.fde-partner-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.fde-partner-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--primary-color);
  color: white;
  vertical-align: middle;
}

.fde-partner-badge-pending {
  background: hsl(210, 8%, 80%);
  color: var(--text-dark);
}

/* Certifications legend */
.fde-cert-legend {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.fde-cert-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--light-surface);
  border: 1px solid hsl(210, 15%, 90%);
  border-radius: 12px;
}

.fde-cert-badge {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.fde-cert-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.fde-cert-issuer {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fde-cert-blurb {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Architect roster */
.fde-roster {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.fde-architect-card {
  background: var(--light-surface);
  border: 1px solid hsl(210, 15%, 90%);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.fde-architect-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  display: block;
}

.fde-architect-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.fde-architect-role {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.fde-architect-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-block: 0.75rem;
}

.fde-cert-mini {
  width: 28px;
  height: 28px;
}

.fde-cert-mini-muted {
  opacity: 0.45;
  filter: grayscale(0.8);
}

.fde-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.fde-pill-training {
  background: hsl(40, 90%, 92%);
  color: hsl(30, 70%, 30%);
}

.fde-architect-linkedin {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: none;
}

.fde-architect-linkedin:hover {
  text-decoration: underline;
}

/* FDE training tracks */
.fde-tracks {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.fde-track-card {
  background: hsl(210, 20%, 98%);
  border: 2px dashed hsl(210, 15%, 80%);
  border-radius: 12px;
  padding: 1.5rem;
}

.fde-track-logo {
  height: 48px;
  width: auto;
  margin-bottom: 0.75rem;
}

.fde-track-card h3 {
  margin: 0 0 0.25rem;
  color: var(--text-dark);
}

.fde-track-target {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.fde-track-blurb {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.fde-track-curriculum {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.fde-track-curriculum li { margin-bottom: 0.25rem; }

.fde-track-stats {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.fde-track-disclaimer {
  margin: 0;
  padding: 0.75rem;
  background: hsl(40, 90%, 95%);
  border-left: 3px solid hsl(30, 70%, 50%);
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Engagement model cards */
.fde-engagement-card {
  display: flex;
  flex-direction: column;
}

.fde-engagement-timeline {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.fde-engagement-fit {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(210, 15%, 92%);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.fde-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 760px;
  margin-inline: auto;
}

.fde-faq-item {
  background: var(--light-surface);
  border: 1px solid hsl(210, 15%, 90%);
  border-radius: 8px;
  padding: 0;
}

.fde-faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
}

.fde-faq-item summary::-webkit-details-marker { display: none; }

.fde-faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.fde-faq-item[open] summary::after { content: '\2013'; }

.fde-faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.fde-faq-item summary:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
  border-radius: 8px;
}

/* Sticky in-page sub-nav */
.fde-subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--light-surface);
  border-bottom: 1px solid hsl(210, 15%, 90%);
  box-shadow: 0 1px 3px hsla(210, 15%, 0%, 0.04);
}

.fde-subnav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0.75rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.fde-subnav ul::-webkit-scrollbar { display: none; }

.fde-subnav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.fde-subnav a:hover { color: var(--text-dark); }

.fde-subnav a.fde-subnav-active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

@media (max-width: 640px) {
  .fde-subnav ul { padding-block: 0.6rem; gap: 1.25rem; }
}

/* Final CTA */
.fde-final-cta { background: hsl(210, 20%, 97%); }

.fde-final-cta .container { max-width: 760px; }

.fde-final-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.fde-secondary-cta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.fde-secondary-cta a {
  color: var(--primary-color);
  text-decoration: none;
}

.fde-secondary-cta a:hover { text-decoration: underline; }