/* =========================================================
   HUMANBOTS — WEBSITE DEVELOPMENT PAGE ONLY
   Loads after global.css and service.css. Labels, titles,
   buttons, hero base, accordion, orange block, process
   timeline and inline CTAs come from service.css; this file
   only holds what is unique here:
   1. Live build (code editor + browser preview)
   2. Search story ("your business wasn't found")
   3. "Included" dot list inside the accordion
   4. "Launch a system" orange card
   5. "Pick where you're starting" choice cards
========================================================= */


/* =========================================================
   1. LIVE BUILD
   website-development.js types the code and adds .s1-.s4
   to the preview, then .is-done, once the window is in view.
========================================================= */

.hbw-hero{padding-bottom:50px}
.hbw-hero .svc-hero-copy{max-width:600px}

.hbw-build{padding:0 0 110px}

.hbw-window{
  display:grid;
  grid-template-columns:.68fr 1.32fr;
  height:min(620px, 76svh);
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
}

.hbw-bar{
  height:46px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 16px;
  border-bottom:1px solid var(--soft-line);
  background:#0d0d0d;
  color:#666;
}
/* three window dots drawn from one element */
.hbw-bar i{width:34px;flex:none}
.hbw-bar i::before{
  display:block;
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--orange);
  box-shadow:13px 0 #353535, 26px 0 #353535;
}
.hbw-url{
  flex:1;
  height:28px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:100px;
  background:#141414;
  font-size:11px;
}

.hbw-editor{position:relative;min-width:0;border-right:1px solid var(--line);background:#070707}
.hbw-code{
  position:absolute;
  inset:46px 0 0;
  margin:0;
  padding:26px;
  overflow:hidden;
  color:#7e7e7e;
  font-family:var(--font-mono);
  font-size:12px;
  line-height:1.75;
  white-space:pre-wrap;
}
.hbw-code::after{content:"\2502";color:var(--orange)}
.is-done .hbw-code::after{content:""}

.hbw-browser{position:relative;min-width:0;background:#050505}
.hbw-preview{position:absolute;inset:46px 0 0;overflow:hidden;background:#080808}

/* preview pieces start hidden and appear stage by stage */
.hbw-p-nav,
.hbw-p-hero > *,
.hbw-p-cards > *{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .45s ease, transform .45s ease;
}
.s1 .hbw-p-nav,
.s2 .hbw-p-hero > .hbw-p-text,
.s3 .hbw-p-hero > .hbw-p-art,
.s4 .hbw-p-cards > *{opacity:1;transform:none}
.s4 .hbw-p-cards > :nth-child(2){transition-delay:.08s}
.s4 .hbw-p-cards > :nth-child(3){transition-delay:.16s}

.hbw-p-nav{
  height:60px;
  display:flex;
  align-items:center;
  gap:22px;
  padding:0 34px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#777;
  font-size:10px;
}
.hbw-p-nav::before{content:"";width:52px;height:8px;margin-right:auto;border-radius:20px;background:#e8e8e8}
.hbw-p-nav b{padding:9px 14px;border-radius:100px;background:var(--orange);color:#fff;font-weight:600}

.hbw-p-hero{position:relative;display:flex;justify-content:space-between;gap:30px;padding:54px 40px 38px}
.hbw-p-text .svc-mono{color:var(--orange);font-size:9px;text-transform:uppercase}
.hbw-p-text strong{
  display:block;
  max-width:520px;
  margin-top:14px;
  color:#f3f3f3;
  font-family:var(--font-display);
  font-size:clamp(32px, 3.6vw, 60px);
  font-weight:650;
  line-height:.95;
  letter-spacing:-.05em;
}
.hbw-p-text strong span{display:block;color:var(--grey-head)}
.hbw-p-text p{max-width:420px;margin-top:18px;color:#777;font-size:12px;line-height:1.6}
.hbw-p-text b{display:inline-flex;margin-top:22px;padding:11px 16px;border-radius:100px;background:var(--orange);color:#fff;font-size:10px}

.hbw-p-art{position:relative;flex:0 0 200px;height:210px;transition-delay:.1s}
.hbw-p-art .svc-art-win{position:absolute;width:170px;height:118px}
.hbw-p-art .svc-art-win:first-child{right:0;top:0;rotate:3deg}
.hbw-p-art .svc-art-win:last-child{left:0;bottom:0;rotate:-4deg}

.hbw-p-cards{display:grid;grid-template-columns:repeat(3, 1fr);gap:10px;padding:0 40px 30px}
.hbw-p-cards div{padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#0d0d0d}
.hbw-p-cards .svc-mono{color:var(--orange);font-size:9px}
.hbw-p-cards strong{display:block;margin-top:14px;color:#e7e7e7;font-size:13px;font-weight:500}
.hbw-p-cards small{display:block;margin-top:5px;color:#666;font-size:10px;line-height:1.5}

.hbw-done{
  display:flex;
  justify-content:center;
  margin-top:18px;
  color:#777;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .4s ease, transform .4s ease;
}
.hbw-done span{padding:9px 14px;border:1px solid rgba(255,77,22,.3);border-radius:100px}
.hbw-done b{color:var(--orange);font-weight:500}
.is-done .hbw-done{opacity:1;transform:none}


/* =========================================================
   2. SEARCH STORY
   website-development.js types the search, shows the results,
   then the "not found" message, once the browser is in view.
========================================================= */

.hbw-search{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
}
.hbw-search-body{position:relative;min-height:460px;padding:46px 7% 40px}

.hbw-query{
  display:flex;
  align-items:center;
  gap:14px;
  max-width:1000px;
  height:62px;
  margin:0 auto 34px;
  padding:0 24px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:40px;
  background:#0d0d0d;
  color:#eee;
  font-size:17px;
}
.hbw-query svg{width:18px;height:18px;flex:none;fill:none;stroke:#777;stroke-width:2}
.hbw-query span::after{
  content:"";
  display:inline-block;
  width:2px;
  height:20px;
  margin-left:3px;
  vertical-align:middle;
  background:var(--orange);
  animation:hbwBlink .8s steps(1) infinite;
}
@keyframes hbwBlink{50%{opacity:0}}

.hbw-results{position:relative;max-width:1000px;margin:0 auto}
.hbw-results > *{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .5s ease, transform .5s ease;
}
.hbw-results .on{opacity:1;transform:none}
.hbw-results.is-dim > :not(.hbw-missing){opacity:.1}
.hbw-count{margin-bottom:22px;color:#555;font-size:12px}
.hbw-result{margin:0 0 24px}
.hbw-result small{display:block;color:#777;font-size:12px}
.hbw-result strong{display:block;margin:5px 0;color:#8ab4ff;font-size:18px;font-weight:500}
.hbw-result span{display:block;max-width:600px;color:#777;font-size:13px;line-height:1.5}

.hbw-missing{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  transform:scale(.96);
  pointer-events:none;
}
.hbw-missing b{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border:1px solid rgba(255,77,22,.3);
  border-radius:50%;
  background:rgba(255,77,22,.06);
  color:var(--orange);
  font-size:26px;
}
.hbw-missing strong{color:#fff;font-family:var(--font-display);font-size:30px;font-weight:600;letter-spacing:-.04em}
.hbw-missing span{max-width:500px;margin-top:10px;color:var(--dim);font-size:15px;line-height:1.6}

.hbw-loss{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  margin:20px 0 0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
}
.hbw-loss div{
  display:flex;
  flex-direction:column-reverse;
  justify-content:flex-end;
  padding:24px 28px;
  border-right:1px solid var(--line);
  background:var(--card);
}
.hbw-loss div:last-child{border-right:0}
.hbw-loss dd{margin:0 0 8px;color:#fff;font-family:var(--font-display);font-size:20px;font-weight:600}
.hbw-loss dt{color:var(--dim);font-size:13px;line-height:1.5}

.hbw-search-end{
  max-width:900px;
  margin:32px auto 0;
  color:#777;
  font-family:var(--font-display);
  font-size:clamp(20px, 2vw, 28px);
  line-height:1.35;
  letter-spacing:-.03em;
  text-align:center;
}
.hbw-search-end strong{color:#fff;font-weight:500}


/* =========================================================
   3. "INCLUDED" LIST (inside each accordion item)
========================================================= */

.hbw-acc-label{display:block;margin-bottom:12px;color:var(--orange);text-transform:uppercase}
.hbw-included{padding-left:32px;border-left:1px solid var(--line)}
.hbw-included .hbw-acc-label{color:#999}
.hbw-points{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px 20px;
  margin:0;
  padding:0;
  list-style:none;
}
.hbw-points li{display:flex;align-items:center;gap:10px;color:#888;font-size:14px}
.hbw-points li::before{
  content:"";
  width:6px;
  height:6px;
  flex:none;
  border-radius:50%;
  background:var(--orange);
}


/* =========================================================
   4. "LAUNCH A SYSTEM" ORANGE CARD
========================================================= */

.hbw-system{
  position:relative;
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:40px;
  align-items:center;
  overflow:hidden;
  padding:56px 50px;
  border-radius:18px;
}
.hbw-system .svc-title{font-size:clamp(28px, 2.9vw, 40px)}
.hbw-system .svc-lede{margin:18px 0 30px}
/* outlined rings on the right side of the card */
.hbw-system::after{
  content:"";
  position:absolute;
  right:-120px;
  top:50%;
  width:520px;
  height:520px;
  translate:0 -50%;
  border-radius:50%;
  background:
    radial-gradient(circle, transparent 38%, rgba(0,0,0,.12) 38.2%, transparent 38.6%),
    radial-gradient(circle, transparent 56%, rgba(0,0,0,.1) 56.2%, transparent 56.6%),
    radial-gradient(circle, transparent 74%, rgba(0,0,0,.08) 74.2%, transparent 74.6%);
  pointer-events:none;
}


/* =========================================================
   5. CHOICE CARDS (new website / fix my website)
========================================================= */

.hbw-choices{
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
}
.hbw-choice{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:50px;
  min-height:400px;
  padding:42px;
  overflow:hidden;
  background:var(--card);
  color:inherit;
  transition:background .4s ease;
}
.hbw-choice + .hbw-choice{border-left:1px solid var(--line)}
.hbw-choice:hover{background:radial-gradient(circle at 80% 20%, rgba(255,77,22,.08), transparent 40%), #070707}
.hbw-choice > div > .svc-mono{color:var(--orange)}
.hbw-choice h3{
  margin:22px 0 16px;
  color:#f1f1f1;
  font-size:clamp(25px, 2.2vw, 34px);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.04em;
}
.hbw-choice p{max-width:500px;color:var(--dim);font-size:15px;line-height:1.65}
.hbw-choice-go{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#ddd;font-size:14px;font-weight:500}
.hbw-choice-go b{
  width:56px;
  height:56px;
  flex:none;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  font-size:22px;
  font-weight:400;
  transition:background .35s ease, border-color .35s ease, transform .4s var(--ease);
}
.hbw-choice:hover .hbw-choice-go b{background:var(--orange);border-color:var(--orange);transform:translateX(3px)}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:950px){
  .hbw-loss{grid-template-columns:1fr 1fr}
  .hbw-loss div:nth-child(2){border-right:0}
  .hbw-loss div:nth-child(-n+2){border-bottom:1px solid var(--line)}

  .hbw-included{padding-left:0;border-left:0}

  .hbw-system{grid-template-columns:1fr;padding:40px 30px}
}

@media (max-width:700px){
  .hbw-build{padding-bottom:70px}
  .hbw-window{grid-template-columns:1fr;grid-template-rows:.62fr 1.38fr;height:80svh;min-height:560px}
  .hbw-editor{border-right:0;border-bottom:1px solid var(--line)}
  .hbw-bar{height:38px}
  .hbw-code,
  .hbw-preview{top:38px}
  .hbw-code{padding:12px;font-size:9px;line-height:1.45}
  .hbw-url{font-size:9px}
  .hbw-p-nav{height:42px;gap:10px;padding:0 16px;font-size:8px}
  .hbw-p-nav::before{width:32px;height:6px}
  .hbw-p-nav b{padding:6px 9px}
  .hbw-p-hero{padding:24px 16px 16px}
  .hbw-p-text strong{font-size:27px}
  .hbw-p-text p{margin-top:10px;font-size:10px}
  .hbw-p-text b{margin-top:12px;padding:7px 10px;font-size:8px}
  .hbw-p-art{display:none}
  .hbw-p-cards{gap:6px;padding:0 16px 16px}
  .hbw-p-cards div{padding:9px}
  .hbw-p-cards strong{margin-top:8px;font-size:9px}
  .hbw-p-cards small{display:none}

  .hbw-search-body{min-height:420px;padding:26px 16px}
  .hbw-query{height:52px;padding:0 18px;font-size:14px}
  .hbw-result strong{font-size:15px}
  .hbw-result span{font-size:12px}
  .hbw-missing strong{font-size:24px}
  .hbw-loss{grid-template-columns:1fr}
  .hbw-loss div{border-right:0;border-bottom:1px solid var(--line)}
  .hbw-loss div:last-child{border-bottom:0}
  .hbw-search-end{text-align:left}

  .hbw-points{grid-template-columns:1fr}

  .hbw-choices{grid-template-columns:1fr}
  .hbw-choice{min-height:0;padding:30px 24px}
  .hbw-choice + .hbw-choice{border-left:0;border-top:1px solid var(--line)}
}


/* =========================================================
   HEADINGS: smaller, two lines (white line + grey line)
========================================================= */
.svc-section .svc-title{font-size:clamp(28px, 3vw, 40px);line-height:1.08;letter-spacing:-.04em}
.hbw-hero .svc-h1{font-size:clamp(38px, 4.8vw, 64px)}
@media (min-width:951px){
  .svc-section .svc-head{grid-template-columns:1.35fr .65fr}
  .svc-section .svc-title,.svc-section .svc-title span{white-space:nowrap}
}
/* phones and tablets: sized so the longest line ("Your Competitors Are Showing Up.")
   fits the screen, keeping every heading on two lines */
@media (max-width:950px){
  .svc-section .svc-title{font-size:min(36px, calc((100vw - 40px) / 15.8));line-height:1.12}
  .hbw-hero .svc-h1{font-size:min(44px, calc((100vw - 40px) / 10.2))}
}


/* =========================================================
   ORANGE CTA: animated "system" illustration
========================================================= */
.hbw-system-art{position:relative;z-index:1}
.hbw-sys{display:block;width:100%;height:auto;max-width:440px;margin-left:auto;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hbw-sys-wire{stroke:rgba(28,14,8,.28);stroke-width:2}
.hbw-sys-flow{stroke:#fff;stroke-width:2.4;stroke-dasharray:6 14;animation:hbw-flow 1.6s linear infinite}
.hbw-sys-flow--out{animation-delay:-.8s}
.hbw-sys-src circle,.hbw-sys-out rect{fill:#1c0e08;stroke:none}
.hbw-sys-src path,.hbw-sys-out path{stroke:#fff;stroke-width:2.2}
.hbw-sys-src{animation:hbw-bob 3.2s ease-in-out infinite}
.hbw-sys-src:nth-of-type(2){animation-delay:-1s}.hbw-sys-src:nth-of-type(3){animation-delay:-2s}
.hbw-sys-site rect:first-child{fill:#1c0e08;stroke:rgba(255,255,255,.35);stroke-width:1.5}
.hbw-sys-bar{stroke:rgba(255,255,255,.18);stroke-width:1.5}
.hbw-sys-site circle{fill:rgba(255,255,255,.35)}
.hbw-sys-block{fill:rgba(255,255,255,.22);transform-box:fill-box;transform-origin:left;animation:hbw-build 4.8s ease-in-out infinite}
.hbw-sys-b1{fill:#fff}.hbw-sys-b2{animation-delay:.25s}.hbw-sys-b3{animation-delay:.5s}
.hbw-sys-cta{fill:#ff4d16;animation:hbw-glow 2.4s ease-in-out infinite}
.hbw-sys-out{transform-box:fill-box;transform-origin:center;animation:hbw-pop 2.4s ease-in-out infinite}
.hbw-sys-out:nth-of-type(2){animation-delay:.4s}.hbw-sys-out:nth-of-type(3){animation-delay:.8s}
.hbw-sys-legend{display:flex;justify-content:space-between;gap:10px;max-width:440px;margin:10px 0 0 auto;padding:0;list-style:none;color:rgba(28,14,8,.75);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.hbw-system::after{opacity:.5}
@keyframes hbw-flow{to{stroke-dashoffset:-40}}
@keyframes hbw-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes hbw-build{0%{transform:scaleX(0)}25%,80%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes hbw-glow{0%,100%{opacity:1}50%{opacity:.6}}
@keyframes hbw-pop{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}


/* =========================================================
   BENTO: what every website includes (same look as other pages)
========================================================= */
.hbw-bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.hbw-bento-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:28px;overflow:hidden;isolation:isolate;border:1px solid var(--bento-line);border-radius:16px;background:var(--bento-surface);transition:border-color .3s,transform .4s}
.hbw-bento-card:hover{border-color:var(--bento-highlight);transform:translateY(-4px)}
.hbw-b1{grid-column:span 5;grid-row:span 2}
.hbw-b2{grid-column:span 7}
.hbw-b3{grid-column:span 7;border-color:var(--bento-highlight)}
.hbw-b4{grid-column:span 6}
.hbw-b5{grid-column:span 6}
.hbw-bento-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--orange);font-family:var(--font-mono, monospace);font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.hbw-bento-no{color:var(--bento-detail)}
.hbw-bento-art{margin:14px 0 6px}
.hbw-b1 .hbw-bento-art{flex:1;display:flex;align-items:center;min-height:240px}
.hbw-bento-card h3{margin:14px 0 10px;color:#fff;font-size:22px;font-weight:600;line-height:1.2;letter-spacing:-.03em}
.hbw-bento-card p{margin:0;max-width:440px;color:var(--bento-soft);font-size:14px;line-height:1.7}
.hbw-ill{display:block;width:100%;max-width:420px;height:auto;margin:0 auto;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ill-muted{stroke:var(--bento-detail)}
.ill-hot{stroke:var(--orange)}
.ill-node{fill:var(--orange);stroke:none}
.ill-panel{fill:var(--bento-raised);stroke:var(--bento-detail)}
.ill-soft{fill:#2a2a2a;stroke:none}
.ill-hot-fill{fill:var(--orange);stroke:none}
/* speed gauge */
.ill-arc{stroke-width:4;stroke-dasharray:315;stroke-dashoffset:315;animation:ill-arc 3.6s ease-in-out infinite}
.ill-needle{transform-origin:160px 150px;animation:ill-needle 3.6s ease-in-out infinite}
.ill-needle path{stroke-width:4}
@keyframes ill-arc{0%{stroke-dashoffset:315}55%,80%{stroke-dashoffset:40}100%{stroke-dashoffset:315}}
@keyframes ill-needle{0%{transform:rotate(-104deg)}55%,80%{transform:rotate(0deg)}100%{transform:rotate(-104deg)}}
/* mobile */
.ill-phone{stroke:var(--orange)}
.ill-slide{transform-box:fill-box;transform-origin:left;animation:hbw-build 4s ease-in-out infinite}
.ill-d2{animation-delay:.4s}
.ill-pulse{animation:hbw-glow 2s ease-in-out infinite}
/* search */
.ill-type{transform-box:fill-box;transform-origin:left;animation:hbw-build 5s ease-in-out infinite}
.ill-rise{animation:ill-rise 5s ease-in-out infinite}
.ill-win{stroke:var(--orange)}
@keyframes ill-rise{0%,30%{transform:translateY(76px);opacity:.3}50%,90%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:.3}}
/* conversion */
.ill-cursor{animation:ill-cursor 4s ease-in-out infinite}
.ill-cursor-p{fill:#fff;stroke:#000;stroke-width:1.2}
.ill-done{transform-box:fill-box;transform-origin:center;animation:ill-done 4s ease-in-out infinite}
.ill-check{stroke:#fff;stroke-width:2.6}
@keyframes ill-cursor{0%{transform:translate(260px,170px)}40%,55%{transform:translate(170px,112px)}48%{transform:translate(170px,112px) scale(.9)}100%{transform:translate(260px,170px)}}
@keyframes ill-done{0%,45%{transform:scale(0);opacity:0}55%,90%{transform:scale(1);opacity:1}100%{transform:scale(0);opacity:0}}
/* security */
.ill-ring{stroke:var(--orange);transform-box:fill-box;transform-origin:center;animation:ill-ring 3s ease-out infinite}
.ill-ring2{animation-delay:1.5s}
.ill-check2{stroke-width:4;stroke-dasharray:60;stroke-dashoffset:60;animation:ill-draw 3s ease-in-out infinite}
@keyframes ill-ring{from{transform:scale(.9);opacity:.8}to{transform:scale(2);opacity:0}}
@keyframes ill-draw{0%,20%{stroke-dashoffset:60}50%,90%{stroke-dashoffset:0}100%{stroke-dashoffset:60}}

@media (max-width:950px){
  .hbw-system-art{margin-top:10px}
  .hbw-sys,.hbw-sys-legend{margin-left:0}
}
@media (max-width:800px){
  .hbw-bento{grid-template-columns:1fr;gap:14px}
  .hbw-bento-card{grid-column:1 !important;grid-row:auto;padding:23px}
  .hbw-b1 .hbw-bento-art{min-height:0}
  .hbw-bento-card h3{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .hbw-sys *,.hbw-ill *,.hbw-ill g{animation:none !important}
  .ill-arc,.ill-check2{stroke-dashoffset:0}
  .ill-needle{transform:none}
  .ill-cursor{transform:translate(170px,112px)}
  .ill-rise{transform:none;opacity:1}
}
