/* ============================================================
   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}


/* ============================================================
   ARTICLE — shared furniture (same components as the other pages)
   ============================================================ */
.sec{margin-top:120px}
.related{margin-top:96px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

.h2{font-size:clamp(28px,calc(33vw / 10),42px);line-height:calc(9 / 7);font-weight:700;letter-spacing:calc(-1em / 25)}
.lead{color:var(--text-soft)}

.btn--primary{
  height:58px;padding:0 26px;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}

/* ============================================================
   1 — HERO
   ============================================================ */
.ar-hero{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:106px}
.ar-hero__title{
  max-width:780px;text-wrap:balance;
  font-size:clamp(28px,calc(33vw / 10),42px);line-height:calc(9 / 7);font-weight:700;letter-spacing:calc(-1em / 25)}
.ar-hero__lead{max-width:500px;margin-top:39px;text-wrap:balance}
.ar-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 20px;margin-top:42px;color:var(--text-soft)}
.ar-meta i{flex:none;width:5px;height:5px;border-radius:50%;background:#d6dcea}
.ar-meta__by{font-weight:600;color:var(--ink)}
.ar-meta__read{display:inline-flex;align-items:center;gap:8px}
.ar-meta__read svg{width:16px;height:16px;flex:none;color:var(--blue)}
.ar-hero__media{
  width:100%;margin-top:85px;overflow:hidden;aspect-ratio:1275 / 459;
  background:#fdfcfd;border:1px solid #e3e8f5;border-radius:32px}
.ar-hero__media img{width:100%;height:100%;object-fit:cover}

/* ============================================================
   2 — ARTICLE: sticky contents on the left, the text on the right
   ============================================================ */
.ar{display:grid;grid-template-columns:250px minmax(0,1fr);column-gap:57px;margin-top:90px}

/* the aside stretches to the article's height, so its inner block can stick */
.toc__inner{position:sticky;top:24px}
.toc__head{
  display:flex;align-items:center;gap:10px;
  font-size:11px;line-height:1;font-weight:700;letter-spacing:calc(7em / 50);text-transform:uppercase;color:#8b93a7}
.toc__head i{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:30px;height:30px;border-radius:50%;
  background:#eef2ff;border:1px solid #dce3f8;color:var(--blue)}
.toc__head svg{width:15px;height:15px}
.toc__list{margin:19px 0 0;padding:0;list-style:none}
.toc__list a{
  display:block;padding:10px 0 10px 20px;border-left:2px solid #e3e8f5;
  font-size:14px;line-height:21px;font-weight:500;color:#8b93a7;
  transition:color 180ms ease,border-color 180ms ease}
.toc__list a.is-active{color:var(--ink);font-weight:700;border-left-color:var(--blue)}
.toc__share{margin-top:29px;padding-top:25px;border-top:1px solid #edf0f8}
.toc__share p{font-size:13px;line-height:1;font-weight:600;color:#8b93a7}
.toc__btns{display:flex;gap:10px;margin-top:14px}
.share{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:38px;height:38px;border-radius:50%;
  background:#fff;border:1px solid #e3e8f5;color:#c3c9e3;
  transition:color 180ms ease,border-color 180ms ease}
.share svg{width:21px;height:21px}

/* ---- the text column ---- */
.ar__body{min-width:0;color:#3d4354}
.ar__text > p + p{margin-top:18px}
.ar__sec{margin-top:56px;scroll-margin-top:32px}
.ar__h2{
  
  font-size:clamp(26px,3vw,36px);line-height:calc(25 / 18);font-weight:700;letter-spacing:calc(-1em / 25);color:var(--ink)}
.ar__h2 + *{margin-top:24px}

.note{
  margin-top:40px;padding:27px 30px 29px;
  background:#f6f8fd;border:1px solid #e3e8f5;border-radius:24px}
.note--blue{background:#eef2ff}
.note__label{font-size:12px;line-height:calc(5 / 4);font-weight:700;letter-spacing:calc(1em / 12);text-transform:uppercase;color:var(--ink)}
.note--blue .note__label{color:var(--blue)}
.note__label + p{margin-top:12px}

.ar__fig{margin:40px 0 0;overflow:hidden;background:#f6f8fd;border:1px solid #e3e8f5;border-radius:24px}
.ar__fig img{width:100%;height:auto}

.checks{display:flex;flex-direction:column;gap:16px;margin:28px 0 0;padding:0;list-style:none}
.checks li{display:grid;grid-template-columns:21px minmax(0,1fr);column-gap:14px;align-items:start}
.checks svg{
  width:21px;height:21px;margin-top:2px;padding:5px;
  border-radius:50%;background:#eef2ff;color:var(--blue)}
.checks + .ar__text{margin-top:40px}
.ar__sec .checks--loose{gap:20px;margin-top:40px}

/* dark call-to-action inside the text */
.banner{
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  margin-top:24px;padding:39px 34px;background:var(--ink);border-radius:32px;color:#fff}
.banner__title{font-size:25px;line-height:calc(23 / 20);font-weight:800;letter-spacing:calc(-2em / 57)}
.banner__text{max-width:605px;margin-top:14px;color:var(--grey)}

/* link to a case study */
.casecard{
  display:grid;grid-template-columns:144px minmax(0,1fr);column-gap:53px;align-items:center;
  margin-top:40px;padding:27px 34px;background:#fff;border:1px solid #e3e8f5;border-radius:32px}
.casecard__shot{overflow:hidden;aspect-ratio:1;background:#f6f8fd;border:1px solid #e3e8f5;border-radius:24px}
.casecard__shot img{width:100%;height:100%;object-fit:cover}
.casecard__title{font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25);color:var(--ink)}
.casecard .btn{margin-top:16px}

/* ---- FAQ inside the article ---- */
.afaq{display:flex;flex-direction:column;gap:12px}
.aq{background:#fff;border:1px solid #e3e8f5;border-radius:24px;transition:background-color 180ms ease,border-color 180ms ease}
.aq summary{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  min-height:78px;padding:14px 24px 14px 25px;cursor:pointer;list-style:none;
  font-size:16px;line-height:26px;font-weight:600;color:var(--ink)}
.aq summary::-webkit-details-marker{display:none}
.aq__sign{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:33px;height:33px;border-radius:50%;background:#f1f4fb;color:var(--text-soft);
  transition:background-color 180ms ease,color 180ms ease}
.aq__sign svg{width:13px;height:13px}
.aq__sign path{transition:opacity 180ms ease}
.aq[open]{background:#f6f8fd;border-color:#dce3f8}
.aq[open] summary{
  min-height:0;padding-top:23px;padding-bottom:10px;
  font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25)}
.aq[open] .aq__sign{background:var(--blue);color:#fff}
.aq[open] .aq__sign path:first-child{opacity:0}   /* plus → minus */
.aq p{max-width:760px;padding:0 25px 26px;color:var(--text-soft)}

.ar__cta{margin-top:36px}

/* ---- who wrote it ---- */
.author{
  display:grid;grid-template-columns:164px minmax(0,1fr);column-gap:36px;align-items:center;
  margin-top:72px;padding:36px;background:#fff;border:1px solid #e3e8f5;border-radius:32px}
.author__logo{
  display:grid;place-items:center;aspect-ratio:1;
  background:#f6f8fd;border:1px solid #e3e8f5;border-radius:26px}
.author__logo svg{width:62%;height:auto}
.author__title{font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25);color:var(--ink)}
.author__text{margin-top:9px;color:var(--text-soft)}
.author .btn{margin-top:20px}

/* ============================================================
   3 — RELATED ARTICLES (the same carousel as on the Main page)
   ============================================================ */
.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}
.carousel{
  margin-top:38px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
.carousel::-webkit-scrollbar{display:none}
.track{display:flex}
.track > *{scroll-snap-align:start}
.related__head{display:flex;align-items:center;justify-content:space-between;gap:32px}
.related .carousel{margin-top:30px}
.related .track{gap:23px}
.related .post{flex:0 0 410px}
.post__media{overflow:hidden}
.post__media img{width:100%;height:100%;object-fit:cover}

/* ============================================================
   4 — READY TO SCALE (dark form card)
   ============================================================ */
.rts{overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,714px);column-gap:100px;align-items:start;
  padding:66px 76px 80px 67px;background:radial-gradient(circle min(298px,21vw) at 12% calc(-55% + min(298px,21vw)),#2f5bff52,#2f5bff00 70%),var(--ink);border-radius:40px;color:#fff}
.rts__text{max-width:330px;margin-top:32px;color:var(--grey)}
/* three discs stepping back into the dark: 80px apart, each 87px wide */
.rts__icons{display:grid;grid-template-columns:repeat(3,80px);margin-top:40px}
.rts__icons i{display:flex;align-items:center;justify-content:center;width:87px;height:87px;border-radius:50%}
.rts__icons i:nth-child(1){background:#2a324d;color:#8fa5ff}
.rts__icons i:nth-child(2){background:#182036;color:#55618f}
.rts__icons i:nth-child(3){background:#0d1427;color:#384163}
.rts__icons i:nth-child(1) svg{width:35px;height:35px}
.rts__icons i:nth-child(2) svg{width:33px;height:33px}
.rts__icons i:nth-child(3) svg{width:30px;height:30px}

.rts__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 23px;margin-top:28px}
.rf{display:flex;flex-direction:column;gap:4px;min-width:0}
.rf > span{font-size:14px;line-height:24px;color:var(--grey)}
.rf input,.rf select{
  width:100%;height:49px;padding:0 21px;border-radius:var(--pill);
  background-color:#14161f;border:1px solid #1e2130;color:#fff;font-size:14px;
  transition:border-color 180ms ease}
.rf input::placeholder{color:#757575;opacity:1}
.rf select{
  -webkit-appearance:none;appearance:none;font:inherit;font-size:14px;margin:0;
  padding-right:48px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 210'%3E%3Ccircle cx='105' cy='105' r='105' fill='%232e3244'/%3E%3Cpath d='M71 93l34 34 34-34' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:21px 21px}
.rf select:has(option[value=""]:checked){color:var(--grey)}
.rf option{background:#14161f;color:#fff}
.rf input:focus,.rf select:focus{border-color:#3a3f55;outline:none}
.rf input:focus-visible,.rf select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.rts__btn{align-self:end;justify-self:start;height:49px}

.tag-pill{
  display:inline-flex;align-items:center;height:29px;padding:0 15px;
  border-radius:var(--pill);background:var(--blue);color:#fff}
.tag-pill,.tag-text,.post__cat{
  font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase}
.tag-text{color:var(--blue)}
.meta{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding-top:35px;border-top:1px solid #edf0f8;
  font-size:14px;line-height:calc(12 / 7);color:#8b93a7}
.meta__time{display:flex;align-items:center;gap:9px}
.meta svg{flex:none;width:15px;height:15px;color:#a6abba}
.post{
  display:flex;flex-direction:column;
  padding:20px;background:#fff;border:1px solid #e3e8f5;border-radius:32px}
/* the same placeholder shot as the design, cropped in % so it scales */
.post__media{aspect-ratio:371 / 232;border-radius:24px;background:#f6f8fd;border:1px solid #e3e8f5}
.post__cat{margin-top:22px;color:var(--blue)}
.post__title{margin-top:9px;font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25)}
.post__text{margin-top:9px;margin-bottom:29px;font-size:14px;line-height:calc(12 / 7);color:var(--text-soft)}
/* margin-top:auto drops the link to the foot of the card so the row lines up
   no matter how long each excerpt runs */
.post__more{
  display:inline-flex;align-items:center;gap:9px;margin-top:auto;
  font-size:14px;font-weight:700;color:var(--ink)}
.post__more span{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:26px;height:26px;border-radius:50%;background:var(--ink)}
.post__more svg{width:12px;height:12px}
.post .meta{margin-top:19px;padding-top:19px;font-size:13px}
.post .meta svg{width:14px;height:14px}
/* ============================================================
   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 for the Article blocks (colour only, no movement) --- */
.post,.post__more,.post__more span,.arrow,.casecard,.author,.btn--primary{
  transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease}
@media (hover:hover){
  .btn--primary:hover{background:#4a6bff}
  .toc__list a:not(.is-active):hover{color:var(--ink)}
  .share:hover{color:var(--blue);border-color:#c8d2ea}
  .aq:not([open]):hover{border-color:#c8d2ea}
  .aq:not([open]):hover .aq__sign{background:#e6ebfa;color:var(--ink)}
  .casecard:hover,.author:hover{border-color:#c8d2ea}
  .arrow:not([disabled]):hover{border-color:#c8d2ea;color:#8b93a7}
  .arrow--next:not([disabled]):hover{background:#4a6bff;border-color:#4a6bff;color:#fff}
  .post:hover{border-color:var(--blue)}
  .post:hover .post__more{color:var(--blue)}
  .post:hover .post__more span{background:var(--blue)}
  .rf input:hover,.rf select:hover{border-color:#2a2e42}
}
.btn--primary:active{background:#6684ff}

/* ============================================================
   BREAKPOINTS — the desktop layer above is left untouched
   ============================================================ */
@media (max-width:1199px){
  .sec{margin-top:96px}
  .ar-hero{margin-top:72px}
  .ar-hero__media{margin-top:56px}
  .ar{grid-template-columns:210px minmax(0,1fr);column-gap:40px;margin-top:72px}
  .banner{flex-direction:column;align-items:flex-start;gap:24px}
  .casecard{column-gap:32px;padding:24px 28px}
  .author{grid-template-columns:132px minmax(0,1fr);column-gap:28px;padding:28px}
  .related .post{flex:0 0 340px}
  .rts{grid-template-columns:minmax(0,1fr) minmax(0,520px);column-gap:48px;padding:52px 48px 56px}
}

@media (max-width:899px){
  .sec{margin-top:72px}
  .ar-hero{margin-top:48px}
  .ar-hero__lead{margin-top:24px}
  .ar-meta{margin-top:28px}
  .ar-hero__media{margin-top:40px;border-radius:24px}
  /* the contents turn into a card above the text */
  .ar{grid-template-columns:minmax(0,1fr);row-gap:40px;margin-top:56px}
  .toc__inner{position:static;padding:24px;background:#f6f8fd;border-radius:24px}
  .toc__share{margin-top:20px;padding-top:20px}
  .ar__sec{margin-top:48px}
  .related .post{flex:0 0 300px}
  .related__head{gap:16px}
  .carousel{margin-top:24px}
  .track{gap:20px}
  .rts{grid-template-columns:minmax(0,1fr);row-gap:36px;padding:40px 28px 44px;border-radius:32px}
  .rts__text{max-width:none}
  .rts__form{margin-top:0}
}

@media (max-width:599px){
  .ar-hero__title,.ar__h2,.h2{line-height:calc(59 / 50)}
  .ar-meta__by{flex-basis:100%}
  .ar-meta i:first-of-type{display:none}
  .ar-hero__media{border-radius:20px}
  .note{padding:22px 20px}
  .ar__fig{margin-top:32px;border-radius:18px}
  .banner{padding:28px 22px;border-radius:26px}
  .banner__title{font-size:22px}
  .banner .btn{width:100%}
  .casecard{grid-template-columns:minmax(0,1fr);row-gap:20px;padding:20px;border-radius:26px}
  .casecard__shot{width:112px}
  .aq summary{min-height:64px;padding:12px 16px 12px 18px;gap:16px}
  .aq[open] summary{padding-top:18px;font-size:19px;line-height:27px}
  .aq p{padding:0 18px 20px}
  .author{grid-template-columns:minmax(0,1fr);row-gap:20px;padding:24px 20px;border-radius:26px}
  .author__logo{width:96px;border-radius:20px}
  .related .post{flex:0 0 100%}
  .rts__form{grid-template-columns:minmax(0,1fr)}
  .rts__btn{justify-self:stretch}
  .rts__icons{grid-template-columns:repeat(3,64px)}
  .rts__icons i{width:70px;height:70px}
  .rts__icons i:nth-child(1) svg{width:28px;height:28px}
  .rts__icons i:nth-child(2) svg{width:26px;height:26px}
  .rts__icons i:nth-child(3) svg{width:24px;height:24px}
}

/* ============================================================
   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}
  .ar-hero > :not(.ar-hero__media){animation:hrs-rise 800ms ease-out both}
  .ar-hero > :not(.ar-hero__media):nth-child(2){animation-delay:90ms}
  .ar-hero > :not(.ar-hero__media):nth-child(3){animation-delay:180ms}
  .ar-hero > :not(.ar-hero__media):nth-child(4){animation-delay:270ms}
  .ar-hero > :not(.ar-hero__media):nth-child(5){animation-delay:360ms}
  .ar-hero > :not(.ar-hero__media):nth-child(6){animation-delay:450ms}
  .ar-hero > :not(.ar-hero__media):nth-child(7){animation-delay:540ms}
  .ar-hero > :not(.ar-hero__media):nth-child(8){animation-delay:630ms}
  .ar-hero__media{animation:hrs-fade 1000ms ease-out 250ms both}
  .ar-hero > :not(.ar-hero__media).cta-shine{animation:hrs-rise 800ms ease-out both,hrs-shine 5500ms ease-in-out 1400ms infinite}

  /* 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}
