/* ─────────────────────────────────────────────────────────
   Aintell — shared stylesheet
   Extracted from index.html and extended for multi-page site.
   ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #fafaf7;   /* warm paper, not stark white */
  --bg-off:  #f1f0ea;
  --bg-dark: #0e0e11;
  --bg-d2:   #16161a;
  --ink:     #101014;
  --ink-2:   #3a3a40;
  --ink-3:   #6b6b72;
  --ink-4:   #a9a9b0;
  --rule:    #e6e4dc;
  --ruled:   #1e1e24;
  --blue:    #1f3de6;   /* aintell ultramarine */
  --blue-deep: #1730be;
  --blue-soft: rgba(31,61,230,0.08);
  --font:    'Geist', -apple-system, sans-serif;
  --mono:    'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; } /* anchor targets land below the fixed 56px nav */
body { font-family: var(--font); background: var(--bg); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(31,61,230,0.16); }
.d { color: var(--blue); } /* the aintell dot — terminal full stops in headlines */

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(250,250,247,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--ink-3); text-decoration: none; transition: color 0.15s; position: relative; padding: 19px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--ink);
}
.nav-cta { font-size: 13px; font-weight: 600; color: #fff; background: var(--blue); text-decoration: none; padding: 9px 22px; border-radius: 980px; transition: background 0.15s; white-space: nowrap; }
.nav-cta:hover { background: var(--blue-deep); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-burger span + span { margin-top: 4px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO (home) ── */
.hero {
  min-height: 100vh; padding-top: 56px;
  display: grid; grid-template-rows: 1fr auto;
  border-bottom: 1px solid var(--rule);
}
.hero-content {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  border-bottom: 1px solid var(--rule);
}
.hero-left {
  padding: 88px 56px 72px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--rule);
  opacity: 0; animation: fadeUp 0.7s 0.1s forwards;
}
.hero-kicker {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 28px; display: flex; align-items: center; gap: 9px;
}
.hero-kicker::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.hero-headline {
  font-size: clamp(48px, 5.5vw, 80px); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.04em; color: var(--ink);
  margin-bottom: 28px;
}
.hero-headline .light { font-weight: 300; color: var(--ink-3); }
.hero-sub {
  font-size: 17px; font-weight: 300; line-height: 1.7;
  color: var(--ink-3); max-width: 520px; margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.hero-sub strong { color: var(--ink-2); font-weight: 500; }
.hero-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-dark { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-family: var(--font); font-size: 15px; font-weight: 600; text-decoration: none; padding: 14px 28px; border-radius: 980px; letter-spacing: -0.02em; transition: opacity 0.15s, transform 0.15s; }
.btn-dark:hover { opacity: 0.75; transform: scale(0.98); }
.btn-light { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-off); color: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 500; text-decoration: none; padding: 14px 28px; border-radius: 980px; letter-spacing: -0.02em; transition: background 0.15s; }
.btn-light:hover { background: var(--rule); }
.btn-blue { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; font-family: var(--font); font-size: 15px; font-weight: 600; text-decoration: none; padding: 14px 28px; border-radius: 980px; letter-spacing: -0.02em; transition: opacity 0.15s, transform 0.15s; }
.btn-blue:hover { opacity: 0.82; transform: scale(0.98); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 140px 48px 72px; border-bottom: 1px solid var(--rule); }
.page-hero .hero-kicker { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(40px, 4.5vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 24px; max-width: 880px; }
.page-hero h1 .light { font-weight: 300; color: var(--ink-3); }
.page-hero .lede { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--ink-3); max-width: 720px; letter-spacing: -0.01em; }
.page-hero .lede strong { color: var(--ink-2); font-weight: 500; }
.page-hero .hero-btns { margin-top: 40px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.page-meta span { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-2); background: var(--bg-off); border: 1px solid var(--rule); padding: 6px 13px; border-radius: 980px; }
.crumbs { font-family: var(--mono); font-size: 11px; color: var(--ink-4); margin-bottom: 28px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ── PROOF STRIP ── */
.proof-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  opacity: 0; animation: fadeUp 0.6s 0.4s forwards;
}
.proof-item {
  padding: 28px 48px; border-right: 1px solid var(--rule);
  display: flex; align-items: flex-start; gap: 16px;
}
.proof-item:last-child { border-right: none; }
.proof-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-off); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.proof-icon svg { width: 18px; height: 18px; }
.proof-text-head { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 2px; }
.proof-text-sub { font-size: 13px; font-weight: 300; color: var(--ink-3); line-height: 1.4; }

/* ── TICKER ── */
.ticker { overflow: hidden; background: var(--bg-dark); padding: 13px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 35s linear infinite; }
.ticker-item { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.32); padding: 0 36px; white-space: nowrap; display: flex; align-items: center; gap: 36px; }
.ticker-item::after { content: '●'; font-size: 5px; color: #5a73ff; }

/* ── SECTIONS ── */
.s { padding: 100px 48px; border-top: 1px solid var(--rule); }
.s-off { background: var(--bg-off); }
.s-dark {
  background-color: var(--bg-dark);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  border-top-color: var(--ruled);
}
.s-d2 { background: var(--bg-d2); border-top-color: var(--ruled); }
.s-brand {
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  border-top-color: var(--blue-deep);
}

.s-eyebrow { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.s-eyebrow::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.s-eyebrow-dark { color: rgba(255,255,255,0.4); }
.s-eyebrow-dark::before { background: rgba(255,255,255,0.35); }
.s-brand .s-eyebrow, .s-brand .s-eyebrow::before { color: rgba(255,255,255,0.65); background-color: transparent; }
.s-brand .s-eyebrow::before { background: rgba(255,255,255,0.65); }

.s-title { font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 48px; }
.s-title .light { font-weight: 300; color: var(--ink-4); }
.s-title-dark { color: #fff; }
.s-title-dark .light { color: rgba(255,255,255,0.2); }
.s-lede { font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--ink-3); max-width: 680px; margin: -28px 0 48px; }
.s-lede strong { color: var(--ink-2); font-weight: 500; }
.s-lede-dark { color: rgba(255,255,255,0.42); }
.s-lede-dark strong { color: rgba(255,255,255,0.7); }

/* ── STACK ── */
.stack-section { padding: 56px 48px; border-top: 1px solid var(--rule); background: var(--bg-off); }
.stack-groups { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.stack-group { display: flex; align-items: center; gap: 0; }
.stack-category { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); width: 140px; flex-shrink: 0; }
.stack-logos { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-logo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--rule);
  padding: 8px 16px; border-radius: 980px;
  letter-spacing: -0.01em;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.stack-logo-pill:hover { border-color: var(--ink-4); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.stack-logo-pill svg, .stack-logo-pill img { width: 16px; height: 16px; flex-shrink: 0; }

/* ── USE CASE CARDS ── */
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); }
.use-case-card { background: var(--bg); padding: 32px 28px; transition: background 0.15s; cursor: default; }
.use-case-card:hover { background: var(--bg-off); }
.use-case-card-tag { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); background: rgba(31,61,230,0.08); display: inline-block; padding: 4px 10px; border-radius: 980px; margin-bottom: 12px; }
.use-case-card-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.25; }
.use-case-card-body { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--ink-3); }

/* ── LOGO ── */
.logo-mark { display: inline-flex; align-items: baseline; font-size: 15px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); font-family: var(--font); line-height: 1; text-decoration: none; }
.logo-i-wrap { display: inline-flex; align-items: center; position: relative; }
.logo-i-dot { width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--blue); position: absolute; top: -3px; }

/* ── WHY AINTELL ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); }
.why-card {
  background: var(--bg); padding: 44px 36px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.15s; cursor: default;
  position: relative; overflow: hidden;
}
.why-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.why-card:hover { background: var(--bg-off); }
.why-card:hover::after { transform: scaleX(1); }
.why-num { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-4); letter-spacing: 0.1em; }
.why-title { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }
.why-body { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--ink-3); }

/* ── SERVICES ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); }
.svc {
  background: var(--bg-off); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: background 0.2s;
  display: flex; flex-direction: column;
}
.svc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.svc:hover { background: var(--bg); }
.svc:hover::before { transform: scaleX(1); }
.svc-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.svc-idx { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-4); letter-spacing: 0.1em; }
.svc-badge { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); background: rgba(31,61,230,0.08); padding: 4px 12px; border-radius: 980px; }
.svc-title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.03em; line-height: 1.2; }
.svc-body { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ink-3); margin-bottom: 28px; }
.svc-price { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; margin-bottom: 24px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--ink-3); background: var(--bg); border: 1px solid var(--rule); padding: 4px 9px; border-radius: 4px; }
.svc-link { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 24px; transition: gap 0.15s; }
.svc-link:hover { gap: 8px; }

/* ── AGENTS SECTION (home) ── */
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); }
.agent-card { background: var(--bg); padding: 36px 30px; transition: background 0.15s; }
.agent-card:hover { background: var(--bg-off); }
.agent-card-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(31,61,230,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.agent-card-icon svg { width: 18px; height: 18px; }
.agent-card-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.25; }
.agent-card-body { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--ink-3); }

/* ── STATS BAND ── */
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); margin: 48px 0 0; }
.stat { background: var(--bg); padding: 36px 32px; }
.stat-num { font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat-num .accent { color: var(--blue); }
.stat-label { font-size: 13px; font-weight: 300; line-height: 1.55; color: var(--ink-3); }
.stat-src { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--ink-4); margin-top: 12px; }
.stat-src a { color: var(--ink-4); text-decoration: underline; text-underline-offset: 2px; }
.stat-src a:hover { color: var(--ink-2); }
.stats-note { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.7; max-width: 680px; margin-top: 28px; }
.stats-note strong { color: var(--ink-2); font-weight: 500; }

/* ── SELECTED WORK ── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); }
.work-card { background: var(--bg); padding: 44px 36px; display: flex; flex-direction: column; transition: background 0.15s; }
.work-card:hover { background: var(--bg-off); }
.work-tag { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.work-tag.muted { color: var(--ink-4); }
.work-title { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 14px; }
.work-body { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ink-3); margin-bottom: 24px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-note { font-size: 12px; color: var(--ink-4); margin-top: 20px; }

/* ── PRODUCTS ── */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--rule); }
.prod-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.prod-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.prod-brand svg { flex-shrink: 0; }
.ws-mark { background: linear-gradient(180deg, #FA5C7E, #F01948); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hfj-fj { color: #2542C4; }
.prod-status-dot { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
.prod-status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); }
.prod-status-dot.live { color: #1d8a3a; }
.prod-status-dot.live::before { background: #34c759; }
.prod-status-dot.soon::before { background: #ff9500; }

/* ── FOUNDER ── */
.founder-layout { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.founder-photo {
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: var(--bg-d2); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo-fallback { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; color: rgba(255,255,255,0.16); }
.founder-photo-fallback .dot { color: var(--blue); }
.founder-name { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 4px; }
.founder-role { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 24px; }
.founder-bio { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--ink-3); max-width: 640px; }
.founder-bio p + p { margin-top: 16px; }
.founder-bio strong { color: var(--ink-2); font-weight: 500; }
.founder-links { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.founder-quote { border-left: 2px solid var(--blue); padding-left: 20px; font-size: 17px; font-weight: 400; color: var(--ink-2); line-height: 1.6; letter-spacing: -0.01em; margin: 28px 0 0; max-width: 560px; }

/* ── INDUSTRIES ── */
.ind-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ind-intro { font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--ink-3); max-width: 400px; margin-bottom: 40px; }
.ind-intro strong { color: var(--ink-2); font-weight: 500; }
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); }
.ind {
  background: var(--bg); padding: 24px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: background 0.15s; cursor: default;
}
.ind:hover { background: var(--bg-off); }
.ind-icon-wrap {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ind-icon-wrap svg { width: 18px; height: 18px; }
.ind-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 3px; letter-spacing: -0.02em; }
.ind-desc { font-size: 12px; font-weight: 300; color: var(--ink-3); line-height: 1.5; }

/* Tinted icon colours */
.ic-blue   { background: rgba(31,61,230,0.08); }
.ic-green  { background: rgba(52,199,89,0.1); }
.ic-orange { background: rgba(255,149,0,0.1); }
.ic-purple { background: rgba(175,82,222,0.1); }
.ic-teal   { background: rgba(90,200,250,0.1); }
.ic-red    { background: rgba(255,59,48,0.08); }
.ic-indigo { background: rgba(88,86,214,0.1); }
.ic-pink   { background: rgba(255,45,85,0.08); }

/* ── PROCESS ── */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ruled); }
.proc { background: var(--bg-dark); padding: 48px 36px; }
.proc-n { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.28); letter-spacing: 0.1em; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.proc-n::after { content: ''; flex: 1; height: 1px; background: var(--ruled); }
.proc-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: -0.03em; }
.proc-body { font-size: 14px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.38); }

/* ── PILLARS (assessment page) ── */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); }
.pillar { background: var(--bg); padding: 32px 28px; transition: background 0.15s; }
.pillar:hover { background: var(--bg-off); }
.pillar-num { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-4); letter-spacing: 0.1em; margin-bottom: 14px; }
.pillar-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.pillar-body { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--ink-3); }

/* ── CHECKLIST / DELIVERABLES ── */
.deliv-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); max-width: 820px; }
.deliv { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.deliv-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(31,61,230,0.1); flex-shrink: 0; margin-top: 2px; background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%231F3DE6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.deliv-title { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 4px; }
.deliv-body { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--ink-3); }

/* ── COMPARE TABLE ── */
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); font-size: 14px; }
.compare th, .compare td { padding: 18px 20px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare th { background: var(--bg-off); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.compare td { font-weight: 300; color: var(--ink-3); line-height: 1.55; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .yes { color: var(--ink); font-weight: 500; }

/* ── FAQ ── */
.faq-list { border-top: 1px solid var(--rule); max-width: 880px; }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--ink-4); transition: transform 0.2s; flex-shrink: 0; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--ink-3); padding: 0 40px 26px 0; max-width: 760px; }
.faq-a strong { color: var(--ink-2); font-weight: 500; }
.faq-a a { color: var(--blue); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ── PROSE (long-form service copy) ── */
.prose { max-width: 760px; }
.prose h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 44px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.prose p { font-size: 15.5px; font-weight: 300; line-height: 1.8; color: var(--ink-3); margin-bottom: 16px; }
.prose p strong { color: var(--ink-2); font-weight: 500; }
.prose a { color: var(--blue); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul { margin: 0 0 16px 18px; }
.prose li { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--ink-3); margin-bottom: 8px; }
.prose li strong { color: var(--ink-2); font-weight: 500; }

/* ── INSIGHTS ── */
.ins-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.ins-all { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; transition: opacity 0.15s; }
.ins-all:hover { opacity: 0.7; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); }
.ins-card { background: var(--bg-off); padding: 36px 32px; transition: background 0.15s; cursor: pointer; }
.ins-card:hover { background: var(--bg); }
.ins-cat { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.ins-title { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.03em; }
.ins-desc { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--ink-3); margin-bottom: 20px; }
.ins-link { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s; }
.ins-link:hover { gap: 8px; }
.ins-list { border-top: 1px solid var(--rule); }
.ins-row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  transition: padding-left 0.2s;
}
.ins-row:hover { padding-left: 8px; }
.ins-row:hover .ins-title { color: var(--blue); }
.ins-row:hover .ins-row-link { gap: 8px; }
.ins-row-body { flex: 1; min-width: 0; }
.ins-row .ins-cat { margin-bottom: 10px; }
.ins-row .ins-title { margin-bottom: 6px; transition: color 0.15s; }
.ins-row .ins-desc { margin-bottom: 0; max-width: 640px; }
.ins-row-link { white-space: nowrap; flex-shrink: 0; }

/* ── CTA ── */
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cta-hl { font-size: clamp(40px, 5vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; color: #fff; margin-bottom: 20px; }
.cta-hl .light { font-weight: 300; color: rgba(255,255,255,0.22); }
.cta-sub { font-size: 16px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.42); margin-bottom: 36px; }
.cta-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.cta-check { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.38); display: flex; align-items: center; gap: 10px; }
.cta-check::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(31,61,230,0.25); display: flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%231F3DE6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.cta-form { display: flex; flex-direction: column; gap: 10px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-input { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: var(--font); font-size: 14px; font-weight: 300; padding: 14px 16px; outline: none; border-radius: 10px; transition: border-color 0.15s; resize: none; letter-spacing: -0.01em; }
.f-input::placeholder { color: rgba(255,255,255,0.2); }
.f-input:focus { border-color: rgba(31,61,230,0.5); background: rgba(255,255,255,0.08); }
.f-input option { background: #1c1c1e; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.f-btn { background: var(--blue); color: #fff; font-family: var(--font); font-size: 15px; font-weight: 600; border: none; padding: 14px 32px; border-radius: 980px; cursor: pointer; letter-spacing: -0.02em; transition: opacity 0.15s, transform 0.15s; }
.f-btn:hover { opacity: 0.82; transform: scale(0.98); }
.f-note { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.35); }

/* ── BRAND (ultramarine) SECTION OVERRIDES ── */
.s-brand .cta-hl, .s-brand .cta-band-title { color: #fff; }
.s-brand .cta-hl .light, .s-brand .cta-band-title .light { color: rgba(255,255,255,0.45); }
.s-brand .cta-hl .d, .s-brand .cta-band-title .d { color: #fff; }
.s-brand .cta-sub, .s-brand .cta-band-sub { color: rgba(255,255,255,0.78); }
.s-brand .cta-check { color: rgba(255,255,255,0.82); }
.s-brand .cta-check::before { background-color: rgba(255,255,255,0.22); background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.s-brand .f-input { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); color: #fff; }
.s-brand .f-input::placeholder { color: rgba(255,255,255,0.55); }
.s-brand .f-input:focus { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.16); }
.s-brand .f-btn { background: #fff; color: var(--blue); }
.s-brand .f-note { color: rgba(255,255,255,0.6); }
.s-brand .btn-blue { background: #fff; color: var(--blue); }
.s-brand .btn-blue:hover { opacity: 0.9; }

/* ── CTA BAND (inner pages) ── */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
.cta-band-title .light { font-weight: 300; color: rgba(255,255,255,0.25); }
.cta-band-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.42); margin-top: 10px; max-width: 520px; line-height: 1.65; }

/* ── FOOTER ── */
footer { background: var(--bg-dark); border-top: 1px solid var(--ruled); padding: 48px 48px 32px; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-blurb { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.3); line-height: 1.6; max-width: 300px; margin-top: 14px; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col-title { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--ruled); }
.footer-logo { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.35); text-decoration: none; letter-spacing: -0.03em; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.18); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.55); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-left, .hero-right, .proof-strip { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .ticker-track { animation: none; }
}

/* ── MOBILE ── */
@media (max-width: 880px) {
  nav { padding: 0 20px; }
  .nav-burger { display: block; }
  .nav-links {
    display: none; position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule); padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 15px; display: block; }
  .nav-links a.active::after { display: none; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 20px 48px; border-right: none; border-bottom: 1px solid var(--rule); }
  .hero-right { padding: 40px 20px; }
  .page-hero { padding: 110px 20px 56px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 20px; }
  .s { padding: 72px 20px; }
  .stack-section { padding: 48px 20px; }
  .stack-group { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stack-category { width: auto; }
  .use-case-grid, .agent-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .svc-grid, .ins-grid, .work-grid, .stats-band, .prod-grid { grid-template-columns: 1fr; }
  .ind-layout, .founder-layout { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { max-width: 320px; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .ins-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ins-row { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
  .ins-row:hover { padding-left: 0; }
  .cta-wrap { grid-template-columns: 1fr; gap: 48px; }
  .f-row { grid-template-columns: 1fr; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 12px; }
  footer { padding: 40px 20px 24px; }
  .footer-base { flex-direction: column; text-align: center; justify-content: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .use-case-grid, .agent-grid, .pillar-grid, .proc-grid, .ind-grid { grid-template-columns: 1fr; }
}
