/* ============================================================
   HELPDESK SOLUTIONS — BRAND DESIGN LAYER
   Loaded on every page. Applies the brand identity on top of
   the existing page markup without changing content or colours.

   Typography : Montserrat (brand typeface)
   Palette    : #061425  #05182F  #8E99A2  #020301  #FFFFFF
                + existing site blues (#2F6FA6, #4F8FC7, #7FB0DD)
   Textures   : soft waves (dark) + geometric network (light),
                taken from the brand guide "Pattern / Textures".
   ============================================================ */

:root{
  --font-display:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-label:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;

  --hd-ink:#061425;
  --hd-blue:#2F6FA6;
  --hd-blue-2:#4F8FC7;
  --hd-sky:#7FB0DD;
  --hd-slate:#8E99A2;
  --hd-ring:rgba(47,111,166,.16);

  /* Brand textures (inline SVG) */
  --tex-network:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%238E99A2' stroke-opacity='.22' stroke-width='.8'%3E%3Cpath d='M0 0 60 0 30 52Z M60 0 120 0 90 52Z M30 52 90 52 60 104Z M-30 52 30 52 0 104Z M90 52 150 52 120 104Z'/%3E%3C/g%3E%3Cg fill='%238E99A2' fill-opacity='.38'%3E%3Ccircle cx='0' cy='0' r='1.8'/%3E%3Ccircle cx='60' cy='0' r='1.8'/%3E%3Ccircle cx='120' cy='0' r='1.8'/%3E%3Ccircle cx='30' cy='52' r='1.8'/%3E%3Ccircle cx='90' cy='52' r='1.8'/%3E%3Ccircle cx='0' cy='104' r='1.8'/%3E%3Ccircle cx='60' cy='104' r='1.8'/%3E%3Ccircle cx='120' cy='104' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  --tex-waves:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='560' viewBox='0 0 1440 560' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1'%3E%3Cpath stroke-opacity='.07' d='M0 380C240 300 420 470 720 400s480-210 720-130'/%3E%3Cpath stroke-opacity='.06' d='M0 410C250 330 430 500 730 430s470-200 710-120'/%3E%3Cpath stroke-opacity='.05' d='M0 440C260 360 440 530 740 460s460-190 700-110'/%3E%3Cpath stroke-opacity='.04' d='M0 470C270 390 450 560 750 490s450-180 690-100'/%3E%3Cpath stroke-opacity='.035' d='M0 500C280 420 460 590 760 520s440-170 680-90'/%3E%3C/g%3E%3C/svg%3E");
  --tex-waves-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='560' viewBox='0 0 1440 560' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%232F6FA6' stroke-width='1'%3E%3Cpath stroke-opacity='.08' d='M0 120C240 40 420 210 720 140s480-210 720-130'/%3E%3Cpath stroke-opacity='.06' d='M0 150C250 70 430 240 730 170s470-200 710-120'/%3E%3Cpath stroke-opacity='.045' d='M0 180C260 100 440 270 740 200s460-190 700-110'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base typography ---------- */
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body) !important;
  font-feature-settings:"kern","liga";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
::selection{background:rgba(79,143,199,.28);color:inherit;}
p{letter-spacing:-.003em;}
input,select,textarea,button{font-family:var(--font-body);}

/* Display / headline text (was Fraunces serif) */
[style*="--font-display"]{
  font-family:var(--font-display) !important;
  letter-spacing:-.028em !important;
}
h1[style*="--font-display"]{
  font-weight:800 !important;
  font-size:clamp(34px,4.3vw,56px) !important;
  line-height:1.07 !important;
  letter-spacing:-.035em !important;
}
h2[style*="--font-display"]{
  font-weight:750 !important;
  font-style:normal !important;
  font-size:clamp(27px,3.1vw,40px) !important;
  line-height:1.12 !important;
}
h3[style*="--font-display"],h4[style*="--font-display"]{
  font-weight:700 !important;
  letter-spacing:-.018em !important;
  line-height:1.25 !important;
}
/* Quotes, stats, callouts set in the display face */
div[style*="--font-display"],p[style*="--font-display"],span[style*="--font-display"],a[style*="--font-display"],blockquote[style*="--font-display"]{
  font-weight:600 !important;
  font-style:normal !important;
  letter-spacing:-.012em !important;
}
/* Emphasised words inside headlines: keep the gradient, drop the serif italic */
[style*="--font-display"] em{
  font-style:normal !important;
  font-weight:800 !important;
  letter-spacing:-.035em;
}

/* Eyebrows / labels / data (was IBM Plex Mono) */
[style*="--font-label"]{
  font-family:var(--font-label) !important;
  font-weight:600 !important;
  font-variant-numeric:tabular-nums;
}
[style*="--font-label"][style*="text-transform: uppercase"]{
  letter-spacing:.16em !important;
  font-size:11px !important;
}

/* ---------- Section textures ---------- */
/* Light-grey sections get the brand geometric network texture */
section[style*="background: rgb(243, 246, 249)"]{
  position:relative;
  background-color:#F3F6F9 !important;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 40%,rgba(243,246,249,1) 30%,rgba(243,246,249,.55) 75%,rgba(243,246,249,0) 100%),
    var(--tex-network) !important;
  background-size:100% 100%,120px 104px !important;
}
/* Dark hero + dark sections get the brand soft-wave lines */
section[data-hero]::after,
section[style*="background: rgb(6, 20, 37)"]::after,
section[style*="radial-gradient(120% 130%"]::after{
  content:"";
  position:absolute;inset:0;
  background:var(--tex-waves) center bottom / 100% 100% no-repeat;
  pointer-events:none;
  z-index:0;
}
section[style*="background: rgb(6, 20, 37)"],
section[style*="radial-gradient(120% 130%"]{position:relative;}
section[style*="background: rgb(6, 20, 37)"] > *,
section[style*="radial-gradient(120% 130%"] > *{position:relative;z-index:1;}
/* White sections: a whisper of wave lines at the top edge, every other one */
section[style*="background: rgb(255, 255, 255)"]:nth-of-type(4n+2){
  background-image:var(--tex-waves-light) !important;
  background-repeat:no-repeat !important;
  background-position:center top !important;
  background-size:100% 340px !important;
}

/* ---------- Cards ---------- */
/* White cards with hairline borders */
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"],
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(220, 227, 233)"],
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(225, 232, 238)"]{
  border-color:#E2E9F0 !important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 1px 2px rgba(6,20,37,.04),0 14px 34px -28px rgba(6,20,37,.35) !important;
  transition:transform .35s cubic-bezier(.2,.8,.3,1),box-shadow .35s ease,border-color .3s ease !important;
}
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"]:hover,
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(220, 227, 233)"][style*="border-radius: 1"]:hover{
  border-color:#B9D0E4 !important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 26px 50px -30px rgba(6,20,37,.45),0 0 0 4px var(--hd-ring) !important;
}
/* Tinted cards */
[style*="background: rgb(243, 246, 249); border: 1px solid rgb(228, 234, 239)"],
[style*="background: rgb(248, 250, 251); border: 1px solid rgb(220, 227, 233)"]{
  background:linear-gradient(180deg,#FFFFFF 0%,#F4F7FA 100%) !important;
  border-color:#E2E9F0 !important;
  box-shadow:0 12px 30px -26px rgba(6,20,37,.35) !important;
  transition:transform .35s cubic-bezier(.2,.8,.3,1),box-shadow .35s ease,border-color .3s ease !important;
}
[style*="background: rgb(243, 246, 249); border: 1px solid rgb(228, 234, 239)"]:hover,
[style*="background: rgb(248, 250, 251); border: 1px solid rgb(220, 227, 233)"]:hover{
  transform:translateY(-4px);
  border-color:#B9D0E4 !important;
  box-shadow:0 26px 50px -30px rgba(6,20,37,.45),0 0 0 4px var(--hd-ring) !important;
}
/* Rounder, softer corners for the big cards and media frames */
[style*="border-radius: 16px"],[style*="border-radius: 18px"]{border-radius:20px !important;}
[style*="border-radius: 20px"],[style*="border-radius: 22px"]{border-radius:24px !important;}

/* Small square icon chips inside cards -> brand gradient badge */
span[style*="width: 42px; height: 42px"],div[style*="width: 42px; height: 42px"],
span[style*="width: 44px; height: 44px"],div[style*="width: 44px; height: 44px"],
span[style*="width: 40px; height: 40px"],div[style*="width: 40px; height: 40px"]{
  border-radius:12px !important;
}

/* ---------- Media ---------- */
img[style*="object-fit: cover"]{
  transition:transform 1.2s cubic-bezier(.2,.8,.3,1),opacity .4s ease;
}
div:hover > img[style*="object-fit: cover"]{transform:scale(1.035);}

/* ---------- Buttons & links ---------- */
a[style*="linear-gradient(135deg, rgb(79, 143, 199) 0%, rgb(24, 69, 105) 100%)"]{
  border-radius:999px !important;
  letter-spacing:.005em;
  background-size:160% 160% !important;
  background-position:0% 0% !important;
  transition:transform .25s cubic-bezier(.2,.8,.3,1),box-shadow .3s ease,background-position .5s ease !important;
}
a[style*="linear-gradient(135deg, rgb(79, 143, 199) 0%, rgb(24, 69, 105) 100%)"]:hover{
  transform:translateY(-2px);
  background-position:100% 100% !important;
  box-shadow:0 22px 44px -18px rgba(47,111,166,.95),0 0 0 4px rgba(79,143,199,.18) !important;
}
a[style*="border: 1px solid rgba(255, 255, 255, 0.26)"],
a[style*="border: 1px solid rgb(6, 20, 37)"],
a[style*="border: 1px solid rgb(11, 27, 46)"],
a[style*="border: 1.5px solid"]{
  border-radius:999px !important;
}
button[type="submit"]{border-radius:999px !important;}

/* ---------- Forms ---------- */
input[type="text"],input[type="email"],input[type="tel"],select,textarea{
  transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease !important;
}
input[type="text"]:focus,input[type="email"]:focus,input[type="tel"]:focus,select:focus,textarea:focus{
  outline:none !important;
  border-color:#4F8FC7 !important;
  background-color:#fff !important;
  box-shadow:0 0 0 4px rgba(79,143,199,.18) !important;
}

/* ---------- Header ---------- */
header#nav{
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  backdrop-filter:saturate(160%) blur(14px);
}
#navLinks a{border-radius:999px;}
#navLinks a:hover{background:rgba(255,255,255,.07);}
#navCta{border-radius:999px !important;}

/* ---------- Accessibility ---------- */
a:focus-visible,button:focus-visible{
  outline:2px solid #7FB0DD;
  outline-offset:3px;
  border-radius:8px;
}
@media (prefers-reduced-motion:reduce){
  img[style*="object-fit: cover"],div:hover > img[style*="object-fit: cover"]{transition:none;transform:none;}
}

/* ---------- Icon badges -> solid brand gradient with white icon ---------- */
[style*="background: linear-gradient(140deg, rgba(47, 111, 166, 0.18), rgba(47, 111, 166, 0.04))"]{
  background:linear-gradient(140deg,#4F8FC7 0%,#184569 70%,#061425 100%) !important;
  color:#FFFFFF !important;
  box-shadow:0 10px 22px -12px rgba(24,69,105,.9),inset 0 1px 0 rgba(255,255,255,.22) !important;
  transition:transform .35s cubic-bezier(.2,.8,.3,1),box-shadow .35s ease !important;
}
[style*="background: linear-gradient(140deg, rgba(47, 111, 166, 0.18), rgba(47, 111, 166, 0.04))"] svg{stroke:#FFFFFF !important;}
a:hover > [style*="background: linear-gradient(140deg, rgba(47, 111, 166, 0.18)"],
div:hover > [style*="background: linear-gradient(140deg, rgba(47, 111, 166, 0.18)"]{
  transform:translateY(-2px) rotate(-4deg);
}

/* ---------- Accent bar that sweeps in across the top of cards on hover ---------- */
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(225, 232, 238)"][style*="border-radius: 1"],
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"][style*="padding: 2"],
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"][style*="padding: 3"],
[style*="background: rgb(243, 246, 249); border: 1px solid rgb(228, 234, 239)"],
[style*="background: rgb(248, 250, 251); border: 1px solid rgb(220, 227, 233)"]{
  position:relative;
  overflow:hidden;
}
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(225, 232, 238)"][style*="border-radius: 1"]::before,
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"][style*="padding: 2"]::before,
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"][style*="padding: 3"]::before,
[style*="background: rgb(243, 246, 249); border: 1px solid rgb(228, 234, 239)"]::before,
[style*="background: rgb(248, 250, 251); border: 1px solid rgb(220, 227, 233)"]::before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#7FB0DD,#2F6FA6 45%,#061425);
  transform:scaleX(0);transform-origin:left center;
  transition:transform .45s cubic-bezier(.2,.8,.3,1);
  pointer-events:none;
}
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(225, 232, 238)"][style*="border-radius: 1"]:hover::before,
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"][style*="padding: 2"]:hover::before,
[style*="background: rgb(255, 255, 255); border: 1px solid rgb(228, 234, 239)"][style*="border-radius: 1"][style*="padding: 3"]:hover::before,
[style*="background: rgb(243, 246, 249); border: 1px solid rgb(228, 234, 239)"]:hover::before,
[style*="background: rgb(248, 250, 251); border: 1px solid rgb(220, 227, 233)"]:hover::before{
  transform:scaleX(1);
}

/* ============================================================
   BLOG ARTICLE PAGES (use assets/styles.css classes)
   ============================================================ */
h1,h2,h3,h4{font-family:var(--font-display);}
header.site-nav{background:rgba(255,255,255,.86);}
header.site-nav .logo{font-weight:700;letter-spacing:-.02em;font-size:18px;}
header.site-nav nav.links a{border-radius:999px;transition:color .15s ease,background-color .15s ease;}
header.site-nav nav.links a:hover{background:#F1F5F9;}
.nav-cta,.btn{border-radius:999px !important;}

/* Article hero -> brand dark band with soft waves */
.article-hero{
  position:relative;overflow:hidden;
  padding:72px 0 60px !important;
  background:radial-gradient(130% 120% at 12% -15%,#0E2E4F 0%,#0A2440 22%,#061425 55%,#020608 100%);
  color:#fff;
}

.article-hero::after{
  content:"";position:absolute;inset:0;
  background:var(--tex-waves) center bottom / 100% 100% no-repeat;
  pointer-events:none;
}
.article-hero .wrap{z-index:1;}
.article-hero h1{
  color:#fff;font-weight:800;letter-spacing:-.032em;line-height:1.1;
  font-size:clamp(30px,3.8vw,46px) !important;
}
.article-hero .eyebrow{color:#9FC6E8;font-weight:600;letter-spacing:.16em;font-size:11px;}
.article-hero .eyebrow::before{background:#7FB0DD;}
.article-hero .lede{color:#AEBECD !important;}
.article-hero .back-link{
  color:#AEBECD;padding:7px 14px 7px 12px;border:1px solid rgba(127,176,221,.32);
  border-radius:999px;background:rgba(47,111,166,.12);font-weight:600;letter-spacing:.06em;
}
.article-hero .back-link:hover{color:#fff;border-color:#7FB0DD;}
.article-hero .article-meta{border-top-color:rgba(255,255,255,.14);color:#8FA3B5;font-weight:600;letter-spacing:.12em;font-size:11px;}
.article-hero .article-meta span{display:inline-flex;align-items:center;gap:18px;}
.article-hero .article-meta span + span::before{content:"";width:4px;height:4px;border-radius:50%;background:#4F8FC7;margin-right:0;}
.article-hero + section{padding-top:24px;}

/* Article body typography */
.article-body{padding-top:40px !important;}
.article-body p,.article-body li{color:#2A3A4A !important;}
.article-body h2{
  position:relative;padding-top:18px;font-weight:750;letter-spacing:-.025em;line-height:1.2;
}
.article-body h2::before{
  content:"";position:absolute;left:0;top:0;width:44px;height:3px;border-radius:3px;
  background:linear-gradient(90deg,#7FB0DD,#2F6FA6 50%,#061425);
}
.article-body h3{font-weight:700 !important;letter-spacing:-.015em;}
.article-body ul{list-style:none;padding-left:0 !important;}
.article-body ul li{position:relative;padding-left:26px;}
.article-body ul li::before{
  content:"";position:absolute;left:4px;top:.62em;width:8px;height:8px;border-radius:50%;
  background:linear-gradient(140deg,#4F8FC7,#184569);box-shadow:0 0 0 4px rgba(79,143,199,.14);
}
.article-body ol{padding-left:22px;}
.article-body ol li::marker{color:#2F6FA6;font-weight:700;}
.article-body a:not(.btn){color:#184569;text-decoration:underline;text-decoration-color:rgba(47,111,166,.35);text-underline-offset:3px;}
.article-body a:not(.btn):hover{text-decoration-color:#2F6FA6;}

/* CTA box at the end of articles */
.article-cta{
  border-left:none !important;border-radius:24px;
  background:radial-gradient(120% 160% at 0% 0%,#0F3055 0%,#061425 60%) !important;
  padding:34px 36px !important;position:relative;overflow:hidden;
  box-shadow:0 30px 60px -36px rgba(6,20,37,.8);
}
.article-cta::after{content:"";position:absolute;inset:0;background:var(--tex-waves) center / cover no-repeat;pointer-events:none;}
.article-cta > *{position:relative;z-index:1;}
.article-cta p{color:#fff !important;font-weight:600 !important;letter-spacing:-.01em;}

/* Related posts -> separate rounded cards */
.related-grid{background:none !important;border:none !important;gap:16px !important;}
.related-grid > *{
  border:1px solid #E2E9F0;border-radius:18px;background:#fff;
  box-shadow:0 14px 34px -28px rgba(6,20,37,.35);
  transition:transform .35s cubic-bezier(.2,.8,.3,1),box-shadow .35s ease,border-color .3s ease;
}
.related-grid > *:hover{
  transform:translateY(-3px);border-color:#B9D0E4;
  box-shadow:0 26px 50px -30px rgba(6,20,37,.45),0 0 0 4px var(--hd-ring);
}

/* Footer (blog pages) */
footer .footer-logo{font-weight:700;letter-spacing:-.02em;}
footer{background:radial-gradient(120% 140% at 15% -10%,#0B2440 0%,#061425 42%,#020608 100%) !important;position:relative;}

.article-cta .btn-primary{color:#fff !important;}
/* "Keep reading" card titles were inheriting the small label style */
.related-posts .blog-card h4{
  font-family:var(--font-display) !important;font-size:16px !important;font-weight:700 !important;
  line-height:1.35 !important;letter-spacing:-.012em !important;text-transform:none !important;
  color:#061425 !important;margin:8px 0 0 !important;
}
.related-posts > h4{font-weight:600;letter-spacing:.16em;font-size:11px;}
/* Footer logo mark pointed at a missing white image; show the existing mark in white */
footer .footer-logo .mark img{content:url("img/logo-mark-blue.png");filter:brightness(0) invert(1);}

/* ============================================================
   DESIGN POLISH v2
   ============================================================ */
:root{
  --tex-waves-hero:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='700' viewBox='0 0 1600 700' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%237FB0DD' stop-opacity='0'/%3E%3Cstop offset='.35' stop-color='%237FB0DD' stop-opacity='.75'/%3E%3Cstop offset='.7' stop-color='%234F8FC7' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%234F8FC7' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.2'%3E%3Cpath opacity='.55' d='M0 430C220 330 420 560 760 470S1260 250 1600 360'/%3E%3Cpath opacity='.45' d='M0 460C230 360 440 590 780 500S1270 280 1600 390'/%3E%3Cpath opacity='.38' d='M0 490C240 390 460 620 800 530S1280 310 1600 420'/%3E%3Cpath opacity='.3' d='M0 520C250 420 480 650 820 560S1290 340 1600 450'/%3E%3Cpath opacity='.24' d='M0 550C260 450 500 680 840 590S1300 370 1600 480'/%3E%3Cpath opacity='.18' d='M0 580C270 480 520 710 860 620S1310 400 1600 510'/%3E%3Cpath opacity='.13' d='M0 610C280 510 540 740 880 650S1320 430 1600 540'/%3E%3Cpath opacity='.09' d='M0 640C290 540 560 770 900 680S1330 460 1600 570'/%3E%3C/g%3E%3C/svg%3E");
}
@keyframes hdWaveDrift{0%{transform:translate3d(-6%,0,0);}100%{transform:translate3d(6%,0,0);}}
@keyframes hdShimmer{0%{background-position:0% 50%;}100%{background-position:100% 50%;}}

/* Page headers: flowing brand waves (no grid) */
section[data-hero]::after,
.article-hero::after{
  left:-15% !important;right:auto !important;width:130% !important;
  background:var(--tex-waves-hero) center bottom / 100% 100% no-repeat !important;
  animation:hdWaveDrift 26s ease-in-out infinite alternate;
  opacity:1;
}
section[data-hero]::before,
.article-hero::before{
  content:"";position:absolute;inset:auto 0 0 0;height:45%;
  background:radial-gradient(60% 80% at 70% 100%,rgba(47,111,166,.22),transparent 70%);
  pointer-events:none;z-index:0;
}
section[data-hero] > *, .article-hero > *{position:relative;z-index:1;}

/* Highlighted words in headlines: slow gradient shimmer */
[style*="--font-display"] em{
  background-size:220% 100% !important;
  animation:hdShimmer 7s ease-in-out infinite alternate;
}

/* Section numbers (01, 02 ...) -> small badge */
[style*="text-transform: uppercase"] > span[style="color: rgb(47, 111, 166);"],
[style*="text-transform: uppercase"] > span[style="color: rgb(127, 176, 221);"]{
  display:inline-grid;place-items:center;min-width:32px;height:22px;padding:0 8px;
  border-radius:999px;letter-spacing:.06em;
  background:rgba(47,111,166,.1);border:1px solid rgba(47,111,166,.28);
}
[style*="text-transform: uppercase"] > span[style="color: rgb(127, 176, 221);"]{
  background:rgba(127,176,221,.12);border-color:rgba(127,176,221,.35);
}
[style*="width: 26px; height: 1px"]{
  background:linear-gradient(90deg,#2F6FA6,rgba(47,111,166,.15)) !important;width:34px !important;
}

/* Glass cards on dark sections */
[style*="background: linear-gradient(165deg, rgba(255, 255, 255, 0.0"],
[style*="background: linear-gradient(160deg, rgba(255, 255, 255, 0.04"]{
  position:relative;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 40px 80px -50px rgba(0,0,0,.95) !important;
}
[style*="background: linear-gradient(165deg, rgba(255, 255, 255, 0.0"]::before,
[style*="background: linear-gradient(160deg, rgba(255, 255, 255, 0.04"]::before{
  content:"";position:absolute;left:12%;right:12%;top:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(127,176,221,.85),transparent);
  opacity:.55;transition:opacity .35s ease,left .45s ease,right .45s ease;pointer-events:none;
}
[style*="background: linear-gradient(165deg, rgba(255, 255, 255, 0.0"]:hover,
[style*="background: linear-gradient(160deg, rgba(255, 255, 255, 0.04"]:hover{
  border-color:rgba(127,176,221,.42) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 40px 80px -46px rgba(0,0,0,.95),0 0 0 4px rgba(79,143,199,.12),0 0 60px -20px rgba(79,143,199,.45) !important;
}
[style*="background: linear-gradient(165deg, rgba(255, 255, 255, 0.0"]:hover::before,
[style*="background: linear-gradient(160deg, rgba(255, 255, 255, 0.04"]:hover::before{opacity:1;left:4%;right:4%;}

/* Primary buttons: light sweep on hover */
a[style*="linear-gradient(135deg, rgb(79, 143, 199) 0%, rgb(24, 69, 105) 100%)"],
.btn-primary,.nav-cta,#navCta{position:relative;overflow:hidden;isolation:isolate;}
a[style*="linear-gradient(135deg, rgb(79, 143, 199) 0%, rgb(24, 69, 105) 100%)"]::after,
#navCta::after{
  content:"";position:absolute;top:0;bottom:0;left:0;width:45%;z-index:-1;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);
  transform:translateX(-160%) skewX(-18deg);transition:transform .7s cubic-bezier(.2,.8,.3,1);
  pointer-events:none;
}
a[style*="linear-gradient(135deg, rgb(79, 143, 199) 0%, rgb(24, 69, 105) 100%)"]:hover::after,
#navCta:hover::after{transform:translateX(330%) skewX(-18deg);}

/* Photo frames: soft brand ring + depth */
div:has(> img[style*="object-fit: cover"]){
  box-shadow:0 0 0 1px rgba(127,176,221,.22),0 40px 80px -46px rgba(6,20,37,.7) !important;
}

/* Footer: glowing top edge */
footer{position:relative;}
footer::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(127,176,221,.55),transparent);
  pointer-events:none;
}

/* Calmer scrollbars on desktop */
@media (pointer:fine){
  html{scrollbar-color:#8E99A2 #EEF2F6;scrollbar-width:thin;}
}
@media (prefers-reduced-motion:reduce){
  section[data-hero]::after,.article-hero::after,[style*="--font-display"] em{animation:none !important;}
}

/* Gradient hairline border on dark glass cards */
[style*="background: linear-gradient(165deg, rgba(255, 255, 255, 0.0"]::after,
[style*="background: linear-gradient(160deg, rgba(255, 255, 255, 0.04"]::after{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(155deg,rgba(127,176,221,.65) 0%,rgba(255,255,255,.06) 38%,rgba(255,255,255,.03) 62%,rgba(79,143,199,.45) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
[style*="background: linear-gradient(165deg, rgba(255, 255, 255, 0.0"],
[style*="background: linear-gradient(160deg, rgba(255, 255, 255, 0.04"]{border-color:transparent !important;}
