/* ===================================================================
   VERIORA LABS — Stylesheet
   Design tokens are IBM Plex-based (a nod to enterprise consulting
   heritage) paired with a navy/signal-blue palette drawn from the
   Veriora mark: a solid, human "V" that resolves into a structured
   grid of blue — business, powered by technology.
   =================================================================== */

:root {
  /* ---- Color: named tokens ---- */
  --ink:        #0B1626; /* primary dark / hero + promise backgrounds */
  --navy:       #10213D; /* secondary dark, section alternation */
  --signal:     #2C68DF; /* primary accent — gradient start. Slightly darkened
                             from the original #2F6FED so text set in this
                             color (eyebrows, links, accents) clears 4.5:1
                             against BOTH white and the --paper background —
                             the original passed white (4.55:1) but only hit
                             4.27:1 on paper, just under WCAG AA. */
  --sky:        #3FA9F5; /* accent — standalone highlights (icon strokes, footer text) */
  --sky-deep:   #096AAF; /* darker sky, same hue — used as gradient endpoint so white
                             button text keeps 4.5:1+ contrast across the whole gradient
                             (plain --sky only gives ~2.6:1 with white, which fails WCAG AA) */
  --paper:      #F6F8FB; /* light section background */
  --white:      #FFFFFF;
  --slate:      #47536A; /* secondary / muted text on light bg */
  --slate-200:  #92A0B3; /* muted text on dark bg */
  --line:       #E3E8F0; /* hairline borders on light bg */
  --line-dark:  rgba(255,255,255,0.10);

  /* ---- Gradient ---- */
  --gradient-signal: linear-gradient(135deg, var(--signal) 0%, var(--sky-deep) 100%);

  /* ---- Type ---- */
  --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* ---- Scale ---- */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  --step-5:  clamp(3rem, 2.2rem + 3.6vw, 5rem);

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ===================================================================
   Reset & base
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--signal);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: var(--step-3); margin-top: 14px; }
.section-head p { color: var(--slate); margin-top: 16px; font-size: var(--step-1); line-height: 1.55; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 112px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-signal);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(11,22,38,0.08);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(47,111,237,0.55); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ===================================================================
   Double-Layer Header (Two-Row Navigation)
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(227, 232, 240, 0.6);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -8px rgba(11, 22, 38, 0.08);
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.96);
}

.site-header .container {
  display: flex;
  flex-direction: column;
  height: auto;
}

/* TOP ROW (Utility & Secondary Links) */
.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(227, 232, 240, 0.7);
  transition: padding 0.3s var(--ease), border-color 0.3s var(--ease);
}

.top-row-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}
.top-link:hover {
  color: var(--signal);
}

.top-row-right {
  display: flex;
  align-items: center;
}

.top-cta-btn {
  padding: 8px 20px;
  font-size: 0.90rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* BOTTOM ROW (Core Offerings & Main Navigation) */
.header-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  transition: padding 0.3s var(--ease);
}

.bottom-row-left {
  display: flex;
  align-items: center;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 38px; width: auto; flex: none; object-fit: contain; }
.brand-icon { height: 40px; width: auto; flex: none; object-fit: contain; transition: height 0.3s var(--ease); }
.brand-wordmark { height: 28px; width: auto; flex: none; object-fit: contain; margin-top: 2px; transition: height 0.3s var(--ease); }
.brand-tm {
  font-size: 0.6em;
  line-height: 1;
  vertical-align: super;
  margin-left: 1px;
  color: inherit;
}

.bottom-row-center {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav .nav-item,
.main-nav .nav-dropdown summary {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.main-nav .nav-item:hover,
.main-nav .nav-dropdown summary:hover {
  color: var(--signal);
}

.main-nav .nav-item::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-signal);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.main-nav .nav-item:hover::after {
  width: 100%;
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.nav-dropdown .caret { width: 12px; height: 12px; flex: 0 0 12px; max-width: 12px; max-height: 12px; transition: transform 0.2s var(--ease); }
svg.caret { width: 14px; height: 14px; max-width: 14px; max-height: 14px; flex: 0 0 14px; transition: transform 0.2s var(--ease); }
.nav-dropdown[open] .caret { transform: rotate(180deg); }

@media (min-width: 992px) {
  .nav-dropdown .dropdown-panel {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
    box-shadow: 0 20px 40px -18px rgba(11,22,38,0.28);
    padding: 8px; min-width: 240px; z-index: 60;
  }
  .nav-dropdown .dropdown-panel a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate);
    white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav-dropdown .dropdown-panel a:hover { background: var(--paper); color: var(--signal); }
}

/* Scroll shrink effect */
.site-header.is-scrolled .header-top-row {
  padding: 4px 0;
}
.site-header.is-scrolled .header-bottom-row {
  padding: 8px 0;
}
.site-header.is-scrolled .brand-icon {
  height: 34px;
}
.site-header.is-scrolled .brand-wordmark {
  height: 24px;
}

/* MOBILE RESPONSIVE HEADER (< 992px) */
.nav-toggle { display: none; }
.mobile-nav-drawer { display: none; }

@media (max-width: 991px) {
  .header-top-row { display: none; }
  .bottom-row-center { display: none; }
  
  .header-bottom-row {
    padding: 12px 0;
  }
  
  .brand-icon { height: 34px; }
  .brand-wordmark { height: 24px; }
  
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    z-index: 101;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    margin: 0 auto;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu drawer */
  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: 60px;
    right: -100%;
    width: 100%;
    height: calc(100dvh - 60px);
    background: var(--white);
    z-index: 99;
    transition: right 0.35s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
    padding: 24px var(--gutter) 40px;
  }
  .mobile-nav-drawer.is-open {
    right: 0;
  }
  .mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-nav-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--signal);
    font-weight: 600;
  }
  .mobile-nav-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
  }
  .mobile-dropdown summary {
    list-style: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  .mobile-dropdown summary::-webkit-details-marker { display: none; }
  .mobile-dropdown summary .caret {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex: 0 0 14px;
    stroke: var(--ink);
    transition: transform 0.2s var(--ease);
  }
  .mobile-dropdown[open] summary .caret {
    transform: rotate(180deg);
  }
  .mobile-dropdown-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 4px 16px;
  }
  .mobile-dropdown-panel a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate);
  }
  .mobile-nav-divider {
    height: 1px;
    background: var(--line);
    margin: 4px 0;
  }
  .mobile-nav-cta {
    margin-top: 10px;
  }
  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  padding: 164px 0 120px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 65%);
  color: var(--ink);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 460px at 85% 10%, rgba(47,111,237,0.10), transparent 60%),
    radial-gradient(760px 540px at 100% 100%, rgba(63,169,245,0.09), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tag {
  display: inline-flex; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem;
  color: var(--signal); white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hero-tag-primary {
  background: var(--gradient-signal); color: var(--white); border-color: transparent;
  box-shadow: 0 10px 22px -10px rgba(44,104,223,0.55);
}
.hero-tag:hover {
  background: var(--gradient-signal); color: var(--white); border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(44,104,223,0.55);
}
.hero-tag-primary:hover {
  background: var(--gradient-signal); color: var(--white); border-color: transparent;
  box-shadow: 0 10px 22px -10px rgba(44,104,223,0.55);
  transform: translateY(-2px);
}
/* When hovering either of the other two pills, the primary tag drops back to
   its plain state instead — only one pill is ever "highlighted" at a time. */
.hero-tags:has(.hero-tag:not(.hero-tag-primary):hover) .hero-tag-primary {
  background: var(--white); color: var(--signal); border-color: var(--line);
  box-shadow: none; transform: none;
}
.hero-copy h1 { font-size: var(--step-5); line-height: 1.06; margin-top: 20px; letter-spacing: -0.03em; color: var(--ink); }
.hero-copy h1 .accent { background: var(--gradient-signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lede { margin-top: 26px; font-size: var(--step-1); color: var(--slate); max-width: 560px; line-height: 1.6; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-motto { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.04em; color: var(--slate); }
.hero-motto strong { color: var(--ink); font-weight: 600; }

.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute; top: -34px; right: -24px;
  width: 190px; height: 190px;
  background-image: radial-gradient(var(--line) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: 0.8;
  z-index: 0;
}
.hero-logo-card {
  position: relative; z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(11,22,38,0.16);
}
.hero-logo-img { max-width: 300px; width: 100%; height: auto; }
.hero-logo-card .tagline { margin-top: 32px; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.02em; color: var(--slate); max-width: 280px; line-height: 1.6; }

@media (max-width: 980px) {
  .hero { padding: 128px 0 80px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 48px auto 0; }
}

/* ===================================================================
   Why choose us
   =================================================================== */
.why { background: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-card { background: var(--white); padding: 40px 34px; transition: background 0.3s var(--ease); }
.why-card:hover { background: var(--paper); }
.why-card .icon-tile { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.why-card .icon-tile svg { width: 22px; height: 22px; stroke: var(--signal); }
.why-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.why-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }

@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Solutions
   =================================================================== */
.solutions { background: var(--paper); }
/* Featured pillar cards (the four core areas of expertise) */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 60px; }
.pillar-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pillar-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(11,22,38,0.25); border-color: transparent; }
.pillar-card .index { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--signal); }
.pillar-card .icon-tile { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--gradient-signal); display: flex; align-items: center; justify-content: center; margin: 18px 0 20px; box-shadow: 0 10px 20px -10px rgba(47,111,237,0.55); }
.pillar-card .icon-tile svg { width: 24px; height: 24px; stroke: var(--white); }
.pillar-card h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink); }
.pillar-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.65; margin-bottom: 20px; }
.pillar-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.pillar-list li { font-size: 0.85rem; color: var(--slate); display: flex; align-items: flex-start; gap: 9px; }
.pillar-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin-top: 8px; flex: none; }
.pillar-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--signal); }
.pillar-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.pillar-link:hover svg { transform: translateX(3px); }

/* Supporting capabilities (smaller, secondary row beneath the four pillars) */
.capability-row-title { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; }
.capability-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.capability-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; }
.capability-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.capability-card p { font-size: 0.84rem; color: var(--slate); line-height: 1.55; }
.capability-card a { display: inline-block; margin-top: 12px; font-size: 0.82rem; font-weight: 600; color: var(--signal); }

@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr; } .capability-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .capability-cards { grid-template-columns: 1fr; } }

/* ===================================================================
   Technology Stack
   =================================================================== */
.tech-stack { background: var(--paper); }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stack-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; }
.stack-group h3 { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); margin-bottom: 16px; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-pills span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.stack-note { margin-top: 32px; text-align: center; color: var(--slate); font-size: var(--step--1); }
.stack-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Technology Philosophy
   =================================================================== */
.tech-philosophy { background: var(--white); }
.philosophy-panel { max-width: 760px; margin: 0 auto; text-align: center; }
.philosophy-panel .eyebrow { justify-content: center; }
.philosophy-panel h2 { margin-top: 14px; }
.philosophy-panel p { margin-top: 20px; color: var(--slate); font-size: var(--step--1); line-height: 1.75; }

@media (max-width: 900px) { .timeline { grid-template-columns: repeat(5, 1fr); } }

/* ===================================================================
   Process (timeline — a real sequence, numbering earns its place)
   =================================================================== */
.process { background: var(--white); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; top: 29px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline-step { position: relative; padding: 0 12px 0 0; }
.timeline-step .num {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; color: var(--signal);
  position: relative; z-index: 1; margin-bottom: 28px;
}
.timeline-step h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink); }
.timeline-step p { color: var(--slate); font-size: var(--step-0); line-height: 1.6; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { top: 0; bottom: 0; left: 29px; right: auto; width: 1px; height: auto; }
  .timeline-step { padding-left: 82px; }
  .timeline-step .num { position: absolute; left: 0; top: -4px; margin-bottom: 0; }
}

/* ===================================================================
   Industries
   =================================================================== */
.industries { background: var(--paper); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 22px; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.industry-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.industry-card svg { width: 22px; height: 22px; stroke: var(--signal); flex: none; }
.industry-card span { font-size: var(--step--1); font-weight: 500; }

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

/* ===================================================================
   Leadership
   =================================================================== */
.leadership { background: var(--white); }
.founder-spotlight {
  display: flex; align-items: center; gap: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; max-width: 880px;
}
.founder-photo { flex: none; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; box-shadow: 0 16px 32px -18px rgba(11,22,38,0.35); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-copy h3 { font-size: 1.4rem; }
.founder-copy .title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--slate); margin-top: 4px; display: block; }
.founder-copy .role { font-family: var(--font-mono); font-size: var(--step--1); color: var(--signal); margin-top: 6px; display: block; }
.founder-copy p.bio { color: var(--slate); margin-top: 18px; font-size: var(--step--1); line-height: 1.65; }
@media (max-width: 700px) {
  .founder-spotlight { flex-direction: column; text-align: center; padding: 36px 28px; }
}

/* ===================================================================
   Promise (emotional, dark)
   =================================================================== */
.promise { background: var(--white); color: var(--ink); position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 50% 0%, rgba(47,111,237,0.07), transparent 65%);
}
.promise .container { position: relative; max-width: 880px; text-align: center; }
.promise .promise-eyebrow { justify-content: center; }
.promise h2 { font-size: var(--step-4); line-height: 1.18; margin-top: 22px; letter-spacing: -0.02em; color: var(--ink); }
.promise p { margin-top: 28px; color: var(--slate); font-size: var(--step-1); line-height: 1.65; max-width: 680px; margin-left: auto; margin-right: auto; }
.promise .motto { margin-top: 40px; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); }

/* ===================================================================
   Final CTA
   =================================================================== */
.final-cta { background: var(--paper); }
.cta-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.cta-panel h2 { font-size: var(--step-3); }
.cta-panel .lede { margin-top: 16px; color: var(--slate); font-size: var(--step-0); line-height: 1.6; }
.cta-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.cta-facts { display: flex; flex-direction: column; gap: 18px; }
.cta-fact { display: flex; align-items: flex-start; gap: 14px; }
.cta-fact svg { width: 20px; height: 20px; stroke: var(--signal); flex: none; margin-top: 2px; }
.cta-fact span { font-size: var(--step--1); color: var(--ink); }

@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--ink); color: var(--slate-200); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.9fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 18px; font-size: var(--step--1); line-height: 1.6; max-width: 300px; color: var(--slate-200); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); font-weight: 500; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: var(--step--1); color: var(--slate-200); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ===================================================================
   Simple content pages (privacy / terms / 404)
   =================================================================== */
.page-hero { background: var(--paper); color: var(--ink); padding: 178px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero p { margin-top: 14px; color: var(--slate); font-family: var(--font-mono); font-size: var(--step--1); }
.legal-content { padding: 72px 0 120px; max-width: 760px; }
.legal-content h2 { font-size: var(--step-2); margin-top: 48px; margin-bottom: 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--slate); font-size: var(--step-0); line-height: 1.7; }
.legal-content ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: disc; }
.legal-content a { color: var(--signal); text-decoration: underline; }

.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--ink); text-align: center; padding: 24px; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { font-size: var(--step-5); margin-top: 16px; color: var(--ink); }
.error-page p { color: var(--slate); margin-top: 16px; font-size: var(--step-0); }
.error-page .btn { margin-top: 32px; }

/* ===================================================================
   Booking Modal (Book a Free Discovery Call)
   =================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,22,38,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: min(720px, 90vh);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(11,22,38,0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s var(--ease);
  overflow: hidden;
}
.modal-overlay.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  z-index: 2;
}
.modal-close:hover { background: var(--paper); border-color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; }
.modal-head { padding: 32px 32px 0; }
.modal-head h3 { font-size: var(--step-2); color: var(--ink); margin-top: 10px; }
.modal-head p { color: var(--slate); margin-top: 8px; font-size: var(--step--1); }

.modal-tabs {
  display: flex;
  gap: 4px;
  padding: 20px 32px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.modal-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 4px 14px;
  margin-right: 20px;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.modal-tab:hover { color: var(--ink); }
.modal-tab.is-active { color: var(--signal); border-color: var(--signal); }

.modal-panels { padding: 24px 32px 32px; overflow-y: auto; flex: 1; }
.modal-tabpanel { display: none; }
.modal-tabpanel.is-active { display: block; animation: modalFade 0.3s var(--ease); }
@keyframes modalFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.calendly-embed { width: 100%; height: 480px; border-radius: var(--radius-md); overflow: hidden; background: var(--paper); }
.calendly-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.modal-fallback-note { margin-top: 14px; font-size: var(--step--1); color: var(--slate); text-align: center; }
.link-btn { background: none; border: none; padding: 0; color: var(--signal); font-weight: 600; cursor: pointer; text-decoration: underline; font-size: inherit; font-family: inherit; }

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.form-row label span { font-weight: 400; color: var(--slate); }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--font-body);
  font-size: var(--step-0);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--signal);
  background: var(--white);
}
.booking-form .btn { justify-content: center; margin-top: 4px; }
.form-note { font-size: var(--step--1); color: var(--slate); text-align: center; }
.form-note.is-error { color: #C0392B; }
.form-note.is-success { color: #1E8E4E; }

.contact-chips { display: flex; flex-direction: column; gap: 12px; }
.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-chip:hover { border-color: var(--signal); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(47,111,237,0.4); }
.contact-chip svg { width: 22px; height: 22px; stroke: var(--signal); flex: none; }
.contact-chip span { display: flex; flex-direction: column; font-size: var(--step--1); color: var(--slate); flex: 1; }
.contact-chip strong { font-size: var(--step-0); color: var(--ink); }
.chip-action {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--signal);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  text-decoration: none;
  flex: none;
}
.chip-action:hover { background: var(--white); border-color: var(--signal); }
.chip-action.is-copied { background: var(--signal); border-color: var(--signal); color: var(--white); }
.chip-action-link { background: none; border-color: transparent; padding: 8px 4px; }
.chip-action-link:hover { border-color: transparent; text-decoration: underline; }
@media (max-width: 480px) {
  .contact-chip { flex-wrap: wrap; }
  .contact-chip span { min-width: 60%; }
}

.calendly-placeholder {
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px;
}
.calendly-placeholder p { color: var(--slate); font-size: var(--step--1); max-width: 380px; }
.calendly-placeholder p strong { color: var(--ink); font-size: var(--step-0); }
.calendly-placeholder .btn { margin-top: 10px; }

/* ===================================================================
   Partners page
   =================================================================== */

/* Hero — single column variant of the homepage hero */
.partners-hero { position: relative; padding: 164px 0 96px; background: linear-gradient(180deg, var(--paper) 0%, var(--white) 65%); color: var(--ink); overflow: hidden; }
.partners-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 460px at 90% 0%, rgba(47,111,237,0.10), transparent 60%),
    radial-gradient(760px 540px at 100% 100%, rgba(63,169,245,0.09), transparent 60%);
  pointer-events: none;
}
.partners-hero .container { position: relative; max-width: 780px; }
.partners-hero h1 { font-size: var(--step-5); line-height: 1.08; margin-top: 20px; letter-spacing: -0.03em; }
.partners-hero h1 .accent { background: var(--gradient-signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partners-hero .lede { margin-top: 24px; font-size: var(--step-1); color: var(--slate); line-height: 1.6; max-width: 640px; }
.hero-format-line { font-family: var(--font-mono); font-size: 0.85rem; color: var(--slate); margin-top: 16px; letter-spacing: 0.01em; max-width: 640px; }
.hero-format-line-muted { font-style: italic; font-size: 0.82rem; margin-top: 8px; }
.partners-hero .hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) { .partners-hero { padding: 128px 0 64px; } }

/* Who this is for */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.persona-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.persona-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(11,22,38,0.2); }
.persona-card .icon-tile { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.persona-card .icon-tile svg { width: 21px; height: 21px; stroke: var(--signal); }
.persona-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink); }
.persona-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 980px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .persona-grid { grid-template-columns: 1fr; } }

/* Featured Product (TradeOps Platform) */
.featured-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
}
.featured-product-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.featured-product-copy {
  padding: 48px 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-product-copy .badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 16px;
  width: fit-content;
}
.featured-product-copy h3 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.25;
}
.featured-product-copy > p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--slate);
  font-size: var(--step--1);
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient-signal);
}
.featured-product-copy .btn { width: fit-content; margin-top: auto; }
@media (max-width: 900px) {
  .featured-product { grid-template-columns: 1fr; }
  .featured-product-visual img { min-height: 280px; }
  .featured-product-copy { padding: 32px; }
  .feature-list { grid-template-columns: 1fr; gap: 8px; }
}

/* Engagement models */
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engagement-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.engagement-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-signal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.engagement-card:hover::before { transform: scaleX(1); }
.engagement-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,22,38,0.25); border-color: transparent; }
.engagement-card .icon-tile { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--gradient-signal); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(47,111,237,0.55); }
.engagement-card .icon-tile svg { width: 22px; height: 22px; stroke: var(--white); }
.engagement-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.engagement-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
.engagement-card .best-for { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--slate); }
.engagement-card .best-for strong { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); margin-bottom: 6px; }
@media (max-width: 980px) { .engagement-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .engagement-grid { grid-template-columns: 1fr; } }

/* Why partner with us — confidentiality gets its own highlighted panel */
.trust-banner {
  display: flex; align-items: flex-start; gap: 22px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg); padding: 40px 44px; margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.trust-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(63,169,245,0.18), transparent 70%);
}
.trust-banner .icon-tile {
  position: relative; z-index: 1; flex: none;
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
}
.trust-banner .icon-tile svg { width: 26px; height: 26px; stroke: var(--sky); }
.trust-banner div.copy { position: relative; z-index: 1; }
.trust-banner h3, .trust-banner h2 { font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.trust-banner p { color: var(--slate-200); font-size: var(--step--1); line-height: 1.65; max-width: 640px; }
@media (max-width: 620px) { .trust-banner { flex-direction: column; padding: 32px 26px; } }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 26px; display: flex; gap: 16px; align-items: flex-start; }
.trust-card .icon-tile { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--paper); display: flex; align-items: center; justify-content: center; }
.trust-card .icon-tile svg { width: 20px; height: 20px; stroke: var(--signal); }
.trust-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.trust-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: 1fr; } }

/* Capabilities / tech pills */
.capability-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.capability-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; font-size: var(--step--1); font-weight: 500; color: var(--ink);
}
.capability-pill svg { width: 17px; height: 17px; stroke: var(--signal); flex: none; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 820px; }
.faq-item { background: var(--white); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 30px; font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 20px; height: 20px; stroke: var(--signal); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 30px 26px; color: var(--slate); font-size: var(--step--1); line-height: 1.65; max-width: 680px; }

/* Homepage partner teaser */
.partner-teaser { background: var(--white); }
.partner-teaser-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; background: var(--paper);
}
.partner-teaser-copy { max-width: 560px; }
.partner-teaser-copy .eyebrow { margin-bottom: 12px; }
.partner-teaser-copy h2 { font-size: var(--step-2); }
.partner-teaser-copy p { margin-top: 12px; color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 760px) { .partner-teaser-panel { padding: 32px 26px; } }

/* ===================================================================
   Veriora Academy — course cards, "Coming Soon" badge, outcomes grid
   =================================================================== */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,22,38,0.25); }
.course-meta {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--signal);
  margin-bottom: 14px;
}
.course-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.course-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; margin-bottom: 24px; flex: 1; }
.course-card .btn { align-self: flex-start; }
@media (max-width: 980px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .course-grid { grid-template-columns: 1fr; } }

.badge-soon {
  display: inline-block; background: var(--gradient-signal); color: var(--white);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.outcomes-grid .trust-banner { height: 100%; }
@media (max-width: 900px) { .outcomes-grid { grid-template-columns: 1fr; } }

/* Certificate sample */
.cert-sample {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 24px 48px -26px rgba(11, 22, 38, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cert-sample img {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 22, 38, 0.08);
}
.cert-sample-caption {
  margin-top: 16px;
  text-align: center;
  font-size: var(--step--1);
  color: var(--slate);
  font-family: var(--font-mono);
}

/* ===================================================================
   Academy Hero H1 Styling
   =================================================================== */
.academy-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.academy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(44, 104, 223, 0.08);
  border: 1px solid rgba(44, 104, 223, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.academy-subtitle-glow {
  font-size: clamp(2.2rem, 1.8rem + 2.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--signal) 55%, var(--sky-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.academy-hero-subheading {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--slate);
  margin-bottom: 20px;
  max-width: 720px;
}

/* ===================================================================
   Team Page Styling & 3-Tier Layouts
   =================================================================== */
.team-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 0%, rgba(44, 104, 223, 0.06) 0%, transparent 70%);
  border-bottom: 1px solid var(--line);
}
.team-hero-content {
  max-width: 780px;
}
.team-hero h1 {
  font-size: clamp(2.4rem, 2rem + 2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 12px;
  margin-bottom: 18px;
}
.team-hero p {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--slate);
  line-height: 1.6;
}

.team-tier-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.team-tier-section:last-of-type {
  border-bottom: none;
}
.team-tier-section.tier-dark-bg {
  background: var(--paper);
}

.tier-header {
  margin-bottom: 40px;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(44, 104, 223, 0.1);
  color: var(--signal);
  margin-bottom: 10px;
}
.tier-badge.tier-badge-gold {
  background: linear-gradient(135deg, rgba(198, 156, 49, 0.14) 0%, rgba(244, 203, 106, 0.18) 100%);
  color: #8A6420;
  border: 1px solid rgba(198, 156, 49, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 190, 0.35), 0 1px 4px rgba(150, 115, 30, 0.18);
}
.tier-header h2 {
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2.2rem);
  color: var(--ink);
}
.tier-header p {
  color: var(--slate);
  font-size: 1.05rem;
  margin-top: 6px;
}

/* Tier Grids */
.tier-1-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tier-2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tier-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.tier-3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .tier-3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .tier-1-grid, .tier-2-grid, .tier-3-grid, .tier-single-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Card Base */
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(11, 22, 38, 0.12);
  border-color: rgba(44, 104, 223, 0.35);
}

/* Tier 1 Special Accent */
.team-card-tier-1 {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFD 100%);
  border: 1px solid rgba(44, 104, 223, 0.2);
  box-shadow: 0 4px 20px -6px rgba(16, 33, 61, 0.06);
}
.team-card-tier-1::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-signal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.team-card-tier-1 .team-avatar-wrap {
  width: 96px;
  height: 96px;
}
.team-card-tier-1 .team-avatar-placeholder {
  font-size: 1.6rem;
}
.team-card-tier-1 .team-name {
  font-size: 1.45rem;
}

/* Team Card Layout Components */
.team-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.team-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: relative;
  flex: none;
  background: var(--paper);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px rgba(44, 104, 223, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--signal) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-info {
  flex: 1;
}
.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.team-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: 0.02em;
}
.team-degree {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.team-bio {
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.2s var(--ease);
}
.team-linkedin svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.team-linkedin:hover {
  color: #0A66C2; /* Official LinkedIn Blue */
}

/* Tier 3 Compact Styling */
.team-card-compact {
  padding: 24px;
}
.team-card-compact .team-avatar-wrap {
  width: 56px;
  height: 56px;
}
.team-card-compact .team-name {
  font-size: 1.1rem;
}
.team-card-compact .team-bio {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Team Callout Banner */
.team-cta-banner {
  padding: 80px 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.team-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(63, 169, 245, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.team-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.team-cta-content h2 {
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  color: var(--white);
  margin-bottom: 14px;
}
.team-cta-content p {
  color: var(--slate-200);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

