/*
Theme Name: Think Automata
Theme URI: https://thinkautomata.ai
Author: Think Automata
Description: Plugin-free, admin-editable theme for Think Automata and THAO.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: think-automata
*/

/* ============================================================
   All theme styles live here (loaded globally via get_stylesheet_uri).
   Ported from the approved designref mockups.
   ============================================================ */

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #000000;
  --near-black: #111111;
  --dark:       #1a1a1a;
  --mid:        #3f3f3f;
  --subtle:     #5e5e5e;
  --border:     #e2e2e2;
  --surface:    #f7f7f7;
  --white:      #ffffff;
  --font:       Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--near-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 96px 0; }
.divider    { height: 1px; background: var(--border); }

/* ─── REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── UTILITY ────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--subtle); display: block; margin-bottom: 18px;
}
.section-headline {
  font-size: clamp(26px, 2.8vw, 42px); font-weight: 700;
  letter-spacing: -0.022em; line-height: 1.1; color: var(--black);
}
.section-body { font-size: 15px; line-height: 1.75; color: var(--mid); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13.5px; font-weight: 500;
  padding: 10px 20px; border-radius: 6px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent; line-height: 1; white-space: nowrap;
}
.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: #222; border-color: #222; }
.btn-outline { background: transparent; color: var(--near-black); border-color: var(--border); }
.btn-outline:hover { border-color: #999; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #e8e8e8; }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.86); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.86); color: var(--white); }

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo {
  width: auto; height: 15px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.nav-brand-name {
  font-family: var(--font);
  font-size: 15px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--black); line-height: 1;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: var(--mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--black); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  display: flex; align-items: center;
  padding-top: 60px; border-bottom: 1px solid var(--border);
  position: relative;
  background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-inner {
  padding: 80px 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid);
  border: 1px solid var(--border); padding: 5px 12px; border-radius: 4px;
  margin-bottom: 28px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--black); animation: blink 2.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
h1.hero-headline {
  font-size: clamp(36px, 4.2vw, 60px); font-weight: 700;
  line-height: 1.06; letter-spacing: -0.025em; color: var(--black); margin-bottom: 22px;
}
.hero-sub { font-size: 16px; line-height: 1.7; color: var(--mid); margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-footnote {
  margin-top: 36px; font-size: 12px; color: var(--subtle);
  display: flex; align-items: center; gap: 8px;
}
.hero-footnote::before { content: ''; display: block; width: 20px; height: 1px; background: var(--border); }

/* ─── THAO PRODUCT CARD ──────────────────────────────────── */
.product-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.product-card-header {
  background: var(--black); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.product-card-title { font-size: 20px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.product-card-sub { font-size: 10.5px; color: rgba(255,255,255,0.74); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }
.product-card-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.74); border: 1px solid rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 3px; white-space: nowrap; }
.flow-step { display: flex; align-items: flex-start; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.flow-step:last-child { border-bottom: none; }
.flow-step:hover { background: var(--surface); }
.flow-step-num { font-size: 11px; font-weight: 600; color: #ccc; min-width: 22px; padding-top: 2px; }
.flow-step-icon { width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--near-black); }
.flow-step-name { font-size: 13px; font-weight: 600; color: var(--near-black); margin-bottom: 2px; }
.flow-step-desc { font-size: 11.5px; color: var(--subtle); line-height: 1.5; }

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 13px 0; overflow: hidden; background: var(--surface); }
.marquee-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 10px; padding: 0 34px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; color: var(--subtle); white-space: nowrap; text-transform: uppercase; }
.marquee-item i { font-size: 12px; color: var(--border); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── PROBLEM ────────────────────────────────────────────── */
#problem { background: var(--surface); }
.problem-grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.problem-headline { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--black); margin-bottom: 20px; }
.questions { border-top: 1px solid var(--border); }
.question-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.q-num { font-size: 11.5px; font-weight: 600; color: #ccc; min-width: 26px; padding-top: 2px; }
.q-text { font-size: 14.5px; font-weight: 400; line-height: 1.5; color: var(--near-black); }

/* ─── PILLARS (WHAT) ─────────────────────────────────────── */
#what { background: var(--white); }
.what-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 56px; align-items: end; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pillar { background: var(--white); padding: 38px 34px; transition: background 0.2s, transform 0.2s; }
.pillar:hover { background: var(--black); transform: translateY(-2px); }
.pillar:hover .pillar-icon, .pillar:hover .pillar-title, .pillar:hover .pillar-text { color: var(--white); }
.pillar:hover .pillar-icon-wrap { border-color: rgba(255,255,255,0.74); background: rgba(255,255,255,0.06); }
.pillar-icon-wrap { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: border-color 0.2s, background 0.2s; }
.pillar-icon { font-size: 19px; color: var(--near-black); transition: color 0.2s; }
.pillar-title { font-size: 15.5px; font-weight: 700; color: var(--black); margin-bottom: 10px; transition: color 0.2s; }
.pillar-text { font-size: 13.5px; line-height: 1.7; color: var(--mid); transition: color 0.2s; }

/* ─── SYNTHETIC CONSUMERS ────────────────────────────────── */
#synthetic { background: var(--black); }
#synthetic .eyebrow { color: rgba(255,255,255,0.74); }
.synth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 56px; }
.synth-headline { color: var(--white); margin-bottom: 20px; }
.synth-body { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.74); }
.synth-body + .synth-body { margin-top: 16px; }
.synth-levels { display: flex; flex-direction: column; gap: 1px; margin-top: 36px; }
.synth-level {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 28px 28px; margin-bottom: 12px;
}
.synth-level-num { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.74); margin-bottom: 10px; }
.synth-level-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.synth-level-text { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.74); }
.synth-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; }
.synth-uc { padding: 22px 22px; background: var(--black); border: none; }
.synth-uc-icon { font-size: 18px; color: rgba(255,255,255,0.74); margin-bottom: 10px; display: block; }
.synth-uc-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.86); margin-bottom: 6px; }
.synth-uc-text { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.74); }
.synth-tagline {
  margin-top: 36px; padding: 24px 28px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
}
.synth-tagline-text { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.86); font-style: italic; }
/* 2026 layout: full-width centered intro, 2-col levels, 4-col use cases */
.synth-intro { max-width: 880px; margin: 0 auto 48px; text-align: center; }
.synth-intro .synth-body { max-width: 720px; margin-left: auto; margin-right: auto; }
.synth-intro .synth-tagline { max-width: 720px; margin-left: auto; margin-right: auto; text-align: left; }
.synth-levels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.synth-levels-grid .synth-level { margin-bottom: 0; }

/* ─── ROLE AGENTS ────────────────────────────────────────── */
#agents { background: var(--surface); }
.agents-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 56px; align-items: end; }
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.agent-card { background: var(--white); padding: 28px 26px; transition: background 0.2s, transform 0.2s; }
.agent-card:hover { background: var(--black); transform: translateY(-2px); }
.agent-card:hover .agent-icon, .agent-card:hover .agent-name, .agent-card:hover .agent-desc { color: var(--white); }
.agent-card:hover .agent-icon-wrap { border-color: rgba(255,255,255,0.74); background: rgba(255,255,255,0.06); }
.agent-icon-wrap { width: 38px; height: 38px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: all 0.2s; }
.agent-icon { font-size: 17px; color: var(--near-black); transition: color 0.2s; }
.agent-name { font-size: 13.5px; font-weight: 700; color: var(--black); margin-bottom: 8px; line-height: 1.3; transition: color 0.2s; }
.agent-desc { font-size: 12.5px; line-height: 1.65; color: var(--mid); transition: color 0.2s; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
#how { background: var(--black); }
#how .eyebrow { color: rgba(255,255,255,0.74); }
#how .section-headline { color: var(--white); }
#how .section-body { color: rgba(255,255,255,0.74); }
.how-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 56px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.step { padding: 40px 34px; border-right: 1px solid rgba(255,255,255,0.1); position: relative; }
.step:last-child { border-right: none; }
.step-number { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.74); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.step-number::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.step-icon-wrap { width: 40px; height: 40px; border-radius: 7px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-icon { font-size: 19px; color: rgba(255,255,255,0.86); }
.step-title { font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 12px; }
.step-text { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.74); }
.step-output { margin-top: 24px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; }
.step-output-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.74); margin-bottom: 5px; }
.step-output-text { font-size: 13px; color: rgba(255,255,255,0.86); font-weight: 500; }

/* ─── USE CASES ──────────────────────────────────────────── */
#usecases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.case { background: var(--white); padding: 34px 30px; transition: background 0.2s, transform 0.2s; }
.case:hover { background: var(--black); transform: translateY(-2px); }
.case:hover .case-title, .case:hover .case-text { color: var(--white); }
.case:hover .case-icon { color: var(--white); }
.case:hover .case-icon-wrap { border-color: rgba(255,255,255,0.74); background: rgba(255,255,255,0.06); }
.case-icon-wrap { width: 38px; height: 38px; border-radius: 7px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: all 0.2s; }
.case-icon { font-size: 17px; color: var(--near-black); transition: color 0.2s; }
.case-title { font-size: 14.5px; font-weight: 700; color: var(--black); margin-bottom: 8px; transition: color 0.2s; }
.case-text { font-size: 13px; line-height: 1.65; color: var(--mid); transition: color 0.2s; }

/* ─── EXEC TABLE ─────────────────────────────────────────── */
#exec { background: var(--surface); }
.exec-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 52px; align-items: end; }
.table-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead tr { background: var(--black); }
th { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.74); padding: 26px 22px; text-align: left; }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface); }
td { padding: 17px 22px; font-size: 13px; vertical-align: top; line-height: 1.5; }
td:nth-child(1) { color: var(--near-black); font-weight: 500; }
td:nth-child(2) { color: var(--mid); }
td:nth-child(3) { color: var(--near-black); font-weight: 500; }

/* ─── GOVERNANCE ─────────────────────────────────────────── */
#governance { background: var(--white); }
.gov-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.gov-list { margin-top: 36px; border-top: 1px solid var(--border); }
.gov-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.gov-item-icon { width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--near-black); margin-top: 2px; }
.gov-item-text { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--near-black); }
.gov-item-sub { font-size: 12px; color: var(--subtle); margin-top: 3px; }
.gov-diagram { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.gov-diag-header { background: var(--black); padding: 16px 22px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.74); }
.gov-dimension { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.gov-dimension:last-child { border-bottom: none; }
.gov-dim-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); width: 50px; flex-shrink: 0; }
.gov-dim-bar { flex: 1; height: 2px; background: var(--border); border-radius: 2px; }
.gov-dim-fill { height: 100%; background: var(--black); border-radius: 2px; }
.gov-dim-val { font-size: 11.5px; font-weight: 500; color: var(--mid); width: 100px; text-align: right; flex-shrink: 0; }
.gov-layout > div { min-width: 0; }
.gov-diagram-img { min-width: 0; }
.gov-diagram-img img { width: 100%; max-width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: 12px; }

/* ─── ABOUT ──────────────────────────────────────────────── */
#about { background: var(--black); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-eyebrow { color: rgba(255,255,255,0.74); }
.about-headline { color: var(--white); margin-bottom: 26px; }
.about-body { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.74); }
.about-meta { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.about-meta-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.74); margin-bottom: 10px; }
.about-meta-text { font-size: 13.5px; color: rgba(255,255,255,0.74); line-height: 1.6; }
.backed-block {
  margin-top: 28px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 24px 24px; display: flex; align-items: center; gap: 16px;
}
.backed-logo { height: 28px; width: auto; object-fit: contain; display: block; }
.backed-text { font-size: 12.5px; color: rgba(255,255,255,0.74); line-height: 1.6; }
.backed-text a { color: rgba(255,255,255,0.86); text-decoration: underline; text-underline-offset: 2px; }
.backed-text a:hover { color: var(--white); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; overflow: hidden; }
.stat { padding: 34px 28px; background: var(--black); }
.stat-value { font-size: 42px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 12.5px; color: rgba(255,255,255,0.74); line-height: 1.55; }

/* ─── CTA (light) ────────────────────────────────────────── */
#cta { background: var(--white); border-top: 1px solid var(--border); padding: 96px 0; }
.cta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cta-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin-bottom: 18px; display: block; }
.cta-headline { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; color: var(--black); margin-bottom: 18px; }
.cta-body { font-size: 15px; line-height: 1.7; color: var(--mid); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* On the now-light CTA the white buttons would vanish — make them dark. */
#cta .btn-white { background: var(--black); color: var(--white); border-color: var(--black); }
#cta .btn-white:hover { background: #222; border-color: #222; }
#cta .btn-outline-white { background: transparent; color: var(--near-black); border-color: var(--border); }
#cta .btn-outline-white:hover { border-color: #999; color: var(--black); }
.deploy-options { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.deploy-header { background: var(--surface); padding: 14px 20px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); border-bottom: 1px solid var(--border); }
.deploy-option { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.deploy-option:last-child { border-bottom: none; }
.deploy-icon { font-size: 17px; color: var(--mid); flex-shrink: 0; }
.deploy-name { font-size: 13px; font-weight: 600; color: var(--near-black); }
.deploy-desc { font-size: 11.5px; color: var(--subtle); margin-top: 2px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.07); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo { height: 14px; width: auto; object-fit: contain; filter: invert(1); display: block; }
.footer-brand-name { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.footer-tagline { font-size: 12.5px; color: rgba(255,255,255,0.74); line-height: 1.7; max-width: 220px; margin-bottom: 20px; }
.footer-alpha { display: flex; align-items: center; gap: 10px; }
.footer-alpha img { height: 18px; width: auto; object-fit: contain; opacity: 0.5; transition: opacity 0.15s; }
.footer-alpha img:hover { opacity: 0.8; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.74); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.74); margin-bottom: 10px; transition: color 0.15s; font-weight: 400; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.74); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 11.5px; color: rgba(255,255,255,0.74); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.86); }

/* ─── MODAL ──────────────────────────────────────────────── */
.overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 10px; padding: 40px; max-width: 440px; width: calc(100% - 40px); position: relative; transform: translateY(14px); transition: transform 0.25s; }
.overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 5px; background: var(--surface); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--mid); font-size: 13px; transition: background 0.15s; }
.modal-close:hover { background: var(--border); }
.modal-title { font-size: 19px; font-weight: 700; color: var(--black); margin-bottom: 5px; letter-spacing: -0.01em; }
.modal-sub { font-size: 13.5px; color: var(--mid); margin-bottom: 26px; line-height: 1.5; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; color: var(--near-black); margin-bottom: 5px; letter-spacing: 0.03em; }
.field input, .field select { width: 100%; padding: 10px 13px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 13.5px; color: var(--near-black); background: var(--white); outline: none; transition: border-color 0.15s; appearance: none; }
.field input:focus, .field select:focus { border-color: var(--black); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field input.has-error, .field select.has-error { border-color: #c0392b; }
.field-error { display: block; color: #c0392b; font-size: 11.5px; margin-top: 4px; }
.form-msg { display: none; font-size: 13px; line-height: 1.5; margin-bottom: 16px; padding: 10px 13px; border-radius: 6px; }
.form-msg.show { display: block; }
.form-msg.success { background: #e8f5ec; color: #176b3a; border: 1px solid #bfe3cb; }
.form-msg.error { background: #fdecec; color: #b21f1f; border: 1px solid #f3c5c5; }
.modal-submit { width: 100%; margin-top: 6px; background: var(--black); color: var(--white); border: none; padding: 12px; border-radius: 6px; font-family: var(--font); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; justify-content: center; gap: 7px; }
.modal-submit:hover { background: var(--dark); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner, .synth-layout, .what-intro, .how-intro, .exec-intro, .gov-layout, .about-layout, .cta-layout, .agents-intro, .localai-layout { grid-template-columns: 1fr; gap: 40px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .step:last-child { border-bottom: none; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .agents-grid { grid-template-columns: repeat(2,1fr); }
  .synth-levels-grid { grid-template-columns: 1fr; }
  .synth-usecases { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .cases-grid, .agents-grid, .synth-usecases { grid-template-columns: 1fr; }
  .demo-wrap { grid-template-columns: 1fr; }
  .demo-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─── LOCAL AI ───────────────────────────────────────────── */
#localai { background: var(--surface); }
/* Smaller left-column heading/body so it aligns with the right card grid. */
#localai .section-headline { font-size: clamp(22px, 2vw, 30px); line-height: 1.18; }
#localai .section-body { font-size: 13.5px; line-height: 1.7; }
.localai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.localai-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.localai-note i { font-size: 15px; color: var(--subtle); flex-shrink: 0; margin-top: 2px; }
.localai-note span { font-size: 12.5px; line-height: 1.65; color: var(--subtle); }
.localai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.localai-item { background: var(--white); padding: 32px 28px; transition: background 0.2s, transform 0.2s; }
.localai-item:hover { background: var(--black); transform: translateY(-2px); }
.localai-item:hover .localai-icon, .localai-item:hover .localai-title, .localai-item:hover .localai-text { color: var(--white); }
.localai-item:hover .localai-icon-wrap { border-color: rgba(255,255,255,0.74); background: rgba(255,255,255,0.06); }
.localai-icon-wrap { width: 38px; height: 38px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: all 0.2s; }
.localai-icon { font-size: 17px; color: var(--near-black); transition: color 0.2s; }
.localai-title { font-size: 13.5px; font-weight: 700; color: var(--black); margin-bottom: 8px; transition: color 0.2s; }
.localai-text { font-size: 12.5px; line-height: 1.65; color: var(--mid); transition: color 0.2s; }

/* ─── THAO LIVE DEMO ────────────────────────────────────── */
#thaolive { background: var(--near-black); padding: 80px 0; }
#thaolive .eyebrow { color: rgba(255,255,255,0.74); }
#thaolive .section-headline { color: var(--white); }
.terminal-intro { text-align: center; max-width: 580px; margin: 0 auto; }
.terminal-sub { font-size: 15px; color: rgba(255,255,255,0.74); line-height: 1.7; margin-top: 14px; }
/* Outer split container */
.demo-wrap { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; margin-top: 52px; }
.demo-left  { background: #070707; border-right: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; }
.demo-right { background: #0f0f0f; display: flex; flex-direction: column; }
.demo-panel-label { padding: 12px 18px; font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.74); border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; }
/* Terminal (left) */
.demo-terminal { flex: 1; padding: 22px; font-family: 'SF Mono','Fira Code',Consolas,monospace; font-size: 12px; line-height: 1.9; min-height: 380px; max-height: 380px; overflow: auto; }
/* Chat (right) */
.demo-chat { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; max-height: 300px; overflow: auto; }
.chat-user-row { display: flex; justify-content: flex-end; }
.chat-user-bubble { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px 14px 3px 14px; padding: 10px 14px; font-size: 13px; color: rgba(255,255,255,0.8); max-width: 84%; line-height: 1.5; }
.chat-thao-row { display: flex; gap: 8px; align-items: flex-start; }
.chat-thao-av { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; color: rgba(255,255,255,0.74); margin-top: 2px; }
.chat-thao-body { flex: 1; }
.chat-thinking { display: inline-flex; align-items: center; gap: 5px; padding: 11px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 3px 14px 14px 14px; }
.tk-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.28); animation: tk-p 1.3s ease-in-out infinite; }
.tk-dot:nth-child(2) { animation-delay:0.22s; }
.tk-dot:nth-child(3) { animation-delay:0.44s; }
@keyframes tk-p { 0%,100%{opacity:0.25;transform:scale(1)} 50%{opacity:0.75;transform:scale(1.3)} }
.chat-status { font-size: 11px; color: rgba(255,255,255,0.74); padding: 3px 2px; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.cs-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.chat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px 14px 14px 14px; padding: 15px 16px; animation: card-in 0.35s ease; margin-top: 2px; }
@keyframes card-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
.card-title { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.86); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.card-finding { display: flex; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.74); padding: 4px 0; line-height: 1.5; }
.card-finding::before { content:'→'; color: rgba(255,255,255,0.74); flex-shrink:0; }
.card-badges { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; flex-wrap: wrap; gap: 5px; }
.card-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.74); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 3px 8px; }
/* Query chips */
.demo-chips { padding: 8px 14px; display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.06); }
.demo-chip { font-size: 11px; color: rgba(255,255,255,0.74); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 4px 10px; cursor: default; transition: border-color 0.15s; white-space: nowrap; }
.demo-chip.active { border-color: rgba(255,255,255,0.74); color: rgba(255,255,255,0.74); }
/* Input bar */
.demo-input-bar { border-top: 1px solid rgba(255,255,255,0.07); padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.demo-input-txt { flex: 1; font-size: 12.5px; color: rgba(255,255,255,0.74); font-family: Helvetica,'Helvetica Neue',Arial,sans-serif; min-height: 16px; }
.demo-send-btn { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,0.74); flex-shrink: 0; transition: all 0.15s; }
.demo-send-btn.active { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.74); color: rgba(255,255,255,0.86); }
/* Terminal text classes */
.t-ts  { color: rgba(255,255,255,0.74); font-size: 11px; margin-bottom: 4px; }
.t-proc { color: rgba(255,255,255,0.74); }
.t-chk  { color: rgba(255,255,255,0.74); font-style: italic; }
.t-res  { color: rgba(255,255,255,0.86); }
.t-cur  { display: inline-block; width: 7px; height: 13px; background: rgba(255,255,255,0.5); margin-left: 1px; animation: tb-bl 1s steps(2) infinite; vertical-align: middle; }
@keyframes tb-bl { 0%,100%{opacity:1} 50%{opacity:0} }

/* ─── 2026 EDITS: centered section headers + full-width content ─── */
.what-intro, .agents-intro, .how-intro, .exec-intro {
  display: block; text-align: center;
  max-width: 920px; margin-left: auto; margin-right: auto;
}
.section-head-center {
  text-align: center; max-width: 920px; margin: 0 auto 48px;
}
.section-head-center .eyebrow { display: block; }
.hero-inner.hero-centered {
  grid-template-columns: 1fr; max-width: 760px; margin: 0 auto;
  text-align: center; justify-items: center;
}
.hero-centered .hero-sub { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .hero-footnote { justify-content: center; }
.about-layout.about-centered {
  grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; text-align: center;
}
.about-centered .backed-block { justify-content: center; text-align: left; }

/* ─── 2026 EDITS: THAO Live demo — light section, white chat (black theme) ─── */
#thaolive { background: var(--white); }
#thaolive .eyebrow { color: var(--subtle); }
#thaolive .section-headline { color: var(--black); }
.terminal-sub { color: var(--mid); }
.demo-wrap { border-color: var(--border); }
.demo-right { background: var(--white); }
.demo-right .demo-panel-label { color: var(--subtle); border-bottom-color: var(--border); }
.demo-right .chat-user-bubble { background: var(--black); border-color: var(--black); color: var(--white); }
.demo-right .chat-thao-av { border-color: var(--border); background: var(--surface); color: var(--mid); }
.demo-right .chat-thinking { background: var(--surface); border-color: var(--border); }
.demo-right .tk-dot { background: rgba(0,0,0,0.3); }
.demo-right .chat-status { color: var(--subtle); }
.demo-right .cs-dot { background: rgba(0,0,0,0.25); }
.demo-right .chat-card { background: var(--surface); border-color: var(--border); }
.demo-right .card-title { color: var(--near-black); border-bottom-color: var(--border); }
.demo-right .card-finding { color: var(--mid); }
.demo-right .card-finding::before { color: rgba(0,0,0,0.25); }
.demo-right .card-badges { border-top-color: var(--border); }
.demo-right .card-badge { color: var(--mid); background: var(--surface); border-color: var(--border); }
.demo-right .demo-chips { border-top-color: var(--border); }
.demo-right .demo-chip { color: var(--mid); border-color: var(--border); }
.demo-right .demo-chip.active { border-color: var(--black); color: var(--black); }
.demo-right .demo-input-bar { border-top-color: var(--border); }
.demo-right .demo-input-txt { color: var(--subtle); }
.demo-right .demo-send-btn { background: var(--surface); border-color: var(--border); color: var(--mid); }
.demo-right .demo-send-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }

/* ─── 2026 EDITS: exec table last column teal tinge ─── */
#exec td:nth-child(3) { background: rgba(20,184,166,0.07); color: #0f766e; font-weight: 600; }
#exec thead th:nth-child(3) { color: #5eead4; }

  

/* ─── 2026: mobile fixes — placed LAST so they win over section rules
       (Local AI / THAO Live / CTA grids are declared after the earlier
       @media blocks, which would otherwise override the responsive collapse) ─── */
@media (max-width: 960px) {
  .localai-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-layout { grid-template-columns: 1fr; gap: 40px; }
  .gov-layout { grid-template-columns: 1fr; gap: 40px; }
  .demo-wrap { grid-template-columns: 1fr; }
  .synth-levels-grid { grid-template-columns: 1fr; }
  .localai-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .localai-grid, .synth-usecases { grid-template-columns: 1fr; }
  .demo-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* Header: keep it on one line on small screens */
  .nav-inner { gap: 10px; }
  .nav-brand-name { font-size: 13px; white-space: nowrap; }
  .nav-right { gap: 8px; }
  .nav-right .btn-outline { display: none; }            /* hide Contact, keep Request demo */
  .nav-right .btn { padding: 8px 13px; font-size: 12.5px; }
}
