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

.hero h1.hero-breaks {
  font-size: clamp(49px, calc(4.5vw + 1px), 57px);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-break-mobile,
.hero-space-mobile {
  display: none;
}

.hero-where-line {
  white-space: nowrap;
}

.hero-media {
  min-height: 620px;
}

.hero-system {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  isolation: isolate;
  touch-action: pan-y;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  background-image: radial-gradient(#8390a4 .65px, transparent .65px);
  background-size: 22px 22px;
}

.hs-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 650px;
  transform: translate(-50%, -50%) scale(.95);
  transform-origin: center;
}

.hs-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 11%;
  bottom: 8%;
  z-index: 0;
  border-left: 1px dashed rgba(91, 105, 128, .22);
}

.hs-item {
  position: absolute;
  z-index: 4;
  will-change: transform;
}

.hs-drift {
  position: relative;
  animation: hs-drift var(--hs-speed, 7s) ease-in-out infinite alternate;
  animation-delay: var(--hs-delay, 0s);
}

.hs-drift-1 { --hs-speed: 8.4s; --hs-delay: -2s; --hs-r1: -1.2deg; --hs-r2: .5deg; }
.hs-drift-2 { --hs-speed: 7.1s; --hs-delay: -4s; --hs-r1: .9deg; --hs-r2: -.5deg; }
.hs-drift-3 { --hs-speed: 6.6s; --hs-delay: -1s; --hs-r1: .3deg; --hs-r2: 1.1deg; }
.hs-drift-4 { --hs-speed: 8.8s; --hs-delay: -5s; --hs-r1: -.6deg; --hs-r2: .8deg; }
.hs-drift-5 { --hs-speed: 7.8s; --hs-delay: -3s; }
.hs-drift-6 { --hs-speed: 6.8s; --hs-delay: -1.5s; }
.hs-drift-7 { --hs-speed: 8.1s; --hs-delay: -4.5s; }
.hs-drift-8 { --hs-speed: 9.2s; --hs-delay: -3.5s; --hs-r1: -.2deg; --hs-r2: .35deg; }

@keyframes hs-drift {
  from { transform: translate3d(-3px, -5px, 0) rotate(var(--hs-r1, -.7deg)); }
  to { transform: translate3d(5px, 7px, 0) rotate(var(--hs-r2, .8deg)); }
}

.hs-strategy-card {
  position: relative;
  width: calc(var(--hs-card-width, 160px) + 8px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(25, 37, 57, .14), 0 2px 6px rgba(25, 37, 57, .06);
}

.hs-strategy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 23, 35, .03);
  pointer-events: none;
}

.hs-strategy-card p {
  margin: 0;
  padding: 9px 10px 10px;
  color: #263044;
  font: 700 10px/1.3 var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hs-strategy-card p span {
  display: block;
  margin-top: 4px;
  color: #8a93a3;
  font-size: 9px;
  font-weight: 500;
}

.hs-graphic {
  position: relative;
  width: 100%;
  height: var(--hs-graphic-height, 92px);
  overflow: hidden;
}

.hs-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .52;
  background-image: radial-gradient(rgba(50, 72, 111, .25) .65px, transparent .65px);
  background-size: 11px 11px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}

.hs-s1 { top: 45px; left: 0; --hs-card-width: 158px; --hs-graphic-height: 94px; }
.hs-s2 { top: 8px; left: 211px; --hs-card-width: 174px; --hs-graphic-height: 98px; }
.hs-s3 { top: 40px; left: 444px; --hs-card-width: 168px; --hs-graphic-height: 94px; }
.hs-s4 { top: 177px; left: 214px; --hs-card-width: 174px; --hs-graphic-height: 88px; }

.hs-growth { background: linear-gradient(145deg, #eaf1ff, #f8faff); }
.hs-growth-ring { position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; border: 1px dashed #8fa9e0; border-radius: 50%; transform: translate(-50%, -50%); }
.hs-growth-core { position: absolute; z-index: 3; left: 50%; top: 50%; width: 24px; height: 24px; border: 7px solid #255fe6; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(37, 95, 230, .1); }
.hs-growth-node { position: absolute; z-index: 3; width: 15px; height: 15px; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 2px 7px rgba(35, 62, 111, .2); }
.hs-growth-node::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 40px; height: 1px; background: #718cc5; transform-origin: left center; }
.hs-growth-node.hs-n1 { left: 21%; top: 23%; background: #ffb545; }
.hs-growth-node.hs-n1::after { transform: rotate(35deg); }
.hs-growth-node.hs-n2 { right: 18%; top: 28%; background: #6e8fda; }
.hs-growth-node.hs-n2::after { transform: rotate(145deg); }
.hs-growth-node.hs-n3 { left: 30%; bottom: 15%; background: #34ad78; }
.hs-growth-node.hs-n3::after { transform: rotate(-43deg); }

.hs-funnel { display: grid; place-content: center; gap: 5px; background: linear-gradient(145deg, #fff4df, #fffaf0); }
.hs-funnel-level { position: relative; z-index: 2; height: 15px; border-radius: 2px; background: #f2aa36; box-shadow: inset 0 -1px 0 rgba(79, 54, 17, .12); }
.hs-funnel-level::after { position: absolute; inset: 0; display: grid; place-items: center; color: #5f461c; font: 800 9px/1 var(--font-mono); letter-spacing: .08em; }
.hs-funnel-level.hs-f1 { width: 112px; clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%); }
.hs-funnel-level.hs-f1::after { content: "AWARENESS"; }
.hs-funnel-level.hs-f2 { width: 82px; margin-inline: auto; background: #ffd06b; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.hs-funnel-level.hs-f2::after { content: "ENGAGEMENT"; }
.hs-funnel-level.hs-f3 { width: 48px; margin-inline: auto; background: #255fe6; clip-path: polygon(0 0, 100% 0, 75% 100%, 25% 100%); }
.hs-funnel-level.hs-f3::after { content: "CAPTURE"; color: #fff; }

.hs-assets { background: linear-gradient(145deg, #eaf8f4, #f7fcfa); }
.hs-asset-line { position: absolute; z-index: 1; left: 22%; right: 22%; top: 50%; height: 1px; background: #6fa893; }
.hs-asset-line::before, .hs-asset-line::after { content: ""; position: absolute; top: -15px; width: 1px; height: 30px; background: #6fa893; }
.hs-asset-line::before { left: 0; transform: rotate(-54deg); }
.hs-asset-line::after { right: 0; transform: rotate(54deg); }
.hs-asset-tile { position: absolute; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(32, 91, 69, .18); border-radius: 7px; color: #21684f; background: #fff; box-shadow: 0 7px 16px rgba(37, 93, 73, .1); font: 800 9px/1 var(--font-mono); }
.hs-asset-tile.hs-t1 { left: 9%; top: 16%; }
.hs-asset-tile.hs-t2 { left: 50%; bottom: 9%; transform: translateX(-50%); }
.hs-asset-tile.hs-t3 { right: 9%; top: 16%; }
.hs-asset-hub { position: absolute; z-index: 3; left: 50%; top: 45%; width: 20px; height: 20px; border: 6px solid #30a779; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }

.hs-execution { background: linear-gradient(145deg, #eeeaff, #faf9ff); }
.hs-execution-road { position: absolute; z-index: 1; left: 13%; right: 13%; top: 52%; height: 2px; border-top: 2px dashed #9b8ed1; transform: rotate(-8deg); }
.hs-execution-step { position: absolute; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: #6e58c8; box-shadow: 0 3px 10px rgba(67, 49, 142, .24); font: 800 9px/1 var(--font-mono); }
.hs-execution-step.hs-e1 { left: 11%; top: 57%; }
.hs-execution-step.hs-e2 { left: 42%; top: 39%; }
.hs-execution-step.hs-e3 { right: 10%; top: 25%; }
.hs-execution-flag { position: absolute; z-index: 2; right: 11%; top: 12%; width: 2px; height: 26px; background: #5b45b5; }
.hs-execution-flag::after { content: ""; position: absolute; left: 2px; top: 0; width: 22px; height: 13px; border-radius: 1px 2px 2px 1px; background: #ffb545; clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%); }

.hs-platform-card {
  width: 164px;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce1e9;
  border-radius: 5px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(24, 39, 65, .1);
}

.hs-platform-card strong { display: block; font-size: 13px; letter-spacing: -.01em; }
.hs-platform-card small { display: block; margin-top: 4px; color: #8992a2; font: 500 9px/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.hs-platform-logo { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 10px; }
.hero-media .hs-google-logo img { width: 35px; height: 35px; object-fit: contain; }
.hs-meta-logo { color: #0866ff; font: 700 37px/1 Arial, sans-serif; transform: translateY(-2px); }
.hs-linkedin-logo { background: #0a66c2; }
.hero-media .hs-linkedin-logo img { width: 21px; height: auto; filter: invert(1); object-fit: contain; }
.hs-p1 { top: 350px; left: 228px; }
.hs-p2 { top: 326px; left: 0; }
.hs-p3 { top: 330px; left: 456px; }

.hs-analytics-card {
  width: 402px;
  padding: 15px 19px;
  border: 1px solid rgba(45, 62, 89, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 58px rgba(22, 37, 62, .14);
}

.hs-analytics-body { display: grid; grid-template-columns: 118px 1fr; gap: 20px; }
.hs-kpi small { color: #8b94a4; font: 600 9px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.hs-kpi strong { display: block; margin-top: 6px; font-size: 29px; letter-spacing: -.045em; }
.hs-kpi em { display: inline-block; margin-top: 7px; padding: 3px 5px; border-radius: 3px; color: #168052; background: #e9f7f0; font: normal 700 9px/1 var(--font-mono); }
.hs-chart { display: flex; height: 76px; align-items: end; gap: 6px; padding: 4px 0; border-bottom: 1px solid #dfe4ec; background: repeating-linear-gradient(to top, transparent 0 24px, #edf0f4 25px); }
.hs-chart i { flex: 1; height: var(--value); min-width: 7px; border-radius: 2px 2px 0 0; background: #b9c8ea; animation: hs-bars 2.8s ease-in-out infinite alternate; animation-delay: var(--delay); transform-origin: bottom; }
.hs-chart i:nth-child(3n) { background: var(--accent); }
.hs-a1 { top: 480px; left: 109px; }

@keyframes hs-bars {
  from { transform: scaleY(.82); opacity: .75; }
  to { transform: scaleY(1); opacity: 1; }
}

.hs-connector { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(102, 116, 139, .3) 18%, rgba(102, 116, 139, .3) 82%, transparent); transform-origin: left center; }
.hs-connector::after { content: ""; position: absolute; right: 7%; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(37, 95, 230, .08); }
.hs-c1 { width: 210px; top: 272px; left: 88px; transform: rotate(21deg); }
.hs-c2 { width: 190px; top: 260px; left: 508px; transform: rotate(157deg); }
.hs-c3 { width: 160px; top: 403px; left: 105px; transform: rotate(28deg); }
.hs-c4 { width: 180px; top: 406px; left: 520px; transform: rotate(154deg); }
.hs-c5 { width: 128px; top: 398px; left: 314px; transform: rotate(89deg); }

.hs-orbit {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 48%;
  width: 470px;
  height: 330px;
  border: 1px solid rgba(37, 95, 230, .09);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-11deg);
}

.hs-orbit::before { content: ""; position: absolute; inset: 35px 65px; border: 1px solid rgba(37, 95, 230, .07); border-radius: inherit; }

@media (max-width: 1340px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { min-height: 600px; }
  .hs-scene { transform: translate(-50%, -50%) scale(.91); }
}

@media (max-width: 720px) {
  .hero { gap: 32px; }
  .hero-copy { min-width: 0; }
  .hero h1.hero-breaks { font-size: clamp(30px, 10vw, 48px); }
  .hero-line { white-space: normal; }
  .hero-break-desktop,
  .hero-space-desktop { display: none; }
  .hero-break-mobile { display: block; }
  .hero-space-mobile { display: inline; }
  .hero-where-line { display: contents; white-space: normal; }
  .rotating-word { min-width: 0; }
  .hs-strategy-card p { font-size: 18px; letter-spacing: .04em; }
  .hs-strategy-card p span { font-size: 15px; line-height: 1.42; }
  .hs-funnel-level::after, .hs-asset-tile, .hs-execution-step { font-size: 14px; }
  .hs-platform-card strong { font-size: 19px; }
  .hs-platform-card small, .hs-kpi small, .hs-kpi em { font-size: 14px; }
  .hs-kpi strong { font-size: 34px; }
  .hero-media { min-height: 560px; }
  .hero-system { inset-inline: -16px; }
  .hs-scene { height: 740px; transform: translate(-50%, -50%) scale(.65); }
  .hs-s1 { left: 0; }
  .hs-s3 { left: 444px; }
  .hs-s4 { top: 225px; }
  .hs-funnel-level.hs-f1 { width: 152px; }
  .hs-funnel-level.hs-f2 { width: 132px; }
  .hs-funnel-level.hs-f3 { width: 88px; }
  .hs-p1 { top: 455px; left: 213px; }
  .hs-p2 { top: 431px; left: 0; }
  .hs-p3 { top: 435px; left: auto; right: 0; }
  .hs-p1 .hs-platform-card, .hs-p2 .hs-platform-card { width: 194px; }
  .hs-p1 .hs-platform-card strong, .hs-p2 .hs-platform-card strong { white-space: nowrap; }
  .hs-a1 { top: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-drift, .hs-chart i { animation: none !important; }
}
