:root {
  --bg: #06070d;
  --bg2: #0a0c16;
  --text: #f2f4fa;
  --muted: #9aa0b4;
  --accent: #8b5cf6;
  --accent2: #22d3ee;
  --accent3: #6366f1;
  --card: rgba(255, 255, 255, 0.04);
  --card-solid: #10121e;
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(139, 92, 246, 0.35);
  --success: #34d399;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f5fb;
    --bg2: #ffffff;
    --text: #10101a;
    --muted: #5c5f72;
    --accent: #7c3aed;
    --accent2: #0891b2;
    --accent3: #4f46e5;
    --card: #ffffff;
    --card-solid: #ffffff;
    --border: #e6e4f2;
    --glow: rgba(124, 58, 237, 0.18);
    --success: #059669;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 82% -8%, var(--glow), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent2); }
a:hover { color: var(--accent); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent3) 45%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: light) {
  .site-header { background: rgba(246, 245, 251, 0.82); }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

/* The supplied logo includes a dark background and generous outer margins.
   Frame the artwork without altering the original image. */
.logo {
  display: block;
  position: relative;
  width: 244px;
  height: 52px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #06070d;
}
.logo img {
  position: absolute;
  width: 126%;
  max-width: none;
  height: auto;
  left: -13%;
  top: 50%;
  transform: translateY(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.08);
}

/* Sections */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

section:last-of-type { border-bottom: none; }

.section-tight { padding: 56px 0; }

.hero {
  padding-top: 96px;
  padding-bottom: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 14px;
}

h1 {
  font-size: 3.1rem;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-weight: 750;
}

h2 {
  font-size: 1.9rem;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
  font-weight: 650;
}

p { color: var(--text); }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
}

.muted { color: var(--muted); }

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 6px var(--accent2);
}

/* Hero visual: chat mockup + orbiting badges */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.55), rgba(34, 211, 238, 0.15) 55%, transparent 75%);
  filter: blur(10px);
  animation: pulse-orb 6s ease-in-out infinite;
}

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.chat-widget {
  position: relative;
  z-index: 2;
  width: 300px;
}

.chat-card {
  position: relative;
  width: 300px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 40px var(--glow);
  z-index: 2;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  flex-shrink: 0;
}

.chat-card-header .name { font-weight: 650; font-size: 0.9rem; }
.chat-card-header .status { font-size: 0.72rem; color: var(--success); }

.bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.bubble.in {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.bubble.out {
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.bubble.confirm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--success);
  font-weight: 600;
  margin-left: auto;
}

.float-badge {
  position: absolute;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-badge .ico { color: var(--accent2); }

.float-badge.b1 { top: -64px; left: -10px; animation: float 5s ease-in-out infinite; }
.float-badge.b2 { bottom: -20px; right: -30px; animation: float 5.5s ease-in-out infinite 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Grid + cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-3px);
  background: rgba(139, 92, 246, 0.06);
}

.card h3 { color: var(--text); }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.94rem; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.2));
  border: 1px solid var(--border);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent2);
  margin-bottom: 10px;
}

/* Also-building chip strip (hero) */
.chip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.chip-row .chip-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 2px;
}

.chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 100px;
}

/* Service rows (Services page) */
.service-list { margin-top: 40px; }

.service-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.18));
  border: 1px solid var(--border);
  box-shadow: 0 0 30px var(--glow);
}

.service-row h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.service-row .lede {
  font-size: 1rem;
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--muted);
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-pills li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Steps (How It Works) */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
}

.step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.step p { flex-grow: 1; }

.step-output {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--accent2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 11px;
  border-radius: 100px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 0 20px var(--glow);
}

/* Connect steps only when all four cards share one row. */
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 35px;
    left: calc(100% + 1px);
    width: 32px;
    height: 16px;
    background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%2322d3ee' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    opacity: 0.7;
  }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* CTA button */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  padding: 13px 26px;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: 0 10px 30px -8px var(--glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px var(--glow);
}

.cta.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.cta.secondary:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

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

/* Footer */
.site-footer {
  padding: 48px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Contact block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  margin-top: 8px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  background: var(--card);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item .ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.18));
  border: 1px solid var(--border);
}

.contact-item .label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 3px;
}

.contact-item .value {
  font-weight: 600;
  color: var(--text);
}

.contact-item .value a { color: var(--text); text-decoration: none; }
.contact-item .value a:hover { color: var(--accent2); }

/* Contact form */
.form-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  background: var(--card);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

@media (prefers-color-scheme: light) {
  .field input,
  .field textarea { background: rgba(0, 0, 0, 0.02); }
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 1.4em;
}

.form-status.success { color: var(--success); }
.form-status.error { color: #f87171; }

.form-submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font: inherit;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Section header helper */
.section-head {
  max-width: 620px;
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; margin-top: 20px; }
  .float-badge.b1 { left: -6px; top: -46px; }
  .float-badge.b2 { right: -10px; bottom: -16px; }
  .service-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding-top: 56px; }
  section { padding: 52px 0; }
  .site-header nav { width: 100%; }
  .nav-links { gap: 10px 16px; font-size: 0.88rem; }
}

/* Luminous surfaces and a live automation preview. */
.wrap { max-width: 1200px; }
body { background-image: radial-gradient(ellipse at 85% 8%, rgba(112, 67, 225, .16), transparent 40%), radial-gradient(ellipse at 0% 30%, rgba(34, 211, 238, .06), transparent 40%); }
.hero { padding: 92px 0 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 64px 64px; opacity: .25; mask-image: linear-gradient(to right, transparent 20%, #000); }
.hero-grid { grid-template-columns: 1.12fr 1fr; gap: 76px; position: relative; }
.hero h1 { font-size: clamp(3.2rem, 5.3vw, 4.6rem); letter-spacing: -.065em; line-height: 1.04; max-width: 620px; }
.hero .gradient-text { display: block; padding-bottom: .08em; }
.hero .lede { font-size: 1.05rem; line-height: 1.8; max-width: 470px; }
.hero .feature-list { gap: 10px 20px; }
.hero .feature-list li { font-size: .76rem; }
.hero .chip-row { gap: 7px; }
.hero .chip { font-size: .7rem; padding: 5px 10px; }
.hero .chip-label { font-size: .65rem; }
.nav-cta { background: var(--card); }
.hero-visual { min-width: 0; min-height: 580px; }
.orb-glow { width: 460px; height: 460px; opacity: .6; }
.chat-widget { width: 100%; max-width: 420px; }
.demo-label { display: flex; align-items: center; gap: 8px; margin: 0 8px 14px; font: 10px ui-monospace, monospace; letter-spacing: .12em; color: var(--muted); }
.demo-label > span:last-child { margin-left: auto; border: 1px solid var(--border); border-radius: 4px; padding: 3px 6px; font-size: 9px; }
.signal-dot { display: inline-block; width: 6px; height: 6px; background: var(--success); border-radius: 50%; box-shadow: 0 0 12px rgba(52,211,153,.5); flex-shrink: 0; }
.chat-card { width: 100%; padding: 0; border-radius: 22px; overflow: hidden; border-color: rgba(151,131,225,.3); box-shadow: 0 28px 70px -25px rgba(0,0,0,.6), 0 0 60px rgba(139,92,246,.12); }
.chat-card-header { margin: 0; padding: 20px; background: linear-gradient(120deg, rgba(139,92,246,.09), transparent); }
.chat-avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: white; font-size: 24px; }
.chat-card-header .name { font-size: .9rem; }
.chat-card-header .status { font-size: .66rem; margin-top: 2px; }
.chat-secure { margin-left: auto; color: var(--muted); }
.chat-thread { height: 338px; min-height: 0; padding: 20px 18px 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border) transparent; background-image: radial-gradient(var(--border) .7px, transparent .7px); background-size: 18px 18px; }
.bubble { flex-shrink: 0; max-width: 87%; font-size: .8rem; padding: 11px 14px; margin-bottom: 12px; animation: message-in .35s ease-out both; }
.bubble.in { align-self: flex-start; }
.bubble.out { background: linear-gradient(120deg, #5650b5, #7352bd); }
.bubble.confirm { display: block; min-width: 75%; background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.24); }
.bubble small { display: block; font-size: .67rem; font-weight: 400; margin-top: 5px; line-height: 1.6; color: var(--muted); }
.typing { flex-shrink: 0; }
.typing.assistant { margin-left: auto; }
.is-paused .typing span { animation-play-state: paused; }
.chat-composer { display: flex; align-items: center; gap: 9px; padding: 14px 18px; margin: 0 12px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: .67rem; }
.chat-composer span:first-child { color: var(--accent2); font-size: 19px; }
.chat-composer span:last-child { margin-left: auto; font-size: 17px; }
.demo-controls { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--border); font: 10px ui-monospace, monospace; color: var(--muted); }
#demo-count { color: var(--accent2); white-space: nowrap; }
#demo-topic { flex: 1; }
.demo-controls button { border: 0; color: var(--muted); background: transparent; font: inherit; padding: 7px 2px; cursor: pointer; white-space: nowrap; }
.demo-controls button:hover { color: var(--text); }
.demo-progress { height: 2px; background: var(--border); }
.demo-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .5s ease; }
.automation-receipt { display: flex; align-items: center; gap: 12px; margin: 15px 16px 0; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card-solid); box-shadow: 0 10px 35px rgba(0,0,0,.1); }
.receipt-icon { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; background: rgba(52,211,153,.1); color: var(--success); }
.automation-receipt div { flex: 1; min-width: 0; }
.automation-receipt small { display: block; color: var(--muted); font: 8px ui-monospace, monospace; letter-spacing: .12em; margin-bottom: 4px; }
#workflow-status { display: block; font-size: .65rem; }
@keyframes message-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .step, .contact-card, .form-card { background: linear-gradient(140deg, rgba(139,92,246,.06), transparent 70%), var(--card); border-radius: 18px; }
.card { position: relative; padding: 30px; }
.card::after { content: '↗'; position: absolute; right: 26px; top: 30px; color: var(--muted); opacity: .5; }
.card:hover { box-shadow: 0 16px 50px -28px var(--glow); }
.card-icon { font-family: ui-monospace, monospace; color: var(--accent2); font-size: 25px; background: rgba(139,92,246,.08); }
.section-head { max-width: 750px; line-height: 1.25; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.eyebrow { font-family: ui-monospace, monospace; letter-spacing: .15em; }
.closing-section { padding: 68px 24px; }
.closing-section .wrap { padding: 50px; border: 1px solid rgba(139,92,246,.25); border-radius: 24px; background: radial-gradient(ellipse at top right, rgba(139,92,246,.2), transparent 70%), var(--card); }
.closing-section h2 { max-width: 680px; }
a:focus-visible, button:focus-visible, .chat-thread:focus-visible { outline: 2px solid var(--accent2); outline-offset: 4px; }
@media (max-width: 1000px) { .hero-grid { gap: 32px; } .hero h1 { font-size: 3.5rem; } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero h1 { max-width: 650px; font-size: clamp(3rem, 8vw, 4.5rem); } .hero .lede { max-width: 600px; } .hero-visual { min-height: 0; margin-top: 0; } .chat-widget { max-width: 440px; } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .wrap { padding-left: 20px; padding-right: 20px; } .hero { padding: 48px 0 54px; } .hero h1 { font-size: 3.15rem; } .hero .lede { font-size: .98rem; } .grid-3 { grid-template-columns: 1fr; } .nav-links { gap: 10px 14px; } .nav-links a { font-size: .78rem; } .nav-cta { padding: 6px 10px; } .chat-thread { padding-left: 14px; padding-right: 14px; } .demo-controls { gap: 8px; padding-left: 14px; padding-right: 14px; font-size: 9px; } .automation-receipt { margin-left: 6px; margin-right: 6px; } .closing-section { padding: 40px 20px; } .closing-section .wrap { padding: 28px; } .footer-links { flex-wrap: wrap; gap: 8px 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 640px) { .logo { width: 220px; height: 47px; } }

/* Back-office examples read as a sequence of tasks, rather than a chat. */
.workflow-thread { gap: 0; }
.workflow-thread .bubble {
  position: relative;
  align-self: stretch;
  max-width: 100%;
  margin-left: 0;
  padding: 12px 14px 12px 37px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.workflow-thread .bubble::before {
  content: '◇';
  position: absolute;
  left: 13px;
  top: 12px;
  color: var(--accent2);
}
.workflow-thread .bubble.source { background: rgba(139, 92, 246, .09); }
.workflow-thread .bubble.source::before { content: '↓'; }
.workflow-thread .bubble.confirm { padding-left: 14px; background: rgba(52, 211, 153, .07); border-color: rgba(52, 211, 153, .24); }
.workflow-thread .bubble.confirm::before { content: none; }
.workflow-thread .typing { margin-left: 0; }
.chat-composer #demo-footer { font-size: .67rem; line-height: 1.5; color: var(--muted); margin-left: 0; }

/* Side navigation separates browsing examples from playback controls. */
.chat-widget { max-width: 420px; width: calc(100% - 40px); }
.demo-frame { position: relative; }
.demo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(151,131,225,.4);
  border-radius: 50%;
  background: var(--card-solid);
  color: var(--text);
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  font: 20px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.demo-arrow:hover { border-color: var(--accent2); background: var(--bg2); }
.demo-arrow-prev { left: -22px; }
.demo-arrow-next { right: -22px; }
.demo-controls { padding: 15px 20px; gap: 16px; }
.demo-current { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
#demo-count { font-size: 10px; letter-spacing: .06em; }
#demo-topic { color: var(--text); font: 600 14px/1.4 system-ui, sans-serif; }
#demo-playback { font: 10px/1.5 system-ui, sans-serif; color: var(--muted); }
.demo-controls #demo-pause { min-height: 40px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font: 12px system-ui, sans-serif; }
@media (max-width: 540px) {
  .demo-controls { padding: 13px 14px; gap: 8px; }
  .chat-card-header { padding: 16px 14px; }
  .chat-card-header .name { font-size: .8rem; }
  .chat-composer { padding: 10px; }
  #demo-topic { font-size: 13px; }
}
