/* Additions for the Next.js CMS: features that the original theme rendered in PHP or did not have. */
.site-header.not-sticky{position:relative}
.vm-announcement{font-size:15px;line-height:1.5}
.vm-announcement .wrap{display:flex;align-items:center;justify-content:center;gap:16px;padding-top:9px;padding-bottom:9px;position:relative}
.vm-announcement p{margin:0;text-align:center}
.vm-announcement a{color:inherit;font-weight:650;text-decoration:underline}
.vm-announcement-close{background:none;border:0;color:inherit;font-size:22px;line-height:1;cursor:pointer;position:absolute;right:16px}
.vm-adminbar{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;align-items:center;gap:6px;background:#111a2e;color:#fff;border-radius:12px;padding:6px;font:500 14px/1.2 system-ui,sans-serif;box-shadow:0 10px 30px #0004}
.vm-adminbar a,.vm-adminbar button{color:#fff;background:#ffffff14;border:0;border-radius:8px;padding:8px 11px;cursor:pointer;text-decoration:none}
.vm-adminbar a:hover,.vm-adminbar button:hover{background:#ffffff2b}
.vm-adminbar-user{opacity:.7;padding:0 6px}
.vm-adminbar-warn{background:#b45309;border-radius:8px;padding:8px 11px}
@media (max-width:600px){.vm-adminbar-user{display:none}}
.vm-breadcrumbs{font-size:15px;color:var(--muted);margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0}
.vm-breadcrumbs li+li::before{content:"/";margin-right:6px;color:#b5bfd1}
.vm-breadcrumbs a{color:#5674ab}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;max-width:1180px;margin:0 auto}
@media (min-width:1100px){.article-layout.has-toc{grid-template-columns:250px minmax(0,1fr)}.article-layout.has-toc .prose{margin-top:50px}}
.vm-toc{align-self:start;position:sticky;top:100px;margin-top:50px;border:1px solid var(--line);border-radius:14px;padding:18px 20px;background:var(--pale);font-size:15px}
.vm-toc summary{font-weight:700;color:var(--ink);cursor:pointer}
.vm-toc ol{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}
.vm-toc .lvl-3{padding-left:14px}
.vm-toc a{color:#45557a}
.vm-toc a:hover{color:var(--blue)}
@media (max-width:1099px){.vm-toc{position:static;margin:30px auto 0;max-width:900px}}
.prose img{max-width:100%;height:auto;border-radius:12px}
.prose figure{margin:30px 0}
.prose figcaption{font-size:15px;color:var(--muted);text-align:center;margin-top:8px}
.prose table{width:100%;border-collapse:collapse;margin:25px 0;font-size:16px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--pale);color:var(--ink)}
.prose iframe{max-width:100%;border:0;border-radius:12px}
.prose pre{background:#0f1a30;color:#e6ecf8;padding:18px;border-radius:12px;overflow-x:auto;font-size:15px}
.prose code{font-size:.9em}
.prose hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.legacy-content.prose{max-width:1000px}
.legacy-content img{display:inline-block}
.article-tags{max-width:900px;margin:35px auto 0;display:flex;flex-wrap:wrap;gap:8px}
.article-tags a{font-size:14px;border:1px solid var(--line);border-radius:30px;padding:6px 13px;color:#45557a}
.author-box{max-width:900px;margin:45px auto 0;display:flex;gap:20px;align-items:flex-start;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--pale)}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none}
.author-box .author-initial{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:var(--lavender);color:var(--blue);font-weight:700;font-size:28px;flex:none}
.author-box h2{font-size:20px;margin:0 0 4px}
.author-box p{margin:6px 0 0;font-size:16px;color:var(--muted)}
.related-posts{max-width:1180px;margin:60px auto 0}
.related-posts>h2{font-size:30px;margin-bottom:20px}
.archive-description{max-width:760px;color:var(--muted);font-size:18px}
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.page-numbers.dots{border:0}
.form-status{scroll-margin-top:120px}
.search-results-count{color:var(--muted);margin:20px 0 0}
.article-byline{font-size:16px;color:var(--muted);margin:10px 0 0}.article-byline a{color:var(--blue)}
/* Page builder layout utilities */
.vm-section{padding:90px 0}
.vm-row{display:grid;gap:32px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.vm-row.cols-1{grid-template-columns:minmax(0,1fr)}
.vm-row.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.vm-row.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.vm-row.cols-1-2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.vm-row.cols-2-1{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.vm-row.center{align-items:center}
.vm-col{min-width:0}
@media(max-width:1024px){.vm-row.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.vm-row,.vm-row.cols-3,.vm-row.cols-4,.vm-row.cols-1-2,.vm-row.cols-2-1{grid-template-columns:minmax(0,1fr)}.vm-section{padding:60px 0}}
.vm-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.vm-card h3{margin-top:14px}
.vm-spacer{height:48px}
.vm-divider{border:0;border-top:1px solid var(--line);margin:32px 0}
.vm-text{font-size:18px;line-height:1.75;color:#56657e}
.vm-image{margin:0}
.vm-image img{display:block;max-width:100%;height:auto;border-radius:16px}
.vm-image figcaption{font-size:15px;color:var(--muted);text-align:center;margin-top:10px}
.vm-video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px;background:#0f172a}
.vm-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.vm-gallery img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.vm-map{display:block;width:100%;height:400px;border:0;border-radius:16px}
.vm-center{text-align:center}
.vm-center .cta-row{justify-content:center}
.vm-html{min-height:20px}
.vm-contact-list{list-style:none;padding:0;display:grid;gap:12px;font-size:18px}
.vm-contact-list a{color:var(--blue)}

/* ---------- Header lines up with the page content (same width as .wrap) ---------- */
@media(min-width:851px){.nav-wrap{max-width:none;width:min(1220px,calc(100% - 96px));padding-inline:0}}
@media(min-width:851px) and (max-width:1250px){.nav-wrap{width:calc(100% - 72px)}}
/* Narrower desktops: make room so the header stays inside the content width */
@media(min-width:851px) and (max-width:1000px){.nav-wrap{gap:10px}.site-header nav{gap:8px;font-size:13.5px}.brand{width:104px}.header-actions{gap:8px}.header-actions .compact{padding-inline:12px;gap:8px}}
@media(min-width:851px) and (max-width:880px){.brand{width:94px}}
@media(min-width:1051px) and (max-width:1100px){.header-actions .outline{display:none}}

/* ---------- First fold (home hero) ---------- */
@property --hero-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
.hero{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:calc(100svh - var(--vm-header-h,88px));background:linear-gradient(180deg,#fff 0%,#f8faff 60%,#fbfcff 100%)}
.hero>.hero-grid{flex:1 0 auto;min-height:0;padding-top:36px;padding-bottom:26px}
.hero .hero-badge{margin-bottom:20px}.hero .hero-intro{margin-bottom:26px}.hero .hero-note{margin:16px 0 22px}
/* Soft, slowly drifting colour light */
.hero::before{content:"";position:absolute;inset:-25% -15% -10%;z-index:-2;pointer-events:none;
  background:radial-gradient(30% 38% at 74% 34%,rgb(99 102 241/.20),transparent 70%),radial-gradient(26% 34% at 90% 72%,rgb(56 189 248/.20),transparent 70%),radial-gradient(34% 40% at 8% 12%,rgb(22 77 198/.10),transparent 70%),radial-gradient(28% 30% at 42% 96%,rgb(167 139 250/.14),transparent 70%);
  animation:hero-aurora 22s ease-in-out infinite alternate}
/* Fine grid that brightens around the pointer */
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgb(22 77 198/.07) 1px,transparent 1px),linear-gradient(90deg,rgb(22 77 198/.07) 1px,transparent 1px);background-size:56px 56px;background-position:center -1px;
  -webkit-mask-image:radial-gradient(380px 300px at var(--mx,74%) var(--my,40%),#000,transparent 72%),radial-gradient(60% 65% at 72% 42%,rgb(0 0 0/.5) 20%,transparent 75%);
  mask-image:radial-gradient(380px 300px at var(--mx,74%) var(--my,40%),#000,transparent 72%),radial-gradient(60% 65% at 72% 42%,rgb(0 0 0/.5) 20%,transparent 75%)}
@keyframes hero-aurora{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-4%,3%,0) scale(1.06) rotate(2deg)}100%{transform:translate3d(3%,-2%,0) scale(1.02) rotate(-2deg)}}

/* Badge: gradient outline, pulsing dot and a light sweep */
.hero-badge{position:relative;overflow:hidden;border:1px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#c9d7fb,#d8cdfb,#c4e4fb) border-box;box-shadow:0 8px 24px -10px rgb(22 77 198/.25)}
.hero-badge>span{animation:hero-ping 2.4s ease-out infinite}
.hero-badge::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgb(255 255 255/.55) 50%,transparent 70%);transform:translateX(-120%);animation:hero-sweep 5.5s ease-in-out 1.6s infinite;pointer-events:none}
@keyframes hero-ping{0%{box-shadow:0 0 0 0 rgb(67 120 230/.55)}75%,100%{box-shadow:0 0 0 7px rgb(67 120 230/0)}}
@keyframes hero-sweep{0%{transform:translateX(-120%)}35%,100%{transform:translateX(120%)}}

/* Headline accent in a brand gradient */
.hero h1>span{background:linear-gradient(100deg,#164dc6 5%,#4f46e5 48%,#0ea5e9 95%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-bottom:.06em}

/* Main button: glow and a shine on hover */
.hero .button.primary{position:relative;overflow:hidden;box-shadow:0 14px 30px -12px rgb(22 77 198/.7),inset 0 1px 0 rgb(255 255 255/.18)}
.hero .button.primary::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgb(255 255 255/.35) 50%,transparent 65%);transform:translateX(-110%);transition:transform .7s ease;pointer-events:none}
.hero .button.primary:hover{transform:translateY(-2px)}
.hero .button.primary:hover::after{transform:translateX(110%)}

/* Visual: glow behind, animated gradient border, gentle 3D tilt towards the pointer */
.film-hero-visual{position:relative;perspective:1400px}
.film-hero-visual::before{content:"";position:absolute;inset:6% 2% 16%;z-index:-1;border-radius:48px;background:conic-gradient(from 200deg,#164dc6,#8b5cf6,#38bdf8,#164dc6);filter:blur(64px);opacity:.42;animation:hero-glow 9s ease-in-out infinite alternate;pointer-events:none}
@keyframes hero-glow{from{opacity:.32;transform:scale(.96)}to{opacity:.5;transform:scale(1.04)}}
.hero-film-card{border:1.5px solid transparent;background:linear-gradient(#f2f5fc,#f2f5fc) padding-box,conic-gradient(from var(--hero-angle),rgb(22 77 198/.65),rgb(139 92 246/.5),rgb(56 189 248/.65),rgb(220 229 245/.9) 62%,rgb(220 229 245/.9) 88%,rgb(22 77 198/.65)) border-box;
  box-shadow:0 0 0 7px rgb(255 255 255/.55),0 50px 90px -40px rgb(22 61 160/.45),0 18px 40px -20px rgb(22 61 160/.25);
  transform:rotateY(calc(var(--hx,0)*5deg)) rotateX(calc(var(--hy,0)*-5deg));transition:transform .6s cubic-bezier(.2,.7,.2,1);animation:hero-border 8s linear infinite}
@keyframes hero-border{to{--hero-angle:360deg}}
.hero-watch-button .play-disc{position:relative}
.hero-watch-button .play-disc::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 0 rgb(22 77 198/.45);animation:hero-ping-blue 2.2s ease-out infinite}
@keyframes hero-ping-blue{0%{box-shadow:0 0 0 0 rgb(22 77 198/.45)}80%,100%{box-shadow:0 0 0 12px rgb(22 77 198/0)}}

/* Floating "live" cards around the visual */
.hero-float{position:absolute;z-index:3;display:flex;align-items:center;gap:11px;padding:11px 16px 11px 11px;border-radius:14px;background:rgb(255 255 255/.86);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);border:1px solid rgb(255 255 255/.95);box-shadow:0 22px 44px -18px rgb(22 50 120/.4),0 0 0 1px rgb(22 77 198/.07);font-size:14px;line-height:1.35;color:var(--ink);text-align:left;white-space:nowrap;
  translate:calc(var(--hx,0)*var(--depth,14px)) calc(var(--hy,0)*var(--depth,14px));transition:translate .7s cubic-bezier(.2,.7,.2,1)}
.hero-float p{margin:0;line-height:1.35;color:inherit}
.hero-float strong{display:block;font-size:14px;font-weight:650;letter-spacing:-.01em}
.hero-float small{display:block;font-size:12.5px;color:var(--muted)}
.hero-float-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;font-size:15px;font-weight:700;background:#e9f0ff;color:var(--blue)}
.hero-float-icon.is-green{background:#e6f6ee;color:#1d8a5c}
.hero-float-icon.is-violet{background:#efeafe;color:#6d4ee6}
.hero-float-a{top:-24px;right:9%;--depth:-16px}
.hero-float-b{left:-46px;top:27%;--depth:24px}
.hero-float-c{right:-34px;bottom:30%;--depth:12px}
html.vm-motion.vm-motion-ready .hero-float{animation:hero-pop .8s cubic-bezier(.2,.9,.3,1.25) both var(--pop,1s),hero-bob 6s ease-in-out calc(var(--pop,1s) + .8s) infinite}
html.vm-motion:not(.vm-motion-ready) .hero-float{opacity:0}
.hero-float-a{--pop:1.05s}.hero-float-b{--pop:1.3s;animation-duration:.8s,7s!important}.hero-float-c{--pop:1.55s;animation-duration:.8s,6.5s!important}
@keyframes hero-pop{from{opacity:0;transform:translateY(16px) scale(.7)}to{opacity:1;transform:none}}
@keyframes hero-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

/* Bottom strip */
.hero-bottom{position:relative;border-top:0;padding:16px 20px 20px;align-items:center}
.hero-bottom::before{content:"";position:absolute;top:0;left:50%;width:min(1220px,calc(100% - 96px));height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#d3dcef 18%,#c9d4f5 50%,#d3dcef 82%,transparent)}
.hero-bottom i{width:5px;height:5px;border-radius:50%;font-size:0;background:linear-gradient(135deg,#164dc6,#8b5cf6)}

@media(max-width:1250px){.hero-float-b{left:-28px}.hero-float-c{right:-16px}}
@media(max-width:1050px){.hero-float small{display:none}.hero-float{padding:9px 13px 9px 9px}.hero-float-icon{width:28px;height:28px;font-size:13px}}
@media(max-width:850px){.hero{min-height:0}.hero-float-a{right:6%}.hero-float-b{left:-12px;top:40%}.hero-float-c{right:-10px;bottom:34%}}
@media(max-width:580px){.hero-float{font-size:12.5px;gap:8px;border-radius:12px}.hero-float strong{font-size:12.5px}.hero-float-c{display:none}.hero-float-a{top:-34px;right:2%}.hero-float-b{left:-6px;top:150px;bottom:auto}.film-hero-visual{margin-top:44px}.hero-bottom::before{width:calc(100% - 36px)}}
/* Short laptop screens (e.g. 1366×768): scale the copy so the whole first fold fits */
@media(min-width:851px) and (max-height:900px){.hero h1{font-size:clamp(44px,min(4.45vw,7.4vh),66px);margin-bottom:18px}.hero>.hero-grid{padding-top:24px;padding-bottom:14px}.hero .hero-badge{margin-bottom:16px}.hero .hero-intro{font-size:17px;line-height:1.7;margin-bottom:22px}.hero .hero-note{margin:12px 0 16px}.hero-float-a{top:-12px}}
@media(prefers-reduced-motion:reduce){.hero-film-card{transform:none}.hero-float{translate:none}}
/* Settings → Motion "Off": keep the first fold still too */
html[data-motion="off"] .hero::before,html[data-motion="off"] .hero *,html[data-motion="off"] .hero *::before,html[data-motion="off"] .hero *::after{animation:none!important}
/* ---------- Content migrated from the WordPress site ---------- */
.legacy-hero{background:#f6f8ff;padding:70px 0 54px}
.legacy-hero h1{font-size:clamp(34px,4.2vw,54px);line-height:1.12;color:var(--ink);max-width:900px;margin:0}
.legacy-hero .lead{max-width:760px;margin:18px 0 0}
.legacy-section{padding:64px 0}
.legacy-section+.legacy-section{padding-top:8px}
.legacy-section:nth-of-type(even){background:linear-gradient(#fff,#fafbff)}
.legacy-section h1,.legacy-section h2{font-size:clamp(28px,3vw,40px);line-height:1.18;color:var(--ink);margin:0 0 16px}
.legacy-section h3{font-size:22px;line-height:1.3;color:var(--ink);margin:0 0 10px}
.legacy-section h4,.legacy-section h5,.legacy-section h6{font-size:18px;color:var(--ink);margin:0 0 8px}
.legacy-section .vm-row{margin:12px 0 28px}
.legacy-section .vm-col>*+*{margin-top:18px}
.legacy-title{margin-bottom:22px}
.legacy-title .eyebrow{margin-bottom:10px}
.legacy-title .section-intro{max-width:760px;margin-top:8px}
.legacy-section .vm-text ul,.legacy-section .vm-text ol{padding-left:22px}
.legacy-section .vm-text li{padding:3px 0}
.legacy-section .vm-text a:not(.button),.legal-page a:not(.button){color:var(--blue);text-decoration:underline}
.legacy-box{height:100%;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.legacy-box .legacy-box-image{margin:0 0 16px}
.legacy-box .legacy-box-image img{max-height:72px;width:auto;border-radius:10px}
.legacy-box h3 a{color:inherit}
.legacy-number{display:inline-grid;place-items:center;min-width:48px;height:48px;padding:0 10px;border-radius:14px;background:var(--lavender);color:var(--blue);font-weight:700;font-size:20px;margin-bottom:14px}
.legacy-team .legacy-box-image img{max-height:none;width:100%;aspect-ratio:3/4;object-fit:cover}
.vm-gallery figure,.vm-gallery-item{margin:0}
.vm-gallery-item figcaption{font-size:14px;color:var(--muted);margin-top:8px;text-align:center}
.vm-gallery.legacy-logos{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.vm-gallery.legacy-logos img{aspect-ratio:3/2;object-fit:contain;background:#fff;border:1px solid var(--line);padding:12px}
.legacy-stat strong{font-size:40px}
.legacy-stories .story-card{height:100%}
.legacy-timeline{list-style:none;padding:0;margin:0;border-left:2px solid var(--line)}
.legacy-timeline li{position:relative;padding:0 0 26px 26px}
.legacy-timeline li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--blue)}
.legacy-timeline-break strong{font-size:20px;color:var(--ink)}
.legacy-inline-list{display:flex;flex-wrap:wrap;gap:6px 22px}
.table-scroll{overflow-x:auto;margin:18px 0}
.table-scroll table{border-collapse:collapse;width:100%;min-width:520px;font-size:16px}
.table-scroll th,.table-scroll td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.table-scroll th{background:var(--pale);color:var(--ink)}
.legal-page .legal-meta{font-size:15px;color:var(--muted);font-style:italic}
.legal-page h2{font-size:26px}
/* Website forms (careers, account deletion, documents…) */
.form-grid .field-full{grid-column:1/-1}
.field-help{display:block;font-size:13px;color:#8590a6;margin-top:6px}
.field input[type=file]{padding:9px;background:#fff}
.choice-group{border:0;padding:0;margin:0}
.choice-group legend{font-size:15px;color:#455672;font-weight:550;margin-bottom:8px}
.choice-group legend span{color:var(--blue)}
.choice{display:flex;gap:9px;align-items:center;font-size:15px;color:#56657e;margin:6px 0}
.choice input{accent-color:var(--blue)}
.form-privacy{font-size:13px;color:#8590a6;margin:0 0 14px}
.form-privacy a{text-decoration:underline}
.legacy-form{max-width:760px}
@media(max-width:850px){.legacy-hero{padding:48px 0 36px}.legacy-section{padding:44px 0}}
.vm-form .field label.consent{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:15px;color:#56657e;margin:0}
.vm-form .field label.consent>span{color:#56657e}
.vm-form .field .consent input,.vm-form .choice input{display:inline-block;width:18px;height:18px;min-height:0;padding:0;margin:3px 0 0;flex-shrink:0}

/* Homepage refresh: keep the product and primary action easy to scan. */
.home-refresh .hero h1 { font-size: clamp(40px, 4vw, 60px); line-height: 1.08; }
.home-refresh .hero-intro { max-width: 570px; }
.home-refresh .hero-note, .home-refresh .source-note { color: #536078; }
@media (max-width: 899.98px) {
  .home-refresh .section { padding-top: 48px; padding-bottom: 48px; }
  .home-refresh .vm-story-pin { gap: 24px; }
  .home-refresh .vm-story-chips { display: none; }
  .home-refresh .vm-story-core { display: none; }
  .home-refresh .vm-story-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-refresh .vm-story-step { padding: 16px; }
  .home-refresh .vm-story-step p { font-size: 16px; }
  .home-refresh .vm-story-step:last-child { grid-column: 1 / -1; }
  .home-refresh .solution-art { height: 120px; }
}
@media (max-width: 580px) {
  .home-refresh .hero { padding-top: 28px; }
  .home-refresh .hero h1 { font-size: 38px; letter-spacing: -1.2px; margin-top: 20px; }
  .home-refresh .hero-badge { font-size: 14px; }
  .home-refresh .hero-intro { font-size: 17px; line-height: 1.6; }
  .home-refresh .hero-grid { gap: 24px; }
  .home-refresh .hero-trust { margin-top: 16px; }
  .home-refresh .vm-story-steps { grid-template-columns: 1fr; }
  .home-refresh .vm-story-intro h2 { font-size: 32px; }
  .home-refresh .section-heading { margin-bottom: 24px; }
}

/* A shared alignment grid keeps the footer compact across every page. */
.footer-expanded { padding:40px 0 0; border-top:1px solid #e1e7f3; }
.footer-expanded .footer-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding-bottom:28px; border-bottom:1px solid #e1e7f3; margin-bottom:32px; }
.footer-expanded .footer-actions .button { gap:10px; font-size:15px; padding:13px 16px; }
.footer-expanded .footer-top { display:block; padding-bottom:32px; }
.footer-expanded .footer-brand { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:start; gap:64px; max-width:none; padding-bottom:32px; margin-bottom:32px; border-bottom:1px solid #e1e7f3; }
.footer-expanded .footer-brand .brand-logo { width:150px; }
.footer-expanded .footer-brand p { margin:16px 0; font-size:14px; line-height:1.65; max-width:560px; }
.footer-expanded .footer-brand .footer-company-details { font-size:12px; margin:12px 0 18px; }
.footer-expanded .footer-registration { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 24px; margin:0; padding:22px 24px; border:1px solid #e1e7f3; border-radius:12px; background:#f8faff; font-size:12px; line-height:1.5; }
.footer-registration dt { font-weight:600; color:#263a60; }
.footer-registration dd { margin:4px 0 0; overflow-wrap:anywhere; }
.footer-expanded .socials { display:flex; flex-wrap:wrap; gap:8px; }
.footer-expanded .socials a { width:34px; height:34px; display:grid; place-items:center; border-radius:8px; }
.footer-expanded .socials svg { width:17px; height:17px; }
.footer-expanded .footer-link-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; align-items:start; }
.footer-expanded .footer-link-stack { display:grid; gap:26px; min-width:0; }
.footer-expanded .footer-column h3 { margin:0 0 12px; font-size:15px; line-height:1.4; letter-spacing:0; }
.footer-expanded .footer-column a { margin:0; padding:5px 0; font-size:14px; line-height:1.5; color:#647087; overflow-wrap:anywhere; }
.footer-expanded .footer-column a:hover { color:var(--blue); }
.footer-expanded .footer-contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; align-items:start; padding:28px 0; }
.footer-contact-grid h3 { font-size:15px; letter-spacing:0; margin:0 0 12px; }
.footer-contact-grid a { display:flex; align-items:flex-start; gap:9px; margin:8px 0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.footer-contact-grid svg { flex-shrink:0; margin-top:3px; }
.footer-expanded .footer-bottom { gap:12px 20px; font-size:12px; line-height:1.6; align-items:center; }
.footer-expanded .footer-bottom > span { max-width:none; }
@media(max-width:1000px){
  .footer-expanded .footer-brand { gap:32px; }
  .footer-expanded .footer-link-grid { gap:24px; }
  .footer-expanded .footer-registration { padding:18px; gap:16px; }
}
@media(max-width:760px){
  .footer-expanded .footer-brand { grid-template-columns:1fr; gap:24px; }
  .footer-expanded .footer-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-expanded .footer-registration > div:first-child { grid-column:1/-1; }
  .footer-expanded .footer-link-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 24px; }
  .footer-expanded .footer-contact-grid { grid-template-columns:1fr; gap:22px; }
  .footer-expanded .footer-column a { padding:7px 0; }
  .footer-expanded .footer-bottom > span { flex-basis:100%; }
}
@media(max-width:380px){
  .footer-expanded .footer-actions .button { font-size:13px; padding:12px 8px; gap:6px; }
  .footer-expanded .footer-registration { grid-template-columns:1fr; }
}

/* Visitor chat */
.visitor-chat { position:fixed; right:24px; bottom:24px; z-index:150; font-size:16px; }
.chat-bubble.is-pending { opacity:.65; }
.chat-launcher { position:relative; }
.chat-unread { position:absolute; top:-6px; right:-4px; min-width:22px; height:22px; padding:0 6px; border-radius:11px; background:#dc2626; color:#fff; font:700 12px/22px system-ui,sans-serif; font-style:normal; text-align:center; box-shadow:0 0 0 2px #fff; animation:chat-unread-pop .35s ease; }
@keyframes chat-unread-pop { from { transform:scale(.4); } to { transform:scale(1); } }
.chat-launcher { display:flex; align-items:center; gap:10px; border:0; border-radius:999px; padding:15px 20px; background:#164dc6; color:white; box-shadow:0 8px 30px #163b7340; cursor:pointer; font:inherit; font-weight:600; }
.chat-panel { position:absolute; right:0; bottom:70px; width:370px; max-width:calc(100vw - 32px); max-height: min(640px,calc(100dvh - 120px)); display:flex; flex-direction:column; overflow:hidden; background:white; border:1px solid #dde4ef; border-radius:20px; box-shadow:0 20px 70px #18244030; color:#182440; }
.chat-panel header { display:flex; align-items:center; justify-content:space-between; background:#164dc6; color:white; padding:18px; }.chat-panel header small { display:block; margin-top:4px; font-size:13px; color:#e6edff; }.chat-panel header button { display:grid; place-items:center; background:transparent; color:white; border:0; width:40px; height:40px; cursor:pointer; }
.chat-start { display:grid; gap:14px; padding:20px; overflow:auto; }.chat-start p { margin:0; font-size:15px; line-height:1.5; }.chat-start label { font-weight:600; font-size:14px; }.chat-start input { display:block; margin-top:6px; width:100%; min-height:44px; border:1px solid #bdc9dc; border-radius:8px; padding:10px; font:inherit; font-size:16px; }.chat-start small { font-size:13px; font-weight:400; line-height:1.5; }.chat-start a { text-decoration:underline; }
.chat-primary { border:0; border-radius:9px; background:#164dc6; color:#fff; padding:12px 16px; font:inherit; cursor:pointer; }.chat-primary:disabled { opacity:.55; cursor:wait; }
.chat-messages { overflow:auto; padding:16px; min-height:140px; flex:1; }.chat-notice { padding:10px; color:#546079; font-size:14px; line-height:1.5; }.chat-bubble { background:#eef2f8; border-radius:12px; padding:10px 12px; margin:10px 24px 10px 0; overflow-wrap:anywhere; }.chat-bubble.visitor { background:#e8efff; margin:10px 0 10px 24px; }.chat-bubble p { white-space:pre-wrap; margin:5px 0; font-size:15px; line-height:1.5; }.chat-bubble small,.chat-bubble time { font-size:12px; color:#536078; }.chat-bubble time { display:block; text-align:right; }
.chat-composer { display:flex; gap:8px; padding:12px; border-top:1px solid #e1e7f3; }.chat-composer textarea { min-width:0; flex:1; resize:none; font:inherit; padding:10px; border:1px solid #bdc9dc; border-radius:8px; }.chat-error { margin:0; padding:10px 16px; background:#fff0ef; color:#a12323; font-size:14px; }
.visitor-chat :is(button,input,textarea,a):focus-visible { outline:3px solid #55a1ff; outline-offset:3px; }
@media(max-width:480px){.visitor-chat{right:16px;bottom:16px}.chat-panel{width:calc(100vw - 32px);bottom:64px;max-height:calc(100dvh - 105px)}.chat-launcher{padding:13px 16px}}

.chat-line { display:block; }.chat-line a { color:#164dc6; text-decoration:underline; }
.chat-bubble.bot { background:#f0f4ff; border:1px solid #e1e8fa; }
.chat-panel header, .chat-composer { flex-shrink:0; }
.chat-quick-actions { flex-shrink:0; display:flex; flex-wrap:wrap; gap:6px; padding:8px 16px; max-height:120px; overflow:auto; border-top:1px solid #e3e8f1; }
.chat-quick-actions button { border:1px solid #cdd9ef; background:#fff; color:#164dc6; border-radius:16px; padding:7px 10px; font-size:12px; }
.chat-quick-actions .chat-handoff { font-weight:600; background:#edf3ff; }

/* Full feature directory */
.feature-directory { background:#fff; }
.module-hero { padding:72px 0 48px; background:radial-gradient(ellipse at 90% 20%,#e6edff,transparent 55%),linear-gradient(135deg,#f8fbff,#f3f4ff); border-bottom:1px solid #e1e7f3; }
.module-hero h1 { max-width:880px; margin:0 0 24px; font-size:clamp(40px,4.7vw,66px); }
.module-hero h1 span { color:#164dc6; }
.module-intro { max-width:750px; font-size:19px; line-height:1.7; }
.module-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 40px; }
.module-stats { display:flex; gap:44px; border-top:1px solid #d9e2f3; padding-top:24px; }
.module-stats > div { display:flex; flex-direction:column; gap:5px; }
.module-stats strong { font-size:30px; color:#1c376e; font-weight:600; }
.module-stats span { font-size:13px; color:#647087; }
.module-directory-body { padding-top:40px; padding-bottom:60px; }
.module-finder { display:grid; grid-template-columns:1fr 1fr; gap:20px 36px; padding:26px; border:1px solid #e0e7f2; border-radius:16px; background:#f9fbff; }
.module-finder label { font-size:20px; font-weight:600; }
.module-finder p { font-size:14px; margin:6px 0 0; }
.module-search-field { display:flex; gap:8px; align-items:center; min-width:0; }
.module-search-field input { min-width:0; width:100%; background:#fff; border:1px solid #bac9e2; border-radius:9px; padding:14px 16px; font-size:16px; }
.module-search-field button { flex-shrink:0; background:transparent; border:0; color:#164dc6; text-decoration:underline; font-size:13px; }
.module-filters { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; }
.module-filters a { display:inline-flex; align-items:center; gap:8px; border:1px solid #d9e2f1; padding:9px 13px; border-radius:24px; background:white; font-size:13px; line-height:1.4; }
.module-filters a[aria-current=true] { background:#164dc6; border-color:#164dc6; color:#fff; }
.module-filters a span { font-size:11px; opacity:.8; }
.module-results-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; margin:22px 0 38px; scroll-margin-top:110px; }
.module-results-meta p { font-size:13px; margin:0; }
.module-section { margin:0 0 52px; scroll-margin-top:110px; }
.module-section-heading { display:flex; align-items:center; gap:16px; padding-bottom:20px; }
.module-category-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:13px; color:#164dc6; background:#edf3ff; flex-shrink:0; }
.module-category-icon svg { width:25px; height:25px; }
.module-kicker { font-size:12px; letter-spacing:1.2px; margin:0 0 6px; color:#6a7892; font-weight:600; }
.module-section-heading h2 { font-size:27px; letter-spacing:-.025em; margin:0; }
.module-count { margin-left:auto; color:#647087; font-size:12px; white-space:nowrap; }
.module-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.module-card { position:relative; display:flex; flex-direction:column; align-items:start; padding:24px; border:1px solid #e0e7f2; border-radius:14px; background:white; scroll-margin-top:110px; transition:border-color .2s,box-shadow .2s; }
.module-card:hover { border-color:#a7bce4; box-shadow:0 8px 24px #173f7a0b; }
.module-card:target { outline:2px solid #164dc6; outline-offset:4px; }
.module-card-top { min-height:24px; margin-bottom:10px; display:flex; align-items:center; }
.module-card-dot { display:block; width:22px; height:4px; background:#80a2ea; border-radius:4px; }
.module-card h3 { font-size:18px; line-height:1.4; letter-spacing:-.015em; margin:0 0 10px; }
.module-card p { font-size:14px; line-height:1.65; margin:0 0 22px; }
.module-card > a { font-size:13px; color:#164dc6; font-weight:600; margin-top:auto; display:inline-flex; gap:10px; padding:4px 0; }
.module-status { color:#875e16; background:#fff4db; border:1px solid #efdfb8; border-radius:20px; padding:4px 9px; font-size:11px; }
.module-coming-soon { background:#fffcf6; }
.module-help { display:flex; gap:36px; justify-content:space-between; align-items:center; background:#f0f5ff; border:1px solid #dce5f7; border-radius:18px; padding:36px; }
.module-help h2 { font-size:30px; margin-bottom:12px; }.module-help p { font-size:15px; margin-bottom:0; }.module-help .eyebrow { font-size:11px; margin-bottom:12px; }.module-help .button { flex-shrink:0; }
.module-empty { padding:50px 24px; background:#f8faff; border-radius:12px; text-align:center; }.module-empty h2 { font-size:24px; }.module-empty a { text-decoration:underline; }
@media(max-width:900px){.module-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-finder{grid-template-columns:1fr}.module-help{align-items:start;flex-direction:column}}
@media(max-width:580px){.module-hero{padding:44px 0 30px}.module-intro{font-size:16px}.module-stats{gap:24px}.module-stats strong{font-size:25px}.module-stats span{font-size:11px}.module-finder{padding:18px;gap:16px}.module-filters{gap:7px}.module-filters a{font-size:12px;padding:8px 10px}.module-card-grid{grid-template-columns:1fr}.module-card{padding:22px}.module-section-heading h2{font-size:22px}.module-count{display:none}.module-section{margin-bottom:38px}.module-help{padding:24px}.module-results-meta{margin-bottom:30px}.module-hero-actions .button{font-size:15px;padding:13px 16px}.module-search-field{flex-wrap:wrap}}

/* Content restored from the old site (scripts/restore-wordpress-content.mjs) */
.module-card-icon { width:40px; height:40px; object-fit:contain; }
.module-card-top { gap:10px; }
.module-card > a + a { margin-top:4px; }
.plan-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
.plan-table { width:100%; min-width:560px; border-collapse:collapse; font-size:15px; }
.plan-table th,.plan-table td { padding:11px 16px; text-align:left; border-bottom:1px solid var(--line); }
.plan-table thead th { background:#f6f8ff; color:var(--ink); }
.plan-table th:nth-child(n+3),.plan-table td:nth-child(n+3) { text-align:center; width:22%; }
.plan-table td:first-child,.plan-table th:first-child { width:56px; color:var(--muted); }
.plan-table td:nth-child(4),.plan-table th:nth-child(4) { background:#f6f8ff; }
.plan-table tbody tr:last-child td { border-bottom:0; }
.plan-yes { color:#15803d; font-weight:700; }
.plan-no { color:#b42318; }
.vm-gallery.wp-highlights { grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.vm-gallery.wp-certificates { grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr)); gap:32px; }
.vm-gallery.wp-certificates img { aspect-ratio:auto; object-fit:contain; }
.vm-gallery.wp-certificates figcaption { text-align:center; margin-top:10px; color:var(--muted); }
.wp-restored iframe:not(.vm-video) { width:100%; min-height:260px; border:0; border-radius:var(--radius); }
.vm-gallery.wp-single { grid-template-columns:1fr; }
.vm-gallery.wp-single img { aspect-ratio:auto; object-fit:contain; }
.plan-table-wrap { max-width:100%; }
.legacy-section .vm-tabs-nav { max-width:100%; }
@media(max-width:700px){ .plan-table{min-width:0;font-size:13px} .plan-table th,.plan-table td{padding:9px 8px;overflow-wrap:anywhere} .plan-table td:first-child,.plan-table th:first-child{display:none} .plan-table .button{padding:9px 10px;font-size:12px;min-height:0} }

/* Cookie notice */
.cookie-notice { position:fixed; left:16px; bottom:16px; z-index:60; display:flex; align-items:center; gap:18px; max-width:min(620px,calc(100vw - 230px)); padding:14px 18px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 14px 40px #142a5526; font-size:14px; }
.cookie-notice[hidden] { display:none; }
.cookie-notice p { margin:0; line-height:1.5; }
.cookie-notice > div { display:flex; align-items:center; gap:14px; flex:none; }
.cookie-notice .button { min-height:40px; padding:8px 16px; font-size:14px; }
@media(max-width:700px){ .cookie-notice { left:10px; right:10px; bottom:84px; max-width:none; padding:12px 14px; gap:12px; } }

/* Long links and words never push a page wider than the screen */
main :is(p,li,td,th,dd,dt,summary,figcaption,blockquote,label) { overflow-wrap:anywhere; }
main :is(h1,h2,h3,h4,h5,h6) { overflow-wrap:break-word; }
main a { overflow-wrap:anywhere; }
main .button { overflow-wrap:normal; }
main pre { max-width:100%; overflow-x:auto; }
.vm-col { min-width:0; }
@media(min-width:701px) and (max-width:1100px){ .legacy-section .vm-row .vm-row .legacy-box { padding:16px 12px; } .legacy-section .vm-row .vm-row .legacy-box h3 { font-size:15px; } }
