/* ===== RESET & TOKENS ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Metric-matched fallback for Inter: sized/spaced to match Inter almost exactly, so the
   swap from fallback -> Inter (once it downloads) causes no reflow. Paired with
   `display=swap` on the Google Fonts link below, this replaces `display=optional`, which
   could permanently commit a page load to the plain system-font fallback (if Inter didn't
   finish downloading in ~100ms) with no later swap — the cause of the site inconsistently
   "jumping" to a different font on some loads/sections. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}

:root {
  --bg: #FAFBFC;
  --panel: #F3F5F7;
  --ink: #10151C;
  --ink-soft: #5B6B7A;
  --teal: #0E9488;
  --teal-deep: #0B7A70;
  --teal-soft: rgba(14,148,136,0.1);
  --critical: #C0392B;
  --critical-soft: rgba(192,57,43,0.08);
  --rule: #E2E7EC;
  --navy: #12171D;
  --on-navy: #EEF0F2;
  --on-navy-soft: rgba(238,240,242,0.6);

  --font-display: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;
}

/* Smooth scroll is applied via JS on user-initiated anchor clicks only (app.js).
   A global `scroll-behavior: smooth` here animates the browser's own scroll-position
   restore on reload, which is what produced the "page jumps on refresh" effect. */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
::selection { background: var(--teal); color: #fff; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* utility spacing (kept out of inline style="" to satisfy CSP) */
.mt-6 { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.dot.pulse { position: relative; }
.dot.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--teal); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .dot.pulse::after { animation: none; display: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.eyebrow-on-dark { color: var(--teal); }

/* ===== MASTHEAD ===== */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(250,251,252,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.wordmark { font-weight: 800; font-size: 1.3rem; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.wordmark .dot { width: 11px; height: 11px; margin: 0 4px; }
.wordmark-suite { color: var(--teal); font-weight: 500; }
.wordmark-stack { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark-tagline { font-size: 0.74rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.01em; margin-top: 2px; }
.masthead-nav { display: flex; align-items: center; gap: 30px; }
.masthead-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.masthead-links a { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.masthead-links a:hover { color: var(--ink); }
.btn-nav { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 8px; }
.btn-nav-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-nav:hover { background: var(--teal-deep); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 20px; height: 1.5px; background: var(--ink); }

/* ===== HERO ===== */
.hero { padding: 52px 0 72px; overflow: hidden; background: linear-gradient(180deg, #F4F9F9 0%, var(--bg) 100%); }
.status-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--teal-soft); border: 1px solid rgba(14,148,136,0.25); border-radius: 10px; padding: 14px 20px; margin-bottom: 34px; flex-wrap: wrap; }
.status-banner-left { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; color: var(--teal-deep); }
.status-banner-right { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-soft); }

.hero .container { max-width: 1320px; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: center; }
.stat-panel { display: flex; flex-direction: column; position: relative; isolation: isolate; }
.stat-panel::before { content: ""; position: absolute; z-index: -1; width: 130%; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-40%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(14,148,136,0.14) 0%, rgba(14,148,136,0.06) 45%, rgba(14,148,136,0) 70%); pointer-events: none; }
.hero-centered { grid-template-columns: 1fr; text-align: center; }
.hero-centered > div { width: 100%; max-width: 960px; margin: 0 auto; }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .hero-ctas-wide { text-align: left; margin-top: 8px; }
.hero-title { font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.1; letter-spacing: -0.015em; margin: 14px 0 20px; }
.hero-title .teal { color: var(--teal-deep); display: block; }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 64ch; line-height: 1.7; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; font-size: 0.85rem; font-weight: 700; border-radius: 8px; border: 1.5px solid var(--ink); cursor: pointer; transition: all 0.15s; font-family: var(--font-display); }
.btn-primary, .btn-fill { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-fill:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-secondary, .btn-outline { background: transparent; color: var(--ink); }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-full { width: 100%; justify-content: center; }
.on-dark .btn-secondary { color: var(--on-navy); border-color: rgba(238,240,242,0.35); }
.on-dark .btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-role { flex: 1 1 240px; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 22px 13px; }
.btn-role-tag { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.6; }
.hero-ctas-wide { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; max-width: 620px; }
.hero-ctas .cta-card { flex: 1 1 280px; }
.cta-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 12px 14px 13px; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; text-decoration: none;
}
.cta-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,21,28,0.1); }
.cta-card-primary { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; }
.cta-card-secondary { background: #F2FAF9; border-color: rgba(14,148,136,0.2); color: var(--ink); }
.cta-card-secondary:hover { border-color: var(--teal); }
.cta-tag {
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px;
}
.cta-card-primary .cta-tag { background: rgba(255,255,255,0.88); color: var(--teal-deep); }
.cta-card-secondary .cta-tag { background: rgba(14,148,136,0.14); color: var(--teal-deep); }
.cta-title { display: inline-flex; align-items: center; gap: 6px; font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.cta-arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; flex-shrink: 0; }
.cta-card:hover .cta-arrow { transform: translateX(3px); }
.cta-sub { font-size: 0.74rem; line-height: 1.45; }
.cta-card-primary .cta-sub { color: rgba(255,255,255,0.88); }
.cta-card-secondary .cta-sub { color: var(--ink-soft); }
.cta-feats {
  list-style: none; margin: 6px 0 0; padding: 14px 0 0; width: 100%;
  display: grid; grid-template-columns: auto auto; justify-content: start; gap: 10px 14px; font-size: 0.78rem; font-weight: 500; white-space: nowrap;
}
.cta-card-primary .cta-feats { border-top: 1px solid rgba(255,255,255,0.22); }
.cta-card-secondary .cta-feats { border-top: 1px solid rgba(14,148,136,0.16); }
.cta-feats li { display: flex; align-items: center; gap: 9px; }
.cta-feats li:nth-child(even) { border-left: 1px solid currentColor; border-left-color: rgba(127,127,127,0.3); padding-left: 14px; }
.cta-card-primary .cta-feats li:nth-child(even) { border-left-color: rgba(255,255,255,0.3); }
.cta-feats svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cta-card-primary .cta-feats svg { opacity: 0.85; }
.cta-card-secondary .cta-feats svg { color: var(--ink); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-cell { background: var(--navy); border-radius: 12px; padding: 46px 26px; }
.stat-num { font-weight: 800; font-size: 2.1rem; color: #fff; white-space: nowrap; }
.stat-num-sm { font-size: 1.5rem; }
.stat-num .unit { font-size: 1.05rem; font-weight: 500; color: var(--on-navy-soft); }
.stat-label { font-size: 0.8rem; color: var(--on-navy-soft); margin-top: 8px; line-height: 1.4; }
.feed-caption { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin-top: 10px; opacity: 0.75; }

/* ===== HERO "FINANCE AGENT" SCREEN ===== */
.dash-window { background: #181D24; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; }
.dash-dot-r { background: #FF5F57; }
.dash-dot-y { background: #FEBC2E; }
.dash-dot-g { background: #28C840; }

.agent-card { text-align: center; padding: 20px 18px 16px; }
.agent-card-icon {
  width: 36px; height: 36px; border-radius: 10px; margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #fff;
}
.agent-card-name { font-weight: 700; font-size: 0.95rem; color: var(--on-navy); margin-bottom: 4px; }
.agent-card-sub { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.agent-prompts { padding: 2px 16px 10px; display: flex; flex-direction: column; gap: 8px; }
.agent-prompt {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.78rem; line-height: 1.4; color: rgba(238,240,242,0.9); background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 12px; text-align: left;
}
.agent-prompt-icon { flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.agent-prompt svg, .agent-ask svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.agent-prompt-icon svg { width: 20px; height: 20px; color: rgba(238,240,242,0.8); }
.agent-prompt-text { flex: 1; }
.agent-prompt-chev { width: 16px; height: 16px; flex-shrink: 0; color: rgba(238,240,242,0.7); }
.agent-ask {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 4px 16px 16px; padding: 6px 6px 6px 14px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
}
.agent-ask-placeholder { font-size: 0.78rem; color: rgba(238,240,242,0.45); }
.agent-ask-btn { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.agent-ask-btn svg { width: 16px; height: 16px; stroke-width: 2; }

/* ===== PROOF ===== */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-grid-6 { grid-template-columns: repeat(3, 1fr); }
.proof-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.proof-card .dot { width: 9px; height: 9px; }
.proof-statement { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.4; }

/* ===== SECTIONS ===== */
.section { padding: 72px 0; border-top: 1px solid var(--rule); }

/* Anchor targets need scroll-margin-top so a nav-link jump doesn't land the section's top
   edge exactly at scrollY 0 -- underneath the sticky 72px masthead. */
#team, #components, #paths, #how-it-works, #contact { scroll-margin-top: 88px; }
.section-dark { background: var(--navy); color: var(--on-navy); border-top: none; }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head-center { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin-top: 10px; }
.section-sub { font-size: 0.92rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.7; }
.section-dark .section-sub { color: var(--on-navy-soft); }

/* ===== COMPONENT LIST (services + compliance) ===== */
.components { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; }
.component-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.component-row:last-child { border-bottom: none; }
.component-main { flex: 1; }
.component-name { font-weight: 700; font-size: 0.92rem; }
.component-desc { font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.component-status { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--teal-deep); font-weight: 400; white-space: nowrap; }

/* ===== COVERAGE HIERARCHY TREE ===== */
.tree { max-width: 980px; margin: 0 auto; }
.tree-root {
  width: 124px; height: 124px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(155deg, #222A33, var(--navy) 65%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 0 0 7px rgba(14,148,136,0.07), 0 14px 26px rgba(16,21,28,0.22);
}
.tree-root .dot { width: 7px; height: 7px; margin-bottom: 1px; }
.tree-root-name { font-weight: 800; font-size: 0.88rem; color: #fff; letter-spacing: -0.01em; }
.tree-root-sub { font-size: 0.52rem; color: var(--teal); letter-spacing: 0.16em; }

.tree-stem { width: 2px; height: 22px; background: rgba(14,148,136,0.4); margin: 0 auto; }

.pyramid-levels { display: flex; flex-direction: column; align-items: center; gap: 3px; max-width: 760px; margin: 0 auto; }
.pyramid-level {
  width: 100%; border-radius: 8px; padding: 16px 28px; text-align: center;
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0% 100%);
}
.pyramid-level-4 { max-width: 34%; background: linear-gradient(135deg, #222A33, var(--navy) 70%); }
.pyramid-level-3 { max-width: 56%; background: var(--teal-deep); }
.pyramid-level-2 { max-width: 78%; background: var(--teal); }
.pyramid-level-1 { max-width: 100%; background: var(--teal-soft); }
.pyramid-level-label {
  font-size: 0.68rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75); margin-bottom: 9px;
}
.pyramid-level-1 .pyramid-level-label { color: var(--teal-deep); }
.pyramid-level-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pyramid-chip {
  display: inline-flex; align-items: center; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; padding: 7px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.pyramid-level-1 .pyramid-chip {
  background: #fff; border: 1px solid rgba(16,21,28,0.08); color: var(--ink); box-shadow: 0 4px 10px rgba(16,21,28,0.06);
}

.tree-fallback-head {
  font-size: 0.68rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--teal-deep); padding: 16px 22px 6px; border-top: 1px solid var(--rule);
}
.tree-fallback-group:first-child .tree-fallback-head { border-top: none; }
.tree-fallback-group .component-row { padding: 12px 22px; border-bottom: none; }

.components-fallback { display: none; }

/* ===== HOW AI IS REVIEWED (DATA PIPELINE DIAGRAM) ===== */
.stack-section { position: relative; overflow: hidden; }
.stack-section::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(14,148,136,0.14), transparent 65%);
  transform: translate(-50%, -55%); pointer-events: none;
}
.pipeline { position: relative; max-width: 700px; margin: 0 auto; }
.pipeline-frame {
  position: relative; border: 1px solid rgba(238,240,242,0.16); border-radius: 14px;
  background: rgba(255,255,255,0.015); padding: 30px 24px 22px;
}
.pipeline-frame-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--navy); border: 1px solid rgba(238,240,242,0.22); padding: 5px 14px; border-radius: 100px;
  font-size: 0.64rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-navy-soft); white-space: nowrap;
}
.pipeline-row { border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid; border-left-width: 3px; }
.pipeline-row-sources { border-color: rgba(14,148,136,0.28); border-left-color: var(--teal); background: rgba(14,148,136,0.06); }
.pipeline-row-manage { border-color: rgba(76,141,255,0.28); border-left-color: #4C8DFF; background: rgba(76,141,255,0.06); }
.pipeline-row-transform { border-color: rgba(139,124,246,0.28); border-left-color: #8B7CF6; background: rgba(139,124,246,0.06); }
.pipeline-row-last { margin-bottom: 0; }
.pipeline-row-label {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--on-navy); margin-bottom: 11px;
}
.pipeline-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pipeline-chip {
  display: inline-flex; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(238,240,242,0.14);
  border-radius: 100px; padding: 5px 12px 5px 5px; font-size: 0.74rem; font-weight: 500; color: var(--on-navy);
}
.pipeline-chip-more {
  background: transparent; border-style: dashed; border-color: rgba(238,240,242,0.22);
  padding: 5px 14px; font-weight: 500; font-style: italic; color: rgba(238,240,242,0.55);
}
.chip-logo {
  display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 5px;
  font-size: 0.56rem; font-weight: 800; color: #fff; margin-right: 7px; flex-shrink: 0; letter-spacing: -0.02em;
}
.chip-priority { background: #0EA5A0; }
.chip-qb { background: #2CA01C; }
.chip-ns { background: #1B4F72; }
.chip-hs { background: #FF7A59; }
.chip-sf { background: #00A1E0; }
.chip-aws { background: #FF9900; color: #1A1A1A; font-size: 0.4rem; }
.chip-az { background: #0078D4; font-size: 0.5rem; }
.chip-stripe { background: #635BFF; }
.chip-xero { background: #13B5EA; color: #062B3F; }
.chip-dynamics { background: #002050; font-size: 0.4rem; }
.chip-rippling { background: #6D28D9; }
.chip-adp { background: #D0271D; font-size: 0.44rem; }
.chip-rillet { background: #14171A; }
.chip-dualentry { background: #3B4CCA; }
.chip-zoho { background: #E42527; }
.chip-excel { background: #217346; }
.chip-pbi { background: #F2C811; color: #1A1A1A; }
.chip-claude { background: #DA7756; }
.chip-gpt { background: #10A37F; }
.chip-gemini { background: #4285F4; }
.pipeline-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pipeline-chain-step {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(238,240,242,0.16); border-radius: 8px;
  padding: 7px 14px; font-size: 0.78rem; font-weight: 500; color: var(--on-navy);
}
.pipeline-chain-arrow { color: #4C8DFF; font-family: var(--font-mono); font-size: 0.9rem; }
.pipeline-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pipeline-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(238,240,242,0.14); border-radius: 8px; padding: 12px 14px; }
.pipeline-card-title { font-size: 0.78rem; font-weight: 400; color: #8B7CF6; }
.pipeline-card-desc { font-size: 0.74rem; color: var(--on-navy-soft); margin-top: 4px; line-height: 1.5; }
.pipeline-connector { display: block; width: 100%; max-width: 420px; height: 48px; margin: 0 auto; }
.pipeline-output-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.pipeline-output-cell {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(238,240,242,0.14); border-radius: 10px;
  padding: 14px 12px; text-align: center;
}
.pipeline-output-name {
  font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--on-navy-soft); margin-bottom: 9px;
}
.pipeline-output-tool { display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--on-navy); }
.pipeline-ai-row { border-top: 1px solid rgba(238,240,242,0.14); padding-top: 18px; text-align: center; }
.pipeline-row-label-ai { text-align: center; }
.pipeline-ai-row .pipeline-chips { justify-content: center; }
.pipeline-chip-ai { background: rgba(14,148,136,0.1); border-color: rgba(14,148,136,0.32); }
.pipeline-note { text-align: center; font-size: 0.68rem; color: var(--on-navy-soft); margin-top: 22px; opacity: 0.85; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 24px; display: flex; gap: 16px; }
.team-photo { width: 68px; height: 68px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.team-name { font-weight: 800; font-size: 1rem; }
.team-role { font-family: var(--font-mono); font-size: 0.68rem; color: var(--teal-deep); margin: 3px 0 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.team-bio { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 10px; }
.team-meta { font-size: 0.76rem; color: var(--ink-soft); }
.team-meta strong { color: var(--ink); }
/* Single-person team profile (centered) */
.team-profile { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 36px 36px 30px; text-align: center; }
.team-profile-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 18px; }
.team-profile .team-name { font-size: 1.2rem; }
.team-profile .team-bio { font-size: 0.92rem; }
.team-tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.team-tags li { font-size: 0.72rem; color: var(--teal-deep); background: var(--teal-soft); border-radius: 999px; padding: 5px 12px; }
@media (max-width: 600px) { .team-profile { padding: 28px 20px 24px; } }
.team-split { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.team-split .team-profile { max-width: none; margin: 0; }
.team-works { background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.team-works-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.team-works-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; margin: 8px 0 24px; color: var(--on-navy); }
.team-works-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.team-works-list li { display: flex; align-items: baseline; gap: 14px; font-weight: 600; font-size: 1rem; color: var(--on-navy); }
.team-works-num { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; color: var(--teal); }
@media (max-width: 860px) { .team-split { grid-template-columns: 1fr; } .team-works { padding: 28px 24px; } }

/* ===== TEAM PAGE (full bios) ===== */
.team-hero { background: var(--bg); padding: 40px 0 44px; text-align: center; border-bottom: 1px solid var(--rule); }
.team-hero-inner { max-width: 620px; margin: 0 auto; padding: 0 32px; }
.team-hero-title { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; color: var(--ink); margin: 16px 0 16px; letter-spacing: -0.015em; }
.team-hero-title .teal { color: var(--teal-deep); }
.team-hero-sub { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; }

.team-full-section { padding: 72px 0 84px; }
.team-full-grid { max-width: 1020px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-full-card { background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.team-full-photo-wrap { padding: 30px 30px 0; }
.team-full-photo { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; display: block; }
.team-full-body { padding: 18px 30px 28px; }
.team-full-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 3px; }
.team-full-role { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.team-full-bio { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 20px; }
.team-full-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.team-full-tag { background: var(--teal-soft); color: var(--teal-deep); font-size: 0.72rem; font-weight: 500; padding: 5px 12px; border-radius: 100px; }
.team-full-footer { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.btn-linkedin { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; transition: background 0.15s; }
.btn-linkedin:hover { background: var(--teal-deep); }
.team-full-cert { font-size: 0.74rem; color: var(--ink-soft); font-weight: 500; line-height: 1.5; }

.team-philosophy { background: var(--navy); padding: 64px 32px; text-align: center; }
.team-philosophy-inner { max-width: 680px; margin: 0 auto; }
.team-philosophy-quote { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--on-navy); line-height: 1.55; margin-bottom: 30px; }
.team-philosophy-cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===== TWO WAYS TO ENGAGE ===== */
/* ===== HOW IT WORKS (pick a path) ===== */
.section-head-center .eyebrow { display: inline-flex; align-items: center; gap: 16px; }
.section-head-center .eyebrow::before, .section-head-center .eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.35; }
.pick-intro { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; margin: 14px auto 0; max-width: 56ch; }
.pick-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.pick-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid rgba(14,148,136,0.2); border-radius: 14px; padding: 26px 28px 30px; box-shadow: 0 1px 2px rgba(16,21,28,0.03); }
.pick-tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); background: rgba(14,148,136,0.12); padding: 5px 11px; border-radius: 100px; }
.pick-head { display: flex; align-items: center; gap: 18px; margin: 18px 0 18px; }
.pick-icon { width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(14,148,136,0.1); color: var(--teal-deep); }
.pick-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pick-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.pick-sub { font-size: 0.92rem; color: var(--ink-soft); margin-top: 4px; }
.pick-body { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.pick-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.86rem; color: var(--ink); }
.pick-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.pick-check { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.pick-check circle { fill: var(--teal-deep); }
.pick-check path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pick-btn { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; padding: 13px 22px; border-radius: 8px; border: 1.5px solid var(--teal-deep); transition: background 0.15s, color 0.15s; }
.pick-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }
.pick-btn:hover svg { transform: translateX(3px); }
.pick-btn-fill { background: var(--teal-deep); color: #fff; }
.pick-btn-fill:hover { background: var(--ink); border-color: var(--ink); }
.pick-btn-outline { background: transparent; color: var(--teal-deep); }
.pick-btn-outline:hover { background: var(--teal-deep); color: #fff; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 30px; }
.path-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 0.05em; }
.path-step { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.03em; margin-top: 10px; }
.path-title { font-weight: 700; font-size: 1.2rem; margin: 8px 0 10px; }
.path-intro { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.path-item { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 0.84rem; }
.path-item:first-child { border-top: none; }
.path-item strong { display: block; font-weight: 700; }
.path-item span { color: var(--ink-soft); font-size: 0.8rem; }
.path-cta { margin-top: 22px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-note { display: flex; gap: 10px; align-items: flex-start; background: rgba(14,148,136,0.12); border: 1px solid rgba(14,148,136,0.3); border-radius: 8px; padding: 16px 18px; font-size: 0.84rem; color: var(--on-navy); margin-top: 22px; line-height: 1.65; }
.field { margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; }
.field-label, .form-field-label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-navy-soft); margin-bottom: 8px; }
.field-input, .form-group input, .form-group select {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(238,240,242,0.22); color: var(--on-navy);
  font-family: var(--font-display); font-size: 0.92rem; padding: 11px 12px; border-radius: 8px; outline: none;
  transition: border-color 0.15s;
}
.field-input:focus, .form-group input:focus, .form-group select:focus { border-color: var(--teal); }
.field-input::placeholder, .form-group input::placeholder { color: var(--on-navy-soft); }
select.field-input option, .form-group select option { background: var(--navy); }
.form-success { display: none; font-size: 0.84rem; color: var(--teal); font-weight: 700; margin-top: 12px; }
.form-error { display: none; text-align: center; padding: 12px; background: var(--critical-soft); border: 1px solid var(--critical); border-radius: 8px; color: #ffb3a7; font-weight: 500; font-size: 0.82rem; margin-top: 12px; }
.form-note, .contact-card-note { font-size: 0.78rem; color: var(--on-navy-soft); margin-top: 14px; line-height: 1.6; }
.form-note a, .contact-card-note a { color: var(--on-navy); border-bottom: 1px solid var(--on-navy-soft); }
.botcheck-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: var(--on-navy-soft); padding: 26px 0; border-top: 1px solid rgba(238,240,242,0.14); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: 0.72rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .hero-grid:not(.hero-centered) .hero-ctas-wide { max-width: 620px; }
}
@media (max-width: 860px) {
  .tree { display: none; }
  .components-fallback { display: block; }
}
@media (max-width: 900px) {
  .hero-grid, .team-grid, .team-full-grid, .contact-grid, .paths, .hero-ctas-wide, .pick-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pick-card { padding: 22px 20px 26px; }
  .container, .team-full-grid { padding-left: 20px; padding-right: 20px; }
  .masthead-links { display: none; }
  .hamburger { display: flex; }
  .masthead-nav.open .masthead-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule); padding: 18px; gap: 14px;
  }
  .stat-cell { padding: 18px 16px; }
  .pipeline-cards, .pipeline-output-row { grid-template-columns: 1fr; }
  .pipeline-frame { padding: 26px 16px 18px; }
  .footer-inner { flex-direction: column; }
  .proof-grid { grid-template-columns: 1fr; }
}
