/* ==========================================================================
   Cyberstaff — homepage
   Design: Figma "Homepage v2" (desktop 1440) + "Mobile" (375)
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root{
  /* colour */
  --ink:        #121a2c;   /* headings, dark sections, footer                */
  --body:       #333c50;   /* body copy                                      */
  --muted:      #93a2be;   /* transcript speaker labels                      */
  --muted-2:    #a7b4cc;   /* timestamps                                     */

  --blue:       #3b59f5;   /* primary brand blue                             */
  --blue-600:   #2563eb;   /* accent blue: play button, active chip, popular */
  --pill:       #e6e9fa;   /* eyebrow pill background                        */
  --pill-2:     #ebeefc;   /* eyebrow pill background, hero                  */
  --chip-on:    #eff4ff;   /* active filter chip background                  */
  --icon-circle:#f1f5fd;   /* AI model icon circle                           */

  --surface:    #f8f8fb;   /* light section background                       */
  --cream:      #faf9f6;   /* warm off-white: player, tab bar                */
  --mint:       #eaf8f2;   /* success chip background                        */
  --green:      #1da97a;   /* success text                                   */
  --green-deep: #277f63;   /* success text on mint                           */
  --amber:      #fbb319;   /* asterisk / swoosh accent                       */
  --border:     #dee0eb;   /* hairline                                       */
  --wave-off:   #d9e2f2;   /* unplayed waveform bar                          */

  --tier-starter:#b48d63;
  --tier-growth: #bfbcbd;
  --tier-scale:  #dba93b;

  /* type */
  --font-head: 'Onest', system-ui, sans-serif;
  --font-em:   'Instrument Sans', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* layout */
  --container: 1280px;
  --gutter: 80px;
  --radius: 10px;
  --radius-sm: 5px;
  --pad: 24px;                 /* container side padding                     */

  /* Distance from the page edge in to the 1280 measure. Full-bleed rows use
     this as their side padding, so their rules run the whole width of the
     page while the content still lands on the measure. The 50% resolves
     against the containing block, so only use it on full-width elements. */
  --edge: max(var(--pad), calc(50% - 640px));
}

/* ---------------------------------------------------------------- reset -- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.5;
  color:var(--body);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%}
img{height:auto}
h1,h2,h3,h4,p,figure,blockquote,ol,ul{margin:0}
ul,ol{list-style:none;padding:0}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--blue);color:#fff;padding:10px 16px;border-radius:0 0 var(--radius-sm) 0;
}
.skip-link:focus{left:0}

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

/* Figma insets all content to 1280px inside the 1440 frame (80px gutters).
   max-width carries the padding so the *content box* lands on 1280. */
.container{
  width:100%;
  max-width:calc(var(--container) + 2 * var(--pad));
  margin-inline:auto;
  padding-inline:var(--pad);
}

/* --------------------------------------------------------- shared type -- */
.h2{
  font-family:var(--font-head);
  font-weight:500;
  font-size:44px;
  line-height:1.27;
  letter-spacing:-.01em;
  color:var(--ink);
}
.h2--center{text-align:center;max-width:700px;margin-inline:auto}
.how .h2--center{max-width:560px}
.integrations .h2--center{max-width:500px}
.pricing .h2--center{max-width:575px}
.h2--light{color:#fff}
.h2 em, .hero__title em{
  font-family:var(--font-em);
  font-style:italic;
  font-weight:400;
}
.h3{
  font-family:var(--font-head);
  font-weight:500;
  font-size:24px;
  line-height:1.5;
  color:var(--ink);
}
.lede{font-size:16px;line-height:1.5;color:var(--body)}
.lede--center{text-align:center;max-width:610px;margin-inline:auto}
.integrations .lede--center,.pricing .lede--center{max-width:560px}
.lede--light{color:rgba(255,255,255,.72)}
.body{font-size:16px;line-height:1.5;color:var(--body)}

.eyebrow{
  font-size:16px;font-weight:600;line-height:1.5;
  letter-spacing:.05em;text-transform:uppercase;color:var(--blue);
}
.eyebrow--pill{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--pill);border-radius:100px;padding:5px 18px;
}
.eyebrow--dark{background:rgba(255,255,255,.12);color:#fff}
.eyebrow__icon{width:16px;height:16px;flex:none}

.kicker{
  font-size:16px;font-weight:600;line-height:1.5;
  letter-spacing:.05em;text-transform:uppercase;color:var(--blue);
}

/* italic word with rule underneath (hero + section heads) */
.u{position:relative;padding-bottom:2px;border-bottom:3px solid var(--ink)}
/* hero rules pick up the amber accent; the word itself stays ink */
.hero__title .u{border-bottom-color:var(--amber)}
/* the design runs a hairline down each edge of the 1280 measure; the
   horizontal rules, by contrast, run the full width of the page.
   main's own bottom rule is the one that sits above the footer. */
main{position:relative;border-bottom:1px solid var(--border)}
main::before,main::after{
  content:'';position:absolute;top:0;bottom:0;width:1px;
  background:var(--border);z-index:2;pointer-events:none;
}
main::before{left:var(--edge)}
main::after{right:var(--edge)}

.sectionhead{
  text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:20px;
}

/* -------------------------------------------------------------- buttons -- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 26px;
  border-radius:var(--radius-sm);
  font-size:14px;font-weight:600;line-height:1;
  white-space:nowrap;
  transition:background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--sm{height:38px;padding:0 18px}
.btn--primary{background:var(--blue);color:#fff}
.btn--primary:hover{background:#2f4ae0}
.btn--outline{background:#fff;color:var(--ink);border:1px solid var(--border)}
.btn--outline:hover{border-color:#c3c7d8}
.btn--outline-light{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.28)}
.btn--outline-light:hover{background:rgba(255,255,255,.08)}
.btn--soft{background:var(--surface);color:var(--ink)}
.btn--soft:hover{background:#eff0f6}
.btn--ghost{background:#fff;color:var(--ink);border:1px solid var(--border)}
/* reads as a link but keeps .btn's height so it lines up beside a real button;
   the icon takes its colour from currentColor */
.btn--link{background:none;border:0;padding:0 8px;color:var(--blue)}
.btn--link:hover{color:#2f4ae0;text-decoration:underline}
.btn__icon{width:16px;height:16px;flex:none}

/* ============================================================== NAV ====== */
.nav{
  position:sticky;top:0;z-index:50;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.nav__inner{
  max-width:calc(var(--container) + 2 * var(--pad));margin-inline:auto;padding:0 var(--pad);
  height:74px;display:flex;align-items:center;gap:32px;
}
.nav__logo{display:flex;align-items:center;flex:none}
.nav__logo img{width:120px;height:auto;display:block}

.nav__menu{display:flex;align-items:center;gap:8px;margin-inline:auto}
.nav__item{position:relative}
.nav__link{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:6px;
  font-size:15px;font-weight:500;color:var(--ink);
}
.nav__link:hover{background:var(--surface)}
.chev{width:11px;height:7px;flex:none;transition:transform .18s ease}
.nav__item.is-open .chev{transform:rotate(180deg)}

.nav__dropdown{
  position:absolute;top:calc(100% + 10px);left:0;
  min-width:210px;padding:8px;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:0 12px 32px rgba(18,26,44,.10);
  display:flex;flex-direction:column;
}
.nav__dropdown[hidden]{display:none}
.nav__dropdown a{padding:9px 12px;border-radius:6px;font-size:14px;color:var(--body)}
.nav__dropdown a:hover{background:var(--surface);color:var(--ink)}

.nav__actions{display:flex;align-items:center;gap:20px;flex:none}
.nav__signin{font-size:15px;font-weight:500;color:var(--ink)}
.nav__signin:hover{color:var(--blue)}

.nav__burger{
  display:none;width:40px;height:40px;
  flex-direction:column;justify-content:center;gap:5px;padding:0 8px;margin-left:auto;
}
.nav__burger span{display:block;width:100%;height:2px;background:var(--ink);border-radius:2px}

.mobile-menu{
  border-top:1px solid var(--border);
  padding:8px 24px 24px;
  display:flex;flex-direction:column;
}
.mobile-menu[hidden]{display:none}
.mobile-menu a{padding:14px 0;font-size:17px;font-weight:500;color:var(--ink);border-bottom:1px solid var(--border)}
.mobile-menu__actions{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.mobile-menu__actions a{border:0;padding:0}

/* ============================================================= HERO ====== */
.hero{position:relative;border-bottom:1px solid var(--border)}
.hero__inner{
  padding:65px 30px 80px;
  text-align:center;
  display:flex;flex-direction:column;align-items:center;
}
.hero__title{
  font-family:var(--font-head);font-weight:500;
  font-size:64px;line-height:1.3;letter-spacing:-.02em;
  color:var(--ink);
}
.hero__sub{max-width:610px;margin-top:17px;font-size:16px;line-height:1.5;color:var(--body)}
.hero__cta{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap;justify-content:center}

/* ========================================================= TRUST BAR ===== */
.trustbar{border-bottom:1px solid var(--border)}
.trustbar__inner{
  display:grid;
  grid-template-columns:1.97fr 1.62fr 1fr 1fr 1fr;
  align-items:center;
  min-height:76px;
}
.trustbar__label{
  font-size:14px;line-height:1.5;font-weight:500;
  letter-spacing:.02em;text-transform:uppercase;color:var(--ink);
  padding:0 32px;max-width:352px;
}
.trustbar__cell{
  display:flex;align-items:center;justify-content:center;gap:10px;
  height:76px;border-left:1px solid var(--border);
}
.trustbar__stars{width:118px;height:22px}
.trustbar__score{font-size:14px;color:var(--body);white-space:nowrap}
.trustbar__score strong{color:var(--ink);font-weight:600}
.trustbar__cell img{object-fit:contain}

/* ========================================================= CALL DEMO ===== */
.demo__panel{background:var(--cream);border-radius:var(--radius);padding:18px 0}
.demo-stage{position:relative;max-width:700px;margin-inline:auto}

/* Cover state: frosted glass over the card, with the pitch and the call
   examples at the top of it. Picking one starts that call and lifts the
   cover for good — the card underneath never changes height. */
.callover{
  position:absolute;inset:1px;z-index:3;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  padding:26px 22px 20px;text-align:center;
  border-radius:9px;
  background:rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(5px) saturate(1.06);
          backdrop-filter:blur(5px) saturate(1.06);
  transition:opacity .38s ease, visibility .38s ease;
}
.demo-stage.is-playing .callover{opacity:0;visibility:hidden}

/* the waveform says "audio" at a glance, before a word is read */
.wavecue{display:flex;align-items:center;gap:4px;height:26px;flex:none;color:var(--blue)}
.wavecue i{
  width:4px;height:8px;border-radius:2px;background:currentColor;
  animation:wavecue 1.1s ease-in-out infinite;
}
.wavecue i:nth-child(2){animation-delay:.14s}
.wavecue i:nth-child(3){animation-delay:.28s}
.wavecue i:nth-child(4){animation-delay:.42s}
@keyframes wavecue{0%,100%{height:8px}50%{height:26px}}

.callover__title{
  margin-top:18px;max-width:520px;
  font-family:var(--font-head);font-weight:500;font-size:30px;line-height:1.26;
  letter-spacing:-.01em;color:var(--ink);
}
.callover__hint{margin-top:9px;font-size:15px;color:var(--body)}

/* ---- the call examples ----------------------------------------------- */
.exlist{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.ex{
  display:inline-flex;align-items:center;gap:9px;
  height:40px;padding:0 16px 0 12px;border-radius:100px;
  border:1px solid var(--border);background:#fff;
  font-size:14px;font-weight:500;color:var(--ink);
  box-shadow:0 1px 2px rgba(18,26,44,.05);
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ex:hover{border-color:#bcc3d8;box-shadow:0 2px 6px rgba(18,26,44,.08)}
.ex:focus-visible{border-radius:100px}
.ex__body{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ex__sep{color:var(--muted-2)}
.ex__dur{font-size:13.5px;color:#7b89a5;font-variant-numeric:tabular-nums}
/* One slot per example: the trade mark by default, a play mark under the
   cursor, so the row reads as a list of businesses rather than a bank of
   buttons. Both glyphs take the label's colour. */
.ex__cue{display:grid;place-items:center;width:17px;height:17px;flex:none}
.ex__ico,.ex__play{grid-area:1/1;transition:opacity .18s ease,transform .18s ease}
.ex__play{width:11px;height:13px;color:var(--blue-600);opacity:0;transform:scale(.8)}
.ex:hover .ex__ico,.ex:focus-visible .ex__ico{opacity:0;transform:scale(.8)}
.ex:hover .ex__play,.ex:focus-visible .ex__play{opacity:1;transform:scale(1)}

/* One sprite of single-colour glyphs, inlined in the page so they render
   from the filesystem too, and drawn in the colour of the label beside them */
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ex__ico,.chip__ico svg{display:block;fill:currentColor}
.ex__ico{width:17px;height:17px}
.chip__ico svg{width:15px;height:15px}

/* ---- the other way to hear it ---------------------------------------- */
.callover__foot{
  margin-top:auto;width:100%;padding-top:14px;
  border-top:1px solid rgba(18,26,44,.08);
}
.callover__call{height:30px;font-size:14px}

.demo-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
/* The live card is a fixed pane: choosing a call must not change the height
   of the section, so the filters and player stay put and the transcript
   scrolls inside. Scoped to #demo-card — the clones in the feature mockups
   are laid out full-length and scaled down. */
#demo-card{height:450px;display:flex;flex-direction:column}
#demo-card .demo-card__filters,#demo-card .player{flex:none}
#demo-card .transcript{flex:1;min-height:0;overflow-y:auto}
/* seven industries do not fit on one line at this width */
#demo-card .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
#demo-card .chips::-webkit-scrollbar{display:none}
#demo-card .chip{flex:none}

.demo-card__filters{padding:18px 22px 20px;display:flex;flex-direction:column;gap:10px}
.filterrow{display:flex;align-items:center;gap:18px}
.filterrow__label{
  flex:none;width:62px;
  font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);
}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  height:34px;padding:0 16px;border-radius:100px;
  border:1px solid var(--border);background:#fff;
  font-size:14px;color:var(--ink);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease;
}
.chip__ico{display:grid;place-items:center;flex:none}
.chip:hover{border-color:#c3c7d8}
.chip.is-active{background:var(--chip-on);border-color:var(--blue-600);color:var(--blue-600);font-weight:500}

.player{
  display:flex;align-items:center;gap:14px;
  padding:16px 40px;
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.player__btn{
  flex:none;width:40px;height:40px;border-radius:50%;
  background:var(--blue-600);
  display:grid;place-items:center;
  box-shadow:0 0 0 5px rgba(37,99,235,.10);
  transition:background-color .16s ease;
}
.player__btn:hover{background:#1d4ed8}
.player__btn svg{width:14px;height:14px}
.player__play{display:none}
.player.is-paused .player__play{display:block}
.player.is-paused .player__pause{display:none}

.player__time{flex:none;font-size:13px;color:var(--body);font-variant-numeric:tabular-nums;min-width:32px}
.player__time--total{text-align:right;color:var(--muted)}
.player__track{flex:1;min-width:0;display:flex;align-items:center;height:20px;cursor:pointer}
.player__rail{width:100%;height:4px;border-radius:2px;background:var(--wave-off);overflow:hidden}
.player__fill{display:block;width:0;height:100%;border-radius:2px;background:var(--blue-600)}
.player__speed{
  flex:none;height:28px;padding:0 12px;border-radius:6px;
  background:#fff;border:1px solid var(--border);
  font-size:12px;font-weight:500;color:var(--ink);
}

.transcript{padding:12px 23px 20px}
.transcript__row{
  display:grid;grid-template-columns:50px 64px 1fr;
  align-items:start;
  padding:7px 0;position:relative;
}
.transcript__row + .transcript__row.is-speech{border-top:1px solid #eef0f6}
.transcript__t{font-size:12px;color:var(--muted-2);padding-top:5px;font-variant-numeric:tabular-nums}
.transcript__avatar{
  width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;justify-self:start;margin-top:2px;
}
.transcript__avatar svg{width:13px;height:13px}
.transcript__avatar--caller{background:#eef1f7;color:#8494b3}
.transcript__avatar--ai{background:#e8eeff;color:var(--blue-600)}
.transcript__avatar--event{background:var(--mint);color:var(--green)}
.transcript__who{font-size:12px;line-height:1.4;color:var(--muted)}
.transcript__row--ai .transcript__who{color:var(--blue-600)}
.transcript__text{font-size:15px;line-height:1.45;color:var(--ink)}
.transcript__event{font-size:13px;font-weight:500;color:var(--green);padding-top:4px}

/* connector line down the avatar column */
.transcript__row:not(:last-child) .transcript__avatar::after{
  content:'';position:absolute;left:85px;top:30px;bottom:-10px;
  width:1px;background:#e7ebf3;
}

/* ========================================================== LOGO WALL ==== */
.logowall{border-block:1px solid var(--border)}
/* same bar height as a trust-bar cell */
.logowall__inner{
  display:flex;align-items:center;gap:40px;
  min-height:76px;
}
.logowall__label{
  flex:none;max-width:252px;padding-left:32px;
  font-size:14px;font-weight:500;line-height:1.5;
  letter-spacing:.02em;text-transform:uppercase;color:var(--ink);
}
/* continuous logo carousel; the track is duplicated in JS for a seamless loop */
.marquee{
  flex:1;min-width:0;overflow:hidden;
  border-left:1px solid var(--border);padding-left:40px;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent);
          mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent);
}
.marquee__track{
  display:flex;align-items:center;gap:64px;width:max-content;
  animation:marquee 34s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track{animation-play-state:paused}
.marquee__track li{flex:none;display:grid;place-items:center}
.marquee__track img{width:auto;height:48px;object-fit:contain}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .marquee__track{animation:none}
  .marquee{-webkit-mask-image:none;mask-image:none}
}

/* ============================================================ PROBLEM ==== */
.problem{border-bottom:1px solid var(--border)}
.problem__grid{
  max-width:calc(var(--container) + 2 * var(--pad));margin-inline:auto;padding-inline:var(--pad);
  display:grid;grid-template-columns:1fr 1fr;
}
.problem__text{
  padding:180px 40px 100px 35px;
  width:100%;
  display:flex;flex-direction:column;align-items:flex-start;gap:26px;
}
.problem__text .h2{max-width:450px}
.problem__text .lede{max-width:475px}

.problem__stats{
  background:var(--cream);
  padding:87px 56px 95px;
  display:flex;flex-direction:column;gap:20px;
  position:relative;
}
.statcard{
  background:#fff;border-radius:var(--radius);
  padding:27px 33px 30px;
}
.statcard__num{
  display:flex;align-items:center;gap:12px;
  font-family:var(--font-em);font-style:italic;font-weight:500;
  font-size:36px;line-height:1.2;color:var(--ink);
}
.statcard__num .ast{width:20px;height:20px;flex:none}
.statcard__body{margin-top:10px;font-size:15px;line-height:1.5;color:var(--body)}
.statcard--dark{
  background:var(--ink);color:#fff;
  transform:rotate(-3.2deg);
  margin-top:-16px;position:relative;z-index:2;
  box-shadow:0 18px 40px rgba(18,26,44,.18);
}
.statcard--dark .statcard__num{color:#fff}
.statcard--dark .statcard__body{color:rgba(255,255,255,.86)}

/* ======================================================== WHAT IT DOES === */
/* the section boundary below the rows runs the full width; the rows'
   own rules are internal to the block, so they stop at the measure */
.what{border-bottom:1px solid var(--border)}
.what .sectionhead{padding-block:65px 0}
.featurerows{margin-top:42px}
.featurerow{
  display:grid;grid-template-columns:1fr 1fr;
  margin-inline:var(--edge);
  border-top:1px solid var(--border);
}
.featurerow__text{
  padding:110px 40px 110px 49px;
  display:flex;flex-direction:column;gap:16px;
  justify-content:center;
  width:100%;
}
.featurerow__text .h3{max-width:420px;text-wrap:balance}
.featurerow__text .body{max-width:420px}
/* the textured panel fills its half of the row, edge to edge */
.featurerow__media{display:grid;padding:0;min-height:440px}

/* Textured panel holding a scaled clone of the real call card. The live card
   is 1280px wide, so the clone is rendered at full size and scaled down —
   keeping type and spacing exact. */
.mock{
  position:relative;
  width:100%;
  overflow:hidden;
  background-repeat:no-repeat;background-size:cover;background-position:center;
}
/* the exported textures are opaque white with faint grid lines, so the row
   tint is multiplied through them rather than sitting uselessly behind */
.mock--cream,.mock--blue,.mock--mint{background-blend-mode:multiply}
.mock--cream{background-color:#faf9f6;background-image:url('../assets/img/texture-cream.png')}
.mock--blue{background-color:#eff2fa;background-image:url('../assets/img/texture-blue.png')}
.mock--mint{background-color:#edf8f3;background-image:url('../assets/img/texture-mint.png')}
.mock__card{
  position:absolute;left:50%;top:50%;
  width:1280px;
  background:#fff;
  border:1px solid var(--border);border-radius:18px;
  box-shadow:0 30px 80px rgba(18,26,44,.10);
  overflow:hidden;
  /* the card sits at 87% of the panel width — set from JS on resize */
  transform:translate(-50%,-50%) scale(var(--mock-scale, .4078));
  transform-origin:center;
}

/* ============================================================== PROOF ==== */
/* section tints stay inside the measure; only the rules run the full width */
.tinted{position:relative;--tint-inset:32px}
.tinted::before{
  content:'';position:absolute;top:0;bottom:0;left:var(--edge);right:var(--edge);
  background:var(--surface);
}
.tinted > *{position:relative}

.proof{padding-block:72px;border-bottom:1px solid var(--border)}
/* Figma insets these sections a further 32px, to a 1216px measure. On the
   tinted sections that inset is measured from the panel's own edge, so it has
   to ride on top of --edge: below 1328px the panel meets the page gutter and
   the content would otherwise sit flush against the tint. */
.proof .container,
.pricing .container{
  max-width:none;
  padding-inline:calc(var(--edge) + var(--tint-inset));
}
.integrations .container{max-width:calc(1216px + 48px)}
.proof .eyebrow{margin-bottom:22px}
.proof .h2{max-width:560px}
.proof .lede{max-width:560px;margin-top:20px}

/* Case studies: the open one shows the quote, the rest are frosted over.
   Rotates on a timer; hovering or focusing holds the current one. */
.cases{
  margin-top:44px;
  display:flex;gap:16px;
  height:406px;
}
.case{
  position:relative;flex:1 1 0;min-width:0;
  border-radius:var(--radius);overflow:hidden;margin:0;
  transition:flex-grow .55s cubic-bezier(.4,0,.2,1);
  will-change:flex-grow;
}
.case.is-open{flex-grow:3.07}

.case__img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;display:block;
}
/* closed cards get the frosted treatment */
.case__frost{
  position:absolute;inset:0;
  background:rgba(232,235,244,.46);
  -webkit-backdrop-filter:blur(7px) saturate(.85);
          backdrop-filter:blur(7px) saturate(.85);
  transition:opacity .5s ease;
}
.case.is-open .case__frost{opacity:0}

/* the whole card is the link through to the case study; hovering it is what
   opens the card, so the click is free to follow the link */
.case__hit{
  position:absolute;inset:0;z-index:3;
  width:100%;height:100%;cursor:pointer;background:none;
}

/* company logo shown while closed, sitting at the foot of the frosted card.
   The frost is light, so the artwork needs no chip behind it here. */
.case__tag{
  position:absolute;left:0;right:0;bottom:24px;z-index:2;
  padding-inline:14px;text-align:center;
  transition:opacity .35s ease;
}
.case__tag img{
  display:inline-block;width:auto;height:auto;
  max-height:34px;max-width:100%;object-fit:contain;
}
.case.is-open .case__tag{opacity:0}

.case__body{
  position:absolute;inset:auto 0 0 0;z-index:2;
  padding:28px;
  background:linear-gradient(to top,rgba(18,26,44,.9) 0%,rgba(18,26,44,.6) 64%,rgba(18,26,44,0) 100%);
  color:#fff;
  opacity:0;transform:translateY(10px);
  transition:opacity .45s ease .1s, transform .45s ease .1s;
}
.case.is-open .case__body{opacity:1;transform:none}
.case__body blockquote{
  font-family:var(--font-em);font-style:italic;font-weight:500;
  /* 30px on a full desktop; the open card narrows faster than the viewport
     does, and the longest quote has to stay inside the card */
  font-size:clamp(23px,1.25vw + 12.5px,30px);
  line-height:1.24;letter-spacing:-.01em;
}
/* the logo sits in the top corner of the open card. The photography behind
   it is uncontrolled, so it keeps a white chip. */
.case__logo{
  position:absolute;top:20px;left:20px;z-index:2;
  display:inline-flex;
  background:#fff;border-radius:8px;padding:9px 12px;
  opacity:0;transition:opacity .4s ease .12s;
}
.case.is-open .case__logo{opacity:1}
.case__logo img{
  display:block;width:auto;height:auto;
  max-height:26px;max-width:132px;object-fit:contain;
}
.case__name{margin-top:18px;font-size:18px;font-weight:500}
.case__role{margin-top:4px;font-size:15px;color:rgba(255,255,255,.78)}
.cases__dots{display:none}

.statstrip{
  margin-top:22px;
  background:var(--ink);border-radius:var(--radius);
  display:grid;grid-template-columns:repeat(5,1fr);
}
.statstrip li{
  padding:40px 20px;text-align:center;
  display:flex;flex-direction:column;gap:6px;
  border-left:1px solid rgba(255,255,255,.13);
}
.statstrip li:first-child{border-left:0}
.statstrip__n{
  font-family:var(--font-em);font-style:italic;font-weight:500;
  font-size:28px;line-height:1.2;color:#fff;
}
.statstrip__l{font-size:14px;color:rgba(255,255,255,.72)}

.proof__link{margin-top:33px;text-align:center}
.proof__link a{font-size:15px;font-weight:600;color:var(--blue)}
.proof__link a:hover{text-decoration:underline}

/* ======================================================== HOW IT WORKS === */
.how{padding-block:86px;border-bottom:1px solid var(--border)}
.how .sectionhead{margin-bottom:70px}
.steps{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  position:relative;
}
.step{text-align:center;display:flex;flex-direction:column;align-items:center;position:relative;z-index:1}
.step__num{
  width:72px;height:72px;border-radius:50%;
  display:grid;place-items:center;
  background:#fff;border:1px solid var(--border);
  font-family:var(--font-head);font-weight:500;font-size:24px;color:var(--ink);
  box-shadow:0 8px 22px rgba(18,26,44,.07);
}
.step__title{
  margin-top:26px;
  font-family:var(--font-head);font-weight:500;font-size:24px;line-height:1.4;color:var(--ink);
}
.step .body{margin-top:12px;max-width:320px}

/* ============================================================= OWN AI ==== */
.ownai{border-bottom:1px solid var(--border)}
.ownai__grid{
  max-width:calc(var(--container) + 2 * var(--pad));margin-inline:auto;padding-inline:var(--pad);
  display:grid;grid-template-columns:624fr 656fr;
}
.ownai__text{
  padding:93px 40px 93px 32px;
  width:100%;
  display:flex;flex-direction:column;align-items:flex-start;gap:24px;
  border-right:1px solid var(--border);
}
.ownai__text .h2{max-width:560px}
.ownai__text .lede{max-width:477px}

.ownai__cards{
  background:var(--surface);
  padding:70px 22px 70px 44px;
  display:flex;flex-direction:column;gap:15px;
}
.modelcard{
  background:#fff;border-radius:8px;
  min-height:104px;padding:14px 20px;
  display:grid;grid-template-columns:44px 1.35fr 1.1fr 1fr;
  align-items:center;gap:14px;
}
.modelcard__icon{
  width:44px;height:44px;border-radius:50%;
  background:var(--icon-circle);
  display:grid;place-items:center;
}
.modelcard__icon img{width:auto;height:19px}
.modelcard__copy h3{font-size:14px;font-weight:600;color:var(--ink);line-height:1.4}
.modelcard__copy p{margin-top:3px;font-size:12.5px;line-height:1.45;color:var(--body)}
.modelcard__viz{display:flex;align-items:center;gap:8px;min-height:34px}
.modelcard__result{
  display:flex;align-items:flex-start;gap:8px;
  background:var(--mint);border-radius:6px;padding:10px 12px;
  font-size:12px;line-height:1.35;color:var(--green-deep);font-weight:500;
}
.modelcard__result .tick{width:15px;height:15px;flex:none;color:var(--green);margin-top:1px}

/* small data-viz marks inside the model cards */
.viz-dots{
  flex:1;height:2px;
  background:repeating-linear-gradient(to right,var(--wave-off) 0 3px,transparent 3px 7px);
}
.viz-wave{flex:1;height:26px;min-width:40px}
.viz-wave--on{
  background:repeating-linear-gradient(to right,var(--blue-600) 0 2px,transparent 2px 5px);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13h100' stroke='%23000' stroke-width='26'/%3E%3C/svg%3E");
  clip-path:polygon(0 38%,4% 20%,8% 62%,12% 8%,16% 74%,20% 26%,24% 50%,28% 12%,32% 68%,36% 30%,40% 56%,44% 16%,48% 72%,52% 24%,56% 46%,60% 10%,64% 66%,68% 34%,72% 58%,76% 18%,80% 70%,84% 28%,88% 52%,92% 14%,96% 60%,100% 36%,100% 64%,96% 40%,92% 86%,88% 48%,84% 72%,80% 30%,76% 82%,72% 42%,68% 66%,64% 34%,60% 90%,56% 54%,52% 76%,48% 28%,44% 84%,40% 44%,36% 70%,32% 32%,28% 88%,24% 50%,20% 74%,16% 26%,12% 92%,8% 38%,4% 80%,0 62%);
}
.viz-wave--noisy{background:repeating-linear-gradient(to right,#c6d5f2 0 2px,transparent 2px 5px);clip-path:inherit}
.viz-wave--clean{background:repeating-linear-gradient(to right,var(--blue-600) 0 2px,transparent 2px 5px)}
.viz-wave--noisy,.viz-wave--clean{
  clip-path:polygon(0 40%,5% 22%,10% 64%,15% 12%,20% 74%,25% 30%,30% 52%,35% 16%,40% 68%,45% 34%,50% 58%,55% 20%,60% 72%,65% 28%,70% 50%,75% 14%,80% 66%,85% 36%,90% 60%,95% 24%,100% 44%,100% 56%,95% 76%,90% 40%,85% 64%,80% 34%,75% 86%,70% 50%,65% 72%,60% 28%,55% 80%,50% 42%,45% 66%,40% 32%,35% 84%,30% 48%,25% 70%,20% 26%,15% 88%,10% 36%,5% 78%,0 60%);
}
.viz-arrow{flex:none;color:var(--muted);font-size:16px;line-height:1}
.viz-track{
  flex-basis:100%;height:4px;
  background:
    radial-gradient(circle,var(--blue-600) 1.6px,transparent 1.7px) left/7px 100% repeat-x;
  -webkit-mask:linear-gradient(to right,#000 0 42%,rgba(0,0,0,.35) 42% 66%,rgba(0,0,0,.15) 66% 100%);
          mask:linear-gradient(to right,#000 0 42%,rgba(0,0,0,.35) 42% 66%,rgba(0,0,0,.15) 66% 100%);
}
.modelcard__viz--turns{flex-wrap:wrap;gap:6px}
.turnpill{
  flex:1;text-align:center;
  border:1px solid var(--border);border-radius:4px;
  padding:3px 4px;font-size:8.5px;color:var(--body);background:#fff;
}
.viz-scatter{flex:1;height:30px;min-width:44px}
.viz-scatter--loose{
  background:radial-gradient(circle,var(--blue-600) 1.3px,transparent 1.4px) 0 0/9px 9px;
  opacity:.45;
}
.viz-scatter--tight{
  background:radial-gradient(circle,var(--blue-600) 1.5px,transparent 1.6px) 0 0/6px 6px;
  -webkit-mask:radial-gradient(circle at 50% 50%,#000 45%,transparent 62%);
          mask:radial-gradient(circle at 50% 50%,#000 45%,transparent 62%);
}

.metricstrip{
  width:min(1280px, calc(100% - 48px));margin-inline:auto;
  background:var(--ink);
  display:grid;grid-template-columns:repeat(3,1fr);
}
.metricstrip li{
  display:flex;align-items:center;gap:16px;
  padding:28px 34px;
  border-left:1px solid rgba(255,255,255,.13);
}
.metricstrip li:first-child{border-left:0}
.metricstrip__n{
  font-family:var(--font-em);font-style:italic;font-weight:500;
  font-size:32px;line-height:1;color:#fff;flex:none;
}
.metricstrip__l{font-size:14px;line-height:1.45;color:rgba(255,255,255,.78)}

/* ======================================================= INTEGRATIONS ==== */
.integrations{padding-block:126px;border-bottom:1px solid var(--border)}
.integrations .sectionhead{margin-bottom:44px}
.intgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.intgrid li{
  height:81px;display:grid;place-items:center;
  border-radius:8px;background:#fff;
  padding:16px;
}
.intgrid img{width:auto;height:43px;object-fit:contain}

.integrations__note{margin-top:44px;text-align:center;font-size:15px;color:var(--body)}
.integrations__note a{font-weight:600;color:var(--blue)}
.integrations__note a:hover{text-decoration:underline}

/* ============================================================ PRICING ==== */
.pricing{padding-block:81px 94px;border-bottom:1px solid var(--border)}
.pricing .sectionhead{margin-bottom:50px}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;align-items:start;margin-top:26px}
.plan{
  position:relative;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:18px 22px;
  display:flex;flex-direction:column;
}
.plan--popular{border-color:var(--blue-600)}
.plan__badge{
  position:absolute;top:-26px;left:50%;transform:translateX(-50%);
  background:var(--blue);color:#fff;
  border-radius:10px 10px 0 0;
  padding:5px 20px;
  font-size:12px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;
}
.plan__tier{
  display:flex;align-items:center;gap:10px;
  border-radius:var(--radius-sm);padding:10px 16px;
  font-size:16px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#fff;
}
.plan__tier--starter{background:var(--tier-starter)}
.plan__tier--growth{background:var(--tier-growth)}
.plan__tier--scale{background:var(--tier-scale)}
.spark{width:16px;height:16px;flex:none}

.plan__price{
  margin-top:14px;
  font-family:var(--font-head);font-weight:600;font-size:44px;line-height:1.4;color:var(--ink);
  display:flex;align-items:baseline;gap:8px;
}
.plan__price span{font-family:var(--font-body);font-weight:400;font-size:16px;color:var(--body)}
.plan__desc{margin-top:6px;font-size:14px;line-height:1.5;color:var(--body)}

.plan__features{
  margin-top:16px;padding-top:16px;border-top:1px solid var(--border);
  display:flex;flex-direction:column;gap:8px;flex:1;
}
.plan__features li{
  display:flex;align-items:center;gap:12px;
  font-size:14px;line-height:1.5;color:var(--body);
}
.plan__features li::before{
  content:'';flex:none;width:24px;height:24px;border-radius:12px;
  background-repeat:no-repeat;background-position:center;background-size:12px 12px;
}
.plan__features li.yes::before{
  background-color:#eceffe;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.6 8.9 10 3.4' fill='none' stroke='%233b59f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan__features li.no::before{
  background-color:#fff;
  box-shadow:inset 0 0 0 1px #eef0f8;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%233b59f5' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.plan__cta{margin-top:14px;width:100%}

.volumes{
  min-height:111px;margin-top:36px;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:28px 32px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.volumes__eyebrow{
  margin-bottom:9px;
  font-size:12.5px;font-weight:600;line-height:1;
  letter-spacing:.09em;text-transform:uppercase;color:var(--blue);
}
.volumes__title{font-family:var(--font-head);font-weight:500;font-size:22px;line-height:1.3;color:var(--ink)}
.volumes__sub{margin-top:7px;font-size:15px;line-height:1.5;color:var(--body);max-width:660px}

/* ======================================================= CALL CENTRES ==== */
/* The dark panel is a block on the 1280 measure — like the footer — so the
   page's own rules run past it above and below. */
.callcentres{
  position:relative;color:#fff;--cc-inset:44px;
  border-bottom:1px solid var(--border);
}
.callcentres::before{
  content:'';position:absolute;top:0;bottom:0;left:var(--edge);right:var(--edge);
  background:var(--ink);
}
.callcentres > *{position:relative}
.callcentres__head{
  padding-block:108px 70px;
  padding-inline:calc(var(--edge) + var(--cc-inset));
  display:block;
}
.callcentres__head .eyebrow{margin-bottom:24px}
.callcentres__head .h2{max-width:575px}

.ccgrid{
  display:grid;grid-template-columns:repeat(3,1fr);
  margin-inline:var(--edge);
  border-top:1px solid rgba(255,255,255,.13);
}
.ccgrid li{
  padding:var(--cc-inset) var(--cc-inset) calc(var(--cc-inset) + 8px);
  border-left:1px solid rgba(255,255,255,.13);
  border-bottom:1px solid rgba(255,255,255,.13);
}
.ccgrid li:nth-child(3n+1){border-left:0}
.ccgrid img{height:52px;width:auto;margin-bottom:32px;display:block}
.ccgrid h3{
  font-family:var(--font-head);font-weight:500;font-size:22px;line-height:1.35;color:#fff;
  max-width:240px;
}
.ccgrid p{margin-top:14px;font-size:15px;line-height:1.55;color:rgba(255,255,255,.72);max-width:300px}

.callcentres__foot{
  padding-block:56px 94px;padding-inline:calc(var(--edge) + var(--cc-inset));text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:24px;
}
/* a reassurance line, not a label: it hangs off the bottom rule of the grid
   rather than floating with the buttons */
.ccgrid__works{
  margin-inline:var(--edge);
  padding:30px var(--cc-inset) 0;
  display:flex;align-items:center;justify-content:center;gap:9px;
  font-size:15px;color:#fff;
}
.ccgrid__tick{width:17px;height:17px;flex:none;color:var(--green)}
.callcentres__cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

/* ================================================================ FAQ ==== */
.faq{padding-block:82px}
.faq .sectionhead{margin-bottom:48px}
.faq__list{max-width:864px;display:flex;flex-direction:column;gap:14px}
.qa{
  border:1px solid var(--border);border-radius:8px;background:#fff;
  transition:border-color .16s ease;
}
.qa[open]{border-color:#c8cfe4}
.qa summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:22px 26px;
  font-size:19px;font-weight:500;color:var(--ink);
  font-family:var(--font-head);
}
.qa summary::-webkit-details-marker{display:none}
.qa__icon{
  flex:none;position:relative;width:16px;height:16px;
}
.qa__icon::before,.qa__icon::after{
  content:'';position:absolute;inset:0;margin:auto;
  background:var(--blue);border-radius:1px;
}
.qa__icon::before{width:16px;height:2px}
.qa__icon::after{width:2px;height:16px;transition:transform .2s ease}
.qa[open] .qa__icon::after{transform:scaleY(0)}
.qa__body{padding:0 26px 24px;max-width:720px}
.qa__body p{font-size:16px;line-height:1.6;color:var(--body)}

/* ============================================================= FOOTER ==== */
.footer{
  width:min(1280px, calc(100% - 48px));margin-inline:auto;
  background:var(--ink);color:#fff;
}
.footer .container{max-width:none;padding-inline:44px}
.footer__top{
  display:grid;grid-template-columns:1fr 2.7fr;gap:48px;
  padding-block:64px;
}
.footer__logo{width:120px;height:auto;filter:brightness(0) invert(1)}
.footer__brand{padding-right:48px}
.footer__brand p{margin-top:18px;font-size:15px;color:rgba(255,255,255,.72)}
.footer__badges{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:20px}
.footer__badges li{display:flex;align-items:center}
/* the ISO seal is a detailed circular mark, so the row runs taller than
   the old flat badges did */
.footer__badges img{display:block;width:auto;height:auto;max-height:30px;object-fit:contain}
.footer__cols{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:28px}
.footer__cols h4{
  font-size:14px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#fff;
  padding-bottom:10px;position:relative;
}
.footer__cols a{display:block;padding:6px 0;font-size:15px;color:rgba(255,255,255,.8)}
.footer__cols a:hover{color:#fff}
.footer__contact a{display:flex;align-items:center;gap:10px;white-space:nowrap}
.footer__cicon{width:17px;height:17px;flex:none;color:rgba(255,255,255,.55)}
.footer__cicon--wa{color:#25d366}
.footer__contact a:hover .footer__cicon{color:rgba(255,255,255,.8)}
.footer__contact a:hover .footer__cicon--wa{color:#25d366}

.footer__bottom{
  border-top:1px solid rgba(255,255,255,.13);
  padding-block:28px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  font-size:14px;color:rgba(255,255,255,.72);
}
.footer__legal a:hover{color:#fff;text-decoration:underline}

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

/* ---- wide-desktop down to tablet ---------------------------------------- */
@media (max-width:1180px){
  .h2{font-size:38px}
  .hero__title{font-size:52px}
  .problem__text,.ownai__text,.featurerow__text{padding-inline:48px}
  .problem__stats,.ownai__cards{padding-inline:40px}
  .callcentres{--cc-inset:36px}
  .ccgrid li{padding:var(--cc-inset)}
  .modelcard{grid-template-columns:40px 1fr 1fr;row-gap:12px}
  .modelcard__result{grid-column:2 / -1}
  .marquee__track{gap:48px}
}

@media (max-width:980px){
  main::before,main::after{display:none}
  .nav__menu,.nav__actions{display:none}
  .nav__burger{display:flex}
  .nav__inner{height:64px;gap:16px}

  /* no measure below this width, so the tinted and dark panels go full-bleed
     and their own padding carries the gutter */
  .tinted::before,.callcentres::before{left:0;right:0}
  /* full-bleed panel: the container's own gutter is the whole inset */
  .tinted{--tint-inset:0px}
  .callcentres__head,
  .callcentres__foot{padding-inline:var(--cc-inset)}
  .ccgrid,.ccgrid__works{margin-inline:0}

  .trustbar__inner{grid-template-columns:1fr 1fr;}
  .trustbar__label{grid-column:1 / -1;max-width:none;padding:20px 0;text-align:center}
  .trustbar__cell{border-left:1px solid var(--border);border-top:1px solid var(--border)}

  .problem__grid,.ownai__grid,.featurerow{grid-template-columns:1fr}
  /* stacked: no measure to respect, so the rules go full width again and
     the panel bleeds past the row's gutter to the page edges */
  .featurerow{margin-inline:0;padding-inline:var(--pad)}
  .featurerow__text{max-width:none;padding-block:64px}
  .featurerow__media{min-height:0;margin-inline:calc(-1 * var(--pad))}
  .mock{aspect-ratio:600/440;max-height:520px}
  .ownai__text{border-right:0;max-width:none}
  .problem__text{padding-block:80px 60px;max-width:none}
  .problem__stats{padding-block:60px 80px}

  .steps{grid-template-columns:1fr;gap:56px}

  .cases{height:340px}
  .case.is-open{flex-grow:2.4}
  .case__body{padding:22px}
  /* the row still expands one card here, and it gets narrow fast */
  .case__body blockquote{font-size:clamp(17px,2.4vw,21px)}
  /* the card is shorter here, so the logo chip gives its height back */
  .case__logo{top:14px;left:14px;padding:6px 9px}
  .case__logo img{max-height:20px;max-width:110px}
  .case__tag img{max-height:28px}
  .case__name{margin-top:10px}
  .statstrip{grid-template-columns:repeat(2,1fr)}
  .statstrip li:nth-child(odd){border-left:0}
  .statstrip li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.13)}
  .statstrip li:last-child{grid-column:1 / -1}

  .metricstrip{grid-template-columns:1fr}
  .metricstrip li{border-left:0;border-top:1px solid rgba(255,255,255,.13)}
  .metricstrip li:first-child{border-top:0}

  .intgrid{grid-template-columns:repeat(3,1fr)}
  .plans{grid-template-columns:1fr;max-width:520px;margin-inline:auto}
  .callcentres__head{grid-template-columns:1fr;gap:28px;align-items:start}
  .ccgrid{grid-template-columns:repeat(2,1fr)}
  .ccgrid li:nth-child(odd){border-left:0}
  .ccgrid li:nth-child(even){border-left:1px solid rgba(255,255,255,.13)}
  .footer .container{padding-inline:20px}
  .footer__top{grid-template-columns:1fr;gap:40px}
}

/* ---- mobile (design reference: Figma "Mobile" 375) ---------------------- */
@media (max-width:720px){
  :root{--pad:20px}

  /* the mobile design uses a smaller wordmark and a shorter bar */
  .nav__inner{height:72px}
  .nav__logo img{width:86px}
  .nav__burger{width:34px;height:34px}

  .h2{font-size:32px;line-height:1.25}
  .h3{font-size:22px}
  .eyebrow{font-size:14px}

  /* hero — heading wraps to 3 lines, amber swoosh under "follow-up" */
  .hero__inner{padding-block:44px 40px}
  .hero__title{font-size:30px;line-height:1.25}
  .hero__sub{margin-top:20px;font-size:16px}
  .hero__cta{flex-direction:column;align-items:stretch;width:100%;margin-top:26px;gap:10px;max-width:300px;}
  .hero__cta .btn{width:100%}

  /* label, then Trustpilot full width, then the three badges in a row */
  .trustbar{border-bottom:0}
  .trustbar__inner{grid-template-columns:repeat(3,1fr)}
  .trustbar__label{grid-column:1/-1;max-width:none;text-align:center;padding:22px 0 16px}
  .trustbar__cell{height:76px;border:1px solid var(--border);margin:0 0 -1px -1px}
  .trustbar__cell:first-of-type{grid-column:1/-1}
  .trustbar__cell img{max-height:38px;width:auto}

  /* call demo — chips scroll horizontally, transcript tightens.
     Scoped to #demo-card so the scaled clones in the feature mockups keep
     their desktop metrics (media queries are viewport-based, not per-element). */
  .demo{padding-block:0;background:var(--surface)}
  .demo .container{padding-inline:0}
  .demo__panel{padding:12px 12px 0;border-radius:0}
  #demo-card{border-radius:8px}
  #demo-card .demo-card__filters{padding:14px 16px}
  #demo-card .filterrow{gap:12px}
  #demo-card .filterrow__label{width:auto;min-width:54px}
  #demo-card .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  #demo-card .chips::-webkit-scrollbar{display:none}
  #demo-card .chip{flex:none}
  #demo-card .player{padding:14px 16px;gap:10px}
  #demo-card .player__btn{width:38px;height:38px}
  #demo-card .player__track{min-width:60px}
  #demo-card .transcript{padding:4px 16px 16px}
  #demo-card .transcript__row{grid-template-columns:34px 26px 1fr;gap:8px}
  #demo-card .transcript__row:not(:last-child) .transcript__avatar::after{left:47px}
  #demo-card .transcript__text{font-size:14.5px}

  .logowall__inner{flex-direction:column;gap:20px;padding-block:32px}
  .logowall__label{max-width:none;text-align:center}
  .marquee{border-left:0;padding-left:0;width:100%}
  .marquee__track{gap:40px}
  .marquee__track img{height:52px}

  /* the examples need several rows on a phone, so the card runs taller and
     the transcript goes back to growing with the page rather than scrolling */
  #demo-card{height:auto}
  .demo-stage:not(.is-playing) #demo-card{height:452px}
  #demo-card .transcript{overflow:visible}
  .callover{padding:20px 12px 16px}
  .callover__eyebrow{font-size:12.5px;padding:4px 13px 4px 11px}
  .callover__title{margin-top:13px;font-size:23px;max-width:330px}
  .callover__hint{margin-top:7px;font-size:14px}
  .exlist{gap:8px;margin-top:18px}
  .ex{height:38px;padding:0 12px;gap:8px;font-size:13.5px}
  /* the times do not fit two-up on a phone; the waveform and the hint
     above already say these are recordings */
  .ex__sep,.ex__dur{display:none}
  .ex__cue,.ex__ico{width:16px;height:16px}
  .callover__foot{padding-top:11px}
  .callover__call{height:28px;font-size:13.5px}

  .problem__text{padding:56px 20px 44px;gap:20px}
  .problem__stats{padding:40px 20px 56px}
  .statcard{padding:22px 24px}
  .statcard__num{font-size:30px}
  .statcard--dark{margin-top:-36px}

  .what .sectionhead{padding-top:64px}
  .featurerows{margin-top:56px}
  .featurerow__text{padding:48px 20px 36px}
  .featurerow__media{padding:0}

  .proof{padding-block:64px}
  .proof .lede{margin-top:16px}
  /* case studies become a swipeable carousel, each card fully open */
  .cases{
    display:flex;gap:12px;margin-top:32px;height:auto;
    overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    margin-inline:-20px;padding-inline:20px;
  }
  .cases::-webkit-scrollbar{display:none}
  .case{flex:0 0 100%;scroll-snap-align:center;height:340px}
  .case.is-open{flex-grow:0}
  /* .case__hit stays: with no hover on touch it is purely the through-link */
  .case__frost,.case__tag{display:none}
  .case__body{opacity:1;transform:none;padding:22px}
  .case__body blockquote{font-size:22px}
  .case__logo{opacity:1;top:14px;left:14px;padding:6px 9px}
  .case__logo img{max-height:20px;max-width:110px}
  .cases__dots{display:flex;justify-content:center;gap:8px;margin-top:18px}
  .cases__dots button{width:7px;height:7px;border-radius:50%;background:var(--border);padding:0}
  .cases__dots button.is-active{background:var(--blue)}
  .statstrip{grid-template-columns:repeat(2,1fr);margin-top:26px}
  .statstrip li{padding:24px 16px}
  .statstrip__n{font-size:24px}

  .how{padding-block:64px}
  .how .sectionhead{margin-bottom:40px}
  /* steps stack vertically — no horizontal swiping */
  .steps{
    display:grid;grid-template-columns:1fr;gap:40px;
    overflow-x:visible;
  }
  .step{padding-inline:0}

  .ownai__text{padding:56px 20px 44px}
  .ownai__cards{padding:32px 20px 44px}
  .modelcard{grid-template-columns:40px 1fr;row-gap:14px;padding:16px}
  .modelcard__viz,.modelcard__result{grid-column:1 / -1}
  .metricstrip li{padding:26px 20px;gap:14px}
  .metricstrip__n{font-size:28px}

  .integrations{padding-block:64px}
  /* tab bar becomes a stacked list, per the mobile design */
  .intgrid{grid-template-columns:repeat(2,1fr);gap:12px}
  .intgrid li{height:72px}
  .integrations__note{margin-top:24px;font-size:14px}

  .pricing{padding-block:64px}
  .plans{gap:20px}
  .plan__price{font-size:38px}
  .volumes{flex-direction:column;text-align:center;gap:18px;padding:28px 22px}
  .volumes .btn{width:100%}

  .callcentres{--cc-inset:var(--pad)}
  .callcentres__head{padding-block:56px 40px}
  .ccgrid{grid-template-columns:1fr}
  .ccgrid li,
  .ccgrid li:nth-child(odd),
  .ccgrid li:nth-child(even){padding:36px var(--cc-inset);border-left:0}
  .ccgrid h3,.ccgrid p{max-width:none}
  .ccgrid__works{padding-top:26px;font-size:14px;text-align:left}
  .callcentres__foot{padding-block:36px 60px}
  .callcentres__cta{flex-direction:column;align-items:stretch;width:100%;gap:10px}
  .callcentres__foot .btn{width:100%}

  .faq{padding-block:64px}
  .faq summary{font-size:17px;padding:18px 20px;gap:16px}
  .qa__body{padding:0 20px 20px}

  /* footer stacks and centres, per the mobile design */
  .footer__top{padding-block:44px;gap:0}
  .footer__brand{text-align:center;padding:0 0 36px;border-bottom:1px solid rgba(255,255,255,.13)}
  .footer__logo{width:86px;margin-inline:auto}
  .footer__badges{justify-content:center;margin-top:20px}
  .footer__cols{grid-template-columns:1fr;gap:32px;padding-top:36px;text-align:center}
  .footer__cols h4{padding-bottom:12px}
  .footer__contact a{justify-content:center}
  .footer__bottom{flex-direction:column;gap:14px;text-align:center;padding-block:24px}
}

/* ---- motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
  /* still reads as a waveform, without the bouncing */
  .wavecue i{animation:none!important}
  .wavecue i:nth-child(1){height:5px}
  .wavecue i:nth-child(2){height:11px}
  .wavecue i:nth-child(3){height:8px}
  .wavecue i:nth-child(4){height:13px}
}
