/* Live demo: one business, four steps (Describe, Build, Grow, Manage), played
   by a visible cursor. Everything is prefixed .ld- so nothing leaks. */
.ld-section { position: relative; padding: 96px 0 104px; background: linear-gradient(180deg, #ffffff 0%, #f7f6fc 46%, #ffffff 100%); overflow: hidden; }
.ld-section::before { content: ""; position: absolute; left: 50%; top: 300px; width: 1100px; height: 640px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(106, 75, 255, 0.16), rgba(106, 75, 255, 0) 68%); pointer-events: none; }
.ld-wrap { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ld-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.ld-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #6A4BFF; margin-bottom: 10px; }
.ld-title { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; color: #17181C; margin: 0 0 14px; }
.ld-title .ld-dot { color: #6A4BFF; }
.ld-sub { font-size: 17px; line-height: 1.55; color: #666B7A; margin: 0; }

/* Tabs */
.ld-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 30px auto 18px; padding: 5px;
  background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px rgba(23,24,28,.07), 0 6px 18px -6px rgba(23,24,28,.12); }
.ld-tab { position: relative; appearance: none; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #666B7A;
  padding: 10px 20px 12px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, background .2s; }
.ld-tab .ld-num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; background: #f1f0f7; color: #6A4BFF; }
.ld-tab:hover { color: #17181C; }
.ld-tab[aria-selected="true"] { background: #17181C; color: #fff; }
.ld-tab[aria-selected="true"] .ld-num { background: rgba(255,255,255,.16); color: #fff; }
.ld-tab .ld-bar { position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; opacity: 0; }
.ld-tab[aria-selected="true"] .ld-bar { opacity: 1; }
.ld-tab .ld-bar i { display: block; height: 100%; width: 0; background: #b9b4ec; }
.ld-tab:focus-visible { outline: 2px solid #6A4BFF; outline-offset: 2px; }

.ld-caption { text-align: center; min-height: 64px; margin: 0 auto 22px; max-width: 640px; }
.ld-caption h3 { font-size: 22px; letter-spacing: -.015em; margin: 0 0 4px; color: #17181C; }
.ld-caption p { margin: 0; color: #666B7A; font-size: 15.5px; line-height: 1.5; }

/* Window */
.ld-window { position: relative; max-width: 1120px; margin: 0 auto; background: #fff; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(23,24,28,.08), 0 2px 4px rgba(23,24,28,.04), 0 18px 40px -12px rgba(23,24,28,.18), 0 50px 100px -30px rgba(106, 75, 255,.35); overflow: hidden; }
.ld-chrome { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(23,24,28,.07); background: #fbfbfd; }
.ld-dots { display: flex; gap: 7px; }
.ld-dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e9; }
.ld-url { flex: 1; max-width: 460px; margin: 0 auto; height: 28px; border-radius: 8px; background: #f0f0f4; color: #666B7A; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 6px; transition: color .3s; }
.ld-url svg { width: 12px; height: 12px; }
.ld-url-pad { width: 47px; }
.ld-stage { position: relative; height: 600px; }

.ld-scene { position: absolute; inset: 0; display: grid; grid-template-columns: 57% 43%; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.ld-scene.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.ld-pane-preview { position: relative; background: #f4f3f8; border-right: 1px solid rgba(23,24,28,.07); overflow: hidden; }
.ld-pane-panel { position: relative; padding: 26px 28px; overflow: hidden; display: flex; flex-direction: column; }

/* Shared bits */
.ld-h { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.1; color: #17181C; margin: 0 0 4px; letter-spacing: -.01em; }
.ld-muted { color: #666B7A; font-size: 14px; margin: 0 0 18px; }
.ld-msg { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.ld-ava { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #17181C; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ld-bubble { background: #f4f3f8; border-radius: 4px 14px 14px 14px; padding: 10px 13px; font-size: 14.5px; line-height: 1.45; color: #17181C; }
.ld-bubble b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6A4BFF; margin-bottom: 3px; }
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 0; font: inherit; font-weight: 600; font-size: 14.5px; background: #17181C; color: #fff; transition: transform .12s, background .2s; }
.ld-btn.is-press { transform: scale(.96); }
.ld-btn-ghost { background: #fff; color: #17181C; box-shadow: inset 0 0 0 1px rgba(23,24,28,.16); }
.ld-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: ld-spin .8s linear infinite; display: none; }
.is-busy .ld-spin { display: inline-block; }
@keyframes ld-spin { to { transform: rotate(360deg); } }

/* Describe */
.ld-skel { position: absolute; inset: 22px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(23,24,28,.06); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ld-sk-bar { height: 12px; border-radius: 6px; background: #ececf2; }
.ld-sk-nav { display: flex; justify-content: space-between; align-items: center; height: 26px; }
.ld-sk-nav .ld-sk-bar { width: 110px; }
.ld-sk-brand { font-family: 'Instrument Serif', Georgia, serif; font-size: 20px; color: #B4583A; opacity: 0; transform: translateY(6px); transition: all .5s; }
.ld-sk-hero { flex: 1; border-radius: 10px; background: #f3f2f7; display: grid; place-items: center; padding: 20px; text-align: center; }
.ld-sk-hero p { font-family: 'Instrument Serif', Georgia, serif; font-size: 26px; line-height: 1.15; color: #3A2A22; margin: 0; opacity: 0; transform: translateY(8px); transition: all .6s .15s; max-width: 380px; }
.ld-sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 92px; }
.ld-sk-cards i { border-radius: 8px; background: #f3f2f7; }
.ld-sketch .ld-sk-brand, .ld-sketch .ld-sk-hero p { opacity: 1; transform: none; }
.ld-sketch .ld-sk-hero { background: #F3EADF; transition: background .6s; }

.ld-input { border-radius: 14px; background: #fff; padding: 12px 14px 10px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 0 0 1px rgba(23,24,28,.10), 0 1px 2px rgba(23,24,28,.04), 0 10px 24px -10px rgba(23,24,28,.18); transition: box-shadow .25s; }
.ld-input.is-focus { box-shadow: 0 0 0 2px #6A4BFF, 0 10px 24px -10px rgba(106, 75, 255,.4); }
.ld-typed { font-size: 15px; line-height: 1.5; color: #17181C; min-height: 66px; }
.ld-typed:empty::before { content: attr(data-ph); color: #9aa0ad; }
.ld-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: #6A4BFF; animation: ld-blink 1s steps(1) infinite; }
@keyframes ld-blink { 50% { opacity: 0; } }
.ld-input-row { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 8px; }
.ld-understood { margin-top: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(23,24,28,.10), 0 14px 30px -14px rgba(23,24,28,.22); padding: 16px 16px 14px;
  opacity: 0; transform: translateY(14px); transition: all .45s cubic-bezier(.2,.8,.2,1); }
.ld-understood.is-in { opacity: 1; transform: none; }
.ld-understood h4 { margin: 0 0 6px; font-size: 13px; color: #6A4BFF; text-transform: uppercase; letter-spacing: .06em; }
.ld-u-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.ld-u-sum { font-size: 14px; color: #3d4150; line-height: 1.45; margin-bottom: 12px; }
.ld-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 22px; padding-top: 10px; border-top: 1px solid rgba(23,24,28,.08); }
.ld-facts span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9aa0ad; }
.ld-facts strong { font-size: 13px; font-weight: 600; }
.ld-collapse { transition: all .35s; }
.ld-collapse.is-gone { opacity: 0; transform: translateY(-6px); height: 0; min-height: 0; margin: 0; padding: 0; overflow: hidden; }

/* Build */
.ld-site { position: absolute; inset: 0; overflow: hidden; background: #F3EADF; }
.ld-site-inner { position: absolute; left: 0; top: 0; width: 100%; transition: transform .9s cubic-bezier(.65,0,.35,1); }
.ld-site img { display: block; width: 100%; height: auto; }
.ld-piece { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.ld-piece.is-in { opacity: 1; transform: none; }
.ld-preview-badge { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: rgba(23,24,28,.82); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.ld-hot { position: absolute; z-index: 4; }
.ld-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ld-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(23,24,28,.08);
  font-size: 14px; line-height: 1.42; opacity: .35; transform: translateY(4px); transition: all .4s; }
.ld-steps li.is-on { opacity: 1; transform: none; }
.ld-steps li .ld-ic { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #ececf2; margin-top: 1px; }
.ld-steps li.is-done .ld-ic { background: #10b981; }
.ld-steps li .ld-ic svg { width: 12px; height: 12px; opacity: 0; }
.ld-steps li.is-done .ld-ic svg { opacity: 1; }
.ld-steps li.is-work .ld-ic { background: transparent; border: 2px solid #d9d7ea; border-top-color: #6A4BFF; animation: ld-spin .8s linear infinite; }

/* Grow */
.ld-grow { padding: 22px; display: grid; grid-template-columns: 1fr; gap: 14px; align-content: start; }
.ld-card { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(23,24,28,.08), 0 10px 26px -14px rgba(23,24,28,.22); overflow: hidden; }
.ld-post { display: grid; grid-template-columns: 210px 1fr; }
.ld-post img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-post-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ld-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6A4BFF; }
.ld-post-text { font-size: 14px; line-height: 1.5; color: #17181C; }
.ld-post-by { font-size: 12.5px; color: #666B7A; }
.ld-row { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.ld-ok { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #0f7a55; }
.is-approved .ld-ok { display: inline-flex; }
.is-approved .ld-row { display: none; }
.ld-vid-card { padding: 16px; display: flex; gap: 16px; align-items: center; }
.ld-vid { position: relative; flex: none; width: 150px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 10px 22px -10px rgba(23,24,28,.45); }
.ld-vid video, .ld-vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-vid-info { display: flex; flex-direction: column; gap: 8px; }
.ld-vid-info strong { font-size: 16px; }
.ld-vid-info p { margin: 0; font-size: 14px; color: #3d4150; line-height: 1.45; }
.ld-grow-side { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.ld-week { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ld-week li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f6f5fa; font-size: 14px; }
.ld-week li em { font-style: normal; font-size: 12px; font-weight: 700; color: #666B7A; background: #fff; padding: 3px 8px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(23,24,28,.08); }
.ld-week li.is-ok em { color: #0f7a55; }

/* Manage */
.ld-manage { grid-template-columns: 57% 43%; }
.ld-banner { position: absolute; left: 0; right: 0; top: 0; z-index: 3; background: #B4583A; color: #fff; text-align: center; font-family: 'Instrument Serif', Georgia, serif;
  font-size: 19px; padding: 10px 14px; transform: translateY(-100%); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ld-banner small { font-family: Inter, sans-serif; font-size: 12px; opacity: .85; margin-left: 8px; }
.is-banner .ld-banner { transform: none; }
.is-banner .ld-site-inner { transform: translateY(44px); }
.ld-phone-wrap { display: grid; place-items: center; padding: 18px 10px; background: #f4f3f8; }
.ld-phone { width: 300px; height: 560px; border-radius: 38px; background: #111; padding: 10px; box-shadow: 0 30px 60px -24px rgba(23,24,28,.55); }
.ld-wa { width: 100%; height: 100%; border-radius: 29px; overflow: hidden; display: flex; flex-direction: column; background: #efe7de; }
.ld-wa-head { display: flex; align-items: center; gap: 9px; padding: 14px 12px 10px; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.ld-wa-head img { width: 30px; height: 30px; border-radius: 50%; }
.ld-wa-head strong { font-size: 14px; }
.ld-wa-head span { display: block; font-size: 11px; color: #666B7A; }
.ld-wa-body { flex: 1; padding: 10px 9px; display: flex; flex-direction: column; gap: 7px; justify-content: flex-end; overflow: hidden; }
.ld-w { max-width: 86%; padding: 7px 9px 5px; border-radius: 9px; font-size: 12.5px; line-height: 1.38; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,.08); background: #fff; align-self: flex-start;
  opacity: 0; transform: translateY(10px) scale(.98); transition: all .35s cubic-bezier(.2,.8,.2,1); display: none; }
.ld-w.is-in { display: block; opacity: 1; transform: none; }
.ld-w.ld-me { align-self: flex-end; background: #d9fdd3; }
.ld-w time { display: block; text-align: right; font-size: 10px; color: #8a8f99; margin-top: 2px; }
.ld-w .ld-pdf { display: flex; align-items: center; gap: 8px; background: #f3f3f3; border-radius: 6px; padding: 7px; margin-bottom: 5px; font-size: 11.5px; }
.ld-w .ld-pdf b { display: grid; place-items: center; width: 26px; height: 30px; border-radius: 4px; background: #e5484d; color: #fff; font-size: 9px; }
.ld-w .ld-media { display: block; height: 70px; border-radius: 6px; margin: -2px -4px 6px; background: #B4583A; color: #fff; font-family: 'Instrument Serif', Georgia, serif; font-size: 15px; display: grid; place-items: center; text-align: center; padding: 6px; }
.ld-w .ld-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 6px -9px -5px; border-top: 1px solid rgba(0,0,0,.08); }
.ld-w .ld-btns span { text-align: center; padding: 8px 4px; color: #027eb5; font-weight: 600; font-size: 12.5px; }
.ld-w .ld-btns span + span { border-left: 1px solid rgba(0,0,0,.08); }
.ld-wa-input { display: flex; align-items: center; gap: 7px; padding: 8px; background: #efe7de; }
.ld-wa-field { flex: 1; min-height: 34px; border-radius: 18px; background: #fff; padding: 8px 12px; font-size: 12.5px; color: #111; }
.ld-wa-field:empty::before { content: "Message"; color: #8a8f99; }
.ld-wa-send { width: 34px; height: 34px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; color: #fff; }
.ld-wa-send svg { width: 16px; height: 16px; }

/* Cursor */
.ld-cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 26px; height: 26px; pointer-events: none; transform: translate(-60px, 300px);
  transition-property: transform; transition-timing-function: cubic-bezier(.45,.05,.25,1); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.ld-cursor svg { width: 26px; height: 26px; display: block; }
.ld-cursor .ld-ring { position: absolute; left: -12px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #6A4BFF; opacity: 0; transform: scale(.3); }
.ld-cursor.is-click .ld-ring { animation: ld-ring .5s ease-out; }
@keyframes ld-ring { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.ld-cursor.is-click svg { transform: scale(.88); transition: transform .1s; }

.ld-note { text-align: center; color: #8a8f99; font-size: 13px; margin: 18px auto 0; max-width: 720px; }
.ld-cta { display: flex; justify-content: center; margin-top: 26px; }

/* Smaller screens: panes stack, nothing is scaled down */
@media (max-width: 900px) {
  .ld-stage { height: auto; min-height: 760px; }
  .ld-scene { grid-template-columns: 1fr; grid-template-rows: auto 330px; }
  .ld-pane-preview { order: 2; border-right: 0; border-top: 1px solid rgba(23,24,28,.07); }
  .ld-pane-panel { order: 1; }
  .ld-manage .ld-phone-wrap { order: 1; }
  .ld-phone { height: 500px; }
  .ld-scene.ld-manage { grid-template-rows: auto 300px; }
  .ld-post { grid-template-columns: 130px 1fr; }
  .ld-vid { width: 120px; }
}
@media (max-width: 560px) {
  .ld-section { padding: 64px 0 72px; }
  .ld-wrap { padding: 0 14px; }
  .ld-tab { padding: 9px 12px 11px; font-size: 14px; }
  .ld-tab .ld-num { display: none; }
  .ld-pane-panel { padding: 18px 16px; }
  .ld-h { font-size: 24px; }
  .ld-facts { grid-template-columns: 1fr 1fr; }
  .ld-post { grid-template-columns: 1fr; }
  .ld-post img { height: 180px; }
  .ld-chrome .ld-url { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-cursor { display: none; }
  .ld-scene, .ld-piece, .ld-understood, .ld-steps li, .ld-w, .ld-banner, .ld-site-inner { transition: none !important; animation: none !important; }
}

.ld-board { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 230px; }
.ld-board img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 0 0 1px rgba(23,24,28,.08); }
@media (max-width: 900px) { .ld-board { width: 170px; } }
@media (max-width: 560px) { .ld-vid-card { flex-direction: column; align-items: flex-start; } .ld-board { width: 100%; } }
