/* Jenny - a quiet dark assistant with a cyan pulse */

:root {
  --bg: #0b0e14;
  --panel: #131824;
  --line: #232b3b;
  --text: #e6ebf5;
  --dim: #8b95a8;
  --cyan: #4fd8ff;
  --violet: #a07bff;
  --heading: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg) radial-gradient(ellipse at top, #13203a, var(--bg) 60%) fixed;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); }

.masthead, main, .footer { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

.masthead { padding-top: 64px; text-align: center; }
.eyebrow { margin: 0; color: var(--cyan); letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 6px 0; font-family: var(--heading); font-size: clamp(56px, 13vw, 110px); line-height: 1; }
.lead { margin: 0 auto 24px; max-width: 560px; color: var(--dim); font-size: 19px; }

.button {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  color: #081018;
  font: 700 14px var(--heading);
  letter-spacing: 0.08em;
  text-decoration: none;
}

/* ------------------------------------------------------------------ the pipeline */

.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 56px 0 24px;
}

.stage {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 140px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.stage .icon { font-size: 28px; }
.stage small { color: var(--dim); font-size: 12px; }

.stage.active {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(79, 216, 255, 0.35);
  transform: translateY(-3px);
}

.arrow { width: 22px; height: 2px; background: var(--line); }

/* ------------------------------------------------------------------ the chat */

.chat { max-width: 620px; margin: 0 auto 40px; display: grid; gap: 10px; }

.bubble {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  min-height: 44px;
  max-width: 85%;
}

.bubble.you { justify-self: end; background: #1d2738; }
.bubble.jenny { justify-self: start; background: linear-gradient(90deg, rgba(79, 216, 255, 0.15), rgba(160, 123, 255, 0.15)); border: 1px solid var(--line); }

/* ------------------------------------------------------------------ cards + footer */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cards > * { min-width: 0; }
.card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.card h2 { margin: 0 0 8px; font-family: var(--heading); font-size: 20px; }
.card ul { margin: 0; padding-left: 18px; }
pre { margin: 0 0 8px; padding: 10px; border-radius: 8px; background: #0a0d13; overflow-x: auto; }
code { color: var(--cyan); }

.footer { padding: 48px 16px; text-align: center; }
.footer img { max-width: 100%; height: auto; margin: 8px; vertical-align: middle; }
.small { color: var(--dim); font-size: 14px; }

@media (max-width: 700px) {
  .arrow { display: none; }
  .stage { width: 46%; }
}

@media (prefers-reduced-motion: reduce) {
  .stage { transition: none; }
}
