/* ============================================================
   NEURON — premium dark, restrained accents
   ============================================================ */

:root {
  /* surfaces — true black */
  --bg:            #000000;
  --bg-1:          #050505;
  --bg-2:          #0a0a0a;
  --panel:         #0c0c0c;
  --panel-2:       #111111;
  --panel-3:       #161616;
  --hairline:      rgba(234, 236, 242, 0.06);
  --hairline-2:    rgba(234, 236, 242, 0.10);
  --hairline-3:    rgba(234, 236, 242, 0.16);
  --hairline-4:    rgba(234, 236, 242, 0.24);

  /* text — AssetShare cool grays */
  --fg:            #eaecf2;
  --fg-dim:        #c0c8d4;
  --fg-mute:       #7a7f8e;
  --fg-faint:      #4a4e5a;

  /* accent — neutral light (used site-wide for non-important highlights) */
  --cy:            #eaecf2;
  --cy-2:          #ffffff;
  --cy-3:          #ffffff;
  --cy-soft:       rgba(234, 236, 242, 0.06);
  --cy-glow:       rgba(234, 236, 242, 0.24);
  --cy-line:       rgba(234, 236, 242, 0.28);

  /* AssetShare palette — used in rainbow + status */
  --rb-violet:     #8b5cf6;
  --rb-pink:       #ec4899;
  --rb-amber:      #f59e0b;
  --rb-gold:       #f5b942;
  --rainbow:       linear-gradient(90deg, #8b5cf6, #ec4899, #f59e0b, #f5b942, #8b5cf6);
  --violet:        #8b5cf6;
  --pink:          #ec4899;
  --gold:          #f5b942;

  /* utility */
  --green:         #4ade80;
  --amber:         #f59e0b;
  --red:           #ec4899;

  /* type — Printr stack */
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Geist', sans-serif;
  --display: 'Geist', sans-serif;

  /* radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient — dot grid + soft vignette + faint noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(234, 236, 242, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  background-position: 0 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 95%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

#root { position: relative; z-index: 1; }

/* selection */
::selection { background: rgba(240, 240, 240, 0.18); color: var(--fg); }

/* focus rings */
:focus-visible {
  outline: 1px solid var(--cy-line);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== type ===== */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.04em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.mono { font-family: var(--mono); font-feature-settings: 'ss01', 'ss02'; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eyebrow::before { content: '['; color: var(--fg-faint); }
.eyebrow::after  { content: ']'; color: var(--fg-faint); }

/* ===== buttons ===== */
/* default — sharp, outlined, no fill */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--hairline-3);
  transition: all 0.22s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--fg);
  background: transparent;
  transform: translateY(-1px);
}

/* primary — static rainbow gradient outline, no fill (used for the most important CTAs) */
.btn-primary {
  background: var(--rainbow);
  background-size: 100% 100%;
  color: var(--fg);
  border: 0;
  padding: 1px;
  border-radius: 4px;
  box-shadow: none;
  transition: transform 0.22s var(--ease);
}
.btn-primary > .btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  background: #000;
  color: var(--fg);
  border-radius: 3px;
  width: 100%;
  height: 100%;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-primary:hover > .btn-inner {
  background: #000;
}

.btn-ghost {
  border-color: var(--hairline-2);
  color: var(--fg-dim);
}
.btn-ghost:hover { color: var(--fg); border-color: var(--fg); background: transparent; }

.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* small accent button */
.btn-accent {
  background: rgba(139, 92, 246, 0.06);
  border-color: var(--cy-line);
  color: var(--cy-2);
}
.btn-accent:hover {
  background: var(--cy-soft);
  border-color: var(--cy);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.18);
}

/* ===== panels ===== */
.panel {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  position: relative;
}

/* ===== layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 140px 0; position: relative; }
.section-tight { padding: 90px 0; }

/* divider line that fades at the edges */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-2), transparent);
  margin: 0;
}

/* ===== nav ===== */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(10, 11, 16, 0.72);
  border-bottom: 1px solid var(--hairline);
}
nav.top .inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 26px; height: 26px;
  border-radius: 0;
  background-image: url('/favicon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.brand .mark::after { display: none; }
.brand .v {
  color: var(--fg-mute);
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
}

nav.top ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; }
nav.top ul a {
  font-size: 14px;
  color: var(--fg-dim);
  letter-spacing: -0.005em;
  transition: color 0.18s var(--ease);
  position: relative;
}
nav.top ul a:hover { color: var(--fg); }
nav.top ul a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
nav.top ul a:hover::after { transform: scaleX(1); }

/* ===== hero ===== */
.hero {
  padding: 110px 0 90px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  font-weight: 700;
  font-family: var(--display);
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  font-family: var(--display);
  font-size: 1em;
  color: var(--fg-mute);
  letter-spacing: -0.04em;
  font-weight: 700;
  text-transform: uppercase;
}
.hero .lead {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.hero .cta-row {
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap;
}
.hero .meta {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.hero .meta .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.hero .meta .v {
  font-size: 18px;
  color: var(--fg);
  font-weight: 400;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.hero .meta .pulse {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ===== terminal (used in hero + demo) — refined ===== */
.terminal {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
}
.terminal::before { display: none; }
.term-bar {
  display: flex; align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  background: #1f1f1f;
  height: 32px;
}
/* Windows Terminal-style window controls (right-aligned, line glyphs) */
.term-bar .lights {
  display: flex; gap: 0;
  margin-left: auto;
  order: 3;
}
.term-bar .lights span {
  width: 32px; height: 24px;
  border-radius: 0;
  background: transparent;
  position: relative;
  transition: background 0.15s;
  cursor: default;
}
.term-bar .lights span:hover { background: rgba(255, 255, 255, 0.08); }
.term-bar .lights span:nth-child(3):hover { background: #e81123; }
/* minimize line */
.term-bar .lights span:nth-child(1)::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 1px;
  background: rgba(255,255,255,0.6);
}
/* maximize box */
.term-bar .lights span:nth-child(2)::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  border: 1px solid rgba(255,255,255,0.6);
}
/* close X */
.term-bar .lights span:nth-child(3)::before,
.term-bar .lights span:nth-child(3)::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 11px; height: 1px;
  background: rgba(255,255,255,0.6);
}
.term-bar .lights span:nth-child(3)::before { transform: translate(-50%, -50%) rotate(45deg); }
.term-bar .lights span:nth-child(3)::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* tab-style title (left-aligned, like Windows Terminal tab) */
.term-bar .title {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0;
  font-weight: 500;
  padding: 5px 10px 5px 12px;
  background: #0c0c0c;
  border-radius: 4px 4px 0 0;
  position: relative;
  top: 1px;
  display: inline-flex; align-items: center; gap: 8px;
  order: 1;
}
.term-bar .title::before {
  content: '>_';
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0;
}
.term-bar .stat {
  margin-left: 12px;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
  order: 2;
}
.term-body {
  padding: 16px 18px;
  background: #0c0c0c;
  min-height: 360px;
  position: relative;
}
.term-line { display: flex; gap: 14px; align-items: flex-start; }
.term-line .gutter { color: var(--fg-faint); user-select: none; min-width: 56px; font-size: 11px; }
.term-line .lvl-info  { color: var(--fg-mute); }
.term-line .lvl-ok    { color: var(--cy); }
.term-line .lvl-warn  { color: var(--amber); }
.term-line .lvl-err   { color: var(--red); }
.term-line .body { color: var(--fg-dim); flex: 1; }
.term-line .body .key { color: var(--fg); }
.term-line .body .val { color: var(--fg); }
.term-line .body .accent { color: var(--cy-2); }
.term-line .body .muted { color: var(--fg-faint); }

.cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--fg);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ===== live ticker (under hero) ===== */
.ticker {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.012);
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  width: max-content;
}
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.02em;
}
.ticker-item .ticker-tag { color: var(--fg); }
.ticker-item .ticker-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 6px var(--cy-glow);
}
.ticker-item .ticker-time { color: var(--fg-faint); }

/* ===== how it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
}
.step {
  padding: 36px 32px 32px;
  background: #0c0c0c;
  position: relative;
  transition: background 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.step:hover { background: #111111; }
.step::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cy-line), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.step:hover::after { opacity: 0.6; }
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.step .num::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 6px var(--cy-glow);
}
.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-family: var(--display);
  text-transform: uppercase;
}
.step p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.step .visual {
  height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: #050505;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
  margin-top: auto;
}
.step:hover .visual { border-color: var(--hairline-2); }

/* ===== bento (what you get) ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.bento-tile {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.bento-tile:hover { border-color: var(--hairline-2); }
.bento-tile:hover::before { opacity: 1; }
.bento-tile .label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.bento-tile .label::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 5px var(--cy-glow);
}
.bento-tile h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  font-weight: 400;
}
.bento-tile h3 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fg-dim);
}
.bento-tile p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.bento-tile .figure {
  margin-top: 18px;
  height: 110px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.bento-tile.span-3 { grid-column: span 3; }
.bento-tile.span-2 { grid-column: span 2; }
.bento-tile.span-4 { grid-column: span 4; }
.bento-tile.span-6 { grid-column: span 6; }
.bento-tile.span-tall { grid-row: span 2; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.span-3, .bento-tile.span-2, .bento-tile.span-4, .bento-tile.span-6 { grid-column: 1; }
  .bento-tile.span-tall { grid-row: auto; }
}

/* ===== pricing ===== */
.pricing {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
  position: relative;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cy-line), transparent);
  opacity: 0.5;
}
.pricing .left {
  padding: 48px 44px;
  border-right: 1px solid var(--hairline);
  background:
    radial-gradient(500px 280px at 0% 100%, rgba(139, 92, 246, 0.04), transparent 70%);
}
.pricing .left .price-tag {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--sans);
  margin-bottom: 18px;
}
.pricing .left .price-tag .num {
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.pricing .left .price-tag .unit {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.pricing .left h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.pricing .left p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 380px;
}
.pricing .right {
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-1);
}
.pricing .right .row {
  display: flex; align-items: center; gap: 14px;
  font-size: 14.5px;
  color: var(--fg-dim);
  letter-spacing: -0.005em;
}
.pricing .right .row .ico {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cy-soft);
  border: 1px solid var(--cy-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--cy);
  font-size: 10px;
}

@media (max-width: 760px) {
  .pricing { grid-template-columns: 1fr; }
  .pricing .left { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 36px 28px; }
  .pricing .right { padding: 36px 28px; }
}

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 28px 0;
  cursor: pointer;
  transition: padding 0.25s var(--ease);
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--cy-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 14px; height: 14px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s var(--ease);
}
.faq-item .plus::before, .faq-item .plus::after {
  content: '';
  position: absolute;
  background: var(--fg-dim);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq-item .plus::before { top: 6px; left: 0; right: 0; height: 1px; }
.faq-item .plus::after  { left: 6px; top: 0; bottom: 0; width: 1px; }
.faq-item[open] .plus { transform: rotate(180deg); }
.faq-item[open] .plus::after { transform: scaleY(0); }
.faq-item[open] .plus::before { background: var(--cy); }
.faq-item .answer {
  margin-top: 16px;
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 520px;
  letter-spacing: -0.005em;
  animation: faqOpen 0.3s var(--ease);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== final CTA ===== */
.final-cta {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
}
.final-cta::before { display: none; }
.final-cta h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-family: var(--display);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.final-cta h2 em {
  font-family: var(--display);
  font-style: normal;
  color: var(--fg-mute);
  font-weight: 700;
  text-transform: uppercase;
}
.final-cta p {
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 480px;
  margin: 0 auto 36px;
  letter-spacing: -0.005em;
  line-height: 1.55;
}
.final-cta .cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ===== footer ===== */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
}
footer .inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 48px;
}
footer .col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 18px;
}
footer .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer .col a {
  font-size: 14px; color: var(--fg-dim);
  transition: color 0.15s;
}
footer .col a:hover { color: var(--fg); }
footer .copyright {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 11px; color: var(--fg-mute);
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 12px;
}

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero .terminal { max-width: 560px; }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  nav.top ul { display: none; }
  .final-cta { padding: 56px 28px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero .lead { font-size: 16px; }
}

/* ===== section heads ===== */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 12px;
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-family: var(--display);
  text-transform: uppercase;
}
.section-head h2 em {
  font-style: normal;
  font-family: var(--display);
  color: var(--fg-mute);
  letter-spacing: -0.04em;
  font-weight: 700;
  text-transform: uppercase;
}
.section-head p {
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* ===== demo run header (replaces the old input) ===== */
.run-header {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 18px 22px 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
}
.run-header::before { display: none; }
.run-header-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.run-header .rh-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-dim);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.run-header .rh-label::before {
  content: '>_';
  color: var(--fg-mute);
  font-size: 10px;
}
.run-header .rh-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
}
.run-header .rh-status .check { color: var(--cy); }
.run-header .rh-status .dot-idle {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--fg-faint);
}
.run-header-vibe {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 0 22px;
}
.run-header-vibe .rh-glyph {
  color: var(--cy);
  font-family: var(--mono);
  font-size: 18px;
  text-shadow: 0 0 8px var(--cy-glow);
  font-weight: 500;
}
.run-header-vibe .rh-text {
  font-family: var(--sans);
  font-size: 19px;
  color: var(--fg);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.run-progress-line {
  height: 2px;
  background: rgba(255,255,255,0.04);
  margin: 0 -22px;
  position: relative;
  overflow: hidden;
}
.run-progress-line > div {
  height: 100%;
  background: var(--rainbow);
  background-size: 100% 100%;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.32);
  transition: width 0.6s var(--ease);
}

/* ===== demo input ===== */
.demo-input-wrap {
  display: flex; align-items: center;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
  background: var(--panel);
  padding: 14px 18px;
  gap: 12px;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.demo-input-wrap:focus-within {
  border-color: var(--cy-line);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.06);
}
.demo-input-wrap .prompt-glyph {
  color: var(--cy);
  font-family: var(--mono);
  font-size: 13px;
  text-shadow: 0 0 8px var(--cy-glow);
}
.demo-input-wrap input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: -0.005em;
  min-width: 0;
}
.demo-input-wrap input::placeholder { color: var(--fg-mute); }
.demo-input-wrap .send {
  background: var(--fg);
  border: 0;
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: opacity 0.15s, transform 0.15s var(--ease);
  white-space: nowrap;
}
.demo-input-wrap .send:hover:not(:disabled) { opacity: 0.85; transform: translateX(1px); }
.demo-input-wrap .send:disabled { opacity: 0.3; cursor: not-allowed; }

.suggestions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.chip {
  padding: 7px 14px;
  border: 1px solid var(--hairline-2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  background: transparent;
}
.chip:hover:not(:disabled) {
  border-color: var(--cy-line);
  color: var(--cy-2);
  background: var(--cy-soft);
}
.chip:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== artifact cards ===== */
/* ===== unified pipeline panel ===== */
.pipeline {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
}
.pipeline::before { display: none; }
.pipeline-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #1f1f1f;
  height: 32px;
}
.pipeline-head .ph-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-dim);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.pipeline-head .ph-eyebrow::before {
  content: '>_';
  color: var(--fg-mute);
  font-size: 10px;
}
.pipeline-head .ph-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 8px;
}
.pipeline-head .ph-status .dot-idle {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--fg-faint);
}

.pipeline-track {
  padding: 18px 22px 14px;
  display: flex; flex-direction: column;
  gap: 0;
}

.step-row {
  display: flex;
  gap: 16px;
  padding: 14px 0 12px;
  transition: opacity 0.3s var(--ease);
}
.step-row:first-child { padding-top: 4px; }
.step-row.state-idle { opacity: 0.4; }

.step-rail {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
  position: relative;
}
.step-node {
  width: 26px; height: 26px;
  border-radius: 0;
  border: 1px solid var(--hairline-2);
  background: #050505;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 2;
}
.state-active .step-node {
  border-color: var(--cy);
  background: var(--cy-soft);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.06), 0 0 20px rgba(139, 92, 246, 0.18);
}
.state-done .step-node {
  border-color: var(--cy-line);
  background: var(--cy-soft);
}
.step-node .num { font-feature-settings: 'tnum'; }
.step-node .check-svg {
  color: var(--cy);
  display: block;
}
.step-node .spinner {
  width: 11px; height: 11px;
  border-color: var(--cy);
  border-top-color: transparent;
}
.step-line {
  flex: 1;
  width: 1px;
  background: var(--hairline);
  margin: 6px 0 -10px;
  min-height: 24px;
  position: relative;
}
.state-done .step-line {
  background: linear-gradient(180deg, var(--cy-line), var(--hairline));
}

.step-content {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.step-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
  gap: 12px;
}
.step-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.step-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.state-active .step-meta { color: var(--cy-2); }
.state-done .step-meta { color: var(--fg-mute); }

.step-detail {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.01em;
  line-height: 1.45;
  word-break: break-word;
}
.state-active .step-detail { color: var(--fg); }
.state-done .step-detail { color: var(--fg); }
.step-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-faint);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.pipeline-foot {
  margin: 0 22px 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 10px;
}
.pipeline-foot .pf-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.pipeline-foot .pf-time { color: var(--fg); font-feature-settings: 'tnum'; }
.pipeline-foot .pf-result {
  padding: 1px;
  background: var(--rainbow);
  border-radius: var(--r-md);
  font-size: 13px;
  letter-spacing: -0.005em;
  display: flex; justify-content: space-between; align-items: center;
}
.pipeline-foot .pf-result > * {
  background: var(--bg);
}
.pipeline-foot .pf-result {
  position: relative;
}
.pipeline-foot .pf-result::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-1);
  border-radius: calc(var(--r-md) - 1px);
  z-index: 0;
}
.pipeline-foot .pf-result > span,
.pipeline-foot .pf-result > svg {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 9px 13px;
  color: var(--fg);
}
.pipeline-foot .pf-result > svg { padding-right: 14px; }
.pipeline-foot .pf-result span:first-child { font-family: var(--sans); font-weight: 500; }
.artifact {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 18px 20px 16px;
  background: var(--panel);
  font-family: var(--sans);
  font-size: 13px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.35s var(--ease);
  opacity: 0.45;
  position: relative;
}
.artifact.active {
  border-color: var(--cy-line);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.06), 0 0 32px rgba(139, 92, 246, 0.05);
}
.artifact.done {
  opacity: 1;
  border-color: var(--hairline-2);
}
.artifact.done .head .dot { background: var(--cy); box-shadow: 0 0 6px var(--cy-glow); }
.artifact .head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.artifact .head .dot {
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--fg-faint);
  margin-right: 10px;
  vertical-align: middle;
  transition: all 0.3s;
}
.artifact .head .label-wrap { display: flex; align-items: center; }
.artifact .body {
  color: var(--fg); font-size: 13.5px;
  display: flex; flex-direction: column; gap: 2px;
}
.artifact .body .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 12px;
  gap: 16px;
}
.artifact .body .row .k {
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.spinner {
  width: 9px; height: 9px;
  border: 1px solid var(--cy);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.check {
  display: inline-block;
  width: 9px; height: 9px;
  position: relative;
}
.check::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 4px; height: 1px;
  background: var(--cy);
  transform: rotate(45deg);
}
.check::after {
  content: '';
  position: absolute; left: 2px; top: 3px;
  width: 7px; height: 1px;
  background: var(--cy);
  transform: rotate(-50deg);
}

/* ===== reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CHATBOT
   ============================================================ */
.chatbot-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 0;
  background: #0c0c0c;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 0 4px rgba(139, 92, 246, 0.04);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chatbot-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 14px 50px rgba(0,0,0,0.5),
    0 0 0 1px rgba(139, 92, 246, 0.4),
    0 0 0 6px rgba(139, 92, 246, 0.08);
}
.chatbot-fab .pulse-ring {
  position: absolute; inset: -4px;
  border-radius: 0;
  border: 1px solid var(--cy);
  opacity: 0;
  animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.chatbot {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 91;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 48px);
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatIn 0.26s var(--ease-spring);
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chatbot .head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255,255,255,0.012);
}
.chatbot .head .avatar {
  width: 32px; height: 32px;
  border-radius: 0;
  background-image: url('/favicon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  position: relative;
  overflow: hidden;
}
.chatbot .head .avatar::after { display: none; }
.chatbot .head .who { flex: 1; }
.chatbot .head .name { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.chatbot .head .status {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.chatbot .head .status::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}
.chatbot .head button {
  background: transparent; border: 0;
  color: var(--fg-mute);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.chatbot .head button:hover { background: rgba(255,255,255,0.04); color: var(--fg); }

.chatbot .body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.chatbot .body::-webkit-scrollbar { width: 4px; }
.chatbot .body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.msg {
  display: flex; flex-direction: column;
  max-width: 82%;
  font-size: 14px; line-height: 1.5;
  letter-spacing: -0.005em;
  animation: msgIn 0.25s var(--ease);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg .bubble {
  padding: 10px 14px;
  border-radius: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.msg.bot .bubble {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg);
}
.msg.user .bubble {
  background: var(--fg);
  color: var(--bg);
}
.msg .meta {
  font-family: var(--mono);
  font-size: 10px; color: var(--fg-faint);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.msg.bot .meta { padding-left: 4px; }
.msg.user .meta { text-align: right; padding-right: 4px; }

.typing {
  display: inline-flex; gap: 4px;
  padding: 12px 14px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  align-self: flex-start;
}
.typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--fg-mute);
  animation: typing 1.4s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.16s; }
.typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* preset Q&A pills — docked to bottom of chatbot */
.qa-footer {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012));
  flex-shrink: 0;
  max-height: 50%;
  overflow-y: auto;
}
.qa-footer .qa-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding-left: 4px;
  margin-bottom: 2px;
}
.qa-footer::-webkit-scrollbar { width: 4px; }
.qa-footer::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
.qa-list { display: flex; flex-direction: column; gap: 6px; }
.qa-pill {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: #050505;
  color: var(--fg-dim);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s var(--ease);
}
.qa-pill:hover {
  border-color: var(--cy-line);
  color: var(--fg);
  background: rgba(139, 92, 246, 0.04);
  transform: translateX(2px);
}
.qa-pill .qa-arrow {
  color: var(--fg-faint);
  margin-left: 12px;
  transition: transform 0.18s var(--ease), color 0.18s;
}
.qa-pill:hover .qa-arrow {
  color: var(--cy);
  transform: translateX(3px);
}

.chatbot .quick {
  padding: 0 18px 10px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chatbot .quick button {
  padding: 6px 10px;
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-dim);
  font-size: 12px;
  letter-spacing: -0.005em;
  transition: all 0.15s var(--ease);
}
.chatbot .quick button:hover {
  border-color: var(--cy-line);
  color: var(--cy-2);
  background: var(--cy-soft);
}

.chatbot .compose {
  border-top: 1px solid var(--hairline);
  padding: 12px;
  display: flex; gap: 8px; align-items: center;
}
.chatbot .compose input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 14px;
  outline: 0;
  transition: border-color 0.15s;
  letter-spacing: -0.005em;
  min-width: 0;
}
.chatbot .compose input:focus { border-color: var(--cy-line); }
.chatbot .compose input::placeholder { color: var(--fg-mute); }
.chatbot .compose button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.15s, transform 0.15s var(--ease);
  flex-shrink: 0;
}
.chatbot .compose button:hover:not(:disabled) { transform: scale(1.06); }
.chatbot .compose button:disabled { opacity: 0.3; cursor: not-allowed; }

@media (max-width: 480px) {
  .chatbot {
    bottom: 12px; right: 12px; left: 12px;
    width: auto;
  }
}

/* ============================================================
   COPY TOAST
   ============================================================ */
.copy-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 95;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--panel);
  border: 1px solid var(--cy-line);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(139, 92, 246, 0.08), 0 0 24px rgba(139, 92, 246, 0.18);
  font-size: 13px;
  color: var(--fg);
  letter-spacing: -0.005em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.copy-toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.copy-toast .ca-mono {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  padding: 3px 8px;
  background: var(--bg-1);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
