/* Hapteq modern theme — Lumitech structure, quieter crafted look */
:root,
html[data-theme="dark"] {
  --hq-bg: #0a0f1a;
  --hq-bg-2: #0d1422;
  --hq-bg-mid: #121a2b;
  --hq-surface: #121a2b;
  --hq-surface-2: #162033;
  --hq-line: rgba(255, 255, 255, 0.08);
  --hq-line-strong: rgba(255, 255, 255, 0.16);
  --hq-text: #f2f4f8;
  --hq-muted: #9aa6bc;
  --hq-faint: #758199;
  --hq-blue: #3b6ef5;
  --hq-blue-2: #8eb0ff;
  --hq-blue-deep: #2f5ce0;
  --hq-cyan: #6ea8ff;
  --hq-ok: #22c55e;
  --hq-radius: 8px;
  --hq-radius-sm: 6px;
  --hq-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --hq-font: 'Manrope', system-ui, sans-serif;
  --hq-display: 'Sora', 'Manrope', system-ui, sans-serif;
  --hq-header-h: 76px;
  --hq-announce-h: 0px;
  --hq-max: 1180px;
  --hq-header-bg: rgba(10, 15, 26, 0.97);
  --hq-footer-bg: linear-gradient(180deg, #0b1220 0%, #070c16 100%);
  --hq-nav-hover: rgba(255, 255, 255, 0.04);
  --hq-nav-active: #fff;
  --hq-card-border: rgba(255, 255, 255, 0.07);
  --hq-input-bg: rgba(255, 255, 255, 0.03);
  --hq-input-text: #fff;
}

html[data-theme="light"] {
  --hq-bg: #f4f7fc;
  --hq-bg-2: #ffffff;
  --hq-bg-mid: #eef3fb;
  --hq-surface: #ffffff;
  --hq-surface-2: #f7f9fc;
  --hq-line: rgba(15, 23, 42, 0.08);
  --hq-line-strong: rgba(15, 23, 42, 0.14);
  --hq-text: #0f172a;
  --hq-muted: #5b6b86;
  --hq-faint: #7b8aa3;
  --hq-blue: #2f5ce0;
  --hq-blue-2: #3b6ef5;
  --hq-blue-deep: #2448b8;
  --hq-cyan: #3b6ef5;
  --hq-ok: #16a34a;
  --hq-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  --hq-header-bg: rgba(244, 247, 252, 0.96);
  --hq-footer-bg: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
  --hq-nav-hover: rgba(47, 92, 224, 0.08);
  --hq-nav-active: #0f172a;
  --hq-card-border: rgba(15, 23, 42, 0.08);
  --hq-input-bg: #ffffff;
  --hq-input-text: #0f172a;
}

.hq-logo-light { display: none !important; }
.hq-logo-dark { display: block !important; }
html[data-theme="light"] .hq-logo-light { display: block !important; }
html[data-theme="light"] .hq-logo-dark { display: none !important; }

.hq-theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--hq-line-strong);
  background: var(--hq-nav-hover);
  color: var(--hq-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.hq-theme-toggle:hover {
  border-color: var(--hq-blue);
  transform: translateY(-1px);
}

html { scroll-behavior: smooth; }

body.hq-modern,
body.hq-modern #app {
  background: var(--hq-bg) !important;
  color: var(--hq-text) !important;
  font-family: var(--hq-font);
  -webkit-font-smoothing: antialiased;
}

/* Avoid overflow-x:hidden on html/body — it breaks position:sticky/fixed headers */
html {
  overflow-x: clip;
}
body.hq-modern {
  overflow-x: clip;
}

#hq-root,
.hq-hero,
.hq-hero-grid,
.hq-orb {
  max-width: 100%;
}

.hq-hero,
.hq-marquee,
.hq-section {
  overflow-x: clip;
}

body.hq-modern .cs-site_header,
body.hq-modern .cs-footer,
body.hq-modern .cs-munu_toggle,
body.hq-modern .cs-side_header_overlay { display: none !important; }

#hq-root {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(59, 110, 245, 0.07) 0%, transparent 28%),
    var(--hq-bg);
  color: var(--hq-text);
  font-family: var(--hq-font);
}

#hq-root::before {
  content: none;
}

#hq-root::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

#hq-root > *:not(.hq-chrome):not(.chatbot-widget-container):not(.hq-float-wa) {
  position: relative;
  z-index: 1;
}

/* Fixed header: stays on top, hides on scroll down, returns on scroll up */
.hq-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  transition: transform 0.28s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.hq-chrome.is-scrolled,
.hq-chrome.is-open {
  background: var(--hq-header-bg);
  border-bottom-color: var(--hq-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hq-chrome.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.hq-chrome-spacer {
  width: 100%;
  height: var(--hq-chrome-offset, 76px);
  flex-shrink: 0;
  pointer-events: none;
}

#hq-root *,
#hq-root *::before,
#hq-root *::after { box-sizing: border-box; }

.hq-container {
  width: min(var(--hq-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hq-muted);
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 0.85rem;
}

.hq-eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.hq-h1 {
  font-family: var(--hq-display);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--hq-text);
  margin: 0 0 1.1rem;
}

.hq-h2 {
  font-family: var(--hq-display);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--hq-text);
  margin: 0 0 0.9rem;
}

.hq-h3 {
  font-family: var(--hq-display);
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--hq-text);
  margin: 0 0 0.55rem;
}

.hq-lead {
  color: var(--hq-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
  margin: 0;
}

.hq-gradient-text,
.hq-accent-text {
  color: var(--hq-blue-2);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: var(--hq-radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.hq-btn:hover { transform: none; }

.hq-btn-primary {
  background: var(--hq-blue);
  color: #fff !important;
  box-shadow: none;
}

.hq-btn-primary:hover {
  background: var(--hq-blue-deep);
  box-shadow: none;
  color: #fff !important;
}

.hq-btn-secondary {
  background: transparent;
  border-color: var(--hq-line-strong);
  color: var(--hq-text) !important;
}

.hq-btn-secondary:hover {
  border-color: var(--hq-line-strong);
  background: var(--hq-nav-hover);
}

.hq-btn-wa {
  width: auto;
  min-width: 0;
  padding: 0.7rem 1.15rem;
  border-radius: var(--hq-radius-sm);
  background: transparent;
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac !important;
}

.hq-btn-wa:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.7);
}

.hq-section {
  padding: 5.25rem 0;
  position: relative;
  background: transparent;
}

.hq-section-sm { padding: 3rem 0; }

/* Lumitech-like section banding — dark + light surfaces, not one flat theme */
.hq-section-alt {
  background: #0e1524;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hq-section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    #111a2c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hq-section-soft {
  background:
    radial-gradient(720px 280px at 12% 0%, rgba(59, 110, 245, 0.07), transparent 60%),
    #0b111d;
}

.hq-section-deep {
  background: #080d16;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hq-section-light {
  background: #f3f5f9;
  color: #152033;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hq-section-light .hq-h1,
.hq-section-light .hq-h2,
.hq-section-light .hq-h3 {
  color: #0b1220;
}

.hq-section-light .hq-lead,
.hq-section-light .hq-tile-body p,
.hq-section-light p {
  color: #5c6b84;
}

.hq-section-light .hq-eyebrow {
  color: #5c6b84;
}

.hq-section-light .hq-eyebrow::before {
  background: rgba(15, 23, 42, 0.3);
}

.hq-section-light .hq-tile {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #152033;
}

.hq-section-light .hq-tile:hover {
  border-color: rgba(15, 23, 42, 0.16);
  background: #fff;
}

.hq-section-light .hq-tile-subtitle {
  color: #475569;
}

.hq-section-light .hq-tile-meta {
  color: #3b6ef5;
}

.hq-section-light .hq-tile-meta span + span::before {
  color: #94a3b8;
}

.hq-section-light .hq-link-quiet {
  color: #2f5ce0;
}

.hq-section-light .hq-btn-secondary {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
  color: #152033 !important;
}

.hq-section-light .hq-btn-secondary:hover {
  border-color: rgba(15, 23, 42, 0.35);
  background: rgba(15, 23, 42, 0.03);
}

.hq-section-light .hq-stat strong {
  color: #0b1220;
}

.hq-section-light .hq-stat span {
  color: #5c6b84;
}

.hq-section-paper {
  background: #ffffff;
  color: #152033;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.hq-section-paper .hq-h1,
.hq-section-paper .hq-h2,
.hq-section-paper .hq-h3 { color: #0b1220; }
.hq-section-paper .hq-lead,
.hq-section-paper p { color: #5c6b84; }
.hq-section-paper .hq-eyebrow { color: #5c6b84; }
.hq-section-paper .hq-eyebrow::before { background: rgba(15, 23, 42, 0.3); }
.hq-section-paper .hq-diff-item {
  border-color: rgba(15, 23, 42, 0.08);
}
.hq-section-paper .hq-diff-item p { color: #5c6b84; }
.hq-section-paper .hq-tile {
  background: #f5f7fb;
  border-color: rgba(15, 23, 42, 0.08);
  color: #152033;
}
.hq-section-paper .hq-tile:hover {
  border-color: rgba(15, 23, 42, 0.16);
  background: #f8fafc;
}
.hq-section-paper .hq-tile-meta { color: #3b6ef5; }
.hq-section-paper .hq-tile-subtitle { color: #475569; }
.hq-section-paper .hq-link-quiet { color: #2f5ce0; }
.hq-section-paper .hq-btn-secondary,
.hq-section-light .hq-btn-secondary {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
  color: #152033 !important;
}
.hq-section-paper .hq-btn-secondary:hover,
.hq-section-light .hq-btn-secondary:hover {
  border-color: rgba(15, 23, 42, 0.35);
  background: rgba(15, 23, 42, 0.03);
}
.hq-section-light .hq-diff-item {
  border-color: rgba(15, 23, 42, 0.08);
}
.hq-section-light .hq-diff-item p,
.hq-section-light .hq-diff-item strong + div {
  color: #5c6b84;
}
.hq-section-light .hq-diff-item strong {
  color: #0b1220;
}

.hq-panel {
  background: var(--hq-surface);
  border: 1px solid var(--hq-line);
  border-radius: var(--hq-radius);
  overflow: hidden;
}

.hq-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hq-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--hq-radius);
  border: 1px solid var(--hq-line);
  background: var(--hq-surface);
  aspect-ratio: 16 / 10;
}

.hq-media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 12, 22, 0.35) 100%);
  opacity: 1;
}

.hq-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  filter: none;
}

.hq-media-frame:hover img { transform: scale(1.03); }

.hq-link-quiet {
  color: var(--hq-blue-2);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}

.hq-link-quiet:hover { color: #fff; }

.hq-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hq-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--hq-muted);
  line-height: 1.55;
}

.hq-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hq-blue);
}

/* Announcement */
.hq-announce {
  background: #0c121e;
  border-bottom: 1px solid var(--hq-line);
  position: relative;
  z-index: 70;
}

.hq-announce-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: #d7deea;
}

.hq-announce a.hq-announce-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0b1220 !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--hq-radius-sm);
  white-space: nowrap;
}

.hq-announce-close {
  background: none;
  border: 0;
  color: var(--hq-faint);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

/* Header stays dark; dropdown panels are white */
.hq-header {
  position: relative;
  z-index: 320;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  border-bottom: 1px solid transparent;
}

.hq-header.is-sticky,
.hq-header.is-open {
  background: var(--hq-header-bg);
  border-bottom-color: var(--hq-line);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hq-nav {
  min-height: var(--hq-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.hq-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
  color: #fff !important;
  font-family: var(--hq-display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hq-brand img {
  display: block;
  object-fit: contain;
}

.hq-brand-wordmark {
  width: auto;
  height: 48px;
  max-width: min(220px, 52vw);
}

.hq-brand-mark,
.hq-brand img.hq-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
}

.hq-footer .hq-brand-wordmark {
  height: 44px;
  max-width: 210px;
}

.hq-brand-fallback {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.hq-nav-center {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.hq-nav-item { position: relative; }

.hq-nav-trigger,
.hq-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--hq-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none !important;
  cursor: pointer;
}

.hq-nav-trigger:hover,
.hq-nav-link:hover,
.hq-nav-link.is-active,
.hq-nav-item.is-open > .hq-nav-trigger {
  color: var(--hq-nav-active);
  background: var(--hq-nav-hover);
}

.hq-nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.hq-nav-item.is-open .hq-nav-caret { transform: rotate(180deg); }

.hq-mega {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(860px, calc(100vw - 2rem));
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 400;
  overflow: hidden;
  isolation: isolate;
}

.hq-nav-item.is-open > .hq-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hq-mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 280px;
}

.hq-mega-links {
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.75rem;
  align-content: start;
}

.hq-mega-links a {
  display: block;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  color: #152033 !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 550;
}

.hq-mega-links a:hover {
  background: rgba(59, 110, 245, 0.08);
  color: #0b1220 !important;
}

.hq-mega-links a small {
  display: block;
  margin-top: 0.2rem;
  color: #6b7a94;
  font-size: 0.78rem;
  font-weight: 450;
  line-height: 1.4;
}

.hq-mega-feature {
  position: relative;
  min-height: 100%;
  background: #0f172a;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  overflow: hidden;
  color: #fff;
}

.hq-mega-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hq-mega-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 9, 18, 0.92) 78%);
}

.hq-mega-feature .hq-eyebrow {
  color: #d7deea;
}

.hq-mega-feature .hq-eyebrow::before {
  background: rgba(255, 255, 255, 0.35);
}

.hq-mega-feature p {
  color: #d7deea;
}

.hq-mega-feature > * { position: relative; z-index: 1; }

.hq-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.hq-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hq-line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hq-mobile-drawer {
  display: none;
}

/* Hero */
.hq-hero {
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
}

.hq-hero::before { content: none; }

.hq-hero-glow,
.hq-hero-beam {
  display: none !important;
}

.hq-hero .hq-container {
  position: relative;
  z-index: 1;
}

.hq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: center;
}

.hq-hero-copy {
  max-width: 36rem;
  justify-self: end;
  width: 100%;
  padding-right: 0.25rem;
}

.hq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  padding: 0.42rem 0.85rem 0.42rem 0.55rem;
  border: 1px solid rgba(142, 176, 255, 0.22);
  border-radius: 999px;
  background: rgba(59, 110, 245, 0.08);
  color: #c9d7f5;
  font-size: 0.82rem;
  font-weight: 560;
}

.hq-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f8cff;
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.18);
  animation: hq-pulse 2.2s ease-in-out infinite;
}

.hq-hero-title {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  line-height: 1.08;
}

.hq-hero-title span {
  display: block;
  margin-top: 0.2rem;
  color: #9ec0ff;
}

.hq-hero-lead {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.hq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hq-hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 36rem;
}

.hq-hero-proof-item strong {
  display: block;
  font-family: var(--hq-display);
  font-size: 1.28rem;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hq-hero-proof-item span {
  color: var(--hq-faint);
  font-size: 0.78rem;
}

.hq-hero-visual {
  position: relative;
  min-height: 480px;
  justify-self: start;
}

/* Multi-hero carousel controls */
.hq-hero-carousel .hq-container {
  display: grid;
  gap: 1.1rem;
}

.hq-hero-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hq-hero-controls-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.hq-hero-nav,
.hq-hero-pause {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0;
}

.hq-hero-nav:hover,
.hq-hero-pause:hover {
  border-color: rgba(142, 176, 255, 0.45);
  background: rgba(59, 110, 245, 0.16);
}

.hq-hero-progress {
  width: min(120px, 18vw);
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hq-hero-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  animation: hq-hero-progress 10s linear forwards;
}

.hq-hero-progress-bar.is-paused {
  animation-play-state: paused;
}

@keyframes hq-hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hq-hero-count {
  color: var(--hq-faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  min-width: 4.5rem;
}

.hq-hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}

.hq-hero-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hq-muted);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hq-hero-tab:hover {
  color: #fff;
  border-color: rgba(142, 176, 255, 0.35);
}

.hq-hero-tab.is-active {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(59, 110, 245, 0.2);
}

.hq-hero-copy {
  animation: hq-rise 0.45s ease both;
}

/* Interactive hero object */
.hq-orb {
  position: relative;
  height: min(540px, 62vw);
  min-height: 400px;
  display: grid;
  place-items: center;
  perspective: 1500px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  background: transparent;
  overflow: visible;
}

.hq-orb:active { cursor: grabbing; }

.hq-orb-aura {
  position: absolute;
  inset: 12% 14% 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(79, 140, 255, 0.2), transparent 64%),
    radial-gradient(circle at 50% 68%, rgba(255, 255, 255, 0.04), transparent 58%);
  filter: blur(26px);
  animation: hq-orb-breathe 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hq-orb-sparkles {
  position: absolute;
  inset: 8% 6% 12%;
  pointer-events: none;
  z-index: 1;
}

.hq-orb-sparkles i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(190, 214, 255, 0.9);
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.7);
  animation: hq-spark 3.8s ease-in-out infinite;
}

.hq-orb-sparkles i:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.hq-orb-sparkles i:nth-child(2) { top: 22%; right: 16%; width: 4px; height: 4px; animation-delay: 0.5s; }
.hq-orb-sparkles i:nth-child(3) { bottom: 28%; left: 12%; animation-delay: 1s; }
.hq-orb-sparkles i:nth-child(4) { bottom: 18%; right: 20%; width: 3px; height: 3px; animation-delay: 1.4s; }
.hq-orb-sparkles i:nth-child(5) { top: 48%; left: 8%; width: 3px; height: 3px; animation-delay: 1.8s; }
.hq-orb-sparkles i:nth-child(6) { top: 38%; right: 10%; animation-delay: 2.2s; }

.hq-orb-arcs {
  position: absolute;
  inset: 2% 0 6%;
  pointer-events: none;
  z-index: 1;
}

.hq-orb-arcs span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: rotateX(68deg) scale(1.05);
  animation: hq-orbit-spin 18s linear infinite;
}

.hq-orb-arcs span:nth-child(2) {
  inset: 8%;
  border-color: rgba(142, 176, 255, 0.28);
  transform: rotateX(68deg) scale(0.92) rotateZ(18deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.hq-orb-arcs span:nth-child(3) {
  inset: 16%;
  border-color: rgba(255, 255, 255, 0.1);
  transform: rotateX(68deg) scale(0.78) rotateZ(-12deg);
  animation-duration: 30s;
}

.hq-orb-orbit {
  position: absolute;
  inset: 6% 4% 10%;
  z-index: 2;
  pointer-events: none;
}

.hq-orb-chip {
  position: absolute;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(158, 192, 255, 0.28);
  background: linear-gradient(180deg, rgba(24, 36, 58, 0.92), rgba(10, 16, 30, 0.88));
  color: #eef4ff;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: hq-chip-float 4.8s ease-in-out infinite;
}

.hq-orb-chip:nth-child(1) { top: 6%; left: 44%; animation-delay: 0s; }
.hq-orb-chip:nth-child(2) { top: 36%; right: 0; animation-delay: 0.6s; }
.hq-orb-chip:nth-child(3) { bottom: 14%; left: 6%; animation-delay: 1.1s; }
.hq-orb-chip:nth-child(4) { top: 56%; left: 0; animation-delay: 1.7s; }

.hq-orb-glow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(420px, 84%);
  height: 190px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(59, 110, 245, 0.58) 0%, rgba(59, 110, 245, 0.16) 42%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 1;
}

.hq-orb-floor {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(280px, 56%);
  height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

.hq-orb-stage {
  position: relative;
  z-index: 3;
  width: min(440px, 92%);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  will-change: transform;
  animation: hq-orb-float 6.5s ease-in-out infinite;
  display: grid;
  place-items: center;
}

.hq-orb-halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(142, 176, 255, 0.2);
  box-shadow:
    inset 0 0 48px rgba(59, 110, 245, 0.14),
    0 0 60px rgba(59, 110, 245, 0.2);
  animation: hq-halo 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hq-orb-ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1px dashed rgba(158, 192, 255, 0.18);
  animation: hq-orbit-spin 28s linear infinite;
  pointer-events: none;
}

.hq-orb-icon {
  width: 94%;
  height: 94%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 22px 36px rgba(20, 60, 180, 0.22));
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.hq-orb-aura,
.hq-orb-glow,
.hq-orb-floor,
.hq-orb-halo,
.hq-orb-sparkles {
  display: none !important;
}

@keyframes hq-orb-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes hq-orb-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes hq-orbit-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes hq-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes hq-halo {
  0%, 100% { transform: scale(0.96); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes hq-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.7; }
}

@keyframes hq-spark {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes hq-hero-beam {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hq-orb-stage,
  .hq-orb-aura,
  .hq-orb-arcs span,
  .hq-orb-chip,
  .hq-orb-halo,
  .hq-orb-ring,
  .hq-orb-sparkles i,
  .hq-hero-beam,
  .hq-hero-badge-dot { animation: none !important; }
  .hq-rise { animation: none !important; }
}

@media (max-width: 1080px) {
  .hq-container {
    width: min(var(--hq-max), calc(100% - 2rem));
    max-width: 100%;
  }

  .hq-hero {
    min-height: 0;
    padding: 1.15rem 0 1.75rem;
    display: block;
    overflow-x: hidden;
  }

  .hq-hero .hq-container,
  .hq-hero-carousel .hq-container,
  .hq-hero-controls,
  .hq-hero-controls-main,
  .hq-hero-grid,
  .hq-hero-copy,
  .hq-hero-actions,
  .hq-hero-proof,
  .hq-hero-title,
  .hq-hero-lead {
    max-width: 100%;
    min-width: 0;
  }

  .hq-hero-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
  }

  .hq-hero-controls-main {
    width: 100%;
    flex-wrap: wrap;
  }

  .hq-hero-tabs {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.4rem;
    padding: 0.1rem 0 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hq-hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .hq-hero-tab {
    flex: 0 0 auto;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .hq-hero-progress {
    flex: 1 1 auto;
    width: auto;
    min-width: 64px;
  }

  .hq-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
  }

  .hq-hero-copy {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    order: 1;
  }

  .hq-hero-visual {
    display: none; /* keep first mobile viewport copy-first */
  }

  .hq-orb {
    height: auto;
    min-height: 280px;
    overflow: visible;
  }

  .hq-orb-stage { width: min(280px, 72%); }

  .hq-orb-chip {
    font-size: 0.68rem;
    padding: 0.3rem 0.55rem;
  }

  .hq-orb-arcs {
    inset: 8% 6% 10%;
  }

  .hq-hero-title {
    max-width: 100%;
    font-size: clamp(1.75rem, 7.2vw, 2.25rem);
    line-height: 1.14;
    margin-bottom: 0.7rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hq-hero-lead {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  .hq-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1.1rem;
    width: 100%;
  }

  .hq-hero-actions .hq-btn:first-child {
    grid-column: 1 / -1;
  }

  .hq-hero-actions .hq-btn,
  .hq-hero-actions .hq-btn-wa {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.7rem;
    font-size: 0.86rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .hq-hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.7rem;
    max-width: 100%;
    width: 100%;
    margin-top: 1.1rem;
  }

  .hq-hero-proof-item {
    min-width: 0;
  }

  .hq-hero-proof-item:nth-child(n + 5) {
    display: none;
  }

  .hq-hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .hq-announce {
    font-size: 0.84rem;
  }

  .hq-announce-inner {
    padding: 0.55rem 0;
    gap: 0.5rem;
  }

  .hq-announce-inner > div {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hq-brand-wordmark {
    height: 36px;
    max-width: min(150px, 48vw);
  }

  .hq-section {
    padding: 3.25rem 0;
  }

  .hq-page-hero {
    padding: 2rem 0 1.25rem;
  }

  .hq-h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hq-h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .hq-cta-band {
    padding: 1.35rem;
    grid-template-columns: 1fr;
  }

  .hq-announce-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 0;
  }

  .hq-announce-inner > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
  }

  .hq-announce a.hq-announce-cta {
    flex: 1;
    justify-content: center;
  }

  :root {
    --hq-header-h: 64px;
  }

  .hq-nav {
    gap: 0.75rem;
  }

  .hq-brand-mark,
  .hq-brand img.hq-brand-mark {
    width: 34px;
    height: 34px;
  }

  .hq-footer .hq-brand-wordmark {
    height: 34px;
    max-width: 150px;
  }

  .hq-footer a,
  .hq-footer p,
  .hq-footer-bottom {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hq-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .hq-page-hero-grid {
    gap: 1.25rem;
  }

  .hq-split {
    gap: 1.5rem;
  }

  .hq-hero-proof-item strong {
    font-size: 1.15rem;
  }

  .hq-btn,
  .hq-btn-wa {
    min-height: 44px;
  }
}

/* Stats strip */
.hq-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hq-line);
  border-bottom: 1px solid var(--hq-line);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.hq-updates-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hq-line);
}

.hq-update-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hq-line);
  text-decoration: none !important;
  color: inherit;
}

.hq-update-row:hover .hq-h3 { color: var(--hq-blue-2); }

.hq-update-row .hq-h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hq-process-list {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
  border-top: 1px solid var(--hq-line);
}

.hq-process-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hq-line);
}

.hq-process-row .hq-step-num {
  color: var(--hq-faint);
  font-family: var(--hq-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.hq-diff-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  border-top: 1px solid var(--hq-line);
}

.hq-diff-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hq-line);
}

.hq-diff-item .hq-h3 { margin-bottom: 0.4rem; }

.hq-stat {
  padding: 1.4rem 1.3rem;
  border-right: 1px solid var(--hq-line);
}

.hq-stat:last-child { border-right: 0; }

.hq-stat strong {
  display: block;
  font-family: var(--hq-display);
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hq-stat span {
  color: var(--hq-muted);
  font-size: 0.9rem;
}

/* Split / grids */
.hq-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hq-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.hq-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.hq-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.hq-grid-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hq-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hq-line);
  border-radius: var(--hq-radius);
  background: transparent;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease;
}

.hq-tile:hover {
  border-color: var(--hq-line-strong);
  transform: none;
  background: rgba(255, 255, 255, 0.015);
}

.hq-tile-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1220;
}

.hq-tile-logo {
  min-height: 0;
}

.hq-tile-logo-panel {
  height: 92px;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  padding: 0.7rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hq-tile-logo-panel img {
  width: auto;
  max-width: 92%;
  max-height: 68px;
  height: auto;
  object-fit: contain;
  display: block;
}

.hq-tile-logo .hq-tile-body {
  padding: 0.85rem 0.95rem 1rem;
}

.hq-tile-logo .hq-h3 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.hq-tile-logo .hq-tile-subtitle {
  font-size: 0.84rem;
  margin: 0 0 0.35rem;
}

.hq-tile-logo .hq-tile-body p {
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0 0 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hq-tile-logo:hover .hq-tile-logo-panel {
  background: #f8fafc;
}

.hq-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  color: var(--hq-blue-2);
  font-size: 0.78rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
}

.hq-tile-meta span + span::before {
  content: "·";
  margin-right: 0.75rem;
  color: var(--hq-muted);
  font-weight: 500;
}

.hq-tile-subtitle {
  color: #c6d0e2;
  font-size: 0.95rem;
  margin: -0.15rem 0 0.55rem;
}

.hq-section-tight {
  padding-bottom: 2.5rem;
}

.hq-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  margin-top: 0.25rem;
}

.hq-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.35rem;
  animation: hq-marquee 55s linear infinite;
}

.hq-marquee:hover .hq-marquee-track {
  animation-play-state: paused;
}

.hq-marquee-item {
  flex: 0 0 auto;
  width: 260px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #ffffff;
}

.hq-marquee-item img {
  max-width: 210px;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

@keyframes hq-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hq-project-hero-logo {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.hq-project-hero-logo > img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  padding: 1.35rem;
  border: 1px solid var(--hq-line);
  border-radius: 16px;
  background: #ffffff;
}

@media (max-width: 980px) {
  .hq-grid-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hq-project-hero-logo {
    grid-template-columns: 1fr;
  }

  .hq-grid-projects {
    grid-template-columns: 1fr;
  }

  .hq-marquee-item {
    width: 168px;
    height: 84px;
    padding: 0.7rem 0.85rem;
  }

  .hq-marquee-item img {
    max-width: 130px;
    max-height: 52px;
  }

  .hq-orb {
    min-height: 240px;
  }

  .hq-orb-stage {
    width: min(240px, 68%);
  }

  .hq-orb-chip:nth-child(3),
  .hq-orb-chip:nth-child(4) {
    display: none;
  }

  .hq-tile-logo-panel {
    height: 78px;
    padding: 0.55rem 0.75rem;
  }

  .hq-tile-logo-panel img {
    max-height: 52px;
  }

  .hq-footer {
    padding: 2.75rem 0 1.5rem;
  }

  .hq-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  #hq-root > .chatbot-widget-container {
    right: 14px !important;
    bottom: 14px !important;
  }

  .hq-hero {
    padding: 0.85rem 0 1.35rem;
  }

  .hq-hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hq-hero-title {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
  }

  .hq-hero-lead {
    -webkit-line-clamp: 3;
  }

  .hq-hero-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .hq-hero-actions .hq-btn:first-child,
  .hq-hero-actions .hq-btn,
  .hq-hero-actions .hq-btn-wa {
    grid-column: 1 / -1;
  }

  .hq-announce {
    font-size: 0.8rem;
  }

  .hq-announce a.hq-announce-cta {
    width: 100%;
  }

  .hq-tile-body {
    padding: 1rem 1rem 1.15rem;
  }

  .hq-section-sm {
    padding: 2.25rem 0;
  }

  .hq-stats {
    border-radius: 0;
  }

  .hq-form-grid {
    grid-template-columns: 1fr;
  }
}

.hq-float-wa { display: none !important; }

.hq-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hq-tile:hover .hq-tile-media img { transform: scale(1.05); }

.hq-tile-body { padding: 1.15rem 1.2rem 1.3rem; }

.hq-tile-body p {
  color: var(--hq-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.hq-scale-card {
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid var(--hq-line);
  border-radius: var(--hq-radius);
  background: transparent;
  text-decoration: none !important;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease;
}

.hq-scale-card:hover {
  border-color: var(--hq-line-strong);
}

.hq-scale-card .hq-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hq-blue-2);
  margin-bottom: 0.55rem;
}

.hq-cta-band {
  border: 1px solid var(--hq-line);
  border-radius: var(--hq-radius);
  padding: 2.25rem;
  background: var(--hq-surface);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.hq-page-hero {
  padding: 3.25rem 0 1.5rem;
}

.hq-page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: end;
}

.hq-form {
  display: grid;
  gap: 0.95rem;
}

.hq-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--hq-muted);
  font-size: 0.88rem;
  font-weight: 550;
}

.hq-form input,
.hq-form select,
.hq-form textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--hq-line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff !important;
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.hq-form textarea { min-height: 140px; resize: vertical; }

.hq-form input:focus,
.hq-form select:focus,
.hq-form textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.hq-footer {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  border-top: 1px solid var(--hq-line);
  background: var(--hq-footer-bg);
  padding: 2rem 0 1.1rem;
}

.hq-footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--hq-line-strong);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hq-blue) 12%, transparent);
}

.hq-footer-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--hq-blue-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hq-footer-cta-title {
  margin: 0;
  color: var(--hq-text);
  font-family: var(--hq-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
  font-weight: 700;
}

.hq-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.hq-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 0.85fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.hq-footer-brand .hq-footer-logo {
  display: inline-flex;
  margin-bottom: 0.55rem;
}

.hq-footer .hq-brand-wordmark {
  height: 34px;
  max-width: 170px;
}

.hq-footer-tagline {
  margin: 0;
  max-width: 22rem;
  color: var(--hq-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hq-footer-meta {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.35rem;
}

.hq-footer-meta p {
  margin: 0;
  color: var(--hq-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hq-footer-meta strong {
  color: var(--hq-text);
  font-weight: 700;
  margin-right: 0.3rem;
}

.hq-footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.7rem;
}

.hq-footer-contacts a {
  display: inline !important;
  margin: 0 !important;
  color: var(--hq-blue-2) !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.hq-footer-contacts a:hover {
  color: var(--hq-text) !important;
  transform: none;
}

.hq-footer-col h4,
.hq-footer h4 {
  margin: 0 0 0.55rem;
  color: var(--hq-text);
  font-size: 0.76rem;
  font-family: var(--hq-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hq-footer-col a,
.hq-footer a {
  display: block;
  color: var(--hq-muted);
  text-decoration: none;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: color 0.18s ease, transform 0.18s ease;
}

.hq-footer-col a:hover,
.hq-footer a:hover {
  color: var(--hq-text);
  transform: translateX(2px);
}

.hq-footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hq-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--hq-faint);
  font-size: 0.8rem;
}

.hq-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.95rem;
}

.hq-footer-bottom-links a {
  display: inline;
  margin: 0;
  color: var(--hq-muted);
  font-size: 0.8rem;
}

.hq-footer-bottom-links a:hover {
  color: var(--hq-text);
  transform: none;
}

@media (max-width: 900px) {
  .hq-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

html[data-theme="light"] #hq-root {
  background:
    linear-gradient(180deg, rgba(47, 92, 224, 0.05) 0%, transparent 26%),
    var(--hq-bg);
  color: var(--hq-text);
}

html[data-theme="light"] .hq-brand {
  color: var(--hq-text) !important;
}

html[data-theme="light"] .hq-mobile-group > button,
html[data-theme="light"] .hq-mobile-group > a {
  color: var(--hq-text);
}

html[data-theme="light"] .hq-form input,
html[data-theme="light"] .hq-form select,
html[data-theme="light"] .hq-form textarea {
  background: var(--hq-input-bg);
  color: var(--hq-input-text) !important;
  border-color: var(--hq-line-strong);
}

html[data-theme="light"] .hq-eyebrow::before {
  background: rgba(15, 23, 42, 0.28);
}

html[data-theme="light"] .hq-section-alt,
html[data-theme="light"] .hq-section-band,
html[data-theme="light"] .hq-section-soft,
html[data-theme="light"] .hq-section-deep,
html[data-theme="light"] .hq-section-stack {
  background: #ffffff;
  border-top-color: var(--hq-line);
  border-bottom-color: var(--hq-line);
}

html[data-theme="light"] .hq-section-band {
  background:
    linear-gradient(180deg, rgba(47, 92, 224, 0.04), transparent 40%),
    #f7f9fc;
}

html[data-theme="light"] .hq-section-soft {
  background:
    radial-gradient(720px 280px at 12% 0%, rgba(47, 92, 224, 0.08), transparent 60%),
    #f4f7fc;
}

html[data-theme="light"] .hq-section-alt,
html[data-theme="light"] .hq-section-deep {
  background: #eef3fb;
}

html[data-theme="light"] .hq-card,
html[data-theme="light"] .hq-tile,
html[data-theme="light"] .hq-panel,
html[data-theme="light"] .hq-diff-item,
html[data-theme="light"] .hq-process-step,
html[data-theme="light"] .hq-story-card,
html[data-theme="light"] .hq-industry-card,
html[data-theme="light"] .hq-service-card {
  background: #ffffff !important;
  border-color: var(--hq-line) !important;
  color: var(--hq-text) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .hq-card h3,
html[data-theme="light"] .hq-card .hq-h3,
html[data-theme="light"] .hq-tile h3,
html[data-theme="light"] [style*="color: #fff"],
html[data-theme="light"] [style*="color:#fff"],
html[data-theme="light"] [style*="color: #ffffff"],
html[data-theme="light"] [style*="color:#ffffff"] {
  color: var(--hq-text) !important;
}

html[data-theme="light"] .hq-card p,
html[data-theme="light"] .hq-tile p,
html[data-theme="light"] [style*="color: #9aa8c0"],
html[data-theme="light"] [style*="color:#9aa8c0"],
html[data-theme="light"] [style*="color: #9aa6bc"],
html[data-theme="light"] [style*="color:#9aa6bc"] {
  color: var(--hq-muted) !important;
}

html[data-theme="light"] .hq-link-quiet:hover {
  color: var(--hq-blue-deep);
}

html[data-theme="light"] .hq-btn-wa {
  color: #15803d !important;
  border-color: rgba(22, 163, 74, 0.45);
}

html[data-theme="light"] .hq-hero {
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(47, 92, 224, 0.12), transparent 55%),
    linear-gradient(180deg, #eef3fb 0%, #f8fafc 100%);
  color: var(--hq-text);
}

html[data-theme="light"] .hq-hero-title,
html[data-theme="light"] .hq-hero-copy,
html[data-theme="light"] .hq-hero-count,
html[data-theme="light"] .hq-hero-tab,
html[data-theme="light"] .hq-hero-nav,
html[data-theme="light"] .hq-hero-pause,
html[data-theme="light"] .hq-hero-proof-item strong {
  color: var(--hq-text) !important;
}

html[data-theme="light"] .hq-hero-lead,
html[data-theme="light"] .hq-hero-proof-item span {
  color: var(--hq-muted) !important;
}

html[data-theme="light"] .hq-hero-tab {
  border-color: var(--hq-line-strong);
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .hq-hero-tab.is-active {
  background: var(--hq-blue);
  color: #fff !important;
  border-color: var(--hq-blue);
}

html[data-theme="light"] .hq-hero-nav,
html[data-theme="light"] .hq-hero-pause {
  border-color: var(--hq-line-strong);
  background: #ffffff;
}

html[data-theme="light"] .hq-page-hero,
html[data-theme="light"] .hq-cta-band {
  background:
    linear-gradient(135deg, rgba(47, 92, 224, 0.08), rgba(255, 255, 255, 0.9)),
    #f4f7fc !important;
  color: var(--hq-text);
  border-color: var(--hq-line);
}

html[data-theme="light"] .hq-stack-title {
  color: var(--hq-text);
}

html[data-theme="light"] .hq-stack-chip {
  color: rgba(15, 23, 42, 0.42);
}

html[data-theme="light"] .hq-stack-chip-cat {
  color: rgba(15, 23, 42, 0.62);
}

html[data-theme="light"] .hq-stack-chip.is-active,
html[data-theme="light"] .hq-stack-chip:hover {
  color: #0f766e;
  text-shadow: none;
}

html[data-theme="light"] .hq-stack-chip-cat.is-active,
html[data-theme="light"] .hq-stack-chip-cat:hover {
  color: #0f766e;
}

html[data-theme="light"] .hq-announce {
  background: #e8eefc;
  color: var(--hq-text);
  border-bottom: 1px solid var(--hq-line);
}

html[data-theme="light"] .hq-list-check li,
html[data-theme="light"] .hq-muted,
html[data-theme="light"] .hq-faint {
  color: var(--hq-muted);
}

html[data-theme="light"] .hq-stat strong,
html[data-theme="light"] .hq-stats strong {
  color: var(--hq-text);
}

html[data-theme="light"] .hq-burger {
  color: var(--hq-text);
  background: #ffffff;
}

.hq-float-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.35);
}

/* HapAI chatbot — bottom right agent launcher */
#hq-root > .chatbot-widget-container {
  position: fixed !important;
  left: auto !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 1200 !important;
}

#hq-root .chatbot-window {
  left: auto !important;
  right: 0 !important;
  transform-origin: bottom right;
}

#hq-root .chatbot-intro {
  pointer-events: auto;
}

#hq-root > .hq-float-wa {
  position: fixed !important;
  right: 1.2rem !important;
  bottom: 6.4rem !important;
  z-index: 400 !important;
}

@keyframes hq-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hq-rise { animation: hq-rise 0.65s ease both; }
.hq-rise-2 { animation-delay: 0.1s; }
.hq-rise-3 { animation-delay: 0.18s; }

@media (max-width: 1080px) {
  .hq-nav-center { display: none; }
  .hq-burger { display: inline-flex; }
  .hq-nav-actions .hq-btn-primary { display: none; }
  .hq-nav-actions .hq-theme-toggle { width: 40px; height: 40px; }

  .hq-mobile-drawer.is-open {
    display: block;
    border-top: 1px solid var(--hq-line);
    padding: 0.75rem 0 1.25rem;
  }

  .hq-mobile-group { border-bottom: 1px solid var(--hq-line); }

  .hq-mobile-group > button,
  .hq-mobile-group > a {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.95rem 0;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hq-mobile-sub {
    display: none;
    padding: 0 0 0.85rem;
  }

  .hq-mobile-group.is-open .hq-mobile-sub { display: grid; gap: 0.15rem; }

  .hq-mobile-sub a {
    color: var(--hq-muted);
    text-decoration: none;
    padding: 0.55rem 0.25rem 0.55rem 0.75rem;
    font-size: 0.92rem;
  }

  .hq-update-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hq-diff-list,
  .hq-process-row {
    grid-template-columns: 1fr;
  }

  .hq-hero-grid,
  .hq-split,
  .hq-page-hero-grid,
  .hq-cta-band,
  .hq-footer-grid,
  .hq-grid-4,
  .hq-grid-3,
  .hq-stats {
    grid-template-columns: 1fr;
  }

  .hq-grid-2 { grid-template-columns: 1fr; }
  .hq-stat { border-right: 0; border-bottom: 1px solid var(--hq-line); }
  .hq-stat:last-child { border-bottom: 0; }
  .hq-mega { display: none !important; }
  .hq-announce-inner { flex-wrap: wrap; padding: 0.55rem 0; }
}

@media (min-width: 1081px) {
  .hq-mobile-drawer { display: none !important; }
}

/* Tech stack overview — AssureSoft-style cloud */
.hq-section-stack {
  background: #050814;
  padding: 4.5rem 0 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hq-stack-title {
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 18ch;
  color: #fff;
}

.hq-stack-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.55rem 1.15rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hq-stack-cloud-block {
  display: contents;
}

.hq-stack-chip {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.1rem 0;
  margin: 0;
  color: rgba(148, 163, 184, 0.55);
  font: inherit;
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  cursor: default;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  white-space: nowrap;
}

.hq-stack-chip-cat {
  font-weight: 650;
  color: rgba(148, 163, 184, 0.72);
}

.hq-stack-chip.is-active,
.hq-stack-chip:hover {
  color: #64c7b8;
  text-shadow: 0 0 18px rgba(100, 199, 184, 0.35);
}

.hq-stack-chip-cat.is-active,
.hq-stack-chip-cat:hover {
  color: #8fe0d4;
}

@media (max-width: 760px) {
  .hq-section-stack {
    padding: 3.25rem 0 3.5rem;
  }

  .hq-stack-cloud {
    gap: 0.4rem 0.85rem;
  }

  .hq-stack-chip {
    font-size: 0.9rem;
    white-space: normal;
  }
}

/* Custom cursor — Hapteq blue (no difference blend; that turned red on dark bg) */
.cs-cursor_lg,
.cs-cursor_sm {
  mix-blend-mode: normal !important;
}
.cs-cursor_lg {
  border: 1.5px solid rgba(142, 176, 255, 0.85) !important;
  background: rgba(59, 110, 245, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(59, 110, 245, 0.12) !important;
}
.cs-cursor_sm {
  background-color: #8eb0ff !important;
  box-shadow: 0 0 10px rgba(142, 176, 255, 0.45) !important;
}
