/* ================= 02 / DELIVERY + ANALYTICS ================= */
.exp-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.exp-copy .title { font-size: clamp(32px, 3.9vw, 54px); }
.exp-lede { margin: 22px 0 28px; max-width: 470px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.features li > span { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.features h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.features p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }

.scene { position: relative; padding: 34px 0 40px 34px; }
.browser {
  position: relative; z-index: 1; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 50px 80px -50px rgba(20, 20, 30, .45);
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfbf9; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2dc; }
.address { flex: 1; text-align: center; padding: 6px 12px; border-radius: 99px; background: var(--bg); font-size: 12px; color: var(--ink-2); }
.address b { font-weight: 400; font-size: 10px; margin-right: 4px; }
.reload { color: var(--muted); font-size: 14px; }

.page { padding: 22px 30px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-brand { align-self: stretch; text-align: left; font-weight: 600; letter-spacing: -.04em; font-size: 17px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.page-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e3590c; }
.page h3 { margin: 8px 0 18px; font-size: clamp(24px, 2.5vw, 32px); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; }
.page h3 em { font-style: normal; color: #e3590c; }
.page-video { position: relative; width: 100%; aspect-ratio: 16 / 8.4; border-radius: 16px; overflow: hidden; background: #e3590c; }
.page-video img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; object-position: 50% 8%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.pv-tag { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 99px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pv-play { position: absolute; left: 24%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 13px; padding-left: 3px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }
.pv-bar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; }
.pv-bar i { display: block; height: 100%; width: 0; background: #fff; }
.page-cta {
  margin-top: 18px; border: 0; cursor: pointer; font-family: inherit;
  background: #e3590c; color: #fff; box-shadow: none;
}
.page-cta:hover { filter: brightness(.95); }
.page-cta.clicked { transform: scale(.96); }
.page-note { margin-top: 10px; font-size: 12px; color: var(--ink-2); }

.metric {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(20, 20, 30, .45);
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.metric.on { opacity: 1; transform: none; }
.metric small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.metric strong { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; letter-spacing: -.02em; }
.metric strong b { font-variant-numeric: tabular-nums; }
.metric p { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.m-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--c); color: #fff; font-size: 12px; }
.m-track { margin-top: 7px; width: 150px; height: 4px; border-radius: 4px; background: #ececE6; overflow: hidden; }
.m-track i { display: block; height: 100%; width: 0; background: #2340ff; }
.m-live { width: 8px; height: 8px; border-radius: 50%; background: #e3590c; box-shadow: 0 0 0 0 rgba(227,89,12,.5); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(227,89,12,0); } 100% { box-shadow: 0 0 0 0 rgba(227,89,12,0); } }
.m-watch { left: -6px; top: 46%; }
.m-click { right: -18px; top: 8px; }
.m-event { right: -18px; bottom: 18px; }
.scene-bubble { position: absolute; z-index: 3; top: 4px; left: 8px; }
.scene-note { position: absolute; left: 34px; bottom: 0; margin: 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ================= MARQUEE ================= */
.marquee {
  margin: clamp(80px, 11vw, 140px) 0 0; overflow: hidden;
  background: #d9f24a; padding: 26px 0;
  transform: rotate(-1.5deg) scale(1.02);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap;
  font-size: clamp(34px, 5vw, 64px); font-weight: 500; letter-spacing: -.05em; line-height: 1;
}
.marquee .mq { position: relative; display: inline-flex; font-style: normal; transform: rotate(-6deg); }
.marquee .mq:nth-of-type(even) { transform: rotate(6deg); }
.marquee img { width: 1.15em; height: 1.15em; border-radius: .26em; object-fit: cover; object-position: 50% 12%; box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); }
.marquee .mq b {
  position: absolute; left: 50%; top: 50%; width: .46em; height: .46em; margin: -.23em 0 0 -.23em;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.5);
}
.marquee .mq b::before {
  content: ""; margin-left: .04em; width: 0; height: 0;
  border-style: solid; border-width: .08em 0 .08em .13em; border-color: transparent transparent transparent #111;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= 03 / IMPLEMENTATION ================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 8px; }
.step {
  display: flex; flex-direction: column;
  padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 50px -40px rgba(20, 20, 30, .5);
}
.in .step.reveal { animation-name: stepIn; }
@keyframes stepIn { from { opacity: 0; filter: blur(10px); transform: translateY(30px) rotate(var(--r)); } to { opacity: 1; filter: none; transform: rotate(var(--r)); } }
.step { transition: transform .6s var(--ease); }
.step:hover { transform: rotate(0deg) translateY(-6px) !important; }
.step-feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-feature p { color: rgba(255,255,255,.7) !important; }
.step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 44px; }
.step-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c); color: var(--on, #fff); font-size: 15px; }
.step-num { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.step-badge { margin-left: auto; padding: 5px 10px 6px; border-radius: 12px 12px 3px 12px; background: #d9f24a; color: #111; font-size: 11px; font-weight: 500; transform: rotate(4deg); }
.step h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.035em; }
.step p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.step-visual { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 8px; min-height: 92px; align-content: start; }
.step-feature .step-visual { border-top-color: rgba(255,255,255,.18); }
.trigger, .map { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 11px; background: var(--bg); font-size: 12px; }
.trigger code, .map code { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; }
.trigger em { margin-left: auto; font-style: normal; color: var(--ink-2); font-size: 11px; }
.trigger.dim { opacity: .55; }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: #e3590c; }
.trigger.dim .t-dot { background: #12a05c; }
.map { background: rgba(255,255,255,.08); color: #fff; }
.map code { color: #d9f24a; }
.map span { opacity: .5; }
.map b { font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #e9e9e3; transform-origin: bottom; }
.bars i:last-child { background: #12a05c; }
.in .bars i { animation: grow 1s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .08s; } .bars i:nth-child(3) { animation-delay: .16s; } .bars i:nth-child(4) { animation-delay: .24s; } .bars i:nth-child(5) { animation-delay: .32s; } .bars i:nth-child(6) { animation-delay: .4s; }
@keyframes grow { from { transform: scaleY(0); } }

/* ================= TOAST ================= */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13.5px;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .exp-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .scene { padding: 30px 0 64px; }
  .page { padding: 20px; }
  .m-watch { left: 8px; top: auto; bottom: 34px; }
  .m-click { right: 8px; top: 0; }
  .m-event { display: none; }
  .scene-note { left: 0; }
  .marquee { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .m-live { animation: none; }
  .metric { opacity: 1; transform: none; }
}
