/* === Framework/Discovery Responsive Grid === */
.framework-discovery-grid {
  display: flex;
  gap: 2.5rem;
  margin: 2.5rem 0 2rem 0;
  align-items: flex-start;
  justify-content: flex-start;
}
.framework-discovery-grid > div {
  flex: 1 1 0;
  min-width: 220px;
}
.framework-discovery-grid ul,
.framework-discovery-grid ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
}
.framework-discovery-grid strong {
  font-size: 1.08em;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
@media (max-width: 800px) {
  .framework-discovery-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
}
/* ==========================================================================
   Brand Palette (from Sourcedata/Branding.txt)
   Royal Blue #1136FF | Cornflower #2F6CF9 | Periwinkle #A5B4FC
   Dark Charcoal #1F1F1F | Black #000000 | White #FFFFFF
   ========================================================================== */

/* ---------- Design tokens: fluid spacing & typography ---------- */
:root {
  --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-sm: clamp(0.5rem, 1vw, 0.75rem);
  --space-md: clamp(0.75rem, 1.5vw, 1rem);
  --space-lg: clamp(1rem, 2vw, 1.5rem);
  --space-xl: clamp(1.25rem, 2.5vw, 1.75rem);
  --space-2xl: clamp(1.5rem, 3vw, 2.25rem);

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1rem + 0.5vw, 1.4rem);
  --text-2xl: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);

  --color-royal-blue: #1136FF;
  --color-cornflower: #2F6CF9;
  --color-periwinkle: #A5B4FC;
  --color-charcoal: #1F1F1F;

  --color-accent-warm: #F59E0B;       /* Amber — for primary CTAs */
  --color-accent-warm-hover: #D97706; /* Darker amber for hover */

  /* Semantic tokens */
  --color-surface: #F0F3FF;
  --color-on-surface: #1F1F1F;
  --color-on-surface-muted: rgba(31, 31, 31, 0.65);
  --color-primary: #1136FF;
  --color-primary-light: #2F6CF9;
  --color-primary-muted: #A5B4FC;
  --color-text-on-primary: #fff;
  --color-border: rgba(47, 108, 249, 0.12);
  --color-border-hover: rgba(17, 54, 255, 0.22);
}

/* ---------- Light theme ---------- */
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #1136FF;
  --md-primary-fg-color--light: #2F6CF9;
  --md-primary-fg-color--dark: #0d2bd4;
  --md-accent-fg-color: #1136FF;
  --md-typeset-a-color: #2F6CF9;
  --md-footer-bg-color: rgba(17, 54, 255, 0.95);
  --md-default-bg-color: #F0F3FF;
  --md-code-bg-color: #e8ecff;
  --md-code-fg-color: #1F1F1F;
  --md-shadow-z1: 0 2px 12px rgba(17, 54, 255, 0.08);
  --md-shadow-z2: 0 8px 28px rgba(17, 54, 255, 0.10);
}

/* ---------- Dark theme ---------- */
[data-md-color-scheme="slate"] {
  --md-hue: 230;
  --md-primary-fg-color: #0c1024;
  --md-primary-fg-color--light: #141b3a;

  --color-surface: #0c1024;
  --color-on-surface: #e2e4eb;
  --color-on-surface-muted: rgba(226, 228, 235, 0.65);
  --color-primary: #A5B4FC;
  --color-primary-light: #8a9cfa;
  --color-primary-muted: #A5B4FC;
  --color-text-on-primary: #0c1024;
  --color-border: rgba(165, 180, 252, 0.1);
  --color-border-hover: rgba(165, 180, 252, 0.25);
  --md-default-bg-color: #0c1024;
  --md-accent-fg-color: #A5B4FC;
  --md-typeset-a-color: #A5B4FC;
  --md-default-fg-color: #e2e4eb;
  --md-default-fg-color--light: #9499b0;
  --md-code-bg-color: #111530;
  --md-code-fg-color: #c8ccdf;
  --md-shadow-z1: 0 2px 12px rgba(17, 54, 255, 0.12);
  --md-shadow-z2: 0 8px 28px rgba(17, 54, 255, 0.15);
}

/* ---------- Prevent horizontal scroll on narrow viewports ---------- */
html, body {
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.md-header {
  background: rgba(12, 16, 50, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(165, 180, 252, 0.12);
}

.md-header__inner {
  height: 1.8rem;
  padding-top: 0;
  padding-bottom: 0;
}

.md-header__title {
  font-size: 0.7rem;
}

[data-md-color-scheme="default"] .md-header {
  background: rgba(17, 54, 255, 0.95);
  border-bottom: 1px solid rgba(47, 108, 249, 0.3);
}

/* ---------- Header logo ---------- */
.md-header__button.md-logo {
  background: transparent;
  border-radius: 10px;
  padding: 0.1rem 0.3rem;
}

.md-header__button.md-logo img {
  height: 1.2rem;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(47, 108, 249, 0.3));
}

.md-tabs {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.4rem !important;
  min-height: 1.4rem !important;
}

.md-tabs__list {
  font-size: 0.6rem;
}

.md-tabs__item {
  height: 1.4rem !important;
}

.md-tabs__link {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0.85;
}

/* ---------- Wider content grid ---------- */
.md-grid {
  max-width: 1400px;
}

/* ---------- Buttons ---------- */
.md-typeset .md-button {
  white-space: nowrap;
}

.md-typeset .grid .md-button {
  white-space: normal;
}

.md-button--primary,
.md-typeset .md-button--primary {
  background-color: var(--color-accent-warm) !important;
  border-color: var(--color-accent-warm) !important;
  color: var(--color-charcoal) !important;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.md-button--primary:hover,
.md-button--primary:focus,
.md-typeset .md-button--primary:hover,
.md-typeset .md-button--primary:focus {
  background-color: var(--color-accent-warm-hover) !important;
  border-color: var(--color-accent-warm-hover) !important;
  color: var(--color-charcoal) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* ---------- Button press & focus ---------- */
.md-typeset .md-button:active {
  transform: scale(0.98);
}

.md-typeset .md-button:focus-visible {
  outline: 2px solid #A5B4FC;
  outline-offset: 2px;
}

[data-md-color-scheme="slate"] .md-button--primary,
[data-md-color-scheme="slate"] .md-typeset .md-button--primary {
  background-color: var(--color-accent-warm) !important;
  border-color: var(--color-accent-warm) !important;
  color: var(--color-charcoal) !important;
}

[data-md-color-scheme="slate"] .md-button--primary:hover,
[data-md-color-scheme="slate"] .md-button--primary:focus,
[data-md-color-scheme="slate"] .md-typeset .md-button--primary:hover,
[data-md-color-scheme="slate"] .md-typeset .md-button--primary:focus {
  background-color: var(--color-accent-warm-hover) !important;
  border-color: var(--color-accent-warm-hover) !important;
  color: var(--color-charcoal) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.md-typeset .md-button:not(.md-button--primary) {
  border-radius: 8px;
  border-width: 2px;
  font-weight: 600;
}

[data-md-color-scheme="slate"] .md-typeset .md-button:not(.md-button--primary) {
  color: #a5b4fc;
  border-color: #a5b4fc;
}

[data-md-color-scheme="slate"] .md-typeset .md-button:not(.md-button--primary):hover {
  color: #fff;
  border-color: #fff;
  background-color: rgba(165, 180, 252, 0.1);
}

/* ---------- Footer ---------- */
.md-footer {
  background: rgba(12, 16, 50, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(165, 180, 252, 0.12);
}

.md-footer-meta {
  background: rgba(12, 16, 50, 0.95);
}

[data-md-color-scheme="default"] .md-footer {
  background: rgba(17, 54, 255, 0.95);
  border-top: 1px solid rgba(47, 108, 249, 0.3);
}

[data-md-color-scheme="default"] .md-footer-meta {
  background: rgba(17, 54, 255, 0.95);
}

/* ---------- Navigation sidebar ---------- */
.md-nav__link:hover,
.md-nav__link--active {
  color: var(--md-accent-fg-color);
}

/* ---------- Content cards ---------- */
.md-typeset .grid.cards > ol > li,
.md-typeset .grid.cards > ul > li {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: var(--space-xl) var(--space-lg);
  transition: border-color 0.25s cubic-bezier(0.33, 1, 0.68, 1),
              box-shadow 0.25s ease,
              transform 0.25s cubic-bezier(0.33, 1, 0.68, 1),
              background-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.md-typeset .grid.cards > ol > li:hover,
.md-typeset .grid.cards > ul > li:hover {
  border-color: var(--color-border-hover);
  background-color: rgba(17, 54, 255, 0.03);
  box-shadow: 0 12px 24px rgba(17, 54, 255, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > ol > li,
[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li {
  border-color: var(--color-border);
  background: rgba(17, 20, 50, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > ol > li:hover,
[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li:hover {
  border-color: var(--color-border-hover);
  background-color: rgba(165, 180, 252, 0.04);
  box-shadow: 0 12px 24px rgba(165, 180, 252, 0.06);
}

/* Card icon accent */
.md-typeset .grid.cards .twemoji,
.md-typeset .grid.cards .emojione,
.md-typeset .grid.cards .gemoji {
  color: #1136FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(17, 54, 255, 0.08);
  flex-shrink: 0;
}

.md-typeset .grid.cards .twemoji svg,
.md-typeset .grid.cards .emojione svg,
.md-typeset .grid.cards .gemoji svg {
  width: 2rem;
  height: 2rem;
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .twemoji,
[data-md-color-scheme="slate"] .md-typeset .grid.cards .emojione,
[data-md-color-scheme="slate"] .md-typeset .grid.cards .gemoji {
  color: var(--color-periwinkle);
  background: rgba(165, 180, 252, 0.1);
}

/* ---------- Service card emoji icons with colors ---------- */
.md-typeset .grid.cards .service-icon {
  display: anchor-center;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(17, 54, 255, 0.08);
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;   
}

/* Purple - Custom Platform */
.md-typeset .grid.cards .icon-color-purple {
  color: #6366F1;
  background: rgba(99, 102, 241, 0.12);
}

/* Cyan - AI Integration */
.md-typeset .grid.cards .icon-color-cyan {
  color: #06B6D4;
  background: rgba(6, 182, 212, 0.12);
}

/* Sky - Cloud Architecture */
.md-typeset .grid.cards .icon-color-sky {
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.12);
}

/* Amber - Full-Stack */
.md-typeset .grid.cards .icon-color-amber {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
}

/* Green - MVP */
.md-typeset .grid.cards .icon-color-green {
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
}

/* Blue - Advisory */
.md-typeset .grid.cards .icon-color-blue {
  color: #1136FF;
  background: rgba(17, 54, 255, 0.12);
}

/* Dark mode variants */
[data-md-color-scheme="slate"] .md-typeset .grid.cards .icon-color-purple {
  color: #818CF8;
  background: rgba(129, 140, 248, 0.15);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .icon-color-cyan {
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.15);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .icon-color-sky {
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.15);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .icon-color-amber {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.15);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .icon-color-green {
  color: #34D399;
  background: rgba(52, 211, 153, 0.15);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .icon-color-blue {
  color: #6366F1;
  background: rgba(99, 102, 241, 0.15);
}






/* ---------- Services card specific spacing ---------- */
.grid.cards.services-card {
  margin-top: 5rem;
}

/* ---------- Headings ---------- */
.md-typeset h1 {
  font-size: var(--text-2xl);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  color: var(--md-primary-fg-color);
}

[data-md-color-scheme="slate"] .md-typeset h1 {
  color: var(--md-accent-fg-color);
}

.md-typeset h2 {
  font-size: var(--text-xl);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: none;
  margin-top: 5rem;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
  text-align: center;
}

[data-md-color-scheme="slate"] .md-typeset h2 {
  color: #fff;
}

/* Card secondary text — dimmed second paragraph after hr */
.md-typeset .grid.cards > ul > li > hr ~ p + p:not(:has(.md-button)),
.md-typeset .grid.cards > ol > li > hr ~ p + p:not(:has(.md-button)) {
  margin-top: 0.5rem;
  opacity: 0.65;
  font-size: 0.9em;
}

/* ---------- Content readability ---------- */
.md-main__inner {
  margin-top: 0.5rem;
}

.md-content__inner {
  max-width: 900px;
  margin-inline: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ---------- Admonitions ---------- */
.md-typeset .admonition,
.md-typeset details {
  border-radius: 10px;
  margin-bottom: var(--space-md);
}

/* ---------- Code blocks ---------- */
.md-typeset code {
  border-radius: 5px;
}

.md-typeset pre > code {
  border-radius: 10px;
}

/* ---------- Search ---------- */
.md-search__form {
  border-radius: 8px;
}

/* ---------- Blockquote / testimonial quotes ---------- */
.md-typeset blockquote {
  position: relative;
  border: 1px solid var(--color-border);
  background: rgba(17, 54, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem 3rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.78);
}

.md-typeset blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0.6rem;
  left: 0.9rem;
  font-size: 2.5rem;
  font-family: Georgia, serif;
  color: var(--color-cornflower);
  opacity: 0.25;
  line-height: 1;
}

.md-typeset blockquote p {
  margin: 0;
}

[data-md-color-scheme="slate"] .md-typeset blockquote {
  background: rgba(165, 180, 252, 0.04);
  border-color: var(--color-border);
  color: rgba(255, 255, 255, 0.82);
}

[data-md-color-scheme="slate"] .md-typeset blockquote::before {
  color: var(--color-periwinkle);
  opacity: 0.2;
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(17, 54, 255, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 54, 255, 0.45);
}

[data-md-color-scheme="slate"] ::-webkit-scrollbar-thumb {
  background: rgba(165, 180, 252, 0.2);
}

[data-md-color-scheme="slate"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(165, 180, 252, 0.35);
}

/* ---------- Selection highlight ---------- */
::selection {
  background: rgba(17, 54, 255, 0.15);
}

[data-md-color-scheme="slate"] ::selection {
  background: rgba(165, 180, 252, 0.2);
}

/* ---------- Smooth theme transitions ---------- */
body,
.md-header,
.md-footer,
.md-sidebar,
.md-typeset a {
  transition: background-color 0.3s ease, color 0.2s ease;
}

/* ---------- Content links: underline for accessibility ---------- */
.md-typeset a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(17, 54, 255, 0.3);
}

.md-typeset a:hover {
  text-decoration-color: rgba(17, 54, 255, 0.6);
}

.md-typeset a:focus-visible {
  text-decoration-color: rgba(17, 54, 255, 0.8);
  outline: 2px solid #A5B4FC;
  outline-offset: 2px;
}

[data-md-color-scheme="slate"] .md-typeset a {
  text-decoration-color: rgba(165, 180, 252, 0.3);
}

[data-md-color-scheme="slate"] .md-typeset a:hover {
  text-decoration-color: rgba(165, 180, 252, 0.6);
}

[data-md-color-scheme="slate"] .md-typeset a:focus-visible {
  text-decoration-color: rgba(165, 180, 252, 0.8);
  outline: 2px solid #1136FF;
  outline-offset: 2px;
}

/* ---------- Scroll reveal ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pre-hide targets once JS is ready — prevents flicker */
.js-reveal-ready .reveal-target {
  opacity: 0;
  transform: translateY(14px);
}

.js-reveal-ready .reveal-target.revealed {
  animation: fadeUp 500ms ease both;
}

/* Staggered card children */
.js-reveal-ready .reveal-target .stagger-item {
  opacity: 0;
  transform: translateY(14px);
}

.js-reveal-ready .reveal-target.revealed .stagger-item {
  animation: fadeUp 500ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal-target,
  .js-reveal-ready .reveal-target.revealed,
  .js-reveal-ready .reveal-target .stagger-item,
  .js-reveal-ready .reveal-target.revealed .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Animated underline on nav tabs ---------- */
.md-tabs__link {
  position: relative;
}

.md-tabs__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #A5B4FC;
  transition: width 0.25s ease, left 0.25s ease;
}

.md-tabs__link:hover::after,
.md-tabs__link--active::after {
  width: 100%;
  left: 0;
}

[data-md-color-scheme="default"] .md-tabs__link::after {
  background: #fff;
}

/* ---------- CTA panel ---------- */
.cta-panel {
  background: linear-gradient(135deg, #1136FF 0%, #2F6CF9 40%, #A5B4FC 100%);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA buttons — row on desktop, column on mobile */
.cta-panel p:has(.md-button) {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 480px) {
  .cta-panel p:has(.md-button) {
    flex-direction: column;
  }
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-panel h2,
.cta-panel h3 {
  color: #fff;
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.92);
}

.cta-panel .md-button--primary {
  background-color: var(--color-accent-warm);
  border-color: var(--color-accent-warm);
  color: var(--color-charcoal);
  font-weight: 700;
  padding: 0.7rem 1.6rem;
}

.cta-panel .md-button--primary:hover {
  background-color: var(--color-accent-warm-hover);
  border-color: var(--color-accent-warm-hover);
  color: var(--color-charcoal);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.3);
}

[data-md-color-scheme="slate"] .cta-panel {
  background: linear-gradient(135deg, rgba(17, 54, 255, 0.18) 0%, rgba(47, 108, 249, 0.1) 50%, rgba(165, 180, 252, 0.06) 100%);
  border: 1px solid rgba(165, 180, 252, 0.15);
}

[data-md-color-scheme="slate"] .cta-panel h2,
[data-md-color-scheme="slate"] .cta-panel h3 {
  color: #fff;
}

[data-md-color-scheme="slate"] .cta-panel p {
  color: rgba(226, 228, 235, 0.85);
}

[data-md-color-scheme="slate"] .cta-panel .md-button--primary {
  background-color: var(--color-accent-warm);
  border-color: var(--color-accent-warm);
  color: var(--color-charcoal);
}

[data-md-color-scheme="slate"] .cta-panel .md-button--primary:hover {
  background-color: var(--color-accent-warm-hover);
  border-color: var(--color-accent-warm-hover);
  color: var(--color-charcoal);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* ---------- Homepage secondary buttons (ghost style on hero gradient) ---------- */
.hero-section p:has(.md-button) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-section .md-button {
  padding-left: calc(1.2em + 5px);
  padding-right: calc(1.2em + 5px);
}

.hero-section .md-button:not(.md-button--primary) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  border-width: 2px;
}

.hero-section .md-button:not(.md-button--primary):hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

[data-md-color-scheme="slate"] .hero-section .md-button:not(.md-button--primary) {
  color: #e2e4eb;
  border-color: rgba(165, 180, 252, 0.4);
}

[data-md-color-scheme="slate"] .hero-section .md-button:not(.md-button--primary):hover {
  border-color: #A5B4FC;
  background: rgba(165, 180, 252, 0.08);
  color: #fff;
}

/* ==========================================================================
   BREAKOUT — let hero, cards, proof strip, CTA panels use full grid width
   (.md-content__inner caps at 900px; these components need more room)
   ========================================================================== */
.md-content__inner > .hero-section,
.md-content__inner > .proof-strip,
.md-content__inner > .grid,
.md-content__inner > .cta-panel,
.md-content__inner > .testimonial-static-grid,
.md-content__inner > .why-me-strip,
.md-content__inner > .hero-micro-testimonial,
.md-content__inner > h2,
.md-content__inner > p,
.md-content__inner > div {
  max-width: 1200px;
  margin-inline: auto;
}

/* ---------- Proof strip & proof chips ---------- */
.proof-strip {
  padding: 0.75rem 0;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Tighter proof strip inside hero */
.hero-section .proof-strip {
  padding: 0.5rem 0 0;
  margin-top: 0;
  margin-bottom: 0;
}

.proof-strip,
.proof-strip p {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.75rem;
  column-gap: 0.5rem;
  justify-content: center;
}

.hero-section .proof-strip,
.hero-section .proof-strip p {
  row-gap: 0.6rem;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(17, 54, 255, 0.08);
  color: #1136FF;
  border: 1px solid rgba(17, 54, 255, 0.15);
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.proof-chip .twemoji,
.proof-chip .emojione,
.proof-chip .gemoji {
  font-size: 1rem;
  flex-shrink: 0;
  color: #1136FF;
}

[data-md-color-scheme="slate"] .proof-chip {
  background: rgba(17, 54, 255, 0.1);
  color: #7B8FFF;
  border-color: rgba(17, 54, 255, 0.2);
}

[data-md-color-scheme="slate"] .proof-chip .twemoji,
[data-md-color-scheme="slate"] .proof-chip .emojione,
[data-md-color-scheme="slate"] .proof-chip .gemoji {
  color: #1136FF;
}

@media screen and (max-width: 768px) {
  .proof-strip,
  .proof-strip p {
    row-gap: 0.5rem;
    column-gap: 0.4rem;
    justify-content: center;
  }

  .proof-chip {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    white-space: nowrap;
  }

  /* Hero proof strip — horizontal scroll if needed */
  .hero-proof-strip .proof-strip,
  .hero-proof-strip .proof-strip p,
  .hero-proof-strip {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.4rem;
  }

  /* Cards — breathing room between stacked items */
  .md-typeset .grid.cards > ul > li,
  .md-typeset .grid.cards > ol > li {
    margin-bottom: var(--space-md);
  }

  /* Card icons — smaller on mobile */
  .md-typeset .grid.cards .twemoji,
  .md-typeset .grid.cards .emojione,
  .md-typeset .grid.cards .gemoji {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .md-typeset .grid.cards .twemoji svg,
  .md-typeset .grid.cards .emojione svg,
  .md-typeset .grid.cards .gemoji svg {
    width: 1.4rem;
    height: 1.4rem;
  }
}

/* ---------- Card title hanging indent (keeps wrapped text aligned past icon) ---------- */
.md-typeset .grid.cards ul li > p:first-child {
  padding-left: 2.25em;
  text-indent: -2.25em;
}

/* ---------- Three-col grid spacing (engagement types) ---------- */
.md-typeset .grid.cards.three-col {
  margin-bottom: var(--space-lg);
}
.grid.cards.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg, 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .grid.cards.three-col {
    grid-template-columns: 1fr;
  }
}
/* Gap before "View all services" link under engagement cards */
.md-content__inner > div[style*="text-align: center"] {
  margin-top: var(--space-md);
}

/* ---------- Featured card badge ---------- */
.md-typeset .grid.cards:not(.case-study-cards) > ul > li:first-child::before,
.md-typeset .grid.cards:not(.case-study-cards) > ol > li:first-child::before {
  /* Only applied via .featured-cards parent */
  content: none;
}

.featured-cards > ul > li:first-child,
.featured-cards > ol > li:first-child {
  position: relative;
  background: rgba(17, 54, 255, 0.03);
}

.md-typeset .grid.cards.featured-cards > ul > li:first-child::before,
.md-typeset .grid.cards.featured-cards > ol > li:first-child::before {
  content: "Featured";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Reserve space so the title text wraps before the badge */


[data-md-color-scheme="slate"] .featured-cards > ul > li:first-child {
  background: rgba(165, 180, 252, 0.04);
}

[data-md-color-scheme="slate"] .featured-cards > ul > li:first-child::before,
[data-md-color-scheme="slate"] .featured-cards > ol > li:first-child::before {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

/* ---------- Tech badge pills ---------- */
.about-tech-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem auto;
  max-width: 900px;
}
.tech-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-badges > div {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.tech-badge {
  background: var(--color-primary-muted, #A5B4FC);
  color: var(--color-on-surface, #0c1024);
  border-radius: 1.2em;
  padding: 0.3em 1em;
  font-size: 1em;
  font-weight: 600;
  margin: 0 0.2em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   TECH GRID — icon + label grid for core technologies
   ========================================================================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  text-align: center;
  margin: 1rem 0 1.25rem;
}

.tech-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: var(--space-md) var(--space-sm);
  border-radius: 14px;
  background: rgba(17, 54, 255, 0.04);
  border: 1px solid rgba(17, 54, 255, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-grid__item:hover {
  border-color: rgba(17, 54, 255, 0.2);
  box-shadow: 0 4px 12px rgba(17, 54, 255, 0.06);
}

.tech-grid__item p {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.tech-grid__item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--md-default-fg-color);
  line-height: 1.2;
  display: block;
}

.tech-grid__icon {
  display: block;
  text-align: center;
}

.tech-grid__icon svg {
  width: 2rem;
  height: 2rem;
}

[data-md-color-scheme="slate"] .tech-grid__item {
  background: rgba(165, 180, 252, 0.06);
  border-color: rgba(165, 180, 252, 0.1);
}

[data-md-color-scheme="slate"] .tech-grid__item:hover {
  border-color: rgba(165, 180, 252, 0.22);
  box-shadow: 0 4px 12px rgba(165, 180, 252, 0.06);
}

@media screen and (max-width: 600px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
}

.tech-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(17, 54, 255, 0.08);
  color: #2F6CF9;
  border: 1px solid rgba(17, 54, 255, 0.12);
  margin: 0.15rem 0.1rem;
  letter-spacing: 0.01em;
}

[data-md-color-scheme="slate"] .tech-badge {
  background: rgba(165, 180, 252, 0.1);
  color: #A5B4FC;
  border-color: rgba(165, 180, 252, 0.15);
}

/* ---------- Metric highlight ---------- */
.metric-highlight {
  margin: 1.5rem 0;
}

.metric-highlight-item {
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: rgba(17, 54, 255, 0.04);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.6;
}

.metric-highlight-item strong {
  font-weight: 800;
  color: var(--color-primary);
}

[data-md-color-scheme="slate"] .metric-highlight-item {
  background: rgba(165, 180, 252, 0.04);
  border-color: var(--color-border);
}

[data-md-color-scheme="slate"] .metric-highlight-item strong {
  color: var(--color-primary);
}

/* ---------- Lead paragraph (intro text on pages) ---------- */
.md-typeset > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--md-default-fg-color);
}

/* ---------- Question admonition — brand-aligned color ---------- */
:root > * {
  --md-admonition-icon--question: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15M14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2"/></svg>');
}
.md-typeset .admonition.info, .md-typeset .admonition.tip,
.md-typeset details.info {
margin-inline: auto;
}

.md-typeset .admonition.question,
.md-typeset details.question {
  border-color: #1136FF;
}
.md-typeset .question > .admonition-title,
.md-typeset .question > summary {
  background-color: rgba(17, 54, 255, 0.08);
}
.md-typeset .question > .admonition-title::before,
.md-typeset .question > summary::before {
  background-color: #1136FF;
  -webkit-mask-image: var(--md-admonition-icon--question);
          mask-image: var(--md-admonition-icon--question);
}
[data-md-color-scheme="slate"] .md-typeset .admonition.question,
[data-md-color-scheme="slate"] .md-typeset details.question {
  border-color: #A5B4FC;
}
[data-md-color-scheme="slate"] .md-typeset .question > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset .question > summary {
  background-color: rgba(165, 180, 252, 0.08);
}
[data-md-color-scheme="slate"] .md-typeset .question > .admonition-title::before,
[data-md-color-scheme="slate"] .md-typeset .question > summary::before {
  background-color: #A5B4FC;
}

/* ---------- CTA panel secondary button ---------- */
.cta-panel .md-button:not(.md-button--primary) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  border-width: 2px;
  font-weight: 600;
  border-radius: 8px;
}

.cta-panel .md-button:not(.md-button--primary):hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-md-color-scheme="slate"] .cta-panel .md-button:not(.md-button--primary) {
  color: #e2e4eb;
  border-color: rgba(165, 180, 252, 0.4);
}

[data-md-color-scheme="slate"] .cta-panel .md-button:not(.md-button--primary):hover {
  border-color: #A5B4FC;
  background: rgba(165, 180, 252, 0.08);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE — mobile, landscape, tablet adjustments
   (Hero-specific responsive rules are in hero.css which loads after this file)
   ========================================================================== */

/* ---------- Tablets & landscape phones (≤ 768px) ---------- */
@media screen and (max-width: 768px) {
  /* Add breathing room on mobile */
  .md-content__inner {
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* CTA panel */
  .cta-panel {
    padding: 1.5rem 1.25rem;
    margin-top: 0.75rem;
  }

  .cta-panel h3 {
    font-size: 1.3rem;
  }

  /* General heading spacing */
  .md-typeset h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
  }

  .md-typeset h2 {
    margin-top: 2rem;
  }

  /* Metric highlight — tighten */
  .metric-highlight {
    gap: 0.75rem;
  }

  .metric-highlight-item {
    padding: 1rem 0.75rem;
  }

  .metric-highlight-item strong {
    font-size: 1.4rem;
}

  /* Stack inline button pairs on mobile */
  .md-typeset div[style*="text-align: center"] .md-button {
    display: block;
    margin: 0.5rem auto;
    width: fit-content;
  }
}

/* ---------- Mobile portrait (≤ 480px) ---------- */
@media screen and (max-width: 480px) {
  /* CTA panel */
  .cta-panel {
    padding: 1.5rem 1rem;
    border-radius: 14px;
  }

  .cta-panel h3 {
    font-size: 1.15rem;
  }

  .cta-panel p {
    font-size: 0.88rem;
  }

  /* Stack CTA buttons */
  .cta-panel .md-button {
    display: block;
    text-align: center;
    margin: 0.4rem auto 0;
  }

  /* General headings */
  .md-typeset h1 {
    font-size: 1.25rem;
  }

  .md-typeset h2 {
    font-size: 1.2rem;
    margin-top: 1.75rem;
  }

  /* Lead paragraph */
  .md-typeset > p:first-of-type {
    font-size: 1.02rem;
  }

  /* Proof chips — allow wrap on very long text */
  .proof-chip {
    white-space: normal;
  }

  /* Metric highlight — 2-column grid */
  .metric-highlight {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .metric-highlight-item strong {
    font-size: 1.2rem;
  }

  .metric-highlight-item span,
  .metric-highlight-item em {
    font-size: 0.78rem;
  }

  /* Tech badges */
  .tech-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  /* Content cards grid — single column */
  .md-typeset .grid.cards > ul,
  .md-typeset .grid.cards > ol {
    grid-template-columns: 1fr;
  }

  /* Featured badge — move above the title on narrow cards */
  .md-typeset .grid.cards.featured-cards > ul > li:first-child::before,
  .md-typeset .grid.cards.featured-cards > ol > li:first-child::before {
    font-size: 0.55rem;
    padding: 0.15rem 0.45rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .md-typeset .grid.cards.featured-cards > ul > li:first-child,
  .md-typeset .grid.cards.featured-cards > ol > li:first-child {
    padding-top: 2.2rem;
  }

  /* Remove excessive right-padding on title — badge is above now */
  .md-typeset .grid.cards.featured-cards > ul > li:first-child > p:first-child,
  .md-typeset .grid.cards.featured-cards > ol > li:first-child > p:first-child {
    padding-right: 0;
  }

  /* Breakout components — respect viewport edges */
  .md-content__inner > .hero-section,
  .md-content__inner > .proof-strip,
  .md-content__inner > .grid,
  .md-content__inner > .cta-panel,
  .md-content__inner > .testimonial-static-grid,
  .md-content__inner > .why-me-strip,
  .md-content__inner > .hero-micro-testimonial,
  .md-content__inner > h2,
  .md-content__inner > p,
  .md-content__inner > div {
    max-width: 100%;
  }

  .why-me-strip {
    padding: var(--space-sm);
  }

  .why-me-strip table {
    display: inline-block;
    font-size: 0.85rem;
  }

  .md-typeset table:has(th:nth-child(4)) {
    min-width: 500px;
  }

.md-typeset__scrollwrap {
    -webkit-overflow-scrolling: touch;
  }

  /* Card title hanging indent — slightly tighter */
  .md-typeset .grid.cards ul li > p:first-child {
    padding-left: 2em;
    text-indent: -2em;
    font-size: 0.92rem;
  }

  /* Stack social/external link buttons */
  .md-typeset p > .md-button {
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ---------- Extra-small phones (≤ 360px) ---------- */
@media screen and (max-width: 360px) {
  .md-content__inner {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .md-typeset h1 {
    font-size: 1.15rem;
  }

  .md-typeset h2 {
    font-size: 1.05rem;
  }

  /* Allow buttons to wrap text on narrow screens */
  .md-typeset .md-button {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.02em;
  }

  .hero-audience {
    font-size: 0.78rem;
  }

  .hero-micro-testimonial {
    padding: 0.4rem 0.75rem;
    font-size: 0.92rem;
  }

  .proof-chip {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }

  .cta-panel {
    padding: 1.25rem 0.75rem;
    box-sizing: border-box;
    max-width: 100%;
  }

  .cta-panel h3 {
    font-size: 1rem;
  }

  .cta-panel p {
    font-size: 0.82rem;
  }

  .md-banner {
    font-size: 0.72rem;
    padding: 0.35rem 0.5rem;
  }

  /* Card title — even tighter at 360px */
  .md-typeset .grid.cards ul li > p:first-child {
    padding-left: 1.75em;
    text-indent: -1.75em;
    font-size: 0.88rem;
  }

  /* Tables — tighter padding for narrow screens */
  .why-me-strip td,
  .why-me-strip th {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .why-me-strip {
    padding: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  /* Testimonial cards — tighter padding */
  .testimonial-card {
    padding: 1rem 1rem;
    padding-top: 2rem;
  }

  .testimonial-card__quote {
    font-size: 0.88rem;
  }

  /* Hero micro-testimonial */
  .hero-micro-testimonial {
    font-size: 0.88rem;
    padding: 0.35rem 0.6rem;
  }
}

/* ---------- Landscape phones (short viewport) ---------- */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .cta-panel {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   HOMEPAGE — hide sidebar navigation for landing-page feel
   ========================================================================== */
.md-content[data-md-component="content"] .md-sidebar--primary,
body[data-md-url="/"] .md-sidebar--primary {
  display: none;
}

/* Hide the left TOC sidebar on the homepage via page title selector */
.page-home .md-sidebar {
  display: none;
}

/* ---------- Hero eyebrow ---------- */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

[data-md-color-scheme="slate"] .hero-eyebrow {
  color: rgba(165, 180, 252, 0.9);
  background: rgba(165, 180, 252, 0.1);
  border-color: rgba(165, 180, 252, 0.2);
}

@media screen and (max-width: 900px) {
  .hero-eyebrow {
    white-space: normal;
    line-height: 1.35;
    text-align: center;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   STATIC TESTIMONIAL GRID — replaces carousels
   ========================================================================== */

.testimonial-static-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0.5rem 0 0.75rem;
}

/* When exactly 3 cards, show all 3 in one row */
.testimonial-static-grid:has(> :nth-child(3)):not(:has(> :nth-child(4))) {
  grid-template-columns: repeat(3, 1fr);
}

/* 1-col on mobile */
@media screen and (max-width: 600px) {
  .testimonial-static-grid {
    grid-template-columns: 1fr !important;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  padding-top: 2.5rem;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.25s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  font-size: 3rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(17, 54, 255, 0.25);
  pointer-events: none;
}

[data-md-color-scheme="slate"] .testimonial-card::before {
  color: rgba(165, 180, 252, 0.35);
}

[data-md-color-scheme="slate"] .testimonial-card {
  background: rgba(17, 20, 50, 0.85);
  border: 1px solid rgba(165, 180, 252, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 54, 255, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
}

[data-md-color-scheme="slate"] .testimonial-card:hover {
  box-shadow: 0 12px 24px rgba(165, 180, 252, 0.1);
  border-color: rgba(165, 180, 252, 0.3);
}

.testimonial-card__quote {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #e2e4eb;
  font-style: italic;
}

.testimonial-card__quote p {
  margin: 0;
}

.testimonial-card__author {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1136FF;
  margin: 0;
}

[data-md-color-scheme="slate"] .testimonial-card__author {
  color: #A5B4FC;
}

.testimonial-card__meta {
  font-size: 0.8rem;
  color: #9499b0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

/* Star rating row */
.testimonial-card::after {
  content: "★★★★★";
  display: block;
  color: var(--color-primary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ---------- Industry tag ---------- */
.industry-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(47, 108, 249, 0.1);
  color: #2F6CF9;
  border: 1px solid rgba(47, 108, 249, 0.2);
  vertical-align: middle;
  margin-left: 0.4rem;
}

[data-md-color-scheme="slate"] .industry-tag {
  background: rgba(165, 180, 252, 0.12);
  color: #A5B4FC;
  border-color: rgba(165, 180, 252, 0.25);
}

/* ---------- Testimonial CTA link row ---------- */
.testimonial-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.5rem 0 2rem;
}

/* ==========================================================================
   HERO — audience qualifier + proof strip inside hero
   ========================================================================== */

.hero-audience {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

[data-md-color-scheme="slate"] .hero-audience {
  color: rgba(165, 180, 252, 0.92);
}

/* Proof chips when inside the blue hero gradient — force white style */
.hero-proof-strip .proof-chip {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-proof-strip .proof-chip svg,
.hero-proof-strip .proof-chip .twemoji {
  opacity: 0.85;
}

/* ==========================================================================
   WHY-ME STRIP — comparison table wrapper on homepage
   ========================================================================== */

.why-me-strip {
  margin: var(--space-sm) auto;
  padding: var(--space-md);
  background: rgba(17, 54, 255, 0.02);
  border-radius: 14px;
  max-width: 1200px;
  text-align: center;
}

[data-md-color-scheme="slate"] .why-me-strip {
  background: rgba(165, 180, 252, 0.03);
}

.why-me-strip table {
  display: inline-block;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 54, 255, 0.1);
}

[data-md-color-scheme="slate"] .why-me-strip table {
  border-color: rgba(165, 180, 252, 0.12);
}

.why-me-strip th {
  padding: 0.7rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-default-fg-color--light);
  border-bottom: 2px solid rgba(17, 54, 255, 0.15);
}

.why-me-strip th:last-child {
  color: #1136FF;
  border-bottom-color: #1136FF;
}

[data-md-color-scheme="slate"] .why-me-strip th:last-child {
  color: #A5B4FC;
  border-bottom-color: #A5B4FC;
}

.why-me-strip td {
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(47, 108, 249, 0.08);
  vertical-align: top;
}

.why-me-strip tr:last-child td {
  border-bottom: none;
}

.why-me-strip td:last-child {
  background: rgba(17, 54, 255, 0.05);
  font-weight: 700;
  
}

[data-md-color-scheme="slate"] .why-me-strip td:last-child {
  background: rgba(165, 180, 252, 0.06);
}

/* Why-me table — icon indicators */
.why-me-strip .icon-positive {
  color: #16a34a;
  vertical-align: -0.15em;
  margin-right: 0.15em;
}

.why-me-strip .icon-negative {
  color: #dc2626;
  opacity: 0.6;
  vertical-align: -0.15em;
  margin-right: 0.15em;
}

.why-me-strip .icon-neutral {
  color: #9ca3af;
  vertical-align: -0.15em;
  margin-right: 0.15em;
}

[data-md-color-scheme="slate"] .why-me-strip .icon-positive {
  color: #4ade80;
}

[data-md-color-scheme="slate"] .why-me-strip .icon-negative {
  color: #f87171;
  opacity: 0.6;
}

[data-md-color-scheme="slate"] .why-me-strip .icon-neutral {
  color: #6b7280;
}

/* ==========================================================================
   MOBILE STICKY CTA — fixed bottom bar, mobile only
   ========================================================================== */

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: #1136FF;
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

.mobile-sticky-cta__label {
  display: none;
}

.mobile-sticky-cta__btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--color-accent-warm);
  color: var(--color-charcoal);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.mobile-sticky-cta__btn:hover {
  background: var(--color-accent-warm-hover);
  color: var(--color-charcoal);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }
}

/* Prevent mobile sticky from covering the page footer */
@media screen and (max-width: 768px) {
  .md-footer {
    padding-bottom: 4.5rem;
  }
}

/* ==========================================================================
   HERO MICRO-TESTIMONIAL — standout quote block below hero
   ========================================================================== */

.hero-micro-testimonial {
  text-align: center;
  padding: 0.5rem 1.25rem;
  margin: 0 auto 0.5rem;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--md-default-fg-color);
  background: rgba(17, 54, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.hero-micro-testimonial em {
  font-style: italic;
}

[data-md-color-scheme="slate"] .hero-micro-testimonial {
  border-color: var(--color-border);
  background: rgba(165, 180, 252, 0.04);
}

/* ==========================================================================
   DARK MODE — mobile sticky CTA
   ========================================================================== */

[data-md-color-scheme="slate"] .mobile-sticky-cta {
  background: rgba(12, 16, 36, 0.97);
  border-top-color: rgba(165, 180, 252, 0.15);
}

[data-md-color-scheme="slate"] .mobile-sticky-cta__btn {
  background: var(--color-accent-warm);
  color: var(--color-charcoal);
}

/* ==========================================================================
   SECTION DIVIDERS — subtle gradient separators between homepage sections
   ========================================================================== */



/* ==========================================================================
   SCROLL PROGRESS INDICATOR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #1136FF, #2F6CF9, #A5B4FC);
  z-index: 1000;
  transition: none;
  pointer-events: none;
}

[data-md-color-scheme="slate"] .scroll-progress {
  background: linear-gradient(90deg, #A5B4FC, #2F6CF9, #1136FF);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }
}

/* ==========================================================================
   CUSTOM FOOTER
   ========================================================================== */

.site-footer {
  background: rgba(12, 16, 50, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(165, 180, 252, 0.12);
  color: rgba(226, 228, 235, 0.85);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

[data-md-color-scheme="default"] .site-footer {
  background: rgba(17, 54, 255, 0.95);
  border-top: 1px solid rgba(47, 108, 249, 0.3);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.site-footer__inner > * {
  flex: 1 1 0;
}

.site-footer__brand p {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
  color: inherit;
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.site-footer__social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.site-footer__social a:hover {
  color: #fff;
}

.site-footer h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-md);
  color: #fff;
  border-bottom: none;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-md);
}

.site-footer__links li {
  margin-bottom: 0;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.7);    
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__cta .md-button {
  display: inline-block;
  margin-bottom: var(--space-md);
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__cta a:not(.md-button) {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-top: var(--space-xs);
}

.site-footer__cta a:not(.md-button):hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin: 0 var(--space-sm);
}

.site-footer__bottom a:hover {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .site-footer__inner {
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    text-align: center;
  }
  .site-footer__brand {
    flex: 1 1 100%;
    text-align: center;
  }
  .site-footer__social {
    justify-content: center;
  }
  .site-footer__links {
    justify-content: center;
  }
  .site-footer__cta {
    text-align: center;
  }
  .site-footer h4 {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer__inner > * {
    flex: 1 1 100%;
    width: 100%;
  }
  .site-footer__links {
    justify-items: center;
  }
  .site-footer__cta .md-button {
    display: block;
    margin: 0 auto var(--space-sm);
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: var(--space-md) var(--space-lg);
  background: rgba(12, 16, 50, 0.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(165, 180, 252, 0.15);
  color: rgba(226, 228, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-md-color-scheme="default"] .cookie-consent {
  background: rgba(17, 54, 255, 0.97);
  border-top: 1px solid rgba(47, 108, 249, 0.3);
  color: rgba(255, 255, 255, 0.92);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent p {
  font-size: var(--text-sm);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-consent a {
  color: #A5B4FC;
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-md-color-scheme="default"] .cookie-consent a {
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.cookie-consent__btn:active {
  transform: scale(0.98);
}

.cookie-consent__btn--accept {
  background: #fff;
  color: #1136FF;
}

.cookie-consent__btn--accept:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cookie-consent__btn--decline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-consent__btn--decline:hover {
  background: rgba(255, 255, 255, 0.2);
}

[data-md-color-scheme="slate"] .cookie-consent__btn--accept {
  background: #A5B4FC;
  color: #0c1024;
}

[data-md-color-scheme="slate"] .cookie-consent__btn--accept:hover {
  background: #8a9cfa;
}

/* 2 columns on lg+ */
@media (min-width: 60rem) {
  .md-typeset .grid-2cols { grid-template-columns: repeat(2, 1fr) !important; }
}

/* 3 columns on lg+ */
@media (min-width: 60rem) {
  .md-typeset .grid-3cols { grid-template-columns: repeat(3, 1fr) !important; }
}

/* 4 columns on lg+ */
@media (min-width: 60rem) {
  .md-typeset .grid-4cols { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ---------- Utility classes ---------- */
.text-muted {
  opacity: 0.6;
}

/* ---------- About page author photo ---------- */
.md-typeset .about-author-photo {
  width: 220px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(17, 54, 255, 0.08);
  border: 1px solid rgba(47, 108, 249, 0.1);
  margin: 0 0 var(--space-md) var(--space-lg);
}

[data-md-color-scheme="slate"] .md-typeset .about-author-photo {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(165, 180, 252, 0.15);
}

@media screen and (max-width: 480px) {
  .md-typeset .about-author-photo {
    float: none;
    display: block;
    margin: 0 auto var(--space-md);
    width: 180px;
  }
}

/* ---------- Ultra-narrow phones (≤ 320px) ---------- */
@media screen and (max-width: 320px) {
  .md-content__inner {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .md-typeset h1 {
    font-size: 1.05rem;
  }

  .md-typeset h2 {
    font-size: 0.95rem;
    margin-top: 1.5rem;
  }

  .md-typeset h3 {
    font-size: 0.88rem;
  }

  /* Proof strip — compact */
  .proof-chip {
    font-size: 0.58rem;
    padding: 0.2rem 0.35rem;
  }

  .hero-eyebrow {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
  }

  /* Cards — tighter spacing */
  .md-typeset .grid.cards > ul > li,
  .md-typeset .grid.cards > ol > li {
    padding: 0.6rem 0.7rem !important;
  }

  .md-typeset .grid.cards ul li > p:first-child {
    padding-left: 1.5em;
    text-indent: -1.5em;
    font-size: 0.84rem;
  }

  /* Buttons — full width */
  .md-typeset .md-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
  }

  /* CTA panel */
  .cta-panel {
    padding: 1rem 0.5rem;
  }

  .cta-panel h3 {
    font-size: 0.92rem;
  }

  .cta-panel p {
    font-size: 0.78rem;
  }

  /* Hero micro-testimonial */
  .hero-micro-testimonial {
    font-size: 0.82rem;
    padding: 0.3rem 0.5rem;
  }

  /* Testimonial cards */
  .testimonial-card {
    padding: 0.75rem;
    padding-top: 1.75rem;
  }

  .testimonial-card__quote {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .testimonial-card__author {
    font-size: 0.78rem;
  }

  .testimonial-card__meta {
    font-size: 0.7rem;
  }

  /* Why-me table — scrollable with tighter cells */
  .why-me-strip {
    padding: 0.35rem;
    margin-left: -0.35rem;
    margin-right: -0.35rem;
  }

  .why-me-strip h2 {
    font-size: 0.9rem;
    padding-left: 0.15rem;
  }

  .why-me-strip td,
  .why-me-strip th {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }

  /* Footer — tighter on very narrow screens */
  .site-footer {
    padding: var(--space-md) var(--space-sm) var(--space-sm);
  }
}
.md-content {
  margin-top: 3rem;
}
/* ==========================================================================
   P0 Visual Improvements — Section bands, card accents, floating CTA, timeline
   ========================================================================== */

/* ---------- 1. Alternating section backgrounds ---------- */
.section-band--tinted {
  background: rgba(47, 108, 249, 0.1);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-lg);
  margin: var(--space-lg) calc(-1 * var(--space-lg));
}

[data-md-color-scheme="slate"] .section-band--tinted {
  background: rgba(47, 108, 249, 0.15);  /* 15% opacity - similar visual weight to light mode */
  border: 1px solid rgba(47, 108, 249, 0.2);  /* Add subtle border for definition */
}

[class*="section-band"] h2 {
  margin-top: 0;
}

/* ---------- 2. Case study card accent strips ---------- */
.case-study-cards > ul > li,
.case-study-cards > ol > li {
  position: relative;
  overflow: hidden;
}

.case-study-cards > ul > li::before,
.case-study-cards > ol > li::before {
  content: '';
  display: block;
  height: 4px;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.case-study-cards > ul > li:nth-child(1)::before,
.case-study-cards > ol > li:nth-child(1)::before {
  background: linear-gradient(90deg, var(--color-royal-blue), var(--color-cornflower));
}

.case-study-cards > ul > li:nth-child(2)::before,
.case-study-cards > ol > li:nth-child(2)::before {
  background: linear-gradient(90deg, var(--color-cornflower), var(--color-periwinkle));
}

.case-study-cards > ul > li:nth-child(3)::before,
.case-study-cards > ol > li:nth-child(3)::before {
  background: linear-gradient(90deg, var(--color-periwinkle), var(--color-royal-blue));
}

.case-study-cards > ul > li:nth-child(4)::before,
.case-study-cards > ol > li:nth-child(4)::before {
  background: linear-gradient(90deg, var(--color-royal-blue), var(--color-periwinkle));
}

/* ---------- 3. Floating CTA button (desktop / tablet) ---------- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  background: var(--color-accent-warm);
  color: var(--color-charcoal);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
  color: var(--color-charcoal);
}

.floating-cta:focus-visible {
  outline: 2px solid var(--color-accent-warm);
  outline-offset: 2px;
}

.floating-cta.hidden {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .floating-cta { display: none; }
}

/* ---------- 4. Process timeline ---------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
  padding-top: 3rem;
  margin-top: var(--space-md);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-royal-blue), var(--color-periwinkle));
  pointer-events: none;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-royal-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(17, 54, 255, 0.25);
}

.process-step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 var(--space-xs);
  color: inherit;
}

.process-step p {
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

[data-md-color-scheme="slate"] .process-step__number {
  box-shadow: 0 4px 12px rgba(17, 54, 255, 0.4);
}

/* Timeline stagger animation */
.reveal-target .process-step {
  opacity: 0;
  transform: translateY(16px);
}

.revealed .process-step {
  animation: stagger-fade-in 0.4s ease forwards;
}

.revealed .process-step:nth-child(1) { animation-delay: 0ms; }
.revealed .process-step:nth-child(2) { animation-delay: 80ms; }
.revealed .process-step:nth-child(3) { animation-delay: 160ms; }
.revealed .process-step:nth-child(4) { animation-delay: 240ms; }

@keyframes stagger-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    padding-left: 3.5rem;
    padding-top: var(--space-md);
  }
  .process-timeline::before {
    left: 1.5rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .process-step {
    text-align: left;
  }
  .process-step__number {
    position: absolute;
    left: -3.5rem;
    top: 0;
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .process-step h3 {
    margin-top: 0.15rem;
  }
}

/* ==========================================================================
   PROJECT DIAGRAM — Mermaid architecture diagram container
   ========================================================================== */

.mermaid {
  margin: 1.25rem 0 1.5rem;
  padding: var(--space-lg);
  background: rgba(17, 54, 255, 0.02);
  border: 1px solid rgba(17, 54, 255, 0.08);
  border-radius: 14px;
  overflow-x: auto;
  text-align: center;
}

[data-md-color-scheme="slate"] .mermaid {
  background: rgba(165, 180, 252, 0.03);
  border-color: rgba(165, 180, 252, 0.08);
}

@media screen and (max-width: 600px) {
  .mermaid {
    padding: var(--space-md);
  }
}
md-main
/* ==========================================================================
   P2 VISUAL IMPROVEMENTS — Tasks 9–13
   ========================================================================== */

/* ---------- Task 9: Services card gradient accent strips ---------- */
 
.services-card > ul > li,
.services-card > ol > li {
  position: relative;
  overflow: hidden;
}

.services-card > ul > li:nth-child(odd),
.services-card > ol > li:nth-child(odd) {
  background-color: rgba(17, 54, 255, 1);
}

.services-card > ul > li:nth-child(even),
.services-card > ol > li:nth-child(even) {
  background-color: rgba(17, 54, 255, 0.12);
}

.services-card > ul > li::before,
.services-card > ol > li::before {
  content: '';
  display: block;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-royal-blue), var(--color-periwinkle));
  margin-bottom: var(--space-sm);
}

/* ---------- Task 10: About page split-layout hero ---------- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: var(--space-xl);
}

.about-hero-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(17, 54, 255, 0.12);
  border: 1px solid rgba(47, 108, 249, 0.1);
}

[data-md-color-scheme="slate"] .about-hero-photo img {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(165, 180, 252, 0.15);
}

@media (max-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-photo {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ---------- Task 11: Testimonial section tinting & verified badge ---------- */
.testimonial-section--tinted {
  background: rgba(17, 54, 255, 1);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-md) calc(-1 * var(--space-md));
}

[data-md-color-scheme="slate"] .testimonial-section--tinted {
  background: rgba(17, 54, 255, 0.15);
}

.testimonial-card__meta::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--color-cornflower);
  color: #fff;
  font-size: 0.6em;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__meta.no-verify::before {
  display: none;
}

/* ---------- Task 12: FAQ accordion enhancements ---------- */
.md-typeset details.question {
  border-radius: 14px;
  margin-bottom: var(--space-md);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.md-typeset details.question > summary::after {
  color: var(--color-royal-blue);
}

[data-md-color-scheme="slate"] .md-typeset details.question > summary::after {
  color: var(--color-periwinkle);
}

.md-typeset details.question[open] {
  box-shadow: 0 4px 16px rgba(17, 54, 255, 0.08);
}

[data-md-color-scheme="slate"] .md-typeset details.question[open] {
  box-shadow: 0 4px 16px rgba(165, 180, 252, 0.1);
}

.md-typeset .question > summary {
  font-weight: 700;
  font-size: 1.05rem;
  padding: var(--space-md) var(--space-lg);
  padding-left: 2.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 14px;
}

.md-typeset .question > summary::before {
  width: 1.2rem;
  height: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  left: var(--space-md);
  position: absolute;
}

.md-typeset .question > summary:hover {
  background-color: rgba(17, 54, 255, 0.12);
}

[data-md-color-scheme="slate"] .md-typeset .question > summary:hover {
  background-color: rgba(165, 180, 252, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .md-typeset details.question,
  .md-typeset .question > summary {
    transition: none;
  }
}

/* ---------- Task 13: Contact page split layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.contact-info {
  background: rgba(17, 54, 255, 0.04);
  border: 1px solid rgba(17, 54, 255, 0.1);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-xl);
  position: sticky;
  top: 5rem;
}

.contact-info h3 {
  font-size: var(--text-lg);
  margin-top: 0;
}

.contact-info h3:not(:first-child) {
  margin-top: var(--space-lg);
}

.contact-info .md-button {
  display: block;
  text-align: center;
  margin-bottom: var(--space-sm);
}

[data-md-color-scheme="slate"] .contact-info {
  background: rgba(165, 180, 252, 0.04);
  border-color: rgba(165, 180, 252, 0.1);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    position: static;
  }
}