/* ==========================================================================
   Digigosticx – Home page
   Uses the colour variables from header.css, so light and dark themes work here too.
   All classes start with hp- (home page).
   ========================================================================== */

/* home-only theme values (light by default, dark only from the theme button) */
:root { --hp-photo-bg: linear-gradient(135deg, #E6EEFF, #F1EAFF); --hp-band: #16132E; --hp-band-line: transparent; }
:root[data-theme="dark"] { --hp-photo-bg: linear-gradient(135deg, #1D1938, #2A2253); --hp-band: #0B0919; --hp-band-line: #3A3460; }
body { margin: 0; background: var(--dgx-surface); color: var(--dgx-ink); font-family: var(--dgx-font); font-size: 16px; line-height: 1.55; transition: background .2s, color .2s; }
main *, .hp-foot *, main *::before, main *::after { box-sizing: border-box; }
main img, .hp-foot img { max-width: 100%; }
main a, .hp-foot a { color: inherit; }
main ul, .hp-foot ul { list-style: none; margin: 0; padding: 0; }
main :focus-visible, .hp-foot :focus-visible { outline: 2px solid var(--dgx-violet); outline-offset: 3px; border-radius: 8px; }
.hp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hp-sec { padding: 96px 0; }
.hp-alt { background: var(--dgx-ground); }

/* ---------- type ---------- */
.hp-h1 { margin: 0; font: 800 clamp(40px, 5.4vw, 70px)/1.03 var(--dgx-display); letter-spacing: -1.6px; }
.hp-grad { background: var(--dgx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-h2 { margin: 0; font: 800 clamp(30px, 3.4vw, 44px)/1.1 var(--dgx-display); letter-spacing: -.8px; }
.hp-h3 { margin: 0; font: 700 22px/1.25 var(--dgx-display); }
.hp-h4 { margin: 0; font: 700 18px/1.3 var(--dgx-display); }
.hp-h3 a, .hp-h4 a { text-decoration: none; }
.hp-h3 a:hover, .hp-h4 a:hover { color: var(--dgx-violet-ink); }
.hp-p { margin: 0; color: var(--dgx-ink-2); font-size: 15px; }
.hp-lead { margin: 0; font-size: 19px; color: var(--dgx-ink-2); max-width: 600px; }
.hp-sub { margin: 12px 0 0; font-size: 17.5px; color: var(--dgx-ink-2); max-width: 680px; }
.hp-sub--light { color: #D9D4EA; }
.hp-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dgx-violet-ink); }
.hp-eyebrow--light { color: #C9B8FF; }
.hp-more { font-weight: 700; color: var(--dgx-violet-ink); text-decoration: none; white-space: nowrap; }
.hp-more:hover { text-decoration: underline; }
.hp-note { margin: 20px 0 0; font-size: 14px; color: var(--dgx-muted); }
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.hp-head__side { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.hp-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hp-row--top { margin-top: 28px; }

/* ---------- buttons (extend the header buttons) ---------- */
main .dgx-btn, .hp-foot .dgx-btn { text-decoration: none; }
.hp-btn-lg { height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
.hp-btn-md { height: 50px; }
main .dgx-btn--primary, .hp-foot .dgx-btn--primary { background: var(--dgx-grad); color: #fff; box-shadow: 0 10px 24px rgba(122, 47, 208, .28); }
main .dgx-btn--primary:hover, .hp-foot .dgx-btn--primary:hover { transform: translateY(-1px); }
main .dgx-btn--ghost { background: var(--dgx-surface-2); border: 1.5px solid var(--dgx-line-strong); color: var(--dgx-ink); }
main .dgx-btn--ghost:hover { border-color: var(--dgx-violet); }
main .dgx-btn--dark { background: var(--dgx-solid); color: var(--dgx-on-solid); }
.hp-btn-white { background: #fff; color: #16132E; }
.hp-btn-outline { border: 1.5px solid #4A4377; color: #fff; background: transparent; }
.hp-btn-outline:hover { border-color: #fff; }

/* ---------- cards, grids, photos ---------- */
.hp-g2, .hp-g3 { display: grid; gap: 20px; }
.hp-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hp-card { background: var(--dgx-surface); border: 1px solid var(--dgx-line); border-radius: 22px; padding: 26px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.hp-card:hover, .hp-card:hover { border-color: var(--dgx-line-strong); box-shadow: 0 16px 36px rgba(22, 19, 46, .08); }
.hp-photo { display: block; position: relative; overflow: hidden; background: var(--hp-photo-bg); }
/* color: transparent hides the alt text if a photo ever fails to load (screen readers still read it) */
.hp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; transition: transform .5s var(--dgx-ease); }
.hp-card:hover .hp-photo img { transform: scale(1.04); }

/* ---------- carousel ---------- */
.hp-carousel { position: relative; }
.hp-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px -8px;
}
.hp-track::-webkit-scrollbar { display: none; }
.hp-carousel[data-per="4"] .hp-track { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
.hp-slide { scroll-snap-align: start; display: flex; }
.hp-slide > * { flex: 1; }
.hp-carousel__nav { display: flex; gap: 8px; }
.hp-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--dgx-line-strong); background: var(--dgx-surface-2); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, opacity .15s; }
.hp-arrow:hover { border-color: var(--dgx-violet); }
.hp-arrow[disabled] { opacity: .35; cursor: default; }
.hp-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.hp-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--dgx-line-strong); transition: width .25s, background .25s; }
.hp-dots span.is-active { width: 26px; background: var(--dgx-violet); }

/* ---------- hero ---------- */
.hp-hero { padding: 72px 0 88px; overflow: hidden; }
.hp-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hp-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hp-pill { margin: 0; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--dgx-tint); color: var(--dgx-violet-ink); font-weight: 700; font-size: 13.5px; }
.hp-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--dgx-ink-2); font-size: 14.5px; margin-top: 4px; }
.hp-checks li::before, .hp-ticks li::before { content: "✓"; color: var(--dgx-violet); font-weight: 800; margin-right: 8px; }
.hp-hero__media { position: relative; padding: 0 0 70px 40px; }
.hp-hero__photo { border-radius: 28px; box-shadow: 0 30px 60px rgba(22, 19, 46, .18); }
.hp-hero__media::before { content: ""; position: absolute; right: -60px; top: -50px; width: 260px; height: 260px; border-radius: 50%; background: var(--dgx-grad); opacity: .18; filter: blur(30px); z-index: -1; }
.hp-audit { margin: 0; position: absolute; left: 0; bottom: 0; width: min(340px, 80%); background: var(--dgx-surface); border: 1px solid var(--dgx-line); border-radius: 22px; padding: 18px; box-shadow: 0 24px 48px rgba(22, 19, 46, .18); display: flex; flex-direction: column; gap: 8px; }
.hp-audit__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.hp-audit__title { font: 700 16px var(--dgx-display); }
.hp-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--dgx-tint); color: var(--dgx-violet-ink); }
.hp-check { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; background: var(--dgx-ground); font-weight: 600; font-size: 13.5px; }
.hp-check > span:nth-child(2) { flex: 1; }
.hp-check .dgx-tile--md { width: 32px; height: 32px; flex-basis: 32px; }
.hp-st { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.hp-st--good { background: #DDF5E6; color: #14532D; } .hp-st--bad { background: #FFE1E8; color: #8A1538; }

/* ---------- trusted by (logo marquee) ---------- */
.hp-trust { padding: 46px 0 54px; border-top: 1px solid var(--dgx-line); border-bottom: 1px solid var(--dgx-line); }
.hp-trust__title { margin: 0 0 22px; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dgx-muted); }
.hp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hp-marquee__track { display: flex; gap: 14px; width: max-content; animation: hp-marquee 60s linear infinite; }
.hp-marquee:hover .hp-marquee__track, .hp-marquee:focus-within .hp-marquee__track, .hp-marquee.is-paused .hp-marquee__track { animation-play-state: paused; }
@keyframes hp-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.hp-logo__box { position: relative; width: 170px; height: 84px; border-radius: 16px; display: grid; place-items: center; border: 1px solid transparent; transition: background .25s, box-shadow .25s, border-color .25s; }
.hp-logo__box img { grid-area: 1 / 1; width: auto; height: auto; max-width: 132px; max-height: 50px; object-fit: contain; transition: opacity .25s; }
.hp-logo__mono { opacity: .78; }
.hp-logo__color { opacity: 0; }
.hp-logo__box:hover { background: #fff; border-color: var(--dgx-line); box-shadow: 0 10px 24px rgba(22, 19, 46, .12); }
.hp-logo__box:hover .hp-logo__mono { opacity: 0; }
.hp-logo__box:hover .hp-logo__color { opacity: 1; }
:root[data-theme="dark"] .hp-logo__mono { filter: invert(1); }
/* ---------- studios ---------- */
.hp-studio { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hp-studio__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hp-list { margin: 6px 0 4px !important; padding-top: 14px !important; border-top: 1px solid var(--dgx-line-2); display: flex; flex-direction: column; gap: 4px; }
.hp-list a { display: flex; justify-content: space-between; padding: 5px 0; font-weight: 600; font-size: 15px; text-decoration: none; }
.hp-list a span { color: var(--dgx-violet); transition: transform .15s; }
.hp-list a:hover { color: var(--dgx-violet-ink); }
.hp-list a:hover span { transform: translateX(3px); }
.hp-studio .hp-more { margin-top: auto; }

/* ---------- AI search band ---------- */
.hp-dark { background: var(--hp-band); color: #fff; border-block: 1px solid var(--hp-band-line); }
.hp-dark .hp-split { align-items: center; }
.hp-geo__side { display: flex; flex-direction: column; gap: 14px; }
.hp-geo__photo { border-radius: 20px; border: 1px solid #332D5E; }
.hp-stack { display: flex; flex-direction: column; gap: 12px; }
.hp-darkcard { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #221E40; border: 1px solid #332D5E; }
.hp-darkcard p { margin: 4px 0 0; color: #D9D4EA; font-size: 15px; }
.hp-darkcard .dgx-tile { background: linear-gradient(#1D1938, #1D1938) padding-box, var(--dgx-tg) border-box; }

/* ---------- solutions ---------- */
.hp-goal { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
/* photo with the icon tile pinned to its bottom-left edge and the badge on the photo, so every card lines up */
.hp-goal__media { position: relative; }
.hp-goal__media > .dgx-tile { position: absolute; left: 22px; bottom: -25px; width: 50px; height: 50px; flex-basis: 50px; border-radius: 14px; z-index: 1; }
.hp-goal__media > .hp-badge { position: absolute; top: 14px; right: 14px; background: var(--dgx-surface); box-shadow: 0 4px 12px rgba(22, 19, 46, .15); }
.hp-goal__body { padding: 40px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hp-badge { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--dgx-tint); color: var(--dgx-violet-ink); }
.hp-levels { display: flex; gap: 6px; margin: auto 0 0; padding-top: 8px; }
.hp-levels span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--dgx-line); color: var(--dgx-violet-ink); }
.hp-inds { margin-top: 28px; padding: 22px 24px; border-radius: 22px; border: 1px solid var(--dgx-line); background: var(--dgx-ground); }
.hp-inds__t { margin: 0 0 14px; font-weight: 700; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--dgx-line); background: var(--dgx-surface); font-size: 14px; font-weight: 600; text-decoration: none; }
.hp-chip:hover { border-color: var(--dgx-violet); color: var(--dgx-violet-ink); }

/* ---------- sample label (case studies, testimonials) ---------- */
.hp-sample { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #FFF1D6; color: #7A4A00; }

/* ---------- section heading with a photo ---------- */
.hp-headmedia { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; margin-bottom: 40px; }
.hp-headmedia__photo { border-radius: 22px; }
.hp-head--bar { margin: -12px 0 22px; justify-content: flex-end; align-items: center; }

/* ---------- results ---------- */
.hp-case { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hp-case__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-case__tag { font-size: 13px; font-weight: 700; color: var(--dgx-violet-ink); }
.hp-case__num { margin: 0; font: 800 42px/1.05 var(--dgx-display); }
.hp-case__foot { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--dgx-line-strong); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dgx-muted); }
.hp-case .hp-p strong { color: var(--dgx-ink); }

/* ---------- how we work ---------- */
.hp-how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.hp-how__media { position: relative; }
.hp-how__media .hp-photo { border-radius: 26px; }
.hp-how__badge { position: absolute; left: 20px; right: 20px; bottom: 20px; margin: 0; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: #16132E; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.hp-steps { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.hp-steps li { position: relative; display: flex; gap: 18px; padding-bottom: 24px; }
.hp-steps li:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 48px; bottom: 4px; width: 2px; background: var(--dgx-line); }
.hp-steps .dgx-tile { flex: 0 0 auto; position: relative; z-index: 1; }
.hp-steps .hp-p { margin-top: 4px; }

/* ---------- ways to work ---------- */
.hp-way { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hp-way--hi { border: 2px solid transparent; background: linear-gradient(var(--dgx-surface), var(--dgx-surface)) padding-box, var(--dgx-grad) border-box; box-shadow: 0 20px 40px rgba(122, 47, 208, .14); }
.hp-way__flag { position: absolute; top: -13px; right: 22px; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--dgx-grad); color: #fff; }
.hp-ticks { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px !important; font-size: 14.5px; color: var(--dgx-ink-2); }
.hp-way .dgx-btn { margin-top: auto; }

/* ---------- why ---------- */
.hp-why { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.hp-why__intro { display: flex; flex-direction: column; gap: 0; }
.hp-why__photo { margin-top: 28px; border-radius: 22px; }

/* ---------- tools ---------- */
.hp-tool { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: 20px; min-height: 230px; }
.hp-tool .hp-p { font-size: 14px; }
.hp-tool__n { font: 700 17px/1.3 var(--dgx-display); }
.hp-tool__c { font-size: 13.5px; color: var(--dgx-muted); margin-top: auto; }
.hp-tool:hover .dgx-tile { transform: translateY(-2px); }

/* ---------- Ads Data Insights ---------- */
.hp-adi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px; position: relative; overflow: hidden; }
.hp-adi__media .hp-photo { border-radius: 20px; }
.hp-adi__label { margin: 8px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--dgx-muted); }
.hp-adi::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--dgx-grad); opacity: .12; filter: blur(20px); pointer-events: none; }
.hp-adi__copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hp-soon { margin: 6px 0 0; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--dgx-tint); color: var(--dgx-violet-ink); }
.hp-form { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; margin-top: 14px; }
.hp-form label { font-weight: 700; }
main input[type=email], .hp-foot input[type=email] { flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--dgx-line-strong); background: var(--dgx-surface-2); color: var(--dgx-ink); font: 500 15px var(--dgx-font); }
main input[type=email]:focus, .hp-foot input[type=email]:focus { outline: none; border-color: var(--dgx-violet); box-shadow: 0 0 0 3px var(--dgx-tint); }

/* ---------- testimonials ---------- */
.hp-quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hp-quote__top { display: flex; justify-content: space-between; align-items: center; }
.hp-quote blockquote { margin: 0; font-size: 16.5px; color: var(--dgx-ink-2); }
.hp-quote figcaption { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--dgx-muted); margin-top: auto; }
.hp-quote strong { color: var(--dgx-ink); }
.hp-avatar { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px; display: grid; place-items: center; background: var(--dgx-grad); color: #fff; font: 800 15px var(--dgx-display); }

/* ---------- blog ---------- */
.hp-post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hp-post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.hp-post__cat { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--dgx-violet-ink); }
.hp-post__meta { font-size: 13px; color: var(--dgx-muted); }

/* ---------- FAQ ---------- */
.hp-faq { display: flex; flex-direction: column; }
.hp-faq__intro { display: flex; flex-direction: column; gap: 14px; }
.hp-faq__photo { margin: 14px 0 6px; border-radius: 22px; }
.hp-split > div > .hp-more { display: inline-block; margin-top: 18px; }
.hp-faq__i { border-bottom: 1px solid var(--dgx-line); }
.hp-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; }
.hp-faq__q::-webkit-details-marker { display: none; }
.hp-faq__icon { flex: 0 0 32px; height: 32px; border-radius: 10px; background: var(--dgx-tint); position: relative; }
.hp-faq__icon::before, .hp-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--dgx-violet-ink); border-radius: 2px; transition: transform .2s; }
.hp-faq__icon::after { transform: rotate(90deg); }
.hp-faq__i[open] .hp-faq__icon::after { transform: rotate(0); }
.hp-faq__a { margin: 0 48px 20px 0; color: var(--dgx-ink-2); }

/* ---------- final CTA ---------- */
.hp-cta { border-radius: 28px; background: var(--hp-band); border: 1px solid var(--hp-band-line); color: #fff; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.hp-cta::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: var(--dgx-grad); opacity: .4; filter: blur(50px); }
.hp-cta > * { position: relative; }
.hp-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
.hp-cta__photo { border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12); }

/* ---------- footer ---------- */
.hp-foot { background: var(--dgx-ground); border-top: 1px solid var(--dgx-line); padding-top: 56px; font-size: 14.5px; }
.hp-news { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--dgx-line); }
.hp-news__t { margin: 0; font: 700 22px var(--dgx-display); }
.hp-news__s { margin: 4px 0 0; color: var(--dgx-muted); }
.hp-news__form { flex: 0 1 460px; display: flex; gap: 10px; }
.hp-foot__main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(6, minmax(0, 1fr)); gap: 28px; padding-top: 44px; padding-bottom: 40px; }
.hp-foot__brand { display: flex; flex-direction: column; gap: 14px; color: var(--dgx-ink-2); }
.hp-foot__brand p { margin: 0; }
.hp-foot .dgx-logo__img { height: 46px; }
.hp-foot__contact { font-weight: 600; color: var(--dgx-ink); line-height: 1.8; }
.hp-foot__contact a { text-decoration: none; }
.hp-foot__contact a:hover { color: var(--dgx-violet-ink); }
.hp-social { display: flex; gap: 8px; }
.hp-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--dgx-surface); border: 1px solid var(--dgx-line); transition: border-color .15s, transform .15s; }
.hp-social a:hover { border-color: var(--dgx-violet); transform: translateY(-2px); }
.hp-foot__col { display: flex; flex-direction: column; gap: 10px; }
.hp-foot__col a { color: var(--dgx-ink-2); text-decoration: none; font-size: 14px; }
.hp-foot__col a:hover { color: var(--dgx-violet-ink); }
.hp-foot__col .hp-foot__h { margin-bottom: 4px; font-weight: 800; font-size: 14.5px; color: var(--dgx-ink); }
.hp-foot__global { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--dgx-line); color: var(--dgx-ink-2); }
.hp-foot__global span { display: inline-flex; align-items: center; gap: 8px; }
.hp-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--dgx-line); font-size: 13.5px; color: var(--dgx-muted); }
.hp-foot__legal { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hp-foot__legal a, .hp-linkbtn { color: var(--dgx-muted); text-decoration: none; }
.hp-linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.hp-foot__legal a:hover, .hp-linkbtn:hover { color: var(--dgx-violet-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hp-foot__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-foot__brand { grid-column: 1 / -1; }
  .hp-carousel[data-per="4"] .hp-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 960px) {
  .hp-hero__in, .hp-split, .hp-how, .hp-headmedia, .hp-adi, .hp-cta { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hp-hero__media { padding-left: 0; max-width: 620px; }
  .hp-g3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .hp-track, .hp-carousel[data-per="4"] .hp-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .hp-wrap { padding: 0 16px; }
  .hp-sec { padding: 64px 0; }
  .hp-hero { padding: 40px 0 56px; }
  .hp-g2 { grid-template-columns: minmax(0, 1fr); }
  .hp-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .hp-track, .hp-carousel[data-per="4"] .hp-track { grid-auto-columns: 86%; gap: 14px; }
  .hp-carousel[data-per="4"] .hp-track { grid-auto-columns: 62%; }
  .hp-foot__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-adi, .hp-cta { padding: 28px 22px; }
  .hp-news__form { flex-direction: column; flex-basis: 100%; }
  .hp-logo__box { width: 140px; height: 72px; }
  .hp-audit { position: relative; width: auto; margin: -40px 12px 0; }
  .hp-hero__media { padding-bottom: 0; }
  .hp-btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .hp-marquee__track li[aria-hidden], .hp-marquee__track li:has([aria-hidden="true"]) { display: none; }
  .hp-marquee { -webkit-mask-image: none; mask-image: none; }
  .hp-track { scroll-behavior: auto; }
  .hp-photo img, .hp-card { transition: none; }
}

/* ---- home v2 additions (wireframe sections) ---- */
.hp-plat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.hp-plat__i { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--dgx-line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--dgx-ink); background: var(--dgx-surface); }
.hp-plat__ic { width: 20px; height: 20px; flex: none; color: var(--dgx-muted); }
.hp-indgrid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hp-ind { display: flex; align-items: center; gap: 12px; padding: 16px 18px; text-decoration: none; color: var(--dgx-ink); font-weight: 700; transition: transform .2s, box-shadow .2s; }
.hp-ind:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 19, 46, .12); }
.hp-chips--light { margin-top: 18px; }
.hp-team__media .hp-photo { border-radius: 20px; overflow: hidden; }
.hp-cta--form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.hp-wa { color: #fff; font-weight: 700; text-decoration: underline; }
.hp-auditform { display: grid; gap: 8px; background: var(--dgx-surface); color: var(--dgx-ink); border-radius: 18px; padding: 24px; }
.hp-auditform label { font-weight: 700; font-size: 14px; }
.hp-auditform input, .hp-auditform select { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--dgx-line); background: var(--dgx-surface); color: var(--dgx-ink); width: 100%; }
.hp-auditform button { margin-top: 10px; justify-content: center; }
.hp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #1FA855; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.hp-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 960px) { .hp-indgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hp-cta--form { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hp-float span { display: none; } .hp-float { padding: 14px; } }

/* hero v2 */
.hp-trio { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hp-trio li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--dgx-violet, #6D28D9); }
.hp-trio strong { font-size: 15px; }
.hp-trio span { font-size: 13.5px; color: var(--dgx-muted); }
.hp-dash { margin: 0; padding: 22px; border-radius: 22px; background: var(--dgx-surface); border: 1px solid var(--dgx-line); box-shadow: 0 24px 60px rgba(76, 29, 149, .18); display: grid; gap: 16px; }
.hp-dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-dash__top img { height: 30px; width: auto; }
.hp-dash__k { margin: 0; font-size: 14px; color: var(--dgx-muted); font-weight: 600; }
.hp-dash__n { margin: 2px 0 0; font-size: 44px; font-weight: 800; line-height: 1; color: #1F9D5B; }
.hp-dash__chart { width: 100%; height: 90px; margin-top: 8px; }
.hp-dash__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hp-dash__stats li { padding: 12px; border-radius: 12px; background: var(--dgx-alt, #F6F4FD); display: grid; gap: 4px; }
.hp-dash__stats span { font-size: 12px; color: var(--dgx-muted); }
.hp-dash__stats strong { font-size: 18px; }
.hp-dash__foot { margin: 0; font-weight: 700; font-size: 15px; }
