/* =========================================================
   SkillLab — Design tokens
   ========================================================= */
:root{
  --navy-950:#06102a;
  --navy-925:#081431;
  --navy-900:#03194e;
  --navy-810:#091a41;
  --navy-800:#0d1c40;
  --blue-600:#2361ff;
  --blue-500:#2a64f6;
  --blue-200:#c4d4fd;
  --blue-100:#d4e0fd;
  --blue-tint:#bdd0ff;
  --neutral-900:#242d35;
  --neutral-800:#36424a;
  --border-default:#cfd5dc;
  --border-dark-subtle:#162958;
  --border-dark-mid:#425da0;
  --border-testimonial:#cce0ff;
  --bg-primary:#f3f4f6;
  --card-tint-a:#f9fbff;
  --card-tint-b:#f0f4ff;
  --white:#ffffff;

  --font-sans:'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --ease-premium: cubic-bezier(.16,1,.3,1);
  --dur-md: 1.12s;
  --dur-sm: 0.7s;

  --pad-section: clamp(24px, 8vw, 150px);
  --gap-section: clamp(48px, 8vw, 80px);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 1400px;

  /* Theme-aware surfaces — the hero/modular/footer stay permanently dark by
     design in both modes; only the "light" sections swap here. */
  color-scheme: light;
  --surface-page:#ffffff;
  --surface-header:rgba(255,255,255,.7);
  --surface-header-scrolled:rgba(255,255,255,.85);
  --surface-muted:#f3f4f6;
  --surface-card:#ffffff;
  --value-card-bg:#f9fbff;
  --text-heading:#03194e;
  --text-body:#242d35;
  --text-muted:#36424a;
  --border-subtle:#cfd5dc;
  --border-testimonial-c:#cce0ff;
  --header-shadow:rgba(3,25,78,.06);
  --card-shadow:rgba(3,25,78,.12);
  --logo-filter:none;
}

:root[data-theme="dark"]{
  color-scheme: dark;
  --surface-page:#0a0f1c;
  --surface-header:rgba(10,15,28,.72);
  --surface-header-scrolled:rgba(10,15,28,.9);
  --surface-muted:#0d1322;
  --surface-card:#111a2e;
  --value-card-bg:#111a2e;
  --text-heading:#eef2fb;
  --text-body:#cbd4e6;
  --text-muted:#93a2bd;
  --border-subtle:#26314a;
  --border-testimonial-c:#233a63;
  --header-shadow:rgba(0,0,0,.3);
  --card-shadow:rgba(0,0,0,.4);
  --logo-filter:brightness(0) invert(1);
}

/* =========================================================
   Reset
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text-body);
  background:var(--surface-page);
  transition:background-color 0.56s ease, color 0.56s ease;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,p{margin:0;}
button{font:inherit;cursor:pointer;}
input{font:inherit;}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

/* =========================================================
   Reveal-on-scroll system
   ========================================================= */
[data-reveal],
[data-reveal-item]{
  opacity:0;
  transition:opacity var(--dur-md) var(--ease-premium), transform var(--dur-md) var(--ease-premium);
  transition-delay:var(--d, 0ms);
  will-change:opacity, transform;
}
/* Scoped to [data-reveal] specifically — [data-reveal-group] containers
   also carry a data-reveal-type attribute (read by JS for their children's
   stagger), and an unscoped selector here would match the group itself,
   leaving it permanently offset since a group never gets .is-visible. */
[data-reveal][data-reveal-type="up"]{transform:translateY(28px);}
[data-reveal][data-reveal-type="fade"]{transform:none;}
[data-reveal][data-reveal-type="fade-scale"]{transform:scale(.96);}
[data-reveal-item]{transform:translateY(24px);}

[data-reveal].is-visible,
[data-reveal-item].is-visible{
  opacity:1;
  transform:none;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:20px 24px;
  border-radius:var(--radius-sm);
  font-weight:700;font-size:18px;line-height:24px;
  border:1px solid transparent;
  transition:transform 0.35s var(--ease-premium), filter 0.35s ease, box-shadow 0.49s ease, background-color 0.35s ease;
}
.btn-primary{
  background:var(--blue-500);color:#fff;
}
.btn-primary:hover{filter:brightness(1.08);transform:translateY(-2px);}
.btn-primary:active{transform:translateY(0);}
.btn-glow{box-shadow:0 0 8px rgba(35,97,255,.6);}
.btn-glow:hover{box-shadow:0 0 22px rgba(35,97,255,.8);}
.btn-outline{
  background:transparent;color:#fff;border-color:var(--blue-100);
}
.btn-outline:hover{background:rgba(255,255,255,.08);transform:translateY(-2px);}
.header-cta .btn{padding:11px 18px;font-size:15px;}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--surface-header);
  backdrop-filter:blur(0px);
  border-bottom:1px solid transparent;
  transition:background-color 0.49s ease, border-color 0.49s ease, backdrop-filter 0.49s ease, box-shadow 0.49s ease;
}
.site-header.is-scrolled{
  background:var(--surface-header-scrolled);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--border-subtle);
  box-shadow:0 8px 24px var(--header-shadow);
}
.header-inner{
  max-width:var(--max-width);margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px var(--pad-section);
  transition:padding 0.49s var(--ease-premium);
}
.site-header.is-scrolled .header-inner{padding-top:11px;padding-bottom:11px;}
.brand img{transition:transform 0.42s var(--ease-premium), filter 0.56s ease;filter:var(--logo-filter);}
.brand:hover img{transform:scale(1.03);}

.header-actions{display:flex;align-items:center;gap:12px;}

.nav-desktop{display:flex;align-items:center;gap:24px;}
.nav-link{
  display:inline-flex;align-items:center;gap:2px;
  background:none;border:0;padding:0;
  font-size:15px;color:var(--text-heading);
  position:relative;
}
.nav-link.is-active{font-weight:800;}
.nav-link:not(.is-active)::after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;
  background:var(--blue-500);transform:scaleX(0);transform-origin:left;
  transition:transform 0.42s var(--ease-premium);
}
.nav-link:not(.is-active):hover::after{transform:scaleX(1);}

/* Chevron icon: the exported asset is a right-pointing arrow (Figma composes
   it into a chevron-down via rotate+flip at render time); a fixed square
   wrapper keeps the rotated footprint centered without stretching it. */
.chevron-wrap{
  width:16px;height:16px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform 0.35s ease;
}
.chevron-icon{width:7px;height:11.5px;transform:rotate(-90deg) scaleX(-1);display:block;filter:var(--logo-filter);transition:filter 0.56s ease;}
.nav-dropdown:hover .chevron-wrap{transform:translateY(2px);}

/* Theme toggle */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;flex-shrink:0;
  border:1px solid var(--border-subtle);background:transparent;color:var(--text-heading);
  transition:background-color 0.42s ease, border-color 0.42s ease, transform 0.56s var(--ease-premium), color 0.42s ease;
}
.theme-toggle:hover{background:rgba(42,100,246,.1);transform:rotate(-14deg);}
.theme-toggle svg{width:18px;height:18px;}
.theme-toggle .icon-moon{display:none;}
[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
[data-theme="dark"] .theme-toggle .icon-moon{display:block;}

.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;background:none;border:0;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--text-heading);transition:transform 0.42s var(--ease-premium), opacity 0.42s ease, background-color 0.42s ease;margin:0 auto;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-mobile{
  display:none;
  max-height:0;overflow:hidden;
  transition:max-height 0.56s var(--ease-premium);
}
.nav-mobile.is-open{max-height:460px;}
.nav-mobile-inner{display:flex;flex-direction:column;gap:4px;padding:0 24px 24px;}
.nav-mobile .nav-link{padding:12px 4px;font-size:18px;}
.nav-mobile .btn{margin-top:10px;}
.nav-mobile-theme{
  display:flex;align-items:center;gap:10px;
  padding:12px 4px;margin-top:4px;border-top:1px solid var(--border-subtle);
  color:var(--text-heading);font-size:15px;
}
.nav-mobile-theme .theme-toggle{margin-left:auto;}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(116deg, #06102a 0%, #142a5e 100%);
}
.hero-bg{position:absolute;inset:0;}
.hero-grid{
  position:absolute;inset:-40px;
  background-image:url('assets/bg-grid-hero.png');
  background-size:200px 200px;
  opacity:.1;
}

/* Two soft glows wandering behind the grid, blended with "screen" so they
   read as light travelling along the lines rather than a flat glow on top. */
.hero-lights{position:absolute;inset:0;overflow:hidden;pointer-events:none;mix-blend-mode:screen;}
.hero-light{
  position:absolute;width:min(38vw,460px);aspect-ratio:1;border-radius:50%;
  filter:blur(46px);will-change:left, top;
}
.hero-light--a{
  background:radial-gradient(circle, rgba(94,150,255,.6), rgba(94,150,255,0) 70%);
  animation:driftA 12.6s ease-in-out infinite;
}
.hero-light--b{
  background:radial-gradient(circle, rgba(150,195,255,.45), rgba(150,195,255,0) 70%);
  animation:driftB 16.8s ease-in-out infinite;
}
@keyframes driftA{
  0%,100%{left:-8%;top:8%;}
  25%{left:52%;top:-10%;}
  50%{left:78%;top:48%;}
  75%{left:18%;top:72%;}
}
@keyframes driftB{
  0%,100%{left:78%;top:62%;}
  33%{left:8%;top:18%;}
  66%{left:42%;top:78%;}
}
.hero-inner{
  position:relative;z-index:1;
  max-width:var(--max-width);margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:48px;
  padding:var(--pad-section);
  min-height:min(80vh, 720px);
}
.hero-copy{width:100%;max-width:530px;display:flex;flex-direction:column;gap:52px;}
.hero-copy h1{
  display:flex;flex-direction:column;
  font-size:clamp(30px, 4vw, 44px);
  letter-spacing:-1px;color:#fff;
}
.hero-copy h1 .light{font-weight:300;line-height:1.25;}
.hero-copy h1 .bold{font-weight:700;line-height:1.25;}
.hero-sub{color:var(--blue-tint);font-size:20px;line-height:1.5;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}

.hero-media{flex:1;min-width:0;display:flex;justify-content:center;align-items:center;}
/* aspect-ratio (not a percentage/stretched height) is what keeps this a
   landscape rectangle like the original Figma banner: it derives height
   from the column's own width, so it can't inflate from the photo's
   intrinsic ratio the way a cyclic percentage height did, and it can't
   collapse into a tall portrait box the way a fixed vh-based height did. */
.hero-media-frame{
  position:relative;width:100%;aspect-ratio:3/2;max-height:min(80vh, 640px);
  border-radius:var(--radius-lg);overflow:hidden;
}
.hero-media-frame img{
  width:100%;height:100%;object-fit:cover;object-position:center;
}

/* =========================================================
   Trusted-by strip
   ========================================================= */
.trusted{
  background:var(--surface-muted);
  transition:background-color 0.56s ease;
  padding:28px 19px;
  display:flex;flex-direction:column;align-items:center;gap:16px;
}
.trusted-label{font-size:clamp(20px,2.4vw,28px);color:var(--text-body);}
.trusted-logos{
  display:flex;flex-wrap:wrap;gap:clamp(24px,5vw,60px);
  align-items:center;justify-content:center;width:100%;
}
.trusted-logos li{filter:grayscale(1);opacity:.75;transition:filter 0.49s ease, opacity 0.49s ease, transform 0.49s ease;}
.trusted-logos li:hover{filter:grayscale(0);opacity:1;transform:translateY(-2px);}
[data-theme="dark"] .trusted-logos li{filter:grayscale(1) invert(1) brightness(1.7);}
[data-theme="dark"] .trusted-logos li:hover{filter:grayscale(0) invert(0);}
/* Equal box height for every mark; the source files are now trimmed to
   their true content bounds so this actually reads as consistent instead
   of some marks looking shrunken inside leftover canvas padding. */
.trusted-logos li{height:30px;display:flex;align-items:center;}
.trusted-logos img{height:100%;width:auto;max-width:160px;object-fit:contain;}

/* =========================================================
   Value props
   ========================================================= */
.values{position:relative;padding:var(--gap-section) var(--pad-section);}
.values-bg{
  position:absolute;inset:0;z-index:0;
  background-image:url('assets/bg-grid-values.png');
  background-size:200px 200px;
  opacity:.1;
  -webkit-mask-image:linear-gradient(to bottom, black, transparent);
  mask-image:linear-gradient(to bottom, black, transparent);
}
.section-head{
  position:relative;z-index:1;
  max-width:900px;margin:0 auto var(--gap-section);
  text-align:center;display:flex;flex-direction:column;gap:16px;
}
.section-head h2{font-size:clamp(24px,2.8vw,36px);font-weight:700;color:var(--text-heading);}
.section-head p{font-size:clamp(15px,1.4vw,18px);color:var(--text-muted);line-height:1.5;}
.values .section-head{margin-bottom:48px;}

.value-cards{
  position:relative;z-index:1;
  max-width:960px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.value-card{
  background:var(--value-card-bg);border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg);
  padding:32px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:18px;text-align:center;aspect-ratio:3/4.2;
  transition:transform 0.56s var(--ease-premium), box-shadow 0.56s var(--ease-premium), border-color 0.56s ease, background-color 0.56s ease;
}
.value-card:hover{transform:translateY(-8px);box-shadow:0 24px 48px var(--card-shadow);border-color:var(--blue-200);}
.value-icon{position:relative;width:120px;height:86px;flex-shrink:0;}
.value-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:transform 0.7s var(--ease-premium);}
.value-card:hover .value-icon img{transform:translateY(-4px) scale(1.03);}
.value-card h3{font-size:19px;font-weight:600;color:var(--text-body);}
.value-card p{font-size:15px;line-height:1.5;color:var(--text-body);}

/* =========================================================
   Modular infrastructure (dark)
   ========================================================= */
.modular{
  position:relative;overflow:hidden;
  background:var(--navy-950);
  padding:var(--gap-section) var(--pad-section) calc(var(--gap-section) + 56px);
  display:flex;flex-direction:column;align-items:center;gap:var(--gap-section);
}
.modular-blob{position:absolute;pointer-events:none;z-index:0;animation:drift 30.8s ease-in-out infinite alternate;}
.modular-blob img{width:100%;height:100%;display:block;}
.modular-blob--br{right:-341px;bottom:-357px;width:740px;height:740px;animation-duration:36.4s;}
.modular-blob--tl{left:-380px;top:-370px;width:583px;height:583px;animation-duration:28s;animation-delay:-8.4s;}
@keyframes drift{
  0%{transform:translate(0,0) scale(1);}
  100%{transform:translate(-18px,14px) scale(1.04);}
}
.modular-title{
  position:relative;z-index:1;
  max-width:1100px;text-align:center;
  font-size:clamp(28px,4.5vw,54px);line-height:1.2;
  background:linear-gradient(159deg,#fff 0%,#97b4ff 87%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.modular-title .w-semibold{font-weight:600;}
.modular-title .w-light{font-weight:300;}

.modular-body{
  position:relative;z-index:1;width:100%;max-width:var(--max-width);
  display:flex;gap:40px;align-items:center;flex-wrap:wrap;
}
.badge-grid{
  display:flex;flex-wrap:wrap;gap:20px;flex:1 1 556px;max-width:556px;align-content:flex-start;
}
.badge{
  display:flex;align-items:center;gap:16px;
  padding:16px;border-radius:var(--radius-md);
  border:1px solid var(--border-dark-subtle);
  background:transparent;cursor:pointer;
  flex:1 1 240px;
  transition:border-color 0.56s ease, box-shadow 0.56s ease, transform 0.56s var(--ease-premium), background-color 0.56s ease;
}
.badge:focus-visible{outline:2px solid var(--blue-500);outline-offset:2px;}
.badge:hover{border-color:var(--blue-500);box-shadow:0 0 16px rgba(35,97,255,.5);transform:translateY(-4px);background:var(--navy-810);}
.badge--lit{border-color:var(--blue-500);background:var(--navy-810);box-shadow:0 0 16px rgba(35,97,255,.6);}
.badge--wide{flex-basis:100%;max-width:100%;}
.badge-icon{position:relative;width:90px;height:67px;flex-shrink:0;}
.badge-label{font-size:20px;color:#fff;line-height:1.3;}

.modular-panel{
  flex:1 1 320px;position:relative;overflow:hidden;
  border:1px solid var(--border-dark-mid);border-radius:var(--radius-md);
  background:var(--navy-810);align-self:center;
  padding:40px;display:flex;flex-direction:column;gap:20px;
}
.modular-panel .btn{position:relative;z-index:1;align-self:flex-start;}
.modular-panel::before{
  content:"";position:absolute;inset:0;
  background-image:url('assets/bg-pattern-panel.png');background-size:200px 200px;
  opacity:.04;pointer-events:none;
}
.modular-panel p{
  position:relative;font-size:20px;line-height:1.5;color:var(--blue-tint);
  transition:opacity 0.28s ease;
}
.modular-panel p.is-swapping{opacity:0;}

/* Fill/outline layered icons (Figma exports two stacked layers per illustration) */
.illus-fill,.illus-outline{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}

/* =========================================================
   Success cases
   ========================================================= */
.cases{background:var(--surface-muted);padding:var(--gap-section) var(--pad-section);transition:background-color 0.56s ease;}
.case-cards{
  max-width:var(--max-width);margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.case-card{
  position:relative;margin:0;
  background:var(--surface-card);border:1px solid var(--border-testimonial-c);
  border-radius:var(--radius-lg);overflow:hidden;
  padding:32px;display:flex;flex-direction:column;gap:24px;
  aspect-ratio:3/3.35;
  transition:transform 0.56s var(--ease-premium), box-shadow 0.56s var(--ease-premium), background-color 0.56s ease, border-color 0.56s ease;
}
.case-card:hover{transform:translateY(-6px);box-shadow:0 24px 48px var(--card-shadow);}
.case-card p{font-size:18px;line-height:1.5;color:var(--text-body);position:relative;z-index:1;flex:1;}
.case-card hr{border:none;border-top:1px solid var(--border-subtle);width:100%;margin:0;}
.case-card footer{display:flex;gap:12px;align-items:flex-start;}
.case-card footer img{width:66px;height:66px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.case-card footer div{display:flex;flex-direction:column;font-size:16px;line-height:1.5;}
.case-card cite{font-style:normal;font-weight:500;color:var(--text-body);}
.case-card footer span{font-style:italic;color:var(--text-muted);}
.quote-mark{
  position:absolute;font-size:100px;font-weight:700;color:var(--text-heading);opacity:.04;
  line-height:1;pointer-events:none;
}
[data-theme="dark"] .quote-mark{opacity:.08;}
.quote-mark--open{top:-16px;left:30px;}
.quote-mark--close{bottom:-40px;right:30px;}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{position:relative;overflow:hidden;background:var(--navy-925);}
.footer-top{
  position:relative;z-index:1;
  max-width:var(--max-width);margin:0 auto;
  padding:var(--pad-section) var(--pad-section) clamp(72px,10vw,92px);
  display:flex;flex-wrap:wrap;gap:60px;justify-content:space-between;
}
.footer-newsletter{display:flex;flex-direction:column;gap:16px;width:100%;max-width:332px;}
.footer-newsletter p{color:#fff;font-size:16px;line-height:24px;}
.newsletter-form{display:flex;gap:0;border:1px solid var(--blue-tint);border-radius:8px;overflow:hidden;background:var(--navy-800);}
.newsletter-form input{
  flex:1;min-width:0;background:transparent;border:0;color:var(--blue-tint);
  font-size:16px;padding:0 0 0 24px;
}
.newsletter-form input::placeholder{color:var(--blue-tint);opacity:.8;}
.newsletter-form input:focus{outline:none;}
.newsletter-form button{
  background:var(--blue-tint);border:0;padding:12px;display:flex;align-items:center;
  transition:background-color 0.42s ease, transform 0.42s ease;
}
.newsletter-form button:hover{background:#fff;transform:translateX(2px);}
.social-btn{
  width:48px;height:48px;border:1px solid var(--blue-tint);border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  transition:background-color 0.42s ease, transform 0.42s ease;
}
.social-btn:hover{background:rgba(189,208,255,.12);transform:translateY(-2px);}

.footer-links{display:flex;flex-wrap:wrap;gap:60px;}
.footer-col{display:flex;flex-direction:column;gap:20px;}
.footer-col-title{font-weight:700;font-size:18px;color:#fff;}
.footer-col a{
  font-size:20px;color:var(--blue-tint);position:relative;width:fit-content;
  transition:color 0.42s ease;
}
.footer-col a:hover{color:#fff;}
.footer-col a::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:currentColor;
  transform:scaleX(0);transform-origin:left;transition:transform 0.42s var(--ease-premium);
}
.footer-col a:hover::after{transform:scaleX(1);}

.footer-wordmark{
  position:relative;width:100%;max-width:1206px;margin:0 auto;
  opacity:0;transform:scale(.98);
  transition:opacity 1.54s var(--ease-premium), transform 1.54s var(--ease-premium);
}
.footer-wordmark.is-visible{opacity:1;transform:scale(1);}
.footer-wordmark img{width:100%;height:auto;display:block;}

/* =========================================================
   Back to top
   ========================================================= */
.to-top{
  position:fixed;right:24px;bottom:24px;z-index:90;
  width:48px;height:48px;border-radius:50%;
  background:var(--blue-500);color:#fff;border:0;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(35,97,255,.4);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity 0.49s ease, transform 0.49s var(--ease-premium), visibility 0.49s ease;
}
.to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0);}
.to-top:hover{filter:brightness(1.1);}
.to-top svg{width:22px;height:22px;}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1080px){
  .nav-desktop, .header-cta{display:none;}
  .nav-toggle{display:flex;}
  .nav-mobile{display:block;}
  .hero-inner{flex-direction:column;text-align:left;min-height:0;padding-bottom:48px;}
  .hero-copy{max-width:100%;}
  .hero-media{width:100%;}
  .hero-media-frame{height:320px;}
  .value-cards, .case-cards{grid-template-columns:1fr;}
  .value-card, .case-card{height:auto !important;aspect-ratio:auto !important;}
  .case-card p{flex:none !important;}
  .modular-body{flex-direction:column;}
  .badge-grid{max-width:100%;}
}

@media (max-width:640px){
  .header-inner{padding-top:20px;padding-bottom:20px;}
  .hero-copy{gap:32px;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .badge{flex-basis:100%;}
  .footer-top{flex-direction:column;}
  .trusted-logos{gap:28px;}
}
