/* ==========================================================================
   Homepage v3: 3D hero (canvas from home-hero3d.js), feature cards, logo strip,
   promises, reviews. Section styles for services/steps/CTA come from services-premium.css,
   industries from industries.css.
   ========================================================================== */
.hm-hero { --hm-ease: cubic-bezier(.16, 1, .3, 1); position: relative; min-height: 100vh; padding: calc(var(--nav-height, 76px) + clamp(3rem, 7vh, 5rem)) 0 clamp(3rem, 6vh, 4.5rem);
    display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; color: #fff; background: #05030F; }
.hm-hero-bg { position: absolute; inset: 0; z-index: -3; pointer-events: none;
    background: radial-gradient(50% 55% at 72% 42%, rgba(124, 58, 237, .45), transparent 70%), radial-gradient(40% 45% at 85% 70%, rgba(219, 39, 119, .3), transparent 70%),
                radial-gradient(45% 50% at 0% 0%, rgba(45, 91, 255, .22), transparent 70%), #05030F; }
.hm-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000, transparent 75%); }
.hm-3d { position: absolute; left: 0; right: 0; top: 0; height: min(100vh, 980px); z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hm-3d.is-ready { opacity: 1; }
.hm-3d canvas { display: block; width: 100% !important; height: 100% !important; }
/* covers the whole hero (top-anchored), fading in over the bottom 30%: when the hero grows as fonts load, nothing moves (no layout shift) */
.hm-hero-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 70%, #05030F 97.6%); }
.hm-hero-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: 52vh; }
.hm-copy { position: relative; z-index: 2; max-width: 640px; }
.hm-title, .hm-lead { text-shadow: 0 2px 30px rgba(5, 3, 15, .6); }
.hm-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #E9D5FF; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.hm-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: hmPing 1.8s infinite; }
@keyframes hmPing { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hm-title { margin: 1.3rem 0 1.4rem; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; color: #fff; }
.hm-title > span { display: block; }
.hm-rotate { position: relative; display: grid !important; height: 1.1em; overflow: hidden; }
.hm-word { grid-area: 1 / 1; background: linear-gradient(110deg, #C4B5FD, #F472B6 50%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translateY(100%) rotateX(-60deg); transform-origin: 50% 0; transition: opacity .6s var(--hm-ease), transform .8s var(--hm-ease); }
.hm-word.is-on { opacity: 1; transform: none; }
.hm-word.is-out { opacity: 0; transform: translateY(-100%) rotateX(60deg); }
.hm-title-end { color: rgba(255, 255, 255, .92); }
.hm-lead { margin: 0 0 2.2rem; max-width: 560px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: rgba(226, 232, 255, .76); }
.hm-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hm-btn { display: inline-flex; align-items: center; gap: .7rem; padding: 1rem 1.6rem; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform .4s var(--hm-ease), box-shadow .4s, background .3s; }
.hm-btn-main { position: relative; overflow: hidden; padding-right: .5rem; color: #0B1023; background: #fff; box-shadow: 0 20px 50px -18px rgba(167, 139, 250, .7); }
.hm-btn-main:hover { color: #0B1023; box-shadow: 0 26px 60px -16px rgba(244, 114, 182, .75); }
.hm-btn-main::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(167, 139, 250, .35) 50%, transparent 70%); transform: translateX(-100%); animation: hmShine 3.8s 2s ease-in-out infinite; }
@keyframes hmShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hm-btn-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); transition: transform .4s var(--hm-ease); }
.hm-btn-main:hover .hm-btn-ic { transform: rotate(-45deg); }
.hm-btn-ghost { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); }
.hm-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.hm-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.9rem 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; color: rgba(226, 232, 255, .75); }
.hm-trust i { margin-right: .45rem; color: #4ADE80; }

/* chips around the orb */
.hm-orbit { position: relative; height: 100%; min-height: 420px; pointer-events: none; }
.hm-chip { position: absolute; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem .6rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; pointer-events: auto;
    background: rgba(17, 12, 46, .72); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
    translate: var(--px, 0) var(--py, 0); transition: translate .5s var(--hm-ease), background .3s, border-color .3s; animation: hmBob 6s ease-in-out infinite; }
.hm-chip:hover { color: #fff; background: rgba(46, 16, 101, .9); border-color: rgba(196, 181, 253, .5); }
.hm-chip i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: .75rem; background: linear-gradient(135deg, #7C3AED, #DB2777); }
.hm-chip-1 { left: 8%; top: 10%; }
.hm-chip-2 { right: 0; top: 30%; animation-delay: -1.5s; }
.hm-chip-3 { left: 0; bottom: 18%; animation-delay: -3s; }
.hm-chip-4 { right: 8%; bottom: 4%; animation-delay: -4.5s; }
@keyframes hmBob { 50% { transform: translateY(-10px); } }

/* three feature cards */
.hm-feats { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 6vh, 4rem); }
.hm-feat { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.4rem 1.5rem; border-radius: 22px; overflow: hidden; isolation: isolate;
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); transition: transform .5s var(--hm-ease), border-color .4s; }
.hm-feat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 139, 250, .25), transparent 60%); opacity: 0; transition: opacity .4s; }
.hm-feat:hover { transform: translateY(-4px); border-color: rgba(196, 181, 253, .35); }
.hm-feat:hover::before { opacity: 1; }
.hm-feat-n { position: absolute; right: 1.1rem; top: .9rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: rgba(196, 181, 253, .6); }
.hm-feat-ic { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); box-shadow: 0 14px 30px -12px rgba(219, 39, 119, .7); }
.hm-feat h3 { margin: .15rem 0 .35rem; padding-right: 1.3rem; font-size: 1.08rem; color: #fff; }  /* clear of the 01–06 number in the corner */
.hm-feat p { margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(226, 232, 255, .68); }
.hm-cue { position: absolute; left: 50%; bottom: 1.1rem; width: 24px; height: 38px; margin-left: -12px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .35); }
.hm-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 4px; background: #fff; animation: hmCue 1.8s ease-in-out infinite; }
@keyframes hmCue { 60% { transform: translateY(11px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* logo strip */
.hm-strip { padding: 2.4rem 0; overflow: hidden; background: #fff; border-bottom: 1px solid rgba(15, 23, 42, .06); }
.hm-strip-title { margin: 0 0 1.2rem; text-align: center; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #64748B; }
.hm-strip-row { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-strip-track { display: flex; flex-shrink: 0; align-items: center; gap: 2.8rem; padding: 0 1.4rem; animation: hmMarquee var(--hm-dur, 40s) linear infinite; }
.hm-strip-row:not(.is-playing) .hm-strip-track { animation-play-state: paused; }
.hm-strip-row:hover .hm-strip-track { animation-play-state: paused; }
@keyframes hmMarquee { to { transform: translateX(-100%); } }
/* full brand colour; a darker shade on hover */
.hm-tech { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #334155; white-space: nowrap; transition: color .3s, transform .3s; }
.hm-tech img { transition: filter .3s; }
.hm-tech:hover { color: #0F172A; transform: translateY(-1px); }
.hm-tech:hover img { filter: brightness(.6) saturate(1.2); }
.hm-logo img { display: block; height: 34px; width: auto; transition: filter .3s; }
.hm-logo:hover img { filter: brightness(.6) saturate(1.2); }

/* promises: ring gauges */
.hm-promises { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.hm-grad-light { background: linear-gradient(120deg, #C4B5FD, #F9A8D4 55%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-pr-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hm-pr-head .sv-sub { margin-bottom: 2rem; }
.hm-pr-btn { display: inline-flex; }
.hm-rings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hm-ring { --c1: #A78BFA; --c2: #F472B6; position: relative; display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem; border-radius: 26px; overflow: hidden; isolation: isolate;
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--hm-ease, ease), border-color .4s; }
.hm-ring::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c1) 30%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.hm-ring:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 45%, transparent); }
.hm-ring:hover::before { opacity: 1; }
.hm-tone-1 { --c1: #60A5FA; --c2: #22D3EE; }
.hm-tone-2 { --c1: #F472B6; --c2: #FB923C; }
.hm-tone-3 { --c1: #4ADE80; --c2: #A3E635; }
.hm-ring-dial { position: relative; flex-shrink: 0; width: 132px; height: 132px; }
.hm-ring-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.hm-ring-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 8; }
.hm-ring-ticks { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-dasharray: 1 6.9; }
.hm-ring-bar { fill: none; stroke: var(--c1); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73;
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c1) 70%, transparent)); transition: stroke-dashoffset 1.8s cubic-bezier(.16, 1, .3, 1) .2s; }
.hm-ring.is-in .hm-ring-bar { stroke-dashoffset: var(--dash, 0); }
.hm-ring-val { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 44px; gap: .15rem; }
.hm-ring-val b { font-family: var(--font-heading); font-size: 2.3rem; line-height: 1; letter-spacing: -.04em; color: #fff; }
.hm-ring-val small { font-size: .85rem; font-weight: 800; color: var(--c2); }
.hm-ring-ic { position: absolute; left: 50%; top: -6px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; font-size: .8rem; color: #0B1023;
    background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 0 5px #0C0820, 0 10px 24px -8px var(--c1); }
.hm-ring-text h3 { margin: 0 0 .4rem; font-size: 1.12rem; color: #fff; }
.hm-ring-text p { margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(226, 232, 255, .65); }

.hm-center { margin-top: 2.6rem; text-align: center; }

/* reviews */
.hm-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.hm-quote { display: flex; flex-direction: column; margin: 0; padding: 1.7rem; border-radius: 24px; background: #fff; border: 1px solid rgba(15, 23, 42, .07); }
.hm-stars { color: #FFB400; font-size: .85rem; letter-spacing: .1em; }
.hm-stars .is-off { color: #E2E2EE; }
.hm-quote blockquote { flex: 1; margin: 1rem 0 1.3rem; font-size: 1.04rem; font-weight: 600; line-height: 1.55; color: #0B1023; }
.hm-quote figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(15, 23, 42, .06); }
.hm-quote figcaption img, .hm-quote figcaption > span { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); }
.hm-quote strong { display: block; font-size: .92rem; color: #0B1023; }
.hm-quote small { display: block; font-size: .8rem; color: #64748B; }

/* ---- responsive ---- */
@media (max-width: 1080px) {
    .hm-pr-wrap { grid-template-columns: 1fr; }
    .hm-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hm-hero { min-height: 0; justify-content: flex-start; }
    .hm-hero-wrap { grid-template-columns: 1fr; min-height: 0; }
    .hm-orbit { display: none; }
    .hm-3d.is-ready { opacity: .38; }
    .hm-feats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hm-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
    .hm-actions { flex-direction: column; }
    .hm-btn { justify-content: center; }
    .hm-btn-main { justify-content: space-between; padding-left: 1.4rem; }
    .hm-feat { padding: 1.1rem; }
    .hm-rings, .hm-quotes { grid-template-columns: 1fr; }
    .hm-ring-dial { width: 112px; height: 112px; }
    .hm-ring-val { padding-top: 36px; }
    .hm-ring-val b { font-size: 1.9rem; }
    .hm-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-live, .hm-btn-main::before, .hm-chip, .hm-cue span, .hm-strip-track { animation: none !important; }
    .hm-word { transition: none; }
    .hm-ring-bar { transition: none; stroke-dashoffset: var(--dash, 0); }
}

/* Hero feature cards that link to a service area */
.hm-feat-link { color: inherit; text-decoration: none !important; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.hm-feat-link:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .45); }
.hm-feat-link h3::after { content: ' →'; opacity: 0; transition: opacity .25s; }
.hm-feat-link:hover h3::after { opacity: .8; }
.hm-hero > .hm-feats-wrap { width: 100%; }
/* 3, 5 or 6 hero cards sit in rows of three (4 stay in one row); tablets two per row */
.hm-feats:has(> :nth-child(3):last-child), .hm-feats:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hm-feats, .hm-feats:has(> :nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hm-feats, .hm-feats:has(> :nth-child(5)) { grid-template-columns: 1fr; gap: .7rem; } .hm-feat p { font-size: .86rem; } }

/* ---------- Hire developers & managed services ---------- */
.hm-mg { position: relative; overflow: hidden; background: linear-gradient(180deg, #F7F6FC 0%, #fff 100%); }
.hm-mg-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: linear-gradient(rgba(123, 60, 245, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 60, 245, .07) 1px, transparent 1px);
    background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.hm-mg-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-self: flex-end; }
.hm-mg-badges li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; background: #fff; border: 1px solid #ECE9F8;
    font-size: .82rem; font-weight: 700; color: #3B2A7A; box-shadow: 0 10px 22px -18px rgba(76, 29, 149, .6); }
.hm-mg-badges i { color: #7C3AED; }
.hm-mg-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }

/* panels: gradient edge, cursor spotlight */
.hm-mg-panel { position: relative; display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: 30px; overflow: hidden; isolation: isolate;
    background: #fff; border: 1px solid #ECE9F8; box-shadow: 0 40px 80px -55px rgba(43, 28, 120, .6); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.hm-mg-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: linear-gradient(135deg, rgba(76, 198, 255, .7), rgba(123, 60, 245, .5) 40%, rgba(255, 61, 154, .6) 80%, rgba(255, 154, 46, .6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; transition: opacity .4s; }
.hm-mg-panel:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -50px rgba(76, 29, 149, .7); }
.hm-mg-panel:hover::before { opacity: 1; }
.hm-mg-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(123, 60, 245, .12), transparent 60%); }
.hm-mg-panel:hover .hm-mg-glow { opacity: 1; }
.hm-mg-run { background: #0B0A1F; border-color: rgba(255, 255, 255, .08); color: #E9E7FF; }
.hm-mg-run::after { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: radial-gradient(60% 60% at 100% 0%, rgba(123, 60, 245, .38), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(255, 61, 154, .22), transparent 70%); }
.hm-mg-run .hm-mg-glow { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(196, 181, 253, .16), transparent 60%); }

.hm-mg-top { display: flex; gap: 1rem; align-items: flex-start; }
.hm-mg-ic { position: relative; flex: none; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; font-size: 1.3rem;
    background: linear-gradient(135deg, #2D5BFF, #7B3CF5 60%, #FF3D9A); box-shadow: 0 16px 30px -12px rgba(123, 60, 245, .85); }
.hm-mg-ic::after { content: ''; position: absolute; inset: -6px; border-radius: 22px; border: 1.5px solid rgba(123, 60, 245, .35); animation: mgPulse 2.8s ease-out infinite; }
@keyframes mgPulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.hm-mg-tag { display: inline-block; margin-bottom: .25rem; padding: .18rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #6D28D9; background: #F3EEFF; }
.hm-mg-run .hm-mg-tag { color: #F0ABFC; background: rgba(240, 171, 252, .12); }
.hm-mg-top h3 { margin: 0 0 .3rem; font-size: 1.55rem; letter-spacing: -.02em; color: #0B1023; }
.hm-mg-run .hm-mg-top h3 { color: #fff; }
.hm-mg-top p { margin: 0; font-size: .95rem; line-height: 1.55; color: #64748B; }
.hm-mg-run .hm-mg-top p { color: rgba(226, 232, 255, .72); }

/* service rows */
.hm-mg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.hm-mg-list li { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, 1, .3, 1); transition-delay: calc(var(--i, 0) * 70ms + .15s); }
.is-in .hm-mg-list li, .hm-mg-panel.is-in .hm-mg-list li { opacity: 1; transform: none; }
.hm-mg-list a { position: relative; display: flex; align-items: center; gap: .85rem; padding: .8rem .95rem; border-radius: 16px; text-decoration: none !important; color: inherit; overflow: hidden;
    background: #F7F6FC; border: 1px solid transparent; transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .25s, background .25s, box-shadow .3s; }
.hm-mg-run .hm-mg-list a { background: rgba(255, 255, 255, .05); }
.hm-mg-list a:hover { transform: translateX(5px); border-color: #C4B5FD; background: #fff; box-shadow: 0 14px 26px -20px rgba(76, 29, 149, .7); }
.hm-mg-run .hm-mg-list a:hover { border-color: rgba(196, 181, 253, .45); background: rgba(255, 255, 255, .09); box-shadow: none; }
.hm-mg-list a > i { flex: none; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; font-size: .92rem; color: #6D28D9; background: #EDE9FE; transition: transform .3s, background .3s, color .3s; }
.hm-mg-list a:hover > i { transform: rotate(-8deg) scale(1.08); color: #fff; background: linear-gradient(135deg, #7B3CF5, #FF3D9A); }
.hm-mg-run .hm-mg-list a > i { color: #F0ABFC; background: rgba(240, 171, 252, .12); }
.hm-mg-list span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.hm-mg-list strong { font-size: .96rem; color: #0B1023; } .hm-mg-run .hm-mg-list strong { color: #fff; }
.hm-mg-list small { font-size: .8rem; color: #64748B; } .hm-mg-run .hm-mg-list small { color: rgba(226, 232, 255, .6); }
.hm-mg-list em { font-size: .8rem; color: #A78BFA; transition: transform .25s; } .hm-mg-list a:hover em { transform: translateX(3px); }

/* blocks: hiring steps, skills, support flow */
.hm-mg-label { margin: 0 0 .6rem; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8B5CF6; }
.hm-mg-run .hm-mg-label { color: #C4B5FD; }
.hm-mg-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.hm-mg-steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 16px; height: 2px; border-radius: 2px; background: #ECE9F8; }
.hm-mg-steps::after { content: ''; position: absolute; left: 12%; top: 16px; height: 2px; width: 76%; border-radius: 2px; transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, #2D5BFF, #7B3CF5, #FF3D9A); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .4s; }
.is-in .hm-mg-steps::after { transform: scaleX(1); }
.hm-mg-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; font-size: .78rem; font-weight: 600; line-height: 1.3; color: #334155; }
.hm-mg-steps b { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: .85rem; color: #fff;
    background: linear-gradient(135deg, #2D5BFF, #7B3CF5); box-shadow: 0 0 0 5px #fff, 0 10px 20px -8px rgba(123, 60, 245, .7); transform: scale(.6); opacity: 0;
    transition: transform .5s cubic-bezier(.2, 1.5, .3, 1), opacity .4s; transition-delay: calc(var(--i) * .3s + .4s); }
.is-in .hm-mg-steps b { transform: none; opacity: 1; }
.hm-mg-skills { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-mg-skills-track { display: flex; gap: .45rem; width: max-content; animation: mgMarquee 38s linear infinite; }
.hm-mg-skills:hover .hm-mg-skills-track { animation-play-state: paused; }
.hm-mg-skills span { flex: none; padding: .42rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #3B2A7A; background: #fff; border: 1px solid #E9E2FF; }
@keyframes mgMarquee { to { transform: translateX(-50%); } }
.hm-mg-flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.hm-mg-flow::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(240, 171, 252, .35), transparent); }
.hm-mg-flow::after { content: ''; position: absolute; top: calc(50% - 4px); left: 10%; width: 8px; height: 8px; border-radius: 50%; background: #F9A8D4; box-shadow: 0 0 14px 4px rgba(249, 168, 212, .7);
    animation: mgTravel 4s ease-in-out infinite; }
@keyframes mgTravel { 0% { left: 10%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.hm-mg-flow li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .75rem .4rem; border-radius: 14px; text-align: center;
    background: #120F2B; border: 1px solid rgba(255, 255, 255, .12); font-size: .74rem; font-weight: 600; line-height: 1.3; color: rgba(226, 232, 255, .88); transition: transform .3s, border-color .3s; }
.hm-mg-flow li:hover { transform: translateY(-3px); border-color: rgba(249, 168, 212, .5); }
.hm-mg-flow i { color: #F9A8D4; font-size: 1rem; }
.hm-mg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: auto; padding-top: .3rem; }
.hm-mg-run .sv-link { color: #C4B5FD; }
.hm-btn-light { background: #fff; color: #0B1023 !important; }
@media (max-width: 1100px) { .hm-mg-badges { align-self: flex-start; } }
@media (max-width: 900px) { .hm-mg-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hm-mg-flow, .hm-mg-steps { grid-template-columns: 1fr 1fr; row-gap: .9rem; } .hm-mg-steps::before, .hm-mg-steps::after, .hm-mg-flow::before, .hm-mg-flow::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .hm-mg-list li, .hm-mg-steps b { opacity: 1; transform: none; transition: none; } .hm-mg-skills-track, .hm-mg-flow::after, .hm-mg-ic::after { animation: none; } .hm-mg-steps::after { transform: scaleX(1); } }
.hm-mg-hire .hm-btn-main { color: #fff !important; background: linear-gradient(135deg, #2D5BFF, #7B3CF5 60%, #DB2777); box-shadow: 0 18px 36px -16px rgba(123, 60, 245, .8); }
.hm-mg-hire .hm-btn-main .hm-btn-ic { background: rgba(255, 255, 255, .2); color: #fff; }

.hm-mg-modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.hm-mg-modes li { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: 14px; background: linear-gradient(135deg, #F7F6FC, #fff); border: 1px solid #ECE9F8; transition: transform .3s, border-color .3s; }
.hm-mg-modes li:hover { transform: translateY(-3px); border-color: #C4B5FD; }
.hm-mg-modes i { flex: none; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 10px; color: #7C3AED; background: #EDE9FE; font-size: .85rem; }
.hm-mg-modes span { display: flex; flex-direction: column; line-height: 1.2; }
.hm-mg-modes strong { font-size: .86rem; color: #0B1023; } .hm-mg-modes small { font-size: .72rem; color: #64748B; }
@media (max-width: 560px) { .hm-mg-modes { grid-template-columns: 1fr; } }
/* Phones: the panel button and the text link below it get proper breathing room */
@media (max-width: 560px) { .hm-mg-foot { flex-direction: column; align-items: flex-start; row-gap: 1.6rem; padding-top: .8rem; } .hm-mg-foot .sv-link { margin-left: .1rem; } }
.hm-strip-row + .hm-strip-row { margin-top: 1.4rem; }
.hm-strip-row.is-rev .hm-strip-track { animation-direction: reverse; }
.tl-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-style: normal; font-size: .72rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); }
@media (prefers-reduced-motion: reduce) { .hm-strip-track { animation: none !important; } .hm-strip-row { flex-wrap: nowrap; justify-content: center; } }

/* Trust bar under the hero */
.hm-tbar { background: #05030F; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.hm-tbar-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.4rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.hm-tbar-item { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 500; color: rgba(236,233,255,.82); text-decoration: none; white-space: nowrap; font-size: .86rem; }
a.hm-tbar-item:hover { color: #fff; }
.hm-tbar-item i { color: #A78BFA; font-size: .9rem; }
@media (max-width: 640px) { .hm-tbar-row { gap: .55rem 1.2rem; } .hm-tbar-item { font-size: .82rem; white-space: normal; } }

/* =====================================================================
   Homepage "Free tool" band (light): what the Website Grader does, a real photo with the six areas being checked
   ===================================================================== */
.hm-gr { background: linear-gradient(180deg, #F7F5FF 0%, #FFFFFF 100%); border-top: 1px solid rgba(15, 23, 42, .05); border-bottom: 1px solid rgba(15, 23, 42, .05); }
.hm-gr .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-gr-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hm-gr-feats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hm-gr-feats li { display: flex; gap: .7rem; font-size: .86rem; line-height: 1.4; color: #5B6478; }
.hm-gr-feats li > span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; font-size: .9rem;
    background: linear-gradient(135deg, #2D5BFF, #7B3CF5); box-shadow: 0 10px 20px -12px rgba(123, 60, 245, .8); }
.hm-gr-feats li:nth-child(2) > span { background: linear-gradient(135deg, #7B3CF5, #FF3D9A); }
.hm-gr-feats li:nth-child(3) > span { background: linear-gradient(135deg, #FF9A2E, #FF3D9A); }
.hm-gr-feats li:nth-child(4) > span { background: linear-gradient(135deg, #10B981, #4CC6FF); }
.hm-gr-feats b { display: block; margin-bottom: .1rem; font-size: .95rem; color: #0B1022; }
.hm-gr-form { position: relative; display: flex; align-items: center; gap: .5rem; max-width: 560px; margin-top: 1.8rem; padding: .4rem; border-radius: 999px;
    background: #fff; border: 1.5px solid rgba(123, 60, 245, .22); box-shadow: 0 20px 40px -26px rgba(45, 91, 255, .55); transition: border-color .3s, box-shadow .3s; }
.hm-gr-form:focus-within { border-color: #7B3CF5; box-shadow: 0 20px 40px -22px rgba(123, 60, 245, .6); }
.hm-gr-field { flex: 1; display: flex; align-items: center; gap: .55rem; min-width: 0; padding-left: 1rem; color: #98A2B3; }
.hm-gr-field > i { color: #2D5BFF; }
.hm-gr-proto { margin-right: -.55rem; font-weight: 600; }
.hm-gr-field input { flex: 1; min-width: 0; padding: .8rem 0; border: 0; outline: 0; background: transparent; font: 600 1rem/1.2 var(--font-sans); color: #0B1022; }
.hm-gr-field input::placeholder { color: #98A2B3; font-weight: 500; }
.hm-gr-go { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
    font: 700 .95rem/1 var(--font-sans); color: #fff; background: linear-gradient(110deg, #2D5BFF, #7B3CF5 55%, #FF3D9A); box-shadow: 0 12px 26px -12px rgba(123, 60, 245, .9);
    transition: transform .25s ease, box-shadow .25s; }
.hm-gr-go:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(123, 60, 245, 1); }
.hm-gr-go i { transition: transform .3s; }
.hm-gr-go:hover i { transform: translateX(3px); }

.hm-gr-visual { position: relative; padding: 1.4rem 0 2rem 1.4rem; }
.hm-gr-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: #EEF0F6; box-shadow: 0 40px 80px -45px rgba(45, 40, 120, .55); }
.hm-gr-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.hm-gr.is-play .hm-gr-photo img { transform: scale(1); }
.hm-gr-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(45, 91, 255, .12)); }
.hm-gr-scan { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 90px; opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(76, 198, 255, .14) 70%, rgba(123, 60, 245, .4) 98%, transparent); border-bottom: 2px solid rgba(255, 255, 255, .8); }
.hm-gr.is-play .hm-gr-scan { animation: hmGrScan 4.5s ease-in-out 1 .4s; }
@keyframes hmGrScan { 0% { opacity: 0; transform: translateY(-90px); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(420px); } }
.hm-gr-checks { position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; gap: .35rem; width: min(250px, 60%); margin: 0; padding: .9rem; list-style: none;
    border-radius: 18px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 24px 46px -24px rgba(30, 30, 80, .5); backdrop-filter: blur(8px); }
.hm-gr-checks li { display: flex; align-items: center; gap: .55rem; padding: .3rem .25rem; font-size: .84rem; font-weight: 600; color: #344054; }
.hm-gr-checks li > i { width: 16px; color: #7B3CF5; text-align: center; font-size: .8rem; }
.hm-gr-checks em { margin-left: auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .6rem; color: #fff; background: #10B981;
    transform: scale(0); }
.hm-gr.is-play .hm-gr-checks em { animation: hmGrTick .45s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: calc(.8s + var(--i) * .45s); }
@keyframes hmGrTick { to { transform: scale(1); } }
.hm-gr-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
    color: #0B1022; background: #fff; box-shadow: 0 16px 30px -16px rgba(30, 30, 80, .45); animation: hmGrBob 6s ease-in-out infinite; }
.hm-gr-tag-a { top: 0; right: 1.2rem; } .hm-gr-tag-a i { color: #F59E0B; }
.hm-gr-tag-b { right: -.4rem; bottom: 3.2rem; animation-delay: -3s; } .hm-gr-tag-b i { color: #FF3D9A; }
@keyframes hmGrBob { 50% { transform: translateY(-7px); } }
@media (max-width: 900px) { .hm-gr-wrap { grid-template-columns: minmax(0, 1fr); } .hm-gr-visual { max-width: 560px; } }
@media (max-width: 560px) {
    .hm-gr-feats { grid-template-columns: minmax(0, 1fr); }
    .hm-gr-form { flex-direction: column; align-items: stretch; border-radius: 22px; padding: .5rem; }
    .hm-gr-field { padding: .15rem .5rem; }
    .hm-gr-go { justify-content: center; }
    .hm-gr-visual { padding-left: 0; }
    .hm-gr-checks { position: relative; width: auto; margin: -2.5rem .8rem 0; }
    .hm-gr-tag-b { bottom: auto; top: 0; right: auto; left: .4rem; }
}
@media (prefers-reduced-motion: reduce) { .hm-gr *, .hm-gr *::before { animation: none !important; } .hm-gr-checks em { transform: none; } }
@media (max-width: 380px) { .hm-gr-tag-b { display: none; } }
