/* ============================================================
   T38Fax Design System
   main.css — loaded globally via baseof.html
   v3 — hero fix, nav v2 components, pricing page components
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --t38-navy:        #0a1628;
  --t38-navy-light:  #132337;
  --t38-blue:        #00a3e0;
  --t38-blue-light:  #33b5e6;
  --t38-blue-dark:   #0082b3;
  --t38-green:       #10b981;
  --t38-red:         #ef4444;
  --t38-orange:      #f59e0b;

  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12);

  --max-width:     1200px;
  --header-height: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--gray-100);
  color: var(--gray-700);
  line-height: 1.7;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--t38-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ── Utility ── */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--t38-navy);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--t38-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--t38-blue); }

/* Nav */
.site-nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: var(--header-height);
}

.nav-item { position: relative; height: 100%; display: flex; align-items: center; }

.nav-link {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.nav-link:hover, .nav-dropdown-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.dropdown-caret {
  transition: transform 0.2s;
  color: var(--gray-400);
}
.nav-dropdown-toggle[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(var(--header-height) - 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.06);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
}

.nav-dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--gray-800);
  transition: background 0.15s;
  text-decoration: none;
}
.dropdown-item:hover { background: var(--gray-50); text-decoration: none; }

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--t38-navy);
}
.dropdown-item-subtitle {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0.375rem 0.5rem;
  list-style: none;
}

/* Power-T.38 product item — subtle blue tint to distinguish from solutions */
.dropdown-item--product {
  background: rgba(0, 163, 224, 0.04);
  border: 1px solid rgba(0, 163, 224, 0.12);
  border-radius: var(--radius-md);
  margin-top: 0.125rem;
}
.dropdown-item--product:hover {
  background: rgba(0, 163, 224, 0.08);
}
.dropdown-item--product .dropdown-item-title {
  color: var(--t38-blue-dark);
}

/* Small "Product" badge inside the dropdown item title */
.dropdown-item-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t38-blue-dark);
  background: rgba(0, 163, 224, 0.12);
  border: 1px solid rgba(0, 163, 224, 0.25);
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 0.4rem;
  line-height: 1.6;
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Control Panel outline button */
.btn-control-panel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-300);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-control-panel:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

/* Mobile toggle — hidden on desktop */
.mobile-menu-toggle { display: none; }

/* Mobile nav — hidden on desktop */
.mobile-nav { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }

.btn-lg { font-size: 1rem; padding: 0.75rem 1.75rem; }

.btn-primary {
  background: var(--t38-blue);
  color: #fff;
  border-color: var(--t38-blue);
}
.btn-primary:hover {
  background: var(--t38-blue-dark);
  border-color: var(--t38-blue-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--gray-300);
  border-color: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--t38-blue);
  border-color: var(--t38-blue);
}
.btn-outline:hover {
  background: var(--t38-blue);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-full { width: 100%; }

/* ============================================================
   HERO
   — padding changed from 5rem to 6.5rem top/bottom
   — min-height ensures short titles don't cramp the section
   — display:flex + align-items:center vertically anchors content
   ============================================================ */

.hero {
  background: linear-gradient(135deg, var(--t38-navy) 0%, var(--t38-navy-light) 50%, #1a3a52 100%);
  color: #fff;
  padding: 3.5rem 2rem !important;
  min-height: unset !important;
  display: flex !important;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(0,163,224,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--t38-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--t38-blue);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ============================================================
   SOLUTIONS SUB-NAV
   ============================================================ */

.solutions-subnav {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--header-height);
  z-index: 90;
}

.solutions-subnav-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.solutions-subnav-list::-webkit-scrollbar { display: none; }

.solutions-subnav-link {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.solutions-subnav-link:hover { color: var(--t38-navy); text-decoration: none; }
.solutions-subnav-link.active {
  color: var(--t38-blue);
  border-bottom-color: var(--t38-blue);
  font-weight: 600;
}

/* ============================================================
   SOLUTION BODY / PROSE
   ============================================================ */

.solution-body {
  padding: 4rem 0;
}

.prose { max-width: 860px; }

.prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--t38-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--gray-800); }
.prose blockquote {
  border-left: 4px solid var(--t38-blue);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gray-600);
}

/* ============================================================
   PAGE HEADER (default pages)
   ============================================================ */

.page-content { padding: 4rem 0; }
.page-header { margin-bottom: 2.5rem; }

.eyebrow {
  color: var(--t38-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--t38-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--gray-200);
}

.section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.faq-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

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

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

.faq-question { margin: 0; }

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: color 0.15s;
}

.faq-toggle:hover { color: var(--t38-blue); }

.faq-caret {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.faq-item.open .faq-caret { transform: rotate(180deg); }

.faq-answer {
  margin: 0;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding-bottom: 0;
  transition: padding-bottom 0.3s ease;
  border-bottom: 2px solid var(--gray-100);
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 1.5rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--t38-navy) 0%, #1a3a52 100%);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner-inner { max-width: 640px; margin: 0 auto; }

.cta-banner-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-banner-subhead {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-banner .cta-group {
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--t38-navy);
  color: var(--gray-400);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
}

.footer-logo { margin-bottom: 1rem; }

.footer-tagline {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer-parent {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--gray-200); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal { font-size: 0.8rem; color: var(--gray-600); }

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-decoration: none;
}
.footer-legal-links a:hover { color: var(--gray-400); }

/* ============================================================
   RESPONSIVE — GLOBAL
   ============================================================ */

@media (max-width: 1024px) {
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {

  /* Header */
  .site-nav, .header-ctas { display: none; }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
  }

  .hamburger-bar {
    width: 22px;
    height: 2px;
    background: var(--gray-300);
    border-radius: 2px;
    display: block;
    transition: transform 0.2s, opacity 0.2s;
  }

  .mobile-nav {
    display: block;
    background: var(--t38-navy-light);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  body.mobile-nav-open .mobile-nav {
    max-height: 600px;
  }

  .site-header {
    height: auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
  }

  .header-inner { flex-wrap: wrap; }

  .mobile-nav-list {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mobile-nav-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }

  .mobile-nav-link {
    display: block;
    padding: 0.65rem 0;
    color: var(--gray-300);
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .mobile-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0.5rem 0;
  }

  .mobile-nav-cta { margin-top: 1rem; }

  /* Hero — tighter on mobile */
  .hero { padding: 2.5rem 1.5rem !important; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SOLUTION PAGE COMPONENTS
   ============================================================ */

/* ── Body background ── */
.solution-body {
  background: var(--gray-100);
  padding: 2rem 0;
}

/* ── Section = white card ── */
.solution-section {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--gray-200);
}

.solution-section p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.solution-section p:last-child { margin-bottom: 0; }

.solution-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

.solution-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
}

.solution-section strong { color: var(--gray-800); }
.solution-section a { color: var(--t38-blue); }

/* Button color overrides — .solution-section a (specificity 0,2,0) would otherwise
   override .btn-primary (0,1,0), making white text invisible on blue buttons */
.solution-section .btn-primary,
.solution-section .btn-primary:hover { color: #fff; }
.solution-section .btn-outline-light,
.solution-section .btn-outline-light:hover { color: #fff; }
.solution-section .btn-control-panel { color: var(--gray-300); }

/* ── Section label — tiny caps + blue lead line ── */
.solution-section-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t38-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.solution-section-label::before {
  content: '';
  width: 12px;
  height: 2px;
  background: var(--t38-blue);
  flex-shrink: 0;
}

/* ── Problem callout ── */
.problem-callout {
  display: inline-block;
  min-width: 320px;
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border: 1px solid #fecaca;
  border-left: 4px solid var(--t38-red);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1rem 1.5rem;
  margin: 1.25rem 0;
}

.problem-callout ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-callout ul li {
  padding: 0.2rem 0 0.2rem 1.5rem;
  position: relative;
  color: var(--gray-600);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.problem-callout ul li::before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--t38-red);
  font-weight: 700;
}

/* ── Blockquote in solution sections ── */
.solution-section blockquote {
  background: linear-gradient(135deg, var(--gray-50), #fff);
  border-left: 4px solid var(--t38-blue);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

/* ── Differentiator card grid ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.diff-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.diff-card:hover {
  border-color: var(--t38-blue);
  box-shadow: 0 4px 12px rgba(0,163,224,0.1);
}

.diff-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.diff-card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--t38-blue), var(--t38-blue-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.diff-card-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.diff-card h4,
.diff-card-title {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  margin: 0 !important;
  line-height: 1.3;
}

.diff-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ── Testimonials ── */
.testimonial {
  background: linear-gradient(135deg, var(--gray-50), #fff);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--gray-200);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--t38-blue);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.testimonial cite {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: normal;
  display: block;
  padding-left: 1.5rem;
}

.testimonial cite strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* ── Compatibility list ── */
.compat-list {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.25rem 0;
}

.compat-list h3 {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500) !important;
  margin-bottom: 0.75rem !important;
  margin-top: 1.25rem !important;
}

.compat-list h3:first-child { margin-top: 0 !important; }

.compat-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.compat-list li {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ── Cross-link box ── */
.crosslink-box {
  background: rgba(0,163,224,0.06);
  border: 1px solid rgba(0,163,224,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.crosslink-box p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

/* ── Steps list ── */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: steps-counter;
}

.steps-list li {
  counter-increment: steps-counter;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding: 0.875rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.steps-list li::before {
  content: counter(steps-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: var(--t38-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 1px;
}

.steps-list li strong { color: var(--gray-800); }

/* ── Scenario cards ── */
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.scenario-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.scenario-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--t38-blue);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.scenario-card h4 {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin: 0 0 0.75rem !important;
  line-height: 1.3;
}

.scenario-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0 0 0.5rem;
}

.scenario-card-meta {
  font-size: 0.8125rem !important;
  color: var(--gray-400) !important;
  font-style: italic;
  margin-top: 0.75rem !important;
}

/* ── Crosslink pair ── */
.crosslink-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* ── Pillar layout (Why T38Fax) ── */
.solution-section.pillar-section {
  background: linear-gradient(135deg, var(--t38-navy) 0%, var(--t38-navy-light) 100%);
  border-color: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.pillar-num {
  position: absolute;
  top: 1rem;
  right: 1.75rem;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.solution-section.pillar-section p {
  color: rgba(255,255,255,0.75);
}

.solution-section.pillar-section p:last-child { margin-bottom: 0; }

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0,163,224,0.25);
  border: 1px solid rgba(0,163,224,0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t38-blue-light);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t38-blue-light);
  margin-top: 1.25rem;
  text-decoration: none;
  transition: gap 0.15s;
}

.pillar-link:hover {
  text-decoration: none;
  color: #fff;
  gap: 0.6rem;
}

.pillar-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.why-t38fax-body { width: 100%; }

/* ============================================================
   PRICING PAGE COMPONENTS
   ============================================================ */

/* Three-column pricing card grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pricing-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.pricing-card-rate {
  font-size: 2rem;
  font-weight: 800;
  color: var(--t38-navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 0.5rem;
}

/* Smaller secondary rate (second or third rate in same card) */
.pricing-card-rate--secondary {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.pricing-card-unit {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gray-500);
}

.pricing-card-subrate {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.pricing-card-note {
  font-size: 0.8125rem !important;
  color: var(--gray-500) !important;
  line-height: 1.6 !important;
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* Darren review callout — clearly distinct from page content */
.darren-review {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--t38-orange);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.darren-review-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.darren-review p {
  font-size: 0.9rem !important;
  color: #78350f !important;
  line-height: 1.65 !important;
  margin-bottom: 0.75rem !important;
}

.darren-review p:last-child { margin-bottom: 0 !important; }

/* ── Compliance page components ── */

/* compliance-note: teal-tinted callout for key HIPAA/legal points */
.compliance-note {
  background: #f0f9ff;
  border-left: 4px solid var(--t38-blue);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.compliance-note strong {
  display: block;
  color: var(--t38-navy);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* compliance-summary: icon + text rows for the at-a-glance section */
.compliance-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.compliance-summary-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.compliance-summary-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compliance-summary-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--t38-blue);
}
.compliance-summary-item strong {
  display: block;
  color: var(--t38-navy);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.compliance-summary-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0 !important;
}

@media (max-width: 640px) {
  .compliance-summary { grid-template-columns: 1fr; }
}

/* ── Responsive: pricing ── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Responsive: solution components ── */
@media (max-width: 768px) {
  .diff-grid { grid-template-columns: 1fr; }
  .solution-body { padding: 1rem 0; }
  .crosslink-box { flex-direction: column; align-items: flex-start; }
  .scenario-cards { grid-template-columns: 1fr; }
  .crosslink-pair { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .solution-section { padding: 1.25rem; }
}

/* ============================================================
   ABOUT US PAGE COMPONENTS
   ============================================================ */

/* ── Origin / story section ── */
.about-story-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.about-story-wrap h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-story-body p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.about-pullquote {
  border-left: 4px solid var(--t38-blue);
  margin: 2.5rem 0 0 0;
  padding: 1.25rem 1.75rem;
  background: rgba(0, 163, 224, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-pullquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--t38-navy);
  line-height: 1.65;
  margin: 0 !important;
}

/* ── Beliefs section ── */
.about-beliefs-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.about-beliefs-intro {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 600px;
}

.about-beliefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-belief {
  border-top: 3px solid var(--t38-blue);
  padding-top: 1.25rem;
}

.about-belief h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0 !important;
}

.about-belief p {
  font-size: 0.9375rem !important;
  line-height: 1.75 !important;
  color: var(--gray-600) !important;
  margin: 0 !important;
}

/* ── Credentials / By the numbers ── */
.about-credentials-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-credential {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.about-credential-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--t38-blue);
  margin-bottom: 0.4rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-credential-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.about-credentials-closing {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 100%;
}

.about-blog-link {
  display: inline;
  margin-left: 0.25rem;
  color: var(--t38-blue);
  font-weight: 600;
  text-decoration: none;
}

.about-blog-link:hover {
  text-decoration: underline;
}

/* ── Responsive: About Us ── */
@media (max-width: 860px) {
  .about-beliefs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-credentials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-credentials {
    grid-template-columns: 1fr 1fr;
  }
  .about-story-wrap h2,
  .about-beliefs-section h2,
  .about-credentials-section h2 {
    font-size: 1.5rem;
  }
}

/* ============================================================
   PARTNERS PAGE COMPONENTS
   ============================================================ */

/* ── Hero ── */
.partners-hero {
  background-color: var(--t38-navy);
  background-size: cover !important;
  background-position: center center !important;
  position: relative;
}

.partners-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.68);
  pointer-events: none;
}

.partners-hero .hero-content {
  position: relative;
  z-index: 1;
}

/* ── Program intro: text left, badge right ── */
.partners-intro-wrap {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 3rem;
  align-items: center;
}

.partners-intro-text h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Badge: navy disc is the intentional background for the black-bg PNG.
   mix-blend-mode: screen inside it makes the badge colours pop correctly.
   The black areas in the PNG disappear into the dark disc. */
.partners-intro-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-badge-disc {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--t38-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--gray-300);
  flex-shrink: 0;
}

.partners-badge-disc img {
  width: 110%;        /* slight oversize so the gear ring fills the circle edge */
  height: 110%;
  object-fit: cover;
  mix-blend-mode: screen;
  display: block;
}

@media (max-width: 860px) {
  .partners-intro-wrap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ── Benefits panels ── */
.partners-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.25rem;
}

.partners-benefit {
  border-top: 3px solid var(--t38-blue);
  padding-top: 1.25rem;
}

.partners-benefit h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin-top: 0 !important;
  margin-bottom: 0.6rem !important;
  line-height: 1.3;
}

@media (max-width: 860px) {
  .partners-benefits {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ── Certification process + form ── */
.partners-process-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

.partners-process-steps h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.partners-process-intro {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.partners-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.partners-steps-list li {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}

.partners-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--t38-blue);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.partners-step-body strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.partners-step-body p {
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
}

.partners-step-link {
  color: var(--t38-blue);
  text-decoration: none;
  font-weight: 500;
}

.partners-step-link:hover {
  text-decoration: underline;
}

.partners-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 5rem;
}

.partners-form-wrap h3 {
  color: var(--t38-navy);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.partners-form-wrap > p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

@media (max-width: 960px) {
  .partners-process-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .partners-form-wrap {
    position: static;
  }
}

/* ── Partner logos ──
   White solution-section card. Each logo sits in a small navy "chip"
   with mix-blend-mode: screen — same technique as the badge.
   Black backgrounds vanish into the dark chip; brand colours show correctly.
   This is intentional design: the chips look like product tiles. */
.partners-logos-heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* The navy chip: each logo gets a dark rounded tile */
.partners-logo-item {
  background: var(--t38-navy);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.partners-logo-item img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}

@media (max-width: 860px) {
  .partners-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ============================================================
   CONTACT PAGE COMPONENTS
   ============================================================ */

/* ── Two-column layout: form left, info right ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

/* ── Form column ── */
.contact-form-col {
  /* takes all remaining space from grid */
}

.contact-form-card {
  /* inherits .solution-section */
}

.contact-form-heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.contact-form-intro {
  color: var(--gray-500);
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

.contact-hubspot-form {
  /* HubSpot injects its own form wrapper here */
}

/* ── Info column ── */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0; /* gap handled by margin-bottom on .solution-section */
  position: sticky;
  top: 5.5rem;
}

/* ── Phone card ── */
.contact-phone-card {
  /* inherits .solution-section */
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
  display: block;
}

.contact-info-label--spaced {
  margin-top: 1.25rem;
}

.contact-phone-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--t38-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.15s;
}

.contact-phone-number:hover {
  color: var(--t38-blue);
  text-decoration: none;
}

.contact-phone-direct {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-phone-direct:hover {
  color: var(--t38-blue);
  text-decoration: none;
}

/* ── Support routing card ── */
.contact-support-card {
  /* inherits .solution-section */
}

.contact-support-heading {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
}

.contact-support-body {
  font-size: 0.875rem !important;
  color: var(--gray-500) !important;
  line-height: 1.65 !important;
  margin-bottom: 1.25rem !important;
}

.contact-support-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.contact-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t38-blue);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-support-link:hover {
  color: var(--t38-blue-dark);
  text-decoration: underline;
}

/* ── Address card ── */
.contact-address-card {
  /* inherits .solution-section */
}

.contact-address-heading {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
}

.contact-address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.contact-fax-line {
  font-size: 0.875rem !important;
  color: var(--gray-500) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0 !important;
}

.contact-fax-line .contact-info-label {
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-info-col {
    position: static;
    /* On tablet/mobile, info column reorders to appear below the form */
    order: 2;
  }

  .contact-form-col {
    order: 1;
  }
}

@media (max-width: 480px) {
  .contact-phone-number {
    font-size: 1.5rem;
  }
}

/* =============================================================
   CAREERS PAGE
   ============================================================= */

/* ── Philosophy strip ── */
.careers-philosophy {
  background: var(--t38-navy);
  border-radius: 6px;
  padding: 3rem 3.5rem;
  margin-bottom: 3rem;
}

.careers-philosophy-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.careers-philosophy-text h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.careers-philosophy-text p {
  color: rgba(255,255,255,0.80);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.careers-philosophy-text p:last-child {
  margin-bottom: 0;
}

.careers-philosophy-stats {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 140px;
}

.careers-stat {
  text-align: center;
}

.careers-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--t38-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.careers-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-top: 0.35rem;
}

/* ── Section headings ── */
.careers-section-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--t38-blue);
  display: inline-block;
}

/* ── Value blurbs ── */
.careers-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 1rem;
}

.careers-value {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 1.75rem 2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.careers-value:hover {
  border-color: var(--t38-blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.careers-value-icon {
  color: var(--t38-blue);
  margin-bottom: 0.875rem;
}

.careers-value h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.careers-value p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* ── Jobs section ── */
.careers-jobs-section {
  margin-top: 3rem;
  scroll-margin-top: 120px;
}

.careers-jobs-intro {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  margin-top: -1.25rem;
}

/* BambooHR embed overrides */
.careers-bamboohr-wrap {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}

/* Override BambooHR's injected styles to match site */
.careers-bamboohr-wrap .BambooHR-ATS-board h2 {
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--t38-navy) !important;
  border-bottom-color: #e8edf2 !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.5rem !important;
}

.careers-bamboohr-wrap .BambooHR-ATS-Department-Header {
  font-family: inherit !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--t38-blue) !important;
  padding: 0.75rem 0 0.25rem !important;
}

.careers-bamboohr-wrap .BambooHR-ATS-board a {
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--t38-navy) !important;
  line-height: 1.9em !important;
  text-decoration: none !important;
}

.careers-bamboohr-wrap .BambooHR-ATS-board a:hover {
  color: var(--t38-blue) !important;
  text-decoration: underline !important;
}

.careers-bamboohr-wrap .BambooHR-ATS-Location {
  font-size: 0.8rem !important;
  color: #888 !important;
}

.careers-bamboohr-wrap .BambooHR-ATS-blankState {
  font-family: inherit !important;
  color: #888 !important;
  font-size: 0.9rem !important;
}

/* Hide BambooHR footer branding */
#BambooHR-Footer {
  display: none !important;
}

.careers-jobs-note {
  font-size: 0.875rem;
  color: #777;
  margin-top: 0.5rem;
}

.careers-jobs-note a {
  color: var(--t38-blue);
  text-decoration: none;
  font-weight: 600;
}

.careers-jobs-note a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .careers-philosophy-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .careers-philosophy-stats {
    flex-direction: row;
    justify-content: space-around;
    min-width: auto;
  }

  .careers-values {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .careers-philosophy {
    padding: 2rem 1.5rem;
  }

  .careers-bamboohr-wrap {
    padding: 1.5rem;
  }

  .careers-stat-value {
    font-size: 1.5rem;
  }
}

/* =============================================================
   TESTIMONIALS PAGE
   ============================================================= */

/* ── Featured pull quote ── */
.testimonial-featured {
  background: var(--t38-navy);
  border-radius: 6px;
  padding: 1.75rem 2.25rem 1.5rem;
  margin: 0 0 2.5rem 0;
}

.testimonial-featured-quote {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.65;
  color: #fff;
  font-style: italic;
  margin: 0 0 1rem 0;
}

.testimonial-featured-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-featured-logo {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.testimonial-featured-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-featured-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-featured-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.15rem;
}

/* ── Stats strip ── */
.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.testimonial-stat {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid #e8edf2;
}

.testimonial-stat:last-child {
  border-right: none;
}

.testimonial-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--t38-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.testimonial-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  line-height: 1.4;
}

/* ── Card grid ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 0;
  width: 100%;
}

/* Hidden "more" grid — present in DOM for SEO, not visible by default */
.testimonial-grid-more {
  display: none;
  margin-top: 1.25rem;
}

.testimonial-grid-more.is-visible {
  display: grid;
}

/* ── Individual card ── */
.testimonial-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--t38-blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.testimonial-card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card-quote {
  margin: 0 0 auto 0;
  padding: 0;
  flex: 1;
}

.testimonial-card-quote p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin: 0 0 1rem 0;
}

.testimonial-card-footer {
  padding-top: 0.875rem;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.testimonial-card-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--t38-navy);
  display: block;
}

.testimonial-card-role {
  font-size: 0.73rem;
  color: #888;
  margin-top: 0.1rem;
  display: block;
}

.testimonial-card-company-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted #aaa;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.testimonial-card-company-link:hover {
  color: var(--t38-blue);
  border-bottom-color: var(--t38-blue);
}

/* ── Show all toggle button ── */
.testimonial-toggle-wrap {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.testimonial-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--t38-blue);
  color: var(--t38-blue);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
}

.testimonial-toggle-btn:hover {
  background: var(--t38-blue);
  color: #fff;
}

.testimonial-toggle-label-hide { display: none; }
.testimonial-toggle-btn.is-open .testimonial-toggle-label-show { display: none; }
.testimonial-toggle-btn.is-open .testimonial-toggle-label-hide { display: inline; }

.testimonial-toggle-icon {
  transition: transform 0.2s ease;
}

.testimonial-toggle-btn.is-open .testimonial-toggle-icon {
  transform: rotate(180deg);
}

/* ── Submission form ── */
.testimonial-submit {
  background: #f7f9fb;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 2.5rem 3rem;
}

.testimonial-submit-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin-bottom: 0.5rem;
}

.testimonial-submit-intro {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.testimonial-submit-form {
  max-width: 600px;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonial-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-stat:nth-child(2) {
    border-right: none;
  }
  .testimonial-stat:nth-child(1),
  .testimonial-stat:nth-child(2) {
    border-bottom: 1px solid #e8edf2;
  }
}

@media (max-width: 640px) {
  .testimonial-featured {
    padding: 1.5rem;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-submit {
    padding: 1.75rem 1.5rem;
  }
}

/* =============================================================
   HOMEPAGE
   ============================================================= */

/* ── Hero overrides for homepage ── */
.hp-hero {
  padding-bottom: 4rem !important;
}

.hp-hero-content {
  max-width: 760px;
}

.hp-trust-strip {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.hp-trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

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

/* ── Customer logo marquee ── */
.hp-customers {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  padding: 2.5rem 0;
  overflow: hidden;
}

.hp-customers-label {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin: 0 0 1.75rem 0;
}

/* Fade edges so logos scroll in/out softly */
.hp-marquee {
  position: relative;
  overflow: hidden;
}

.hp-marquee::before,
.hp-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.hp-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.hp-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

@keyframes hp-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hp-marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: hp-marquee-scroll 35s linear infinite;
  padding: 0 2rem;
}

.hp-marquee-track:hover {
  animation-play-state: paused;
}

.hp-customer-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.65;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.hp-customer-logo:hover {
  opacity: 1;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hp-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: 2.5rem 3.5rem;
    padding: 0 2rem;
  }
  /* Hide duplicates when static */
  .hp-marquee-track img:nth-child(n+13) {
    display: none;
  }
}

/* ── Problem band ── */
.hp-problem {
  background: var(--t38-navy);
  padding: 3rem 0;
}

.hp-problem-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
}

/* ── Section headings (shared by diff + personas) ── */
.hp-section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--t38-navy);
  text-align: center;
  margin: 0 0 0.625rem 0;
}

.hp-section-sub {
  font-size: 1rem;
  color: #666;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ── Differentiator section ── */
.hp-diff {
  background: #f7f9fb;
  padding: 4.5rem 0;
}

.hp-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-diff-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-diff-card:hover {
  border-color: var(--t38-blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.hp-diff-icon {
  width: 44px;
  height: 44px;
  background: var(--t38-navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.hp-diff-icon svg {
  width: 22px;
  height: 22px;
  color: var(--t38-blue);
}

.hp-diff-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin: 0 0 0.75rem 0;
}

.hp-diff-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #555;
  margin: 0 0 auto 0;
  padding-bottom: 1.25rem;
}

.hp-diff-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t38-blue);
  margin-top: auto;
  text-decoration: none;
  border: none;
}

.hp-diff-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.hp-diff-link:hover svg {
  transform: translateX(3px);
}

/* ── Persona section ── */
.hp-personas {
  background: #fff;
  padding: 4.5rem 0;
}

.hp-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-persona-card {
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hp-persona-card:hover {
  border-color: var(--t38-blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.hp-persona-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid var(--t38-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.hp-persona-icon svg {
  width: 22px;
  height: 22px;
  color: var(--t38-blue);
}

.hp-persona-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t38-navy);
  margin: 0 0 0.625rem 0;
}

.hp-persona-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #555;
  margin: 0 0 1.25rem 0;
  flex: 1;
}

.hp-persona-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t38-blue);
  margin-top: auto;
}

.hp-persona-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.hp-persona-card:hover .hp-persona-cta svg {
  transform: translateX(3px);
}

/* ── ECM challenge strip ── */
.hp-ecm {
  background: var(--t38-navy);
  padding: 3.5rem 0;
}

.hp-ecm-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hp-ecm-text {
  flex: 1;
}

.hp-ecm-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem 0;
}

.hp-ecm-text p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.hp-ecm-action {
  flex-shrink: 0;
  text-align: center;
}

.hp-ecm-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin: 0.625rem 0 0 0;
  text-align: center;
}

/* ── Testimonial pull quote ── */
.hp-testimonial {
  background: #f7f9fb;
  padding: 4rem 0 3rem;
}

.hp-testimonial-quote {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.hp-testimonial-quote p {
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.65;
  color: var(--t38-navy);
  margin: 0 0 1.25rem 0;
  position: relative;
}

.hp-testimonial-quote p::before {
  content: none;
}

.hp-testimonial-quote footer {
  font-size: 0.875rem;
  color: #888;
}

.hp-testimonial-quote footer strong {
  color: var(--t38-navy);
  font-weight: 700;
}

.hp-testimonial-more {
  text-align: center;
  margin-top: 1.75rem;
}

.hp-testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t38-blue);
  text-decoration: none;
}

.hp-testimonial-link svg {
  transition: transform 0.15s ease;
}

.hp-testimonial-link:hover svg {
  transform: translateX(3px);
}

/* ── Homepage responsive ── */
@media (max-width: 960px) {
  .hp-diff-grid,
  .hp-persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-ecm-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hp-diff-grid,
  .hp-persona-grid {
    grid-template-columns: 1fr;
  }

  .hp-trust-strip {
    gap: 0.5rem 1rem;
  }

  .hp-testimonial-quote p {
    font-size: 1.1rem;
  }
}


/* ============================================================
   POWER-T.38 PAGE COMPONENTS
   Added: Power-T.38 product page build
   ============================================================ */

/* --- Trust badge strip in hero ----------------------------- */
.pt38-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pt38-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.6875rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  min-width: 110px;
}

.pt38-badge-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--bondi-blue);
  letter-spacing: 0.02em;
  line-height: 1;
}

.pt38-badge-sub {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

@media (max-width: 480px) {
  .pt38-badges {
    gap: 0.5rem;
  }
  .pt38-badge {
    flex: 1;
    min-width: 90px;
    padding: 0.5rem 0.75rem;
  }
}

/* --- Audience routing cards -------------------------------- */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.audience-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.audience-card-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bondi-blue);
  margin-bottom: 0.5rem;
}

.audience-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.625rem;
}

.audience-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem !important;
}

.audience-card .btn {
  align-self: flex-start;
  font-size: 0.8125rem;
}

@media (max-width: 900px) {
  .audience-cards {
    grid-template-columns: 1fr;
  }
}
