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

  --shot:url(../img/2d3daed82afd.webp);
  --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}

/* ============================================================
   HERO
   ============================================================ */
.hero{margin-top:128px;text-align:center}
.hero__title{
  font-size:clamp(32px,5vw,60px);line-height:calc(11 / 10);
  font-weight:700;letter-spacing:calc(-1em / 25)}
.hero__title b{color:var(--blue)}
.hero__text{max-width:600px;margin:32px auto 0;color:var(--text-soft)}

/* ============================================================
   CONTACT CARD
   ============================================================ */
.card{
  display:grid;
  grid-template-columns:minmax(0,400px) minmax(0,1fr);
  gap:56px;
  margin-top:48px;padding:60px;
  background:var(--blue);color:#fff;
  border-radius:44px;
  box-shadow:0 56px 92px -64px #2f5bfff2}

/* --- info column --- */
.card__info{display:flex;flex-direction:column}
.card__title{
  font-size:clamp(28px,calc(17vw / 5),42px);line-height:calc(32 / 25);
  font-weight:700;letter-spacing:calc(-1em / 25)}
.card__lead{margin-top:20px;color:var(--on-blue)}
.card__lead + .card__lead{margin-top:24px}

.contacts{margin-top:32px;border-top:1px solid var(--rule-card)}
.contact{
  display:flex;align-items:center;gap:16px;
  min-height:80px;padding:12px 0;
  border-bottom:1px solid var(--rule-card)}
.contact__ico{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:40px;height:40px;border-radius:50%;
  background:#ffffff29}
.contact__ico svg{width:18px;height:18px}
.contact__body{display:flex;flex-direction:column;gap:2px;min-width:0}
.contact__label{
  font-size:12px;line-height:calc(5 / 4);font-weight:700;
  letter-spacing:1px;text-transform:uppercase;
  color:#ffffffb2}
.contact__value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* sits at the foot of the column, as in the design */
.worldwide{
  display:flex;align-items:center;gap:12px;
  margin-top:auto;padding-top:32px;
  font-weight:600;color:#ffffffe6}
.worldwide svg{width:16px;height:16px;flex:none}

/* --- form column --- */
.form{display:flex;flex-direction:column}
.form > * + *{margin-top:32px}

.form__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px 36px}
.field{display:block;padding-bottom:8px;border-bottom:1px solid var(--rule-field)}
.field input,.field textarea{
  display:block;width:100%;
  font-size:14px;line-height:calc(12 / 7);color:#fff}
.field textarea{height:84px;resize:none}
.field ::placeholder{color:#ffffffb8;opacity:1}

.group__title{font-weight:600}
.options{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:8px}

.radio{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;line-height:calc(12 / 7)}
.radio input{
  width:16px;height:16px;flex:none;cursor:pointer;
  border:1px solid #ffffffb2;border-radius:50%}
.radio input:checked{background:#fff;box-shadow:inset 0 0 0 4px var(--blue)}

.group--chips{margin-top:24px}
.group--chips .options{gap:12px;margin-top:12px}
.chip{display:inline-grid}
.chip input{grid-area:1 / 1;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.chip span{grid-area:1 / 1;
  display:inline-flex;align-items:center;
  height:40px;padding:0 18px;
  font-size:14px;
  border:1px solid #ffffff8c;border-radius:var(--pill)}
.chip input:checked + span{background:#ffffff2e;border-color:#fff}

.form__area{margin-top:12px}

.form__actions{
  display:flex;align-items:center;flex-wrap:wrap;gap:24px 40px;
  margin-top:40px}
.form__note{max-width:280px;font-size:14px;line-height:calc(12 / 7);color:#ffffffc7}

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


/* ============================================================
   BLOG — page sections
   ============================================================ */

/* --- hero --- */
.blog-hero{margin-top:112px;text-align:center}
.blog-hero__title{
  font-size:clamp(34px,calc(23vw / 5),60px);line-height:calc(11 / 10);
  font-weight:700;letter-spacing:calc(-1em / 25)}
.search{
  display:flex;align-items:center;gap:14px;
  width:100%;max-width:803px;height:65px;margin:32px auto 0;padding:0 13px 0 29px;
  background:#fff;border:1px solid #e3e8f5;border-radius:var(--pill);
  box-shadow:0 10px 24px -20px #0b0f1959}
.search__ico{flex:none;display:block;width:19px;height:19px;color:#6b7280}
.search input{flex:1;min-width:0;font-size:16px;line-height:26px;color:var(--ink)}
.search input::placeholder{color:#757575;opacity:1}
.search__go{
  flex:none;display:flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:50%;background:var(--blue);color:#fff}
.search__go svg{width:17px;height:17px}

.filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px}
.filter{
  height:40px;padding:0 22px;border-radius:var(--pill);
  background:#fff;border:1px solid #e3e8f5;
  font-size:14px;line-height:calc(12 / 7);color:var(--text-soft)}


/* --- shared card chrome --- */
.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}

.btn--read{
  height:46px;padding:0 9px 0 17px;gap:12px;
  background:var(--blue);color:#fff;font-size:14px;font-weight:700;
  box-shadow:0 10px 25px -6px #2f5bff80}
.btn--read .btn__ico{width:28px;height:28px;border-radius:50%;background:#fff}
.btn--read svg{width:18px;height:18px}

/* --- featured post --- */
.featured{
  display:grid;grid-template-columns:minmax(0,600fr) minmax(0,520fr);gap:100px;align-items:center;
  margin-top:64px;padding:26px 30px;
  background:#fff;border:1px solid #e3e8f5;border-radius:32px}
.featured__media{
  display:flex;align-items:center;overflow:hidden;
  aspect-ratio:601 / 425;border-radius:23px;
  background:#faf9fb;border:1px solid #e3e8f5}
.featured__media img{display:block;width:100%;aspect-ratio:601 / 370;object-fit:cover}
.featured__tags{display:flex;align-items:center;gap:12px}
.featured__title{
  margin-top:13px;max-width:500px;
  font-size:clamp(26px,calc(17vw / 5),42px);line-height:calc(32 / 25);
  font-weight:700;letter-spacing:calc(-1em / 25)}
.featured__text{margin-top:13px;max-width:530px;color:var(--text-soft)}
.featured .btn--read{margin-top:33px}
.featured .meta{margin-top:33px}

/* --- article grid --- */
.articles{margin-top:108px}
.articles__head{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.articles__title{
  font-size:clamp(28px,calc(17vw / 5),42px);line-height:calc(32 / 25);
  font-weight:700;letter-spacing:calc(-1em / 25)}
.count{
  display:inline-flex;align-items:center;gap:9px;height:36px;padding:0 18px;
  border-radius:var(--pill);background:#f6f8fd;border:1px solid #e3e8f5;
  font-size:14px;line-height:calc(12 / 7);color:var(--text-soft)}
.count svg{flex:none;width:16px;height:16px;color:var(--blue)}

.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:42px}
.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 var(--shot) 9% 68% / 162% auto no-repeat;
  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)}
/* an article's own picture replaces the placeholder shot */
.post__media.has-img{overflow:hidden;background:#f6f8fd}
.post__media img{display:block;width:100%;height:100%;object-fit:cover}
/* 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}

.articles__more{display:flex;justify-content:center;margin-top:45px}
.articles__more[hidden]{display:none}

.filter[aria-pressed="true"]{
  padding:0 19px;background:var(--ink);border-color:var(--ink);
  font-size:16px;font-weight:600;color:#fff}
.posts__empty{
  grid-column:1/-1;padding:48px 24px;text-align:center;
  background:#f6f8fd;border:1px solid #e3e8f5;border-radius:24px;color:var(--text-soft)}
.posts__empty b{display:block;margin-bottom:6px;font-size:18px;color:var(--ink)}

/* ============================================================
   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,
.filter,.post,.featured,.search,.search__go,.post__more,.post__more span{
  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}

  .btn--read:hover,.search__go:hover{background:#4a6bff}
  .filter:hover{border-color:#c8d2ea;color:var(--ink)}
  .filter[aria-pressed="true"]:hover{background:#222839;border-color:#222839;color:#fff}
  .post:hover,.featured:hover{border-color:var(--blue)}
  .post:hover .post__more{color:var(--blue)}
  .post:hover .post__more span{background:var(--blue)}
  .search:hover{border-color:#c8d2ea}

  /* 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}
.btn--read:active,.search__go: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}
}

/* ============================================================
   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}
  .blog-hero{margin-top:88px}
  .featured{grid-template-columns:minmax(0,1fr);gap:32px;padding:24px}
  .featured__media{aspect-ratio:16 / 9}
  .featured__title,.featured__text{max-width:none}
  .articles{margin-top:80px}
  .posts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .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}
  .blog-hero{margin-top:48px}
  .search{height:58px;padding:0 8px 0 20px;gap:10px;margin-top:24px}
  .search__go{width:42px;height:42px}
  .filters{gap:8px;margin-top:20px}
  .filter{height:36px;padding:0 16px}
  .filter[aria-pressed="true"]{padding:0 16px;font-size:14px}
  .featured{margin-top:40px;padding:16px;border-radius:24px;gap:24px}
  .featured .btn--read{margin-top:24px}
  .featured .meta{margin-top:24px;padding-top:24px}
  .articles{margin-top:56px}
  .articles__head{gap:16px}
  .posts{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:28px}
  .post{border-radius:24px}
  .articles__more{margin-top:32px}
  .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}
  .blog-hero > *{animation:hrs-rise 800ms ease-out both}
  .blog-hero > *:nth-child(2){animation-delay:90ms}
  .blog-hero > *:nth-child(3){animation-delay:180ms}
  .blog-hero > *:nth-child(4){animation-delay:270ms}
  .blog-hero > *:nth-child(5){animation-delay:360ms}
  .blog-hero > *:nth-child(6){animation-delay:450ms}
  .blog-hero > *:nth-child(7){animation-delay:540ms}
  .blog-hero > *:nth-child(8){animation-delay:630ms}
  .blog-hero > .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}

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