/* ============================================================
   AutomateSight
   Palette derived from the logo wordmark:
     "Automate" — teal → green   (the system working)
     "SIGHT"    — violet → magenta → orange  (what it costs you)
   Apple neutrals carry the page; the two brand gradients do the talking.
   Type: Manrope, single family.
   ============================================================ */

:root{
  /* neutrals */
  --ink:#1D1D1F;
  --ink-2:#424245;
  --grey:#6E6E73;
  --grey-2:#86868B;
  --hairline:#D2D2D7;
  --hairline-soft:#E8E8ED;
  --surface:#F5F5F7;
  --surface-2:#FAFAFC;
  --white:#FFFFFF;

  /* brand — "Automate" side */
  --teal:#217C88;
  --teal-deep:#17606A;
  --green:#7CB944;
  --teal-tint:#E9F4F5;
  --teal-line:#BEDDE1;
  --grad-automate:linear-gradient(100deg,#2E8B96 0%,#5AA36E 55%,#86C34A 100%);

  /* brand — "SIGHT" side */
  --violet:#6D2FD0;
  --violet-bright:#7B3FE4;
  --magenta:#C0508F;
  --orange:#E9763C;
  --violet-tint:#F3EDFD;
  --violet-line:#DCCBF8;
  --grad-sight:linear-gradient(100deg,#7B3FE4 0%,#C0508F 55%,#E9763C 100%);

  --font:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;

  --fs-hero:clamp(2.6rem,6.2vw,4.75rem);
  --fs-h2:clamp(1.95rem,4vw,3.1rem);
  --fs-h3:clamp(1.3rem,2.1vw,1.75rem);

  --shell:1120px;
  --narrow:760px;
  --gut:clamp(1.25rem,4vw,2.5rem);
  --sec-y:clamp(5rem,9vw,8.5rem);

  --r-sm:10px; --r:14px; --r-md:18px; --r-lg:24px; --r-xl:30px; --pill:980px;

  --sh-1:0 1px 3px rgba(0,0,0,.04);
  --sh-2:0 4px 16px rgba(0,0,0,.06);
  --sh-3:0 10px 44px rgba(0,0,0,.09);
  --sh-pop:0 2px 8px rgba(0,0,0,.05),0 20px 60px rgba(0,0,0,.10);

  --ease:cubic-bezier(.28,.11,.32,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:var(--font);font-size:1.0625rem;line-height:1.55;font-weight:400;
  color:var(--ink);background:var(--white);
  -webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums;overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
button,input{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none;padding:0}
dl,dd{margin:0}
::selection{background:rgba(123,63,228,.14)}

:focus-visible{outline:2px solid var(--violet);outline-offset:3px;border-radius:6px}
.cta-band :focus-visible{outline-color:#fff}

.sprite{position:absolute;width:0;height:0;overflow:hidden}
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:#fff;padding:.75rem 1.1rem;border-radius:0 0 var(--r) 0}
.skip:focus{left:0}

/* ---------- Primitives ---------- */
.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:var(--gut)}
.shell--narrow{max-width:var(--narrow)}

h1,h2,h3,h4{font-weight:700;letter-spacing:-.028em;line-height:1.08;color:var(--ink);text-wrap:balance}
.h2{font-size:var(--fs-h2);letter-spacing:-.032em}
.h3{font-size:var(--fs-h3)}

.ico{width:20px;height:20px;flex:none}
.ico--sm{width:16px;height:16px}

.cool{color:var(--teal)}
.warm{color:var(--violet)}

.grad-sight{
  background:var(--grad-sight);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.grad-automate{
  background:var(--grad-automate);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

.kicker{display:inline-flex;align-items:center;gap:.45rem;font-size:.9375rem;font-weight:600;letter-spacing:-.01em;color:var(--teal);margin-bottom:1rem}
.kicker--warm{color:var(--violet)}

.lede{font-size:1.1875rem;line-height:1.55;color:var(--grey);max-width:60ch;font-weight:500}

.pulse{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block;flex:none;animation:pulse 2.2s var(--ease) infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.25}}

.head{max-width:62ch;margin-bottom:clamp(2.5rem,5vw,4rem)}
.head--center{margin-inline:auto;text-align:center}
.head--center .lede{margin-inline:auto}
.head .h2{margin-bottom:1rem}

/* ---------- Brand logo (cropped from the square PNG) ---------- */
.brand__logo{position:relative;display:block;width:158px;aspect-ratio:2.8/1;overflow:hidden;flex:none}
.brand__logo img{position:absolute;width:179%;left:-39.5%;top:-180%;max-width:none}
.brand__logo--sm{width:130px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:600;font-size:1rem;letter-spacing:-.01em;
  padding:.8rem 1.5rem;min-height:46px;border-radius:var(--pill);
  border:1px solid transparent;cursor:pointer;
  transition:background-color .22s var(--ease),color .22s var(--ease),border-color .22s var(--ease),transform .22s var(--ease),box-shadow .22s var(--ease);
}
.btn .arrow{transition:transform .24s var(--ease)}
.btn:hover .arrow{transform:translateX(3px)}

.btn--primary{background:var(--ink);color:#fff}
.btn--primary:hover{background:#000}
.btn--primary:active{transform:scale(.98)}

.btn--outline{background:transparent;border-color:var(--hairline);color:var(--ink)}
.btn--outline:hover{background:var(--ink);border-color:var(--ink);color:#fff}

.btn--light{background:#fff;color:var(--ink)}
.btn--light:hover{background:var(--surface)}

.btn--link{padding:.8rem .35rem;min-height:46px;color:var(--teal);background:none}
.btn--link:hover{color:var(--teal-deep)}

.btn--linklight{padding:.8rem .35rem;color:rgba(255,255,255,.78);background:none}
.btn--linklight:hover{color:#fff}

.btn--sm{padding:.5rem 1.1rem;min-height:38px;font-size:.9375rem}
.btn--lg{padding:.95rem 1.85rem;min-height:52px;font-size:1.0625rem}
.btn--block{display:flex;width:100%}

/* ---------- Nav ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:100;border-bottom:1px solid transparent;transition:background-color .3s var(--ease),border-color .3s var(--ease)}
.nav.is-stuck{background:rgba(255,255,255,.82);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom-color:var(--hairline-soft)}
.nav__inner{display:flex;align-items:center;gap:1.5rem;height:64px}
.brand{display:flex;align-items:center;margin-right:auto}
.nav__links{display:flex;align-items:center;gap:2rem}
.nav__links a{font-size:.9375rem;font-weight:500;color:var(--grey);transition:color .18s var(--ease)}
.nav__links a:hover{color:var(--ink)}
.nav__right{display:flex;align-items:center;gap:.75rem}
.nav__burger{display:none;width:42px;height:42px;align-items:center;justify-content:center;border-radius:10px;color:var(--ink)}

.drawer{position:fixed;inset:0;z-index:120}
.drawer::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);opacity:0;transition:opacity .3s var(--ease)}
.drawer.is-open::before{opacity:1}
.drawer__panel{position:absolute;inset:0 0 0 auto;width:min(86vw,340px);background:#fff;padding:1rem var(--gut) 2rem;display:flex;flex-direction:column;gap:1.5rem;transform:translateX(100%);transition:transform .36s var(--ease);overflow-y:auto}
.drawer.is-open .drawer__panel{transform:none}
.drawer__head{display:flex;align-items:center;justify-content:space-between;height:48px}
.drawer__close{width:42px;height:42px;display:grid;place-items:center;border-radius:10px}
.drawer__links{display:flex;flex-direction:column}
.drawer__links a{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;padding:.8rem 0;border-bottom:1px solid var(--hairline-soft)}

/* ---------- Hero ---------- */
.hero{position:relative;padding-top:calc(64px + clamp(3.5rem,8vw,6rem));padding-bottom:clamp(3rem,6vw,5rem);overflow:hidden}
.hero__wash{
  position:absolute;inset:-20% -20% auto;height:700px;pointer-events:none;
  background:
    radial-gradient(42% 44% at 24% 18%,rgba(46,139,150,.12),transparent 70%),
    radial-gradient(40% 42% at 76% 12%,rgba(123,63,228,.11),transparent 70%),
    radial-gradient(34% 36% at 92% 40%,rgba(233,118,60,.08),transparent 70%);
}
.hero__copy{position:relative;text-align:center}
.hero__title{font-size:var(--fs-hero);font-weight:800;letter-spacing:-.04em;line-height:1.03;margin-bottom:1.35rem}
.hero__title .grad-sight{display:block}
.hero__sub{font-size:1.25rem;line-height:1.5;color:var(--grey);font-weight:500;max-width:34rem;margin-inline:auto}
.hero__cta{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:center;margin-top:2rem}
.hero__trust{display:flex;flex-wrap:wrap;gap:.5rem 1.75rem;justify-content:center;margin-top:2.25rem}
.hero__trust li{display:flex;align-items:center;gap:.45rem;font-size:.9375rem;font-weight:500;color:var(--grey)}
.hero__trust .ico{color:var(--teal)}

/* ---------- Comparison board ---------- */
.demo-wrap{position:relative;margin-top:clamp(3rem,6vw,4.5rem)}
.demo{max-width:820px;margin-inline:auto;background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-xl);box-shadow:var(--sh-pop);overflow:hidden}
.demo__bar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;padding:.9rem 1.5rem;background:var(--surface-2);border-bottom:1px solid var(--hairline-soft)}
.demo__job{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:var(--grey)}
.demo__job .ico{color:var(--teal)}
.demo__value{font-size:.875rem;font-weight:700}

.demo__switcher{padding:1.5rem 1.5rem 0;text-align:center}
.demo__hint{display:inline-flex;align-items:center;gap:.45rem;font-size:.875rem;color:var(--grey);margin-bottom:.85rem}
.demo__hint .ico{color:var(--violet)}
.demo__hint b{color:var(--ink);font-weight:700}

/* segmented control */
.seg{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;background:var(--surface);border-radius:var(--r);max-width:520px;margin-inline:auto}
.seg__thumb{position:absolute;top:.25rem;bottom:.25rem;left:.25rem;width:calc(50% - .375rem);border-radius:11px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04);transition:transform .32s var(--ease)}
.demo[data-mode="hub"] .seg__thumb{transform:translateX(calc(100% + .25rem))}
.seg__btn{position:relative;z-index:1;padding:.6rem .5rem;min-height:42px;border-radius:11px;font-size:.9375rem;font-weight:600;letter-spacing:-.012em;color:var(--grey);cursor:pointer;transition:color .24s var(--ease)}
.seg__btn:hover,.seg__btn.is-active{color:var(--ink)}

/* pointing hand — draws the eye to the un-selected side, retires on first use */
.seg__hand{
  position:absolute;z-index:2;pointer-events:none;
  left:25%;top:calc(100% - 10px);
  color:var(--violet);
  animation:handTap 1.9s var(--ease) infinite;
  transition:opacity .3s var(--ease);
}
.seg__hand .ico{width:30px;height:30px;filter:drop-shadow(0 3px 6px rgba(109,47,208,.35))}
.seg__hand::before{
  content:"";position:absolute;left:50%;top:-6px;translate:-50% 0;
  width:34px;height:34px;border-radius:50%;
  border:2px solid var(--violet-line);
  animation:handRing 1.9s var(--ease) infinite;
}
@keyframes handTap{
  0%,100%{transform:translate(-50%,0)}
  45%{transform:translate(-50%,-9px)}
}
@keyframes handRing{
  0%,100%{opacity:0;transform:scale(.6)}
  50%{opacity:.9;transform:scale(1.15)}
}
.demo[data-mode="brochure"] .seg__hand,
.demo.is-touched .seg__hand,
.seg:hover .seg__hand{opacity:0;animation-play-state:paused}

.demo__panel{padding:1.5rem}
.demo__panel[hidden]{display:none}

.thread{display:flex;flex-direction:column;gap:.6rem}
.bub{max-width:88%;padding:.85rem 1.05rem;border-radius:var(--r-md);font-size:.9375rem;line-height:1.5}
.bub__who{font-size:.75rem;font-weight:600;color:var(--grey-2);margin-bottom:.3rem}
.bub__meta{font-size:.75rem;font-weight:600;margin-top:.45rem;opacity:.75}
.bub--them{background:var(--surface);border-bottom-left-radius:6px;align-self:flex-start}
.bub--auto{background:#fff;border:1px dashed var(--hairline);color:var(--grey);align-self:flex-start;border-bottom-left-radius:6px}
.bub--ai{background:var(--teal);color:#fff;align-self:flex-end;border-bottom-right-radius:6px}
.bub--ai .bub__meta{color:rgba(255,255,255,.85)}

.note{display:flex;gap:.55rem;align-items:flex-start;padding:.8rem 1rem;border-radius:var(--r);font-size:.9375rem;line-height:1.5}
.note--warm{background:var(--violet-tint);color:var(--ink-2)}
.note--warm .ico{color:var(--violet)}
.note--warm b{color:var(--violet)}
.note--cool{background:var(--teal-tint);color:var(--ink-2)}
.note--cool .ico{color:var(--teal)}
.note--cool b{color:var(--teal-deep)}

.tally{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:1.25rem;background:var(--hairline-soft);border:1px solid var(--hairline-soft);border-radius:var(--r);overflow:hidden}
.tally div{background:#fff;padding:.9rem 1rem;text-align:center}
.tally dt{font-size:.8125rem;color:var(--grey);margin-bottom:.2rem}
.tally dd{font-size:1.0625rem;font-weight:700;letter-spacing:-.02em}
.tally .warm{color:var(--violet)}
.tally .cool{color:var(--teal)}

.verdictline{margin-top:1rem;font-size:.9375rem;font-weight:600;text-align:center;padding:.75rem 1rem;border-radius:var(--r)}
.verdictline--warm{background:var(--violet-tint);color:var(--violet)}
.verdictline--cool{background:var(--teal-tint);color:var(--teal-deep)}

/* signature: response-time scale */
.rail{padding:1.25rem 1.5rem 1.5rem;border-top:1px solid var(--hairline-soft);background:var(--surface-2)}
.rail__label{font-size:.75rem;font-weight:600;color:var(--grey-2);margin-bottom:1rem;text-align:center}
.rail__track{position:relative;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--teal-line),var(--hairline),var(--violet-line))}
.rail__pin{position:absolute;top:50%;transform:translate(-50%,-50%);transition:opacity .3s var(--ease)}
.rail__pin i{display:block;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 3px var(--surface-2)}
.rail__pin em{position:absolute;top:13px;left:50%;transform:translateX(-50%);font-size:.75rem;font-style:normal;font-weight:700;white-space:nowrap}
.rail__pin--cool{left:5%}
.rail__pin--cool i{background:var(--teal)}
.rail__pin--cool em{color:var(--teal)}
.rail__pin--warm{left:93%}
.rail__pin--warm i{background:var(--violet)}
.rail__pin--warm em{color:var(--violet)}
.demo[data-mode="hub"] .rail__pin--warm,
.demo[data-mode="brochure"] .rail__pin--cool{opacity:.28}
.rail__scale{display:flex;justify-content:space-between;margin-top:1.9rem;font-size:.6875rem;color:var(--grey-2)}

/* ---------- Ribbon ---------- */
.ribbon{overflow:hidden;border-block:1px solid var(--hairline-soft);padding:.9rem 0;background:var(--white);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.ribbon__track{display:flex;width:max-content;animation:ribbon 42s linear infinite}
.ribbon__set{display:flex;align-items:center;flex:none}
.ribbon__set span{font-size:.9375rem;font-weight:600;letter-spacing:-.015em;color:var(--grey);padding-inline:1.4rem;white-space:nowrap}
.ribbon__set i{width:5px;height:5px;border-radius:50%;background:var(--grad-sight);flex:none}
@keyframes ribbon{to{transform:translateX(-50%)}}

/* ---------- Sections ---------- */
.sec{padding-block:var(--sec-y)}
.sec--surface{background:var(--surface)}

/* ---------- Generic cards ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.card{background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg);padding:1.9rem;transition:box-shadow .3s var(--ease),transform .3s var(--ease)}
.card:hover{box-shadow:var(--sh-3);transform:translateY(-3px)}
.card__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;margin-bottom:1.35rem}
.card__icon--cool{background:var(--grad-automate);color:#fff;box-shadow:0 8px 20px -8px rgba(46,139,150,.6)}
.card__icon .ico{width:24px;height:24px}
.card__title{font-size:1.3125rem;margin-bottom:.65rem}
.card__body{font-size:.9375rem;line-height:1.6;color:var(--grey)}
.card__list{margin-top:1.35rem;padding-top:1.1rem;border-top:1px solid var(--hairline-soft);display:flex;flex-direction:column;gap:.5rem}
.card__list li{display:flex;gap:.5rem;align-items:flex-start;font-size:.875rem;color:var(--grey)}
.card__list .ico{color:var(--teal);margin-top:.15rem}

/* ---------- Bleed cards ---------- */
.bleed{
  position:relative;overflow:hidden;
  background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg);
  padding:1.9rem;
  transition:box-shadow .35s var(--ease),transform .35s var(--ease),border-color .35s var(--ease);
}
.bleed::before{
  content:"";position:absolute;inset:0 0 auto;height:4px;
  background:var(--g);
  transform:scaleX(0);transform-origin:left;
  transition:transform .45s var(--ease);
}
.bleed::after{
  content:"";position:absolute;right:-60px;top:-60px;width:190px;height:190px;border-radius:50%;
  background:var(--g);opacity:.07;
  transition:opacity .45s var(--ease),transform .45s var(--ease);
}
.bleed:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:transparent}
.bleed:hover::before{transform:scaleX(1)}
.bleed:hover::after{opacity:.14;transform:scale(1.1)}

.bleed--1{--g:linear-gradient(135deg,#7B3FE4,#A344C4)}
.bleed--2{--g:linear-gradient(135deg,#A344C4,#C0508F)}
.bleed--3{--g:linear-gradient(135deg,#C0508F,#E9763C)}

.bleed__icon{
  position:relative;z-index:1;
  width:54px;height:54px;display:grid;place-items:center;border-radius:16px;
  background:var(--g);color:#fff;margin-bottom:1.35rem;
  box-shadow:0 10px 24px -10px rgba(109,47,208,.55);
}
.bleed__icon .ico{width:26px;height:26px}
.bleed__title{position:relative;z-index:1;font-size:1.3125rem;margin-bottom:.65rem}
.bleed__body{position:relative;z-index:1;font-size:.9375rem;line-height:1.6;color:var(--grey)}
.bleed__stat{
  position:relative;z-index:1;
  margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--hairline-soft);
  display:flex;align-items:baseline;gap:.65rem;
}
.bleed__stat b{
  font-size:1.6rem;font-weight:800;letter-spacing:-.04em;line-height:1;white-space:nowrap;
  background:var(--g);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.bleed__stat span{font-size:.8125rem;line-height:1.35;color:var(--grey)}

.verdict{margin-top:clamp(2.5rem,5vw,4rem);font-size:clamp(1.5rem,3.2vw,2.35rem);font-weight:700;letter-spacing:-.032em;line-height:1.18;max-width:24ch}
.verdict span{display:block;background:var(--grad-sight);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- Panels ---------- */
.panel{background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg);padding:clamp(1.5rem,3vw,2.25rem);margin-top:clamp(2rem,4vw,3rem)}

.estimate{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,3vw,2.75rem);align-items:center}
.estimate__main .kicker{margin-bottom:.75rem}
.estimate__value{font-size:clamp(2.5rem,5.5vw,3.75rem);font-weight:800;letter-spacing:-.045em;line-height:1;background:var(--grad-sight);-webkit-background-clip:text;background-clip:text;color:transparent}
.estimate__cap{margin-top:.9rem;font-size:.9375rem;line-height:1.55;color:var(--grey);max-width:40ch}
.estimate__bars{display:flex;flex-direction:column;gap:.85rem}
.estimate__bars li{display:flex;flex-direction:column;gap:.4rem}
.estimate__bars .row{display:flex;justify-content:space-between;gap:1rem;font-size:.8125rem}
.estimate__bars .row span{color:var(--grey)}
.estimate__bars .row b{font-weight:700}
.estimate__bars .bar{height:6px;border-radius:3px;background:var(--surface);overflow:hidden}
.estimate__bars .bar i{display:block;height:100%;border-radius:3px;background:var(--grad-sight);transition:width .6s var(--ease)}
.estimate__note{grid-column:1/-1;font-size:.75rem;color:var(--grey-2);line-height:1.5;padding-top:.5rem}

.calc__head{margin-bottom:2rem;max-width:46ch}
.calc__sub{font-size:.9375rem;color:var(--grey);margin-top:.5rem}
.calc__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(1.75rem,4vw,3rem)}
.calc__inputs{display:flex;flex-direction:column;gap:1.75rem}
.field__top{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.85rem}
.field__top label{font-size:.9375rem;font-weight:600}
.field__top output{font-size:1.0625rem;font-weight:700;letter-spacing:-.02em}
.field__scale{display:flex;justify-content:space-between;margin-top:.55rem;font-size:.75rem;color:var(--grey-2)}

.range{-webkit-appearance:none;appearance:none;width:100%;height:4px;border-radius:2px;cursor:pointer;
  background:linear-gradient(90deg,var(--ink) 0 var(--fill,40%),var(--hairline) var(--fill,40%) 100%)}
.range--warm{background:linear-gradient(90deg,var(--violet) 0 var(--fill,40%),var(--hairline) var(--fill,40%) 100%)}
.range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;
  box-shadow:0 0 0 .5px rgba(0,0,0,.06),0 3px 8px rgba(0,0,0,.15);transition:transform .16s var(--ease)}
.range::-webkit-slider-thumb:active{transform:scale(1.08)}
.range::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 .5px rgba(0,0,0,.06),0 3px 8px rgba(0,0,0,.15)}
.range::-moz-range-track{height:4px;border-radius:2px;background:transparent}

.calc__result{background:var(--surface);border-radius:var(--r-md);padding:1.6rem;display:flex;flex-direction:column}
.calc__label{font-size:.8125rem;font-weight:600;color:var(--grey);margin-bottom:.5rem}
.calc__big{font-size:clamp(2.1rem,4.4vw,2.9rem);font-weight:800;letter-spacing:-.045em;line-height:1;
  background:var(--grad-sight);-webkit-background-clip:text;background-clip:text;color:transparent}
.calc__rows{margin:1.5rem 0;display:flex;flex-direction:column;gap:.7rem}
.calc__rows div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.7rem;border-bottom:1px solid var(--hairline)}
.calc__rows div:last-child{border-bottom:0;padding-bottom:0}
.calc__rows dt{font-size:.875rem;color:var(--grey)}
.calc__rows dd{font-size:.9375rem;font-weight:700}
.calc__rows .warm{color:var(--violet)}
.calc__result .btn{margin-top:auto}

/* ---------- Pipeline ---------- */
.pipe{margin-top:clamp(2.5rem,5vw,4rem);background:var(--surface);border-radius:var(--r-lg);padding:clamp(1.75rem,4vw,3rem)}
.pipe__head{text-align:center;margin-bottom:2.25rem}
.pipe__steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.pipe__steps li{text-align:center}
.pipe__n{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--grad-automate);color:#fff;font-size:.8125rem;font-weight:700;margin-bottom:.85rem}
.pipe__steps h4{font-size:1rem;margin-bottom:.35rem}
.pipe__steps p{font-size:.875rem;line-height:1.5;color:var(--grey)}

/* ---------- Simulator ---------- */
.sim{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:1.25rem;align-items:start}
.sim__picker{display:flex;flex-direction:column;gap:.6rem}
.job{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.85rem;row-gap:.15rem;text-align:left;
  padding:1rem 1.15rem;border-radius:var(--r-md);background:#fff;border:1px solid var(--hairline-soft);
  transition:border-color .22s var(--ease),box-shadow .22s var(--ease)}
.job:hover{border-color:var(--hairline)}
.job.is-active{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.job__icon{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--surface);color:var(--grey)}
.job.is-active .job__icon{background:var(--grad-automate);color:#fff}
.job__name{font-size:.9375rem;font-weight:600;letter-spacing:-.012em}
.job__tag{font-size:.8125rem;color:var(--grey-2)}

.sim__phone{background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh-2)}
.sim__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.25rem;background:var(--surface-2);border-bottom:1px solid var(--hairline-soft)}
.sim__title{font-size:.875rem;font-weight:600}
.sim__replay{display:inline-flex;align-items:center;gap:.35rem;font-size:.8125rem;font-weight:600;color:var(--teal);padding:.35rem .5rem;border-radius:8px}
.sim__replay:hover{background:var(--teal-tint)}
.sim__thread{padding:1.25rem;display:flex;flex-direction:column;gap:.6rem;min-height:400px}
.sim__thread .bub,.sim__thread .receipt{animation:pop .38s var(--ease) both}
@keyframes pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.typing{display:inline-flex;gap:.25rem;align-items:center;padding:.2rem 0}
.typing i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.85);animation:typing 1.2s var(--ease) infinite}
.typing i:nth-child(2){animation-delay:.16s}
.typing i:nth-child(3){animation-delay:.32s}
@keyframes typing{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

.receipt{border:1px solid var(--teal-line);background:var(--teal-tint);border-radius:var(--r-md);padding:1rem 1.15rem}
.receipt__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.85rem}
.receipt__head strong{display:flex;align-items:center;gap:.4rem;font-size:.9375rem;color:var(--teal-deep)}
.receipt__score{font-size:.75rem;font-weight:700;color:var(--teal-deep);background:#fff;padding:.2rem .55rem;border-radius:var(--pill)}
.receipt__rows{display:flex;flex-direction:column;gap:.55rem}
.receipt__rows div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem}
.receipt__rows dt{font-size:.8125rem;color:var(--grey)}
.receipt__rows dd{font-size:.875rem;font-weight:700;text-align:right}

.sim__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.25rem;margin-top:1.5rem;padding:1.25rem 1.5rem;background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg)}
.sim__foot p{font-size:.9375rem;color:var(--grey);max-width:44ch}

/* ---------- Roadmap ---------- */
.road{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.road__step{background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg);padding:1.9rem}
.road__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--grad-automate);color:#fff;margin-bottom:1.25rem;box-shadow:0 8px 20px -8px rgba(46,139,150,.55)}
.road__icon .ico{width:24px;height:24px}
.road__day{font-size:.8125rem;font-weight:700;color:var(--teal);margin-bottom:.35rem}
.road__step h3{font-size:1.25rem;margin-bottom:.6rem}
.road__body{font-size:.9375rem;line-height:1.6;color:var(--grey)}
.road__list{margin-top:1.35rem;padding-top:1.1rem;border-top:1px solid var(--hairline-soft);display:flex;flex-direction:column;gap:.5rem}
.road__list li{display:flex;gap:.5rem;align-items:flex-start;font-size:.875rem;color:var(--grey)}
.road__list .ico{color:var(--teal);margin-top:.15rem}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:clamp(2.5rem,5vw,4rem);padding-top:clamp(2.5rem,5vw,4rem);border-top:1px solid var(--hairline)}
.stats li{text-align:center}
.stats b{display:block;font-size:clamp(2rem,3.6vw,2.9rem);font-weight:800;letter-spacing:-.045em;line-height:1;
  background:var(--grad-automate);-webkit-background-clip:text;background-clip:text;color:transparent}
.stats span{display:block;font-size:.9375rem;font-weight:600;margin-top:.55rem}
.stats em{display:block;font-size:.8125rem;font-style:normal;color:var(--grey);margin-top:.25rem;line-height:1.45}

/* ---------- Pricing ---------- */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;align-items:start}
.tier{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--hairline-soft);border-radius:var(--r-lg);padding:1.9rem;overflow:hidden}
.tier--pop{border-color:transparent;box-shadow:0 0 0 2px var(--violet-bright),var(--sh-3)}
.tier--pop::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--grad-sight)}
.tier--high::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--grad-automate)}
.tier__badge{position:absolute;top:1.25rem;right:1.25rem;font-size:.6875rem;font-weight:700;letter-spacing:.01em;padding:.3rem .7rem;border-radius:var(--pill);background:var(--grad-sight);color:#fff}
.tier__eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--grey-2);margin-bottom:.5rem}
.tier--pop .tier__eyebrow{background:var(--grad-sight);-webkit-background-clip:text;background-clip:text;color:transparent}
.tier__name{font-size:1.375rem;margin-bottom:.6rem}
.tier__pitch{font-size:.9375rem;line-height:1.55;color:var(--grey);min-height:4.6em}
.tier__price{display:flex;align-items:baseline;gap:.45rem;font-size:clamp(2.25rem,3.6vw,2.6rem);font-weight:800;letter-spacing:-.045em;line-height:1;margin-top:1.4rem}
.tier__unit{font-size:.875rem;font-weight:600;letter-spacing:-.01em;color:var(--grey-2)}
.tier__terms{font-size:.9375rem;font-weight:600;color:var(--grey);margin-top:.5rem}
.tier__label{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--grey-2);margin:1.5rem 0 .9rem;padding-top:1.4rem;border-top:1px solid var(--hairline-soft)}
.tier__list{display:flex;flex-direction:column;gap:.85rem;margin-bottom:1.75rem}
.tier__list li{display:flex;gap:.6rem;align-items:flex-start;font-size:.875rem;line-height:1.55;color:var(--grey)}
.tier__list .ico{color:var(--teal);margin-top:.2rem}
.tier__list b{color:var(--ink);font-weight:700}
.tier .btn{margin-top:auto}

.guarantee{display:flex;gap:1.25rem;align-items:flex-start;max-width:760px;margin:clamp(2.5rem,5vw,4rem) auto 0;padding:1.75rem;background:#fff;border:1px solid var(--teal-line);border-radius:var(--r-lg)}
.guarantee__icon{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:13px;background:var(--grad-automate);color:#fff}
.guarantee__icon .ico{width:24px;height:24px}
.guarantee h3{font-size:1.125rem;margin-bottom:.5rem}
.guarantee p{font-size:.9375rem;line-height:1.6;color:var(--grey)}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--hairline)}
.qa{border-bottom:1px solid var(--hairline)}
.qa__q{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;width:100%;text-align:left;padding:1.35rem 0;min-height:56px;font-size:1.0625rem;font-weight:600;letter-spacing:-.015em}
.qa__q:hover{color:var(--violet)}
.qa__chev{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--surface);color:var(--ink);transition:transform .3s var(--ease)}
.qa.is-open .qa__chev{transform:rotate(180deg)}
.qa__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .34s var(--ease)}
.qa.is-open .qa__a{grid-template-rows:1fr}
.qa__a>div{overflow:hidden}
.qa__a p{padding-bottom:1.5rem;font-size:1rem;line-height:1.65;color:var(--grey);max-width:66ch}

/* ---------- Final CTA ---------- */
.cta-band{position:relative;overflow:hidden;background:var(--ink);color:#fff;padding-block:clamp(4.5rem,8vw,7rem);text-align:center}
.cta-band::before{content:"";position:absolute;inset:auto auto -50% 50%;translate:-50% 0;width:900px;height:500px;
  background:radial-gradient(50% 50% at 50% 50%,rgba(123,63,228,.35),transparent 70%);pointer-events:none}
.cta-band>*{position:relative}
.cta-band__title{font-size:clamp(1.9rem,4vw,3rem);font-weight:800;letter-spacing:-.035em;color:#fff;margin-bottom:1rem}
.cta-band__sub{font-size:1.125rem;color:rgba(255,255,255,.7);max-width:44ch;margin-inline:auto;font-weight:500}
.cta-band__actions{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:center;margin-top:2rem}
.cta-band__note{display:inline-flex;align-items:center;gap:.45rem;margin-top:1.75rem;font-size:.875rem;color:rgba(255,255,255,.6)}

/* ---------- Footer ---------- */
.foot{background:var(--surface);padding-block:3rem;font-size:.8125rem;color:var(--grey)}
.foot__logo{margin-bottom:2rem}
.foot__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;padding-bottom:2rem;border-bottom:1px solid var(--hairline)}
.foot__col{display:flex;flex-direction:column;gap:.6rem}
.foot h4{font-size:.8125rem;font-weight:700;color:var(--ink);margin-bottom:.2rem}
.foot__col a{color:var(--grey);transition:color .18s var(--ease)}
.foot__col a:hover{color:var(--ink);text-decoration:underline}
.foot__base{display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between;padding-top:1.5rem;color:var(--grey-2)}

/* ---------- Reveal ---------- */
[data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease) var(--d,0ms),transform .7s var(--ease) var(--d,0ms)}
[data-reveal].is-in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .nav__links{display:none}
  .sim{grid-template-columns:1fr}
  .sim__picker{flex-direction:row;overflow-x:auto;padding-bottom:.35rem;scrollbar-width:none}
  .sim__picker::-webkit-scrollbar{display:none}
  .job{flex:0 0 auto;min-width:230px}
  .estimate{grid-template-columns:1fr}
}

@media (max-width:860px){
  .grid-3,.road,.tiers{grid-template-columns:1fr}
  .calc__grid{grid-template-columns:1fr}
  .pipe__steps{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr;gap:2rem 1.25rem}
  .tier--pop{order:-1}
  .tier__pitch{min-height:0}
  .foot__cols{grid-template-columns:1fr 1fr}
}

@media (max-width:640px){
  body{font-size:1rem}
  .nav__burger{display:flex}
  .nav__cta{display:none}
  .brand__logo{width:132px}
  .hero{padding-top:calc(64px + 2.5rem)}
  .hero__trust{flex-direction:column;align-items:center;gap:.55rem}
  .demo__bar,.demo__switcher,.demo__panel,.rail{padding-inline:1.1rem}
  .demo__hint{display:block}
  .demo__hint .ico{display:none}
  .seg{grid-template-columns:1fr;gap:.2rem}
  .seg__thumb{width:calc(100% - .5rem);height:calc(50% - .3rem);bottom:auto}
  .demo[data-mode="hub"] .seg__thumb{transform:translateY(calc(100% + .2rem))}
  .seg__hand{left:auto;right:14px;top:14px}
  @keyframes handTap{0%,100%{transform:translate(0,0)}45%{transform:translate(0,-9px)}}
  .bub{max-width:96%}
  .tally{grid-template-columns:1fr}
  .pipe__steps{grid-template-columns:1fr}
  .foot__cols{grid-template-columns:1fr}
  .sim__foot{flex-direction:column;align-items:flex-start}
  .sim__foot .btn{width:100%}
  .guarantee{flex-direction:column;gap:1rem}
  .tier__badge{position:static;align-self:flex-start;margin-bottom:.75rem}
}

@media (max-width:420px){
  .hero__cta{flex-direction:column;align-items:stretch}
  .hero__cta .btn{width:100%}
  .cta-band__actions{flex-direction:column;align-items:stretch}
  .stats{grid-template-columns:1fr}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;transition-delay:0ms !important}
  [data-reveal]{opacity:1 !important;transform:none !important}
  .ribbon__track{animation:none}
  .card:hover,.bleed:hover,.btn:active{transform:none}
  .seg__hand{animation:none}
}
