/* =================================================================
   ProcWing AI — styles.css   (LIGHT body, dark hero + dark footer)
   --gold* variables hold the BLUE accent (legacy names kept).
   ================================================================= */

:root {
  --navy:       #0B0D11;
  --navy-700:   #15181E;
  --navy-900:   #07080B;
  --gold:       #3B82F6;
  --gold-200:   #60A5FA;
  --gold-600:   #1D4ED8;
  --teal:       #34D399;
  --crimson:    #FB7185;
  --gray-50:    #F6F7F9;
  --border:     #E5E8EE;
  --slate:      #55606F;
  --ink:        #14171C;
  --white:      #FFFFFF;

  --radius:     12px;
  --radius-sm:  8px;
  --maxw:       1180px;

  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); font-size: 17px; 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; }
ul { list-style: none; }
section[id] { scroll-margin-top: 84px; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); color: var(--ink); border-top: 1px solid var(--border); }
.section.light { background: var(--gray-50); }

.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.9rem; }
.section-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 3.3vw, 2.5rem); line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; max-width: 22ch; margin-bottom: 2.6rem; }
.section-lead { font-size: 1.05rem; color: var(--slate); max-width: 56ch; margin: -1.6rem 0 2.4rem; }
.section-foot { margin-top: 2.2rem; font-size: 0.98rem; color: var(--slate); font-style: italic; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 0.97rem; font-weight: 600; padding: 0.78rem 1.5rem; border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #2563EB; color: #FFFFFF; }
.btn-primary:hover { background: #1D4ED8; }
.btn-ghost { background: transparent; border-color: #C9CDD6; color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(0,0,0,0.03); }
.hero .btn-ghost { border-color: rgba(255,255,255,0.30); color: var(--white); }
.hero .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; margin-top: 0.4rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #FFFFFF; padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 34px; width: auto; border-radius: 7px; background: #fff; padding: 3px; box-sizing: border-box; object-fit: contain; }
.brand-logo-fallback { display: none; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 7px; background: #fff; color: #1D4ED8; font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.footer-logo ~ .brand-logo-fallback { width: 32px; height: 32px; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; line-height: 1; color: var(--white); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; }
.brand-name-accent { color: var(--gold); }
.js .site-header .brand-name { max-width: 0; opacity: 0; animation: nameReveal 0.85s cubic-bezier(.2,.8,.2,1) 0.35s forwards; }
@keyframes nameReveal { to { max-width: 260px; opacity: 1; } }

/* ---------- Header / Nav (dark) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,8,11,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { position: relative; font-size: 0.94rem; font-weight: 500; color: rgba(255,255,255,0.78); padding: 0.3rem 0; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width 0.2s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-actions .btn-primary { padding: 0.6rem 1.2rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (dark feature) ---------- */
.hero { position: relative; background: radial-gradient(900px 520px at 80% -10%, rgba(59,130,246,0.16), transparent 60%), radial-gradient(700px 520px at 10% 120%, rgba(59,130,246,0.10), transparent 60%), var(--navy); color: rgba(255,255,255,0.85); padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero .eyebrow { color: var(--gold-200); }
.hero-copy { max-width: 820px; }
.hero-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--white); margin-bottom: 1.3rem; max-width: 20ch; }
.hero-sub { font-size: 1.12rem; line-height: 1.55; max-width: 60ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Hero interactive stage (dark) */
.hero-stage { position: relative; width: 100%; height: 420px; margin-top: 2.6rem; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; overflow: hidden; }
.stage-tag { position: absolute; top: 16px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.42); z-index: 4; }
.stage-tag--in { left: 22px; }
.stage-tag--out { right: 22px; }
.stage-line { position: absolute; left: 50%; top: 10%; bottom: 10%; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(96,165,250,0.45), transparent); z-index: 1; }
.stage-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.stage-core-tile { display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 16px; background: var(--white); overflow: hidden; animation: coreGlow 2.8s ease-in-out infinite; }
.stage-core-tile img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; }
.stage-core-label { font-family: var(--font-serif); font-weight: 600; font-size: 0.92rem; color: var(--white); }
@keyframes coreGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(59,130,246,0.4), 0 0 24px -6px rgba(59,130,246,0.4); } 50% { box-shadow: 0 0 0 1px rgba(59,130,246,0.75), 0 0 42px -2px rgba(59,130,246,0.7); } }
.float-app { position: absolute; left: var(--x); top: var(--y); z-index: 2; border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fa-bob { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--white); color: var(--c, #3B82F6); box-shadow: 0 8px 22px -10px rgba(0,0,0,0.7); animation: faBob 4s ease-in-out infinite; animation-delay: var(--d, 0s); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.fa-bob svg { width: 26px; height: 26px; }
.fa-bob img { width: 100%; height: 100%; object-fit: contain; padding: 9px; box-sizing: border-box; }
.float-app:hover .fa-bob { transform: scale(1.09); box-shadow: 0 12px 26px -8px rgba(59,130,246,0.6); }
.float-app:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 16px; }
@keyframes faBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stage-out { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 10px; width: 250px; max-width: 70%; padding: 0.7rem 0.8rem; border-radius: 12px; background: var(--white); box-shadow: 0 16px 36px -16px rgba(0,0,0,0.75); pointer-events: none; }
.stage-out-ico { display: inline-flex; flex-shrink: 0; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(59,130,246,0.14); color: var(--gold-600); }
.stage-out-ico svg { width: 17px; height: 17px; }
.stage-out-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stage-out-txt strong { font-size: 0.86rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.stage-out-txt span { font-size: 0.76rem; color: var(--slate); line-height: 1.3; }
.hero-stage-hint { text-align: center; margin-top: 0.95rem; font-size: 0.85rem; color: rgba(255,255,255,0.42); }

/* ---------- Grids & cards (light) ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: 0 1px 2px rgba(16,24,40,0.04); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(16,24,40,0.30); border-color: #CBD5E1; }
.card-ico { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; background: rgba(59,130,246,0.10); color: var(--gold-600); margin-bottom: 1rem; }
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.18rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { color: var(--slate); font-size: 0.98rem; }

/* ---------- Capabilities (interactive tabs, light) ---------- */
.cap-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.cap-tab { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--slate); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.7rem 1.2rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.cap-tab .cap-tab-num { font-family: var(--font-serif); font-size: 0.85rem; color: var(--gold-600); }
.cap-tab:hover { border-color: #C9CDD6; }
.cap-tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cap-tab.is-active .cap-tab-num { color: var(--gold-200); }
.cap-panels { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; min-height: 200px; }
.cap-panel { display: none; }
.cap-panel.is-active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cap-panel-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.cap-panel-ico { display: inline-flex; flex-shrink: 0; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(59,130,246,0.12); color: var(--gold-600); }
.cap-panel-ico svg { width: 23px; height: 23px; }
.cap-panel-head h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.cap-panel-lead { font-size: 1rem; color: var(--slate); max-width: 62ch; }
.cap-items { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cap-item { display: inline-flex; align-items: center; gap: 9px; background: var(--gray-50); border: 1px solid var(--border); border-radius: 999px; padding: 0.6rem 1.1rem; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.cap-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-600); flex-shrink: 0; }

/* ---------- Stats (light) ---------- */
.stat-grid { gap: 1.4rem; }
.stat { text-align: center; padding: 0.5rem; }
.stat-num { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--gold-600); margin-bottom: 0.7rem; }
.stat-label { font-size: 0.95rem; color: var(--slate); max-width: 24ch; margin: 0 auto; display: block; }

/* ---------- Workers (light) ---------- */
.worker-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 1.6rem; box-shadow: 0 1px 2px rgba(16,24,40,0.04); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.worker-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--gold-600); }
.worker-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(16,24,40,0.30); }
.worker-card h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.45rem; }
.worker-card p { color: var(--slate); font-size: 0.96rem; }

/* ---------- CTA band (light, blue panel) ---------- */
.cta-band { background: var(--navy); padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid rgba(255,255,255,0.06); }
.cta-band-panel { position: relative; max-width: 820px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, rgba(96,165,250,0.12), rgba(96,165,250,0.03)); border: 1px solid rgba(96,165,250,0.30); border-radius: 20px; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem); overflow: hidden; }
.cta-band-panel::before { content: ""; position: absolute; top: -45%; left: 50%; transform: translateX(-50%); width: 520px; height: 340px; background: radial-gradient(circle, rgba(96,165,250,0.20), transparent 70%); pointer-events: none; }
.cta-band-panel .eyebrow { color: var(--gold-200); }
.cta-band-title { position: relative; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.14; color: var(--white); letter-spacing: -0.01em; margin-bottom: 0.8rem; }
.cta-band-sub { position: relative; color: rgba(255,255,255,0.8); font-size: 1.06rem; max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band-actions { position: relative; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Timeline (animated stepper, light) ---------- */
.tl { margin-top: 1rem; }
.tl-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 2.2rem; }
.tl-line { position: absolute; left: 8%; right: 8%; top: 9px; height: 2px; background: var(--border); }
.tl-line-fill { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.6s ease; }
.tl-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; background: none; border: 0; cursor: pointer; font-family: var(--font-sans); }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid #CBD5E1; transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; position: relative; z-index: 1; }
.tl-when { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--slate); transition: color 0.3s ease; }
.tl-node.is-done .tl-dot { background: var(--gold); border-color: var(--gold); }
.tl-node.is-active .tl-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(59,130,246,0.18); }
.tl-node.is-active .tl-when { color: var(--gold-600); }
.tl-panel { display: none; }
.tl-panel.is-active { display: block; animation: fadeIn 0.4s ease; }
.tl-panel h3 { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--navy); margin-bottom: 0.7rem; }
.tl-panel p { color: var(--slate); font-size: 1.02rem; max-width: 64ch; margin-bottom: 1.4rem; }
.tl-stats { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tl-stat { display: inline-flex; align-items: baseline; gap: 8px; background: var(--gray-50); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 8px; padding: 0.55rem 0.9rem; font-size: 0.85rem; color: var(--slate); opacity: 0; transform: translateY(8px); }
.tl-panel.is-active .tl-stat { animation: tlStatIn 0.5s ease forwards; }
.tl-panel.is-active .tl-stat:nth-child(2) { animation-delay: 0.12s; }
.tl-panel.is-active .tl-stat:nth-child(3) { animation-delay: 0.24s; }
.tl-stat b { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-600); }
@keyframes tlStatIn { to { opacity: 1; transform: none; } }

/* ---------- Comparison table (light) ---------- */
.compare-table { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; font-size: 0.97rem; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.compare thead th.col-good { background: #2563EB; color: #FFFFFF; border-bottom-color: #2563EB; }
.compare thead th:last-child { color: var(--slate); }
.compare tbody th[scope="row"] { font-weight: 600; color: var(--navy); font-family: var(--font-sans); }
.compare td.col-good { background: rgba(59,130,246,0.10); color: var(--navy); font-weight: 600; }
.compare td:last-child { color: var(--slate); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Integrations (light gray) ---------- */
.integrations { background: var(--gray-50); }
.int-marquee { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 1rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.int-row { overflow: hidden; }
.int-row-track { display: flex; width: max-content; will-change: transform; animation: intRoll 36s linear infinite; }
.int-row-track .logo-chip { margin-right: 1.1rem; }
.int-row--rev .int-row-track { animation-name: intRollRev; }
.int-marquee:hover .int-row-track { animation-play-state: paused; }
@keyframes intRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes intRollRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.logo-chip { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--navy); border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 1.05rem 1.65rem; font-weight: 600; font-size: 1.1rem; color: #FFFFFF; box-shadow: 0 10px 24px -12px rgba(16,24,40,0.55); }
.logo-chip img { width: 32px; height: 32px; object-fit: contain; margin-right: 13px; flex-shrink: 0; }

/* ---------- FAQ (light) ---------- */
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.8rem; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.5rem; font-weight: 400; color: var(--gold-600); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 1.4rem 1.25rem; }
.faq-body p { color: var(--slate); font-size: 0.99rem; }

/* ---------- Final CTA + form (light) ---------- */
.cta-final { text-align: center; }
.cta-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; color: var(--ink); margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.cta-sub { color: var(--slate); font-size: 1.08rem; max-width: 52ch; margin: 0 auto 2.4rem; }
.contact-form { background: var(--white); border: 1.5px solid var(--ink); border-top: 5px solid #2563EB; border-radius: var(--radius); padding: 1.9rem 2rem 2.2rem; text-align: left; max-width: 560px; margin: 0 auto; box-shadow: 0 26px 55px -30px rgba(16,24,40,0.5); }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.contact-form input, .contact-form textarea { width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--ink); background: var(--gray-50); border: 1px solid #CDD3DD; border-radius: var(--radius-sm); padding: 0.7rem 0.85rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(59,130,246,0.22); background: var(--white); }
.contact-form textarea { resize: vertical; }
.form-note { margin-top: 0.9rem; font-size: 0.92rem; font-weight: 600; }
.cta-alt { margin-top: 1.6rem; font-size: 0.96rem; color: var(--slate); }
.cta-alt a { color: var(--gold-600); font-weight: 600; }
.cta-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; margin-top: 1rem; }
.cta-person { display: flex; flex-direction: column; gap: 0.25rem; }
.cta-person-name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
.cta-person a { color: var(--gold-600); font-weight: 600; font-size: 0.98rem; }
.cta-person a[href^="tel:"] { color: var(--ink); font-weight: 500; }

/* ---------- Animated geometric band (dark, squares form the name) ---------- */
.geo-band { position: relative; height: 200px; overflow: hidden; background: var(--navy-900); }
.geo-grid { display: grid; grid-auto-rows: 20px; grid-template-columns: repeat(auto-fill, 20px); gap: 4px; justify-content: center; align-content: center; width: 100%; height: 100%; }
.geo-tile { width: 20px; height: 20px; border-radius: 3px; background: #0C1530; animation: geoShade 3.6s ease-in-out infinite; transition: background 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease; }
@keyframes geoShade { 0%, 100% { background: #0C1530; } 50% { background: #1E4FA0; } }
.geo-band.naming .geo-tile { opacity: 0.16; }
.geo-band.naming .geo-tile.lit { opacity: 1; }
.geo-tile.lit { animation: none; background: var(--gold-200); transform: rotateX(360deg); box-shadow: 0 0 10px -1px rgba(96,165,250,0.7); }

/* ---------- Footer (dark) ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-logo { height: 32px; }
.footer-tag { font-family: var(--font-serif); font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 26ch; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; font-size: 0.95rem; color: rgba(255,255,255,0.72); padding: 0.32rem 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--gold-200); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.86rem; color: rgba(255,255,255,0.5); }

/* ---------- Scroll reveal ---------- */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.14s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.21s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.28s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.35s; }

/* ---------- Dark sections (alternating ~50/50) ---------- */
.section.dark { background: var(--navy); color: rgba(255,255,255,0.85); border-top: 1px solid rgba(255,255,255,0.06); }
.section.dark .eyebrow { color: var(--gold-200); }
.section.dark .section-title { color: var(--white); }
.section.dark .section-lead { color: rgba(255,255,255,0.72); }
.section.dark .section-foot { color: rgba(255,255,255,0.62); }
/* cta-band ghost button on dark */
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.30); color: var(--white); }
.cta-band .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
/* cards on dark */
.section.dark .card { background: var(--navy-700); border-color: rgba(255,255,255,0.10); box-shadow: none; }
.section.dark .card:hover { border-color: rgba(96,165,250,0.45); box-shadow: 0 18px 34px -22px rgba(0,0,0,0.7); }
.section.dark .card h3 { color: var(--white); }
.section.dark .card p { color: rgba(255,255,255,0.72); }
.section.dark .card-ico { background: rgba(96,165,250,0.18); color: var(--gold-200); }
/* capabilities on dark */
.section.dark .cap-tab { background: var(--navy-700); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.72); }
.section.dark .cap-tab:hover { border-color: rgba(255,255,255,0.28); }
.section.dark .cap-tab .cap-tab-num { color: var(--gold-200); }
.section.dark .cap-tab.is-active { background: var(--white); color: var(--navy); border-color: var(--white); }
.section.dark .cap-tab.is-active .cap-tab-num { color: var(--gold-600); }
.section.dark .cap-panels { background: var(--navy-700); border-color: rgba(255,255,255,0.10); }
.section.dark .cap-panel-head h3 { color: var(--white); }
.section.dark .cap-panel-lead { color: rgba(255,255,255,0.72); }
.section.dark .cap-panel-ico { background: rgba(96,165,250,0.18); color: var(--gold-200); }
.section.dark .cap-item { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.section.dark .cap-item::before { background: var(--gold-200); }
/* faq on dark */
.section.dark .faq-item { background: var(--navy-700); border-color: rgba(255,255,255,0.10); }
.section.dark .faq-item summary { color: var(--white); }
.section.dark .faq-item summary::after { color: var(--gold-200); }
.section.dark .faq-body p { color: rgba(255,255,255,0.72); }
/* comparison on dark: table stays light as a contained panel */
.section.dark .compare-table { border-color: rgba(255,255,255,0.12); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 900px) {
  section[id] { scroll-margin-top: 72px; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7,8,11,0.97); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.4rem 24px 1rem; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.95rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: clamp(3.4rem, 9vw, 5.5rem) 0; }
}

@media (max-width: 720px) {
  .int-marquee .logo-chip { padding: 0.8rem 1.2rem; font-size: 1rem; }
  .int-marquee .logo-chip img { width: 28px; height: 28px; margin-right: 11px; }
  .hero { padding: 3.4rem 0 3.6rem; }
  .hero-stage { height: 340px; margin-top: 2rem; }
  .fa-bob { width: 46px; height: 46px; }
  .fa-bob img { padding: 8px; }
  .stage-core-tile { width: 60px; height: 60px; }
  .stage-out { width: 200px; max-width: 64%; padding: 0.6rem 0.7rem; }
  .stage-out-txt strong { font-size: 0.8rem; }
  .stage-out-txt span { font-size: 0.7rem; }
  .cap-panels { padding: 1.4rem; }
  .cap-panel-head { gap: 0.8rem; }
  .cta-people { gap: 1rem 2rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .hero-sub { font-size: 1.02rem; }
  .section-title { font-size: clamp(1.45rem, 6.2vw, 2rem); margin-bottom: 1.9rem; }
  .hero-cta { gap: 0.7rem; }
  .hero-cta .btn, .cta-band-actions .btn { flex: 1 1 auto; }
  .cta-band-actions { gap: 0.7rem; }
  .contact-form { padding: 1.5rem 1.3rem 1.7rem; }
  .tl-when { font-size: 0.8rem; }
  .tl-dot { width: 15px; height: 15px; }
  .tl-panel h3 { font-size: 1.25rem; }
  .tl-stat { font-size: 0.8rem; padding: 0.5rem 0.75rem; }
  .tl-stat b { font-size: 1.1rem; }
  .hero-stage { height: 320px; }
  .stage-tag { font-size: 0.62rem; }
  .cap-tab { font-size: 0.92rem; padding: 0.6rem 0.95rem; }
  .compare table { min-width: 480px; }
  .compare th, .compare td { padding: 0.85rem 0.9rem; font-size: 0.92rem; }
  .faq-item summary { font-size: 1rem; padding: 1rem 1.1rem; }
}

@media (max-width: 600px) {
  .compare-table { overflow: visible; border: 0; border-radius: 0; }
  .compare table { min-width: 0; display: block; background: transparent; }
  .compare thead { display: none; }
  .compare tbody { display: block; }
  .compare tbody tr { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.85rem; overflow: hidden; }
  .compare tbody tr:last-child { margin-bottom: 0; }
  .compare tbody th[scope="row"] { display: block; font-family: var(--font-serif); font-size: 1.08rem; color: var(--navy); padding: 0.85rem 1rem 0.25rem; border: 0; }
  .compare tbody td { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.6rem 1rem; border: 0; border-top: 1px solid var(--border); font-size: 0.95rem; text-align: right; }
  .compare tbody td::before { font-weight: 600; color: var(--slate); text-align: left; flex: 0 0 auto; }
  .compare tbody td.col-good { background: rgba(59,130,246,0.08); color: var(--navy); font-weight: 600; }
  .compare tbody td.col-good::before { content: "Digital worker"; color: var(--gold-600); }
  .compare tbody td:last-child { color: var(--slate); }
  .compare tbody td:last-child::before { content: "Human hire"; }
  .geo-band { height: 150px; }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .brand-name { font-size: 1.16rem; }
  .nav-actions .btn-primary { padding: 0.5rem 0.85rem; font-size: 0.88rem; }
  .hero-stage { height: 300px; }
  .fa-bob { width: 42px; height: 42px; }
  .stage-core-tile { width: 54px; height: 54px; }
  .stage-out { width: 172px; max-width: 72%; }
  .cap-tabs { gap: 6px; }
  .cap-tab { font-size: 0.85rem; padding: 0.55rem 0.8rem; }
  .cta-people { flex-direction: column; gap: 0.9rem; align-items: center; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .site-header .brand-name { animation: none; max-width: none; opacity: 1; }
  .int-row-track, .fa-bob, .stage-core-tile, .geo-tile { animation: none; }
  .tl-stat { opacity: 1 !important; transform: none !important; }
  * { transition: none !important; }
}