/* ============================================================
   Welka — shared stylesheet
   ============================================================ */

:root{
  --bg:#0a0a0b;
  --bg-elev:#111114;
  --ink:#f5f1ea;
  --ink-dim:#a8a39b;
  --ink-fade:#55514c;
  --line:#1f1f22;
  --line-soft:rgba(255,255,255,0.07);
  --accent:#ff6b35;
  --accent-soft:rgba(255,107,53,0.12);
  --accent-line:rgba(255,107,53,0.32);
  --good:#4ade80;
  --grid: rgba(255,255,255,0.035);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
/* Anchors must clear the 64px sticky nav so #features etc. land below it */
section[id], [id^="step"], div[id], h2[id], h3[id]{scroll-margin-top:80px}
body{
  font-family:'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.55;
  font-weight:400;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
img{max-width:100%;display:block}
.serif{font-family:'Fraunces', serif}
.mono{font-family:'JetBrains Mono', monospace;font-weight:400}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
em{font-style:italic;color:var(--accent)}

/* ============================================================ NAV */
nav.site-nav{
  position:sticky;top:0;z-index:50;
  background:rgba(10,10,11,0.85);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.nav-wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;max-width:1180px;margin:0 auto;padding:0 24px;
}
.brand{font-family:'Fraunces', serif;font-size:24px;font-weight:600;letter-spacing:-0.02em}
.brand em{font-style:italic;font-weight:400;color:var(--accent)}
.nav-links{display:flex;gap:32px;align-items:center}
.nav-links a{font-size:14px;color:var(--ink-dim);transition:color .2s}
.nav-links a:hover{color:var(--ink)}
.nav-cta{
  background:var(--accent);color:#0a0a0b!important;
  padding:9px 18px;border-radius:8px;font-weight:600;font-size:14px;
  transition:transform .15s,box-shadow .15s;
}
.nav-cta:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(255,107,53,0.35)}

/* Hamburger menu (mobile) */
.nav-burger{
  display:none;width:40px;height:40px;border-radius:8px;
  align-items:center;justify-content:center;cursor:pointer;
  border:1px solid var(--line);background:transparent;
}
.nav-burger span{
  display:block;width:18px;height:2px;background:var(--ink);position:relative;
}
.nav-burger span::before, .nav-burger span::after{
  content:'';position:absolute;left:0;width:18px;height:2px;background:var(--ink);
  transition:transform .2s;
}
.nav-burger span::before{top:-6px}
.nav-burger span::after{top:6px}
.nav-burger.open span{background:transparent}
.nav-burger.open span::before{top:0;transform:rotate(45deg)}
.nav-burger.open span::after{top:0;transform:rotate(-45deg)}

@media(max-width:760px){
  .nav-burger{display:flex}
  .nav-links{
    position:fixed;top:64px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:rgba(10,10,11,0.98);backdrop-filter:blur(20px);
    border-bottom:1px solid var(--line);
    padding:16px 24px 24px;
    transform:translateY(-120%);transition:transform .25s ease-out;
    z-index:49;
  }
  .nav-links.open{transform:translateY(0)}
  .nav-links a{
    padding:14px 0;font-size:16px;color:var(--ink);
    border-bottom:1px solid var(--line-soft);
  }
  .nav-links a:last-child{border-bottom:none}
  .nav-links .nav-cta{
    margin-top:14px;text-align:center;color:#0a0a0b!important;
    border-bottom:none;
  }
}

/* ============================================================ HERO */
.hero{
  padding:96px 0 80px;
  position:relative;
  overflow:hidden;
}
@media(max-width:760px){
  .hero{padding:56px 0 48px}
  .hero-cta{margin-bottom:32px}
}
.hero::before{
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:48px 48px;
  pointer-events:none;
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-family:'JetBrains Mono', monospace;
  font-size:12px;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--accent);
  padding:6px 14px;
  border:1px solid var(--accent-line);
  background:var(--accent-soft);
  border-radius:100px;
  margin-bottom:28px;
}
.hero-eyebrow .dot{
  width:6px;height:6px;border-radius:50%;background:var(--accent);
  box-shadow:0 0 12px var(--accent);
}
.hero h1{
  font-family:'Fraunces', serif;
  font-size:clamp(40px, 6.5vw, 76px);
  font-weight:300;
  line-height:1.05;
  letter-spacing:-0.025em;
  margin-bottom:24px;
  max-width:920px;
}
.hero h1 em{font-weight:400;font-style:italic}
.hero-sub{
  font-size:clamp(18px, 1.6vw, 22px);
  color:var(--ink-dim);
  max-width:680px;
  margin-bottom:40px;
}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:48px}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 26px;border-radius:10px;font-size:15px;font-weight:600;
  transition:all .2s;cursor:pointer;
}
.btn-primary{background:var(--accent);color:#0a0a0b}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 36px rgba(255,107,53,0.4)}
.btn-ghost{border:1px solid var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink-dim)}
.hero-pills{
  display:flex;gap:24px;flex-wrap:wrap;color:var(--ink-fade);
  font-family:'JetBrains Mono', monospace;font-size:13px;
}
.hero-pills span{display:inline-flex;align-items:center;gap:8px}
.hero-pills span::before{content:'●';color:var(--accent);font-size:8px}

/* ============================================================ SECTIONS */
section.block{padding:96px 0;border-top:1px solid var(--line)}
@media(max-width:760px){
  section.block{padding:56px 0}
  .section-lead{font-size:17px;margin-bottom:40px}
}
.section-label{
  font-family:'JetBrains Mono', monospace;
  font-size:12px;letter-spacing:0.16em;text-transform:uppercase;
  color:var(--accent);margin-bottom:20px;
}
.section-title{
  font-family:'Fraunces', serif;
  font-size:clamp(32px, 4.5vw, 56px);
  font-weight:300;line-height:1.1;letter-spacing:-0.02em;
  margin-bottom:24px;max-width:880px;
}
.section-lead{
  font-size:20px;color:var(--ink-dim);max-width:680px;margin-bottom:64px;
}

/* ============================================================ FEATURES GRID */
.feat-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
}
@media(max-width:760px){.feat-grid{grid-template-columns:1fr}}
.feat{
  border:1px solid var(--line);border-radius:18px;padding:36px 32px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition:border-color .2s, transform .2s;
}
.feat:hover{border-color:var(--accent-line);transform:translateY(-2px)}
.feat-icon{
  width:48px;height:48px;border-radius:12px;
  background:var(--accent-soft);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:24px;
}
.feat-icon svg{width:24px;height:24px;stroke:var(--accent);fill:none;stroke-width:1.6}
.feat h3{
  font-family:'Fraunces', serif;font-size:26px;font-weight:500;
  margin-bottom:12px;letter-spacing:-0.01em;
}
.feat p{color:var(--ink-dim);font-size:16px;line-height:1.6}

/* ============================================================ STEPS */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media(max-width:900px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.steps{grid-template-columns:1fr}}
.step{
  border-left:2px solid var(--line);
  padding:8px 0 8px 24px;
  position:relative;
}
.step::before{
  content:'';position:absolute;left:-7px;top:8px;
  width:12px;height:12px;border-radius:50%;
  background:var(--bg);border:2px solid var(--accent);
}
.step-num{
  font-family:'JetBrains Mono', monospace;font-size:12px;
  letter-spacing:0.16em;color:var(--accent);margin-bottom:8px;
}
.step h4{
  font-family:'Fraunces', serif;font-size:22px;font-weight:500;
  margin-bottom:8px;letter-spacing:-0.01em;
}
.step p{color:var(--ink-dim);font-size:15px;line-height:1.55}

/* ============================================================ INDUSTRY GRID */
.ind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:900px){.ind-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ind-grid{grid-template-columns:1fr}}
.ind-card{
  display:block;border:1px solid var(--line);border-radius:16px;
  padding:28px 28px 24px;
  background:rgba(255,255,255,0.015);
  transition:all .25s;text-decoration:none;color:inherit;
  position:relative;overflow:hidden;
}
.ind-card:hover{
  border-color:var(--accent-line);
  transform:translateY(-3px);
  background:rgba(255,107,53,0.03);
}
.ind-card-icon{
  width:42px;height:42px;border-radius:10px;background:var(--accent-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.ind-card-icon svg{width:22px;height:22px;stroke:var(--accent);fill:none;stroke-width:1.6}
.ind-card h3{
  font-family:'Fraunces', serif;font-size:22px;font-weight:500;margin-bottom:6px;
}
.ind-card p{color:var(--ink-dim);font-size:14px;line-height:1.5;margin-bottom:14px}
.ind-card .arr{
  font-family:'JetBrains Mono', monospace;font-size:12px;color:var(--accent);
  display:inline-flex;align-items:center;gap:6px;letter-spacing:0.05em;
}
.ind-card:hover .arr{transform:translateX(2px)}

/* ============================================================ SCENARIO BLOCK */
.scenario{
  border:1px solid var(--line);border-radius:16px;
  padding:32px;background:rgba(255,255,255,0.015);
  margin-bottom:18px;
}
.scenario-time{
  font-family:'JetBrains Mono', monospace;font-size:12px;
  letter-spacing:0.12em;color:var(--accent-soft);color:var(--accent);
  margin-bottom:14px;text-transform:uppercase;
}
.scenario h4{
  font-family:'Fraunces', serif;font-size:24px;font-weight:500;
  margin-bottom:14px;letter-spacing:-0.01em;
}
.scenario p{color:var(--ink-dim);font-size:16px;line-height:1.65}
.scenario p + p{margin-top:10px}
.scenario .speaker{color:var(--ink);font-weight:600;font-size:14px}
.scenario .reply{
  border-left:2px solid var(--accent);padding-left:14px;
  margin-top:14px;color:var(--ink);font-size:15px;line-height:1.6;
}

/* ============================================================ NUMBERS */
.numbers-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:760px){.numbers-grid{grid-template-columns:1fr}}
.num-card{
  border:1px solid var(--line);border-radius:14px;padding:32px;
  background:rgba(255,255,255,0.015);
}
.num-card .big{
  font-family:'Fraunces', serif;font-size:54px;font-weight:300;line-height:1;
  letter-spacing:-0.03em;color:var(--accent);margin-bottom:8px;
}
.num-card .label{
  font-family:'JetBrains Mono', monospace;font-size:11px;
  letter-spacing:0.18em;color:var(--ink-dim);text-transform:uppercase;
}

/* ============================================================ FAQ */
.faq-item{
  border-bottom:1px solid var(--line);
  padding:22px 0;
  cursor:pointer;
}
.faq-item summary{
  font-family:'Fraunces', serif;font-size:20px;font-weight:500;
  list-style:none;display:flex;justify-content:space-between;align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:'+';color:var(--accent);font-size:24px;font-weight:300;transition:transform .2s;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{color:var(--ink-dim);font-size:16px;line-height:1.7;padding-top:14px}

/* ============================================================ CTA BLOCK */
.cta-block{
  border:1px solid var(--accent-line);
  background:linear-gradient(180deg, rgba(255,107,53,0.06), transparent);
  border-radius:24px;padding:64px 48px;text-align:center;
}
.cta-block h2{
  font-family:'Fraunces', serif;font-size:clamp(28px,3.5vw,44px);
  font-weight:400;margin-bottom:14px;letter-spacing:-0.02em;line-height:1.1;
}
.cta-block p{color:var(--ink-dim);font-size:18px;margin-bottom:32px;max-width:600px;margin-left:auto;margin-right:auto}

/* ============================================================ FOOTER */
footer.site-footer{padding:64px 0 40px;border-top:1px solid var(--line);margin-top:64px}
.footer-wrap{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
@media(max-width:760px){.footer-wrap{grid-template-columns:1fr 1fr;gap:32px}}
.footer-brand-name{font-family:'Fraunces', serif;font-size:22px;font-weight:600;margin-bottom:10px}
.footer-brand-tag{color:var(--ink-dim);font-size:14px;line-height:1.5;max-width:300px}
.footer-col h4{
  font-family:'JetBrains Mono', monospace;font-size:11px;letter-spacing:0.16em;
  color:var(--ink-fade);text-transform:uppercase;margin-bottom:18px;
}
.footer-col a{display:block;color:var(--ink-dim);font-size:14px;padding:5px 0;transition:color .15s}
.footer-col a:hover{color:var(--accent)}
.footer-base{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;
  padding-top:24px;border-top:1px solid var(--line);
  font-family:'JetBrains Mono', monospace;font-size:11px;
  color:var(--ink-fade);letter-spacing:0.04em;
}

/* ============================================================ CHAT WIDGET */
#welka-chat-bubble{
  position:fixed;bottom:24px;right:24px;z-index:100;
  width:60px;height:60px;border-radius:50%;
  background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 32px rgba(255,107,53,0.45);
  transition:transform .2s;
}
#welka-chat-bubble:hover{transform:scale(1.06)}
#welka-chat-bubble svg{width:28px;height:28px;stroke:#ffffff;fill:none;stroke-width:2.2}
#welka-chat-panel{
  position:fixed;bottom:96px;right:24px;z-index:101;
  width:340px;max-width:calc(100vw - 32px);
  background:var(--bg-elev);
  border:1px solid var(--line);border-radius:16px;
  box-shadow:0 24px 64px rgba(0,0,0,0.5);
  padding:24px;display:none;
  animation:chatpop .25s ease-out;
}
@keyframes chatpop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
#welka-chat-panel.open{display:block}
#welka-chat-panel .chat-head{
  display:flex;align-items:center;gap:12px;margin-bottom:18px;
}
#welka-chat-panel .chat-avatar{
  width:42px;height:42px;border-radius:50%;background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-family:'Fraunces', serif;font-size:20px;font-weight:600;color:#0a0a0b;
}
#welka-chat-panel .chat-name{font-family:'Fraunces', serif;font-size:18px;font-weight:500}
#welka-chat-panel .chat-status{font-size:12px;color:var(--good);display:flex;align-items:center;gap:6px}
#welka-chat-panel .chat-status::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--good)}
#welka-chat-panel .chat-msg{
  background:rgba(255,255,255,0.03);
  border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.5;
  margin-bottom:16px;color:var(--ink-dim);
}
#welka-chat-panel .chat-msg strong{color:var(--ink);font-weight:600}
#welka-chat-panel .chat-actions{display:flex;flex-direction:column;gap:8px}
#welka-chat-panel .chat-action{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 14px;border:1px solid var(--line);border-radius:10px;
  font-size:14px;cursor:pointer;transition:all .15s;color:var(--ink);
}
#welka-chat-panel .chat-action:hover{
  border-color:var(--accent-line);background:var(--accent-soft);
}
#welka-chat-panel .chat-action::after{content:'→';color:var(--accent)}
#welka-chat-panel .chat-foot{
  font-size:11px;color:var(--ink-fade);text-align:center;
  margin-top:14px;font-family:'JetBrains Mono', monospace;letter-spacing:0.05em;
}

/* ============================================================ PRICING */
.price-toggle{
  display:inline-flex;background:rgba(255,255,255,0.04);
  border:1px solid var(--line);border-radius:100px;padding:4px;margin-bottom:48px;
}
.price-toggle button{
  padding:8px 22px;border-radius:100px;font-size:14px;font-weight:500;
  color:var(--ink-dim);transition:all .2s;
}
.price-toggle button.active{background:var(--accent);color:#0a0a0b}
.save-badge{
  display:inline-block;background:var(--accent-soft);color:var(--accent);
  font-family:'JetBrains Mono', monospace;font-size:10px;letter-spacing:0.1em;
  padding:2px 8px;border-radius:100px;margin-left:6px;text-transform:uppercase;
}

.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:900px){.price-grid{grid-template-columns:1fr}}
.price-card{
  border:1px solid var(--line);border-radius:18px;
  padding:36px 32px;background:rgba(255,255,255,0.015);
  display:flex;flex-direction:column;
  position:relative;transition:border-color .2s;
}
.price-card.featured{
  border-color:var(--accent-line);
  background:linear-gradient(180deg, rgba(255,107,53,0.05), rgba(255,107,53,0.01));
  transform:scale(1.02);
}
.price-card.featured::before{
  content:'MOST POPULAR';position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:#0a0a0b;
  font-family:'JetBrains Mono', monospace;font-size:10px;font-weight:600;letter-spacing:0.16em;
  padding:5px 14px;border-radius:100px;
}
.price-name{
  font-family:'Fraunces', serif;font-size:24px;font-weight:500;margin-bottom:8px;
}
.price-tag{color:var(--ink-dim);font-size:14px;margin-bottom:24px;line-height:1.5}
.price-amount{
  font-family:'Fraunces', serif;font-size:54px;font-weight:300;line-height:1;
  letter-spacing:-0.02em;margin-bottom:6px;display:flex;align-items:baseline;gap:4px;
}
.price-amount .currency{font-size:22px;color:var(--ink-dim);font-weight:400}
.price-amount .period{font-size:14px;color:var(--ink-dim);font-weight:400;margin-left:4px}
.price-includes{
  font-size:13px;color:var(--ink-dim);margin-bottom:24px;
  font-family:'JetBrains Mono', monospace;letter-spacing:0.04em;
}
.price-cta{
  display:block;text-align:center;padding:13px 22px;border-radius:10px;
  font-weight:600;font-size:15px;margin-bottom:28px;
  border:1px solid var(--line);transition:all .2s;
}
.price-card.featured .price-cta{background:var(--accent);color:#0a0a0b;border-color:var(--accent)}
.price-cta:hover{transform:translateY(-1px);border-color:var(--accent-line)}
.price-card.featured .price-cta:hover{box-shadow:0 8px 24px rgba(255,107,53,0.35)}

.price-features{list-style:none;flex:1}
.price-features li{
  padding:9px 0 9px 28px;font-size:14px;color:var(--ink);position:relative;line-height:1.5;
  border-bottom:1px solid var(--line-soft);
}
.price-features li:last-child{border-bottom:none}
.price-features li::before{
  content:'✓';position:absolute;left:0;top:9px;color:var(--accent);font-weight:600;
}
.price-features li.muted{color:var(--ink-fade)}
.price-features li.muted::before{content:'—';color:var(--ink-fade)}

/* compare table — wraps in scroll container on mobile */
.compare-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:32px}
.compare-table{width:100%;border-collapse:collapse;min-width:560px}
.compare-table th, .compare-table td{
  padding:14px 12px;text-align:left;border-bottom:1px solid var(--line);font-size:14px;
}
.compare-table th{
  font-family:'JetBrains Mono', monospace;font-size:11px;letter-spacing:0.12em;
  color:var(--ink-dim);text-transform:uppercase;font-weight:500;
}
.compare-table td.center{text-align:center}
.compare-table .check{color:var(--accent);font-size:18px}
.compare-table .dash{color:var(--ink-fade)}
@media(max-width:760px){
  .compare-table{font-size:12px}
  .compare-table th, .compare-table td{padding:10px 6px}
}

/* ============================================================ AUTH PAGES */
.auth-wrap{
  min-height:calc(100vh - 64px);
  display:flex;align-items:center;justify-content:center;
  padding:48px 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,107,53,0.06), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(255,107,53,0.04), transparent 50%);
}
.auth-card{
  width:100%;max-width:440px;
  border:1px solid var(--line);border-radius:18px;
  background:rgba(20,20,22,0.6);
  backdrop-filter:blur(20px);
  padding:40px 36px;
}
.auth-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'JetBrains Mono', monospace;font-size:11px;letter-spacing:0.16em;
  color:var(--accent);text-transform:uppercase;margin-bottom:18px;
}
.auth-card h1{
  font-family:'Fraunces', serif;font-size:34px;font-weight:400;
  letter-spacing:-0.02em;line-height:1.15;margin-bottom:10px;
}
.auth-card .auth-sub{color:var(--ink-dim);font-size:15px;margin-bottom:32px;line-height:1.5}
.auth-form .field{margin-bottom:18px}
.auth-form label{
  display:block;font-size:13px;color:var(--ink-dim);
  font-weight:500;margin-bottom:8px;letter-spacing:0.02em;
}
.auth-form input, .auth-form select{
  width:100%;padding:13px 14px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--line);border-radius:10px;
  color:var(--ink);font-family:inherit;font-size:15px;
  transition:border-color .15s;
}
.auth-form input:focus, .auth-form select:focus{
  outline:none;border-color:var(--accent);
}
.auth-form input::placeholder{color:var(--ink-fade)}
.password-wrap{position:relative}
.password-wrap .toggle-pw{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  font-size:12px;color:var(--ink-dim);cursor:pointer;
  font-family:'JetBrains Mono', monospace;letter-spacing:0.08em;
}
.password-wrap .toggle-pw:hover{color:var(--accent)}
.auth-form .row{display:flex;gap:14px}
.auth-form .row > *{flex:1}
.auth-submit{
  width:100%;padding:14px;background:var(--accent);color:#0a0a0b;
  border-radius:10px;font-size:15px;font-weight:600;
  margin-top:8px;transition:transform .15s,box-shadow .15s;cursor:pointer;
}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(255,107,53,0.35)}

.auth-divider{
  display:flex;align-items:center;gap:14px;margin:24px 0;
  font-family:'JetBrains Mono', monospace;font-size:11px;
  color:var(--ink-fade);letter-spacing:0.16em;
}
.auth-divider::before, .auth-divider::after{
  content:'';flex:1;height:1px;background:var(--line);
}

.auth-social{
  display:block;width:100%;padding:13px;
  border:1px solid var(--line);border-radius:10px;
  font-size:14px;font-weight:500;text-align:center;
  transition:border-color .15s;display:flex;align-items:center;justify-content:center;gap:10px;
  cursor:pointer;
}
.auth-social:hover{border-color:var(--ink-dim)}
.auth-social svg{width:18px;height:18px}

.auth-tabs{
  display:flex;background:rgba(255,255,255,0.03);
  border:1px solid var(--line);border-radius:10px;padding:4px;margin-bottom:20px;
}
.auth-tabs button{
  flex:1;padding:10px;border-radius:8px;font-size:14px;
  color:var(--ink-dim);transition:all .15s;
}
.auth-tabs button.active{background:var(--accent-soft);color:var(--accent);font-weight:500}

.auth-bottom{
  text-align:center;font-size:14px;color:var(--ink-dim);margin-top:24px;
}
.auth-bottom a{color:var(--accent);font-weight:500}
.auth-foot-legal{
  font-size:12px;color:var(--ink-fade);text-align:center;margin-top:18px;line-height:1.55;
}
.auth-foot-legal a{color:var(--ink-dim);text-decoration:underline}

/* signup steps */
.steps-bar{
  display:flex;gap:8px;margin-bottom:28px;
}
.steps-bar > div{
  flex:1;height:3px;border-radius:2px;background:var(--line);
}
.steps-bar > div.active{background:var(--accent)}
.step-page{display:none}
.step-page.active{display:block}

.industry-pick{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px;
}
.industry-pick label{
  display:flex;align-items:center;gap:10px;cursor:pointer;
  padding:12px 14px;border:1px solid var(--line);border-radius:10px;
  font-size:13px;color:var(--ink);transition:all .15s;
}
.industry-pick input{display:none}
.industry-pick label:hover{border-color:var(--ink-dim)}
.industry-pick input:checked + span{color:var(--accent);font-weight:600}
.industry-pick label:has(input:checked){
  border-color:var(--accent);background:var(--accent-soft);
}

.checkbox-row{
  display:flex;gap:10px;align-items:flex-start;
  font-size:13px;color:var(--ink-dim);line-height:1.5;margin:12px 0 6px;
}
.checkbox-row input{margin-top:3px;accent-color:var(--accent)}
.checkbox-row a{color:var(--ink);text-decoration:underline}

/* ============================================================ DOC PAGES (privacy/terms keep their own) */

/* helpers */
.flex{display:flex}.gap-12{gap:12px}.center{align-items:center}

/* ============================================================ CTA sub-line + sticky CTA (shared across all pages) */
.hero .hero-cta:has(+ .cta-subline){margin-bottom:0}
.cta-subline{margin-top:12px;font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:0.04em;color:var(--ink-fade)}
.cta-subline strong{color:var(--accent);font-weight:600}
.hero .cta-subline{margin-bottom:36px}
.cta-block .cta-subline{text-align:center;margin-top:18px}

.sticky-cta{
  position:fixed;bottom:16px;left:50%;transform:translate(-50%,120%);
  background:rgba(18,15,12,0.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid var(--accent-line);border-radius:100px;
  box-shadow:0 16px 48px rgba(0,0,0,0.55),0 0 0 1px rgba(255,255,255,0.04) inset;
  padding:8px 8px 8px 20px;display:flex;align-items:center;gap:14px;z-index:50;
  transition:transform .35s cubic-bezier(.4,.6,.2,1);max-width:calc(100vw - 32px);
}
.sticky-cta.visible{transform:translate(-50%,0)}
.sticky-cta .label{font-size:13px;color:#f5f1ea;font-weight:500;white-space:nowrap}
.sticky-cta .label em{color:var(--accent);font-style:normal;font-weight:600}
.sticky-cta .btn{padding:10px 18px;font-size:13px}
.sticky-cta .close{background:transparent;border:none;color:var(--ink-fade);cursor:pointer;padding:4px 8px;font-size:18px}
.sticky-cta .close:hover{color:var(--ink)}
@media(max-width:600px){
  .sticky-cta{left:12px;right:12px;transform:translateY(120%);padding:8px 8px 8px 14px;gap:8px;max-width:calc(100vw - 24px)}
  .sticky-cta.visible{transform:translateY(0)}
  .sticky-cta .label{font-size:12px}
}

/* Industry cards — featured emphasis (homepage hero row) */
.ind-card.ind-featured{position:relative}
.ind-card.ind-featured::before{
  content:'★ Pre-trained';position:absolute;top:14px;right:14px;
  font-size:10px;font-family:'JetBrains Mono',monospace;letter-spacing:0.08em;
  color:var(--accent);background:rgba(255,107,53,0.10);padding:3px 8px;border-radius:100px;
  border:1px solid rgba(255,107,53,0.25);
}
.ind-card.ind-other{background:transparent;border-style:dashed}
.ind-card.ind-other:hover{background:rgba(255,107,53,0.04)}

/* ============================================================ CHAT WIDGET v2 — in-page conversation
   Overrides + additions on top of the original (lines ~360-413). The
   panel hosts a header strip, scrolling history, chips, and an input
   row — replacing the original WhatsApp-redirect button list. */
#welka-chat-panel{
  width:380px;max-width:calc(100vw - 32px);
  height:560px;max-height:calc(100vh - 120px);
  padding:0;overflow:hidden;
  display:none;flex-direction:column;
  background:var(--bg-elev);
  border:1px solid var(--line);border-radius:18px;
  box-shadow:0 24px 64px rgba(0,0,0,0.6);
}
#welka-chat-panel.open{display:flex}

/* Header — colored strip so the panel reads as a chat window, not a
   tooltip. WHITE text on the orange gradient for clean contrast —
   dark text on accent looked muddy. */
#welka-chat-panel .chat-head{
  display:flex;align-items:center;gap:12px;
  padding:14px 18px;flex-shrink:0;
  background:linear-gradient(135deg,var(--accent) 0%,#ff8a5b 100%);
  color:#ffffff;border-radius:18px 18px 0 0;
  margin:0;
}
#welka-chat-panel .chat-avatar{
  width:38px;height:38px;border-radius:50%;
  background:rgba(255,255,255,0.22);color:#ffffff;
  display:flex;align-items:center;justify-content:center;
  font-family:'Fraunces', serif;font-size:18px;font-weight:600;
  border:1px solid rgba(255,255,255,0.35);
}
#welka-chat-panel .chat-name{
  font-family:'Fraunces', serif;font-size:17px;font-weight:600;color:#ffffff;
}
#welka-chat-panel .chat-status{
  font-size:11px;color:rgba(255,255,255,0.92);
  display:flex;align-items:center;gap:6px;
  font-family:'JetBrains Mono', monospace;letter-spacing:0.02em;
}
#welka-chat-panel .chat-status::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:#4ade80;
  box-shadow:0 0 0 2px rgba(255,255,255,0.35);
}
#welka-chat-panel .chat-head-meta{flex:1;min-width:0}
#welka-chat-panel .chat-close{
  width:30px;height:30px;flex-shrink:0;
  border-radius:50%;border:none;
  background:rgba(255,255,255,0.15);color:#ffffff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s;padding:0;
}
#welka-chat-panel .chat-close:hover{background:rgba(255,255,255,0.30)}
#welka-chat-panel .chat-close svg{width:16px;height:16px;stroke:#ffffff;fill:none}

/* History — flex-grows to fill, scrolls when overflowing. No min-height
   so chips stay visible when only the greeting is rendered. */
#welka-chat-panel .chat-history{
  flex:1 1 auto;overflow-y:auto;
  display:flex;flex-direction:column;
  gap:10px;padding:16px 16px 4px;
  scrollbar-width:thin;scrollbar-color:var(--line) transparent;
}
#welka-chat-panel .chat-history::-webkit-scrollbar{width:6px}
#welka-chat-panel .chat-history::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px}

#welka-chat-panel .chat-msg-bot,
#welka-chat-panel .chat-msg-user{
  font-size:14px;line-height:1.5;
  padding:10px 14px;border-radius:14px;
  max-width:88%;word-wrap:break-word;white-space:pre-wrap;
}
#welka-chat-panel .chat-msg-bot{
  background:rgba(255,255,255,0.05);
  color:var(--ink);
  align-self:flex-start;border-top-left-radius:4px;
}
#welka-chat-panel .chat-msg-user{
  background:var(--accent);color:#0a0a0b;
  align-self:flex-end;border-top-right-radius:4px;font-weight:500;
}

#welka-chat-panel .chat-typing{
  display:inline-flex;gap:5px;padding:14px 16px;align-items:center;
  background:rgba(255,255,255,0.05);border-radius:14px;border-top-left-radius:4px;
  align-self:flex-start;
}
#welka-chat-panel .chat-typing span{
  width:7px;height:7px;border-radius:50%;background:var(--ink-dim);
  animation:welka-typing 1.2s infinite ease-in-out both;
}
#welka-chat-panel .chat-typing span:nth-child(2){animation-delay:.15s}
#welka-chat-panel .chat-typing span:nth-child(3){animation-delay:.3s}
@keyframes welka-typing{
  0%,80%,100%{opacity:.3;transform:translateY(0)}
  40%{opacity:1;transform:translateY(-3px)}
}

/* Chips — filled with accent-soft so they read as primary actions on
   first open. Hidden by chat.js once the visitor types or clicks one. */
#welka-chat-panel .chat-chips{
  display:flex;flex-wrap:wrap;gap:6px;
  padding:8px 16px 4px;flex-shrink:0;
}
#welka-chat-panel .chat-chip{
  font-size:12px;font-weight:500;padding:7px 12px;
  border:1px solid var(--accent-line);border-radius:100px;
  background:var(--accent-soft);color:var(--accent);cursor:pointer;
  transition:all .15s;font-family:inherit;
}
#welka-chat-panel .chat-chip:hover{
  background:var(--accent);color:#0a0a0b;border-color:var(--accent);
}

/* Input row — sits flush at the bottom with a top divider so it
   anchors the layout regardless of history height. */
#welka-chat-panel .chat-input-row{
  display:flex;gap:8px;align-items:flex-end;
  padding:10px 16px 12px;
  border-top:1px solid var(--line);
  flex-shrink:0;
  background:var(--bg-elev);
}
#welka-chat-panel .chat-input{
  flex:1;min-height:38px;max-height:120px;
  padding:9px 14px;border-radius:18px;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--line);
  color:var(--ink);font-family:inherit;font-size:14px;
  resize:none;outline:none;line-height:1.4;
  transition:border-color .15s;
}
#welka-chat-panel .chat-input:focus{border-color:var(--accent-line)}
#welka-chat-panel .chat-input:disabled{opacity:.5;cursor:not-allowed}
#welka-chat-panel .chat-input::placeholder{color:var(--ink-fade)}

#welka-chat-panel .chat-send{
  width:38px;height:38px;flex-shrink:0;
  border-radius:50%;background:var(--accent);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  border:none;transition:transform .15s, opacity .15s;
}
#welka-chat-panel .chat-send:hover:not(:disabled){transform:scale(1.06)}
#welka-chat-panel .chat-send:disabled{opacity:.4;cursor:not-allowed}
#welka-chat-panel .chat-send svg{width:18px;height:18px;stroke:#ffffff;fill:none;stroke-width:2.6}

#welka-chat-panel .chat-foot{
  font-size:10px;color:var(--ink-fade);text-align:center;
  padding:4px 16px 8px;
  font-family:'JetBrains Mono', monospace;letter-spacing:0.06em;
  background:var(--bg-elev);flex-shrink:0;
  border-radius:0 0 18px 18px;margin:0;
}

@media(max-width:600px){
  #welka-chat-panel{
    bottom:84px;right:12px;left:12px;
    width:auto;max-width:none;
    height:auto;max-height:calc(100vh - 100px);
  }
}
