/* ==========================================================================
   puraihq.com — self-hosted rebuild
   Values are taken from computed styles on the live Framer site at
   1440 / 900 / 390 px. Breakpoints match Framer's: >=1200, 810-1199, <=809.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face{font-family:"Inter Display";src:url("../assets/fonts/InterDisplay-600-latin.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Display";src:url("../assets/fonts/InterDisplay-600-latin-ext.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;
  unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Display";src:url("../assets/fonts/InterDisplay-700-latin.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Display";src:url("../assets/fonts/InterDisplay-700-latin-ext.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;
  unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Switzer";src:url("../assets/fonts/Switzer-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Switzer";src:url("../assets/fonts/Switzer-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Switzer";src:url("../assets/fonts/Switzer-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* ---------- Tokens ---------- */
:root{
  --purple:#5235ef;
  --purple-light:#8771ff;
  --dark:#101011;
  --dark-2:#2b2b2c;
  --grey:#606266;
  --grey-light:#a7a7a7;
  --bg-grey:#f0f2f6;
  --off-white:#f8f9fa;
  --white:#fff;
  --star:#efbf04;

  --display:"Inter Display",sans-serif;
  --body:"Switzer",sans-serif;

  --shadow-card:0 4px 30px rgba(45,30,133,.1);
  --shadow-primary:0 6px 20px rgba(82,53,239,.6);
  --shadow-dark:0 3px 14px rgba(16,16,17,.6);

  --container-pad:30px;
  --hero-gradient:linear-gradient(180deg,#fff .45045%,rgba(135,113,255,.3) 24.3243%,rgba(135,113,255,.3) 78.8288%,#fff 100%);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
/* JS drives the easing; native smooth only when JS is off */
html:not(.js){scroll-behavior:smooth}
body{background:var(--white);color:var(--dark);font-family:var(--body);font-weight:500;
  font-feature-settings:"blwf" on,"cv09" on,"cv03" on,"cv04" on,"cv11" on}
h1,h2,h3,p,figure,blockquote{margin:0}
ul{margin:0;padding:0;list-style:none}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}

/* ---------- Layout ---------- */
.container{
  width:100%;max-width:1350px;margin-inline:auto;
  padding-inline:var(--container-pad);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.container--narrow{max-width:1210px}

/* ---------- Typography ---------- */
h1{font-family:var(--display);font-weight:600;font-size:70px;line-height:1em;letter-spacing:-.04em;color:var(--dark)}
h2{font-family:var(--display);font-weight:700;font-size:48px;line-height:1.1em;letter-spacing:-.04em;color:var(--dark)}
h3{font-family:var(--display);font-weight:600;font-size:22px;line-height:1.1em;letter-spacing:-.02em;color:var(--dark)}

.section-title{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:20px;width:100%;max-width:600px;text-align:center;
}
.section-title>p{font-size:20px;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.section-title--left{align-items:flex-start;text-align:left;max-width:none;gap:10px}
.eyebrow{font-size:20px;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border-radius:30px;overflow:hidden;position:relative;
  font-family:var(--body);font-weight:500;letter-spacing:-.02em;line-height:1.4em;
  color:var(--white);text-align:center;
  transition:transform .3s cubic-bezier(.44,0,.56,1),box-shadow .3s cubic-bezier(.44,0,.56,1);
}
.btn--primary{
  padding:12px 10px 12px 28px;font-size:18px;
  background-image:linear-gradient(180deg,#5235ef 0%,#8771ff 100%);
  box-shadow:var(--shadow-primary);
}
.btn--dark{
  background-image:linear-gradient(180deg,#101011 0%,#2b2b2c 100%);
  box-shadow:var(--shadow-dark);
}
.btn--sm{padding:10px 20px;font-size:14px}
.btn--xs{padding:5px 10px;font-size:14px;background-image:linear-gradient(180deg,#101011 0%,#101011 100%);box-shadow:none}
.btn__arrow{
  flex:none;display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:30px;background:var(--white);overflow:hidden;
}
.btn__arrow img{width:15px;height:10px;object-fit:cover}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav{
  position:sticky;top:0;z-index:10;width:100%;
  display:flex;align-items:center;justify-content:center;
  padding:20px 0;background:var(--white);
}
.nav__container{
  width:100%;max-width:1350px;padding-inline:30px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;height:40px;
}
.nav__logo{flex:none;width:120px;height:40px}
.nav__logo img{width:120px;height:40px;object-fit:cover;object-position:left center}
.nav__links{display:flex;align-items:center;gap:20px}
.nav__links a{
  font-size:18px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;
  color:var(--grey);transition:color .3s cubic-bezier(.44,0,.56,1);white-space:pre;
}
.nav__links a:hover{color:var(--dark)}
.nav__toggle{display:none;width:40px;height:34px;position:relative}
.nav__toggle span{position:absolute;left:calc(50% - 10px);width:20px;height:2px;background:var(--dark)}
.nav__toggle span:first-child{top:calc(37.5% - 1px)}
.nav__toggle span:last-child{top:calc(62.5% - 1px)}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:80px 0 70px;background:var(--hero-gradient);
}
.hero .container{gap:100px}
.hero__content{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:18px;width:100%;max-width:840px;
}

/* Trust tag */
.tag{
  display:flex;align-items:center;justify-content:center;gap:6px;
  padding:4px 10px;border-radius:100px;background:var(--off-white);
  box-shadow:0 6px 24px rgba(76,76,76,.08),0 0 0 2px #fff;overflow:hidden;
}
.tag__avatars{position:relative;flex:none;width:46px;height:22px;display:block}
.tag__avatar{
  position:absolute;top:50%;transform:translate(-50%,-50%);
  width:22px;height:22px;border-radius:100%;overflow:hidden;
  box-shadow:0 0 0 2px #fff;
}
.tag__avatar img{width:22px;height:22px;object-fit:cover;border-radius:100%}
.tag__avatar:nth-child(2) img{object-fit:fill}
.tag__text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0 5px}
.tag__stars{display:flex;align-items:flex-start;align-self:stretch;height:12px}
.tag__stars svg{width:12px;height:12px;fill:var(--star)}
.tag__label{font-size:10px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--dark-2);white-space:pre}

.hero__title{text-align:center;width:100%}
.hero__title .accent{color:var(--purple)}
.hero__sub{
  width:100%;text-align:center;font-size:20px;font-weight:500;
  line-height:1.4em;letter-spacing:-.02em;color:var(--grey);
}
.hero__cta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;overflow:clip}
.hero__cta-btn{display:flex;align-items:center;justify-content:center;padding:8px 0}
.hero__note{
  width:100%;text-align:center;font-size:16px;font-weight:500;
  line-height:1.4em;letter-spacing:-.02em;color:var(--grey);
}

/* ==========================================================================
   Client logos
   ========================================================================== */
.clients{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;overflow:hidden;
}
.clients .container{gap:100px}
.clients__viewport{
  width:100%;height:79px;padding:10px;overflow:hidden;
  display:flex;align-items:center;
  -webkit-mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,#000 12.5%,#000 87.5%,rgba(0,0,0,0) 100%);
          mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,#000 12.5%,#000 87.5%,rgba(0,0,0,0) 100%);
}
.clients__row{display:flex;align-items:center;gap:50px;width:100%;height:100%}
.clients__row li{flex:none}
.client{flex:none;display:block;object-fit:cover}
.client--bodygee{width:161px;height:25px}
.client--bodygee svg{width:161px;height:24px}
.client--leapsly{width:152px;height:152px}
.client--1stopvat{width:147px;height:31px}
.client--carvertical{width:170px;height:24px}
.client--viking{width:116px;height:87px}
.client--peoplelink{width:194px;height:48px}

/* ==========================================================================
   Cards (services + steps + founder photo)
   ========================================================================== */
.card{
  display:flex;flex-direction:column;align-items:flex-start;
  width:100%;padding:6px;background:var(--white);
  border-radius:30px;box-shadow:var(--shadow-card);overflow:hidden;
}
.card__media{
  width:100%;aspect-ratio:1.16/1;border-radius:25px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.card__media img{width:100%;height:100%;object-fit:cover}
.card__body{
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  width:100%;max-width:600px;padding:20px;overflow:hidden;
}
.card__body>*{width:100%}
.card__body>p{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.card__step{color:var(--grey-light)!important}
.card__cta{
  display:flex;align-items:center;justify-content:center;
  width:100%;padding-top:10px;min-height:30px;
}

.features{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:124px 0;overflow:hidden;
}
.features .container{gap:60px}

.features__cta{display:flex;align-items:center;justify-content:center;padding:36px 0}

.card-grid{display:grid;grid-auto-rows:1fr;gap:30px;width:100%;justify-content:center;align-items:start}
.card-grid--4{grid-template-columns:repeat(4,1fr)}
.card-grid--3{grid-template-columns:repeat(3,1fr)}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;
}
.testimonials .container{gap:100px}
.testimonials__grid{
  display:grid;grid-template-columns:523.781fr 616.219fr;align-items:start;justify-content:center;
  gap:10px 150px;width:100%;padding:75px 0 150px;
}
.testimonials__heading{display:flex;flex-direction:column;gap:60px}
.testimonials__heading h2{text-align:left}
.testimonial{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.testimonial__avatars{display:flex;align-items:center;gap:4px;width:100%;height:52px}
.testimonial__avatar{
  flex:none;box-sizing:border-box;width:42px;height:42px;
  border:2px solid rgba(82,53,239,0);border-radius:5px;overflow:hidden;
  opacity:.4;transform:rotate(-8deg);
}
.js .testimonial__avatar{cursor:pointer}
.js .testimonial__avatar:hover{opacity:.75}
.js .testimonial__avatar.is-active:hover{opacity:1}
.js .testimonial__avatar:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.testimonial__avatar:nth-child(even){transform:rotate(8deg)}
.testimonial__avatar.is-active{
  width:52px;height:52px;opacity:1;border-color:var(--purple);
}
.testimonial__avatar img{width:100%;height:100%;object-fit:cover;border-radius:3px}
.testimonial__quote{
  font-size:20px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--dark-2);
}
.testimonial__author{font-size:14px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.testimonial__author span{color:var(--dark)}

/* ==========================================================================
   Meet the Founder
   ========================================================================== */
.founder{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:0 0 140px;overflow:hidden;
}
.founder .container{gap:100px}
.founder__inner{
  display:grid;grid-template-columns:542fr 684fr;align-items:center;justify-content:center;
  gap:64px;width:100%;padding:50px 0 0;overflow:hidden;
}
.founder__box{
  display:flex;flex-direction:column;align-items:flex-start;gap:20px;
  padding:50px 100px 0;background:var(--bg-grey);border-radius:30px;overflow:hidden;
}
.founder__content{
  display:flex;flex-direction:column;align-items:flex-start;gap:48px;
}
.section-title>p.founder__lead{font-size:18px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--dark-2)}
.founder__list{display:grid;gap:10px;width:100%;overflow:hidden}
.founder__list a{display:flex;align-items:flex-start;gap:15px;overflow:hidden}
.founder__list span:last-child{
  font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--dark-2);
}
.founder__icon{
  flex:none;display:flex;align-items:center;justify-content:center;
  width:15px;padding-top:6px;
}
.founder__icon svg{width:15px;height:12.34px}

/* ==========================================================================
   How it Works
   ========================================================================== */
.process{width:100%;display:flex;flex-direction:column;align-items:center}
.process .container{gap:60px}

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.cta{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:140px 0 80px;overflow:hidden;
  background:linear-gradient(180deg,#fff .45045%,rgba(135,113,255,.3) 24.3243%,rgba(135,113,255,.3) 100%,#fff 100%);
}
.cta .container{gap:60px}
.cta__buttons{display:flex;align-items:center;justify-content:center;gap:20px;width:100%}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:100px 0 40px;background:var(--dark);overflow:hidden;
}
.footer .container{gap:40px}
.footer__grid{display:flex;align-items:stretch;gap:10px 80px;width:100%;overflow:hidden}
.footer__about{
  flex:1 0 0;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;
}
.footer__logo{display:flex;align-items:center;justify-content:center;width:120px;height:40px;overflow:hidden}
.footer__logo img{width:120px;height:40px;object-fit:cover}
.footer__social{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.footer__social p{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey-light)}
.footer__icons{display:flex;align-items:center;justify-content:center;gap:15px;height:20px;overflow:hidden}
.footer__icons a{display:flex;align-items:center;justify-content:center;padding:2px;margin:-2px}
.footer__icons img{width:20px;height:20px;object-fit:contain}
.footer__menu{flex:.5 0 0;display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
.footer__item{display:flex;flex-direction:column;align-items:flex-start;gap:20px;overflow:hidden}
.footer__item h2{font-family:var(--display);font-size:22px;font-weight:600;line-height:1.1em;letter-spacing:-.02em;color:var(--white)}
.footer__links{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.footer__links a{
  display:inline-block;font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;
  color:var(--grey-light);transition:color .3s cubic-bezier(.44,0,.56,1);
  /* 24px tap target, layout unchanged */
  padding:2px 0;margin:-2px 0;
}
.footer__links a:hover,.footer__links a.is-current{color:var(--white)}
.footer__divider{width:100%;height:1px;background:var(--dark-2)}

/* ==========================================================================
   Tablet: 810 - 1199
   ========================================================================== */
@media (max-width:1199.98px){
  :root{--container-pad:20px}
  .nav__container{padding-inline:30px}

  h1{font-size:60px}
  h2{font-size:40px;line-height:1.1em;letter-spacing:normal}
  h3{font-size:20px}
  .section-title>p,.eyebrow,.hero__sub,.testimonial__quote{font-size:18px}
  .nav__links a,.btn--primary{font-size:17px}
  .section-title>p.founder__lead{font-size:17px}

  .hero{padding:50px 0 90px}
  .hero .container{gap:80px}

  .features{padding:120px 0}
  .features .container{gap:50px}
  .process .container{gap:50px}
  .process .card:first-child .card__body{padding:15px}

  .testimonials{padding:120px 0 0}
  .testimonials__grid{gap:10px 60px}

  .founder{padding:0 0 120px}
  .founder__inner{grid-template-columns:1fr;justify-items:center;gap:60px 80px}
  .founder__box,.founder__content{width:100%;max-width:421px}
  .founder__box{max-width:400px;padding:50px 100px 0}
  .founder__content{gap:40px}

  .cta{padding:120px 0 80px}
  .cta .container{gap:50px}

  .footer{padding:90px 0 40px}
  .footer .container{padding-inline:30px}
  .footer__menu{flex:.7 0 0}
  .footer__item h2{font-size:20px}
}

/* ==========================================================================
   Phone: <= 809
   ========================================================================== */
@media (max-width:809.98px){
  :root{--container-pad:15px}
  .nav{padding:10px 0}
  .nav__container{padding-inline:15px}
  .nav__links,.nav .btn--sm{display:none}
  .nav__toggle{display:block}

  h1{font-size:40px}
  h2{font-size:28px;letter-spacing:-.01em}
  h3{font-size:19px;letter-spacing:-.01em}
  .section-title>p,.eyebrow,.hero__sub,.testimonial__quote,.section-title>p.founder__lead{font-size:16px}
  .nav__links a,.btn--primary{font-size:16px}

  .hero{padding:40px 0 80px}
  .hero .container{gap:60px}
  .hero__content{gap:20px}

  .features{padding:120px 0}
  .card-grid--4,.card-grid--3{grid-template-columns:1fr}
  .features .card__body{padding:15px}

  .testimonials{padding:120px 0 0}
  .testimonials__grid{grid-template-columns:1fr;gap:40px}

  .founder{padding:0 0 80px}
  .founder__box,.founder__content{max-width:none}
  .founder__box{padding:20px 20px 0}
  .section-title>p,.eyebrow{max-width:80%}

  .footer{padding:80px 0 40px}
  .footer .container{padding-inline:15px}
  .footer .container{gap:30px}
  .footer__grid{flex-direction:column;gap:40px}
  .footer__about,.footer__menu{flex:none;width:100%}
  .footer__about{gap:30px;justify-content:flex-start}
}

/* ==========================================================================
   Page hero (case-studies index, contact)
   ========================================================================== */
.hero--page{padding:80px 0 140px}
.hero--page .hero__content{gap:30px}
.contact-hero{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:80px 0 0;background:var(--hero-gradient);
}
.contact-hero .container{gap:0}
.contact-hero .hero__content{gap:30px}

.contact-embed{
  display:flex;flex-direction:column;align-items:flex-start;gap:40px;
  width:100%;padding:50px 0 0;overflow:hidden;
}
.contact-embed__cal{width:100%;min-height:570px;overflow:auto}
.contact-embed__email{
  width:100%;text-align:center;font-size:20px;font-weight:500;
  line-height:1.4em;letter-spacing:-.02em;color:var(--grey);
}

/* ==========================================================================
   Contact: what the demo covers
   ========================================================================== */
.demo{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:0 0 140px;
}
.demo .container{gap:60px;padding-top:30px}
.demo .testimonials__grid{padding:135px 0}
.section-title--tight{gap:10px;justify-content:flex-start}

.demo-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;align-items:stretch;gap:30px;width:100%}
.demo-card{
  display:flex;flex-direction:column;align-items:flex-start;gap:20px;
  padding:30px;border-radius:30px;background:var(--bg-grey);overflow:hidden;
  text-align:left;font:inherit;color:inherit;width:100%;
  transition:background-color .35s var(--ease-out),background-image .35s var(--ease-out);
}
.js .demo-card{cursor:pointer}
.js .demo-card:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.demo-card p{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.demo-card.is-active{background-image:linear-gradient(180deg,#101011 0%,#2b2b2c 100%)}
.demo-card.is-active .demo-card__title{color:var(--white)}
.demo-card.is-active p{color:var(--grey-light)}
.demo-card.is-active .demo-card__num{background-image:linear-gradient(180deg,#5235ef 0%,#8771ff 100%)}
.demo-card__title,.demo-card p,.demo-card__num{transition:color .35s var(--ease-out),background-image .35s var(--ease-out)}
.demo-card__head{display:flex;align-items:flex-start;gap:10px;width:100%;overflow:hidden}
.demo-card__num{
  flex:none;display:flex;align-items:center;justify-content:center;
  width:44px;height:28px;padding:4px;border-radius:200px;
  background-image:linear-gradient(180deg,#101011 0%,#2b2b2c 100%);
  color:var(--white);font-size:20px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;
}
.demo-card__title{
  flex:1;min-height:28px;display:flex;align-items:center;
  font-family:var(--display);font-size:22px;font-weight:600;line-height:1.1em;letter-spacing:-.02em;color:var(--dark);
}

.counter-wrap{
  display:flex;align-items:center;justify-content:center;
  width:100%;max-width:1030px;padding:57px 0;
  border-radius:30px;background:var(--dark);
}
.counter{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px 60px;
  width:100%;max-width:970px;padding:0 30px;
}
.counter__item{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left}
.counter__value{font-family:var(--display);font-size:48px;font-weight:700;line-height:1.1em;letter-spacing:-.04em;color:var(--white)}
.counter__label{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--white)}

/* ==========================================================================
   Case study cards (index + "more case studies")
   ========================================================================== */
.blog-section{
  display:flex;flex-direction:column;align-items:center;gap:60px;
  width:100%;padding:0 0 200px;
}
.blog-section--more{padding:0 0 140px}
.blog-section--more .container{gap:60px;padding-top:50px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;align-items:stretch;gap:30px;width:100%}

.blog-card{
  display:flex;flex-direction:column;align-items:flex-start;
  width:100%;height:100%;padding:6px;background:var(--white);
  border-radius:30px;box-shadow:var(--shadow-card);overflow:hidden;
}
.blog-card__media{
  position:relative;width:100%;aspect-ratio:398/224;border-radius:25px;overflow:hidden;
}
.blog-card__media img{width:100%;height:100%;object-fit:cover}
.blog-card__featured{
  position:absolute;top:20px;right:20px;
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:30px;background:var(--white);
}
.blog-card__featured img{width:16px;height:16px}
.blog-card__body{display:flex;flex-direction:column;gap:6px;width:100%;padding:20px}
.blog-card__date{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.blog-card__title{font-family:var(--display);font-size:22px;font-weight:600;line-height:1.1em;letter-spacing:-.02em;color:var(--dark)}

/* ==========================================================================
   Case study detail
   ========================================================================== */
.cs-hero{display:flex;flex-direction:column;align-items:center;width:100%;padding:80px 0 0}
.cs-hero .container{gap:50px}
.cs-hero__top{
  display:flex;flex-direction:column;align-items:center;gap:15px;
  width:100%;max-width:900px;text-align:center;
}
.cs-hero__date{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.cs-hero__title{font-family:var(--display);font-size:70px;font-weight:600;line-height:1em;letter-spacing:-.04em;color:var(--dark)}
.cs-hero__desc{max-width:700px;font-size:20px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}

.cs-metrics{
  display:flex;flex-wrap:nowrap;justify-content:center;align-items:stretch;gap:20px;
  width:100%;padding:20px 0 30px;
}
.cs-metric{
  flex:0 1 auto;min-width:0;
  display:flex;flex-direction:column;align-items:center;gap:0;
  padding:20px;border-radius:20px;background:#fcfeff;
  box-shadow:0 0 0 1px var(--d5d168c9,#e6e9ee);
}
.cs-metric__value{
  font-family:var(--body);font-size:32px;font-weight:600;line-height:1.4em;
  letter-spacing:-.02em;color:var(--dark-2);text-align:center;
}
.cs-metric__label{
  font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;
  color:var(--dark-2);text-align:left;
}

.cs-body{width:100%;padding:10px 0 0}
.cs-body__inner{
  display:flex;align-items:stretch;justify-content:center;gap:76px;
  width:100%;padding:0 30px;
}
.cs-article{flex:1 1 auto;width:100%;max-width:700px;min-width:0}

/* Rich text rhythm, copied from the original: h2 +30, everything else +20 */
.cs-article>*{margin-top:20px}
.cs-article>*:first-child{margin-top:0}
.cs-article h2{
  font-family:var(--display);font-size:28px;font-weight:600;line-height:1.1em;
  letter-spacing:-.02em;color:var(--dark);margin-top:30px;
}
.cs-article h2:first-child{margin-top:0}
.cs-article p{font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--dark-2)}
.cs-article strong{font-weight:700}
.cs-article ul,.cs-article ol{padding-left:0}
.cs-article ul{list-style:disc}
.cs-article ol{list-style:decimal}
.cs-article li{margin:0;padding-left:18.432px}
.cs-article li p{margin:0}
.cs-article img{max-width:100%;height:auto;display:block}

.cs-side{
  flex:0 0 300px;width:300px;
  display:flex;align-items:flex-start;justify-content:center;
}
.cs-side__card{
  position:sticky;top:80px;
  display:flex;flex-direction:column;
  width:300px;padding:10px 0 0;border-radius:20px;background:var(--off-white);overflow:hidden;
}
.cs-side__logo{display:flex;align-items:center;padding:0 20px;height:60px}
.cs-side__logo img{width:110px;height:60px;object-fit:contain;object-position:left center}
.cs-side__facts{margin:0;padding:20px}
.cs-side__facts dt{font-family:var(--display);font-size:22px;font-weight:600;line-height:1.1em;letter-spacing:-.02em;color:var(--dark);margin-top:20px}
.cs-side__facts dt:first-child{margin-top:0}
.cs-side__facts dd{margin:4px 0 0;font-size:16px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey)}
.cs-side__cta{display:flex;flex-direction:column;align-items:center;gap:16px;padding:10px 20px 30px}
.cs-side__ask{font-family:var(--display);font-size:22px;font-weight:600;line-height:1.1em;letter-spacing:-.02em;color:var(--dark)}
.btn--compact{padding:12px 10px 12px 28px}

/* ---------- Tablet ---------- */
@media (max-width:1199.98px){
  .hero--page{padding:50px 0 100px}
  .contact-hero{padding:50px 0 0}
  .contact-embed__email{font-size:18px}
  .demo{padding:0 0 120px}
  .demo .container{gap:50px}
  .demo .testimonials__grid{padding:120px 0}
  .demo-grid{gap:20px}
  .demo-card{padding:24px}
  .counter-wrap{max-width:780px;padding:59px 0}
  .counter{gap:10px 60px;padding:0 20px;max-width:740px}
  .counter__value{font-size:40px;letter-spacing:normal}
  .blog-section{padding:0 0 160px}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .blog-card__title{font-size:20px}
  .cs-hero{padding:60px 0 120px}
  .cs-hero .container{gap:50px}
  .cs-hero__title{font-size:60px}
  .cs-hero__desc{font-size:18px}
  .cs-metrics{flex-direction:column;flex-wrap:wrap;align-items:center;padding:20px 0 30px}
  .cs-metric{max-width:100%}
  .cs-body__inner{gap:76px;padding:0 20px}
  .cs-article h2{font-size:26px}
}

/* ---------- Phone ---------- */
@media (max-width:809.98px){
  .hero--page{padding:40px 0 80px}
  .contact-hero{padding:40px 0 120px}
  .contact-embed{padding:50px 0 0}
  .contact-embed__email{font-size:16px}
  .demo{padding:0 0 120px}
  .demo .testimonials__grid{padding:135px 0}
  .demo-grid{grid-template-columns:1fr}
  .counter-wrap{max-width:300px;padding:63px 0}
  .counter{grid-template-columns:1fr;gap:10px;padding:0 20px}
  .counter__value{font-size:28px;letter-spacing:-.01em}
  .blog-section{padding:0 0 100px}
  .blog-grid{grid-template-columns:1fr}
  .blog-card__title{font-size:19px;letter-spacing:-.01em}
  .cs-hero{padding:40px 0 15px}
  .cs-hero .container{gap:30px}
  .cs-hero__title{font-size:40px}
  .cs-hero__desc{font-size:16px}
  .cs-metrics{flex-direction:column;flex-wrap:wrap;align-items:center;padding:50px 0 30px}
  .cs-metric{max-width:100%}
  .cs-body__inner{padding:0 20px}
  .cs-article{max-width:none}
  .cs-article h2{font-size:20px}
  /* the original hides the client card below 810px */
  .cs-side{display:none}
}

/* ==========================================================================
   Motion
   Initial states apply only once <html class="js"> is set, so the page is
   fully readable with JavaScript off or blocked.
   ========================================================================== */
:root{--ease-out:cubic-bezier(.16,1,.3,1)}

/* keep the sticky nav from covering anchor targets */
#services,#testimonial,#process,#cta,#feature-small{scroll-margin-top:90px}

.js .reveal{will-change:transform,opacity}

/* fade-up: 10px, matching the original */
.js .reveal--fade{
  opacity:.001;transform:translateY(10px);
  transition:opacity .8s var(--ease-out),transform .8s var(--ease-out);
}
/* the trust pill comes further, through perspective */
.js .reveal--pop{
  opacity:0;transform:perspective(1200px) translateY(50px);
  transition:opacity .8s var(--ease-out),transform .8s var(--ease-out);
}
.js .reveal--fade.is-in,
.js .reveal--pop.is-in{opacity:1;transform:none}

/* word-by-word headings: blur(5px) + 20px, 50ms stagger set inline by JS */
.js .reveal--words .word{
  display:inline-block;opacity:.001;filter:blur(5px);transform:translateY(20px);
  transition:opacity .8s var(--ease-out),transform .8s var(--ease-out),filter .8s var(--ease-out);
}
.js .reveal--words.is-in .word{opacity:1;filter:blur(0);transform:none}
.js .reveal.is-in{will-change:auto}

/* ---------- Logo ticker ---------- */
.clients__row.is-running{
  width:max-content;
  animation:ticker var(--ticker-duration,60s) linear infinite;
}
@keyframes ticker{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(calc(var(--ticker-distance) * -1),0,0)}
}
.clients__viewport:hover .clients__row.is-running{animation-play-state:paused}

/* ---------- Testimonial crossfade ---------- */
.testimonial__quote,.testimonial__author{transition:opacity .22s ease}
.testimonial__avatar{
  transition:opacity .35s ease,width .35s ease,height .35s ease,border-color .35s ease;
}
.testimonial.is-swapping .testimonial__quote,
.testimonial.is-swapping .testimonial__author{opacity:0}

/* ---------- Button hover: label flips, arrow slides ---------- */
.btn__label,.btn__arrow img{transition:transform .4s var(--ease-out),opacity .4s var(--ease-out)}
.btn__label{display:block;transform-origin:center bottom}
.btn:hover .btn__label{transform:perspective(500px) rotateX(-60deg) translateY(-8px);opacity:0}
.btn__arrow{overflow:hidden}
.btn:hover .btn__arrow img{transform:translateX(26px)}
.btn__arrow::after{
  content:"";position:absolute;left:calc(50% - 7.5px);top:calc(50% - 5px);
  width:15px;height:10px;opacity:0;transform:translateX(-26px);
  background:url("../assets/img/arrow.svg") center/contain no-repeat;
  transition:transform .4s var(--ease-out),opacity .4s var(--ease-out);
}
.btn__arrow{position:relative}
.btn:hover .btn__arrow::after{transform:translateX(0);opacity:1}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

/* the flipped-in second label */
.btn::after{
  content:attr(data-label);position:absolute;left:0;right:0;
  padding:inherit;pointer-events:none;
  font:inherit;color:inherit;text-align:center;
  opacity:0;transform:perspective(500px) rotateX(60deg) translateY(8px);
  transform-origin:center top;
  transition:transform .4s var(--ease-out),opacity .4s var(--ease-out);
}
.btn:hover::after{opacity:1;transform:none}
.btn--primary::after,.btn--compact::after{padding:12px 10px 12px 28px}

/* ---------- Cards lift on hover ---------- */
.card,.blog-card,.demo-card{transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out)}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 10px 40px rgba(45,30,133,.16)}
.nav__links a,.footer__links a,.founder__list a{transition:color .3s cubic-bezier(.44,0,.56,1)}
.founder__list a{cursor:pointer}
.founder__list a:hover span:last-child{color:var(--purple)}
.founder__list a:hover .founder__icon{transform:translateX(3px)}
.founder__icon{transition:transform .3s var(--ease-out)}

/* ---------- Mobile menu ---------- */
.nav__overlay{display:none}
@media (max-width:809.98px){
  .nav{position:sticky}
  .nav__container{position:relative}
  .nav__links{
    display:flex;flex-direction:column;align-items:flex-start;gap:0;
    position:absolute;top:50px;left:0;right:0;z-index:2;
    padding:20px;background:var(--white);
    box-shadow:0 15px 20px rgba(45,30,133,.1);
    opacity:0;visibility:hidden;transform:translateY(-8px);
    transition:opacity .3s var(--ease-out),transform .3s var(--ease-out),visibility .3s;
  }
  .nav.is-open .nav__links{opacity:1;visibility:visible;transform:none}
  /* 44px tap targets without changing how the panel looks */
  .nav__links li{display:flex;width:100%}
  .nav__links a{font-size:16px;width:100%;padding:11px 0}

  .nav__overlay{
    display:block;position:fixed;top:60px;left:0;right:0;bottom:0;z-index:1;
    background:rgba(16,16,17,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s;
  }
  .nav.is-open .nav__overlay{opacity:1;visibility:visible}
  body.menu-open{overflow:hidden}

  /* burger turns into a purple X */
  .nav__toggle{
    display:block;width:40px;height:40px;border-radius:30px;
    background:transparent;transition:background .3s var(--ease-out);
  }
  .nav__toggle span{
    position:absolute;left:calc(50% - 10px);width:20px;height:2px;
    background:var(--dark);border-radius:2px;
    transition:transform .3s var(--ease-out),background .3s var(--ease-out),top .3s var(--ease-out);
  }
  .nav__toggle span:first-child{top:calc(37.5% - 1px)}
  .nav__toggle span:last-child{top:calc(62.5% - 1px)}
  .nav.is-open .nav__toggle{background:var(--purple)}
  .nav.is-open .nav__toggle span{background:var(--white);top:calc(50% - 1px)}
  .nav.is-open .nav__toggle span:first-child{transform:rotate(45deg)}
  .nav.is-open .nav__toggle span:last-child{transform:rotate(-45deg)}
}

@media (prefers-reduced-motion:reduce){
  .js .reveal,.js .reveal--fade,.js .reveal--pop,.js .reveal--words .word{
    opacity:1!important;transform:none!important;filter:none!important;transition:none!important;
  }
  .clients__row.is-running{animation:none}
  *{transition-duration:.01ms!important}
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:100%;padding:130px 0 150px;
}
.notfound .container{gap:10px;max-width:900px}
.notfound__code{font-family:var(--display);font-size:90px;font-weight:600;line-height:1em;letter-spacing:-.04em;color:var(--dark);text-align:center}
.notfound__title{font-family:var(--display);font-size:48px;font-weight:700;line-height:1.1em;letter-spacing:-.04em;color:var(--dark);text-align:center}
.notfound__text{font-size:18px;font-weight:500;line-height:1.4em;letter-spacing:-.02em;color:var(--grey);text-align:center}
.notfound__cta{display:flex;align-items:center;justify-content:center;padding:10px 0 0}

@media (max-width:1199.98px){
  .notfound{padding:100px 0 130px}
  .notfound__code{font-size:70px}
  .notfound__title{font-size:40px;letter-spacing:normal}
  .notfound__text{font-size:17px}
}
@media (max-width:809.98px){
  .notfound{padding:70px 0 120px}
  .notfound__code{font-size:40px}
  .notfound__title{font-size:28px;letter-spacing:-.01em}
  .notfound__text{font-size:16px}
}
