/* Humantic MCP static site — consolidated stylesheet.
   Generated site: order is tokens → base → landing sections → docs pages.
   Edit here; build.mjs copies this file verbatim to /styles.css. */

/* ===== tokens ===== */
:root {
  --y:        #F5B800;
  --y-dark:   #E0A800;
  --y-soft:   #FFF6DB;
  --y-border: rgba(245,184,0,0.35);
  --y-glow:   rgba(245,184,0,0.45);
  --y-light:  #FFD45E;
  --grad-y:   linear-gradient(135deg, #FFD964 0%, #F5B800 100%);
  --cyan:     #22D3EE;
  --purple:   #7C5CFC;

  --bg:       #FCFCFA;
  --panel:    #FFFFFF;
  --ink:      #0A0A0F;
  --ink-2:    #44464F;
  --ink-3:    #6E7080;
  --line:     #ECECEA;
  --line-2:   #E0E0DC;
  --surface:  #F7F7F5;
}

[data-theme="dark"] {
  --bg:       #05050A;
  --panel:    rgba(255,255,255,0.04);
  --ink:      #F6F6FF;
  --ink-2:    #B5B6C8;
  --ink-3:    #8E8FA6;
  --line:     rgba(255,255,255,0.08);
  --line-2:   rgba(255,255,255,0.14);
  --surface:  rgba(255,255,255,0.03);
  --y-soft:   rgba(245,184,0,0.12);
  --y-border: rgba(245,184,0,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
.mono { font-family: 'JetBrains Mono', monospace; }

::selection { background: rgba(245,184,0,0.35); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

/* Normalized micro-typography: two sizes only */
.label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink-2);
}
.body-sm { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

/* BUTTONS */
.btn-y, .btn-y-lg, .btn-line, .btn-line-lg {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; text-decoration: none; font-weight: 700; cursor: pointer;
  transition: all 0.16s ease; white-space: nowrap;
}
.btn-y { padding: 9px 18px; border-radius: 9px; background: var(--y); color: #000; font-size: 14px; border: 1px solid var(--y-dark); box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-y:hover { background: var(--y-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,184,0,0.4); }
.btn-y-lg { padding: 15px 30px; border-radius: 11px; background: var(--y); color: #000; font-size: 16px; font-weight: 800; border: 1px solid var(--y-dark); box-shadow: 0 2px 4px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-y-lg:hover { background: var(--y-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(245,184,0,0.45); }
.btn-line { padding: 9px 18px; border-radius: 9px; background: var(--panel); color: var(--ink); font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); transition: all 0.16s ease, background 0.35s ease, border 0.35s ease; }
.btn-line:hover { border-color: var(--ink-3); }
.btn-line-lg { padding: 15px 28px; border-radius: 11px; background: var(--panel); color: var(--ink); font-size: 16px; font-weight: 700; border: 1px solid var(--line-2); transition: all 0.16s ease, background 0.35s ease, border 0.35s ease; }
.btn-line-lg:hover { background: var(--panel); border-color: var(--ink-3); transform: translateY(-1px); }

/* THEME TOGGLE (shared by landing + docs navs) */
.theme-btn { width: 34px; height: 34px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); transition: all 0.2s ease, background 0.35s ease, border 0.35s ease; }
.theme-btn:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); }
.theme-btn svg { width: 18px; height: 18px; }
[data-theme="dark"] .theme-btn .sun { display: block; }
[data-theme="dark"] .theme-btn .moon { display: none; }
[data-theme="light"] .theme-btn .sun { display: none; }
[data-theme="light"] .theme-btn .moon { display: block; }

/* SECTIONS */
.sec { max-width: 1080px; margin: 0 auto; padding: 100px 32px; }
.sec-sep { border-top: 1px solid var(--line); transition: border 0.35s ease; }
.eye { font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--y-dark); margin-bottom: 14px; }
.sec-h { font-size: clamp(30px, 4.5vw, 50px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); margin-bottom: 16px; transition: color 0.35s ease; }
.sec-p { font-size: 17px; color: var(--ink-2); max-width: 560px; line-height: 1.7; }
.center { text-align: center; }
.center .sec-p { margin-left: auto; margin-right: auto; }

/* REVEAL */
.rev { opacity: 0; transform: translateY(26px); transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1); }
.rev.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .sec { padding: 64px 20px; }
}

/* ===== nav (landing) ===== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 62px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.25s;
}
nav.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-nav .logo-img { height: 27px; width: auto; display: block; }
.site-nav .logo-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #000; background: var(--y); padding: 2px 7px; border-radius: 5px; }
.site-nav .nav-c { display: flex; align-items: center; gap: 26px; }
.site-nav .nav-c a.lnk { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
.site-nav .nav-c a.lnk:hover { color: var(--ink); }

@media (max-width: 760px) {
  nav.site-nav { padding: 0 18px; }
  .site-nav .nav-c .lnk { display: none; }
}

/* ===== hero ===== */
#hero { position: relative; padding: 150px 32px 90px; overflow: hidden; display: flex; flex-direction: column; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
#hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 75% 55% at 50% 35%, transparent 25%, var(--bg) 85%); transition: opacity 0.35s ease; }
.hero-top { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }

.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 7px 5px 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 30px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); transition: background 0.35s ease, border 0.35s ease; animation: pillFloat 6s ease-in-out infinite; }
@keyframes pillFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.pill b { color: var(--ink); font-weight: 600; }
.pill .chip { font-size: 11px; font-weight: 700; color: #000; background: var(--y); padding: 2px 9px; border-radius: 100px; }

#hero h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 900; line-height: 1.03; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 24px; min-height: 1.2em; }
.hi-mark { background: linear-gradient(180deg, transparent 62%, rgba(245,184,0,0.55) 62%); padding: 0 4px; position: relative; white-space: nowrap; }
.typewriter-cursor { display: inline-block; width: 3px; height: 0.9em; background: var(--y); margin-left: 2px; animation: blinkCursor 0.9s steps(1) infinite; vertical-align: baseline; }
@keyframes blinkCursor { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--ink-2); max-width: 680px; margin: 0 auto 38px; line-height: 1.65; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FLOATING MOCKUP CARDS — overlay on load, spread on scroll */
.stage { position: relative; z-index: 2; max-width: 1200px; margin: 70px auto 0; height: 460px; perspective: 1300px; }
@media (max-width: 1020px) {
  .stage { height: auto; display: flex; flex-direction: column; gap: 18px; max-width: 420px; margin-top: 50px; }
  .mock { position: static !important; width: 100% !important; transform: none !important; }
}

.mock {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px;
  box-shadow: 0 24px 60px -18px rgba(20,20,30,0.22), 0 1px 2px rgba(0,0,0,0.04);
  position: absolute; z-index: 2;
  transition: background 0.35s ease, border 0.35s ease, box-shadow 0.35s ease;
  will-change: transform; transform-style: preserve-3d;
}
[data-theme="dark"] .mock { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); box-shadow: 0 24px 60px -18px rgba(0,0,0,0.55), 0 0 0 1px rgba(245,184,0,0.15); backdrop-filter: blur(8px); }

.mock-profile { left: calc(50% - 170px); top: 20px; width: 340px; z-index: 4; }
.mock-email   { left: calc(50% - 500px); top: 120px; width: 280px; z-index: 3; }
.mock-report  { right: calc(50% - 500px); top: 120px; width: 280px; z-index: 3; }

.mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-badge { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 3px 8px; border-radius: 5px; transition: background 0.35s ease, border 0.35s ease; }
[data-theme="dark"] .mock-badge { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.mock-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #FFD964, var(--y)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #000; flex-shrink: 0; }
.mock-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.mock-role { font-size: 13.5px; color: var(--ink-3); }

.disc { display: flex; flex-direction: column; gap: 9px; }
.disc-r { display: flex; align-items: center; gap: 10px; }
.disc-k { font-size: 11px; font-weight: 700; color: var(--ink-2); width: 12px; font-family: 'JetBrains Mono', monospace; }
.disc-t { flex: 1; height: 6px; background: var(--line); border-radius: 4px; overflow: hidden; }
.disc-f { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--y-dark), var(--y)); }
.disc-v { font-size: 11px; color: var(--ink-2); width: 30px; text-align: right; font-family: 'JetBrains Mono', monospace; }

.mock-foot { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.mock-foot b { color: var(--ink); }
.email-line { height: 9px; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.email-line.s { width: 60%; }
.email-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #846200; background: var(--y-soft); border: 1px solid var(--y-border); padding: 2px 8px; border-radius: 5px; margin-bottom: 14px; }
.email-tag svg { width: 10px; height: 10px; }
.email-txt { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; font-style: italic; }
.rep-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.rep-row:last-child { border-bottom: none; }
.rep-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--y); flex-shrink: 0; }
.rep-row b { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  #hero { padding: 120px 18px 70px; }
}
@media (max-width: 360px) { #hero h1 { font-size: 36px; } }

/* ===== cloud ===== */
.cloud { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); padding: 26px 32px; transition: background 0.35s ease, border 0.35s ease; }
[data-theme="dark"] .cloud { background: rgba(255,255,255,0.025); }
.cloud-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cloud-l { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.cloud-b { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 7px 16px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--bg); text-decoration: none; transition: all 0.2s ease, background 0.35s ease, border 0.35s ease; }
.cloud-b:hover { transform: translateY(-2px); border-color: var(--y); color: var(--ink); }
.cloud-b .d { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* ===== proof ===== */
.proof { background: var(--bg); padding: 70px 32px 30px; transition: background 0.35s ease; }
.proof-in { max-width: 1080px; margin: 0 auto; text-align: center; }
.proof-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; }
.logo-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 30px; margin-bottom: 46px; }
.custo { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-3); opacity: 0.85; transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.custo:hover { color: var(--ink-2); }
.custo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--y); opacity: 0.7; }

.stats { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; margin-bottom: 8px; }
.stat { text-align: center; }
.stat-n { font-size: clamp(40px, 6vw, 60px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, var(--y-dark), var(--y)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat-l { font-size: 14px; color: var(--ink-2); max-width: 200px; margin: 0 auto; line-height: 1.45; }
.badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.badge-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line-2); padding: 6px 13px; border-radius: 100px; transition: background 0.35s ease, border 0.35s ease; }
.badge-pill svg { width: 13px; height: 13px; color: var(--y-dark); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; text-align: left; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 26px; transition: background 0.35s ease, border 0.35s ease, transform 0.2s; }
.quote:hover { transform: translateY(-3px); border-color: var(--y-border); }
[data-theme="dark"] .quote { background: rgba(255,255,255,0.03); }
.quote-mark { font-size: 30px; font-weight: 900; color: var(--y); line-height: 0.6; margin-bottom: 10px; font-family: Georgia, serif; }
.quote-txt { font-size: 14.5px; color: var(--ink); line-height: 1.6; margin-bottom: 18px; font-weight: 500; }
.quote-who { display: flex; align-items: center; gap: 11px; }
.q-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--y), var(--y-dark)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #000; flex-shrink: 0; }
.q-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.q-role { font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 760px) {
  .stats { gap: 36px; }
  .proof { padding: 50px 20px 20px; }
}

/* ===== capabilities ===== */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 60px; transition: background 0.35s ease, border 0.35s ease; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--panel); padding: 34px 30px; transition: background 0.25s, background-color 0.35s ease; position: relative; overflow: hidden; }
.tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-y); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(.22,1,.36,1); }
.tile:hover { background: var(--surface); }
.tile:hover::before { transform: scaleX(1); }
.tile-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--y-soft); border: 1px solid var(--y-border); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.3s ease; }
.tile:hover .tile-ic { transform: translateY(-3px) rotate(-4deg); }
.tile-ic svg { width: 24px; height: 24px; color: #846200; }
[data-theme="dark"] .tile-ic svg { color: var(--y-light); }
.tile h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 9px; display: flex; align-items: center; gap: 10px; transition: color 0.35s ease; }
.tile-n { font-size: 11px; font-weight: 700; color: #846200; background: var(--y-soft); border: 1px solid var(--y-border); padding: 2px 9px; border-radius: 100px; }
[data-theme="dark"] .tile-n { color: var(--y-light); }
.tile p { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 18px; }
.tile-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tile-list li { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.tile-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--y); flex-shrink: 0; box-shadow: 0 0 6px var(--y-glow); }
.tile-list a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dashed transparent; transition: color 0.15s, border-color 0.15s; }
.tile-list a:hover { color: var(--ink); border-bottom-color: var(--y); }

/* ===== workflow ===== */
.wf-outer { margin-top: 56px; }
.wf-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 36px; transition: background 0.35s ease, border 0.35s ease; }
[data-theme="dark"] .wf-card { background: rgba(255,255,255,0.03); }

.wf-card--anim { position: relative; padding: 0; overflow: hidden; }
/* pointer-events:none stops the iframe from hijacking wheel + click events,
   which is what made scrolling feel "stuck" and clicks feel dead whenever
   the cursor crossed the animation. Re-enabled in fullscreen (below). */
.wf-anim { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #08080a; pointer-events: none; }
.wf-anim:fullscreen { pointer-events: auto; }
.wf-card--anim:fullscreen { border-radius: 0; background: #000; }
.wf-card--anim:fullscreen .wf-anim { pointer-events: auto; aspect-ratio: auto; width: 100%; height: 100%; }
.fs-btn { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; font: 600 12px/1 'Inter', sans-serif; color: rgba(255,255,255,0.85); background: rgba(20,20,28,0.72); border: 1px solid rgba(255,255,255,0.16); border-radius: 9px; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: all 0.15s; }
.fs-btn:hover { color: #fff; background: rgba(30,30,40,0.92); border-color: rgba(255,255,255,0.32); }
.fs-btn svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .wf-card { padding: 24px; }
}

/* ===== quick start ===== */
.qs { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
@media (max-width: 920px) { .qs { grid-template-columns: 1fr; gap: 32px; } }
.codewin { border-radius: 13px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -16px rgba(20,20,30,0.3); transition: border 0.35s ease; }
.code-bar { background: #1A1A24; padding: 11px 15px; display: flex; align-items: center; gap: 11px; }
.cd { display: flex; gap: 6px; } .cd span { width: 10px; height: 10px; border-radius: 50%; }
.cd span:nth-child(1){background:#FF5F57}.cd span:nth-child(2){background:#FFBD2E}.cd span:nth-child(3){background:#28CA41}
.code-fn { flex: 1; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.4); }
.copy { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; font-family: 'Inter',sans-serif; transition: all 0.15s; }
.copy:hover { color: rgba(255,255,255,0.85); } .copy.ok { color: #22c55e; border-color: rgba(34,197,94,0.4); }
.codewin pre { background: #0C0C14; padding: 22px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.8; overflow-x: auto; color: #9C9CB4; }
.pk{color:#FFD15C}.ps{color:#34D399}.pp{color:#7A7A90}
.qs-x h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; transition: color 0.35s ease; }
.qs-x p { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin-bottom: 26px; }
.qs-l { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.qs-l li { display: flex; gap: 13px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.qs-l strong { color: var(--ink); font-weight: 600; transition: color 0.35s ease; }
.qs-num { width: 25px; height: 25px; border-radius: 7px; flex-shrink: 0; background: var(--y); font-size: 12px; font-weight: 900; color: #000; display: flex; align-items: center; justify-content: center; }
.client-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.client-tab { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); padding: 5px 12px; border-radius: 7px; cursor: pointer; transition: all 0.15s; }
.client-tab.active { background: var(--y); color: #000; border-color: var(--y-dark); }
.qs-text { display: block; line-height: 1.6; }
.client-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); font-style: italic; }

/* ===== pricing ===== */
.price-band { max-width: 1080px; margin: 0 auto; padding: 40px 32px 20px; }
.price-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: linear-gradient(135deg, var(--y-soft), var(--panel)); border: 1px solid var(--y-border); border-radius: 18px; padding: 30px 36px; transition: background 0.35s ease, border 0.35s ease; }
[data-theme="dark"] .price-card { background: linear-gradient(135deg, rgba(245,184,0,0.10), rgba(255,255,255,0.03)); }
.price-l h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-tag { font-size: 13px; font-weight: 800; color: #000; background: var(--y); padding: 4px 12px; border-radius: 100px; }
.price-l p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.price-r { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .price-band { padding: 30px 20px 10px; }
  .price-card { padding: 24px; }
}

/* ===== faq ===== */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); transition: border 0.35s ease; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; transition: color 0.15s; }
.faq-q:hover { color: var(--y-dark); }
.faq-q .chev { flex-shrink: 0; width: 18px; height: 18px; color: var(--ink-3); transition: transform 0.25s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 22px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.faq-a-inner a { color: var(--y-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--y-border); }
.faq-a-inner code { font-family: 'JetBrains Mono', monospace; font-size: 13px; background: var(--surface); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* ===== cta ===== */
#cta { background: #07070C; position: relative; overflow: hidden; }
#cta::before { content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(245,184,0,0.18), transparent 70%); }
.cta-in { max-width: 1080px; margin: 0 auto; padding: 96px 32px; text-align: center; position: relative; }
#cta h2 { font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -0.04em; color: #fff; line-height: 1.08; margin-bottom: 18px; }
#cta h2 em { font-style: normal; background: linear-gradient(180deg, transparent 62%, rgba(245,184,0,0.55) 62%); padding: 0 4px; }
#cta p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 38px; }
.cta-b { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { display: inline-flex; align-items: center; gap: 7px; padding: 15px 30px; border-radius: 11px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.82); font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,0.14); transition: all 0.15s; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ===== footer ===== */
footer.site-footer { background: #030306; padding: 64px 32px 28px; color: rgba(255,255,255,0.6); }
.ft-wrap { max-width: 1180px; margin: 0 auto; }
.ft-top { display: grid; grid-template-columns: 1.25fr 2.75fr; gap: 56px; align-items: start; }
.ft-logo { display: block; margin-bottom: 22px; }
.ft-logo img { height: 30px; width: auto; display: block; }
.ft-mission-h { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 8px; max-width: 320px; }
.ft-mission-p { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 320px; margin-bottom: 24px; }
.ft-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ft-badge { height: 56px; width: auto; border-radius: 8px; display: block; }
.ft-right { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 24px; }
.ft-col-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 4px; }
.ft-col-h { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.ft-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.62); text-decoration: none; padding: 5px 0; transition: color 0.15s; }
.ft-col a:hover { color: #fff; }
.ft-info { margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.ft-info-h { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin-bottom: 8px; max-width: 620px; }
.ft-info-p { font-size: 13.5px; color: rgba(255,255,255,0.5); max-width: 560px; line-height: 1.6; }
.ft-bottom { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all 0.15s; }
.ft-social a:hover { color: #fff; border-color: var(--y-border); transform: translateY(-1px); }
.ft-social svg { width: 15px; height: 15px; }
.ft-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.ft-legal a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.ft-legal a:hover { color: rgba(255,255,255,0.85); }
.ft-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
@media (max-width: 900px) {
  .ft-top { grid-template-columns: 1fr; gap: 40px; }
  .ft-right { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  footer.site-footer { padding: 40px 20px 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .ft-right { grid-template-columns: 1fr; }
  footer.site-footer { padding: 48px 20px 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== docs (tool reference pages) ===== */
.docs a { color: var(--y-dark); text-decoration: none; font-weight: 600; }
.docs nav { position: sticky; top: 0; z-index: 50; height: 60px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .35s, border .35s; }
.docs .logo { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; }
.docs .logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); position: relative; display: flex; align-items: center; justify-content: center; }
.docs .logo-mark::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 10px var(--y); }
.docs .logo-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #000; background: var(--y); padding: 2px 7px; border-radius: 5px; }
.docs .nav-l { display: flex; gap: 20px; align-items: center; }
.docs .nav-l a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.docs .nav-l a:hover { color: var(--ink); }
.docs .wrap { max-width: 880px; margin: 0 auto; padding: 40px 24px 100px; }
.docs .crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.docs .crumb a { color: var(--ink-3); font-weight: 500; }
.docs .group { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #846200; background: var(--y-soft); border: 1px solid var(--y-border); padding: 5px 12px; border-radius: 100px; margin-bottom: 18px; }
.docs .group .agent-pill { font-size: 10px; background: var(--y); color: #000; padding: 1px 6px; border-radius: 5px; }
.docs h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; font-family: 'JetBrains Mono', monospace; }
.docs .lead { font-size: 19px; color: var(--ink-2); max-width: 640px; margin-bottom: 40px; line-height: 1.6; }
.docs .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
@media (max-width: 680px) { .docs .grid { grid-template-columns: 1fr; } }
.docs .card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px; transition: background .35s, border .35s; }
.docs .card h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.docs .card p { font-size: 14px; color: var(--ink-2); }
.docs .card .mono { font-size: 13px; color: var(--ink); }
.docs .card.full { grid-column: 1/-1; }
.docs .ask { font-size: 15px; color: var(--ink); font-style: italic; border-left: 3px solid var(--y); padding: 6px 0 6px 16px; margin-bottom: 16px; }
.docs .section-h { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 28px 0 10px; }
.docs pre { background: #0C0C14; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; overflow-x: auto; color: #9C9CB4; margin-bottom: 12px; }
.docs pre .k { color: #FFD15C; } .docs pre .s { color: #34D399; } .docs pre .p { color: #7A7A90; }
.docs .notes { font-size: 14px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 14px; line-height: 1.6; }
.docs .pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; flex-wrap: wrap; }
.docs .pager a { flex: 1; min-width: 200px; display: block; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 18px; color: var(--ink); transition: border .15s, transform .15s; }
.docs .pager a:hover { border-color: var(--y-border); transform: translateY(-2px); }
.docs .pager .dir { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.docs .pager .t { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 3px; font-family: 'JetBrains Mono', monospace; }
.docs .pager .next { text-align: right; }
.docs footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; font-size: 13px; color: var(--ink-3); transition: border .35s; }
.docs footer a { color: var(--ink-3); }

/* ===== tools index listing ===== */
.docs .trow { display: grid; grid-template-columns: 1.6fr 2fr 1fr; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 10px; color: var(--ink); transition: border .15s, transform .15s, background .35s; }
.docs .trow:hover { border-color: var(--y-border); transform: translateY(-2px); }
.docs .tname { font-size: 14px; font-weight: 600; color: var(--ink); }
.docs .tpurpose { font-size: 14px; color: var(--ink-2); }
.docs .tgroup { font-size: 12px; color: var(--ink-3); }
.docs .gpill { display: inline-block; font-size: 10px; font-weight: 700; background: var(--y); color: #000; padding: 1px 6px; border-radius: 5px; }
@media (max-width: 680px) { .docs .trow { grid-template-columns: 1fr; gap: 6px; } .docs .tpurpose, .docs .tgroup { font-size: 13px; } }
.docs .idx-lead { font-size: 18px; color: var(--ink-2); max-width: 640px; margin-bottom: 36px; line-height: 1.6; }

/* ===== agent demo (tools index) ===== */
.demo { margin: 40px 0 8px; }
.demo-h2 { font-size: clamp(24px,3vw,32px); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; color: var(--ink); }
.demo-lede { font-size: 16px; color: var(--ink-2); max-width: 600px; margin-bottom: 24px; line-height: 1.6; }
.demo-wrap { max-width: 100%; margin: 0 auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); overflow: hidden; box-shadow: 0 32px 80px -24px rgba(0,0,0,.45); background: #0C0C14; }
.demo-chrome { background: #161622; padding: 14px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.demo-dots { display: flex; gap: 7px; } .demo-dots span { width: 11px; height: 11px; border-radius: 50%; }
.demo-dots span:nth-child(1){background:#FF5F57}.demo-dots span:nth-child(2){background:#FFBD2E}.demo-dots span:nth-child(3){background:#28CA41}
.demo-title { flex: 1; text-align: center; font-size: 12px; color: rgba(255,255,255,.55); font-family: 'JetBrains Mono', monospace; }
.demo-replay { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); padding: 5px 12px; border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; }
.demo-replay:hover { background: rgba(245,184,0,.16); border-color: rgba(245,184,0,.4); color: #fff; }
.demo-replay svg { width: 12px; height: 12px; }
.demo-body { padding: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; min-height: 420px; }
@media (max-width: 760px) { .demo-body { grid-template-columns: 1fr; min-height: auto; } }
.demo-chat { display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.chat-avatar.user { background: var(--y); color: #000; } .chat-avatar.agent { background: #2D2D3E; color: rgba(255,255,255,.8); font-size: 9px; }
.chat-bubble { background: #181826; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 11px 15px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.9); flex: 1; }
.chat-bubble.user-bubble { background: rgba(245,184,0,.12); border-color: rgba(245,184,0,.22); color: rgba(255,255,255,.94); }
.typing-dots { display: inline-flex; gap: 4px; align-items: center; height: 18px; padding: 0 2px; } .typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); animation: typingBounce 1.2s infinite ease-in-out; } .typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-5px)} }
.tool-call { display: flex; flex-direction: column; gap: 5px; padding: 11px 15px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-left: 2px solid var(--y); border-radius: 0 10px 10px 0; margin: 0 0 0 40px; position: relative; }
.tool-call::before { content: ''; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--y); box-shadow: 0 0 12px var(--y); opacity: 0; animation: pulseBorder 1.6s infinite; } .tool-call.active::before { opacity: 1; }
@keyframes pulseBorder { 0%,100%{opacity:.4} 50%{opacity:1} }
.tool-call-name { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--y); letter-spacing: .02em; }
.tool-call-param { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,.6); } .tool-call-param span { color: rgba(255,255,255,.82); }
.tool-status { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.demo-result { background: #13131F; border-radius: 12px; border: 1px solid rgba(255,255,255,.06); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: opacity .5s ease; opacity: .5; } .demo-result.lit { opacity: 1; }
.result-name { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: 2px; } .result-sub { font-size: 13.5px; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.disc-row { display: flex; flex-direction: column; gap: 8px; } .disc-item { display: flex; align-items: center; gap: 10px; }
.disc-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.68); width: 14px; flex-shrink: 0; }
.disc-track { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.disc-fill { height: 100%; border-radius: 3px; transition: width .9s cubic-bezier(.4,0,.2,1); background: linear-gradient(90deg, var(--y), #FFD560); }
.disc-pct { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,.62); width: 28px; text-align: right; }
.result-insight { font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.65; border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; } .result-insight strong { color: rgba(255,255,255,.94); }
.result-email { font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.75; font-style: italic; border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; }
.demo-fade { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; } .demo-fade.show { opacity: 1; transform: none; }
