/* ============================================
   FLYWHEEL STAFFING — STYLES
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* --- Custom Properties --- */
:root {
  --navy: #023042;
  --yellow: #FFC304;
  --orange: #DC562E;
  --teal: #467582;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --font: 'Schibsted Grotesk', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(2,48,66,0.08);
  --shadow-lg: 0 8px 48px rgba(2,48,66,0.15);
  --transition: 0.25s ease;
  --max-w: 1200px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  font-size: 0.875rem;
  padding: 0.5rem 2.5rem;
  position: relative;
  line-height: 1.4;
}
.announcement-bar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announcement-bar a:hover { opacity: 0.85; }
.announcement-bar .dismiss-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  opacity: 0.8;
}
.announcement-bar .dismiss-btn:hover { opacity: 1; }
.announcement-bar.hidden { display: none; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(2,48,66,0.1);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nav-inner { padding: 0.75rem 2rem; }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
/* Real logo image — navbar (light backgrounds) */
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}
/* Logomark only — dark backgrounds */
.logo-mark {
  height: 36px;
  width: auto;
  display: block;
}
/* White wordmark text for dark backgrounds */
.logo-text-light {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
}
/* Legacy — kept for any remaining references */
.logo-icon { display: block; width: 32px; height: 32px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--navy);
}

/* Nav Links */
.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active {
  color: var(--navy);
  font-weight: 700;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Nav Buttons */
.nav-buttons {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .nav-buttons { display: flex; }
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  color: var(--navy);
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(2,48,66,0.12);
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-menu ul li a:hover { background: var(--gray-50); }
.mobile-menu ul li a.active { color: var(--navy); font-weight: 700; }
.mobile-menu .mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: #e6af00;
  border-color: #e6af00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,195,4,0.35);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #034a63;
  border-color: #034a63;
  transform: translateY(-1px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}
.btn-full { width: 100%; }

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}
.hero-label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 720px;
}
.hero .hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.hero-trust span { white-space: nowrap; }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.5;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page Hero (shorter) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 5rem 1rem 4rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  max-width: 720px;
}
.page-hero .hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.page-hero .hero-label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background: var(--white);
  padding: 3rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stats-grid .stat-item { border-right: 1px solid var(--gray-200); }
  .stats-grid .stat-item:last-child { border-right: none; }
}
.stat-item { text-align: center; padding: 0.5rem 1rem; }
.stat-number {
  font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Stats on dark bg */
.stats-dark { background: var(--navy); padding: 4rem 1rem; }
.stats-dark .stat-number { color: var(--white); }
.stats-dark .stat-label { color: rgba(255,255,255,0.5); }
.stats-dark .stat-item { border-right-color: rgba(255,255,255,0.15); }

/* ============================================
   TRUST LOGOS
   ============================================ */
.trust-section {
  background: var(--gray-50);
  padding: 3rem 1rem;
  text-align: center;
}
.trust-section p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.trust-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-300);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ============================================
   SECTIONS (generic)
   ============================================ */
.section {
  padding: 4rem 1rem;
}
@media (min-width: 768px) {
  .section { padding: 5rem 2rem; }
}
@media (min-width: 1024px) {
  .section { padding: 6rem 2rem; }
}
.section-label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.section-label-navy { color: var(--navy); }
.section-label-teal { color: var(--teal); }
.section-title {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
  max-width: 680px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.section-centered {
  text-align: center;
}
.section-centered .section-title,
.section-centered .section-sub {
  margin-inline: auto;
}

/* BG variants */
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); }
.bg-teal { background: var(--teal); }

.bg-navy .section-title,
.bg-navy .section-sub { color: var(--white); }
.bg-navy .section-sub { color: rgba(255,255,255,0.7); }
.bg-teal .section-title,
.bg-teal .section-sub { color: var(--white); }
.bg-teal .section-sub { color: rgba(255,255,255,0.7); }

/* ============================================
   BENEFITS CARDS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.benefit-icon svg { width: 48px; height: 48px; }
.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.benefit-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS (STEPS)
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 600px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}
.step-card { text-align: left; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.step-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* Detailed Steps (How It Works page) */
.detailed-steps { max-width: var(--max-w); margin-inline: auto; }
.detailed-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
@media (min-width: 768px) {
  .detailed-step { grid-template-columns: 80px 1fr; gap: 2.5rem; }
}
.detailed-step:last-child { border-bottom: none; }
.detailed-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
}
.detailed-step h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.detailed-step p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.step-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.step-details span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
}

/* ============================================
   ROLE CARDS
   ============================================ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .roles-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .roles-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.role-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.role-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.role-card-icon {
  width: 40px;
  height: 40px;
  color: var(--navy);
  margin-bottom: 1rem;
}
.role-card-icon svg { width: 40px; height: 40px; }
.role-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.role-card .role-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-card.card-navy {
  background: var(--navy);
  color: var(--white);
}
.testimonial-card.card-white {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-200);
}
.testimonial-card.card-yellow {
  background: var(--yellow);
  color: var(--navy);
}
.testimonial-stars {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.card-yellow .testimonial-stars { color: var(--navy); }
.testimonial-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-card .author {
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.75;
}

/* ============================================
   EMAIL CAPTURE
   ============================================ */
.email-capture {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  padding: 5rem 1rem;
  text-align: center;
}
.email-capture h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.email-capture .section-sub {
  color: rgba(255,255,255,0.75);
  margin-inline: auto;
  margin-bottom: 2rem;
}
.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin-inline: auto;
}
@media (min-width: 600px) {
  .email-form { flex-direction: row; }
}
.email-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
}
.email-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--yellow);
}
.email-capture .form-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
}
.email-success {
  display: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 720px;
  margin-inline: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--orange);
}
.form-group .error-msg {
  font-size: 0.8125rem;
  color: var(--orange);
  display: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 1rem;
}
.form-success {
  display: none;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 700;
}

/* ============================================
   EMAIL POPUP MODAL
   ============================================ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.popup-overlay.active { display: flex; }
.popup-card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: popupIn 0.3s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-top {
  background: var(--navy);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.popup-top .logo-text { color: var(--white); font-size: 1rem; }
.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-close:hover { color: var(--white); }
.popup-body {
  padding: 2rem;
  text-align: center;
}
.popup-body h2 {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.popup-body p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.popup-form input[type="email"] {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  text-align: center;
}
.popup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--navy);
}
.popup-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
}
.popup-dismiss {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: underline;
  margin-top: 0.5rem;
}
.popup-dismiss:hover { color: var(--gray-600); }
.popup-success {
  display: none;
  padding: 2rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: '−';
  color: var(--navy);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--yellow);
  box-shadow: var(--shadow);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 100px;
}
.pricing-card h3 {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pricing-card .pricing-for {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.pricing-card .pricing-fee {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.pricing-card .pricing-fee-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}
.pricing-features li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ============================================
   SAVINGS TABLE
   ============================================ */
.savings-table-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.savings-table {
  width: 100%;
  min-width: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.savings-table thead {
  background: var(--navy);
  color: var(--white);
}
.savings-table th {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.savings-table td {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
}
.savings-table tbody tr:last-child td { border-bottom: none; }
.savings-table tbody tr:hover { background: var(--gray-50); }
.savings-highlight {
  color: var(--teal);
  font-weight: 800;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  min-width: 700px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.comparison-table thead { background: var(--navy); color: var(--white); }
.comparison-table th {
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--gray-700); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .fw-col {
  background: rgba(255,195,4,0.08);
  font-weight: 700;
}

/* ============================================
   VALUE PILLARS
   ============================================ */
.value-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .value-pillars { grid-template-columns: repeat(3, 1fr); }
}
.value-pillar {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}
.value-pillar h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.value-pillar p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   VALUES CARDS (About page)
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 600px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
.value-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.value-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   ROLES PAGE — CATEGORY SECTIONS
   ============================================ */
.role-category {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.role-category:last-child { border-bottom: none; }
.role-category h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.role-category > p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 680px;
}
.roles-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.role-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.role-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 5rem 1rem;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.6;
}
.bg-navy .cta-section h2 { color: var(--white); }
.bg-navy .cta-section p { color: rgba(255,255,255,0.7); }
.bg-teal .cta-section h2 { color: var(--white); }
.bg-teal .cta-section p { color: rgba(255,255,255,0.7); }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 1rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.25fr; gap: 2rem; }
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}
.footer h4 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer ul li a:hover { color: var(--yellow); }
.footer-contact p,
.footer-contact a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--yellow); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-center { display: flex; justify-content: center; }

/* ==========================================
   LEGAL PAGES (Terms & Privacy)
   ========================================== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-100);
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}
.legal-content a {
  color: var(--navy);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--teal);
}
.legal-meta {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  font-style: italic;
}
.legal-highlight {
  background: var(--gray-50);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.legal-highlight p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(2, 48, 66, 0.18);
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
}

.btn-cookie {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-cookie-decline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-cookie-accept {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn-cookie-accept:hover {
  background: #e6b000;
  border-color: #e6b000;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Inline code */
.legal-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.82em;
  background: var(--gray-100);
  color: var(--navy);
  padding: 0.15em 0.45em;
  border-radius: 3px;
  border: 1px solid var(--gray-200);
}
