/* Tilliant website styles. Plain CSS, no framework.
   Sections: tokens · base · layout · buttons · header · hero · sections · cards · footer · agent pill · responsive */

/* ---------- tokens ---------- */
:root {
  --bg: #000;
  --text: #fff;
  --soft: rgba(255, 255, 255, .7);
  --muted: rgba(255, 255, 255, .6);
  --faint: rgba(255, 255, 255, .2);
  --line: rgba(255, 255, 255, .1);
  --panel: rgba(0, 0, 0, .2);
  --panel-solid: #09090a;
  --violet: #7b3fe4;
  --violet-light: #b58cff;
  --violet-deep: #2a0e9e;
  --magenta: #c85be2;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 24px;
  --container: 1120px;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.3 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

h1 { font-size: 52px; line-height: 1.1; font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: 52px; line-height: 1.1; font-weight: 500; letter-spacing: -.01em; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 500; }
.eyebrow { font-size: 16px; line-height: 1.3; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.lead { font-size: 16px; line-height: 1.3; color: var(--soft); }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.container { width: min(var(--container), calc(100% - 80px)); margin: 0 auto; }
.container.narrow { width: min(800px, calc(100% - 80px)); }
.section { position: relative; padding: 100px 0; }
.section-head { display: grid; gap: 16px; max-width: 650px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-title.center { text-align: center; margin-bottom: 56px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.split-head > div { display: grid; gap: 16px; }
.split-head h2 { max-width: 460px; }
.split-head .lead { max-width: 340px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 16px; font-weight: 500; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(181, 140, 255, .35); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #0d0d0d; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.icon-btn:hover { background: #1a1422; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header { position: absolute; top: 46px; left: 0; right: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo img { height: 22px; width: auto; }
.main-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; margin-left: 40px; }
.main-nav ul { display: flex; gap: 40px; margin: 0 auto; }
.main-nav ul a { font-size: 16px; color: rgba(255, 255, 255, .8); transition: color .2s; }
.main-nav ul a:hover { color: #fff; }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero: rays + stars ---------- */
.hero { position: relative; overflow: hidden; padding: 190px 0 80px; }
.hero-compact { padding: 210px 0 90px; text-align: center; }
.rays { position: absolute; inset: -6% -10% auto; height: 950px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 30% at 50% 0%, rgba(214, 180, 255, .55), transparent 70%),
    radial-gradient(70% 60% at 50% 0%, rgba(140, 80, 250, .6), transparent 72%),
    conic-gradient(from 180deg at 50% -6%,
      transparent 138deg, rgba(190, 140, 255, .30) 142deg, transparent 147deg,
      rgba(190, 140, 255, .22) 152deg, transparent 157deg, rgba(205, 165, 255, .38) 162deg, transparent 167deg,
      rgba(190, 140, 255, .26) 171deg, transparent 175deg, rgba(225, 195, 255, .55) 180deg, transparent 185deg,
      rgba(190, 140, 255, .26) 189deg, transparent 193deg, rgba(205, 165, 255, .38) 198deg, transparent 203deg,
      rgba(190, 140, 255, .22) 208deg, transparent 213deg, rgba(190, 140, 255, .30) 218deg, transparent 222deg);
  filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 88%);
  animation: rays-breathe 9s ease-in-out infinite alternate; }
@keyframes rays-breathe { from { opacity: .85; transform: scaleX(1); } to { opacity: 1; transform: scaleX(1.06); } }
.stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 140px 90px, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 260px 160px, rgba(255,255,255,.9), transparent), radial-gradient(1px 1px at 330px 40px, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 90px 220px, rgba(255,255,255,.7), transparent), radial-gradient(1.5px 1.5px at 390px 250px, rgba(210,180,255,.9), transparent);
  background-size: 420px 300px;
  animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .8; } }
.hero-inner { position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 24px; text-align: center; max-width: 720px; margin: 0 auto; }
.hero-copy .lead { max-width: 400px; }
.hero-compact .hero-copy { gap: 20px; }
.hero-compact h1 { font-size: 64px; }

.hero-visual { position: relative; width: min(900px, 100%); margin: -290px auto 0; z-index: 1; }
.hero-visual .tablet { width: 100%; border-radius: 18px; }
.hero-visual .hand { position: absolute; width: 20%; pointer-events: none; }
.hand-left { left: -8%; top: 48%; }
.hand-right { right: -9%; top: 38%; }
.hero:not(.hero-compact) .hero-copy { padding-top: 70px; }

/* ---------- digital brain ---------- */
.digital-brain { overflow: hidden; }
.grid-floor { position: absolute; left: -25%; right: -25%; top: 0; height: 620px; pointer-events: none;
  background-image: linear-gradient(rgba(170, 120, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 120, 255, .35) 1px, transparent 1px);
  background-size: 72px 72px; transform: perspective(700px) rotateX(58deg); transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 80% at 50% 0%, #000 20%, transparent 75%); opacity: .7; }
.digital-brain::before { content: ""; position: absolute; inset: 0 0 auto; height: 700px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 20%, rgba(123, 63, 228, .45), transparent 70%); }
.digital-brain .container { position: relative; z-index: 1; }
.digital-brain::after { content: ""; position: absolute; inset: 0 0 auto; height: 220px; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg), transparent); } /* blends into the hero above */
.digital-brain .section-head { max-width: 820px; }
.db-stage { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0 60px; }
.db-mockup { width: min(550px, 100%); margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.db-cards { position: absolute; inset: 0; pointer-events: none; }
.glass-card { position: absolute; width: 270px; padding: 20px; display: grid; gap: 8px; pointer-events: auto;
  border-radius: var(--radius-sm); background: rgba(187, 26, 255, .06); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.glass-card h3 { font-size: 16px; }
.glass-card p { color: var(--muted); }
.glass-card-1 { left: 0; top: 46%; }
.glass-card-2 { right: 0; top: 4%; }
.glass-card-3 { right: 8%; top: 58%; }
.icon-tile { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.icon-tile.lg { width: 48px; height: 48px; border-radius: 12px; }

/* ---------- AI marketing tabs ---------- */
.tabs-card { display: grid; grid-template-columns: 1fr 427px; gap: 40px; padding: 40px; border-radius: var(--radius-lg);
  background: #0e0e10; box-shadow: inset 0 0 0 1px var(--line); }
.tabs-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.tab-list { display: grid; gap: 14px; }
.tab { font-size: 42px; line-height: 1.3; font-weight: 500; color: var(--muted); transition: color .25s; text-align: left; }
.tab sup { font-size: 14px; font-weight: 400; margin-left: 6px; vertical-align: 26px; color: var(--muted); }
.tab.is-active, .tab:hover { color: #fff; }
.tabs-foot { display: grid; gap: 20px; justify-items: start; max-width: 280px; }
.tabs-foot p { color: var(--muted); }
.tab-panels { position: relative; }
.tab-panel { position: relative; height: 477px; border-radius: 16px; overflow: hidden; background: #1a1030; }
.tab-panel video { width: 100%; height: 100%; object-fit: cover; }
.tab-panel .caption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 14px; align-items: center; padding: 16px;
  border-radius: 12px; color: var(--soft); background: rgba(20, 10, 40, .45); box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tab-panel.is-active { animation: fade-in .45s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- why tilliant: words light up on scroll ---------- */
.why .container { display: grid; gap: 30px; }
.statement { font-size: 42px; line-height: 1.3; font-weight: 500; }
.statement .w { transition: color .35s; }
.statement .accent { color: var(--violet-light); }
.js [data-reveal-words] .w { color: var(--faint); }
.js [data-reveal-words] .w.lit { color: #fff; }
.js [data-reveal-words] .w.accent.lit { color: #a973ff; }

/* ---------- private AI ---------- */
.private-ai .glow { position: absolute; left: 50%; top: 40%; width: 700px; height: 500px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(90, 36, 200, .45), transparent); filter: blur(40px); }
.private-ai .container { position: relative; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 30px 24px; border-radius: var(--radius);
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.feature-card .icon-tile { margin-bottom: auto; }
.feature-card p { color: var(--muted); }
/* Private AI product tiles: invert on hover and show a preview of the product page */
.feature-grid > li { display: flex; }
.product-tile { position: relative; flex: 1; overflow: hidden; min-height: 320px; color: var(--text);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.product-tile h3, .product-tile p, .product-tile .icon-tile { transition: color .35s var(--ease), opacity .3s var(--ease), background .35s, filter .35s; }
.tile-preview { position: absolute; top: 20px; left: 20px; right: 20px; height: 158px; border-radius: 12px; overflow: visible;
  background: #0b0712; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 18px 40px rgba(40, 10, 90, .35);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; }
.tp-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tp-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.tp-bar span { margin-left: 8px; font: 400 10px/1 var(--mono); color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-shot { position: absolute; inset: 24px 0 0; overflow: hidden; border-radius: 0 0 12px 12px; }
.tp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tp-sketch { position: absolute; inset: 0; display: grid; align-content: start; justify-items: center; gap: 8px; padding: 18px 16px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(140, 80, 250, .55), transparent 70%),
    linear-gradient(rgba(170, 120, 255, .18) 1px, transparent 1px) 0 100% / 100% 14px; }
.tp-sketch b { font-size: 14px; font-weight: 600; color: #fff; text-align: center; }
.tp-sketch i { width: 70%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.tp-sketch i.short { width: 45%; }
.tp-sketch em { width: 64px; height: 16px; margin-top: 4px; border-radius: 5px; background: #fff; }
.tp-cta { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 14px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, #9b63ff, var(--violet)); box-shadow: 0 6px 20px rgba(123, 63, 228, .5); }
.tp-cta span { transition: transform .25s var(--ease); }
.product-tile:hover, .product-tile:focus-visible { background: #fff; color: #0a0612; box-shadow: 0 20px 60px rgba(123, 63, 228, .35); outline: none; }
.product-tile:hover p, .product-tile:focus-visible p { color: rgba(10, 6, 18, .62); }
.product-tile:hover .icon-tile, .product-tile:focus-visible .icon-tile { opacity: 0; }
.product-tile:hover .tile-preview, .product-tile:focus-visible .tile-preview { opacity: 1; transform: none; }
.product-tile:hover .tp-cta span { transform: translateX(3px); }
@media (hover: none) { .product-tile .tile-preview { display: none; } } /* touch: a tap opens the page */

/* ---------- team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 24px; max-width: 1092px; margin: 0 auto; }
.team-grid > li { flex: 0 1 348px; min-width: 0; } /* 3 per row; a short last row stays centred */
.team-card { position: relative; overflow: hidden; padding: 20px; border-radius: var(--radius); background: linear-gradient(180deg, #111014, #0a0a0b); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.team-card h3 { margin-top: 18px; }
.team-card .role { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.team-card .bio { color: var(--muted); margin-top: 10px; }
/* hover / focus / tap: full portrait with a prompt to get in touch */
.team-reveal { position: absolute; inset: 0; z-index: 2; border-radius: inherit; overflow: hidden; background: #0a0612;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.team-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  transform: scale(1.08); transition: transform .7s var(--ease); }
.team-reveal::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 38%, rgba(10, 6, 18, .55) 60%, rgba(10, 6, 18, .95) 100%); }
.team-reach { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: grid; gap: 4px;
  transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease) .08s, opacity .4s var(--ease) .08s; }
.team-reach-name { font-size: 24px; font-weight: 500; letter-spacing: -.01em; color: #fff; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.team-link { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.team-link.icon { width: 38px; padding: 0; justify-content: center; }
.team-link.icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.team-link.primary { padding: 0 18px; color: #0a0612; background: #fff; box-shadow: 0 6px 24px rgba(181, 140, 255, .45); }
.team-link:hover { transform: translateY(-1px); }
.team-link:not(.primary):hover { background: rgba(255, 255, 255, .18); }
.team-card:hover .team-reveal, .team-card:focus-within .team-reveal, .team-card.is-open .team-reveal { opacity: 1; visibility: visible; }
.team-card:hover .team-full, .team-card:focus-within .team-full, .team-card.is-open .team-full { transform: none; }
.team-card:hover .team-reach, .team-card:focus-within .team-reach, .team-card.is-open .team-reach { transform: none; opacity: 1; }
.team-photo { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 308 / 334; background: #1a1428; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; } /* portraits: keep faces in frame */
.shine::after { content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%);
  transform: translateX(-120%); animation: shine 5.5s var(--ease) infinite; animation-delay: var(--delay, 0s); }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.team-card:hover .shine::after { animation-duration: 1.6s; }

/* ---------- stats card (results / impact) ---------- */
.stats-card { display: grid; grid-template-columns: 1fr 320px; gap: 60px; padding: 60px; border-radius: var(--radius-lg);
  background: radial-gradient(70% 90% at 20% 30%, rgba(90, 36, 200, .28), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.stats-intro { display: grid; gap: 24px; align-content: start; justify-items: start; }
.stats-intro h2 { font-size: 36px; line-height: 1.3; }
.stats-list { display: grid; gap: 48px; }
.stats-list li { display: grid; gap: 8px; }
.stat-value { font-size: 80px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.stats-list h3 { font-size: 20px; }
.stats-list p:last-child { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: start; }
.faq-intro { display: grid; gap: 16px; position: sticky; top: 40px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--panel-solid); box-shadow: inset 0 0 0 1px #1d1d20; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 24px; cursor: pointer;
  font-size: 22px; line-height: 1.3; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: transform .25s var(--ease); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { padding: 0 24px 30px; color: var(--muted); max-width: 560px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 24px; text-align: center;
  padding: 140px 40px 120px; border-radius: var(--radius-lg); background: #07040d; box-shadow: inset 0 0 0 1px var(--line); }
.cta-banner .rays { inset: -12% -10% auto; height: 640px; opacity: 1; }
.cta-banner > :not(.rays) { position: relative; }
.cta-banner h2 { max-width: 520px; }
.cta-banner .lead { max-width: 520px; }

/* ---------- about: certifications ticker ---------- */
.certs { padding: 10px 0 60px; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 90px; align-items: center; animation: ticker 36s linear infinite; }
.ticker-track li { flex: none; }
.ticker-track img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .45; }
.ticker-track img.ko { filter: grayscale(1) invert(1); opacity: .6; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- about: tools ---------- */
.tool-list { border-radius: var(--radius-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tool-row { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 26px 28px; }
.tool-row + .tool-row { border-top: 1px solid var(--line); }
.tool-icon img { width: 40px; height: 40px; object-fit: contain; }
.tool-row h3 { font-size: 20px; }
.tool-row p { color: var(--muted); margin-top: 4px; }

/* ---------- about: testimonials ---------- */
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 350px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial-card { scroll-snap-align: start; display: grid; gap: 24px; align-content: space-between; min-height: 260px; padding: 28px;
  border-radius: var(--radius); background: var(--panel-solid); box-shadow: inset 0 0 0 1px var(--line); }
.stars-row { color: var(--violet-light); letter-spacing: 4px; }
.testimonial-card blockquote { font-size: 20px; line-height: 1.35; }
.person { display: flex; align-items: center; gap: 12px; }
.person img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.person p { display: grid; gap: 2px; }
.person span { color: var(--muted); font-size: 14px; }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }

/* ---------- about: quote ---------- */
.quote-section { position: relative; overflow: hidden; padding: 140px 0; text-align: center; }
.quote-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.quote-section::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #000, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .35) 60%, #000); }
.quote-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 32px; }
.quote-inner > img { height: 24px; width: auto; }
.quote-inner blockquote { font-size: 32px; line-height: 1.3; font-weight: 500; }
.quote-inner .person img { width: 60px; height: 60px; }

/* ---------- blog ---------- */
.blog-list { padding-top: 20px; }
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 20px; margin-bottom: 40px;
  border-radius: var(--radius-lg); background: var(--panel-solid); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.post-feature img, .post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.post-feature > div { display: grid; gap: 16px; padding-right: 20px; }
.post-feature h2 { font-size: 36px; line-height: 1.2; }
.post-feature p, .post-card p { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: grid; gap: 14px; height: 100%; padding: 16px; border-radius: var(--radius); background: var(--panel-solid); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease); }
.post-card h2 { font-size: 22px; line-height: 1.3; }
.post-feature:hover, .post-card:hover { box-shadow: inset 0 0 0 1px rgba(181, 140, 255, .45); }
.post-card:hover { transform: translateY(-2px); }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.post-feature .post-meta, .post-card .post-meta { margin-top: auto; padding-top: 8px; }

.post { padding: 190px 0 40px; }
.post-header { display: grid; gap: 20px; margin-bottom: 40px; }
.post-header .post-meta { justify-content: flex-start; gap: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); width: max-content; }
.back-link:hover { color: #fff; }
.post-cover img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 56px; }
.prose { font-size: 18px; line-height: 1.65; color: var(--soft); }
.prose h2 { font-size: 32px; line-height: 1.25; color: #fff; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; color: #fff; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { display: grid; gap: 12px; margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--violet-light); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 6px; font-size: 13px; color: #fff; background: rgba(123, 63, 228, .35); }
.prose strong { color: #fff; font-weight: 500; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav-link { display: grid; gap: 8px; padding: 20px; border-radius: var(--radius-sm); background: var(--panel-solid); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.post-nav-link span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; color: var(--muted); }
.post-nav-link.next { text-align: right; justify-items: end; grid-column: 2; }
.post-nav-link:hover { box-shadow: inset 0 0 0 1px rgba(181, 140, 255, .45); }

/* ---------- footer ---------- */
.site-footer { padding: 80px 0 96px; } /* bottom room so the fixed agent pill never covers the legal link */
.footer-top { display: grid; grid-template-columns: 1fr auto auto; gap: 80px; padding-bottom: 60px; }
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #101011; transition: background .2s; }
.socials a:hover { background: #221533; }
.socials img { width: 18px; height: 18px; opacity: .85; }
.footer-col h2 { font-size: 16px; font-weight: 400; margin-bottom: 24px; }
.footer-col ul { display: grid; gap: 16px; }
.footer-col a { color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 24/7 SI agent pill ---------- */
.agent-pill { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 6px;
  border-radius: 12px; background: #fff; color: #0a0612; font-size: 13px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease), box-shadow .2s; }
.agent-pill:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 20px rgba(0, 0, 0, .45); }
.agent-pill img { border-radius: 7px; }
.agent-pill b { font-weight: 600; color: #5a24c8; }

/* ---------- scroll-in reveal (added by main.js; content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--delay, 0s) / 6); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- scroll-linked effects (main.js drives them; without JS or with reduced motion nothing moves) ---------- */
.hero-track.is-live { height: calc(var(--hero-h, 100vh) + var(--zoom-run, 600px)); }
.hero-track.is-live > .hero { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; }
.hero-track.is-live > .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg)); opacity: var(--p, 0); }
/* Digital Brain slides up over the pinned hero while the tablet zooms, so it appears as the hero fades */
.hero-track.is-live + .digital-brain { position: relative; z-index: 2; margin-top: calc(var(--zoom-run, 600px) * -1); background: transparent; }
.hero-track.is-live + .digital-brain::after { display: none; }
.hero-track.is-live + .digital-brain .grid-floor { display: none; } /* the zoomed tablet's grid shows through instead */
.hero-track.is-live + .digital-brain::before { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 240px); mask-image: linear-gradient(to bottom, transparent, #000 240px); }
.hero-track.is-live .hero-visual { transform-origin: 50% 45%; will-change: transform, opacity; }
.hero-track.is-live .hero-copy h1, .hero-track.is-live .hero-copy .btn, .hero-track.is-live .hero-copy .lead { will-change: transform, opacity; }
[data-scroll-zoom].is-live { transform-origin: 50% 50%; will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .glass-card { width: 240px; }
  .tabs-card { grid-template-columns: 1fr 360px; }
}
@media (max-width: 900px) {
  h1, h2 { font-size: 40px; }
  .hero-compact h1 { font-size: 48px; }
  .statement { font-size: 32px; }
  .section { padding: 72px 0; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .feature-grid, .post-grid { grid-template-columns: 1fr; }
  .team-grid > li { flex-basis: 400px; }
  .tabs-card { grid-template-columns: 1fr; padding: 24px; }
  .tab { font-size: 34px; }
  .tab-panel { height: 400px; }
  .stats-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 48px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }
  .post-feature { grid-template-columns: 1fr; padding: 16px; }
  .post-feature > div { padding: 0 4px 8px; }
  .db-cards { position: static; display: grid; gap: 12px; margin-top: 24px; pointer-events: auto; }
  .glass-card { position: static; width: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-visual { margin-top: 40px; }
  .hero:not(.hero-compact) .hero-copy { padding-top: 0; }
}
@media (max-width: 760px) {
  .container, .container.narrow { width: calc(100% - 40px); }
  .site-header { top: 46px; }
  .header-inner { height: 70px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; z-index: -1; margin: 0; flex-direction: column; justify-content: center; gap: 40px;
    background: rgba(5, 3, 10, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 28px; margin: 0; }
  .main-nav ul a { font-size: 28px; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { position: fixed; top: 0; z-index: 50; } /* above the view switch while the menu is open */
  h1, h2 { font-size: 34px; }
  .hero-compact h1 { font-size: 40px; }
  .statement { font-size: 26px; }
  .stats-intro h2 { font-size: 28px; }
  .stat-value { font-size: 64px; }
  .quote-inner blockquote { font-size: 24px; }
  .prose h2 { font-size: 26px; }
  .hero { padding-top: 160px; }
  .hand-left { left: -4%; width: 22%; }
  .hand-right { right: -4%; width: 22%; }
  .hero-compact, .post { padding-top: 170px; }
  .tab-panel { height: 340px; }
  .carousel-track { grid-auto-columns: 85%; }
  .cta-banner { padding: 90px 24px 80px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.next { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .agent-pill span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
