/* ===============================
   Component Styles
   Design tokens: tokens.css · Typography: typography.css
=============================== */

/* ===============================
   Global Styles
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 90%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===============================
   Modern Layout & Utility Layer
   (use these classes across pages)
=============================== */

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section-tight {
  padding: var(--space-6) 0;
}

.section-hero {
  padding: calc(var(--space-10) + 2rem) 0 var(--space-10);
}

.section-surface {
  background: linear-gradient(135deg, var(--color-section-soft), #ffffff);
}

.section-alt {
  background: linear-gradient(135deg, var(--color-section-alt), #ffffff);
}

/* Stacks & alignment */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stack-lg {
  gap: var(--space-6);
}

.stack-sm {
  gap: var(--space-2);
}

.centered {
  text-align: center;
}

.max-w-md {
  max-width: 32rem;
}

.max-w-lg {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

/* Cards */
.card-surface {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
}

.card-elevated {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--color-section-soft) 100%
  );
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 87, 216, 0.06);
  box-shadow: var(--shadow-medium);
  padding: var(--space-6);
}

.card-muted {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: var(--space-5);
}

/* Typography helpers — see typography.css for eyebrow/title/lead scale */
.eyebrow {
  margin-bottom: var(--space-2);
}

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

.text-accent {
  color: var(--color-primary);
}

/* Badges & pills */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    135deg,
    rgba(0, 87, 216, 0.12),
    rgba(0, 153, 255, 0.18)
  );
  color: var(--color-primary-soft);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: #0f172a;
  color: #e5e7eb;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.pill-outline {
  background: transparent;
  color: var(--color-primary-soft);
  border: 1px solid rgba(0, 87, 216, 0.35);
}

/* Modern buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease;
}

/* Filled primary — always white label on blue (beats prose/link color rules) */
a.btn-modern-primary,
button.btn-modern-primary,
.btn-modern-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-alt) 100%
  );
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 87, 216, 0.28);
  border: none;
}

a.btn-modern-primary:hover,
button.btn-modern-primary:hover,
.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 87, 216, 0.38);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* Light-surface ghost/outline — default for most of the site (not disabled-looking) */
a.btn-modern-ghost,
button.btn-modern-ghost,
.btn-modern-ghost {
  background: #ffffff;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a;
  border: 1.5px solid rgba(15, 23, 42, 0.35);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

a.btn-modern-ghost:hover,
button.btn-modern-ghost:hover,
.btn-modern-ghost:hover {
  background: rgba(0, 87, 216, 0.06);
  color: var(--color-primary) !important;
  -webkit-text-fill-color: var(--color-primary);
  border-color: rgba(0, 87, 216, 0.55);
  transform: translateY(-1px);
}

/* Dark-band ghost (site CTA, dark heroes) */
.site-cta a.btn-modern-ghost,
.site-cta .btn-modern-ghost,
.hero .btn-modern-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.site-cta a.btn-modern-ghost:hover,
.site-cta .btn-modern-ghost:hover,
.hero .btn-modern-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border-color: #ffffff;
}

/* Ghost buttons on light sections (default ghost styles target dark heroes) */
.buyer-reasons--featured .btn-modern-ghost,
.insights-teaser .btn-modern-ghost,
.learn-home-teaser .btn-modern-ghost,
.fractional-cto-featured-actions .btn-modern-ghost,
.service-page--fractional-cto .service-page-actions .btn-modern-ghost,
.service-page--fractional-cto .fractional-cto-footer-actions .btn-modern-ghost {
  background: #ffffff;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a;
  border: 1.5px solid rgba(15, 23, 42, 0.35);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.buyer-reasons--featured .btn-modern-ghost:hover,
.insights-teaser .btn-modern-ghost:hover,
.learn-home-teaser .btn-modern-ghost:hover,
.fractional-cto-featured-actions .btn-modern-ghost:hover,
.service-page--fractional-cto .service-page-actions .btn-modern-ghost:hover,
.service-page--fractional-cto .fractional-cto-footer-actions .btn-modern-ghost:hover {
  background: rgba(0, 87, 216, 0.05);
  color: var(--color-primary) !important;
  -webkit-text-fill-color: var(--color-primary);
  border-color: rgba(0, 87, 216, 0.5);
  transform: translateY(-1px);
}

/* Media helpers */
@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Navbar - Modern Design
=============================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo a {
  text-decoration: none;
  font-size: 1.875rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.logo a span {
  background: linear-gradient(135deg, var(--color-primary-accent) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 39, 71, 0.12);
  border-radius: var(--radius-xs);
  background: #ffffff;
  color: var(--color-heading);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(0, 87, 216, 0.35);
  background: var(--color-primary-bg);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.navbar--open .nav-toggle-bars {
  background: transparent;
}

.navbar--open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar--open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.95rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-heading);
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-accent));
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-item-has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-trigger::before {
  content: none;
}

.nav-item-has-dropdown > .nav-dropdown-trigger::after {
  content: "";
  position: static;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background: none;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.35rem);
  min-width: 17.5rem;
  margin: 0;
  padding: 0.55rem 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(15, 39, 71, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 39, 71, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 80;
}

.nav-item-has-dropdown:hover > .nav-dropdown,
.nav-item-has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 0.65rem 1.1rem;
  color: var(--color-heading);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown li a::after {
  display: none;
}

.nav-dropdown li a:hover {
  background: rgba(0, 87, 216, 0.06);
  color: var(--color-primary);
}

.nav-dropdown-divider {
  height: 1px;
  margin: 0.4rem 0.9rem;
  background: rgba(15, 39, 71, 0.1);
}

/* ===============================
   Main Content
=============================== */
main {
  padding: 3rem 0;
}

/* ===============================
   Footer
=============================== */
.footer {
  background: linear-gradient(145deg, #003e91 0%, var(--color-primary) 45%, #0a58ca 100%);
  color: #ffffff;
  padding: 3.25rem 0 1.25rem;
  text-align: left;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(200px, 1.15fr) repeat(3, minmax(140px, 1fr));
  gap: 2.5rem 2rem;
  align-items: start;
  margin-bottom: 2.25rem;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1rem;
  font-weight: 700;
}

.footer-left h3,
.footer-wordmark {
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
  white-space: nowrap;
  font-weight: 800;
  color: #ffffff;
}

.footer-left p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 320px;
  line-height: 1.65;
  margin: 0;
  font-size: 0.98rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s, transform 0.2s;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.socials img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.25rem;
  text-align: center;
}

/* ICON STYLE */
.icon-circle {
  display: none;
}

.highlight-thumb-wrap {
  border-radius: 14px;
  overflow: hidden;
  height: 140px;
  margin: 0 auto 8px;
  border: 1px solid rgba(0, 87, 216, 0.1);
  box-shadow: 0 8px 24px rgba(10, 26, 46, 0.08);
  background: #eef2f6;
}
.highlight-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HERO - Modern Design */
.hero {
  background: linear-gradient(135deg, #0a58ca 0%, #003e91 50%, var(--color-primary) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: white;
  text-align: center;
  padding: clamp(5.5rem, 12vw, 7.5rem) 20px clamp(4.5rem, 10vw, 6.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero .headline {
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-extrabold);
  max-width: 950px;
  margin: 0 auto var(--space-5);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 auto 0.85rem;
}

.hero .subheadline {
  font-size: var(--font-size-sublead);
  max-width: 800px;
  margin: 0 auto var(--space-7);
  color: rgba(255, 255, 255, 0.95);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-normal);
}
.hero-ctas {
  display: flex;
  gap: var(--space-5);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-hero {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3.25rem;
  line-height: 1.25;
}
.btn-primary.btn-hero {
  background: #ffffff;
  color: var(--color-primary) !important;
  -webkit-text-fill-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}
.btn-primary.btn-hero:hover {
  background: var(--color-surface);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  color: var(--color-primary) !important;
  -webkit-text-fill-color: var(--color-primary);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* Section headers — spacing; type scale from typography.css */
section h2 {
  margin-bottom: var(--space-8);
}

section h3 {
  margin-bottom: var(--space-4);
}

/* Highlight intro */
.highlight-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* Slight animation on hover */
.service-card:hover,
.highlight-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Cards soft hover glow */
.service-card:hover .icon-circle svg {
  stroke: #007bff;
  transition: 0.3s;
}

/* Services: keep spacing tight without icons */
.service-card h3 {
  margin-top: 0;
}

/* ABOUT PAGE STYLING */
.about-hero {
  background: linear-gradient(135deg, #0a58ca, #003e91);
  color: #fff;
  text-align: center;
  padding: 120px 20px 100px;
}
.about-headline {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}
.about-subheadline {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
  color: #eaf3ff;
  line-height: 1.7;
}

.about-section {
  padding: 90px 20px;
  text-align: center;
}
.about-section h2 {
  color: #0a58ca;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
}
.about-section p {
  max-width: 850px;
  margin: 0 auto 20px;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Team (About + shared card styles) */
.team-section {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 45%);
  text-align: center;
}

.team-section .team-intro {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  color: var(--color-muted-strong);
  font-size: 1.05rem;
  line-height: 1.75;
}

.founder-message-quote {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding: 0;
  border: none;
  text-align: left;
  color: var(--color-text-secondary);
}

.founder-message-quote > p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.75;
  font-style: italic;
  font-weight: 500;
  color: #1e293b;
}

.founder-message-quote > p + p {
  margin-top: 1rem;
}

.founder-message-attribution {
  margin: 1.25rem 0 0;
  font-size: var(--font-size-sm, 0.875rem);
  font-style: normal;
  font-weight: 600;
  color: #0a58ca;
  letter-spacing: 0.02em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
  text-align: left;
}

.team-grid--crew {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 52rem;
  margin: 0.5rem auto 0;
}

.team-grid--crew .team-avatar {
  width: 120px;
  height: 120px;
}

@media (max-width: 768px) {
  .team-grid--crew {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 1.5rem);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft, 0 4px 18px rgba(15, 23, 42, 0.06));
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium, 0 12px 35px rgba(15, 23, 42, 0.12));
  border-color: rgba(0, 87, 216, 0.12);
}

.team-avatar-wrap {
  margin-bottom: 1rem;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(0, 87, 216, 0.15);
  background: #f0f7ff;
}

.team-card h3 {
  color: var(--color-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.team-title {
  display: block;
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  color: #0a58ca;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.team-bio {
  color: var(--color-muted-strong);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
}

.team-linkedin:hover {
  text-decoration: underline;
}

.team-linkedin svg {
  flex-shrink: 0;
}

.team-single {
  max-width: 26rem;
  margin: 0 auto;
}

.team-single .team-avatar {
  width: 120px;
  height: 120px;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.team-link-secondary {
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  color: var(--color-muted-soft);
  text-decoration: none;
}

.team-link-secondary:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Homepage founder / leadership callout */
.founder-callout {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #eef6ff 100%);
  border-bottom: 1px solid rgba(0, 87, 216, 0.08);
  padding: 2.75rem 20px;
}

.founder-callout-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.founder-callout-media {
  flex-shrink: 0;
}

.founder-callout-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 87, 216, 0.2);
  box-shadow: var(--shadow-soft, 0 4px 18px rgba(15, 23, 42, 0.08));
  background: #f0f7ff;
}

.founder-callout-copy {
  flex: 1 1 18rem;
  max-width: 40rem;
}

.founder-eyebrow {
  margin-bottom: 0.4rem;
}

.founder-callout-title {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.founder-callout-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted-soft);
  margin: 0 0 1.25rem;
}

.founder-callout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.founder-callout-linkedin {
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
}

.founder-callout-linkedin:hover {
  text-decoration: underline;
}

.founder-callout-linkedin--secondary {
  color: var(--color-muted-soft);
}

.founder-callout-linkedin--secondary:hover {
  color: #0a66c2;
}

@media (max-width: 768px) {
  .founder-callout-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-callout-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .founder-callout-actions .btn-modern-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* VALUES GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: 50px;
}
.value-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 48px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 87, 216, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 87, 216, 0.1);
}

.value-icon {
  display: none;
}

.value-card h3 {
  color: var(--color-heading);
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}


/* ===============================
   Home Page - What We Are Section
=============================== */
.what-we-are {
  background: linear-gradient(135deg, #f0f7ff, #ffffff);
  padding: 70px 20px;
  text-align: center;
}
.what-we-are h2 {
  color: #0a58ca;
  font-size: 2.2rem;
  margin-bottom: 25px;
}
.section-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

/* ===============================
   Brand Mission / Why We Build (Home)
   (restrained emphasis, no redesign)
=============================== */
.brand-mission {
  padding: 80px 20px;
  background: rgba(0, 87, 216, 0.035);
}

.mission-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
}

.mission-block {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  padding: 44px 38px;
  text-align: left;
}

.brand-mission h2 {
  color: #0a58ca;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}

.brand-mission p {
  max-width: 60ch;
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 1.05rem;
  margin: 0;
}

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .mission-block {
    padding: 34px 26px;
  }
}

/* Testimonials intro (frames product-user quotes) */
.testimonial-intro {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
  color: var(--color-muted-soft);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

/* Parent-brand supporting paragraph (Home + About) */
.brand-parent-note {
  max-width: 900px;
  margin: 26px auto 52px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(0, 87, 216, 0.04);
  border: 1px solid rgba(0, 87, 216, 0.12);
  color: var(--color-muted-strong);
  font-size: 1.02rem;
  line-height: 1.75;
}

.brand-parent-note--about {
  margin: 26px auto 0;
}

/* ===============================
   Services Grid Enhancement
=============================== */
.services {
  padding: 80px 20px;
  background: #ffffff;
}
.services h2 {
  text-align: center;
  margin-bottom: 60px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 87, 216, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 87, 216, 0.1);
}

.service-card h3 {
  color: var(--color-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 24px 0 18px;
  letter-spacing: -0.3px;
}

.service-card p {
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.05rem;
}
.service-example {
  background: #f7fbff;
  border-left: 4px solid var(--color-primary);
  padding: 20px;
  margin-top: 25px;
  border-radius: 8px;
  text-align: left;
}
.service-example h4 {
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-example p {
  margin: 0;
  font-size: 0.95rem;
}
.service-cta {
  margin-top: 25px;
  text-align: center;
}
.btn-inline {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-inline:hover {
  color: #003e91;
  transform: translateX(5px);
}

/* ===============================
   Highlights Section
=============================== */
.highlights {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7fbff, #ffffff);
  text-align: center;
}
.highlights h2 {
  margin-bottom: 20px;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}
.highlight-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 87, 216, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 87, 216, 0.1);
}

.highlight-card h3 {
  color: var(--color-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 20px 0 16px;
  letter-spacing: -0.3px;
}

.highlight-card p {
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.btn-outline {
  display: inline-block;
  background: #ffffff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary) !important;
  -webkit-text-fill-color: var(--color-primary);
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 87, 216, 0.25);
}

.highlight-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-outline--compact {
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: 999px;
}

/* ===============================
   Projects Page Enhancements
=============================== */
.tech-intro {
  background: linear-gradient(135deg, #f7fbff, #ffffff);
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
}
.tech-intro h3 {
  color: #0a58ca;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}
.tech-intro > p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.tech-stack {
  margin: 35px 0;
}
.tech-stack h4 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}
.tech-categories {
  display: grid;
  gap: 20px;
}
.tech-category {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.tech-category strong {
  color: #0a58ca;
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border: 1px solid rgba(0, 87, 216, 0.15);
  border-radius: 999px;
  color: #0a58ca;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 87, 216, 0.08);
  transition: all 0.25s ease;
}
.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 87, 216, 0.15);
  border-color: rgba(0, 87, 216, 0.25);
}
.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 87, 216, 0.12);
  font-size: 1rem;
  line-height: 1;
}
.tech-note {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e6e6e6;
}

.section-heading {
  color: #0a58ca;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}
.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ===============================
   Project Metrics Section
=============================== */
.project-metrics-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  padding: 90px 20px;
}
.project-metrics-section .section-heading {
  margin-bottom: 15px;
}
.project-metrics-section .section-subtitle {
  margin-bottom: 50px;
}

/* Metrics Card */
.metrics-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.metrics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 87, 216, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 87, 216, 0.1);
}
.metrics-card:last-child {
  margin-bottom: 0;
}

/* Metrics Header */
.metrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
  gap: 15px;
}
.metrics-header h3 {
  color: var(--color-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.status-live::before {
  content: "●";
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.status-beta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.status-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #2563eb, var(--color-primary));
  color: #ffffff;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.status-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28);
}

.metrics-category-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-heading);
  font-weight: 800;
  margin-top: 64px;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.metrics-category-heading .category-heading-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef6ff, #d1e3ff);
  flex-shrink: 0;
}
.metrics-category-heading .category-heading-label {
  line-height: 1.15;
}

.metrics-category-heading:first-of-type {
  margin-top: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* Metric Item */
.metric-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--color-surface), #ffffff);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 87, 216, 0.08);
  transition: all 0.3s ease;
}
.metric-item:hover {
  background: linear-gradient(135deg, #eef6ff, var(--color-surface));
  border-color: rgba(0, 87, 216, 0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 87, 216, 0.08);
}

.metric-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef6ff, #d1e3ff);
  border-radius: 12px;
}
.metric-icon img {
  display: block;
}

.metric-content {
  flex: 1;
  min-width: 0;
}

.metric-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: capitalize;
}

.metric-value {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

/* Responsive Metrics */
@media (max-width: 768px) {
  .metrics-card {
    padding: 30px 20px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metrics-header h3 {
    font-size: 1.5rem;
  }
  .metric-value {
    font-size: 1.1rem;
  }
}

/* ===============================
   Upcoming Projects Section
=============================== */
.upcoming-projects {
  background: linear-gradient(135deg, #f0f7ff, #ffffff);
  padding: 80px 20px;
}
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.upcoming-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 28px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}
.upcoming-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.upcoming-icon {
  margin-bottom: 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upcoming-card h3 {
  color: #0a58ca;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.upcoming-card h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(10, 88, 202, 0.35);
  text-underline-offset: 3px;
}
.upcoming-card h3 a:hover {
  text-decoration-color: #0a58ca;
}
.upcoming-card p {
  color: #555;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 20px;
}

.upcoming-card--with-preview {
  padding-top: 0;
  overflow: hidden;
}

.upcoming-card-preview {
  margin: 0 -28px 20px;
  border-bottom: 1px solid rgba(0, 87, 216, 0.1);
  background: #f1f5f9;
}

.upcoming-card-preview a {
  display: block;
  line-height: 0;
}

.upcoming-card-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.upcoming-card--with-preview p a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.upcoming-card--with-preview p a:hover {
  color: #003e91;
}
.status-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), #007bff);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge--next {
  background: linear-gradient(135deg, #2563eb, var(--color-primary));
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.status-badge--dev,
.status-badge--roadmap {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22);
}

.status-badge--live {
  background: linear-gradient(135deg, #059669, #0d9488);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.upcoming-store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.status-badge--link {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.status-badge--link:hover,
.status-badge--link:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.34);
}

.status-badge--link:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.28);
  outline-offset: 3px;
}

.upcoming-more {
  background: linear-gradient(135deg, #f7fbff, #eef6ff);
  border: 2px dashed var(--color-primary);
}

/* ===============================
   How We Work Section
=============================== */
.how-we-work {
  background: linear-gradient(135deg, var(--color-surface) 0%, #ffffff 100%);
  padding: 90px 20px;
}
.how-we-work h2 {
  text-align: center;
  color: #0a58ca;
  margin-bottom: 20px;
}
.how-we-work .section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
  column-gap: clamp(1.75rem, 4.5vw, 3rem);
  row-gap: clamp(2rem, 4vw, 2.75rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.process-step {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px 40px 28px;
  min-width: 0;
  box-shadow: 0 8px 25px rgba(0, 87, 216, 0.08);
  border: 2px solid rgba(0, 87, 216, 0.08);
  transition: all 0.3s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 87, 216, 0.15);
  border-color: rgba(0, 87, 216, 0.2);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 16px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: rgba(0, 87, 216, 0.08);
  line-height: 1;
  pointer-events: none;
  max-width: 45%;
  overflow: hidden;
  white-space: nowrap;
}

.step-icon {
  display: none;
}
.process-step:hover .step-icon {
  display: none;
}

.process-step h3 {
  color: #0a58ca;
  font-size: 1.3rem;
  margin-bottom: 15px;
  margin-right: 0.5rem;
  padding-right: 2.5rem;
  font-weight: 700;
  min-height: 2.6em;
}

.process-step p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: 0.98rem;
}

/* ===============================
   Why Choose Us Section
=============================== */
.why-choose-us {
  padding: 90px 20px;
  background: #ffffff;
}
.why-choose-us h2 {
  text-align: center;
  color: #0a58ca;
  margin-bottom: 60px;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}
.value-props-grid--five {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.25rem);
}

.value-prop {
  background: linear-gradient(135deg, #ffffff, var(--color-surface));
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 87, 216, 0.06);
  border: 1px solid rgba(0, 87, 216, 0.08);
  transition: all 0.3s ease;
}
.value-prop:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 87, 216, 0.12);
  border-color: rgba(0, 87, 216, 0.15);
}

.prop-icon {
  display: none;
}

.value-prop h3 {
  color: #0a58ca;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
  text-align: left;
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.value-prop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 15px;
}

.value-prop p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  text-align: left;
  width: 100%;
  max-width: none;
}

/* ===============================
   By The Numbers Section
=============================== */
.by-the-numbers {
  padding: 90px 20px;
  background: linear-gradient(135deg, #0a58ca, var(--color-primary));
  color: #ffffff;
  text-align: center;
}
.by-the-numbers h2 {
  color: #ffffff;
  margin-bottom: 18px;
}
.by-the-numbers .section-intro {
  color: rgba(255, 255, 255, 0.85);
  max-width: 780px;
  margin: 0 auto 55px;
  font-size: 1.1rem;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}
.number-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.number-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.number-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.number-label {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
}

.number-label-title {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.number-label-hint {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.5rem;
}

.number-label-sectors {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin: 0.35rem 0 0.25rem;
}

.number-card--highlight {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
}

.number-card--highlight .number-value {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

/* ===============================
   Trust Pillars Section
=============================== */
.trust-pillars {
  padding: 80px 20px;
  background: #ffffff;
}
.pillars-card {
  background: linear-gradient(135deg, var(--color-surface), #ffffff);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 12px 35px rgba(0, 87, 216, 0.12);
  border: 1px solid rgba(0, 87, 216, 0.08);
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}
.pillars-card h2 {
  color: #0a58ca;
  margin-bottom: 24px;
  text-align: left;
}
.pillars-intro {
  grid-column: 1 / -1;
  max-width: none;
  width: 100%;
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
  text-align: left;
}
.pillars-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.pillars-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.pillars-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(0, 87, 216, 0.65);
  font-weight: 800;
  line-height: 1.2;
}
@media (min-width: 900px) {
  .pillars-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 48px;
    align-items: start;
  }
  .pillars-card h2 {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }
  .pillars-intro {
    grid-column: 1 / -1;
    margin: 0 0 18px;
  }
  .pillars-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 36px;
  }
}
.check-icon {
  display: none;
}

/* ===============================
   Testimonial Section
=============================== */
.testimonial {
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--color-surface), #eef6ff);
}
.testimonial-eyebrow,
.testimonial-title,
.testimonial-intro {
  text-align: center;
}
.testimonial-title {
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--color-heading);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.testimonial-intro {
  max-width: 620px;
  margin: 0 auto 44px;
  color: var(--color-muted-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.testimonial-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 18px 45px rgba(0, 87, 216, 0.12);
  border: 1px solid rgba(0, 87, 216, 0.1);
}
.testimonial-product {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 87, 216, 0.08);
  color: #0a58ca;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.quote-icon {
  position: absolute;
  top: -22px;
  left: 35px;
  font-size: 4.5rem;
  color: rgba(0, 87, 216, 0.15);
  font-family: "Georgia", serif;
}
.testimonial-text {
  font-size: 1.05rem;
  color: #1f2937;
  line-height: 1.75;
  margin-bottom: 30px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.author-name {
  font-weight: 700;
  color: #0a58ca;
}
.author-role {
  color: var(--color-muted-soft);
  font-size: 0.95rem;
}
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
}
.author-badge::before {
  content: "✔";
  font-size: 0.9rem;
}

.alert-modern {
  padding: 16px 20px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 87, 216, 0.12);
}
.alert-success {
  background: rgba(34, 197, 94, 0.15);
  color: #047857;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.alert-error {
  background: rgba(248, 113, 113, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
}
.author-badge::before {
  content: "✔";
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .value-props-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .upcoming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 2.5rem);
    row-gap: clamp(1.75rem, 4vw, 2.25rem);
  }
}

@media (max-width: 600px) {
  .value-props-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .upcoming-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Button Enhancements
=============================== */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #007bff);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 87, 216, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 87, 216, 0.4);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* ===============================
   Contact Page Styling
=============================== */

/* Modern Contact Form Card */
.contact-form-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-surface) 100%);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 87, 216, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 87, 216, 0.06);
  transition: all 0.3s ease;
}
.contact-form-card:hover {
  box-shadow: 0 24px 70px rgba(0, 87, 216, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Form Header */
.form-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(0, 87, 216, 0.1);
}
.form-title {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.form-subtitle {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.site-messages {
  padding: 1rem 20px 0;
  max-width: var(--content-max-width, 72rem);
}

.site-message {
  margin: 0 0 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm, 0.75rem);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.site-message--success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success-deep, #059669);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.site-message--error {
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-danger, #dc2626);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.site-message--info {
  background: rgba(0, 87, 216, 0.08);
  color: #0a58ca;
  border: 1px solid rgba(0, 87, 216, 0.2);
}

.contact-form {
  margin-bottom: 2rem;
}

.form-field {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted-soft);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: rgba(0, 87, 216, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 87, 216, 0.12);
}

.form-control-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-control-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.form-errorlist {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-danger, #dc2626);
  font-size: 0.88rem;
}

.form-errorlist--nonfield {
  padding: 0.75rem 1rem;
  list-style: none;
  margin: 0 0 1rem;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.form-actions {
  margin-top: 1.5rem;
}

.form-actions .btn-submit-modern {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contact-scheduling {
  margin: 2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 87, 216, 0.12);
  text-align: left;
}

.contact-scheduling-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a58ca;
  margin: 0 0 0.5rem;
}

.contact-scheduling-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.contact-calendly-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 216, 0.12);
  background: #ffffff;
  min-height: 700px;
}

.contact-calendly-wrap .calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

.contact-scheduling-frame-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 216, 0.12);
  background: #f8fafc;
  min-height: 620px;
}

.contact-scheduling-iframe {
  display: block;
  width: 100%;
  min-height: 650px;
  border: 0;
}

.contact-scheduling-fallback {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-muted-soft);
}

.contact-scheduling-code {
  font-size: 0.82em;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
}

.contact-cta--secondary {
  margin-top: 1.25rem;
  text-align: center;
}

.btn-outline-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Contact page layout (enriched) */
.contact-page-inner {
  max-width: 1100px;
}

.contact-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a58ca;
  margin-bottom: 0.75rem;
}

.contact-page-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-muted-strong);
  max-width: 42rem;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 2rem;
  align-items: start;
}

.contact-what-next {
  margin: 2rem 0 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 87, 216, 0.12);
}

.contact-what-next-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a58ca;
  margin-bottom: 0.75rem;
}

.contact-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-steps li {
  margin-bottom: 0.65rem;
}

.contact-steps li:last-child {
  margin-bottom: 0;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 1.25rem;
  margin: 1.5rem 0 0.5rem;
  padding: 1.25rem;
  background: rgba(0, 87, 216, 0.04);
  border-radius: 16px;
  border: 1px solid rgba(0, 87, 216, 0.08);
}

.contact-fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted-soft);
}

.contact-fact-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.contact-fact-value[href] {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-fact-value[href]:hover {
  text-decoration: underline;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.contact-aside-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-aside-card--social {
  border-color: rgba(0, 87, 216, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface) 100%);
  min-width: 0;
}

.contact-aside-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.contact-aside-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
  margin: 0 0 0.85rem;
}

.contact-aside-text:last-child {
  margin-bottom: 0;
}

.muted-small {
  font-size: 0.88rem !important;
  color: var(--color-muted-soft) !important;
  margin-bottom: 1rem !important;
}

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

  .contact-aside {
    order: 2;
  }
}

/* Modern Form Groups */
.form-group-modern {
  margin-bottom: 28px;
  position: relative;
}

/* Modern Labels with Icons */
.form-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.form-label-modern svg {
  display: none;
}

/* Modern Form Controls */
.form-control-modern {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #2c3e50;
  background-color: #ffffff;
  border: 2px solid #e1e8f0;
  border-radius: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-control-modern:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(0, 87, 216, 0.08), 0 4px 12px rgba(0, 87, 216, 0.04);
  transform: translateY(-1px);
}
.form-control-modern::placeholder {
  color: #9ca3af;
}
textarea.form-control-modern {
  resize: vertical;
  min-height: 140px;
  max-height: 300px;
}
.form-control-modern.has-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #dc2626;
  font-weight: 600;
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Form Helper Text */
.form-text-helper {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: #6c757d;
  font-style: italic;
}

/* Modern Submit Button */
.btn-submit-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, #007bff 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 87, 216, 0.25);
  margin-top: 12px;
}
.btn-submit-modern:hover {
  background: linear-gradient(135deg, #004bb5 0%, #0066cc 100%);
  box-shadow: 0 12px 28px rgba(0, 87, 216, 0.35);
  transform: translateY(-2px);
}
.btn-submit-modern:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 87, 216, 0.3);
}
.btn-submit-modern svg {
  display: none;
}
.btn-submit-modern:hover svg {
  display: none;
}

.contact-cta {
  margin-top: 1.5rem;
}
.contact-cta .btn-submit-modern {
  text-decoration: none;
  box-sizing: border-box;
  min-height: 52px;
}
.contact-cta .btn-submit-modern svg {
  display: none;
}

/* Contact Form Enhancements */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
.bg-light {
  background-color: #f8f9fa !important;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 0.25rem;
}
.border-0 {
  border: 0 !important;
}
.shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.rounded-4 {
  border-radius: 1rem !important;
}
.display-6 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}
.fw-bold {
  font-weight: 700 !important;
}
.fw-semibold {
  font-weight: 600 !important;
}
.text-primary {
  color: var(--color-primary) !important;
}
.text-muted {
  color: #6c757d !important;
}
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}
.justify-content-center {
  justify-content: center !important;
}
.align-items-start {
  align-items: flex-start !important;
}
.g-5 {
  gap: 3rem;
}
.col-lg-10, .col-md-7, .col-md-4 {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}
.text-center {
  text-align: center !important;
}

/* Form Styles */
.form-label {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d1e3ff;
  appearance: none;
  border-radius: 12px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #007bff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}
.form-control-lg {
  min-height: calc(1.5em + 1.5rem + 2px);
  padding: 0.75rem 1.25rem;
  font-size: 1.1rem;
}
textarea.form-control {
  min-height: auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 50rem;
  transition: all 0.2s ease-in-out;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #007bff);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 87, 216, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #004bb5, #0066cc);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}
.px-5 {
  padding-right: 3rem !important;
  padding-left: 3rem !important;
}
.rounded-pill {
  border-radius: 50rem !important;
}

/* Contact Info Items */
.contact-info-item {
  transition: transform 0.2s ease;
}
.contact-info-item:hover {
  transform: translateX(4px);
}
.d-flex {
  display: flex !important;
}
.align-items-start {
  align-items: flex-start !important;
}
.me-3 {
  margin-right: 1rem !important;
}
.fs-4 {
  font-size: 1.5rem !important;
}

/* Social Links Grid */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}

/* Contact sidebar: stack links (narrow column). Must come after .social-links-grid — same specificity would otherwise lose cascade. */
.social-links-grid.social-links-grid--aside {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0.5rem;
  gap: 10px;
}
.social-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f7fbff, #eef6ff);
  border-radius: 12px;
  border: 2px solid #d1e3ff;
  text-decoration: none;
  color: #0a58ca;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease;
}
.social-link-card:link,
.social-link-card:visited {
  color: #0a58ca;
}
.social-link-card:hover {
  background: linear-gradient(135deg, #e8f2ff, #f0f7ff);
  color: #003e91;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 87, 216, 0.14);
}
.social-link-card:focus {
  outline: none;
}
.social-link-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.social-link-card svg {
  display: none;
}
.social-link-card span {
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
}

/* Contact sidebar: same height and hover treatment for every network */
.contact-aside-card--social .social-link-card {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  justify-content: flex-start;
}
.contact-aside-card--social .social-link-card:hover {
  background: linear-gradient(135deg, #e8f2ff, #f0f7ff);
  color: #003e91;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 87, 216, 0.14);
}
.small {
  font-size: 0.875em;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.ps-md-4 {
  padding-left: 1.5rem;
}

/* Bootstrap Icons Support */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
}
.bi-envelope-fill:before,
.bi-geo-alt-fill:before,
.bi-clock-fill:before,
.bi-share-fill:before {
  content: "●";
  font-size: 1.2em;
}

/* ===============================
   Responsive Design
=============================== */
@media (max-width: 900px) {
  .nav-item-has-dropdown {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.15rem 0 0.35rem;
    min-width: 0;
    background: transparent;
  }

  .nav-item-has-dropdown:hover > .nav-dropdown,
  .nav-item-has-dropdown:focus-within > .nav-dropdown {
    transform: none;
  }

  .nav-dropdown li a {
    padding: 0.35rem 0.25rem 0.35rem 0.85rem;
    white-space: normal;
    font-size: 0.86rem;
    color: var(--color-muted-strong);
  }

  .nav-dropdown-divider {
    display: none;
  }

  .navbar .container {
    flex-wrap: nowrap;
    row-gap: 0;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 2;
  }

  #primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 0.65rem 0 0.85rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  }

  .navbar--open #primary-nav {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    max-width: none;
    width: 100%;
    padding: 0 var(--container-padding);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    padding: 0.7rem 0.35rem;
  }

  .nav-links a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.35rem;
    box-sizing: border-box;
  }

  body.nav-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.15rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .socials {
    justify-content: center;
  }
  
  /* Contact Page Mobile Adjustments */
  .col-md-7, .col-md-4 {
    width: 100%;
    max-width: 100%;
  }
  
  .social-links-grid {
    grid-template-columns: 1fr;
  }
  
  .display-6 {
    font-size: 1.8rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
}

/* ===============================
   Learn Python page & home teaser
=============================== */
.learn-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.18em;
}

.learn-hero {
  background: linear-gradient(135deg, #0a58ca 0%, #003e91 45%, var(--color-primary) 100%);
  color: #fff;
  padding: 100px 20px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.learn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 20%,
    rgba(0, 153, 255, 0.2) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.learn-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
}

.learn-headline {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
}

.learn-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  margin: 0 auto;
}

.learn-lead strong {
  font-weight: 700;
  color: #fff;
}

.learn-partnership-banner {
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
  padding: 1.75rem 20px 2rem;
  border-bottom: 1px solid rgba(0, 87, 216, 0.1);
}

.learn-partnership-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.learn-partnership-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0 0 0.65rem;
  font-family: inherit;
}

.learn-partnership-text {
  margin: 0;
  font-size: clamp(1rem, 1.65vw, 1.12rem);
  line-height: 1.65;
  color: #1a2b45;
}

/* —— Product Hunt launch banner (homepage) —— */
.product-hunt-banner {
  background: linear-gradient(90deg, #fff4ee 0%, #fff9f5 50%, #eef5ff 100%);
  border-bottom: 1px solid rgba(218, 85, 47, 0.2);
  padding: 0.85rem var(--container-padding);
}

.product-hunt-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  text-align: center;
}

.product-hunt-banner-text {
  margin: 0;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.5;
  color: var(--color-text);
}

.product-hunt-banner-badge {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #da552f;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.product-hunt-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.product-hunt-banner-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  background: #da552f;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.product-hunt-banner-btn:hover {
  background: #c44a28;
  color: #fff;
}

.product-hunt-banner-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-article-cta-wrap {
  margin: 0 0 2rem;
}

.learn-partnership-text strong {
  color: #003e91;
}

.learn-body {
  padding-bottom: 4rem;
}

.learn-intro {
  margin-bottom: 3rem;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.learn-card {
  background: linear-gradient(145deg, #ffffff 0%, var(--color-surface) 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 87, 216, 0.1);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 87, 216, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 87, 216, 0.12);
}

.learn-card-icon {
  display: none;
}

.learn-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 87, 216, 0.12), rgba(0, 153, 255, 0.14));
  border: 1px solid rgba(0, 87, 216, 0.12);
  color: #0a58ca;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.learn-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.learn-card-copy {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-muted-soft);
  flex: 1;
  margin-bottom: 1.5rem;
}

.learn-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.learn-card-cta:hover {
  color: #003e91;
}

.learn-card-cta:hover .learn-card-cta-arrow {
  transform: translateX(4px);
}

.learn-card-cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.learn-footnote {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 87, 216, 0.15);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.learn-footnote p {
  font-size: 1rem;
  color: var(--color-muted-soft);
  line-height: 1.65;
}

.learn-footnote a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.learn-footnote a:hover {
  text-decoration: underline;
}

.learn-home-teaser {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #eef6ff 100%);
  border-top: 1px solid rgba(0, 87, 216, 0.08);
  border-bottom: 1px solid rgba(0, 87, 216, 0.06);
  padding: 3.5rem 20px;
}

.learn-home-section-eyebrow {
  text-align: center;
  margin-bottom: 1.5rem;
}

.learn-home-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.learn-home-card {
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.12);
  border-radius: 12px;
  padding: 1.75rem 1.6rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.learn-home-card-btn {
  margin-top: 1.35rem;
  align-self: flex-start;
}

.learn-home-teaser-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.learn-home-teaser-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted-strong);
  margin: 0;
  flex: 1;
}

.learn-home-teaser .learn-eyebrow {
  color: #0a58ca;
  margin-bottom: 0.5rem;
}

.learn-home-teaser-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .learn-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
}

@media (max-width: 768px) {
  .learn-home-cards {
    grid-template-columns: 1fr;
  }

  .learn-home-card-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

/* ===============================
   Projects page — pipeline, tech nexus, preview chrome
=============================== */

@keyframes mq-stroke-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mq-soft-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

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

.projects-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto 2.25rem;
}

.pipeline-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 8px 28px rgba(10, 20, 40, 0.08);
  border: 1px solid rgba(0, 87, 216, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pipeline-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 87, 216, 0.12);
}

.pipeline-card:hover::before {
  transform: scaleX(1);
}

.pipeline-card--terminal::before {
  background: linear-gradient(90deg, #059669, #10b981);
}

.pipeline-card-inner {
  display: grid;
  grid-template-columns: 1fr minmax(3.25rem, 4.5rem);
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.65rem 1.25rem 1.65rem 1.5rem;
  min-height: 7.5rem;
}

.pipeline-card-copy h3 {
  margin: 0 0 0.5rem;
  color: #0a58ca;
  font-size: 1.1rem;
  font-weight: 700;
}

.pipeline-card-copy p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.pipeline-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.pipeline-card--terminal .pipeline-card-visual {
  color: #059669;
}

.pipeline-anim-arrow {
  width: 3.25rem;
  height: auto;
  overflow: visible;
}

.pipeline-anim-arrow-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: mq-stroke-draw 1.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.25s;
}

.pipeline-card:nth-child(2) .pipeline-anim-arrow-path {
  animation-delay: 0.45s;
}

.pipeline-anim-check {
  width: 2.75rem;
  height: auto;
}

.pipeline-anim-check-ring,
.pipeline-anim-check-mark {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: mq-stroke-draw 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pipeline-anim-check-ring {
  animation-delay: 0.2s;
}

.pipeline-anim-check-mark {
  animation-delay: 0.65s;
}

.pipeline-card--terminal .pipeline-card-visual {
  animation: mq-soft-pulse 2.4s ease-in-out 1.4s infinite;
}

@media (max-width: 820px) {
  .projects-pipeline {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .pipeline-card-inner {
    grid-template-columns: 1fr auto;
  }

  .pipeline-card-visual--arrow .pipeline-anim-arrow {
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-anim-arrow-path,
  .pipeline-anim-check-ring,
  .pipeline-anim-check-mark {
    animation: none;
    stroke-dashoffset: 0;
  }

  .pipeline-card--terminal .pipeline-card-visual {
    animation: none;
  }

  .tech-chip {
    animation: none !important;
  }
}

/* Tech stack “nexus” (replaces flat category rows on projects) */
.tech-stack.tech-stack--nexus {
  margin: 2.5rem 0 1.5rem;
}

.tech-nexus-lead {
  text-align: center;
  color: var(--color-muted-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.tech-nexus {
  position: relative;
  border-radius: 24px;
  padding: 2.5rem 1.5rem 2rem;
  min-height: 300px;
  overflow: hidden;
  background: radial-gradient(
      ellipse 120% 80% at 50% 0%,
      rgba(0, 153, 255, 0.12),
      transparent 55%
    ),
    linear-gradient(165deg, #f0f7ff 0%, #ffffff 45%, #eef6ff 100%);
  border: 1px solid rgba(0, 87, 216, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tech-nexus-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 120deg,
    rgba(0, 87, 216, 0.06),
    rgba(0, 153, 255, 0.1),
    rgba(99, 102, 241, 0.08),
    rgba(0, 87, 216, 0.06)
  );
  animation: mq-nexus-spin 28s linear infinite;
  pointer-events: none;
}

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

.tech-nexus-core {
  position: relative;
  z-index: 2;
  margin: 0 auto 1.35rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e8f2ff);
  border: 2px solid rgba(0, 87, 216, 0.18);
  box-shadow: 0 12px 40px rgba(0, 87, 216, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-nexus-core-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.tech-nexus-orbit {
  position: absolute;
  inset: -0.5rem;
  border-radius: 50%;
  border: 1px dashed rgba(0, 87, 216, 0.2);
  pointer-events: none;
}

.tech-nexus-orbit--b {
  inset: -1rem;
  opacity: 0.6;
  animation: mq-nexus-spin 22s linear infinite reverse;
}

.tech-nexus-clusters {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.tech-nexus-cluster {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.tech-nexus-cluster-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a58ca;
  margin-bottom: 0.65rem;
}

.tech-nexus-burst {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
}

.tech-chip {
  animation: mq-tech-float 3.2s ease-in-out infinite;
  animation-delay: var(--d, 0ms);
}

@media (max-width: 640px) {
  .tech-nexus {
    min-height: 0;
    padding-bottom: 1.5rem;
  }

  .tech-nexus-glow {
    animation-duration: 48s;
  }

  .tech-nexus-clusters {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-nexus-glow {
    animation: none;
  }

  .tech-nexus-orbit--b {
    animation: none;
  }
}

/* Browser-style project thumbnails */
.project-preview-shell {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #f1f5f9 0%, var(--color-border) 100%);
}

.project-preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.project-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.project-preview-dot:nth-child(1) {
  background: #fb7185;
}

.project-preview-dot:nth-child(2) {
  background: #fbbf24;
}

.project-preview-dot:nth-child(3) {
  background: #34d399;
}

.project-preview-site {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-muted-soft);
  letter-spacing: 0.02em;
  max-width: 58%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.project-preview-viewport {
  height: 200px;
  overflow: hidden;
  background: #0f172a;
}

.project-preview-viewport--image {
  background: #0b1220;
}

.project-preview-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-live-preview--image {
  display: block;
  padding: 0;
  min-height: 0;
  background: transparent;
}

.project-card:hover .project-preview-image {
  transform: scale(1.04);
}

.project-preview-viewport .project-thumb--landing {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-preview-viewport .project-thumb--landing {
  transform: scale(1.06);
}

/* Home — value prop checkmarks (stroke draws when .value-prop--inview, set by home.html) */
.value-prop {
  position: relative;
}

.value-prop-mark {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: #059669;
  pointer-events: none;
  margin-top: 0.1rem;
}

.value-prop-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.value-prop-mark-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: none;
}

.value-prop--inview .value-prop-mark-path {
  animation: mq-stroke-draw 1.05s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.value-props-grid--five .value-prop:nth-child(1).value-prop--inview .value-prop-mark-path {
  animation-delay: 0.05s;
}

.value-props-grid--five .value-prop:nth-child(2).value-prop--inview .value-prop-mark-path {
  animation-delay: 0.15s;
}

.value-props-grid--five .value-prop:nth-child(3).value-prop--inview .value-prop-mark-path {
  animation-delay: 0.25s;
}

.value-props-grid--five .value-prop:nth-child(4).value-prop--inview .value-prop-mark-path {
  animation-delay: 0.35s;
}

.value-props-grid--five .value-prop:nth-child(5).value-prop--inview .value-prop-mark-path {
  animation-delay: 0.45s;
}

.value-prop--stack-fantasy {
  background: linear-gradient(
      135deg,
      #ffffff 0%,
      #f0f9ff 40%,
      #eef2ff 100%
    );
  border-color: rgba(99, 102, 241, 0.15);
  overflow: hidden;
  padding-bottom: 2.5rem;
}

.value-prop--stack-fantasy::after {
  content: "";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 4.25rem;
  height: 2.75rem;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(0, 87, 216, 0.1),
    rgba(99, 102, 241, 0.08)
  );
  opacity: 0.5;
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 0;
}

.value-prop--stack-fantasy .value-prop-head,
.value-prop--stack-fantasy p {
  position: relative;
  z-index: 1;
}

.value-prop--stack-fantasy .value-prop-mark {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .value-prop-mark-path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}

/* ===============================
   Home services — compact tiles
=============================== */
.services--compact .services-compact-intro {
  text-align: center;
  max-width: 42rem;
  margin: -2.5rem auto 2.75rem;
  color: var(--color-muted-strong);
  font-size: 1.08rem;
  line-height: 1.65;
}

.service-grid--compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-tile {
  background: linear-gradient(145deg, #ffffff 0%, var(--color-surface) 100%);
  border: 1px solid rgba(0, 87, 216, 0.1);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 87, 216, 0.06);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 87, 216, 0.12);
}

.service-tile h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--color-heading);
  line-height: 1.3;
}

.service-tile-tagline {
  margin: 0 0 1.25rem;
  color: var(--color-muted-strong);
  font-size: 0.98rem;
  line-height: 1.6;
  flex: 1;
}

.service-tile-cta {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.98rem;
}

.service-tile-cta:hover {
  color: #003e91;
}

.services-compact-foot {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-muted-soft);
  font-size: 0.98rem;
}

.services-compact-foot a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.services-compact-foot a:hover {
  text-decoration: underline;
}

.gbp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.gbp-service-tile {
  text-align: left;
}

.services-supplemental {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
}

.services-supplemental-title {
  font-size: 1.1rem;
  color: var(--color-heading);
  margin: 0 0 1.25rem;
  text-align: center;
}

.service-grid--also {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.service-hub-section {
  padding: 0 20px 2rem;
}

.service-hub-section-title {
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--color-heading);
}

.service-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.service-hub-band {
  padding: 0 20px 2.5rem;
}

.service-hub-band .service-hub-section-title {
  margin-bottom: 1.25rem;
}

.service-hub-grid--three {
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
}

.service-hub-grid--also {
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-subheading {
  margin-top: 1.75rem;
}

.footer-hours {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.footer-contact a {
  display: inline-block;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .service-grid--compact,
  .gbp-services-grid,
  .service-grid--also,
  .service-hub-grid--also {
    grid-template-columns: 1fr;
  }
}

/* Education positioning (consultancy vs learning) */
.education-bridge {
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 87, 216, 0.12);
  background: rgba(0, 87, 216, 0.04);
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.education-bridge p {
  margin: 0;
}

.learn-body .education-bridge {
  margin-bottom: 0;
}

.learn-education-wrap {
  padding: 1.5rem 20px 0;
}

.about-education-wrap {
  padding: 0 20px 2.5rem;
}

.about-education-wrap .education-bridge {
  max-width: none;
  margin: 0;
}

/* Project modal narrative + split actions */
.case-narrative h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.case-narrative p {
  margin: 0 0 0.65rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.case-narrative ul {
  margin: 0 0 0.5rem 1.1rem;
  padding: 0;
  color: var(--color-text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}

.modal-case-study-link {
  margin: 1rem 0 0;
}

.project-actions--split {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.project-actions--split .btn-outline {
  text-align: center;
  justify-content: center;
}

/* Case study detail page */
.case-study-page {
  padding-bottom: 4rem;
}

.case-study-hero {
  background: linear-gradient(135deg, #0a58ca 0%, #003e91 50%, var(--color-primary) 100%);
  color: #fff;
  padding: 4.5rem 20px 3rem;
}

.case-study-hero-inner {
  max-width: 44rem;
}

.case-study-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.case-study-eyebrow a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.case-study-eyebrow a:hover {
  border-bottom-color: #fff;
}

.case-study-badge {
  display: inline-flex !important;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}

.case-study-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.case-study-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.75rem;
}

.case-study-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-study-body {
  max-width: 44rem;
  padding-top: 2.5rem;
}

.case-study-section h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--color-heading);
}

.case-study-section p,
.case-study-section li {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1.02rem;
}

.case-study-list {
  margin: 0;
  padding-left: 1.25rem;
}

.case-study-tags {
  margin-top: 0.5rem;
}

.case-study-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 87, 216, 0.12);
}

.case-study-footer-cta {
  margin-top: 1rem;
  color: var(--color-muted-strong);
}

.case-study-footer-cta a {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.case-study-footer-cta a:hover {
  text-decoration: underline;
}

.case-study-domain a {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.case-study-domain a:hover {
  text-decoration: underline;
}

.case-study-mobile-status {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-muted-strong);
}

.commercial-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.commercial-plan-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #fff;
}

.commercial-plan-name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.commercial-plan-price {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.commercial-plan-highlights {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--color-muted-strong);
}

.project-live-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 180px;
  width: 100%;
  padding: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(145deg, #0f2744 0%, #1a4a8a 55%, #2563b8 100%);
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.project-live-preview--modal {
  min-height: 220px;
  border-radius: 12px;
}

.project-live-preview-domain {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-live-preview-label {
  font-size: 0.88rem;
  opacity: 0.9;
}

.project-live-preview:hover {
  color: #fff;
  filter: brightness(1.06);
}

.client-work-hero,
.client-work-detail-hero {
  padding: 3rem 20px 2rem;
  background: linear-gradient(180deg, var(--color-surface) 0%, #fff 100%);
}

.client-work-list-section {
  padding-bottom: 4rem;
}

.client-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.client-work-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.35rem;
  background: #fff;
}

.client-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--color-muted-strong);
}

.client-work-client {
  font-weight: 600;
  color: var(--color-primary);
}

.client-work-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.client-work-title a {
  color: var(--color-heading);
  text-decoration: none;
}

.client-work-title a:hover {
  color: var(--color-primary);
}

.client-work-type {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-muted-strong);
}

.client-work-summary {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.client-work-detail-client {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.client-work-detail-meta {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted-strong);
}

.client-work-detail-body {
  padding-bottom: 4rem;
}

.client-work-quote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-surface);
  border-radius: 0 8px 8px 0;
}

.client-work-quote footer {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted-strong);
}

.client-work-detail-foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.upcoming-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.upcoming-card-cta {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  text-decoration: none;
}

.upcoming-card-cta:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.upcoming-grid--roadmap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.project-grid--live {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-grid--featured,
.project-grid--ops {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid--narrow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}

.project-grid--narrow:has(.project-card:only-child) {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

@media (max-width: 1100px) {
  .project-grid--live,
  .project-grid--featured,
  .project-grid--ops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .project-grid--live,
  .project-grid--featured,
  .project-grid--ops,
  .project-grid--narrow {
    grid-template-columns: 1fr;
  }
}

.portfolio-live {
  padding-top: 0.5rem;
}

.portfolio-live-intro {
  text-align: center;
  padding: 0 20px 1.5rem;
}

.portfolio-live-lead {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  color: var(--color-muted-strong);
  font-size: 1.05rem;
  line-height: 1.65;
}

.portfolio-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.portfolio-jump-link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 87, 216, 0.18);
  background: #fff;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.portfolio-jump-link:hover {
  background: var(--color-primary-bg);
  border-color: rgba(0, 87, 216, 0.35);
}

.project-category-section--group {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  scroll-margin-top: 5rem;
}

.project-category-section--group:first-of-type {
  padding-top: 1.5rem;
}

.category-header--group {
  margin-bottom: 2rem;
}

.category-header--group .category-heading {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.project-metrics-details {
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.project-metrics-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--color-heading);
}

.project-metrics-summary::-webkit-details-marker {
  display: none;
}

.project-metrics-summary-title {
  font-size: 1.1rem;
}

.project-metrics-summary-hint {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-muted-strong);
}

.project-metrics-details-body {
  padding: 0 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.project-metrics-details-body .section-subtitle {
  margin-top: 0.75rem;
}

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

#portfolio-roadmap,
#portfolio-metrics {
  scroll-margin-top: 5rem;
}

/* Services hub + long-form service pages */
.service-hub-hero {
  padding: 3rem 20px 2.25rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-surface) 0%, #fff 100%);
}

.service-hub-hero--compact {
  padding-bottom: 1.5rem;
}

.service-hub-proof {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--color-muted-strong);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
}

.service-hub-title {
  font-size: clamp(2rem, 4vw, 2.65rem);
  margin: 0.5rem 0 1rem;
  color: var(--color-heading);
}

.service-hub-lead {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--color-muted-strong);
  line-height: 1.65;
  font-size: 1.08rem;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 20px 1rem;
  max-width: 1100px;
}

.service-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 87, 216, 0.1);
  padding: 1.75rem 1.5rem;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 87, 216, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-hub-card--interactive {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-hub-card--interactive h2 a {
  color: inherit;
  text-decoration: none;
}

.service-hub-card--interactive h2 a:hover {
  color: var(--color-primary);
}

.service-hub-card--interactive .service-hub-card-cta {
  margin-top: auto;
  text-decoration: none;
}

.service-hub-card--interactive .service-hub-card-cta:hover {
  text-decoration: underline;
}

.service-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 87, 216, 0.12);
}

.service-hub-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
  color: var(--color-heading);
}

.service-hub-card p {
  margin: 0 0 1rem;
  color: var(--color-muted-strong);
  font-size: 0.98rem;
  line-height: 1.55;
}

.service-hub-card-cta {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.service-hub-card--featured {
  border-color: rgba(0, 87, 216, 0.22);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  box-shadow: 0 10px 32px rgba(0, 87, 216, 0.1);
}

.service-hub-card--featured.service-hub-card--interactive {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-hub-card--featured h2 {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}

.service-hub-card--featured h2 a {
  color: inherit;
  text-decoration: none;
}

.service-hub-card--featured h2 a:hover {
  color: var(--color-primary);
}

.service-hub-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1rem 0 0;
}

.service-hub-card--featured .service-hub-card-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.service-hub-card--featured .service-hub-card-cta {
  margin-top: 0.85rem;
}

.service-hub-card-action {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.service-hub-card-action:hover {
  text-decoration: underline;
}

.service-hub-card-action--primary {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.service-hub-card-action--primary:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
  color: #fff;
}

.service-hub-scheduling-cta {
  text-align: center;
  margin: 2rem 0 0;
}

.fractional-cto-scheduling {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.fractional-cto-scheduling h2 {
  margin-bottom: 0.5rem;
}

.fractional-cto-scheduling > p {
  margin-bottom: 1.25rem;
  color: var(--color-muted-strong);
  line-height: 1.6;
}

.fractional-cto-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.fractional-cto-pdf-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-muted-soft);
}

.fractional-cto-pdf-note a {
  color: var(--color-muted-strong);
}

.fractional-cto-pdf {
  margin-bottom: 2.75rem;
  padding: 1.5rem 1.65rem;
  background: rgba(0, 87, 216, 0.04);
  border: 1px solid rgba(0, 87, 216, 0.1);
  border-radius: 14px;
}

.fractional-cto-pdf h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--color-heading);
}

.fractional-cto-pdf > p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-muted-strong);
}

.fractional-cto-pdf-actions {
  margin: 1.15rem 0 0;
}

.fcto-onepager {
  margin-bottom: 1rem;
}

.fcto-onepager-hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.fcto-onepager-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.fcto-onepager-headline {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: var(--color-heading);
}

.fcto-onepager-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fcto-onepager-section-title {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  color: var(--color-heading);
  text-align: center;
}

.fcto-onepager-grid--services {
  margin-bottom: 2.5rem;
}

.fcto-onepager-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fcto-onepager-card {
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: #fff;
}

.fcto-onepager-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  color: var(--color-heading);
}

.fcto-onepager-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted-strong);
}

.fcto-onepager-grid--facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.fcto-onepager-fact {
  padding: 1.25rem 1.35rem;
  border-radius: 0.75rem;
  background: var(--color-surface-alt);
  border: 1px solid #dbeafe;
}

.fcto-onepager-fact h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--color-heading);
}

.fcto-onepager-fact ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted-strong);
}

.fcto-onepager-products {
  margin-bottom: 2.5rem;
}

.fcto-onepager-product-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 42rem;
}

.fcto-onepager-product-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-muted-strong);
}

.fcto-onepager-product-list li:last-child {
  border-bottom: none;
}

.fcto-onepager-product-list a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.fcto-onepager-product-list a:hover {
  text-decoration: underline;
}

.fcto-onepager-process {
  margin-bottom: 2rem;
}

.fcto-onepager-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fcto-onepager-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: #fff;
}

.fcto-onepager-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.fcto-onepager-steps h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--color-heading);
}

.fcto-onepager-steps p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-muted-strong);
}

.fcto-onepager-ready {
  text-align: center;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-heading);
}

@media (max-width: 1000px) {
  .fcto-onepager-cards,
  .fcto-onepager-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fcto-onepager-grid--facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .fcto-onepager-cards,
  .fcto-onepager-steps {
    grid-template-columns: 1fr;
  }
}

/* Fractional leadership — shared role cards */
.fractional-leadership-hub {
  padding: 3rem 20px;
  background: linear-gradient(135deg, rgba(0, 87, 216, 0.06), rgba(255, 255, 255, 0.98));
  border-bottom: 1px solid rgba(0, 87, 216, 0.08);
}

.fractional-leadership-hub-header {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.fractional-leadership-hub-eyebrow {
  margin-bottom: 0.5rem;
}

.fractional-leadership-hub-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-heading);
}

.fractional-leadership-hub-lead {
  margin: 0;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fractional-leadership-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  align-items: center;
}

.fractional-leadership-hub .fractional-leadership-roles {
  margin: 0;
}

.fractional-leadership-hub .btn-modern-ghost,
.fractional-leadership-hub-actions .btn-modern-ghost {
  background: #ffffff;
  color: #0f2747;
  border: 2px solid #0f2747;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.fractional-leadership-hub .btn-modern-ghost:hover,
.fractional-leadership-hub-actions .btn-modern-ghost:hover {
  background: #0f2747;
  color: #ffffff;
  border-color: #0f2747;
}

.fractional-leadership-roles-heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-heading);
}

.fractional-leadership-roles-intro {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fractional-leadership-roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.fractional-leadership-role-card {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(10, 26, 46, 0.06);
}

.fractional-leadership-role-card--qa {
  border-color: rgba(15, 39, 71, 0.18);
  background: linear-gradient(180deg, rgba(15, 39, 71, 0.03) 0%, #fff 100%);
}

.fractional-leadership-role-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.fractional-leadership-role-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 87, 216, 0.12);
  color: var(--color-primary);
}

.fractional-leadership-role-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--color-heading);
}

.fractional-leadership-role-subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
}

.fractional-leadership-role-card > p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--color-muted-strong);
  font-size: 0.96rem;
}

.fractional-leadership-role-list,
.fractional-leadership-role-when {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  line-height: 1.6;
  color: var(--color-muted-strong);
  font-size: 0.94rem;
}

.fractional-leadership-role-when-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.fractional-leadership-role-when {
  margin-bottom: 0;
}

.fcto-page .fractional-leadership-roles {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.fcto-page-section-lead {
  margin: -0.25rem 0 1.25rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.service-page-eyebrow {
  margin-bottom: 0.65rem;
}

/* Fractional CTO — services hub featured block (legacy) */
.fractional-cto-featured {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(0, 87, 216, 0.06), rgba(255, 255, 255, 0.98));
  border-bottom: 1px solid rgba(0, 87, 216, 0.08);
}

.fractional-cto-featured-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.fractional-cto-featured-eyebrow {
  margin-bottom: 0.5rem;
}

.fractional-cto-featured-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-heading);
}

.fractional-cto-featured-copy > p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fractional-cto-featured-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted-strong);
}

.fractional-cto-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
  align-items: center;
}

.fractional-cto-when {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(10, 26, 46, 0.06);
}

.fractional-cto-when h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.fractional-cto-when ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fractional-cto-when li + li {
  margin-top: 0.65rem;
}

/* Fractional QA leadership teaser (services hub) */
.fcto-qa-leadership-teaser {
  padding: 2.75rem 20px;
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.04) 0%, rgba(0, 87, 216, 0.06) 100%);
  border-top: 1px solid rgba(0, 87, 216, 0.08);
  border-bottom: 1px solid rgba(0, 87, 216, 0.08);
}

.fcto-qa-leadership-teaser-inner {
  max-width: 48rem;
}

.fcto-qa-leadership-teaser-eyebrow {
  margin-bottom: 0.5rem;
}

.fcto-qa-leadership-teaser h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  color: var(--color-heading);
}

.fcto-qa-leadership-teaser-roles {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.fcto-qa-leadership-teaser-copy > p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fcto-qa-leadership-teaser-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fcto-qa-leadership-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
}

.fcto-qa-leadership-teaser .btn-modern-ghost {
  background: #ffffff;
  color: #0f2747;
  border: 2px solid #0f2747;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.fcto-qa-leadership-teaser .btn-modern-ghost:hover {
  background: #0f2747;
  color: #ffffff;
  border-color: #0f2747;
}

/* Upcoming e-commerce monitoring teaser */
.upcoming-service-teaser {
  padding: 2.75rem 20px 3.25rem;
  background: #0f2747;
  color: #fff;
}

.upcoming-service-teaser-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.upcoming-service-teaser-eyebrow {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.5rem;
}

.upcoming-service-teaser h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  color: #fff;
}

.upcoming-service-teaser-platforms {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.upcoming-service-teaser-inner > p {
  margin: 0 0 1.5rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.upcoming-service-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.upcoming-service-teaser-block {
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.upcoming-service-teaser-block h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: #fff;
}

.upcoming-service-teaser-block p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.upcoming-service-teaser-block ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.6;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.85);
}

.upcoming-service-teaser-block li + li {
  margin-top: 0.45rem;
}

.upcoming-service-teaser-note {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.upcoming-service-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
}

.upcoming-service-teaser .btn-modern-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.upcoming-service-teaser .btn-modern-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* Fractional CTO dedicated page sections */
.service-page-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted-soft);
}

.service-page-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.service-page-breadcrumb span {
  margin: 0 0.35rem;
}

.service-page-support {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fcto-page-section {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.fcto-page-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fcto-page-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--color-heading);
}

.fcto-page-section > p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fcto-page-subsection {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: rgba(0, 87, 216, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(0, 87, 216, 0.08);
}

.fcto-page-subsection h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.fcto-page-subtitle {
  margin: 1.75rem 0 1rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.fcto-proof-section .fcto-onepager-product-list {
  margin-bottom: 0;
}

.fcto-proof-section .fcto-page-note--portfolio {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.98rem;
  color: var(--color-muted-strong);
}

.fcto-page-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted-strong);
}

.fcto-page-list li + li {
  margin-top: 0.5rem;
}

.fcto-page-list--compact li + li {
  margin-top: 0.35rem;
}

.fcto-engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fcto-engagement-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.1);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(10, 26, 46, 0.04);
}

.fcto-engagement-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--color-heading);
}

.fcto-engagement-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-muted-strong);
  font-size: 0.95rem;
}

.fcto-engagement-card--featured {
  border-color: rgba(0, 87, 216, 0.28);
  background: linear-gradient(180deg, rgba(0, 87, 216, 0.06) 0%, #fff 100%);
  box-shadow: 0 10px 28px rgba(0, 87, 216, 0.1);
}

.fcto-engagement-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 87, 216, 0.12);
  color: var(--color-primary);
}

.fcto-packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.fcto-package-card {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 26, 46, 0.05);
}

.fcto-package-number {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.fcto-package-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: var(--color-heading);
}

.fcto-package-audience {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--color-muted-strong);
  font-weight: 600;
}

.fcto-package-subtitle {
  margin: 1rem 0 0.45rem;
  font-size: 0.92rem;
  color: var(--color-heading);
}

.fcto-package-meta {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 39, 71, 0.1);
  display: grid;
  gap: 0.85rem;
}

.fcto-package-meta dt {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.fcto-package-meta dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--color-heading);
  font-weight: 600;
}

.fcto-retainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.fcto-retainer-card {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 26, 46, 0.05);
  display: flex;
  flex-direction: column;
}

.fcto-retainer-card--featured {
  border-color: rgba(0, 87, 216, 0.28);
  background: linear-gradient(180deg, rgba(0, 87, 216, 0.06) 0%, #fff 55%);
  box-shadow: 0 12px 32px rgba(0, 87, 216, 0.12);
}

.fcto-retainer-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  color: var(--color-heading);
}

.fcto-retainer-price {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.fcto-retainer-price--request {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-muted-strong);
}

.fcto-retainer-hours {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-heading);
}

.fcto-retainer-best-for {
  margin: auto 0 0;
  padding-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-muted-strong);
}

.fcto-retainer-cta {
  margin-top: 1.75rem;
  padding: 1.5rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.04) 0%, rgba(0, 87, 216, 0.07) 100%);
  border: 1px solid rgba(0, 87, 216, 0.14);
  text-align: center;
}

.fcto-retainer-cta h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--color-heading);
}

.fcto-retainer-cta p {
  margin: 0 0 1.1rem;
  color: var(--color-muted-strong);
  line-height: 1.55;
}

.fcto-qa-leadership {
  padding: 1.5rem 1.35rem;
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.04) 0%, rgba(0, 87, 216, 0.06) 100%);
  border: 1px solid rgba(0, 87, 216, 0.14);
  border-radius: 16px;
}

.fcto-qa-leadership-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(0, 87, 216, 0.12);
  color: var(--color-primary);
}

.fcto-qa-leadership-roles {
  margin: 0 0 1rem !important;
  font-weight: 600;
  color: var(--color-primary) !important;
}

.fcto-page-note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted-soft);
}

.fcto-page-note a {
  color: var(--color-primary);
  font-weight: 600;
}

.fcto-dayplan {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.fcto-dayplan li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(0, 87, 216, 0.035);
  border-radius: 12px;
  border: 1px solid rgba(0, 87, 216, 0.08);
}

.fcto-dayplan strong {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.fcto-dayplan span {
  line-height: 1.6;
  color: var(--color-muted-strong);
}

.fcto-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.fcto-proof-card {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
}

.fcto-proof-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  color: var(--color-heading);
}

.fcto-proof-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-muted-strong);
}

.fcto-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fcto-credentials li {
  padding: 0.5rem 0.95rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
}

.fcto-faq {
  margin: 0;
}

.fcto-faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.fcto-faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fcto-faq dt {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--color-heading);
}

.fcto-faq dd {
  margin: 0;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.fractional-cto-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.hero .subheadline a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero .subheadline a:hover {
  color: #dbeafe;
}

.what-we-do-pillars {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  counter-reset: what-we-do;
}

.what-we-do-pillars > li {
  counter-increment: what-we-do;
  background: linear-gradient(145deg, #ffffff 0%, var(--color-surface) 100%);
  border: 1px solid rgba(0, 87, 216, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 87, 216, 0.06);
}

.what-we-do-pillars > li::before {
  content: counter(what-we-do, decimal-leading-zero);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
}

.what-we-do-pillars h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--color-heading);
}

.what-we-do-pillars h3 a {
  color: inherit;
  text-decoration: none;
}

.what-we-do-pillars h3 a:hover {
  color: var(--color-primary);
}

.what-we-do-pillars p {
  margin: 0;
  color: var(--color-muted-strong);
  font-size: 0.96rem;
  line-height: 1.55;
}

.what-we-do-qa-ladder {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.9rem;
}

.what-we-do-qa-ladder a {
  font-weight: 600;
}

.service-tile-ladder {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.service-tile-ladder a {
  font-weight: 600;
}

.service-page-cta-links {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.gbp-service-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.gbp-service-tile h3 a:hover {
  text-decoration: underline;
}

.service-tile--featured {
  max-width: 1100px;
  margin: 0 auto 2rem;
  border: 2px solid rgba(0, 87, 216, 0.22);
  background: linear-gradient(145deg, #f5f9ff 0%, #ffffff 70%);
  box-shadow: 0 10px 36px rgba(0, 87, 216, 0.1);
}

.service-tile-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.service-tile-bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--color-muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-tile-bullets li + li {
  margin-top: 0.35rem;
}

.services-group-title {
  font-size: 1.15rem;
  color: var(--color-heading);
  margin: 0 auto 1.25rem;
  text-align: center;
  max-width: 1100px;
}

.site-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .what-we-do-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .fractional-cto-featured-inner {
    grid-template-columns: 1fr;
  }

  .fractional-leadership-roles-grid {
    grid-template-columns: 1fr;
  }

  .fcto-engagement-grid,
  .fcto-packages-grid,
  .fcto-retainer-grid,
  .fcto-proof-grid,
  .upcoming-service-teaser-grid {
    grid-template-columns: 1fr;
  }

  .fcto-dayplan li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.service-hub-foot {
  text-align: center;
  padding: 1rem 20px 3.5rem;
  color: var(--color-muted-soft);
}

.service-hub-foot a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

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

.service-page-hero {
  padding: 3rem 20px 2.25rem;
  background: linear-gradient(180deg, var(--color-surface) 0%, #fff 100%);
}

.service-page-hero-inner {
  max-width: 56rem;
}

.service-page-eyebrow {
  margin-bottom: var(--space-3);
}

.service-page-title {
  margin: 0 0 var(--space-4);
}

.service-page-lead {
  margin: 0 0 var(--space-5);
}

.service-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.service-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: var(--space-7);
  align-items: start;
  padding: var(--space-6) var(--container-padding) var(--space-10);
  max-width: min(1280px, 94vw);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.service-page-layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(1100px, 94vw);
  margin-left: auto;
  margin-right: auto;
}

.service-page--fractional-cto .service-page-hero-inner,
.service-page--qa-hub .service-page-hero-inner {
  max-width: 60rem;
}

.service-page--fractional-cto .service-page-layout {
  max-width: min(1280px, 94vw);
  grid-template-columns: minmax(0, 1fr);
}

.service-page-cta-links {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  max-width: none;
}

.service-page-main {
  min-width: 0;
}

.prose-service ul {
  margin: var(--space-2) 0 var(--space-4) 1.2rem;
  padding: 0;
}

.service-page-cta {
  margin-top: var(--space-7);
}

.service-aside {
  position: sticky;
  top: var(--navbar-offset);
  padding: var(--space-5) var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-primary);
  background: var(--color-surface);
}

.service-page-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.service-page-eyebrow a:hover {
  text-decoration: underline;
}

.service-aside-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
}

.service-aside-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1.25rem 0 0.5rem;
  color: var(--color-muted-soft);
}

.service-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-aside-list li {
  margin-bottom: 0.45rem;
}

.service-aside-list a {
  color: #0f172a;
  text-decoration: none;
  font-size: 0.95rem;
}

.service-aside-list a:hover {
  color: var(--color-primary);
}

.service-aside-list--compact a {
  font-size: 0.9rem;
  color: var(--color-muted-strong);
}

@media (max-width: 960px) {
  .service-page-layout {
    grid-template-columns: 1fr;
  }
  .service-aside {
    position: static;
  }
}

/* —— Marketing intake (May 2026) —— */
.hero-proof {
  margin: 0 auto var(--space-3);
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  max-width: 38rem;
}

.hero-production-line {
  margin: 0 auto var(--space-5);
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  max-width: 34rem;
  line-height: 1.5;
}

.nav-links a.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-xs);
  font-weight: var(--font-weight-semibold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-links a.nav-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-white) !important;
}

.site-cta {
  padding: var(--space-8) var(--container-padding);
  background: linear-gradient(180deg, var(--color-heading) 0%, var(--color-heading-deep) 100%);
  color: var(--color-on-dark-soft);
}

.site-cta-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.site-cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 var(--space-4);
  color: var(--color-white);
}

.site-cta-text,
.site-cta-tagline {
  margin: 0 0 var(--space-4);
  line-height: var(--line-height-normal);
  color: var(--color-on-dark-soft);
}

.site-cta-tagline {
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.site-cta-btn {
  margin-top: var(--space-2);
}

.site-cta .btn-modern-ghost {
  background: transparent;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc;
  border: 1.5px solid rgba(248, 250, 252, 0.55);
}

.site-cta .btn-modern-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border-color: #ffffff;
}

.home-proof {
  padding: var(--space-8) var(--container-padding) var(--space-10);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.home-proof--compact {
  padding: 1.25rem var(--container-padding);
  background: transparent;
  border-bottom: 1px solid var(--color-border);
}

.home-proof-oneliner {
  margin: 0 auto;
  max-width: 40rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-muted-strong);
  line-height: 1.55;
}

.home-proof-oneliner a {
  font-weight: 600;
}

.home-proof-eyebrow {
  text-align: center;
  margin-bottom: 0.5rem;
}

.home-proof h2 {
  text-align: center;
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.home-proof-intro {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: var(--color-muted-strong);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  .home-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-proof-grid {
    grid-template-columns: 1fr;
  }
}

.home-proof-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-proof-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.home-proof-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted-strong);
  flex: 1;
}

.home-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.35rem;
}

.home-proof-foot {
  text-align: center;
  margin: 1.5rem 0 0;
}

.home-proof-foot a {
  font-weight: 600;
}

.service-hub-grid--pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .service-hub-grid--pillars {
    grid-template-columns: 1fr;
  }
}

.service-hub-card-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted-strong);
}

.service-hub-card--gov {
  border-color: rgba(0, 87, 216, 0.28);
}

.learn-home-teaser--quiet {
  opacity: 0.92;
}

.project-category-section--secondary {
  opacity: 0.78;
}

.project-category-section--secondary .category-heading-label {
  font-size: 0.95em;
}

.project-category-section--secondary .project-card {
  transform: none;
}

.featured-products {
  padding: var(--space-10) var(--container-padding);
  background: var(--color-surface);
}

.featured-products h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.featured-products-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: var(--color-muted-strong);
}

.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-products-grid {
    grid-template-columns: 1fr;
  }
}

.featured-product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.featured-product-thumb-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.featured-product-thumb {
  width: 100%;
  height: auto;
  display: block;
}

.featured-product-proves {
  font-size: 0.92rem;
  color: var(--color-muted-strong);
  margin: 0;
}

.featured-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.buyer-reasons,
.service-outcomes,
.delivery-process {
  padding: 2.5rem 20px 3rem;
}

.buyer-reasons--featured {
  padding: 2.75rem 20px 3.25rem;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
  border-bottom: 1px solid rgba(0, 87, 216, 0.08);
}

.buyer-reasons-header {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.buyer-reasons-intro {
  margin: 0.75rem 0 0;
  color: var(--color-muted-strong);
  font-size: 1.02rem;
  line-height: 1.65;
}

.service-hub-section-title--left {
  text-align: left;
}

.buyer-reasons-header .service-hub-section-title--left {
  text-align: center;
}

.service-hub-actions--featured {
  margin-top: 2rem;
  margin-bottom: 0;
}

.buyer-reasons-grid,
.service-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.buyer-reasons-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.buyer-reasons-grid--featured .buyer-reason-card--featured {
  grid-column: auto;
}

.service-outcomes-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.service-outcomes-bridge {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  color: var(--color-muted-strong);
  font-size: 1.02rem;
  line-height: 1.65;
}

.service-hub-band-intro {
  text-align: center;
  max-width: 36rem;
  margin: -0.5rem auto 1.5rem;
  color: var(--color-muted-strong);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 1200px) {
  .buyer-reasons-grid,
  .service-outcomes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .buyer-reasons-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-reasons-grid--featured .buyer-reason-card--featured {
    grid-column: auto;
  }

  .service-outcomes-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .buyer-reasons-grid,
  .service-outcomes-grid,
  .buyer-reasons-grid--featured,
  .service-outcomes-grid--four {
    grid-template-columns: 1fr;
  }

  .buyer-reasons-grid--featured .buyer-reason-card--featured {
    grid-column: auto;
  }
}

.buyer-reason-card,
.service-outcome-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.25rem;
}

.buyer-reason-card--featured {
  border-radius: 1rem;
  border-color: rgba(0, 87, 216, 0.14);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 28px rgba(0, 87, 216, 0.07);
}

.buyer-reason-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.buyer-reason-card--featured h3 {
  font-size: 1.05rem;
}

.buyer-reason-card--featured p {
  font-size: 0.92rem;
}

.buyer-reason-card h3,
.service-outcome-card h3 {
  font-size: 0.98rem;
  margin: 0 0 0.5rem;
  color: var(--color-heading);
  line-height: 1.35;
}

.buyer-reason-card p,
.service-outcome-card p {
  margin: 0;
  color: var(--color-muted-strong);
  font-size: 0.88rem;
  line-height: 1.5;
}

.delivery-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
}

.delivery-process--band {
  background: var(--color-surface-alt);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.delivery-process-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--color-muted-strong);
  font-size: 0.98rem;
  line-height: 1.55;
}

.delivery-process-list--wide {
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.delivery-process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.delivery-process-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.delivery-process-step-body {
  flex: 1;
  min-width: 0;
}

.delivery-process-step-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.delivery-process-step-body p {
  margin: 0;
  color: var(--color-muted-strong);
  line-height: 1.55;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .delivery-process-list--wide {
    grid-template-columns: 1fr;
  }
}

.why-teams-choose-strip {
  padding: 2.5rem 20px 3rem;
}

.why-teams-choose-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 52rem;
  display: grid;
  gap: 1rem;
}

.why-teams-choose-list li {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: #fff;
  line-height: 1.55;
}

.why-teams-choose-list strong {
  display: block;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.why-teams-choose-list span {
  color: var(--color-muted-strong);
  font-size: 0.92rem;
}

.gbp-services-compact {
  padding: 2rem 20px 2.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
}

.gbp-services-compact-title {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--color-muted-strong);
}

.gbp-services-compact-note {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 0.88rem;
  color: var(--color-muted-soft);
  line-height: 1.5;
}

.gbp-services-compact .gbp-services-grid {
  gap: 1rem;
  margin-bottom: 0;
}

.gbp-services-compact .gbp-service-tile {
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
}

.gbp-services-compact .gbp-service-tile h3 {
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.gbp-services-compact .service-tile-tagline {
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
}

.delivery-process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--color-heading);
}

.delivery-process-step p {
  margin: 0;
  color: var(--color-muted-strong);
  line-height: 1.55;
}

.service-hub-bottom-cta {
  padding: 3rem 20px;
  background: var(--color-surface-alt);
  border-top: 1px solid #dbeafe;
}

.service-hub-bottom-cta-inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.service-hub-bottom-cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.service-hub-bottom-cta p {
  margin: 0 0 1.25rem;
  color: var(--color-muted-strong);
}

.contact-reassurance {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--color-muted-strong);
  font-size: 0.98rem;
}

.project-type-badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  border-radius: 4px;
}

.project-proves {
  font-size: 0.9rem;
  color: var(--color-muted-strong);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.portfolio-cta {
  padding: 3rem 20px;
  background: linear-gradient(180deg, var(--color-surface) 0%, #eef6ff 100%);
  border-top: 1px solid #dbeafe;
}

.portfolio-cta-inner {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.portfolio-cta-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--color-heading);
}

.fit-section .fit-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.fit-section .fit-list li + li {
  margin-top: 0.5rem;
}

.fit-intro {
  margin-bottom: 0.75rem;
  color: var(--color-muted-strong);
}

.product-portfolio-proof {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface-alt);
  border-radius: 8px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.founder-led-commercial {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: var(--color-muted-strong);
  font-size: 1.02rem;
  line-height: 1.6;
}

.learn-lead--secondary {
  margin-top: 0.75rem;
}

.learn-cta-band {
  margin-top: 2.5rem;
  padding: 2rem;
  text-align: center;
  background: var(--color-surface-alt);
  border-radius: 12px;
  border: 1px solid var(--color-border-accent);
}

.learn-cta-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.learn-cta-text {
  margin: 0 0 1rem;
  color: var(--color-muted-strong);
}

.learn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.learn-spine {
  padding: var(--space-8) 0;
  background: #fff;
}

.learn-spine-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.learn-spine-inner h2 {
  margin: 0.35rem 0 1rem;
  color: var(--color-heading);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
}

.learn-spine-inner p {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.learn-ladder-section {
  padding: var(--space-8) 0;
}

.learn-ladder-section h2 {
  margin: 0.35rem 0 1.5rem;
  max-width: 36rem;
  color: var(--color-heading);
}

.learn-ladder-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.learn-rung {
  padding: var(--space-8) 0;
  scroll-margin-top: 5rem;
}

.learn-rung-narrow {
  max-width: 44rem;
  margin: 0 auto;
}

.learn-rung-intro,
.learn-rung-bridge {
  max-width: 44rem;
  margin: 0.75rem 0 1.5rem;
  color: var(--color-muted-strong);
  line-height: 1.65;
}

.learn-rung-bridge {
  margin-top: 1.5rem;
}

.learn-rung-emphasis {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--color-primary);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.learn-meta {
  margin: 1.25rem 0;
}

.learn-meta-inline {
  margin: 0.75rem 0;
  color: var(--color-heading);
  font-size: 0.95rem;
}

.learn-task3 {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px dashed rgba(15, 39, 71, 0.22);
  background: #fafbfc;
}

.learn-task3--compact {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
}

.learn-task3-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.learn-task3 ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted-strong);
  font-size: 0.9rem;
  line-height: 1.5;
}

.learn-task3 li + li {
  margin-top: 0.3rem;
}

.learn-rung-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.learn-rung-h {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.learn-rung-h--sm {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.learn-phase-list,
.learn-format-list {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}

.learn-phase-list li,
.learn-format-list li {
  margin-bottom: 0.55rem;
}

.learn-phase-list li strong,
.learn-format-list li strong {
  display: block;
  color: var(--color-heading);
  margin-bottom: 0.15rem;
}

.learn-phase-list li span,
.learn-format-list li span {
  display: block;
}

.learn-founding-note,
.learn-partnership-note,
.learn-ops-note {
  margin: 0.75rem 0 0;
  color: var(--color-muted-strong);
  font-size: 0.92rem;
  line-height: 1.55;
}

.learn-founding-note {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--color-surface);
  border: 1px solid rgba(0, 87, 216, 0.14);
  color: var(--color-heading);
  font-weight: 500;
}

.learn-coaching-stack {
  display: grid;
  gap: 1.15rem;
  margin: 1.25rem 0;
}

.learn-coaching-card--wide {
  max-width: none;
}

.learn-coaching-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.25rem 0;
}

.learn-coaching-card {
  padding: 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 87, 216, 0.14);
  background: var(--color-surface);
}

.learn-coaching-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--color-heading);
}

.learn-coaching-card p {
  margin: 0 0 0.65rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.learn-faq {
  padding: var(--space-8) 0;
}

.learn-faq-crosslink {
  margin-top: 1.25rem;
  color: var(--color-muted-strong);
  font-size: 0.95rem;
}

.learn-closing {
  padding: var(--space-8) 0 var(--space-10);
  background: linear-gradient(180deg, var(--color-surface) 0%, #fff 100%);
  text-align: center;
}

.learn-closing-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.learn-closing-inner h2 {
  margin: 0.35rem 0 0.75rem;
  color: var(--color-heading);
}

.learn-closing-inner > p {
  margin: 0 0 1.25rem;
  color: var(--color-muted-strong);
  line-height: 1.6;
}

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

.learn-training {
  padding: var(--space-8) 0;
  background: #fff;
}

.learn-training-header {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.learn-training-intro {
  margin: 0.75rem 0 0;
  color: var(--color-muted-strong);
  line-height: 1.65;
  font-size: 1.05rem;
}

.learn-training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.learn-training-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 87, 216, 0.14);
  background: var(--color-surface);
  scroll-margin-top: 5rem;
}

.learn-training-card-title {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--color-heading);
}

.learn-training-card-subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.learn-training-card-summary {
  margin: 0 0 0.85rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.learn-training-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.learn-training-list li + li {
  margin-top: 0.35rem;
}

.learn-training-meta {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.learn-training-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.learn-training-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 0.92rem;
  line-height: 1.4;
}

.learn-training-cta {
  align-self: flex-start;
  margin-top: auto;
}

.learn-training-note,
.learn-training-crosslink {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--color-muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

.learn-training-crosslink {
  margin-top: 0.75rem;
}

.learn-resources-title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--color-heading);
}

.qa-hub-offer--separate {
  border-color: rgba(15, 23, 42, 0.16);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
}

.qa-hub-offer-cta {
  margin-top: 1.15rem;
}

@media (max-width: 960px) {
  .learn-training-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Insights / blog —— */
.insights-hub-hero,
.insight-article-hero {
  padding: var(--space-8) var(--container-padding) var(--space-6);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-white) 100%);
}

.insights-hub-title,
.insight-article-title {
  margin: 0 0 var(--space-3);
}

.insights-hub-lead,
.insight-article-meta {
  max-width: 40rem;
}

.insights-eyebrow,
.insight-eyebrow {
  margin-bottom: var(--space-3);
}

.insights-list-wrap {
  padding: 0 var(--container-padding) var(--space-8);
}

.insights-list {
  display: grid;
  gap: var(--space-5);
  max-width: var(--content-prose);
}

.insights-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  background: var(--color-white);
}

.insights-card-date {
  font-size: var(--font-size-sm);
  color: var(--color-muted-soft);
}

.insights-card-title {
  margin: var(--space-2) 0 var(--space-2);
  font-size: var(--font-size-xl);
}

.insights-card-title a {
  color: var(--color-heading);
  text-decoration: none;
}

.insights-card-title a:hover {
  color: var(--color-primary);
}

.insights-card-excerpt {
  margin: 0 0 var(--space-2);
  line-height: var(--line-height-normal);
}

.insights-card-meta {
  font-size: var(--font-size-sm);
  margin: 0 0 var(--space-3);
}

.insights-card-cta {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
}

.insight-article-body {
  padding: 0 var(--container-padding) var(--space-8);
  max-width: var(--content-narrow);
}

.prose-insight section {
  margin-bottom: var(--space-6);
}

.insight-related {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.insight-related-list {
  margin: 0;
  padding-left: 1.25rem;
}

.insight-article-cta {
  margin-top: var(--space-6);
}

.insights-teaser {
  padding: 2.75rem var(--container-padding) 3rem;
  border-top: 1px solid var(--color-border);
}

.insights-teaser-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.insights-teaser-inner .service-hub-section-title {
  margin-bottom: 1rem;
}

.insights-teaser-lead {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.insights-teaser-cta {
  margin: 0;
}

/* —— News feed —— */
.news-hub-hero,
.news-article-hero {
  padding: var(--space-8) var(--container-padding) var(--space-6);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-white) 100%);
}

.news-hub-title,
.news-article-title {
  margin: 0 0 var(--space-3);
}

.news-hub-lead {
  max-width: 40rem;
}

.news-feed-wrap {
  padding: 0 var(--container-padding) var(--space-10);
}

.news-feed {
  max-width: var(--content-prose);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.news-card--featured {
  padding: 0;
  overflow: hidden;
  border-color: var(--color-border-primary);
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-surface) 100%);
  box-shadow: var(--shadow-soft);
}

.news-card-featured-content {
  padding: var(--space-6) var(--space-6) var(--space-7);
}

.news-card-figure,
.news-article-figure {
  margin: 0;
  line-height: 0;
}

.news-card-image,
.news-article-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--color-border);
}

.news-article-figure {
  margin: 0 0 var(--space-6);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.news-benefits-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.news-benefit {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.news-benefit-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--space-2);
}

.news-benefit p {
  margin: 0;
  font-size: var(--font-size-sm);
}

.news-section + .news-section {
  margin-top: var(--space-6);
}


.news-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.news-org-cta {
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-accent);
}

.news-org-cta h2 {
  font-size: var(--font-size-lg);
  margin: 0 0 var(--space-3);
}

.news-org-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.news-org-links a {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.news-org-links a:hover {
  text-decoration: underline;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-muted-soft);
}

.news-card-label {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--space-4);
  line-height: var(--line-height-snug);
}

.news-card-featured-body {
  margin-bottom: var(--space-5);
}

.news-card-lead,
.news-card-summary {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.news-card-lead {
  font-size: var(--font-size-md);
}

.news-card-btn {
  align-self: flex-start;
}

.news-archive-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-eyebrow);
  color: var(--color-muted-soft);
  margin: 0 0 var(--space-4);
}

.news-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.news-card--compact {
  padding: var(--space-5);
}

.news-card-date {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-muted-soft);
  margin-bottom: var(--space-2);
}

.news-card-title--compact {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.news-card-summary--compact {
  font-size: var(--font-size-sm);
  color: var(--color-muted-strong);
  line-height: var(--line-height-normal);
  margin: 0 0 var(--space-3);
}

.news-card-link {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--font-size-sm);
}

.news-card-link:hover {
  text-decoration: underline;
}

.news-empty {
  text-align: center;
  padding: var(--space-10) var(--space-5);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  max-width: 28rem;
  margin: 0 auto;
}

.news-empty-title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  margin: 0 0 var(--space-2);
}

.news-empty-text {
  margin: 0;
  color: var(--color-muted-strong);
  font-size: var(--font-size-sm);
}

.news-article-body {
  padding: 0 var(--container-padding) var(--space-10);
  max-width: var(--content-narrow);
}

.news-article-lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-6);
}

.news-article-foot {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.news-back-link {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.news-back-link:hover {
  text-decoration: underline;
}

/* ===============================
   Government contracting page
=============================== */
.gov-contracting-page {
  background: #fff;
}

.gov-contracting-hero {
  padding: 3.5rem 20px 2.75rem;
  background: linear-gradient(180deg, rgba(0, 87, 216, 0.06) 0%, #fff 100%);
  border-bottom: 1px solid rgba(0, 87, 216, 0.08);
}

.gov-contracting-eyebrow {
  margin-bottom: 0.65rem;
}

.gov-contracting-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.gov-contracting-lead {
  max-width: 44rem;
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.gov-contracting-support {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

.gov-contracting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
}

.gov-contracting-section {
  padding: 2.75rem 20px;
}

.gov-contracting-section--alt {
  background: rgba(0, 87, 216, 0.03);
  border-top: 1px solid rgba(0, 87, 216, 0.06);
  border-bottom: 1px solid rgba(0, 87, 216, 0.06);
}

.gov-contracting-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--color-heading);
  text-align: center;
}

.gov-section-intro {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  line-height: 1.65;
  color: var(--color-muted-strong);
}

/* Government contracting — data tables */
.gov-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 87, 216, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 26, 46, 0.07);
  overflow: hidden;
}

.gov-table-wrap--narrow {
  max-width: 640px;
}

.gov-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.gov-table thead th {
  background: #0f2747;
  color: #fff;
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.15rem;
}

.gov-table tbody tr {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.gov-table tbody tr:nth-child(even) {
  background: rgba(0, 87, 216, 0.025);
}

.gov-table tbody tr:hover {
  background: rgba(0, 87, 216, 0.06);
}

.gov-table th[scope="row"] {
  text-align: left;
  font-weight: 700;
  color: var(--color-heading);
  vertical-align: top;
}

.gov-table td,
.gov-table th[scope="row"] {
  padding: 0.95rem 1.15rem;
  line-height: 1.55;
  color: var(--color-muted-strong);
  vertical-align: top;
}

.gov-table-detail {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.gov-table-detail a {
  color: inherit;
  text-decoration: none;
}

.gov-table-detail a:hover {
  text-decoration: underline;
}

.gov-table-code {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--color-primary) !important;
}

.gov-status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gov-status-badge--active,
.gov-status-badge--accepted {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.gov-status-badge--pending {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.gov-status-badge--upcoming {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.gov-capabilities-list {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted-strong);
}

.gov-section-note {
  text-align: center;
  margin: 0;
  color: var(--color-muted-soft);
}

.gov-section-note a {
  color: var(--color-primary);
  font-weight: 600;
}

.gov-contracting-cta {
  padding: 3rem 20px 4rem;
  background: linear-gradient(135deg, #0a58ca 0%, #0f172a 100%);
  color: #fff;
}

.gov-contracting-cta-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.gov-contracting-cta h2 {
  margin: 0 0 0.75rem;
  color: #fff;
}

.gov-contracting-cta > .container > p,
.gov-contracting-cta-inner > p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.gov-contracting-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin: 0 0 1rem;
}

.gov-contracting-cta-meta {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.gov-contracting-cta-meta a {
  color: #fff;
  font-weight: 600;
}

.gov-contracting-page .btn-modern-ghost {
  background: #ffffff;
  color: #0f2747;
  border: 2px solid #0f2747;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.gov-contracting-page .btn-modern-ghost:hover {
  background: #0f2747;
  color: #ffffff;
  border-color: #0f2747;
}

.gov-contracting-cta .btn-modern-ghost {
  background: transparent;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.gov-contracting-cta .btn-modern-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .gov-table-detail {
    white-space: normal;
  }

  .gov-table {
    font-size: 0.9rem;
  }

  .gov-table thead th {
    padding: 0.7rem 0.85rem;
  }

  .gov-table td,
  .gov-table th[scope="row"] {
    padding: 0.75rem 0.85rem;
  }
}

/* ===============================
   QA services hub
=============================== */
.qa-hub-ladder {
  margin: 0 0 2.5rem;
}

.qa-hub-ladder-lead {
  margin: 0 0 1.25rem;
  color: var(--color-muted-strong);
}

.qa-hub-ladder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.qa-hub-ladder-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 87, 216, 0.14);
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(10, 26, 46, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qa-hub-ladder-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 87, 216, 0.35);
  box-shadow: 0 12px 28px rgba(0, 87, 216, 0.12);
}

.qa-hub-ladder-label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.qa-hub-ladder-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--color-heading);
}

.qa-hub-ladder-tagline {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 0.95rem;
}

.qa-hub-ladder-card > p:last-of-type {
  margin: 0 0 1rem;
  flex: 1;
  color: var(--color-muted-strong);
  font-size: 0.92rem;
  line-height: 1.55;
}

.qa-hub-ladder-cta {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.92rem;
}

.qa-hub-learn-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 87, 216, 0.2);
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 70%);
}

.qa-hub-learn-bridge-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.qa-hub-learn-bridge h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--color-heading);
}

.qa-hub-learn-bridge p {
  margin: 0;
  color: var(--color-muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

.qa-hub-learn-bridge .btn-modern {
  flex-shrink: 0;
}

.qa-hub-offer {
  margin: 0 0 2.25rem;
  padding: 1.6rem 1.45rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 87, 216, 0.12);
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 26, 46, 0.04);
}

.qa-hub-offer-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.qa-hub-offer h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  color: var(--color-heading);
}

.qa-hub-offer-subtitle {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--color-muted-strong);
}

.qa-hub-offer-h {
  margin: 1.2rem 0 0.5rem;
  font-size: 1rem;
  color: var(--color-heading);
}

.qa-hub-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: var(--color-muted-strong);
  line-height: 1.55;
}

.qa-hub-list li + li {
  margin-top: 0.35rem;
}

.qa-hub-list--muted {
  color: var(--color-muted-soft);
}

.qa-hub-note {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(0, 87, 216, 0.05);
  border: 1px solid rgba(0, 87, 216, 0.1);
  color: var(--color-muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

.qa-hub-meta {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 39, 71, 0.1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.qa-hub-meta dt {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.qa-hub-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.45;
}

.qa-hub-best-for {
  margin: 1rem 0 0;
  color: var(--color-muted-strong);
}

.qa-hub-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.qa-hub-track {
  padding: 1.15rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 87, 216, 0.12);
  background: linear-gradient(180deg, rgba(0, 87, 216, 0.04) 0%, #fff 70%);
}

.qa-hub-track h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.qa-hub-readiness {
  margin: 1rem 0;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 87, 216, 0.22);
  background: #f5f9ff;
}

.qa-hub-readiness h3 {
  margin: 0 0 0.45rem;
  color: var(--color-heading);
}

.qa-hub-boundaries {
  margin: 1rem 0 0;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 71, 0.12);
  background: #f8fafc;
}

.qa-hub-boundaries h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--color-heading);
}

.qa-hub-boundaries p {
  margin: 0;
  color: var(--color-muted-strong);
  line-height: 1.55;
}

.btn-modern-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0f2747 !important;
  -webkit-text-fill-color: #0f2747;
  border: 2px solid #0f2747;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  font-weight: 700;
}

.btn-modern-secondary:hover {
  background: #0f2747;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border-color: #0f2747;
}

.qa-hub-footer .btn-modern-secondary {
  background: #ffffff;
  color: #0f2747;
  border: 2px solid #0f2747;
}

.qa-hub-footer .btn-modern-secondary:hover {
  background: #0f2747;
  color: #ffffff;
}

.qa-hub-meta-inline {
  margin: 0.65rem 0 0;
  color: var(--color-heading);
}

.qa-hub-related {
  margin: 0 0 2rem;
}

.qa-hub-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.qa-hub-related-card {
  padding: 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 39, 71, 0.1);
  background: var(--color-surface);
}

.qa-hub-related-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.qa-hub-related-card a {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.qa-hub-related-card a:hover {
  text-decoration: underline;
}

.qa-hub-faq-list {
  margin: 0;
}

.qa-hub-faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 39, 71, 0.08);
}

.qa-hub-faq-item dt {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--color-heading);
}

.qa-hub-faq-item dd {
  margin: 0;
  color: var(--color-muted-strong);
  line-height: 1.55;
}

.qa-hub-footer {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.04) 0%, rgba(0, 87, 216, 0.07) 100%);
  border: 1px solid rgba(0, 87, 216, 0.14);
  text-align: center;
}

.qa-hub-footer h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--color-heading);
}

.qa-hub-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.1rem 0 0;
}

.service-page--qa-hub .service-page-actions .btn-modern-ghost {
  background: #ffffff;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a;
  border: 1.5px solid rgba(15, 23, 42, 0.35);
}

@media (max-width: 900px) {
  .qa-hub-ladder-grid,
  .qa-hub-tracks,
  .qa-hub-related-grid,
  .qa-hub-meta {
    grid-template-columns: 1fr;
  }
}

/* —— Guided site helper (homepage) —— */
.site-helper {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1200;
  font-family: var(--font-sans);
}

.site-helper-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem 0.55rem 0.65rem;
  border: 1px solid rgba(15, 39, 71, 0.12);
  border-radius: 999px;
  background: #0f2747;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
  transition: transform 0.15s ease, background 0.15s ease;
}

.site-helper-launcher:hover {
  background: #163456;
  transform: translateY(-1px);
}

.site-helper-launcher:focus-visible {
  outline: 2px solid var(--color-primary-accent);
  outline-offset: 3px;
}

.site-helper-launcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-helper--open .site-helper-launcher {
  display: none;
}

.site-helper-panel {
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(32rem, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(15, 39, 71, 0.12);
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.site-helper-panel[hidden] {
  display: none !important;
}

.site-helper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #0f2747;
  color: #fff;
}

.site-helper-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.site-helper-close {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.site-helper-close:hover,
.site-helper-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.site-helper-close:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.site-helper-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}

.site-helper-welcome,
.site-helper-answer {
  margin: 0 0 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-helper-prompt {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.site-helper-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-helper-topic {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 87, 216, 0.16);
  background: var(--color-surface);
  color: var(--color-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.site-helper-topic:hover {
  border-color: rgba(0, 87, 216, 0.4);
  background: #eef5ff;
}

.site-helper-back {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.site-helper-topic-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.site-helper-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.site-helper-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 87, 216, 0.2);
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.site-helper-link:hover {
  background: #eef5ff;
}

.site-helper-link--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
}

.site-helper-link--primary:hover {
  background: var(--color-primary-hover);
}

.site-helper-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
}

.site-helper-footer a {
  color: var(--color-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.site-helper-footer a:hover {
  color: var(--color-primary);
}

@media (max-width: 480px) {
  .site-helper {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .site-helper-panel {
    width: min(100vw - 1rem, 22.5rem);
  }
}
