/* ============================================================
   BUFFED — Pitch site styles
   Palette: Vinyl #161B10, Platinum #F2EAE6, Killer Orange #F09626
   Display: Archivo Black (Arial Black/Helvetica Black fallback)
   Body: Inter (Helvetica fallback)
   ============================================================ */

:root {
  --vinyl: #161B10;
  --platinum: #F2EAE6;
  --orange: #F09626;
  --forest: #234F24;
  --red: #DA6041;
  --royal: #243B7D;
  --acid: #8FDB66;
  --magenta: #B840A6;
  --mineral: #86B9BF;

  --ink: #161B10;
  --ink-soft: #2a2f24;
  --paper: #F2EAE6;
  --line: rgba(22, 27, 16, 0.12);
  --line-light: rgba(242, 234, 230, 0.18);

  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Helvetica, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--vinyl);
  color: var(--platinum);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  background: rgba(22, 27, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
}
.nav-logo img { height: 24px; }
.nav-links {
  display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.12em;
}
.nav-links a { opacity: 0.78; transition: opacity 0.2s, color 0.2s; }
.nav-links a:hover { opacity: 1; color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--vinyl) !important;
  padding: 10px 16px; opacity: 1 !important; border-radius: var(--r);
}
.nav-cta:hover { background: var(--platinum); color: var(--vinyl) !important; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  padding: clamp(60px, 12vh, 140px) var(--pad-x) clamp(60px, 8vh, 110px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(240, 150, 38, 0.08) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}
.hero-skull {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 46%; max-width: 620px;
  opacity: 0.10;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: contrast(1.05) saturate(0.9);
}
.hero-icon-stamp { display: none; }
@media (max-width: 760px) {
  .hero-skull { width: 70%; right: -20%; bottom: -8%; opacity: 0.07; }
  .hero-icon-stamp { display: none; }
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--orange); margin-bottom: 32px;
}
.hero-mark-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 36px;
}
.hero-wordmark { height: 26px; width: auto; opacity: 0.92; }
.hero-rule { width: 36px; height: 1px; background: var(--line-light); }
.hero-tagline-small {
  font-family: var(--display);
  font-size: 12px; letter-spacing: 0.16em;
  color: rgba(242,234,230,0.6);
}
.hero-tag {
  font-family: var(--display);
  font-size: clamp(44px, 7.8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  max-width: 1100px;
}
.hero-sub {
  max-width: 680px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(242, 234, 230, 0.82);
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
  max-width: 800px;
}
.hero-stats > div span {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 38px);
  color: var(--orange);
  letter-spacing: -0.01em;
}
.hero-stats > div label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-top: 6px;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 14px 22px;
  border-radius: var(--r);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--vinyl); }
.btn-primary:hover { background: var(--platinum); }
.btn-ghost {
  background: transparent; color: var(--platinum);
  border: 1px solid var(--line-light);
}
.btn-ghost:hover { background: var(--platinum); color: var(--vinyl); border-color: var(--platinum); }
.btn-dark { background: var(--vinyl); color: var(--platinum); }
.btn-dark:hover { background: var(--platinum); color: var(--vinyl); }
.btn-ghost-dark {
  background: transparent; color: var(--vinyl);
  border: 1px solid rgba(22,27,16,0.3);
}
.btn-ghost-dark:hover { background: var(--vinyl); color: var(--platinum); }

/* ============ SECTIONS ============ */
.section { padding: clamp(70px, 12vh, 130px) var(--pad-x); position: relative; }
.section-vinyl { background: var(--vinyl); color: var(--platinum); }
.section-platinum { background: var(--platinum); color: var(--vinyl); }
.section-orange { background: var(--orange); color: var(--vinyl); }
.container { max-width: var(--maxw); margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 24px;
}
.section-label.dark { color: var(--vinyl); opacity: 0.6; }
.section-orange .section-label.dark { color: var(--vinyl); opacity: 0.7; }

.section-h {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section-h.dark { color: var(--vinyl); }
.section-h .accent { color: var(--orange); }
.section-orange .section-h .accent,
.section-h .invert { color: var(--platinum); }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 820px;
  line-height: 1.6;
  color: rgba(242, 234, 230, 0.85);
  margin-bottom: 48px;
}
.lede.dark { color: rgba(22, 27, 16, 0.78); }

.footnote {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.6;
  margin-top: 28px;
  letter-spacing: 0.04em;
}

/* ============ VENN ============ */
/* Proper overlapping horizontal Venn */
.venn {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 70px auto 40px;
  aspect-ratio: 820 / 320;
  display: flex; align-items: center; justify-content: center;
}
.venn-circle, .venn-center {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.venn-circle {
  width: 44%;
  aspect-ratio: 1;
  background: rgba(240, 150, 38, 0.18);
  border: 2px solid var(--orange);
  color: var(--platinum);
  font-size: clamp(14px, 1.5vw, 19px);
  transform: translateY(-50%);
  z-index: 1;
  mix-blend-mode: normal;
}
.venn-left  { left: -2%; }
.venn-right { right: -2%; }
.venn-center {
  width: 36%;
  aspect-ratio: 1;
  background: var(--orange);
  color: var(--vinyl);
  font-size: clamp(13px, 1.35vw, 17px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0 6%;
}
/* Stack on small screens, but keep them OVERLAPPING vertically (still a real venn shape) */
@media (max-width: 720px) {
  .venn {
    aspect-ratio: auto;
    max-width: 280px;
    height: 440px;
  }
  .venn-circle, .venn-center {
    width: 220px; height: 220px; aspect-ratio: auto;
    left: 50%;
    font-size: 15px;
    right: auto;
  }
  .venn-left  { top: 0;   transform: translate(-50%, 0); }
  .venn-center{ top: 50%; transform: translate(-50%, -50%); width: 180px; height: 180px; font-size: 13px; }
  .venn-right { top: 100%; transform: translate(-50%, -100%); }
}
.venn-caption {
  max-width: 820px;
  font-size: 16px;
  color: rgba(242, 234, 230, 0.78);
  line-height: 1.6;
}
.venn-caption em { color: var(--orange); font-style: italic; }

/* ============ PILLARS ============ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.pillar {
  background: var(--vinyl);
  color: var(--platinum);
  padding: 32px;
  border-radius: var(--r);
  display: flex; flex-direction: column;
}
.pillar-img {
  width: 100%; height: 200px; object-fit: cover; border-radius: var(--r);
  margin-bottom: 24px;
  filter: contrast(1.05);
}
.pillar h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--orange);
}
.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(242, 234, 230, 0.85);
}
.pillar em { color: var(--orange); }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============ KPIs ============ */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.kpi {
  background: rgba(242, 234, 230, 0.04);
  border: 1px solid var(--line-light);
  padding: 24px 20px;
  border-radius: var(--r);
}
.kpi-v {
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 36px);
  color: var(--orange);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 10px;
}
.kpi-l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* ============ LIFECYCLE ============ */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.bullets { list-style: none; padding: 0; }
.bullets li {
  padding: 16px 0;
  border-bottom: 1px dashed rgba(242, 234, 230, 0.18);
  font-size: 15px; line-height: 1.55;
}
.bullets.dark li { color: var(--vinyl); border-color: rgba(22,27,16,0.18); }
.section-orange .bullets li { color: var(--vinyl); }
.bullets li strong { color: var(--vinyl); font-weight: 800; }
.section-orange .bullets li strong { color: var(--vinyl); }

.lifecycle-card {
  background: var(--vinyl);
  color: var(--platinum);
  padding: 28px;
  border-radius: var(--r);
}
.lc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.lc-row:last-child { border-bottom: none; }
.lc-row span { font-family: var(--mono); opacity: 0.7; font-size: 11px; }
.lc-row strong {
  font-family: var(--display); color: var(--orange);
  font-size: 14px; letter-spacing: 0.04em;
}

/* ============ PRODUCT — 5 BUCKETS ============ */
.buckets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.bucket {
  background: var(--vinyl);
  color: var(--platinum);
  padding: 26px 22px;
  border-radius: var(--r);
  display: flex; flex-direction: column;
  position: relative;
}
.bucket-accent {
  background: var(--orange);
  color: var(--vinyl);
}
.bk-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.5;
  margin-bottom: 14px;
}
.bucket-accent .bk-num { opacity: 0.7; }
.bk-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 14px;
}
.bucket-accent .bk-tag { color: var(--vinyl); opacity: 0.7; }
.bucket h4 {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.005em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.bucket-accent h4 { color: var(--vinyl); }
.bk-list {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.bk-list li {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(242, 234, 230, 0.82);
  padding-left: 12px;
  position: relative;
}
.bk-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
}
.bk-list li strong {
  font-family: var(--display);
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--platinum);
  font-size: 13px;
}
.bucket-accent .bk-list li {
  color: rgba(22, 27, 16, 0.85);
}
.bucket-accent .bk-list li::before { background: var(--vinyl); }
.bucket-accent .bk-list li strong { color: var(--vinyl); }
.bk-why {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(240, 150, 38, 0.3);
  color: var(--orange) !important;
  font-style: italic;
  font-size: 12px !important;
  line-height: 1.45;
}
.bucket-accent .bk-why {
  color: var(--vinyl) !important;
  border-top-color: rgba(22, 27, 16, 0.25);
  font-weight: 600;
}
@media (max-width: 1100px) {
  .buckets { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .buckets { grid-template-columns: 1fr; }
}

.product-shot {
  margin-top: 60px;
  display: flex; justify-content: center;
}
.product-shot img {
  max-width: 480px;
  width: 100%;
  border-radius: var(--r);
}

/* ============ ROADMAP ============ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.rm-card {
  background: rgba(242, 234, 230, 0.04);
  border: 1px solid var(--line-light);
  padding: 26px;
  border-radius: var(--r);
}
.rm-card-accent {
  background: var(--orange);
  color: var(--vinyl);
  border-color: var(--orange);
}
.rm-card-accent .rm-when,
.rm-card-accent h4,
.rm-card-accent p { color: var(--vinyl); }
.rm-when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 14px;
}
.rm-card h4 {
  font-family: var(--display);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1;
  margin-bottom: 14px;
}
.rm-card p { font-size: 14px; line-height: 1.55; color: rgba(242,234,230,0.82); }

.roadmap-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1180px) { .roadmap-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } .roadmap-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .roadmap { grid-template-columns: 1fr; } .roadmap-5 { grid-template-columns: 1fr; } }

.buffworld {
  margin-top: 70px;
  display: flex; justify-content: center;
}
.buffworld img {
  max-width: 380px;
  width: 100%;
  border-radius: var(--r);
}

/* ============ FOUNDER ============ */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.founder-photo img { width: 100%; border-radius: var(--r); }
.founder-mono {
  background: var(--vinyl);
  color: var(--platinum);
  padding: 32px 28px;
  border-radius: var(--r);
  border: 2px solid var(--vinyl);
  position: relative;
}
.fm-tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--orange); margin-bottom: 18px;
}
.fm-name {
  font-family: var(--display);
  font-size: 30px; line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--platinum);
}
.fm-meta { display: flex; flex-direction: column; gap: 0; }
.fm-meta > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(242,234,230,0.18);
  font-size: 12px;
}
.fm-meta > div:last-child { border-bottom: none; }
.fm-meta span { font-family: var(--mono); opacity: 0.6; letter-spacing: 0.08em; font-size: 10px; }
.fm-meta strong {
  font-family: var(--display); color: var(--orange);
  font-size: 13px; letter-spacing: 0.04em;
}
.founder-bio h3 {
  font-family: var(--display);
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.founder-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 28px;
}
.resume {
  list-style: none; padding: 0; margin-top: 12px;
}
.resume li {
  padding: 16px 0;
  border-bottom: 1px dashed rgba(22,27,16,0.18);
  font-size: 15px;
  line-height: 1.6;
}
.resume li strong {
  font-family: var(--display);
  letter-spacing: 0.04em;
  display: inline-block;
  margin-right: 2px;
  color: var(--vinyl);
}
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder-photo img { max-width: 280px; }
}

/* ============ ASK ============ */
.ask-h { color: var(--vinyl); }
.ask-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 56px;
}
.ask-card {
  background: var(--vinyl);
  color: var(--platinum);
  padding: 28px 22px;
  border-radius: var(--r);
}
.ask-k {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.ask-l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}
@media (max-width: 720px) { .ask-grid { grid-template-columns: repeat(2, 1fr); } }

.use-h {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  color: var(--vinyl);
}
.use-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.use-row {
  display: grid;
  grid-template-columns: 280px 1fr 50px;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.use-name { color: var(--vinyl); }
.use-bar {
  background: rgba(22,27,16,0.15);
  height: 14px;
  border-radius: var(--r);
  overflow: hidden;
}
.use-bar span {
  display: block; height: 100%;
  background: var(--vinyl);
}
.use-pct {
  font-family: var(--display);
  font-size: 15px;
  color: var(--vinyl);
  text-align: right;
}
@media (max-width: 720px) {
  .use-row { grid-template-columns: 1fr 50px; }
  .use-bar { grid-column: 1 / -1; }
}

.ask-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--vinyl);
  color: var(--platinum);
  padding: 60px var(--pad-x) 32px;
  border-top: 1px solid var(--line-light);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-mark { height: 28px; }
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  display: flex; flex-direction: column; gap: 4px;
}
.footer-meta a { color: var(--orange); }
.footer-skull img {
  width: 60px; opacity: 0.85;
}
.footer-tagline {
  max-width: var(--maxw);
  margin: 40px auto 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.45;
  text-transform: uppercase;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}

/* ============ BUFFED BOT ============ */
.bot-toggle {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 80;
  background: var(--orange);
  color: var(--vinyl);
  border: none;
  border-radius: 999px;
  padding: 12px 20px 12px 14px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: transform 0.2s, background 0.2s;
}
.bot-toggle:hover { transform: translateY(-3px); background: var(--platinum); }
.bot-toggle img { width: 32px; height: 32px; border-radius: 50%; background: var(--vinyl); padding: 2px; }

.bot-window {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 90;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 80px));
  background: var(--vinyl);
  border: 1px solid var(--orange);
  border-radius: 12px;
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.bot-window.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.bot-header {
  background: var(--orange);
  color: var(--vinyl);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.bot-id { display: flex; align-items: center; gap: 10px; }
.bot-id img { width: 36px; height: 36px; border-radius: 50%; background: var(--vinyl); padding: 3px; }
.bot-name {
  font-family: var(--display);
  font-size: 15px; letter-spacing: 0.06em;
}
.bot-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
  opacity: 0.85;
}
.bot-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--vinyl);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.bot-close {
  background: transparent; border: none; color: var(--vinyl);
  font-size: 24px; line-height: 1; cursor: pointer;
  font-family: var(--display);
}
.bot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--vinyl);
}
.bot-body::-webkit-scrollbar { width: 6px; }
.bot-body::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

.msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.msg.bot {
  background: rgba(240, 150, 38, 0.12);
  border: 1px solid rgba(240, 150, 38, 0.4);
  color: var(--platinum);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.msg.user {
  background: var(--platinum);
  color: var(--vinyl);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.msg em { color: var(--orange); }
.msg strong { color: var(--orange); }

.bot-suggest {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 16px 12px;
}
.bot-suggest button {
  background: transparent;
  border: 1px solid rgba(240, 150, 38, 0.4);
  color: var(--orange);
  padding: 7px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.bot-suggest button:hover {
  background: var(--orange); color: var(--vinyl);
}

.bot-input {
  display: flex;
  border-top: 1px solid var(--line-light);
  background: rgba(0,0,0,0.2);
}
.bot-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: var(--platinum);
  font-family: var(--body);
  font-size: 14px;
  outline: none;
}
.bot-input input::placeholder { color: rgba(242,234,230,0.4); }
.bot-input button {
  background: var(--orange);
  color: var(--vinyl);
  border: none;
  padding: 0 18px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.bot-input button:hover { background: var(--platinum); }

.typing {
  display: inline-flex; gap: 4px; align-items: center;
}
.typing span {
  width: 6px; height: 6px; background: var(--orange); border-radius: 50%;
  animation: typing 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
