/* =====================================================================
   Appslin ERP pages — "Watch the demo" player + "Complete package" enquiry
   The demo is an HTML/CSS screen recording driven by js/erp-demo.js:
   a fixed 960×540 canvas scaled to fit, so it looks the same on every
   screen and can be exported frame by frame as an MP4.
   ===================================================================== */

/* ---------------- Section ---------------- */
.ed-sec { background: linear-gradient(180deg, #fff, var(--erp-soft, #f2f7ff) 140%); }
.ed-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--erp-deep); margin-bottom: 12px; }
.ed-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--erp); box-shadow: 0 0 0 4px color-mix(in srgb, var(--erp) 22%, transparent); }
.ed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; margin-top: 30px; }

/* ---------------- Player ---------------- */
.ed { min-width: 0; }
.ed-frame { border-radius: 20px; background: var(--navy-900); padding: 10px; box-shadow: 0 40px 90px rgba(10, 31, 68, .22); }
.ed-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #fbfcfe; cursor: pointer; }
.ed-canvas { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.ed-canvas .app { position: absolute; inset: 0; border-radius: 0; border: 0; font-size: 13px; }
.ed-canvas .app-body { position: absolute; inset: 38px 0 0 0; min-height: 0; grid-template-columns: 180px 1fr; }
.ed-canvas .app-bar { height: 38px; padding: 0 16px; }
.ed-canvas .app-bar b { font-size: 13px; }
.ed-canvas .app-search { font-size: 11px; padding: 4px 40px 4px 12px; }
.ed-canvas .app-nav { padding: 14px 10px; gap: 4px; }
.ed-canvas .app-nav li { padding: 9px 12px; font-size: 12.5px; transition: background-color .25s, color .25s; }
.ed-canvas .app-main { position: relative; padding: 0; overflow: hidden; display: block; }

/* scenes are stacked; the engine sets --sv (0..1) for the cross-fade */
.ed-scene { position: absolute; inset: 0; padding: 18px 20px; display: grid; gap: 14px; align-content: start; opacity: var(--sv, 0); visibility: hidden; }
.ed-scene.is-live { visibility: visible; }
.ed-scene-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ed-scene-h b { font-family: var(--f-display); font-size: 17px; color: var(--ink); }
.ed-scene-h span { font-size: 11px; font-weight: 700; color: var(--erp-deep); background: var(--erp-soft); padding: 4px 10px; border-radius: 10px; }

/* timed reveal: --p goes 0..1 */
.ed-in { opacity: var(--p, 0); transform: translateY(calc((1 - var(--p, 0)) * 10px)); }
.ed-pop { opacity: var(--p, 0); transform: scale(calc(.9 + var(--p, 0) * .1)); }
.ed-grow { transform-origin: bottom; transform: scaleY(var(--g, 0)); }
.ed-fill { transform-origin: left; transform: scaleX(var(--g, 0)); }
.ed-swap > .ed-b { display: none; }
.ed-swap.is-on > .ed-a { display: none; }
.ed-swap.is-on > .ed-b { display: inline; }

/* building blocks */
.ed-row { display: grid; gap: 14px; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); align-items: start; }
.ed-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; box-shadow: 0 6px 18px rgba(10, 31, 68, .05); }
.ed-card-t { font-weight: 700; font-size: 12.5px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ed-card-t small { font-weight: 600; color: var(--muted); font-size: 11px; }
.ed-field { display: grid; gap: 4px; }
.ed-field label { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ed-field > div { min-height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13px; color: var(--ink); background: #fff; display: flex; align-items: center; gap: 6px; }
.ed-field.is-focus > div { border-color: var(--erp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--erp) 18%, transparent); }
.ed-caret { display: inline-block; width: 1.5px; height: 15px; background: var(--erp-deep); margin-left: 1px; opacity: 0; }
.is-typing .ed-caret { opacity: 1; }
.ed-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 9px; background: var(--erp); color: #fff; font-weight: 700; font-size: 12.5px; transition: transform .12s, filter .12s; justify-self: start; }
.ed-btn--ghost { background: #fff; color: var(--erp-deep); border: 1px solid color-mix(in srgb, var(--erp) 40%, var(--line)); }
.ed-btn.is-pressed, .ed-pick.is-pressed { transform: scale(.95); filter: brightness(.92); }
.ed-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: var(--erp-soft); color: var(--erp-deep); white-space: nowrap; }
.ed-chip--warn { background: #fff4e5; color: #b45309; }
.ed-chip--bad { background: #fdecec; color: #b42318; }
.ed-chip--ok { background: #e3f7ef; color: #067a52; }
.ed-chip--blue { background: #e6efff; color: #1c4ed8; }
.ed-list { display: grid; }
.ed-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.ed-list > div:last-child { border-bottom: 0; }
.ed-list b { font-weight: 700; color: var(--ink); }
.ed-list span { color: var(--muted); }
.ed-list .ed-r { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ed-pick { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: #fff; display: grid; gap: 2px; font-size: 12px; transition: border-color .2s, background-color .2s; }
.ed-pick b { font-size: 12.5px; color: var(--ink); }
.ed-pick span { color: var(--muted); font-size: 11px; }
.ed-pick.is-on, .ed-pick.is-done { border-color: var(--erp); background: var(--erp-soft); }
.ed-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ed-slots .ed-pick { text-align: center; padding: 8px 4px; font-weight: 700; color: var(--ink); }
.ed-slots .ed-pick.is-off { color: #b8c3d4; background: #f5f7fb; text-decoration: line-through; }
.ed-toast { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--navy-900); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 16px 34px rgba(10, 31, 68, .25); }
.ed-toast i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #10b981; font-style: normal; font-size: 13px; flex: none; }
.ed-toast small { display: block; color: rgba(255, 255, 255, .7); font-weight: 500; font-size: 11px; }
.ed-float { position: absolute; right: 20px; bottom: 18px; z-index: 3; max-width: 330px; }
.ed-big { font-family: var(--f-display); font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.ed-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ed-kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 3px; }
.ed-kpis small { color: var(--muted); font-size: 11px; font-weight: 600; }
.ed-kpis b { font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.ed-kpis em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--erp-deep); }
.ed-bars { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 10px; align-items: end; height: 150px; }
.ed-bars > div { display: grid; grid-template-rows: 1fr auto; gap: 5px; height: 100%; align-items: end; }
.ed-bars span { display: block; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--erp), color-mix(in srgb, var(--erp) 50%, #fff)); }
.ed-bars small { font-size: 10px; color: var(--muted); text-align: center; }
.ed-meter { height: 8px; border-radius: 8px; background: #edf1f7; overflow: hidden; }
.ed-meter > i { display: block; height: 100%; background: var(--erp); border-radius: 8px; }
.ed-flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; position: relative; }
.ed-flow > div { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); position: relative; }
.ed-flow > div::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 3px; background: #e3e9f2; z-index: 0; }
.ed-flow > div:first-child::before { display: none; }
.ed-flow > div i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: #e3e9f2; color: #fff; font-size: 13px; position: relative; z-index: 1; transition: background-color .25s; }
.ed-flow > div.is-on { color: var(--ink); }
.ed-flow > div.is-on i, .ed-flow > div.is-on::before { background: var(--erp); }
.ed-kan { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 10px; }
.ed-kan > div { background: #f1f4f9; border-radius: 12px; padding: 10px; min-height: 250px; display: grid; gap: 8px; align-content: start; }
.ed-kan > div > p { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.ed-kan > div > p span { background: #fff; border-radius: 8px; padding: 0 7px; color: var(--muted); }
.ed-ticket { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--erp); border-radius: 9px; padding: 8px 9px; display: grid; gap: 3px; font-size: 11px; }
.ed-ticket b { font-size: 12px; color: var(--ink); }
.ed-ticket span { color: var(--muted); }
.ed-mover { position: absolute; z-index: 4; width: 150px; pointer-events: none; box-shadow: 0 14px 30px rgba(10, 31, 68, .22); }
.ed-grid-t { width: 100%; border-collapse: collapse; font-size: 12px; }
.ed-grid-t th { text-align: left; font-size: 10.5px; color: var(--muted); font-weight: 700; padding: 7px 10px; background: #f4f6fa; border-bottom: 1px solid var(--line); }
.ed-grid-t td { padding: 7px 10px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.ed-grid-t tr:last-child td { border-bottom: 0; }
.ed-grid-t .c { text-align: center; }
.ed-grid-t .r { text-align: right; }
.ed-grid-t td.is-low { color: #b42318; background: #fdecec; font-weight: 700; }
.ed-grid-t tfoot td { font-weight: 800; font-family: var(--f-display); border-top: 1px solid var(--line); }
.ed-phone { width: 230px; border-radius: 26px; background: var(--navy-900); padding: 8px; box-shadow: 0 20px 44px rgba(10, 31, 68, .25); }
.ed-phone > div { background: #fff; border-radius: 19px; padding: 14px 12px; display: grid; gap: 9px; min-height: 380px; align-content: start; }
.ed-phone .ed-phone-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; color: var(--ink); }
.ed-wa { background: #e7fbe9; border-radius: 12px 12px 12px 3px; padding: 9px 11px; font-size: 11.5px; color: #0b3d1e; line-height: 1.4; }
.ed-wa small { display: block; color: #4b7a5a; font-size: 10px; margin-top: 3px; text-align: right; }

/* cursor */
.ed-cursor { position: absolute; left: 0; top: 0; z-index: 10; width: 26px; height: 26px; pointer-events: none; transform: translate(var(--cx, 700px), var(--cy, 400px)); opacity: var(--co, 0); }
.ed-cursor svg { width: 26px; height: 26px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.ed-cursor::after { content: ""; position: absolute; left: -12px; top: -12px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--erp); opacity: var(--cr, 0); transform: scale(calc(.4 + var(--cr2, 0) * 1.1)); }

/* title + end cards */
.ed-card-full { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 40px;
  background: radial-gradient(ellipse 70% 80% at 50% 40%, color-mix(in srgb, var(--erp) 35%, var(--navy-800)), var(--navy-900) 75%); color: #fff; opacity: var(--sv, 0); visibility: hidden; }
.ed-card-full.is-live { visibility: visible; }
.ed-card-full img { height: 46px; width: auto; }
.ed-card-full small { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--erp) 45%, #fff); }
.ed-card-full h3 { font-family: var(--f-display); font-size: 40px; line-height: 1.1; color: #fff; max-width: 720px; letter-spacing: -.02em; }
.ed-card-full p { font-size: 17px; color: rgba(255, 255, 255, .8); max-width: 620px; }
.ed-card-full .ed-end-ct { display: flex; gap: 22px; font-size: 16px; font-weight: 700; margin-top: 6px; }

/* in-canvas caption (shown in the exported video only) */
.ed-subtitle { display: none; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 9; width: max-content; max-width: 760px; background: rgba(6, 20, 48, .88); color: #fff; padding: 7px 14px; border-radius: 10px; font-size: 13px; text-align: center; line-height: 1.4; }
.ed-subtitle b { color: color-mix(in srgb, var(--erp) 40%, #fff); margin-right: 6px; }
.ed--rec .ed-subtitle { display: block; }
.ed--rec .ed-canvas .app-main .ed-scene { padding-bottom: 54px; }
.ed--rec .ed-float { bottom: 58px; }

/* big play button */
.ed-bigplay { position: absolute; inset: 0; z-index: 12; display: grid; place-items: center; background: rgba(6, 20, 48, .35); border: 0; cursor: pointer; transition: opacity .25s; }
.ed-bigplay span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--erp-deep); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); transition: transform .2s; }
.ed-bigplay:hover span { transform: scale(1.06); }
.ed-bigplay svg { width: 30px; height: 30px; margin-left: 4px; }
.ed.is-playing .ed-bigplay { opacity: 0; pointer-events: none; }

/* controls */
.ed-ctrl { display: flex; align-items: center; gap: 12px; padding: 12px 6px 4px; color: #fff; }
.ed-ctrl button { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.ed-ctrl button:hover { background: rgba(255, 255, 255, .2); }
.ed-ctrl button svg { width: 18px; height: 18px; }
.ed-ctrl .ed-i-pause { display: none; }
.ed.is-playing .ed-ctrl .ed-i-play { display: none; }
.ed.is-playing .ed-ctrl .ed-i-pause { display: block; }
.ed-bar { flex: 1; display: flex; gap: 4px; height: 22px; align-items: center; cursor: pointer; min-width: 0; }
.ed-bar > i { position: relative; flex: var(--w) 1 0; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.ed-bar > i::after { content: ""; position: absolute; inset: 0; background: var(--erp); transform-origin: left; transform: scaleX(var(--f, 0)); }
.ed-time { font: 600 12px/1 var(--f-body); color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* chapters */
.ed-chapters { display: grid; gap: 8px; counter-reset: ch; }
.ed-chapters li { margin: 0; }
.ed-chapters button { width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--body); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.ed-chapters button > span:first-child { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--erp-soft); color: var(--erp-deep); font-weight: 800; font-size: 13px; }
.ed-chapters b { display: block; color: var(--ink); font-family: var(--f-display); font-size: .95rem; line-height: 1.25; }
.ed-chapters small { display: block; font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.ed-chapters button:hover { border-color: color-mix(in srgb, var(--erp) 45%, var(--line)); }
.ed-chapters button.is-on { border-color: var(--erp); background: var(--erp-soft); box-shadow: 0 10px 24px color-mix(in srgb, var(--erp) 18%, transparent); }
.ed-chapters button.is-on > span:first-child { background: var(--erp); color: #fff; }
.ed-caption { display: none; }
.ed-dl { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--erp-deep); }
.ed-dl svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .ed-layout { grid-template-columns: 1fr; }
  .ed-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ed-frame { padding: 6px; border-radius: 16px; margin-inline: -6px; }
  .ed-stage { border-radius: 10px; }
  .ed-bigplay span { width: 58px; height: 58px; }
  .ed-ctrl { gap: 10px; padding: 10px 4px 2px; }
  .ed-ctrl button { width: 34px; height: 34px; }
  .ed-caption { display: block; margin: 14px 2px 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .92rem; line-height: 1.45; }
  .ed-caption b { display: block; color: var(--erp-deep); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
  .ed-chapters { grid-template-columns: 1fr; gap: 6px; }
  .ed-chapters button { padding: 9px 10px; }
  .ed-chapters small { display: none; }
}

/* =====================================================================
   Complete package: Website + Mobile App + ERP
   ===================================================================== */
.cp-sec { background: var(--navy-950); color: rgba(255, 255, 255, .74); position: relative; overflow: hidden; }
.cp-sec::before { content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--erp) 40%, transparent), transparent); opacity: .55; pointer-events: none; }
.cp-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: end; margin-bottom: 34px; }
.cp-head .ed-eyebrow { color: color-mix(in srgb, var(--erp) 50%, #fff); }
.cp-head h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
.cp-head h2 em { font-style: normal; color: color-mix(in srgb, var(--erp) 55%, #fff); }
.cp-head p { font-size: 1.02rem; }
.cp-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cp-plus { display: none; }
.cp-card { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px 22px; display: grid; gap: 14px; align-content: start; }
.cp-card--erp { background: linear-gradient(160deg, color-mix(in srgb, var(--erp) 28%, transparent), rgba(255, 255, 255, .05) 70%); border-color: color-mix(in srgb, var(--erp) 55%, transparent); }
.cp-card-h { display: flex; align-items: center; gap: 12px; }
.cp-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .1); color: #fff; }
.cp-ico .i { width: 22px; height: 22px; }
.cp-card--erp .cp-ico { background: var(--erp); }
.cp-card-h small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cp-card-h h3 { color: #fff; font-size: 1.22rem; }
.cp-card > p { font-size: .94rem; line-height: 1.55; }
.cp-list { display: grid; gap: 9px; }
.cp-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .93rem; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.cp-list li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cp-card--erp .cp-list li::before { background-color: var(--erp); }
.cp-list b { color: #fff; font-weight: 700; }
.cp-why { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; }
.cp-why > div { padding: 18px 20px; display: grid; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .12); }
.cp-why > div:first-child { border-left: 0; }
.cp-why b { color: #fff; font-family: var(--f-display); font-size: 1rem; }
.cp-why span { font-size: .86rem; line-height: 1.45; }
.cp-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 22px; padding: 22px 24px; border-radius: 20px; background: #fff; color: var(--body); }
.cp-cta h3 { color: var(--ink); font-size: 1.25rem; margin-bottom: 4px; }
.cp-cta p { font-size: .95rem; }
.cp-cta .d1-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-cta .hx-btn--primary { background: linear-gradient(115deg, var(--erp-deep), var(--erp)); box-shadow: 0 14px 30px color-mix(in srgb, var(--erp) 35%, transparent); }
@media (max-width: 1080px) {
  .cp-head { grid-template-columns: 1fr; align-items: start; }
  .cp-grid { grid-template-columns: 1fr; }
  .cp-why { grid-template-columns: 1fr 1fr; }
  .cp-why > div:nth-child(3) { border-left: 0; }
  .cp-why > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
  .cp-card { padding: 20px 18px; }
  .cp-why { grid-template-columns: 1fr; }
  .cp-why > div { border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .cp-why > div:last-child { border-bottom: 0; }
  .cp-cta { padding: 20px 18px; }
  .cp-cta .d1-actions .hx-btn { flex: 1 1 100%; }
}

/* demo: elements that appear / disappear at a moment */
.ed-show:not(.is-on) { display: none !important; }
.ed-hide.is-on { display: none !important; }
.ed-canvas .ed-grow { display: block; }
.ed-bars span.ed-grow { height: auto; }
.ed-meter > i.ed-fill { width: auto; }
.ed-bed.is-on { border-color: var(--erp); background: var(--erp-soft); }

/* =====================================================================
   Module catalogue
   ===================================================================== */
.mx-sec { background: #fff; }
.mx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 28px; }
.mx-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 20px; background: #fff; display: grid; gap: 14px; align-content: start; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.mx-card:hover { border-color: color-mix(in srgb, var(--erp) 45%, var(--line)); box-shadow: 0 18px 40px rgba(10, 31, 68, .08); transform: translateY(-2px); }
.mx-h { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.mx-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--erp-soft); color: var(--erp-deep); }
.mx-ico .i { width: 20px; height: 20px; }
.mx-h h3 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 2px; }
.mx-h p { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.mx-n { font: 800 .78rem/1 var(--f-display); color: var(--erp-deep); background: var(--erp-soft); border-radius: 20px; padding: 6px 9px; }
.mx-card ul { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-card li { font-size: .82rem; font-weight: 600; color: var(--ink); background: #f5f8fd; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; line-height: 1.3; }
.mx-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--erp-soft); }
.mx-extras li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9rem; line-height: 1.45; color: var(--body); }
.mx-extras .i { color: var(--erp-deep); width: 20px; height: 20px; margin-top: 1px; }
.mx-extras b { color: var(--ink); }
@media (max-width: 760px) {
  .mx-grid { grid-template-columns: 1fr; }
  .mx-card { padding: 16px; }
}

/* The demo canvas is a fixed 960×540 picture that is scaled; never apply the page's phone layout to it */
@media (max-width: 1080px) {
  .ed-canvas .app { font-size: 13px !important; }
  .ed-canvas .app-body { grid-template-columns: 180px 1fr !important; min-height: 0 !important; }
  .ed-canvas .app-nav { display: grid !important; }
  .ed-canvas .app-search { display: inline-block !important; }
  .ed-canvas .ed-row { grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); }
  .ed-canvas .ed-kan { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)) !important; }
  .ed-canvas .ed-slots { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Hero: right column filled under the screen (v12) ===== */
.ep-hero-more { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 22px; }
.ep-hm-demo { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: space-between; padding: 18px 20px; border-radius: 18px; background: var(--navy-900, #0a1f44); color: #fff; text-decoration: none; box-shadow: 0 24px 50px -28px rgba(10,31,68,.6); transition: transform .3s var(--ease, ease), box-shadow .3s; }
.ep-hm-demo::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, var(--erp-glow, rgba(37,99,235,.3)), transparent); opacity: 1.6; pointer-events: none; }
.ep-hm-demo:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -28px rgba(10,31,68,.7); color: #fff; }
.ep-hm-top { position: relative; display: flex; align-items: center; gap: 14px; }
.ep-hm-play { position: relative; width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--erp, #2563eb); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--erp, #2563eb) 25%, transparent); }
.ep-hm-play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--erp, #2563eb) 60%, transparent); animation: ep-hm-ping 2.2s var(--ease, ease) infinite; }
.ep-hm-play svg { width: 20px; height: 20px; margin-left: 3px; }
@keyframes ep-hm-ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ep-hm-play::after { animation: none; } }
.ep-hm-top small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 3px; }
.ep-hm-top b { display: block; font-family: var(--f-display); font-size: 1.02rem; line-height: 1.3; color: #fff; }
.ep-hm-steps { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: hm; }
.ep-hm-steps li { counter-increment: hm; display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 4px 10px 4px 5px; }
.ep-hm-steps li::before { content: counter(hm); width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 800; background: color-mix(in srgb, var(--erp, #2563eb) 70%, #fff 0%); color: #fff; }
.ep-hm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ep-hm-facts li { display: grid; align-content: center; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid color-mix(in srgb, var(--erp, #2563eb) 22%, var(--line, #e5e9f2)); border-radius: 16px; box-shadow: 0 14px 30px -24px rgba(10,31,68,.35); }
.ep-hm-facts b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--erp-deep, #1c4ed8); }
.ep-hm-facts span { font-size: .8rem; font-weight: 600; line-height: 1.35; color: var(--muted, #5b6478); }
@media (min-width: 1081px) {
  .ep-hero-grid { align-items: stretch !important; }
  .ep-hero-visual { display: flex; flex-direction: column; align-self: stretch !important; }
  .ep-hero-more { margin-top: auto; padding-top: 22px; }
}
@media (max-width: 1080px) { .ep-hero-more { margin-top: 18px; } }
@media (max-width: 640px) {
  .ep-hero-more { grid-template-columns: 1fr; }
  .ep-hm-facts b { font-size: 1.1rem; }
  .ep-hm-facts li { padding: 12px 14px; }
}
.ep-hero-visual > .ep-note { position: static; order: 0; text-align: right; margin: 10px 14px 0; }
@media (min-width: 1081px) {
  .ep-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .ep-hero-copy > .ep-who { margin-top: auto; align-self: stretch; }
  .ep-hero .d1-actions { margin-bottom: 28px; }
}

/* sound button (v12) */
.ed-ctrl .ed-sound { width: auto; border-radius: 100px; padding: 0 14px 0 11px; gap: 7px; display: inline-flex; align-items: center; font: 700 12px/1 var(--f-body, inherit); letter-spacing: .02em; white-space: nowrap; }
.ed-sound .ed-s-on { display: none; }
.ed.is-sound .ed-sound .ed-s-on { display: inline; }
.ed.is-sound .ed-sound .ed-s-off { display: none; }
.ed.is-sound .ed-ctrl .ed-sound { background: rgba(74, 222, 128, .22); color: #bbf7d0; }
.ed.is-playing:not(.is-sound) .ed-ctrl .ed-sound { animation: ed-sound-hint 1.8s ease-in-out 3; }
@keyframes ed-sound-hint { 50% { background: rgba(255, 255, 255, .32); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); } }
@media (max-width: 480px) { .ed-ctrl .ed-sound span { display: none; } .ed-ctrl .ed-sound { width: 34px; padding: 0; justify-content: center; } }
.ed--rec .ed-sound { display: none !important; }

/* Module catalogue v12: "Included in every module" fills the empty space in the last row */
.mx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mx-card--extras { grid-column: span var(--sp4, 4); background: radial-gradient(ellipse 70% 90% at 100% 0%, color-mix(in srgb, var(--erp) 14%, transparent), transparent 70%), var(--erp-soft); border-color: color-mix(in srgb, var(--erp) 28%, var(--line)); align-content: start; }
.mx-card--extras:hover { transform: none; }
.mx-card--extras .mx-ico { background: #fff; }
.mx-card--extras .mx-extras { margin: 0; padding: 0; background: none; border-radius: 0; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 22px; }
.mx-card--extras .mx-extras li { background: none; border: 0; padding: 0; font-weight: 400; font-size: .9rem; border-radius: 0; }
@media (max-width: 1239px) { .mx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mx-card--extras { grid-column: span var(--sp3, 3); } }
@media (max-width: 899px) { .mx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mx-card--extras { grid-column: span var(--sp2, 2); } }
@media (max-width: 640px) { .mx-grid { grid-template-columns: 1fr; } .mx-card--extras { grid-column: auto; } }
.mx-card--extras .mx-extras { display: grid; }
