/* Hero product, after makro.framer.website: a large dashboard window under
   the hero copy. Two cards float tilted above it and, as the page scrolls,
   fly down into the dashed slots waiting for them. */
.hero:not(.hero--light) { overflow-x: clip; overflow-y: visible; --hero-tail: 360px; }
.db { position: relative; z-index: 2; margin-top: 150px; }
.db__from { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.db__from--a { left: 9%; top: -96px; }
.db__from--b { right: 8%; top: -130px; }

.db__win { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0; padding: 10px; border-radius: 30px; background: #eef1f6; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.db__side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 0; border-radius: 22px 0 0 22px; background: #fff; }
.db__logo { width: 34px; height: 34px; margin-bottom: 40px; object-fit: contain; }
.db__side i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #9a9ca3; }
.db__side i.is-on { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -8px rgba(125, 64, 255, 0.6); }
.db__side svg { width: 20px; height: 20px; stroke-width: 1.7; }
.db__main { padding: 28px 30px 30px; border-radius: 0 22px 22px 0; background: #f5f6fa; }
.db__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.db__title { font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: -0.045em; color: #242426; }
.db__sub { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; font-weight: 500; color: #68686f; }
.db__sub i { width: 12px; height: 12px; border-radius: 50%; background: #9a9ca3; }
.db__tools { display: flex; align-items: center; gap: 14px; }
.db__sel { display: inline-flex; align-items: center; gap: 30px; padding: 10px 16px 10px 20px; border-radius: 999px; background: #fff; font-size: 14px; color: #3a3a3d; }
.db__sel svg { width: 16px; height: 16px; }
.db__ico { color: #68686f; } .db__ico svg { width: 20px; height: 20px; }
.db__plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2c2c30; color: #b69bff; } .db__plus svg { width: 18px; height: 18px; stroke-width: 2.2; }

.db__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 214px auto; gap: 16px; margin-top: 26px; }
.db__card { padding: 22px 24px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 16, 17, 0.04); font-size: 14px; color: #3a3a3d; }
.db__card--big { grid-row: 1 / 3; display: flex; flex-direction: column; }
.db__card--src { grid-column: 2 / 4; }
.db__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.db__h span { display: flex; flex-direction: column; } .db__h b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; } .db__h em { margin-top: 3px; font-style: normal; color: #68686f; }
.db__pill { flex: none; padding: 4px 11px; border-radius: 999px; background: #efe9ff; color: #6a35e8; font-style: normal; font-size: 13px; font-weight: 500; }
.db__pill--dark { background: #2c2c30; color: #fff; }
.db__num { margin-top: 6px; font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: -0.04em; color: #242426; }
.db__plot { margin: 16px -10px 0; padding: 14px 14px 8px; border-radius: 12px; background: #eef1f6; }
.db__chart { display: block; width: 100%; height: 190px; }
.db__vl line { stroke: #242426; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.8; }
.db__line { fill: none; stroke: #242426; stroke-width: 2; vector-effect: non-scaling-stroke; }
.db__ax { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: #68686f; }
.db__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.db__stats p { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 1px solid #e6e8ee; } .db__stats p:first-child { padding-left: 0; border-left: 0; }
.db__stats span { font-size: 13px; color: #68686f; } .db__stats b { font-size: 18px; font-weight: 500; color: #242426; }

/* the two slots and the cards that land in them */
.db__slot { position: relative; border-radius: 18px; border: 1.5px dashed #c9cfda; }
.db__fly { position: absolute; inset: -1.5px; display: flex; flex-direction: column; will-change: transform; box-shadow: 0 0 0 1px rgba(16, 16, 17, 0.04), 0 30px 50px -28px rgba(30, 20, 60, 0.45); }
.db__pct { display: flex; align-items: baseline; gap: 4px; margin-top: auto; font-family: var(--display); font-size: 44px; font-weight: 400; letter-spacing: -0.04em; color: #2c2c2f; }
.db__pct small { font-size: 0.6em; color: #68686f; }
.db__tri { margin-left: auto; align-self: center; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 11px solid var(--brand); }
.db__days { display: flex; gap: 8px; margin-top: 14px; }
.db__days span { display: flex; flex-direction: column; align-items: center; width: 52px; padding: 7px 0; border-radius: 10px; font-size: 13px; font-weight: 600; } .db__days em { font-style: normal; font-weight: 400; font-size: 12px; color: #68686f; }
.db__days .is-on { background: #eef1f6; }
.db__fly .db__pct { margin-top: auto; }

.db__stack { display: flex; gap: 4px; margin: 18px -10px 0; padding: 10px; border-radius: 10px; background: #eef1f6; }
.db__stack i { width: var(--w); height: 8px; border-radius: 8px; }
.db__stack i:nth-child(1), .db__rows li:nth-child(1) i { background: #7d40ff; }
.db__stack i:nth-child(2), .db__rows li:nth-child(2) i { background: #a585ff; }
.db__stack i:nth-child(3), .db__rows li:nth-child(3) i { background: #6aa8ff; }
.db__stack i:nth-child(4), .db__rows li:nth-child(4) i { background: #f5b301; }
.db__rows { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.db__rows li { display: grid; grid-template-columns: minmax(0, 1fr) 60px 60px; align-items: center; font-size: 14px; }
.db__rows span { display: flex; align-items: center; gap: 10px; color: #68686f; } .db__rows i { width: 8px; height: 8px; border-radius: 50%; }
.db__rows em { font-style: normal; color: #a5a5ab; } .db__rows b { text-align: right; font-weight: 500; color: #242426; }

@media (max-width: 1100px) {
  .db__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 190px auto; }
  .db__card--big { grid-row: auto; grid-column: 1 / -1; }
  .db__card--src { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero:not(.hero--light) { --hero-tail: 760px; }
  .db { margin-top: 60px; }
  .db__win { grid-template-columns: minmax(0, 1fr); padding: 6px; border-radius: 22px; }
  .db__side { display: none; }
  .db__main { padding: 18px 14px; border-radius: 18px; }
  .db__title { font-size: 28px; }
  .db__tools .db__sel, .db__tools .db__ico { display: none; }
  .db__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
  .db__slot { height: 170px; }
  .db__chart { height: 140px; }
  .db__from { display: none; }
}
/* anchors mark where each card's centre starts */
.db__from--a { left: 17%; top: -70px; }
.db__from--b { left: 83%; right: auto; top: -110px; }
/* tighter: the dashboard sits closer under the hero copy */
.db { margin-top: 64px; }
.db__from--a { top: -30px; }
.db__from--b { top: -56px; }
@media (max-width: 760px) { .db { margin-top: 40px; } }
.db__from--a { left: 15%; top: -150px; }
.db__from--b { left: 85%; top: -170px; }
.db__from--a { top: -178px; } .db__from--b { top: -196px; }

/* after makro home-alt: the window starts tipped back in 3D and flattens as
   it scrolls up; its foot fades into the page */
.db { perspective: 1800px; }
.db__win { transform-origin: 50% 0; will-change: transform; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.db__fly { transition: filter 0.2s linear; }
@media (prefers-reduced-motion: reduce) { .db__win { transform: none !important; } }
/* fade the foot with an overlay, not a mask, so the flying cards are never clipped */
.db__win { position: relative; -webkit-mask-image: none; mask-image: none; }
.db__win::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -2px; height: 22%; border-radius: 0 0 30px 30px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 92%); pointer-events: none; z-index: 3; }
.db__win { box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.6); }

/* ================= hero after makro home-alt =================
   light grey-blue ground, centred light-weight headline, a dark CTA with a
   brand square and a trust row; the dashboard below, its two cards flying in
   from the right half */
.hero.mkh { margin: 0; padding: 150px 0 0; border-radius: 0; overflow-x: clip; overflow-y: visible; background: linear-gradient(180deg, #eef1f6 0%, #eef1f6 72%, #f6f7fa 88%, #fff 100%); color: #242426; }
.hero.mkh::before, .hero.mkh::after { display: none; }
.mkh__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mkh__pill { display: inline-flex; align-items: center; gap: 9px; padding: 4px 15px 4px 5px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: #242426; }
.mkh__pill i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef1f6; color: #242426; }
.mkh__pill svg { width: 13px; height: 13px; stroke-width: 2; }
.mkh__h { margin-top: 26px; max-width: 14ch; font-size: clamp(46px, 6.1vw, 88px); line-height: 1.22; font-weight: 400; letter-spacing: -0.045em; color: #242426; text-wrap: balance; }
.mkh__p { margin-top: 26px; max-width: 32ch; font-size: 18px; line-height: 1.5; color: rgba(36, 36, 38, 0.75); text-wrap: balance; }
.mkh__cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.mkh__btn { display: inline-flex; align-items: center; gap: 18px; padding: 4px 28px 4px 4px; border-radius: 16px; background: #35363b; color: #fff; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; box-shadow: inset 0 0 0 1px #242426; transition: background 0.25s ease; }
.mkh__btn:hover { background: #2a2b2f; }
.mkh__btn i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 13px; background: var(--brand); transition: transform 0.4s var(--ease); }
.mkh__btn:hover i { transform: translateX(3px); }
.mkh__btn svg { width: 22px; height: 22px; stroke-width: 2; }
.mkh__trust { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mkh__faces { display: flex; }
.mkh__faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #eef1f6; }
.mkh__faces img + img { margin-left: -9px; }
.mkh__trust em { font-style: normal; font-size: 14px; color: rgba(36, 36, 38, 0.6); }

.mkh .db { margin-top: 84px; }
.mkh .db__win { padding: 10px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px rgba(36, 36, 38, 0.04), 0 40px 80px -50px rgba(36, 36, 38, 0.35); }
.mkh .db__main { background: #eef1f6; }
/* the cards wait over the right half: one on the dashboard, one beside it */
.mkh .db__from--a { left: 57%; top: 70px; }
.mkh .db__from--b { left: 87%; top: -90px; }
@media (max-width: 760px) {
  .hero.mkh { padding-top: 110px; }
  .mkh__h { font-size: 44px; line-height: 1.15; }
  .mkh__p { font-size: 16.5px; }
  .mkh .db { margin-top: 50px; }
}
@media (min-width: 761px) {
  .hero.mkh { padding-top: 132px; }
  .mkh__h { max-width: 17ch; line-height: 1.16; }
  .mkh__p { max-width: 44ch; margin-top: 22px; }
  .mkh__cta { margin-top: 34px; }
  .mkh .db { margin-top: 70px; }
}

/* dark hero keeps its top; only the dashboard below follows makro home-alt:
   white outer frame, and the cards waiting over its right half */
.hero:not(.mkh) .db__win { padding: 10px; border-radius: 30px; background: #fff; }
.hero:not(.mkh) .db__main { background: #eef1f6; }
.hero:not(.mkh) .db__from--a { left: 57%; top: 70px; }
.hero:not(.mkh) .db__from--b { left: 87%; top: -90px; }

/* ---------- dashboard: the four self-serve features, live ---------- */
.db__pill--live { display: inline-flex; align-items: center; gap: 6px; background: #e8f6dc; color: #3c8a1e; }
.db__pill--live > i { width: 7px; height: 7px; border-radius: 50%; background: #5fb800; animation: ft-ping 1.6s ease-out infinite; }
@keyframes ft-ping { 0% { box-shadow: 0 0 0 0 rgba(95, 184, 0, 0.5); } 100% { box-shadow: 0 0 0 7px rgba(95, 184, 0, 0); } }
.ft__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ft__t { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 14px 12px; border: 0; border-radius: 14px; background: #f5f6fa; box-shadow: inset 0 0 0 1px rgba(36, 36, 38, 0.05); font-family: inherit; text-align: left; color: #3a3a3d; cursor: pointer; transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease); }
.ft__t:hover { background: #eff0f5; }
.ft__t.is-on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand), 0 14px 26px -16px rgba(125, 64, 255, 0.55); transform: translateY(-2px); }
.ft__t .ft__top { display: flex; align-items: center; justify-content: space-between; align-self: stretch; }
.ft__t .ft__top > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #6b6d74; box-shadow: inset 0 0 0 1px rgba(36, 36, 38, 0.06); transition: background 0.35s ease, color 0.35s ease; }
.ft__t.is-on .ft__top > i { background: var(--brand); color: #fff; box-shadow: none; }
.ft__t .ft__top svg { width: 15px; height: 15px; }
.ft__n { font-style: normal; font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: #242426; }
.ft__name { margin-top: 8px; font-size: 14px; font-weight: 600; }
.ft__act { font-size: 12px; color: #68686f; }
.ft__body { display: flex; flex-direction: column; gap: 4px; align-self: stretch; margin-top: 8px; min-height: 54px; font-size: 12px; }
.ft__val { display: flex; flex-wrap: wrap; gap: 6px; } .ft__val s { color: #a5a5ab; } .ft__val b { font-weight: 600; color: #242426; }
.ft__note { color: #8a5a00; }
.ft__prod { display: flex; align-items: center; gap: 8px; } .ft__prod img { width: 30px; height: 30px; border-radius: 8px; background: #eef1f6; object-fit: contain; }
.ft__prod span { display: flex; flex-direction: column; min-width: 0; } .ft__prod b { font-weight: 600; } .ft__prod em { font-style: normal; color: #68686f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft__sz { display: flex; gap: 4px; } .ft__sz span { flex: 1; padding: 3px 0; border-radius: 6px; background: #eef1f6; text-align: center; font-weight: 600; font-size: 11px; }
.ft__sz .is-was { color: #a5a5ab; text-decoration: line-through; } .ft__t.is-on .ft__sz .is-on { background: var(--brand); color: #fff; }
.ft__ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: #3c8a1e; opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease 0.25s, transform 0.4s var(--ease) 0.25s; }
.ft__ok i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e8f6dc; } .ft__ok svg { width: 10px; height: 10px; stroke-width: 3; }
.ft__t.is-on .ft__ok { opacity: 1; transform: none; }
@media (max-width: 1100px) { .ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ft__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ft__t { padding: 12px 10px 10px; }
  .ft__act, .ft__note, .ft__prod em { display: none; }
  .ft__body { min-height: 40px; }
  .ft__n { font-size: 15px; }
}

/* hero dashboard: it no longer ends in a visible frame foot — it is cut on a
   straight line and fades into the page well before that line */
.hero:not(.mkh) .db { max-height: 680px; clip-path: inset(-1200px -400px 0 -400px); }
.hero:not(.mkh) .db__win { box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, 0.5); padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero:not(.mkh) .db__main { border-bottom-right-radius: 0; }
.hero:not(.mkh) .db__side { border-bottom-left-radius: 0; }
.hero:not(.mkh) .db__win::after { height: 220px; bottom: auto; top: calc(680px - 220px); border-radius: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%); }
@media (max-width: 760px) {
  .hero:not(.mkh) .db { max-height: 760px; }
  .hero:not(.mkh) .db__win::after { top: calc(760px - 200px); height: 200px; }
}
/* the fade sits over the whole dashboard block and runs past its sides, so
   neither the frame's edges nor its shadow survive at the foot */
.hero:not(.mkh) .db__win::after { display: none; }
.hero:not(.mkh) .db::after { content: ""; position: absolute; z-index: 5; left: -120px; right: -120px; bottom: 0; height: 260px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 55%, #fff 80%); pointer-events: none; }
@media (max-width: 760px) { .hero:not(.mkh) .db::after { left: -20px; right: -20px; height: 220px; } }
@media (max-width: 760px) {
  .hero:not(.mkh) .db::after { left: -80px; right: -80px; }
  .hero:not(.mkh) .db__win { box-shadow: 0 0 0 1px rgba(36, 36, 38, 0.04); }
}
.hero:not(.mkh) .db { clip-path: inset(-1200px -400px -6px -400px); }
.hero:not(.mkh) .db::after { bottom: -6px; }

/* No status dots in front of labels anywhere on the site */
.db__pill--live > i { display: none !important; }
