/* ============================================================
   AI RESYNAPSE — v2
   OpenAI-clean: light base, dark feature bands, ONE red accent.
   Text always on solid backgrounds. Inter Tight display + Inter body.
   ============================================================ */

:root {
  --white:     #ffffff;
  --paper:     #faf9f7;
  --ink:       #0f0f11;
  --ink-soft:  #3a3a40;
  --gray:      #6b6b73;
  --gray-2:    #9a9aa2;
  --line:      #e7e4dd;
  --dark:      #0a0a0b;
  --dark-2:    #141416;
  --on-dark:   #f4f2ee;
  --on-dark-2: #a7a7ad;
  --line-dark: rgba(255,255,255,0.10);
  --red:       #e4121f;
  --red-ink:   #c00d19;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-tight: 'Inter Tight', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--font);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.h-display {
  font-family: var(--font-tight); font-weight: 600;
  font-size: clamp(2.9rem, 7vw, 6rem);
  line-height: 1.02; letter-spacing: -0.03em;
}
.h-section {
  font-family: var(--font-tight); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05; letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5; color: var(--gray);
  font-weight: 400;
}
.body { font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft); }
.muted { color: var(--gray); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }

/* alternating grounds */
.band-light { background: var(--white); color: var(--ink); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-dark  { background: var(--dark);  color: var(--on-dark); }
.band-dark .eyebrow { color: #ff5964; }
.band-dark .lead { color: var(--on-dark-2); }
.band-dark .body { color: var(--on-dark-2); }

.pad-y { padding-top: clamp(5rem, 11vw, 9rem); padding-bottom: clamp(5rem, 11vw, 9rem); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 500; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-ink); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.band-dark .btn-outline { color: var(--on-dark); border-color: var(--line-dark); }
.band-dark .btn-outline:hover { border-color: var(--on-dark); }

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white); display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.done { opacity: 0; visibility: hidden; }
#loader.gone { display: none; }
.loader-inner { width: min(360px, 74vw); }
.loader-brand {
  font-family: var(--font-tight); font-weight: 600;
  font-size: 1.05rem; letter-spacing: 0.02em; color: var(--ink);
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem;
}
.loader-brand img { height: 26px; width: auto; }
.loader-track { height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
#loader-bar { height: 100%; width: 0; background: var(--red); transition: width 0.2s linear; }
.loader-meta {
  margin-top: 0.8rem; font-size: 0.8rem; color: var(--gray-2);
  display: flex; justify-content: space-between; gap: 1rem;
  font-variant-numeric: tabular-nums;
}
/* rotating value line — fade only (it shares a flex row with the %,
   so any vertical shift would jitter the layout) */
#loader-status { flex: 1; min-width: 0; }
#loader-status.is-in { animation: statusIn 2.6s var(--ease) both; }
@keyframes statusIn {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #loader-status.is-in { animation: none; opacity: 1; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(255,255,255,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand img { height: 30px; width: auto; }
.brand-word { font-family: var(--font-tight); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.site-nav a:hover { color: var(--ink); }
.nav-cta { padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff !important; }
.nav-cta:hover { background: #000; }
.header-tools { display: flex; align-items: center; gap: 0.9rem; }
.lang-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.7rem; cursor: pointer; font-size: 0.8rem; font-weight: 500;
  color: var(--gray); display: flex; gap: 0.3rem; transition: border-color 0.2s;
}
.lang-toggle:hover { border-color: var(--gray); }
.lang-opt.is-active { color: var(--ink); }
.lang-sep { color: var(--gray-2); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 6rem; padding-bottom: 3rem;
  position: relative; overflow: hidden;
}

/* ---- advanced ambient hero background (subtle, keeps text crisp) ---- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-aurora {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
  will-change: transform;
}
.hero-aurora.a1 {
  width: 46vw; height: 46vw; right: -8vw; top: -12vw;
  background: radial-gradient(circle at 50% 50%, rgba(228,18,31,0.22), rgba(228,18,31,0) 68%);
  animation: drift1 22s var(--ease) infinite alternate;
}
.hero-aurora.a2 {
  width: 40vw; height: 40vw; right: 6vw; bottom: -14vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,120,90,0.16), rgba(255,120,90,0) 66%);
  animation: drift2 26s var(--ease) infinite alternate;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,15,17,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,15,17,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 60% 55% at 72% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 72% 40%, #000 10%, transparent 72%);
}
/* left-side white fade guarantees copy legibility over the aurora */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--white) 6%, rgba(255,255,255,0.4) 38%, rgba(255,255,255,0) 66%);
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-6vw, 5vw) scale(1.12); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(4vw, -4vw) scale(1.15); } }

.hero-inner { max-width: 960px; position: relative; z-index: 2; }
.hero .eyebrow { display: inline-block; }
.hero-heading {
  font-family: var(--font-tight); font-weight: 600;
  font-size: clamp(3rem, 8vw, 6.6rem); line-height: 1.0; letter-spacing: -0.035em;
  margin: 1.4rem 0 0; color: var(--ink);
}
.hero-heading .accent { color: var(--red); }
.hero-lead { margin-top: 1.6rem; max-width: 44ch; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem;
}
.hero-trust li {
  font-size: 0.92rem; color: var(--gray); display: flex; align-items: center; gap: 0.5rem;
}
.hero-trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none;
}
/* faint red thread hint bottom-right of hero */
.hero-thread {
  position: absolute; right: -5%; bottom: -10%; width: 55%; max-width: 720px;
  opacity: 0.9; z-index: 1; pointer-events: none;
}
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-2);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; z-index: 2;
}
.scroll-cue .arrow { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0); opacity:.5 } 50%{ transform: translateY(5px); opacity:1 } }

/* ============================================================
   SECTION: split content (text + supporting)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-copy .eyebrow { display: inline-block; margin-bottom: 1rem; }
.split-copy .h-section { margin-bottom: 1.2rem; }
.split-copy .note {
  margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: 0.92rem; color: var(--gray); font-weight: 500;
}
.band-dark .split-copy .note { border-top-color: var(--line-dark); color: var(--on-dark-2); }

/* "who this is for" qualifier — sits under the body copy, quieter than it */
.who-line {
  margin-top: 1.3rem; padding-left: 1rem; border-left: 2px solid var(--red);
  font-size: 0.97rem; line-height: 1.6; color: var(--gray);
}
.band-dark .who-line { color: var(--on-dark-2); }

/* a clean framed "capability" visual instead of glass cards */
.media-panel {
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  padding: 2rem; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.band-dark .media-panel { background: var(--dark-2); border-color: var(--line-dark); }

/* feature list (checkmark rows) */
.feat-list { list-style: none; display: grid; gap: 1.1rem; }
.feat-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.feat-list .mk {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 2px;
  background: rgba(228,18,31,0.1); color: var(--red);
  display: grid; place-items: center; font-size: 0.9rem; font-weight: 700;
}
.feat-list h4 { font-family: var(--font-tight); font-size: 1.12rem; font-weight: 600; margin-bottom: 0.15rem; }
.feat-list p { font-size: 0.98rem; color: var(--gray); line-height: 1.5; }

/* ============================================================
   VIDEO BAND (the red thread, its own dark moment)
   ============================================================ */
.video-band {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--white); overflow: hidden;
}
.video-canvas-wrap { position: absolute; inset: 0; z-index: 1; }
#thread-canvas { width: 100%; height: 100%; display: block; }
/* left-side scrim keeps the copy readable wherever the thread drifts */
.video-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 34%, rgba(255,255,255,0) 62%);
}
.video-copy {
  position: relative; z-index: 2; max-width: 500px;
  padding: 0 var(--pad); margin-right: auto;
}
.video-copy .h-section { color: var(--ink); }
.video-copy .lead { color: var(--ink-soft); }
.video-copy .eyebrow { color: var(--red); }

/* ============================================================
   STATS BAND (dark)
   ============================================================ */
.stats-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem,6vw,4rem); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1000px; margin: 0 auto;
}
.stat { text-align: center; }
.stat-number, .stat-prefix, .stat-suffix {
  font-family: var(--font-tight); font-weight: 600; font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--red); }
.stat-prefix { color: var(--on-dark-2); }
.stat-label { display: block; margin-top: 0.8rem; font-size: 0.88rem; color: var(--on-dark-2); line-height: 1.4; }
.stats-note { text-align: center; margin: clamp(2.5rem,6vw,3.5rem) auto 0; max-width: 62ch; font-size: 0.92rem; color: var(--on-dark-2); }

/* ============================================================
   OWNERSHIP / TRUST CARDS
   ============================================================ */
.trust-head { max-width: 760px; margin-bottom: clamp(2.5rem,6vw,3.5rem); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trust-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.75rem; background: var(--white);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.trust-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,0,0,0.25); }
.trust-card .n { font-family: var(--font-tight); font-size: 0.9rem; color: var(--red); font-weight: 600; }
.trust-card h3 { font-family: var(--font-tight); font-size: 1.3rem; font-weight: 600; margin: 0.8rem 0 0.6rem; }
.trust-card p { font-size: 1rem; color: var(--gray); line-height: 1.55; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.founder-photo {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 32%, #fff, var(--paper) 78%);
}
.founder-photo img.f-img { width: 100%; height: 100%; object-fit: cover; }
/* no photo yet → dark panel so the logo (on black) sits naturally */
.founder-photo.no-photo { background: radial-gradient(ellipse at 50% 34%, #17171a, #0a0a0b 82%); border-color: var(--line-dark); }
.founder-photo .f-mono { display: none; width: 58%; max-width: 220px; opacity: 0.95; }
.founder-photo.no-photo .f-mono { display: block; }
.founder-copy .eyebrow { display: inline-block; margin-bottom: 1rem; }
.founder-role { font-size: 0.95rem; color: var(--gray); margin-top: 0.4rem; }
.founder-copy .body { margin-top: 1.4rem; max-width: 52ch; }
.founder-copy .body strong { color: var(--ink); font-weight: 600; }
.soon {
  display: inline-block; margin-left: 0.4rem; font-size: 0.78rem; font-weight: 500;
  color: var(--gray); border: 1px solid var(--line); border-radius: 999px; padding: 0.12rem 0.6rem; white-space: nowrap;
}

/* ============================================================
   PROOF
   ============================================================ */
.proof-lead { max-width: 64ch; margin-top: 1.4rem; }
.proof-row { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.4rem,3vw,2.5rem); margin-top: clamp(2.5rem,5vw,3.5rem); }
.proof-item { border-top: 2px solid var(--red); padding-top: 1rem; }
.proof-k { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.proof-v { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; }
.band-dark .proof-v { color: var(--on-dark-2); }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; }
.cta .h-display { max-width: 16ch; margin: 0 auto; }
.cta .lead { max-width: 52ch; margin: 1.4rem auto 0; }
.cta-actions { margin-top: 2.2rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.cta-sign { margin-top: 2.8rem; display: flex; flex-direction: column; gap: 0.2rem; align-items: center; }
.cta-sign .nm { font-family: var(--font-tight); font-weight: 600; }
.cta-sign .rl { font-size: 0.85rem; color: var(--gray); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: var(--on-dark); padding: clamp(3.5rem,7vw,5rem) var(--pad) 3rem; }
.footer-top { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand span { font-family: var(--font-tight); font-weight: 600; font-size: 1.05rem; }
.footer-tag { color: var(--on-dark-2); max-width: 34ch; margin-top: 0.8rem; font-size: 0.95rem; }
.footer-meta { max-width: var(--wrap); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--gray-2); }
.footer-meta a:hover { color: var(--red); }

/* ============================================================
   REVEAL ANIMATIONS (scroll-in)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }

/* ============================================================
   CHATBOT  (light theme now)
   ============================================================ */
.chat-launcher {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff;
  border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(228,18,31,0.5); transition: transform 0.25s var(--ease);
}
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher.hidden { transform: scale(0); pointer-events: none; }
.chat-panel {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 401;
  width: min(390px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 3rem));
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.3); animation: chatIn 0.32s var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.chat-panel[hidden] { display: none; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.chat-header-id { display: flex; align-items: center; gap: 0.7rem; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 7px #16a34a; }
.chat-title { font-family: var(--font-tight); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.chat-sub { font-size: 0.7rem; color: var(--gray); }
.chat-close { background: none; border: none; color: var(--gray); cursor: pointer; font-size: 1rem; }
.chat-close:hover { color: var(--ink); }
.chat-log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-msg { max-width: 82%; padding: 0.7rem 0.95rem; font-size: 0.92rem; line-height: 1.5; border-radius: 14px; }
.chat-msg.bot { align-self: flex-start; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.8rem 1rem; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-2); animation: blink 1.2s infinite; }
.chat-typing span:nth-child(2){ animation-delay:.2s } .chat-typing span:nth-child(3){ animation-delay:.4s }
@keyframes blink { 0%,60%,100%{opacity:.25} 30%{opacity:1} }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.1rem 0.6rem; }
.chat-quick button { font-size: 0.82rem; background: transparent; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.8rem; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chat-quick button:hover { border-color: var(--red); color: var(--red); }
.chat-input { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0.65rem 0.8rem; font-family: var(--font); font-size: 0.9rem; color: var(--ink); }
.chat-input input:focus { outline: none; border-color: var(--red); }
.chat-input button { width: 42px; border: none; border-radius: 10px; background: var(--red); color: #fff; font-size: 1.1rem; cursor: pointer; }
.chat-input button:hover { background: var(--red-ink); }
.chat-booking { padding: 0.6rem; border-top: 1px solid var(--line); }
.chat-booking[hidden] { display: none; }
.chat-booking .meetings-iframe-container { min-height: 480px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-burger { display: flex; }
  .site-nav.open { display: flex; flex-direction: column; gap: 1.4rem; position: fixed; inset: 0; z-index: 199; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
  .site-nav.open a { font-size: 1.2rem; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder-photo { max-width: 320px; margin: 0 auto; width: 100%; }
  .proof-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .video-copy { background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); border-radius: 16px; padding: 1.6rem; margin: 0 var(--pad); }
  .hero-thread { opacity: 0.4; width: 90%; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .chat-panel { bottom: 0; right: 0; width: 100vw; height: 100vh; border-radius: 0; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
