/* =========================================================
   KARYAA.AI — Light theme, Atlas-inspired system
   Accent, ok, and alert hues carried over from the brand;
   base surfaces flipped to a clean light canvas.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* -- Canvas & surfaces (light) -- */
  --bg:            #FFFFFF;
  --bg-alt:        #F8FAFC;
  --surface:       #FFFFFF;
  --surface-raised:#F1F5F9;
  --border:        #E2E8F0;
  --border-soft:   rgba(226, 232, 240, 0.9);
  --border-faint:  rgba(226, 232, 240, 0.7);

  /* -- Brand accent & status (unchanged hues) -- */
  --accent:        #F59E0B;
  --ok:            #10B981;
  --alert:         #F43F5E;

  /* -- Text -- */
  --text:          #0F172A;
  --text-muted:    #64748B;

  --accent-dim:    rgba(245, 158, 11, 0.09);
  --accent-dim-2:  rgba(245, 158, 11, 0.16);
  --ok-dim:        rgba(16, 185, 129, 0.09);
  --alert-dim:     rgba(244, 63, 94, 0.09);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 32px -18px rgba(15, 23, 42, 0.16);
  --shadow-lift: 0 22px 40px -18px rgba(15, 23, 42, 0.20);

  --glass-bg: rgba(255, 255, 255, 0.78);

  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body{
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.wrap{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   Top rail
   --------------------------------------------------------- */
.top-rail{
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-faint);
}
.top-rail__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand{
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__badge{
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.brand__badge img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__wordmark{ display: flex; align-items: baseline; gap: 1px; }
.brand__k{ color: var(--text); }
.brand__ai{ color: var(--accent); }

/* Marketing hook bar — sits above the sticky nav */
.hook-bar{
  background: var(--text);
  color: #FFFFFF;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 20px;
}
.hook-bar strong{ color: var(--accent); font-weight: 600; }
.hook-bar a{
  margin-left: 8px;
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 2px;
  white-space: nowrap;
}
.hook-bar a:hover{ text-decoration-color: #FFFFFF; }

/* Hero brand mark — logo icon shown above the headline */
.hero__mark{
  display: inline-flex;
  margin-bottom: 20px;
}
.hero__mark img{ height: 84px; display: block; }

.tab-rail{
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1px;
}
.tab-rail::-webkit-scrollbar{ display: none; }
.tab-rail a{
  position: relative;
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.tab-rail a:hover{ color: var(--text); background: var(--surface-raised); }
.tab-rail a.is-active{ color: #B4690A; background: var(--accent-dim-2); }

.nav-cta{ flex: 0 0 auto; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--text);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{ background: #1E293B; }
.btn--accent{
  background: var(--accent);
  color: #1A1203;
  box-shadow: 0 10px 22px -10px rgba(245, 158, 11, 0.55);
}
.btn--accent:hover{ background: #E8940A; }
.btn--secondary{
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn--secondary:hover{ background: var(--surface-raised); }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero{
  padding: 64px 0 0;
  text-align: center;
}
.hero h1{
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 auto 18px;
  max-width: 22ch;
}
.hero__lede{
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto 32px;
}
.hero__actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Hero stage — with breathing room and section intro header */
.hero__stage{
  background: linear-gradient(180deg, var(--bg-alt) 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border);
  padding: 54px 0 90px;
}
.hero__stage-intro{
  text-align: center;
  margin-bottom: 28px;
}
.hero__stage-tag{
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #B4690A;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.hero__stage-title{
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.feed-window{
  max-width: 640px;
  margin: -1px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: translateY(-1px);
}
.feed-window__bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-faint);
  background: var(--bg-alt);
}
.feed-window__dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.feed-window__title{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-left: 6px;
}
.feed-window__body{ padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 16px; }
.feed-msg{ display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.feed-msg__avatar{
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  background: var(--accent-dim-2); color: #B4690A;
}
.feed-msg__body{ flex: 1; min-width: 0; }
.feed-msg__meta{ display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.feed-msg__name{ font-size: 13.5px; font-weight: 600; }
.feed-msg__time{ font-size: 12px; color: var(--text-muted); }
.feed-msg__text{ font-size: 14px; color: var(--text); line-height: 1.55; }
.feed-msg__text b{ font-weight: 600; }
.feed-msg__text .tag{ color: #B4690A; font-weight: 600; }

/* ---------------------------------------------------------
   Section shell
   --------------------------------------------------------- */
.section{ padding: 88px 0; }
.section--alt{ background: var(--bg-alt); }
.section__head{ max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head.is-left{ text-align: left; margin: 0 0 44px; max-width: 62ch; }
.section__head h2{
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.section__head p{ color: var(--text-muted); font-size: 16px; margin: 0; }

/* Feature list — plain, text-led, no card chrome (Atlas "How teams use" style) */
.feature-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.feature-list__item{
  padding: 28px 28px 0;
  border-right: 1px solid var(--border);
}
.feature-list__item:last-child{ border-right: none; }
.feature-list__item h3{
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.feature-list__item p{
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Integration strip */
.integration-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.integration-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.integration-chip__dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Mini feed cards grid (industry examples) */
.feed-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feed-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feed-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feed-card__head{
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-faint);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.feed-card__body{ padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.feed-card .feed-msg__avatar{ width: 24px; height: 24px; border-radius: 6px; font-size: 10px; }
.feed-card .feed-msg__text{ font-size: 13px; }
.feed-card .feed-msg__name{ font-size: 12.5px; }

/* Trust / blueprint section */
.trust-panel{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trust-panel__copy .section__head{ margin-bottom: 20px; }
.trust-list{ display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.trust-list__item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
}
.trust-list__item svg{ width: 16px; height: 16px; stroke: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.blueprint{
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.blueprint svg{ width: 100%; height: auto; display: block; }

/* Onboarding steps */
.onboarding{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.onboard-step{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.onboard-step__num{
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--text); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.onboard-step h3{ font-size: 15.5px; font-weight: 600; margin: 0 0 8px; }
.onboard-step p{ font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* FAQ accordion — pure HTML, no JS */
.faq{ max-width: 720px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details{ border-bottom: 1px solid var(--border); }
.faq summary{
  padding: 20px 4px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease);
  flex: 0 0 auto;
  margin-left: 16px;
}
.faq details[open] summary::after{ content: '\2212'; }
.faq p{
  padding: 0 4px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 62ch;
}

/* Closing CTA */
.cta-band{
  background: var(--text);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h3{
  color: #FFFFFF;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cta-band p{
  color: rgba(255,255,255,0.68);
  font-size: 15.5px;
  max-width: 48ch;
  margin: 0 auto 28px;
}
.cta-band .btn--accent{ box-shadow: 0 10px 26px -10px rgba(245,158,11,0.6); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer{
  padding: 44px 0 56px;
  color: var(--text-muted);
  font-size: 13.5px;
  border-top: 1px solid var(--border);
}
.site-footer .wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.footer-links a:hover{ color: var(--text); }

/* ---------------------------------------------------------
   Legacy components reused on industry-landing.html
   --------------------------------------------------------- */
.intro{ padding: 88px 0 48px; }
.intro__index{ font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); margin: 0 0 18px; }
.intro h1{ font-size: clamp(32px, 4.2vw, 46px); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 16ch; }
.intro p{ color: var(--text-muted); max-width: 54ch; font-size: 17px; margin: 0; }

.industry{ padding: 64px 0; scroll-margin-top: 88px; }
.industry + .industry{ border-top: 1px solid var(--border-faint); }
.industry__head{ display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.industry__tag{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: #B4690A; margin-bottom: 16px; }
.industry__tag::before{ content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.industry__head h2{ font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.24; letter-spacing: -0.01em; margin: 0 0 14px; }
.industry__head .lede{ color: var(--text-muted); font-size: 15.5px; max-width: 48ch; margin: 0; }
.industry__stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat{ background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.stat__value{ font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--text); display: block; letter-spacing: -0.01em; }
.stat__label{ color: var(--text-muted); font-size: 12px; margin-top: 5px; display: block; line-height: 1.35; }

.cap-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.cap-card{ background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.cap-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border); }
.cap-card__icon{ width: 36px; height: 36px; border-radius: 10px; background: var(--accent-dim-2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cap-card__icon svg{ width: 17px; height: 17px; stroke: #B4690A; }
.cap-card h3{ font-size: 15.5px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.005em; }
.cap-card p{ color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }

.workflow{ background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 28px 28px 26px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.workflow__label{ font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin: 0 0 24px; }
.workflow__steps{ display: flex; gap: 28px; position: relative; }
.workflow__steps::before{ content: ''; position: absolute; top: 14px; left: 14px; right: 14px; height: 1px; background: var(--border); z-index: 0; }
.wstep{ position: relative; flex: 1; min-width: 0; z-index: 1; }
.wstep__num{ width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11.5px; color: #B4690A; margin-bottom: 16px; }
.wstep h4{ font-size: 14px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.005em; }
.wstep p{ font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

.status-strip{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.badge{ display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border-soft); }
.badge__dot{ width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.badge--ok{ color: #0B815A; } .badge--ok .badge__dot{ background: var(--ok); }
.badge--alert{ color: #C7274A; } .badge--alert .badge__dot{ background: var(--alert); }
.badge--neutral{ color: var(--text-muted); } .badge--neutral .badge__dot{ background: var(--text-muted); }

.cta-row{ display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border-faint); }
.cta-row p{ color: var(--text-muted); font-size: 14px; margin: 0; max-width: 42ch; }
.cta-row > div{ display: flex; gap: 12px; flex-wrap: wrap; }

.industry-preview-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-link-card{ display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.industry-link-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border); }
.industry-link-card__row{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.industry-link-card__row h3{ font-size: 15.5px; font-weight: 600; margin: 0; letter-spacing: -0.005em; }
.industry-link-card__row svg{ width: 15px; height: 15px; stroke: var(--text-muted); flex: 0 0 auto; transition: transform 0.25s var(--ease), stroke 0.25s var(--ease); }
.industry-link-card:hover .industry-link-card__row svg{ transform: translate(2px, -2px); stroke: var(--accent); }
.industry-link-card p{ font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------------------------------------------------------
   Motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference){
  .industry{ opacity: 0; transform: translateY(14px); animation: rise 0.6s var(--ease) forwards; animation-timeline: view(); animation-range: entry 0% cover 18%; }
  @keyframes rise{ to{ opacity: 1; transform: translateY(0); } }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 900px){
  .industry__head{ grid-template-columns: 1fr; align-items: start; }
  .cap-grid{ grid-template-columns: 1fr 1fr; }
  .feature-list{ grid-template-columns: 1fr; }
  .feature-list__item{ border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
  .feature-list__item:last-child{ border-bottom: none; }
  .feed-grid{ grid-template-columns: 1fr; }
  .trust-panel{ grid-template-columns: 1fr; gap: 32px; }
  .onboarding{ grid-template-columns: 1fr; }
  .industry-preview-grid{ grid-template-columns: 1fr 1fr; }
  .top-rail__inner{ flex-wrap: wrap; gap: 12px; padding: 12px 24px; }
  .tab-rail{ order: 3; width: 100%; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
}
@media (max-width: 720px){
  .workflow__steps{ flex-wrap: wrap; row-gap: 24px; }
  .workflow__steps::before{ display: none; }
  .wstep{ flex: 0 0 calc(50% - 14px); }
}
@media (max-width: 560px){
  .wrap{ padding: 0 18px; }
  .cap-grid{ grid-template-columns: 1fr; }
  .industry__stats{ grid-template-columns: 1fr 1fr; }
  .wstep{ flex: 0 0 100%; }
  .cta-row{ align-items: flex-start; }
  .top-rail__inner{ flex-wrap: wrap; gap: 10px; padding: 10px 18px; }
  .tab-rail{ order: 3; width: 100%; -webkit-overflow-scrolling: touch; }
  .industry-preview-grid{ grid-template-columns: 1fr; }
  .cta-band{ padding: 32px 18px; }
  .site-footer .wrap{ flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links{ gap: 10px 16px; }
}

/* ===========================================================
   WORKFLOW DETAIL PAGES (workflow-*.html)
   =========================================================== */
.breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a:hover{ color: var(--text); }
.breadcrumb span{ color: var(--border); }

.detail-steps{
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.detail-step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.detail-step:first-child{ border-top: none; }
.detail-step__num{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}
.detail-step h3{
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.detail-step p{
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 62ch;
}
.detail-step__example{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  max-width: fit-content;
}
.detail-step__example b{ color: #B4690A; font-weight: 600; white-space: nowrap; }

/* Before / after comparison */
.before-after{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.ba-col{
  border-radius: var(--radius-md);
  padding: 22px 24px;
  border: 1px solid var(--border);
}
.ba-col--before{ background: var(--bg-alt); }
.ba-col--after{ background: var(--surface); box-shadow: var(--shadow-sm); }
.ba-col__label{
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 14px;
  display: block;
}
.ba-col--before .ba-col__label{ color: var(--text-muted); }
.ba-col--after .ba-col__label{ color: #B4690A; }
.ba-col ul{ margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ba-col li{ font-size: 14px; line-height: 1.5; padding-left: 20px; position: relative; }
.ba-col--before li::before{ content: '−'; position: absolute; left: 0; color: var(--text-muted); font-weight: 600; }
.ba-col--after li::before{ content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 600; }

/* ===========================================================
   BOOK A DEMO PAGE
   =========================================================== */
.demo-layout{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.demo-panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.field{ margin-bottom: 18px; }
.field label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim-2);
}
.field textarea{ resize: vertical; min-height: 84px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-submit{ width: 100%; justify-content: center; margin-top: 6px; }
.demo-note{
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}
.demo-note a{ color: #B4690A; font-weight: 500; }
.demo-note.is-live{ color: var(--ok); font-weight: 500; }

.demo-aside h3{ font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.demo-expect{ display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.demo-expect__item{ display: flex; gap: 12px; align-items: flex-start; }
.demo-expect__num{
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-dim-2); color: #B4690A;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.demo-expect__item p{ font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.demo-direct{
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.demo-direct a{ color: var(--text); font-weight: 600; }

@media (max-width: 860px){
  .before-after{ grid-template-columns: 1fr; }
  .demo-layout{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
}

/* ===========================================================
   AGENT SHOWCASE & SWITCHER (matching Image 1)
   =========================================================== */
.agent-showcase{
  width: 100%;
  margin: 0 auto;
}

.agent-tabs{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.agent-tab{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.agent-tab:hover{
  border-color: var(--text-muted);
  color: var(--text);
}
.agent-tab.is-active{
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}
.agent-tab__icon{
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.agent-tab__icon svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.agent-tab__dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F43F5E;
  display: inline-block;
  margin-left: 2px;
}

.agent-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.agent-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  text-align: left;
  position: relative;
}
.agent-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.45);
}
.agent-card.is-active-voice{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim-2), var(--shadow-md);
}

.agent-card__header{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.agent-card__avatar{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.agent-card__avatar svg{
  width: 20px;
  height: 20px;
}
.agent-card__avatar--amber{ background: #FFF7ED; color: #EA580C; }
.agent-card__avatar--blue{ background: #EFF6FF; color: #2563EB; }
.agent-card__avatar--coral{ background: #FFF1F2; color: #E11D48; }
.agent-card__avatar--indigo{ background: #EEF2FF; color: #4F46E5; }
.agent-card__avatar--emerald{ background: #ECFDF5; color: #059669; }
.agent-card__avatar--purple{ background: #FAF5FF; color: #9333EA; }

.agent-card__meta{
  flex: 1;
  min-width: 0;
}

.agent-card__title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.agent-card__name{
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}

.agent-card__badge{
  display: none;
}

.agent-card__sub{
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0;
}

.agent-card__bullets{
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.agent-card__bullets li{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

.agent-card__bullets li svg{
  width: 14px;
  height: 14px;
  stroke: #F59E0B;
  stroke-width: 2.2;
  flex: 0 0 auto;
  margin-top: 2px;
}

.agent-card__demo{
  background: #F8FAFC;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 14px 10px;
  margin-top: auto;
}

.agent-card__demo-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.agent-card__demo-title{
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.agent-card__voice-btn{
  background: transparent;
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #B4690A;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s var(--ease);
}
.agent-card__voice-btn:hover{
  background: var(--accent-dim-2);
  border-color: var(--accent);
}
.agent-card__voice-btn svg{
  width: 11px;
  height: 11px;
  stroke: currentColor;
}

.agent-bubble--user{
  background: #EDF2F7;
  color: var(--text);
  border-radius: 12px;
  padding: 7px 11px;
  font-size: 12.5px;
  line-height: 1.4;
  display: inline-block;
  max-width: 90%;
  margin-bottom: 8px;
  text-align: left;
}

.agent-bubble--agent{
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 6px;
  text-align: left;
}

.agent-card__metric{
  text-align: right;
  font-size: 11.5px;
  font-weight: 600;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin: 0;
}

@media (min-width: 769px) and (max-width: 1024px){
  .agent-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .agent-tabs{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 28px;
    padding: 0;
  }
  .agent-tab{
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    padding: 10px 12px;
    min-height: 44px;
  }
}
@media (max-width: 768px){
  .agent-grid{
    grid-template-columns: 1fr;
  }
  .agent-tabs{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-bottom: 24px;
    padding: 0;
    overflow: visible;
  }
  .agent-tab{
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    padding: 8px 6px;
    white-space: normal;
    min-height: 44px;
    line-height: 1.25;
    gap: 6px;
  }
  .agent-tab span:not(.agent-tab__icon):not(.agent-tab__dot){
    font-size: 12px;
  }
}
@media (max-width: 420px){
  .agent-tab{
    font-size: 11px;
    padding: 7px 4px;
  }
  .agent-tab span:not(.agent-tab__icon):not(.agent-tab__dot){
    font-size: 11px;
  }
  .agent-tab__icon{
    width: 14px;
    height: 14px;
  }
}

.agent-switch{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.agent-switch button{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.agent-switch button:hover{ color: var(--text); border-color: var(--text-muted); }
.agent-switch button.is-active{
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
}
.feed-window__title.is-typing::after{
  content: '';
}

/* ===========================================================
   SANDBOX vs PRODUCTION
   =========================================================== */
.sp-toggle{
  display: inline-flex;
  padding: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  margin: 0 auto 8px;
}
.sp-toggle button{
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.sp-toggle button.is-active{
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.sp-toggle-wrap{ display: flex; justify-content: center; margin-bottom: 8px; }

/* journey strip */
.sp-journey{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto 44px;
}
.sp-journey__step{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--border);
  transition: color 0.4s var(--ease);
  padding: 0 14px;
}
.sp-journey__step.is-lit{ color: #B4690A; }
.sp-journey__step .sp-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); flex: 0 0 auto;
  transition: background 0.4s var(--ease);
}
.sp-journey__step.is-lit .sp-dot{ background: var(--accent); }
.sp-journey__line{
  flex: 1; height: 1px; background: var(--border); min-width: 16px;
  transition: background 0.4s var(--ease);
}
.sp-journey__line.is-lit{ background: var(--accent); }

.sp-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.sp-col{
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 26px 26px 28px;
  background: var(--surface);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.sp-col.is-dim{ opacity: 0.45; transform: scale(0.99); }
.sp-col__head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sp-col h3{ font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.005em; }
.sp-col .sp-pill{
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.sp-col--sandbox .sp-pill{ background: var(--accent-dim-2); color: #B4690A; }
.sp-col--production .sp-pill{ background: var(--ok-dim); color: #0B815A; }
.sp-col p.sp-desc{ color: var(--text-muted); font-size: 14px; margin: 0 0 18px; }
.sp-features{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-features li{ display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; }
.sp-features li svg{ width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; }
.sp-col--sandbox .sp-features li svg{ stroke: #B4690A; }
.sp-col--production .sp-features li svg{ stroke: var(--ok); }

.sp-demo{
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  max-width: 560px;
  margin: 0 auto;
}
.sp-demo__label{ font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin: 0 0 14px; }
.sp-demo__msg{ font-size: 14px; margin-bottom: 8px; }
.sp-demo__msg b{ font-weight: 600; }
.sp-demo__actions{ display: flex; gap: 8px; margin: 16px 0 10px; flex-wrap: wrap; }
.sp-demo__actions button{
  font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.sp-demo__actions button.primary{ background: var(--text); color: #fff; border-color: var(--text); }
.sp-demo__note{ font-size: 12.5px; color: var(--text-muted); font-style: italic; }

@media (max-width: 800px){
  .sp-grid{ grid-template-columns: 1fr; }
  .sp-journey{ display: none; }
}

/* ===========================================================
   CHATBOT SECTION — Interactive Operations Assistant (Arya)
   UX Heatmap Balanced Architecture:
   - Equal vertical spread between Left (Arya Profile) & Right (Console)
   - High visual saliency in prime fixation zones (Avatar, CTAs, Input)
   - Low visual friction, zero awkward dead spaces
   =========================================================== */
.chat-section,
.voice-section{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 36px;
  position: relative;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chat-section.is-highlighted,
.voice-section.is-highlighted{
  border-color: #4F46E5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.22), var(--shadow-lift);
}

.chat-layout,
.voice-layout{
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Left Column: Assistant Profile & Status */
.chat-avatar-col,
.voice-avatar-col{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.chat-panel,
.voice-panel{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.avatar-stage{
  position: relative;
  width: 155px;
  height: 155px;
  margin: 0 auto;
}
.avatar-glow{
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.22), rgba(79, 70, 229, 0) 70%);
  animation: avatarGlow 3.4s ease-in-out infinite;
}
@keyframes avatarGlow{ 0%,100%{ opacity: 0.5; transform: scale(0.96); } 50%{ opacity: 1; transform: scale(1.05); } }

.avatar-photo-wrap{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(150deg, #F8FAFC, #EDF2F7);
  border: 3px solid #FFFFFF;
  box-shadow: 0 10px 24px -6px rgba(15,23,42,0.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  animation: avatarBreathe 4.2s ease-in-out infinite;
}
@keyframes avatarBreathe{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.02); } }
.avatar-photo-wrap img{
  width: 108%;
  height: auto;
  display: block;
  position: relative;
  top: 6px;
}

.avatar-status-dot{
  position: absolute;
  bottom: 6px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.avatar-info-block{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.avatar-label{
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 2px;
}
.avatar-sublabel{
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 8px;
}

.chat-status-pill{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.chat-status-dot-pulse{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Capability Badges Grid */
.avatar-cap-tags{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  width: 100%;
}
.cap-tag{
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
.cap-tag svg{
  width: 13px;
  height: 13px;
  stroke: #10B981;
  flex: 0 0 auto;
}

.chat-cta-row{
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}
.chat-cta-row .btn{
  flex: 1 1 0%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  min-height: 40px;
  box-sizing: border-box;
  white-space: nowrap;
}

.lang-block{
  width: 100%;
}
.lang-label{
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.lang-demo-row{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.lang-chip{
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.lang-chip:hover{
  background: #E2E8F0;
  border-color: #CBD5E1;
}
.lang-chip.is-active{
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
}

/* Right Column: Chat Console */
.chat-panel,
.voice-panel{
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.chat-panel__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.chat-panel__info{
  display: flex;
  flex-direction: column;
}
.chat-panel__title{
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}
.chat-panel__sub{
  color: var(--text-muted);
  font-size: 12px;
}
.lang-select{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  cursor: pointer;
}

.quick-chips-wrap{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-chips-label{
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.quick-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-chips button{
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  line-height: 1.4;
}
.quick-chips button:hover{
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #3730A3;
  transform: translateY(-1px);
}

.convo-area{
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  min-height: 250px;
  max-height: 270px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.convo-msg{
  max-width: 86%;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px;
}
.convo-msg--user{
  background: #EDF2F7;
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.convo-msg--agent{
  background: #0F172A;
  color: #FFFFFF;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.convo-msg--agent strong{
  color: #FBBF24;
}
.convo-msg.is-typing{
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}
.typing-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: typingPulse 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2){ animation-delay: 0.2s; }
.typing-dot:nth-child(3){ animation-delay: 0.4s; }
@keyframes typingPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
}

.chat-input-row{
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chat-input-row:focus-within{
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.chat-input-row input{
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
  padding: 6px 0;
}
.chat-input-row input::placeholder{ color: #94A3B8; }
.send-btn{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #0F172A;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.send-btn svg{ width: 16px; height: 16px; stroke: #FFFFFF; }
.send-btn:hover{ background: #4F46E5; transform: scale(1.05); }

@media (max-width: 900px){
  .chat-layout,
  .voice-layout{
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .chat-section,
  .voice-section{ padding: 28px 20px; }
  .avatar-cap-tags{ grid-template-columns: repeat(2, 1fr); }
  .chat-avatar-col,
  .chat-panel{
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* floating assistant */
.floating-assistant{
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0F172A;
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 6px;
  box-shadow: 0 14px 32px -12px rgba(15,23,42,0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.2s var(--ease);
}
.floating-assistant:hover{
  box-shadow: 0 16px 36px -10px rgba(15,23,42,0.5), 0 0 0 2px #4F46E5;
}
.floating-assistant.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-assistant__photo{
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #2A3050, #1B1F3B);
  border: 2px solid #FFFFFF;
  display: flex; align-items: flex-end; justify-content: center;
  flex: 0 0 auto;
}
.floating-assistant__photo img{ width: 118%; height: auto; display: block; position: relative; top: 3px; }
.floating-assistant__text{ color: #fff; font-size: 13px; font-weight: 600; }
.floating-assistant__text small{ display: block; font-weight: 400; color: rgba(255,255,255,0.7); font-size: 11px; }

@media (max-width: 560px){
  .voice-panel__top,
  .chat-panel__top{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .chat-panel__info{
    width: 100%;
  }
  .lang-select{
    width: 100%;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .avatar-stage{ width: 140px; height: 140px; }
}

/* Chat Contact Box & Highlight Chip */
.chat-contact-box{
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11.5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.chat-contact-box a{
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.chat-contact-box a:hover{
  color: #4F46E5;
  text-decoration: underline;
}
.chat-contact-line{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.chat-contact-line svg{
  width: 14px;
  height: 14px;
  stroke: #4F46E5;
  flex: 0 0 auto;
}
.quick-chips button.chip-book-demo{
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #B45309;
  font-weight: 600;
}
.quick-chips button.chip-book-demo:hover{
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

/* WhatsApp Button */
.btn--whatsapp{
  background: #25D366;
  color: #FFFFFF !important;
  border-color: #25D366;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.5);
  transition: all 0.2s var(--ease);
}
.btn--whatsapp:hover{
  background: #20BD5A;
  border-color: #20BD5A;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* CTA Band Button Row & High-Contrast Contact Strip */
.cta-band__btn-row{
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}
.cta-contact-strip{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.cta-contact-pill{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.cta-contact-pill svg{
  flex: 0 0 auto;
}
.cta-contact-pill strong{
  font-weight: 600;
}
.cta-contact-pill a{
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.cta-contact-pill a:hover{
  color: #FBBF24;
  text-decoration-color: #FBBF24;
}
.cta-contact-pill:hover{
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.cta-contact-pill--email svg{
  stroke: #93C5FD;
}
.cta-contact-pill--email strong{
  color: #BFDBFE;
}
.cta-contact-pill--email:hover strong{
  color: #FFFFFF;
}
.cta-contact-pill--wa{
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.45);
}
.cta-contact-pill--wa svg{
  fill: #25D366;
}
.cta-contact-pill--wa strong{
  color: #4ADE80;
}
.cta-contact-pill--wa:hover{
  background: rgba(37, 211, 102, 0.26);
  border-color: #25D366;
}
.cta-contact-pill--wa:hover strong{
  color: #86EFAC;
}
.cta-contact-pill--phone svg{
  stroke: #FBBF24;
}
.cta-contact-pill--phone strong{
  color: #FDE68A;
}
.cta-contact-pill--phone a strong{
  color: #FDE68A;
}
.cta-contact-pill--phone a:hover strong{
  color: #FFFFFF;
}

/* Contact info brought down below CTA card */
.cta-bottom-contact{
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.cta-bottom-contact__label{
  font-weight: 600;
  color: var(--text);
}
.cta-bottom-contact__item{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.cta-bottom-contact__item:hover{
  color: #B45309;
}
.cta-bottom-contact__item a{
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(15, 23, 42, 0.25);
  text-underline-offset: 3px;
  transition: all 0.15s ease;
}
.cta-bottom-contact__item a:hover{
  color: #B45309;
  text-decoration-color: #B45309;
}
.cta-bottom-contact__item svg{
  flex: 0 0 auto;
}
.cta-bottom-contact__item--wa{
  color: #059669;
}
.cta-bottom-contact__item--wa strong{
  color: #059669;
}
.cta-bottom-contact__item--wa:hover{
  color: #047857;
}
.cta-bottom-contact__item--wa:hover strong{
  color: #047857;
}
.cta-bottom-contact__sep{
  color: var(--border);
  user-select: none;
}

@media (max-width: 640px){
  .cta-bottom-contact{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .cta-bottom-contact__sep{
    display: none;
  }
  .cta-bottom-contact__item{
    justify-content: center;
    font-size: 13.5px;
  }
}

@media (max-width: 600px){
  .demo-panel{
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
  .demo-layout{
    gap: 32px;
  }
}

/* Showcase Explore Bar for Industry Workflows */
.showcase-explore-bar{
  width: 100%;
  box-sizing: border-box;
  margin-top: 28px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
  transition: all 0.3s var(--ease);
}
.showcase-explore-bar:hover{
  border-color: #93C5FD;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.showcase-explore-bar__copy{
  flex: 1 1 300px;
  min-width: 0;
}
.showcase-explore-bar__tag{
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2563EB;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.showcase-explore-bar__title{
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.showcase-explore-bar__desc{
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.showcase-explore-bar__actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.agent-card__footer-link{
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  text-align: right;
}
.agent-card__footer-link a{
  font-size: 12px;
  font-weight: 600;
  color: #B4690A;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.agent-card__footer-link a:hover{
  color: var(--text);
  text-decoration: underline;
}

/* Industry Nav Banner at bottom of #industries */
.industry-nav-banner{
  width: 100%;
  box-sizing: border-box;
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.industry-nav-banner__info{
  flex: 1 1 300px;
  min-width: 0;
}
.industry-nav-banner__tag{
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2563EB;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.industry-nav-banner__info h3{
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}
.industry-nav-banner__info p{
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.industry-nav-banner__actions{
  flex: 0 0 auto;
}

@media (max-width: 820px){
  .showcase-explore-bar{
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 20px 18px;
    gap: 16px;
  }
  .showcase-explore-bar__actions{
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .showcase-explore-bar__actions .btn{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .industry-nav-banner{
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
    gap: 16px;
  }
  .industry-nav-banner__actions{
    width: 100%;
  }
  .industry-nav-banner__actions .btn{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px){
  .site-footer{
    padding: 32px 0 40px;
    text-align: center;
  }
  .site-footer .wrap{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    width: 100%;
  }
  .site-footer span{
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
  }
  .footer-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
  }
  .footer-links a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s var(--ease);
  }
  .footer-links a:hover{
    background: var(--text);
    color: #FFFFFF;
    border-color: var(--text);
  }
}

@media (max-width: 480px){
  .hook-bar{
    font-size: 11.5px;
    padding: 6px 10px;
    line-height: 1.4;
  }
  .hero{
    padding: 32px 0 0;
  }
  .hero__mark img{
    height: 56px;
  }
  .hero h1{
    font-size: clamp(23px, 6.2vw, 27px);
    line-height: 1.22;
    letter-spacing: -0.015em;
  }
  .hero__lede{
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .hero__actions{
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 32px;
  }
  .hero__actions .btn{
    width: 100%;
    justify-content: center;
  }
  
  /* Heading typography scaling on phone */
  .section{
    padding: 56px 0;
  }
  .section__head{
    margin-bottom: 32px;
  }
  .section__head h2{
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .section__head p{
    font-size: 13.5px;
    line-height: 1.5;
  }
  .hero__stage{
    padding: 36px 0 60px;
  }
  .hero__stage-title{
    font-size: 18px;
    line-height: 1.3;
  }
  .cta-band{
    padding: 28px 18px;
  }
  .cta-band h3{
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .cta-band p{
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* Chatbot UI Unconstrained on Mobile */
  .chat-section,
  .voice-section{
    padding: 14px 10px;
    border-radius: var(--radius-md);
  }
  .chat-layout,
  .voice-layout{
    gap: 14px;
  }
  .chat-avatar-col,
  .voice-avatar-col{
    padding: 16px 12px;
    gap: 10px;
  }
  .avatar-stage{
    width: 76px;
    height: 76px;
  }
  .avatar-label{
    font-size: 17px;
  }
  .avatar-sublabel{
    font-size: 11.5px;
    margin-bottom: 4px;
  }
  .chat-panel,
  .voice-panel{
    padding: 14px 10px;
    gap: 12px;
  }
  .chat-panel__title{
    font-size: 14px;
  }
  .chat-panel__sub{
    font-size: 11.5px;
  }
  .quick-chips{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 4px;
  }
  .quick-chips::-webkit-scrollbar{
    display: none;
  }
  .quick-chips button{
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 11px;
    font-size: 11.5px;
  }
  .convo-area{
    padding: 14px 10px;
    min-height: 350px;
    max-height: 480px;
  }
  .convo-msg{
    max-width: 90%;
    font-size: 13.5px;
    padding: 9px 12px;
    line-height: 1.45;
  }
  .chat-input-row{
    padding: 4px 6px 4px 12px;
  }
  .chat-input-row input{
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
  }
  .send-btn{
    width: 36px;
    height: 36px;
  }
  .floating-assistant{
    bottom: 16px;
    right: 16px;
    padding: 5px 12px 5px 5px;
    max-width: calc(100vw - 32px);
  }
  .agent-card{
    padding: 16px 14px 14px;
  }
  .agent-card__name{
    font-size: 14px;
  }
  .detail-step{
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .detail-step__num{
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .detail-step h3{
    font-size: 15.5px;
  }
  .detail-step p{
    font-size: 13.5px;
  }
  .detail-step__example{
    font-size: 12px;
    padding: 7px 10px;
  }
  .intro{
    padding: 48px 0 28px;
  }
  .intro h1{
    font-size: 23px;
    line-height: 1.22;
  }
  .intro p{
    font-size: 14px;
  }
  .industry{
    padding: 38px 0;
  }
  .industry__head h2{
    font-size: 19px;
    line-height: 1.25;
  }
  .industry__head .lede{
    font-size: 13.5px;
  }
  .industry__stats{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .onboard-step h3{
    font-size: 15px;
  }
  .onboard-step p{
    font-size: 13px;
  }
  .faq details summary{
    font-size: 14.5px;
  }
  .faq p{
    font-size: 13.5px;
  }
}



