/* ============================================================
   High-risk Scale — Contact
   Flow + Grid + Flexbox. No coordinate positioning.
   No absolute positioning; overlapping pieces share one grid cell,
   decorations are background layers. Whole numbers only.
   ============================================================ */

/* ---------- tokens ---------- */
:root{
  --blue:#2f5bff;
  --ink:#0b0f19;
  --grey:#9ca3af;
  --text-soft:#5b6072;
  --nav:#747881;
  --nav-active:#373a42;

  --on-blue:#ffffffd6;
  --rule-card:#ffffff47;
  --rule-field:#ffffff73;

  --gutter:clamp(16px,calc(28vw / 5),80px);
  --pill:999px}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:radial-gradient(circle 1000px at -50px -210px,#2f5bff1f 0,#2f5bff1c 150px,#2f5bff14 300px,#2f5bff0c 450px,#2f5bff06 600px,#2f5bff02 750px,#2f5bff01 900px,#2f5bff00 1000px) no-repeat,radial-gradient(circle 1000px at calc(100% - 18px) -244px,#2f5bff15 0,#2f5bff13 150px,#2f5bff0e 300px,#2f5bff08 450px,#2f5bff04 600px,#2f5bff02 750px,#2f5bff01 900px,#2f5bff00 1000px) no-repeat,#fff;
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:calc(13 / 8);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
p,h1,h2,h3{margin:0}
h1,h2,h3{font-size:inherit;font-weight:inherit}
button,input,textarea{
  font:inherit;color:inherit;margin:0;
  background:none;border:0;border-radius:0;
  -webkit-appearance:none;appearance:none;
  -webkit-tap-highlight-color:transparent}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* ---------- shared layout ---------- */
.wrap{width:100%;max-width:1440px;margin:0 auto;padding:0 var(--gutter)}
.page{padding:24px 0 64px}

/* ---------- brand ---------- */
.brand{display:flex;align-items:center;gap:10px;flex:0 1 auto;min-width:0}
.brand__mark{width:39px;height:36px;flex:none}
.brand__name{
  font-size:20px;line-height:calc(23 / 20);font-weight:700;
  letter-spacing:calc(-1em / 25);white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.brand__name b{color:var(--blue)}
.brand--light{color:#fff}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;flex:none;
  border-radius:var(--pill);white-space:nowrap}
.btn__ico{display:flex;align-items:center;justify-content:center;flex:none}
.btn--dark{
  height:40px;padding:0 6px 0 14px;gap:10px;
  background:var(--ink);color:#fff;
  font-size:14px;font-weight:600}
.btn--dark .btn__ico{width:28px;height:28px;border-radius:50%;background:var(--blue)}
.btn--dark svg{width:20px;height:20px}
.btn--white{
  height:56px;padding:0 24px 0 32px;gap:12px;
  background:#fff;color:var(--blue);
  font-size:16px;font-weight:700;
  box-shadow:0 12px 26px -6px #2f5bff80}
.btn--white svg{width:26px;height:26px}

/* ============================================================
   HEADER
   ============================================================ */
.topbar{
  display:flex;align-items:center;
  min-height:68px;padding:0 20px 0 24px;
  background:#fff;border-radius:var(--pill);
  box-shadow:0 4px 18px #0b0f1912;
  overflow:hidden}
/* on desktop the wrapper is transparent to the layout:
   .nav and the CTA stay direct flex children of .topbar */
.menu{display:contents}

.nav{
  display:flex;flex:1;align-items:center;justify-content:center;gap:40px;
  font-size:14px;line-height:calc(12 / 7)}

/* burger — hidden until the nav collapses */
.burger{
  display:none;flex:none;
  width:44px;height:44px;margin-left:auto;
  align-items:center;justify-content:center;
  border-radius:50%}
.burger > span{display:grid;width:20px;height:14px;background:linear-gradient(var(--ink),var(--ink)) center / 20px 2px no-repeat;transition:background-size 150ms ease}
.burger > span::before,.burger > span::after{content:"";grid-area:1 / 1;width:20px;height:2px;border-radius:2px;background:var(--ink);transition:transform 200ms ease}
.burger > span::before{align-self:start}
.burger > span::after{align-self:end}
.is-open .burger > span{background-size:0 2px}
.is-open .burger > span::before{transform:translateY(6px) rotate(45deg)}
.is-open .burger > span::after{transform:translateY(-6px) rotate(-45deg)}
.nav a{color:var(--nav);white-space:nowrap;transition:color 180ms ease}
.nav a:focus-visible{color:var(--nav-active);font-weight:700}
/* hover only where a pointer can actually hover — on touch screens the
   state sticks to the last tapped item and looks like a selected page */
@media (hover:hover){.nav a:hover{color:var(--nav-active);font-weight:700}}

/* the hovered item turns bold — this reserves the bold width up front
   so the neighbouring links never shift */
.nav a,.foot__nav a{display:inline-grid;justify-items:center}
.nav a::before,.foot__nav a::before{
  content:attr(data-label);
  font-weight:700;height:0;overflow:hidden;visibility:hidden}



/* ============================================================
   CASE — shared furniture (same components as the other pages)
   ============================================================ */
.sec{margin-top:120px}

.eyebrow{
  display:inline-flex;align-items:center;gap:14px;align-self:flex-start;
  height:30px;padding:0 17px;
  background:#eaefff;border-radius:var(--pill);
  color:var(--blue);
  font-size:12px;font-weight:700;letter-spacing:calc(5em / 91);text-transform:uppercase}
.eyebrow::before{content:"";flex:none;width:6px;height:6px;border-radius:2px;background:currentColor}
.h2{font-size:clamp(28px,calc(33vw / 10),42px);line-height:calc(9 / 7);font-weight:700;letter-spacing:calc(-1em / 25)}
.h2 b,.hero__title b{font-weight:inherit;color:var(--blue)}
.h3{font-size:22px;line-height:calc(141 / 97);font-weight:700;letter-spacing:calc(-1em / 25)}
.lead{color:var(--text-soft)}
.panel{padding:44px;background:#f6f8fd;border-radius:37px}

.btn--primary{
  min-width:268px;height:58px;padding:0 24px;gap:14px;justify-content:center;
  background:var(--blue);color:#fff;font-size:16px;font-weight:700;
  box-shadow:0 11px 27px -7px #2f5bff80}
.btn--primary svg{width:18px;height:18px}

.arrows{display:flex;gap:12px;flex:none}
.arrow{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:51px;height:51px;border-radius:50%;
  background:#fff;border:1px solid #e3e8f5;color:#c3c9d8}
.arrow svg{width:17px;height:17px}
.arrow--next{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 6px 15px #2f5bff5c}
.arrow[disabled]{opacity:40%;cursor:default;box-shadow:none}

/* image slots — replaced with the artwork from the design */
.ph{
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  background:#eef1f8;border:1px dashed #cfd6e8;border-radius:24px;
  color:#a6abba;font-size:13px;letter-spacing:calc(1em / 50);text-align:center}
.ph img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.ph:has(img){border:0;background:none}

/* ============================================================
   1 — HERO  (dark card, exactly as in the design)
   ============================================================ */
.hero{overflow:hidden;
  display:grid;grid-template-columns:minmax(0,562fr) minmax(0,552fr);
  gap:63px;align-items:start;
  margin-top:56px;padding:58px 52px 52px;
  background:radial-gradient(min(413px,29vw) min(349px,24vw) at 47% calc(-74% + min(349px,24vw)),#2f5bff57,#2f5bff00 70%),radial-gradient(circle min(257px,18vw) at 90% calc(31% + min(257px,18vw)),#2f5bff29,#2f5bff00 70%),var(--ink);border-radius:37px;color:#fff}

.hero .eyebrow{
  height:30px;background:#2f5bff24;
  border:1px solid #8fa5ff52;color:#8fa5ff;letter-spacing:calc(1em / 12)}
.hero__title{margin-top:19px;font-size:clamp(28px,calc(29vw / 10),36px);line-height:50px;font-weight:700;letter-spacing:calc(-1em / 25)}
.hero__text{margin-top:27px;max-width:506px;color:var(--grey)}
.hero .btn{margin-top:33px}
.hero__media{
  overflow:hidden;aspect-ratio:552 / 406;border-radius:29px;
  background:#14161f;border:1px solid #1e2130}
.hero__media img,.challenge__media img{width:100%;height:100%;object-fit:cover;display:block}

.metrics{
  grid-column:1/-1;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;
  margin-top:59px}
.metric{padding:14px 24px 15px;background:#14161f;border:1px solid #1e2130;border-radius:22px}
.metric:last-child{background:var(--blue);border-color:var(--blue)}
.metric b{display:block;font-size:36px;line-height:50px;font-weight:700;letter-spacing:calc(-1em / 25);white-space:nowrap}
.metric span{display:block;font-size:14px;line-height:24px;color:var(--grey)}
.metric:last-child span{color:#ffffffd1}

/* ============================================================
   2 — INFO STRIP
   ============================================================ */
.info{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;
  margin-top:42px;padding:36px 70px;
  background:#f6f8fd;border-radius:37px}
.info dt{font-size:12px;font-weight:700;letter-spacing:calc(1em / 12);text-transform:uppercase;color:var(--blue)}
.info dd{margin:12px 0 0;font-size:14px;line-height:24px}

/* ============================================================
   3 — THE CHALLENGE
   ============================================================ */
/* heading and picture share the left column; the copy runs down the right */
.challenge{display:grid;grid-template-columns:minmax(0,546fr) minmax(0,606fr);gap:115px;align-items:start}
.challenge__media{overflow:hidden;margin-top:56px;aspect-ratio:546 / 486;border-radius:33px;background:#f6f8fd}
.challenge__body > p{color:var(--text-soft)}
.challenge__body > p + p{margin-top:26px}
.bullets{display:flex;flex-direction:column;gap:11px;margin-top:48px}
.bullet{
  display:flex;align-items:center;gap:12px;
  min-height:63px;padding:18px 22px;
  background:#f6f8fd;border-radius:18px;
  font-size:16px;line-height:26px;font-weight:600}
.bullet__ico{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:26px;height:26px;border-radius:50%;background:#fdecec;color:#d14343}
.bullet__ico svg{width:13px;height:13px}

/* ============================================================
   4 — WHAT WE BUILT
   ============================================================ */
.built__head{display:flex;align-items:center;justify-content:space-between;gap:24px}
.scroller{overflow:visible}
.arrows--mob{display:none}
.built__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px;margin-top:40px}
.built{display:flex;flex-direction:column;padding:32px 31px;background:#fff;border-radius:26px}
.built__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.built__ico{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:42px;height:42px;border-radius:50%;background:var(--ink);color:#fff}
.built__ico svg{width:18px;height:18px}
.built__no{font-size:12px;font-weight:700;letter-spacing:calc(1em / 100);color:#a6abba}
.built h3{margin-top:18px;font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25)}
.built p{margin-top:12px;color:var(--text-soft)}

/* ============================================================
   5 — THE STRATEGY
   ============================================================ */
.strategy__head{display:flex;align-items:center;gap:78px;flex-wrap:wrap}
.phases{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:700;letter-spacing:calc(1em / 12);text-transform:uppercase;color:#a6abba}
.phases i{display:block;flex:none;width:24px;height:1px;border-radius:var(--pill);background:#e3e8f5}

.steps3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:83px;margin-top:40px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620 620'%3E%3Ccircle cx='310' cy='310' r='310' fill='%23e3e8f5'/%3E%3Ccircle cx='310' cy='310' r='290' fill='%23fff'/%3E%3Cg transform='translate(200 200)'%3E%3Cpath d='M46 110h128M120 55L175 110 120 165' stroke='%232F5BFF' stroke-width='28' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E") calc((100% - 135px) / 3 + 26px) calc(46% + 15px) / 31px 31px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620 620'%3E%3Ccircle cx='310' cy='310' r='310' fill='%23e3e8f5'/%3E%3Ccircle cx='310' cy='310' r='290' fill='%23fff'/%3E%3Cg transform='translate(200 200)'%3E%3Cpath d='M46 110h128M120 55L175 110 120 165' stroke='%232F5BFF' stroke-width='28' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E") calc((100% - 135px) * 2 / 3 + 109px) calc(46% + 15px) / 31px 31px no-repeat}
/* the two round connectors that sit in the gaps between the cards */
.step3{overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);padding:35px 31px 40px;background:#f6f8fd;border-radius:29px}
.step3--dark{background:var(--ink);color:#fff}
.step3__no{grid-area:1 / 1;justify-self:end;align-self:start;margin-top:6px;z-index:0;
  font-size:138px;line-height:138px;font-weight:800;letter-spacing:calc(-3em / 50);color:#eff2fb}
.step3--dark .step3__no{color:#1c1f2b}
.step3__body{grid-area:1 / 1;z-index:1;display:flex;flex-direction:column}
.step3__ico{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:50px;height:50px;border-radius:17px;background:var(--ink);color:#fff}
.step3--dark .step3__ico{background:var(--blue)}
.step3__ico svg{width:22px;height:22px}
.step3 h3{margin-top:20px;font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25)}
.step3 p{margin-top:16px;color:var(--text-soft)}
.step3--dark p{color:var(--grey)}

/* ============================================================
   6 — CREATIVES
   ============================================================ */
.creatives__head .lead{margin-top:18px;max-width:1151px}
.shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:64px}
/* the creative is 286px in the design; the column may be wider, so cap it */
.shot-card{margin:0;max-width:286px}
.shot-card__media{overflow:hidden;aspect-ratio:286 / 358;border-radius:24px;background:#eef1f8}
.shot-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.shot-card figcaption{margin-top:20px;font-size:16px;line-height:24px;font-weight:600}

/* ============================================================
   7 — THE RESULTS  (dark card, as in the design)
   ============================================================ */
.results{overflow:hidden;
  padding:52px;background:radial-gradient(circle min(358px,25vw) at 82% calc(-28% + min(358px,25vw)),#2f5bff4d,#2f5bff00 70%),var(--ink);border-radius:37px;color:#fff}

.results__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:39px}
.result{padding:23px 26px 24px;background:#14161f;border:1px solid #1e2130;border-radius:23px}
.result--accent{background:var(--blue);border-color:var(--blue)}
.result b{display:block;font-size:36px;line-height:50px;font-weight:700;letter-spacing:calc(-1em / 25)}
.result span{display:block;font-size:16px;line-height:24px;color:var(--grey)}
.result--accent span{color:#ffffffd1}

.proof{display:flex;align-items:center;gap:35px;flex-wrap:wrap;margin-top:56px}
.proof h3{font-size:clamp(26px,calc(13vw / 5),36px);line-height:50px;font-weight:700;letter-spacing:calc(-1em / 25)}
.proof__note{display:flex;align-items:center;gap:10px;color:var(--grey)}
.proof__note svg{flex:none;width:19px;height:20px;color:var(--blue)}
.proof__shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:47px}
.proof__shot{overflow:hidden;aspect-ratio:572 / 415;border-radius:16px;background:#fff}
.proof__shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}

/* ============================================================
   8 — TESTIMONIAL
   ============================================================ */
.quote{margin:39px 0 0;padding:44px 52px 54px;background:#f6f8fd;border-radius:37px}
.quote__mark{width:31px;height:24px;color:var(--blue)}
.quote p{margin-top:22px;font-size:28px;line-height:40px;color:#1f2937}
.quote footer{margin-top:47px;font-size:16px;line-height:26px;font-weight:600;color:var(--ink)}

/* ============================================================
   9 — CTA
   ============================================================ */
.cta{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:84px 40px 88px;background:#f6f8fd;border-radius:37px}
.cta .lead{margin-top:24px;max-width:676px}
.cta .btn{margin-top:36px}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:19px;margin-top:44px}
.chips span{
  display:inline-flex;align-items:center;height:38px;padding:0 21px;
  border:1px solid #e3e8f5;border-radius:var(--pill);
  background:#fff;font-size:16px;line-height:24px;color:var(--text-soft)}

/* ============================================================
   10 — MORE CASE STUDIES
   ============================================================ */
.more__head{display:flex;align-items:flex-start;justify-content:space-between;gap:40px;flex-wrap:wrap}
.more__head .lead{margin-top:10px}
.more__aside{display:flex;align-items:center;gap:64px;flex:none;padding-top:10px}
.more__aside .eyebrow{align-self:center}
.cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:51px;margin-top:59px}
.case{display:flex;flex-direction:column;padding:18px;background:#fff;border-radius:29px;box-shadow:0 7px 29px #00000014}
.case__media{overflow:hidden;aspect-ratio:352 / 203;border-radius:20px;background:#e3e8f5}
.case__media img{width:100%;height:100%;object-fit:cover;display:block}
.case__cat{margin-top:24px;font-size:14px;line-height:calc(12 / 7);text-transform:uppercase;color:var(--blue)}
.case__title{margin-top:5px;font-size:22px;line-height:calc(141 / 97);font-weight:700;letter-spacing:calc(-1em / 25)}
.case__text{margin-top:16px;margin-bottom:34px;font-size:14px;line-height:calc(12 / 7);color:var(--text-soft)}
.case__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:auto;padding-top:27px;border-top:1px solid #f1f3f9}
.stat{display:flex;align-items:center;gap:11px;min-width:0}
.stat__body{display:flex;flex-direction:column;min-width:0}
.stat__ico{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:13px;background:#eaefff;color:var(--blue)}
.stat__ico svg{width:20px;height:20px}
.stat__num{display:block;font-size:22px;line-height:calc(6 / 5);font-weight:700;letter-spacing:calc(-3em / 100);white-space:nowrap}
.stat__lab{display:block;margin-top:4px;font-size:10px;line-height:calc(7 / 5);color:var(--text-soft)}
.case .btn{margin-top:30px;align-self:flex-start}
.btn--case{height:46px;padding:0 9px 0 20px;gap:12px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 25px -6px #2f5bff80}
.btn--case .btn__ico{width:28px;height:28px;border-radius:50%;background:#fff}
.btn--case svg{width:13px;height:13px}

/* ============================================================
   FOOTER
   ============================================================ */
.foot{
  container-type:inline-size;
  margin-top:120px;padding:56px 40px 0;
  background:var(--ink);color:var(--grey);
  border-radius:36px;overflow:hidden}
.foot__grid{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:36px 44px}
/* the subscribe block is one vertical pair spanning both rows */
.foot__sub{grid-column:3;grid-row:1/3;display:flex;flex-direction:column;gap:40px}

.foot__nav{display:flex;flex-wrap:wrap;gap:12px 40px;font-size:14px;line-height:calc(12 / 7)}
.foot__nav a{color:#94979d;white-space:nowrap;transition:color 180ms ease}
.foot__nav a:focus-visible{color:#fff;font-weight:700}
@media (hover:hover){.foot__nav a:hover{color:#fff;font-weight:700}}

.foot__meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.foot__meta .foot__mail{margin-left:24px}

.socials{display:flex;gap:10px}
.socials a{
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;
  background:#1e212d;border:1px solid #3f4357}
.socials .ig svg{width:20px;height:20px}
.socials .tg svg{width:22px;height:22px}
.socials .fb svg{width:26px;height:26px}

.foot__privacy{text-decoration:underline}
.foot__privacy,.foot__copy,.foot__weekly{font-size:14px;line-height:calc(12 / 7)}
.foot__weekly{color:#fff}

.subscribe{display:flex;gap:8px;max-width:300px}
.subscribe input{
  flex:1;min-width:0;height:40px;padding:0 18px;
  font-size:14px;color:#fff;
  background:#14161f;border:1px solid #1e2130;border-radius:var(--pill)}
.subscribe input::placeholder{color:#6b7280;opacity:1}
.subscribe button{
  flex:none;height:40px;padding:0 22px;
  font-size:12px;font-weight:700;color:#fff;
  background:var(--blue);border-radius:var(--pill)}
.foot__mail{
  color:#fff;text-decoration:underline;
  font-size:22px;line-height:calc(29 / 20);font-weight:700;letter-spacing:calc(-1em / 25)}

.foot__big{
  margin-top:56px;
  font-size:clamp(48px,18vw,280px);      
  font-size:min(280px,24cqw);            
  
  line-height:calc(4 / 5);height:calc(33em / 50);overflow:hidden;
  font-weight:600;letter-spacing:calc(-1em / 20);color:#fff;
  text-align:center;white-space:nowrap}



/* ============================================================
   INTERACTION — colour only, no movement
   ============================================================ */
.btn,.btn .btn__ico,.socials a,.subscribe button,.chip span,.radio input,
.field,.subscribe input,.brand,.contact__value,.foot__mail,.foot__privacy{
  transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,opacity 180ms ease}

@media (hover:hover){
  /* header CTA */
  .btn--dark:hover{background:#222839}
  .btn--dark:hover .btn__ico{background:#5578ff}

  /* primary CTA on the card */
  .btn--white:hover{background:#eaf0ff}

  /* subscribe */
  .subscribe button:hover{background:#5578ff}
  .subscribe input:hover{border-color:#2a2e42}

  /* choice controls */
  .chip:hover span{background:#ffffff1a;border-color:#ffffffe6}
  .chip:hover input:checked + span{background:#ffffff42}
  .radio:hover input{border-color:#fff}

  /* social buttons */
  .socials a:hover{background:#262b3b;border-color:#5a6079}

  /* text fields */
  .field:hover{border-color:#ffffffbf}

  .burger:hover{background:#0b0f190f}

  /* links */
  .brand:hover{opacity:85%}
  .contact__value:hover{opacity:75%}
  .foot__mail:hover{opacity:80%}
  .foot__privacy:hover{color:#fff}
}

/* selected chip stays above the hover tint */
.chip input:checked + span{background:#ffffff2e;border-color:#fff}

/* keyboard focus mirrors hover on the fields */
.field:focus-within{border-color:#fff}
.subscribe input:focus{border-color:#3a3f55}

/* press — one step further in the same direction */
.btn--dark:active{background:#2b3245}
.btn--white:active{background:#d7e1ff}
.subscribe button:active{background:#6684ff}
.socials a:active{background:#2e3446}
.chip:active span{background:#ffffff29}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:1ms !important;animation-duration:1ms !important}
}



/* --- interaction: colour only, no movement --- */
.arrow,.case,.built,.chips span{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease}
@media (hover:hover){
  .btn--primary:hover,.btn--case:hover{background:#4a6bff}
  .arrow:not([disabled]):hover{border-color:#c8d2ea;color:#8b93a7}
  .arrow--next:not([disabled]):hover{background:#4a6bff;border-color:#4a6bff;color:#fff}
  .case:hover{box-shadow:0 10px 32px #2f5bff29}
  .built:hover{border-color:#c8d2ea}
  .chips span:hover{border-color:#c8d2ea}
}
.btn--primary:active,.btn--case:active{background:#6684ff}

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (max-width:1199px){
  .sec{margin-top:96px}
  .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;padding:40px 32px}
  .metrics{gap:10px;margin-top:40px}
  .metric{padding:12px 18px 14px}
  .metric b{font-size:30px;line-height:42px}
  .metric span{font-size:14px}
  .info{padding:28px 32px;gap:18px}
  .challenge{gap:48px}
  .challenge__media{margin-top:32px}
  .bullets{margin-top:32px}
  .built__grid{gap:18px}
  .steps3{gap:24px}
  .steps3{background:none}
  .step3{padding:28px 24px}
  .step3__no{font-size:80px;line-height:104px}
  .shots{gap:32px}
  .shot-card{max-width:none}
  .results{padding:36px 32px}
  .proof__shots{gap:18px}
  .quote{padding:36px 32px 40px}
  .quote p{font-size:24px;line-height:36px}
  .cta{padding:56px 32px 60px}
  .cases{gap:24px}
}

@media (max-width:899px){
  .sec{margin-top:72px}
  .h2,.hero__title{text-wrap:balance}
  .hero__title{line-height:calc(63 / 50)}

  /* the long blocks turn into one-card rows moved by the arrows —
     overflow is hidden on both axes so nothing can scroll or get clipped */
  /* the gap above the row belongs to the viewport, not to the row itself —
     inside it, it would push the card past the measured height */
  /* The viewport is widened past the card on every side so the card's own
     29px shadow has somewhere to fall: it bleeds out by the page gutter and
     pads the same amount back, which leaves the card exactly where it was.
     Vertically the shadow simply overflows. */
  .scroller{
    overflow:hidden;
    margin:28px calc(var(--gutter) * -1) 0;
    padding:0 var(--gutter);
    transition:height 350ms ease}
  @supports (overflow-x:clip){
    .scroller{overflow-x:clip;overflow-y:visible;overflow-clip-margin:24px}
  }
  .arrows--mob{display:flex}
  .built__grid,.cases{
    display:flex;align-items:flex-start;gap:14px;
    transition:transform 400ms ease-in-out}
  .built,.case{flex:0 0 100%}
  /* wide enough that the neighbour's 29px shadow cannot reach into view */
  .cases{gap:44px}
  .hero{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:32px;padding:32px 24px;border-radius:32px}
  .hero__media{aspect-ratio:16 / 11}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px}
  .info{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:24px;border-radius:24px}
  .challenge{grid-template-columns:minmax(0,1fr);gap:28px}
  .challenge__media{margin-top:24px}
  .challenge__media{aspect-ratio:16 / 12}
  .built__grid{margin-top:0}
  .built{padding:26px 22px}
  .strategy__head{gap:18px}
  .steps3{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:28px}
  .shots{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:32px}
  .results{padding:28px 22px;border-radius:28px}
  .results__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px}
  .result{padding:18px 20px}
  .result b{font-size:30px;line-height:42px}
  .result span{font-size:14px}
  .proof{gap:16px;margin-top:36px}
  .proof h3{line-height:calc(13 / 10)}
  .proof__shots{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:28px}
  .quote{padding:28px 22px;border-radius:28px}
  .quote p{font-size:20px;line-height:30px}
  .cta{padding:40px 22px 44px;border-radius:28px}
  .chips{gap:10px;margin-top:28px}
  .chips span{height:34px;padding:0 16px;font-size:14px}
  .more__head{gap:18px}
  .more__aside{width:100%;justify-content:space-between;gap:20px;padding-top:0}
  .cases{margin-top:0}
  .case{padding:14px}
  .case__text{margin-bottom:24px}
  .case__stats{grid-template-columns:minmax(0,1fr);gap:14px;padding-top:20px}
}

@media (max-width:599px){
  .metrics,.results__grid{grid-template-columns:minmax(0,1fr)}
  .info{grid-template-columns:minmax(0,1fr)}
  .btn--primary{width:100%}
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (max-width:1199px){
  .nav{gap:24px}
  .hero{margin-top:96px}
  .card{grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:48px;padding:48px}
  .foot{margin-top:96px;padding:48px 32px 0}
  .foot__grid{grid-template-columns:auto minmax(0,1fr);gap:32px 36px}
  .foot__sub{grid-column:1/-1;grid-row:auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:24px}
}

@media (max-width:899px){
  .page{padding:16px 0 40px}
  .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:60px auto;align-items:center;min-height:60px;padding:0 8px 0 16px;border-radius:30px}
  .brand{gap:8px}
  .brand__mark{width:34px;height:31px}
  .brand__name{font-size:18px}

  .burger{display:flex}

  .menu{grid-column:1 / -1;display:flex;flex-direction:column;max-height:0;overflow:hidden;visibility:hidden;opacity:0;transition:max-height 300ms ease,opacity 200ms ease,visibility 300ms}
  .topbar.is-open .menu{max-height:480px;visibility:visible;opacity:100%}

  .nav{
    display:flex;flex-direction:column;flex:none;
    align-items:stretch;gap:2px;font-size:15px;padding-top:8px;border-top:1px solid #edf0f8}
  .nav a{display:block;padding:12px 16px;border-radius:14px;color:var(--nav)}
  .nav a::before{display:none}
  .nav a:focus-visible{background:#0b0f190d;color:var(--nav-active)}
  .nav a:active{background:#0b0f1914}

  .btn--dark{width:100%;justify-content:center;margin:8px 0 16px;padding:0 6px 0 14px}
  .hero{margin-top:56px}
  .card{grid-template-columns:minmax(0,1fr);margin-top:32px;padding:32px 24px;gap:40px;border-radius:28px}
  .form__grid{grid-template-columns:minmax(0,1fr)}
  .worldwide{margin-top:0}
  .foot{margin-top:64px;padding:40px 24px 0;border-radius:28px}
  .foot__grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .foot__sub{flex-direction:column;align-items:flex-start;gap:16px}
  /* the form spans the column instead of sizing to its content, which
     on narrow phones was wider than the footer itself */
  .subscribe{width:100%}
  .foot__meta .foot__mail{margin-left:0}
  .btn--white{width:100%;justify-content:center;padding:0 24px}
  .foot__big{margin-top:40px}
}

/* very narrow phones: the mark alone carries the brand */
@media (max-width:359px){
  .brand__name{display:none}
}

/* the collapsed menu: highlight on hover only, never on tap */
@media (max-width:899px) and (hover:hover){
  .nav a:hover{background:#0b0f190d;color:var(--nav-active)}
}


/* ============================================================
   MOTION — entrance, reveal on scroll, CTA shine.
   Opacity and transform only; everything is switched off for
   visitors who ask for reduced motion.
   ============================================================ */
@keyframes hrs-rise{from{opacity:0;transform:translate3d(0,22px,0)}}
@keyframes hrs-fade{from{opacity:0}}
@keyframes hrs-shine{0%{background-position:150% 0}30%,100%{background-position:-50% 0}}
@keyframes hrs-pop{from{opacity:0;transform:translate3d(0,16px,0) scale(98%)}}

@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .site-header{animation:hrs-fade 600ms ease both}
  main .hero__copy > *,main .hero .metrics{animation:hrs-rise 800ms ease-out both}
  main .hero__copy > *:nth-child(2),main .hero .metrics:nth-child(2){animation-delay:90ms}
  main .hero__copy > *:nth-child(3),main .hero .metrics:nth-child(3){animation-delay:180ms}
  main .hero__copy > *:nth-child(4),main .hero .metrics:nth-child(4){animation-delay:270ms}
  main .hero__copy > *:nth-child(5),main .hero .metrics:nth-child(5){animation-delay:360ms}
  main .hero__copy > *:nth-child(6),main .hero .metrics:nth-child(6){animation-delay:450ms}
  main .hero__copy > *:nth-child(7),main .hero .metrics:nth-child(7){animation-delay:540ms}
  main .hero__copy > *:nth-child(8),main .hero .metrics:nth-child(8){animation-delay:630ms}
  main .hero__media{animation:hrs-fade 1000ms ease-out 250ms both}
  main .hero__copy > .cta-shine,main .hero .metrics.cta-shine{animation:hrs-rise 800ms ease-out both,hrs-shine 5500ms ease-in-out 1400ms infinite}
  main .hero .metrics{animation-delay:450ms}

  /* reveal on scroll: the script only ever hides blocks that start below
     the fold, then takes the classes off again once they have arrived */
  .rv:not(.is-in){opacity:0;transform:translate3d(0,28px,0)}
  .rv{transition:opacity 700ms ease-out,transform 800ms ease-out !important;
      transition-delay:var(--rv-d,0ms) !important}
  .rv:not(.is-in) .rv-img{scale:107%}
  .rv .rv-img{transition:scale 1300ms ease-out var(--rv-d,0ms) !important}

  /* a soft light sweeping across the main call-to-action buttons: a gradient
     layer on the button's own background, moved with background-position */
  .cta-shine{
    background-image:linear-gradient(100deg,#fff0 43%,#ffffff57 50%,#fff0 57%) !important;
    background-size:300% 100% !important;background-repeat:no-repeat !important;
    background-position:150% 0;animation:hrs-shine 5500ms ease-in-out 1400ms infinite}
  .btn--white.cta-shine{background-image:linear-gradient(100deg,#2f5bff00 43%,#2f5bff24 50%,#2f5bff00 57%) !important}
  dialog.audit[open]{animation:hrs-pop 300ms ease-out}
  dialog.audit[open]::backdrop{animation:hrs-fade 300ms ease}
}
#contact{scroll-margin-top:24px}
/* footer: with Terms of Service next to Privacy Policy the e-mail takes its own
   line, so it starts flush left instead of keeping its in-row offset */
.foot__meta .foot__mail{margin-left:0}

/* ============================================================
   CONSENT CHECKBOX
   ============================================================ */
.consent{display:flex;align-items:flex-start;gap:10px;max-width:340px;cursor:pointer;
  font-size:14px;line-height:calc(3 / 2);color:#ffffffd6}
.consent input{
  flex:none;width:18px;height:18px;margin:1px 0 0;cursor:pointer;
  border:1px solid #ffffffb2;border-radius:5px;background:transparent center / 12px 12px no-repeat;
  transition:background-color 180ms ease,border-color 180ms ease}
.consent input:checked{
  background-color:#fff;border-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M25 62l24 24 46-49' fill='none' stroke='%232f5bff' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.consent a{color:#fff;text-decoration:underline}
.consent--dark{max-width:none;color:var(--grey)}
.consent--dark input{border-color:#3a3f55;background-color:#14161f}
.consent--dark input:checked{
  background-color:var(--blue);border-color:var(--blue);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M25 62l24 24 46-49' fill='none' stroke='%23fff' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.rts__consent{grid-column:1 / -1}
@media (hover:hover){
  .consent:hover input{border-color:#fff}
  .consent--dark:hover input:not(:checked){border-color:#5a6079}
  .consent a:hover{opacity:80%}
}

/* ============================================================
   FORM STATES — sending / sent / error
   ============================================================ */
form[data-lead][aria-busy="true"] [type="submit"]{opacity:60%;cursor:progress}
form[data-lead][hidden],input[name="_honey"]{display:none !important}
.form-done{display:flex;flex-direction:column;gap:8px;font-size:18px;line-height:calc(13 / 9);font-weight:700;letter-spacing:calc(-1em / 50)}
.form-done span{font-size:16px;line-height:calc(13 / 8);font-weight:400;letter-spacing:0;opacity:84%}
.audit .form-done{margin-top:32px}
.foot .form-done{font-size:14px;line-height:calc(12 / 7);color:#fff}
.form-error{margin-top:12px;font-size:14px;line-height:calc(3 / 2);color:#ffd5d5}
.form-error a{color:#fff;text-decoration:underline}
.rts .form-error{grid-column:1 / -1;margin-top:0}

/* ============================================================
   AUDIT POP-UP — the Contact form in a native <dialog>
   (Esc, focus trap and focus return come from the browser)
   ============================================================ */
dialog.audit{
  width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);
  margin:auto;padding:0;border:0;background:none;overflow:visible;color:#fff}
dialog.audit::backdrop{background:#0b0f19b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
html:has(dialog.audit[open]){overflow:hidden}
.audit__card{
  max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;
  padding:48px;background:var(--blue);border-radius:36px;
  box-shadow:0 40px 90px -40px #0b0f1999}
.audit__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.audit__close{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:44px;height:44px;border-radius:50%;background:#ffffff29;color:#fff;
  transition:background-color 180ms ease}
.audit__close svg{width:18px;height:18px}
.audit__title{font-size:clamp(26px,3vw,36px);line-height:calc(5 / 4);font-weight:700;letter-spacing:calc(-1em / 25)}
.audit__lead{max-width:540px;margin-top:12px;color:#ffffffd6}
.audit .form{display:flex;flex-direction:column;margin-top:32px}
.audit .form > * + *{margin-top:30px}
.audit .form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px}
.audit .field{display:block;padding-bottom:8px;border-bottom:1px solid #ffffff73;transition:border-color 180ms ease}
.audit .field input,.audit .field textarea{display:block;width:100%;font-size:14px;line-height:calc(12 / 7);color:#fff}
.audit .field textarea{height:84px;resize:none}
.audit .field ::placeholder{color:#ffffffb8;opacity:1}
.audit .field:focus-within{border-color:#fff}
.audit .group__title{font-weight:600}
.audit .options{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:8px}
.audit .radio{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;line-height:calc(12 / 7)}
.audit .radio input{width:16px;height:16px;flex:none;cursor:pointer;border:1px solid #ffffffb2;border-radius:50%}
.audit .radio input:checked{background:#fff;box-shadow:inset 0 0 0 4px var(--blue)}
.audit .group--chips{margin-top:24px}
.audit .group--chips .options{gap:10px;margin-top:12px}
/* the real checkbox lies over its label in the same grid cell */
.audit .chip{display:inline-grid}
.audit .chip input,.audit .chip span{grid-area:1 / 1}
.audit .chip input{z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.audit .chip span{display:inline-flex;align-items:center;height:38px;padding:0 16px;font-size:14px;
  border:1px solid #ffffff8c;border-radius:var(--pill);transition:background-color 180ms ease,border-color 180ms ease}
.audit .chip input:checked + span{background:#ffffff2e;border-color:#fff}
.audit .form__area{margin-top:12px}
.audit .form__actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px 36px;margin-top:36px}
@media (hover:hover){
  .audit__close:hover{background:#ffffff42}
  .audit .field:hover{border-color:#ffffffbf}
  .audit .chip:hover span{background:#ffffff1a;border-color:#ffffffe6}
  .audit .chip:hover input:checked + span{background:#ffffff42}
  .audit .radio:hover input{border-color:#fff}
}
@media (max-width:599px){
  .audit__card{padding:32px 20px 28px;border-radius:28px}
  .audit__close{width:40px;height:40px}
  .audit .form__grid{grid-template-columns:minmax(0,1fr)}
  .audit .btn--white{width:100%;justify-content:center;padding:0 24px}
}
