/* Live demo: "watch a change go live" (site/assets/live-demo.js). Scoped under .ld; uses the homepage tokens
   (--volt, --fg, --ink, --sans, --mono, --ease) with fallbacks so /try/ can load it too. */
.ld {
  --ld-volt: var(--volt, #c6ff3d); --ld-fg: var(--fg, #f4f4f1); --ld-ink: var(--ink, #09090b); --ld-ink3: #1b1b20;
  --ld-dim: rgb(244 244 241 / .7); --ld-dim2: rgb(244 244 241 / .55); --ld-line: rgb(255 255 255 / .1); --ld-line2: rgb(255 255 255 / .17);
  --ld-sans: var(--sans, "Geist", system-ui, -apple-system, "Segoe UI", sans-serif); --ld-mono: var(--mono, "Geist Mono", ui-monospace, monospace);
  --ld-ease: var(--ease, cubic-bezier(.22, .8, .2, 1)); --ld-io: cubic-bezier(.65, 0, .35, 1);
  --ld-pw: 272px; --ld-ph: 470px; --ld-site: 100%; --ld-pr: 0px;
  position: relative; width: 100%; font: 400 14px/1.4 var(--ld-sans); color: var(--ld-fg); -webkit-font-smoothing: antialiased; text-align: left;
  display: grid; grid-template-columns: 1fr; padding: 42px 0 44px; }
.ld *, .ld *::before, .ld *::after { box-sizing: border-box; }
.ld :where(p, b, small, em, i) { margin: 0; font-style: normal; }
.ld svg { display: block; }

/* ---------- the site ---------- */
.ld__site { position: relative; z-index: 1; width: var(--ld-site); border-radius: 16px; overflow: hidden; background: #141417;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 60px 110px -40px rgb(0 0 0 / .9), 0 0 0 10px rgb(255 255 255 / .025); }
.ld__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #141417; border-bottom: 1px solid rgb(255 255 255 / .08); }
.ld__bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.ld__url { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 5px 12px; border-radius: 8px; background: rgb(255 255 255 / .06); font: 500 11.5px/1 var(--ld-mono); color: rgb(244 244 241 / .78); min-width: 0; }
.ld__url svg { width: 11px; height: 11px; flex: none; }
.ld__url b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld__livetag { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; padding: 5px 10px; border-radius: 8px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--ld-line2);
  font: 500 10.5px/1 var(--ld-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ld-fg); opacity: 0; transform: translateY(-4px); transition: opacity .5s var(--ld-ease), transform .5s var(--ld-ease); }
.ld__livetag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ld-volt); box-shadow: 0 0 10px rgb(198 255 61 / .8); }
.is-still.is-live .ld__livetag { opacity: 1; transform: none; transition-delay: .5s; }
.ld__shots { position: relative; aspect-ratio: 1440 / 900; background: #1a1a1e; overflow: hidden; }
.ld__shot { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1440 / 900; }
.ld__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ld__thread::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 28px; pointer-events: none; background: linear-gradient(#111115 10%, rgb(17 17 21 / 0)); }
.ld__shot--after { opacity: 0; transition: opacity .9s var(--ld-ease); }
.is-still.is-live .ld__shot--after { opacity: 1; }
.ld__mark { position: absolute; left: calc(var(--x) * 1% - 1.2%); top: calc(var(--y) * 1% - 2%); width: calc(var(--w) * 1% + 2.4%); height: calc(var(--h) * 1% + 4%); border-radius: 12px; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 2px var(--ld-volt), 0 0 0 10px rgb(198 255 61 / .18), 0 0 40px rgb(198 255 61 / .35); }
.is-still.is-live:not(.is-final) .ld__mark { animation: ld-mark 2.6s var(--ld-ease) .35s both; }
@keyframes ld-mark { 0% { opacity: 0; transform: scale(1.15); } 18% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- the owner's phone ---------- */
.ld__phone { position: absolute; z-index: 3; left: var(--ld-pl, 28px); bottom: 0; width: var(--ld-pw); padding: 8px; border-radius: 46px; background: linear-gradient(160deg, #2b2b31, #141417 40%, #1d1d22);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .16), inset 0 0 0 1px rgb(255 255 255 / .07), 0 60px 110px -40px #000, 40px 30px 90px -30px rgb(0 0 0 / .85), 0 0 140px -50px rgb(198 255 61 / .25); }
.ld__screen { position: relative; display: flex; flex-direction: column; height: var(--ld-ph); border-radius: 38px; overflow: hidden; background: radial-gradient(120% 60% at 50% 0%, #17171c, #0c0c0f 60%); }
.ld__status { position: relative; flex: none; display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 6px 26px 0; font: 600 12.5px/1 var(--ld-sans); }
.ld__status::before { content: ""; position: absolute; left: 50%; top: 10px; width: 86px; height: 26px; margin-left: -43px; border-radius: 20px; background: #000; }
.ld__status i { position: relative; width: 22px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgb(244 244 241 / .55); }
.ld__status i::after { content: ""; position: absolute; inset: 3px 6px 3px 3px; border-radius: 1px; background: var(--ld-fg); }
.ld__head { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 14px 11px; border-bottom: 1px solid var(--ld-line); }
.ld__av { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ld-ink); box-shadow: inset 0 0 0 1px var(--ld-line2); font: 700 16px/1 var(--ld-sans); letter-spacing: -.06em; color: var(--ld-ink); }
.ld__av::before { content: ""; position: absolute; width: 14px; height: 16px; background: var(--ld-volt); transform: skewX(-11deg); border-radius: 2px; }
.ld__av span { position: relative; margin-top: -1px; }
.ld__head b { display: block; font: 600 14px/1.2 var(--ld-sans); }
.ld__head small { display: block; font: 500 10.5px/1.3 var(--ld-mono); color: var(--ld-dim2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.ld__thread { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 10px 6px; overflow: hidden; transition: opacity .5s var(--ld-ease); }
.ld__compose { flex: none; display: flex; align-items: center; justify-content: space-between; height: 38px; margin: 6px 12px 14px; padding: 0 4px 0 14px; border-radius: 19px; box-shadow: inset 0 0 0 1px var(--ld-line2); font-size: 13px; color: var(--ld-dim2); }
.ld__compose i { width: 30px; height: 30px; border-radius: 50%; background: var(--ld-ink3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 18V6m-5 5 5-5 5 5' fill='none' stroke='%23f4f4f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* rows collapse until shown, so the thread grows smoothly */
.ld__row { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ld-ease); }
.ld__in { min-height: 0; display: flex; padding-top: 8px; transform-origin: 0 100%; transition: opacity .5s var(--ld-ease), transform .6s var(--ld-ease); }
.ld__row--me .ld__in { justify-content: flex-end; transform-origin: 100% 100%; }
.is-js .ld__row:not(.is-on) { grid-template-rows: 0fr; }
.is-js .ld__row:not(.is-on) .ld__in { opacity: 0; transform: translateY(12px) scale(.97); }
.ld__b { max-width: 84%; padding: 9px 12px; border-radius: 17px 17px 17px 5px; background: var(--ld-ink3); box-shadow: inset 0 0 0 1px var(--ld-line); font: 400 13.5px/1.38 var(--ld-sans); color: var(--ld-fg); }
.ld__row--me .ld__b { border-radius: 17px 17px 5px 17px; background: var(--ld-fg); box-shadow: none; color: var(--ld-ink); }
.ld__typing { display: flex; gap: 4px; padding: 12px 13px; }
.ld__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ld-dim); animation: ld-dot 1.1s var(--ld-ease) infinite; }
.ld__typing i:nth-child(2) { animation-delay: .15s; } .ld__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ld-dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }

/* the staged change card */
.ld__card { width: 100%; }
.ld__b--card { max-width: 84%; }
.ld__chg { position: relative; margin-top: 6px; padding: 10px 12px 11px; border-radius: 14px; background: linear-gradient(#17171c, #121216); box-shadow: inset 0 0 0 1px var(--ld-line2); }
.ld__chgk { display: inline-flex; align-items: center; gap: 6px; font: 500 10px/1 var(--ld-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ld-dim2); }
.ld__chgk i { width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ld-dim2); transition: background-color .4s, box-shadow .4s; }
.ld__chgk b { font-weight: 500; }
.ld__chgk b + b, .is-live .ld__chgk b:first-of-type { display: none; }
.is-live .ld__chgk b + b { display: inline; color: var(--ld-fg); }
.is-live .ld__chgk i { background: var(--ld-volt); box-shadow: 0 0 10px rgb(198 255 61 / .8); }
.ld__chgw { margin-top: 7px; font: 500 11.5px/1.3 var(--ld-sans); color: var(--ld-dim); }
.ld__chgv { margin-top: 3px; font: 600 15px/1.25 var(--ld-sans); letter-spacing: -.015em; color: var(--ld-fg); text-wrap: balance; }
.ld__acts { position: relative; display: flex; gap: 6px; margin-top: 8px; }
.ld__go, .ld__alt { flex: 1 1 0; min-width: 0; display: grid; place-items: center; height: 36px; border-radius: 10px; font: 600 13px/1 var(--ld-sans); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.ld__go { position: relative; background: var(--ld-volt); color: var(--ld-ink); box-shadow: 0 0 0 1px rgb(198 255 61 / .5), 0 8px 24px -12px rgb(198 255 61 / .6); transition: transform .2s var(--ld-ease); }
.ld__go > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity .35s var(--ld-ease), transform .45s var(--ld-ease); }
.ld__go-b, .is-live .ld__go-a { opacity: 0; transform: translateY(10px); }
.is-live .ld__go-b { opacity: 1; transform: none; }
.ld__go svg { width: 14px; height: 14px; }
.ld__go path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .5s var(--ld-ease) .25s; }
.is-live .ld__go path { stroke-dashoffset: 0; }
.is-live:not(.is-final) .ld__go { animation: ld-glow 1.8s var(--ld-ease); }
@keyframes ld-glow { 0% { box-shadow: 0 0 0 1px rgb(198 255 61 / .5), 0 0 0 0 rgb(198 255 61 / .5); } 100% { box-shadow: 0 0 0 1px rgb(198 255 61 / .5), 0 0 0 16px rgb(198 255 61 / 0); } }
.is-press .ld__go { transform: scale(.95); }
.ld__alt { color: var(--ld-fg); font-weight: 500; box-shadow: inset 0 0 0 1px var(--ld-line2); transition: flex-grow .6s var(--ld-io), opacity .3s, margin .6s var(--ld-io); }
.is-live .ld__alt { flex-grow: 0; opacity: 0; margin-left: -6px; }
.ld__tap { position: absolute; left: 25%; top: 18px; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgb(255 255 255 / .3); box-shadow: 0 0 0 1px rgb(255 255 255 / .55), 0 6px 18px rgb(0 0 0 / .35); opacity: 0; pointer-events: none; }
.is-tap .ld__tap { animation: ld-tap 1s var(--ld-ease) forwards; }
@keyframes ld-tap { 0% { opacity: 0; transform: translate(26px, 30px) scale(1.25); } 45% { opacity: 1; transform: none; } 60% { opacity: 1; transform: scale(.8); } 75% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.ld__stamp { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ld-ease) .3s; }
.ld__stamp span { min-height: 0; overflow: hidden; padding: 0 2px; font: 500 10px/1.3 var(--ld-mono); letter-spacing: .03em; color: var(--ld-dim2); text-align: center; opacity: 0; transition: opacity .5s .5s; }
.is-live .ld__stamp { grid-template-rows: 1fr; }
.is-live .ld__stamp span { opacity: 1; padding-top: 8px; }

/* lock-screen style notifications: slide down from the top of the phone */
.ld__notis { position: absolute; z-index: 6; left: 8px; right: 8px; top: 48px; display: grid; gap: 6px; pointer-events: none; }
.ld__noti { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-radius: 14px; background: rgb(28 28 33 / .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .08), 0 18px 40px -16px rgb(0 0 0 / .9);
  opacity: 0; transform: translateY(-18px) scale(.96); transition: opacity .55s var(--ld-ease), transform .65s var(--ld-ease); }
.ld__noti.is-on { opacity: 1; transform: none; }
.ld__noti.is-gone { opacity: 0; transform: translateY(-10px) scale(.97); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -6px; overflow: hidden; transition: opacity .4s var(--ld-ease), transform .4s var(--ld-ease), max-height .5s var(--ld-ease) .1s, padding .5s var(--ld-ease) .1s, margin .5s var(--ld-ease) .1s; }
.ld__noti { max-height: 80px; }
.ld__noti > span { flex: 1; min-width: 0; }
.ld__noti b { display: block; font: 600 12.5px/1.25 var(--ld-sans); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld__noti small { display: block; margin-top: 2px; font: 500 10px/1.25 var(--ld-mono); color: var(--ld-dim2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld__noti em { align-self: flex-start; font: 500 9.5px/1 var(--ld-mono); color: var(--ld-dim2); }
.ld__nico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px var(--ld-line2); }
.ld__nico svg { width: 16px; height: 16px; fill: none; stroke: var(--ld-fg); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ld__nico--star svg { fill: #ffd34d; stroke: none; }

/* loop reset */
.is-out .ld__thread, .is-out .ld__notis { opacity: 0; }
.is-final .ld__row--typing { display: none; }
.ld:not(.is-js) .ld__noti:nth-child(n+3) { display: none; }
.ld__notis { transition: opacity .5s var(--ld-ease); }

/* ---------- compact (inside /try/ and narrow columns): phone and site stacked ---------- */
.ld--compact { --ld-pw: 250px; --ld-ph: 500px; --ld-site: 100%; padding: 0 0 70px; }
.ld--compact .ld__phone { right: 4%; bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) { .ld { --ld-pw: 250px; --ld-ph: 450px; } }
@media (max-width: 900px) { .ld { --ld-pw: 270px; --ld-ph: 470px; --ld-site: 100%; --ld-pl: 2%; padding: 0 0 120px; } }
@media (max-width: 640px) {
  .ld { --ld-pw: min(292px, 80%); --ld-ph: 420px; padding: 0; }
  .ld__site { border-radius: 12px; }
  .ld__bar { height: 28px; padding: 0 10px; gap: 4px; } .ld__bar > i { width: 6px; height: 6px; }
  .ld__url { font-size: 9.5px; padding: 3px 8px; margin-left: 6px; } .ld__livetag { font-size: 9px; padding: 4px 7px; }
  .ld__phone { position: relative; left: auto; right: auto; bottom: auto; padding: 7px; border-radius: 42px; }
  .ld__screen { border-radius: 36px; }
  .ld__status { height: 40px; padding: 6px 22px 0; font-size: 12px; }
  .ld__notis { top: 46px; }
  .ld__b { font-size: 13.5px; }
  .ld__compose { display: none; }
  .ld__thread { padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ld *, .ld *::before, .ld *::after { transition: none !important; animation: none !important; }
  .ld .ld__mark { opacity: 0; }
}
.kit-paused .ld *, .ld.is-idle .ld__typing i { animation-play-state: paused !important; }

/* ---------- v2: a day on your phone (video backdrop, the "you" chip, call / reel / review / day scenes) ---------- */
.ld__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .7s var(--ld-ease); }
.is-video .ld__video { opacity: 1; }
.is-video:not(.is-still) .ld__shot--before { opacity: 0; transition: opacity .7s var(--ld-ease) .1s; }
.ld__shot--before { transition: opacity .5s var(--ld-ease); }
.ld__you { position: absolute; z-index: 4; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px; max-width: calc(var(--ld-site) - 28px); padding: 8px 12px 8px 10px; border-radius: 10px;
  background: rgb(17 17 20 / .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 18px 40px -18px rgb(0 0 0 / .9);
  font: 500 11px/1.25 var(--ld-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ld-dim); white-space: nowrap; transition: opacity .25s var(--ld-ease), transform .3s var(--ld-ease); }
.ld__you b { font-weight: 600; color: var(--ld-fg); letter-spacing: .02em; }
.ld__you span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ld__you em { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ld-line2); color: var(--ld-fg); letter-spacing: .08em; }
.ld__you em::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ld-volt); }
.ld__you--next b { color: var(--ld-volt); }
.ld__you.is-swap { opacity: 0; transform: translateY(-4px); }
.ld__you.is-in { animation: ld-you-in .35s var(--ld-ease) both; }
@keyframes ld-you-in { from { opacity: 0; transform: translateY(-4px); } }
.ld__row--sys .ld__in { justify-content: center; }
.ld__sys { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--ld-line); font: 500 10px/1.2 var(--ld-mono); letter-spacing: .04em; color: var(--ld-dim2); text-transform: uppercase; }
.ld__sys svg { width: 11px; height: 11px; fill: none; stroke: var(--ld-volt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld__row--hm .ld__b { background: #1f2a12; box-shadow: inset 0 0 0 1px rgb(198 255 61 / .35); color: var(--ld-fg); }
.ld__row--hm .ld__card { margin-left: 8%; }
.ld__rv { display: block; max-width: 88%; padding: 10px 12px; }
.ld__stars { display: block; color: #ffd34d; letter-spacing: .12em; font-size: 12px; }
.ld__rv b { display: block; margin-top: 3px; font-weight: 600; font-size: 12.5px; }
.ld__rv p { margin-top: 4px; font-size: 13px; line-height: 1.38; color: var(--ld-dim); }
.ld__chgw--top { margin: 0 0 6px 2px; }
.ld__b--draft { max-width: 100%; margin-left: 0; background: var(--ld-fg); color: var(--ld-ink); box-shadow: none; border-radius: 14px; }
.ld__card--reel .ld__reel { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: linear-gradient(#17171c, #121216); box-shadow: inset 0 0 0 1px var(--ld-line2); }
.ld__reel-ph { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 9px; overflow: hidden; background: #111; }
.ld__reel-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); animation: ld-kb 9s var(--ld-ease) infinite alternate; }
@keyframes ld-kb { to { transform: scale(1.12) translateY(-2%); } }
.ld__reel-play { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgb(0 0 0 / .45); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); display: grid; place-items: center; }
.ld__reel-play svg { width: 13px; height: 13px; fill: #fff; margin-left: 2px; }
.ld__reel-ph em { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 4px; background: rgb(0 0 0 / .6); font: 500 9px/1 var(--ld-mono); color: #fff; }
.ld__reel-k { font: 500 10px/1 var(--ld-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ld-dim2); }
.ld__reel-t { margin-top: 5px; font: 600 15px/1.2 var(--ld-sans); letter-spacing: -.015em; }
.ld__reel-s { margin-top: 4px; font-size: 11.5px; line-height: 1.35; color: var(--ld-dim); }
.ld__reel-w { margin-top: 6px; font: 500 10px/1.3 var(--ld-mono); color: var(--ld-dim2); }
.ld__dayc { padding: 12px 12px 12px; border-radius: 16px; background: linear-gradient(#17171c, #121216); box-shadow: inset 0 0 0 1px var(--ld-line2); }
.ld__day-t { font: 600 13.5px/1.2 var(--ld-sans); letter-spacing: -.01em; }
.ld__day-rows { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.ld__day-rows li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.3; color: var(--ld-dim); opacity: 0; transform: translateX(-6px); transition: opacity .5s var(--ld-ease), transform .5s var(--ld-ease); transition-delay: calc(var(--i) * .22s + .2s); }
.is-live .ld__day-rows li, .ld:not(.is-js) .ld__day-rows li { opacity: 1; transform: none; }
.ld__day-rows svg { flex: none; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgb(255 255 255 / .08); fill: none; stroke: var(--ld-fg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ld__day-time { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ld-line); font: 500 10.5px/1 var(--ld-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ld-dim2); }
.ld__day-time b { font: 600 30px/1 var(--ld-sans); letter-spacing: -.04em; color: var(--ld-volt); opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ld-ease) 1.4s, transform .6s var(--ld-ease) 1.4s; }
.is-live .ld__day-time b, .ld:not(.is-js) .ld__day-time b { opacity: 1; transform: none; }
.ld__day-f { margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: var(--ld-dim); opacity: 0; transition: opacity .6s var(--ld-ease) 1.9s; }
.is-live .ld__day-f, .ld:not(.is-js) .ld__day-f { opacity: 1; }
.ld--phone { padding: 44px 0 0; display: grid; justify-items: center; }
.ld--phone .ld__phone { position: relative; left: auto; right: auto; bottom: auto; }
.ld--phone .ld__you { left: 50%; translate: -50% 0; max-width: 100%; }
@media (max-width: 640px) {
  .ld__you { position: relative; left: 0; top: 0; margin: 0 0 12px; max-width: 100%; white-space: normal; font-size: 10px; }
  .ld__you em { white-space: nowrap; }
  .ld__row--hm .ld__card { margin-left: 4%; }
}

.ld__sys--t { background: transparent; box-shadow: none; padding: 4px 0 2px; }
.ld__row--sys.is-on + .ld__row .ld__in { padding-top: 4px; }
/* phones: the owner's phone leads; the site sits under it */
@media (max-width: 640px) {
  .ld { display: grid; grid-template-columns: 1fr; justify-items: center; }
  .ld__you { order: 1; align-self: start; justify-self: start; }
  .ld__site { order: 2; width: 100%; z-index: 0; }
  .ld__site .ld__shots { aspect-ratio: 4 / 3; }
  .ld__shot, .ld__video { width: 125%; }
  .ld__phone { order: 3; margin: -56px auto 0; }
}

.ld__sys--e { display: block; max-width: 94%; background: transparent; box-shadow: none; padding: 2px 0 0; text-transform: none; letter-spacing: 0; font: 400 10.5px/1.3 var(--ld-sans); color: var(--ld-dim2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld__sys--e b { display: inline; margin-right: 6px; font: 500 9.5px/1.4 var(--ld-mono); letter-spacing: .1em; text-transform: uppercase; }
.ld__preload { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  .ld__you--next { display: grid; grid-template-columns: auto 1fr; white-space: normal; }
  .ld__you--next em { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}

/* ---------- v3: the photo bubble, the staged-change card details, job boards, slide + wipe transitions ---------- */
.ld { --ld-ph: 500px; }
.ld__photo { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; max-width: 92%; padding: 6px; border-radius: 16px 16px 5px 16px; background: var(--ld-fg); color: var(--ld-ink); }
.ld__photo img { display: block; width: 72px; height: 72px; border-radius: 11px; object-fit: cover; }
.ld__photo span { padding-right: 8px; font: 400 13px/1.35 var(--ld-sans); }
.ld__chgm { margin-top: 3px; font: 500 10.5px/1.3 var(--ld-mono); color: var(--ld-dim); }
.ld__adds { margin: 9px 0 0; padding: 8px 0 0; list-style: none; display: grid; gap: 4px; border-top: 1px solid var(--ld-line); }
.ld__adds li { display: flex; align-items: flex-start; gap: 7px; font: 400 11.5px/1.3 var(--ld-sans); color: var(--ld-dim); }
.ld__adds svg { flex: none; width: 13px; height: 13px; margin-top: 1px; fill: none; stroke: var(--ld-fg); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ld__boards { margin-top: 8px; padding: 9px 10px 10px; border-radius: 12px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--ld-line); }
.ld__boards p { font: 500 11px/1.3 var(--ld-sans); color: var(--ld-dim); }
.ld__boards div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ld__board { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 5px; border-radius: 6px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--ld-line2); font: 500 11px/1 var(--ld-sans); color: var(--ld-fg); }
.ld__board i { position: relative; width: 13px; height: 13px; border-radius: 3px; background: var(--ld-fg); }
.ld__board i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 3px; border: solid var(--ld-ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.is-live .ld__boards { opacity: .7; }
/* slide: the new section scrolls in under the old screen */
.ld--t-slide .ld__shot--after { opacity: 0; transform: translateY(7%); transition: opacity .6s var(--ld-ease), transform 1s var(--ld-ease); }
.ld--t-slide.is-still.is-live .ld__shot--after { opacity: 1; transform: none; }
.ld--t-slide .ld__shot--before { transition: opacity .6s var(--ld-ease), transform 1s var(--ld-ease); }
.ld--t-slide.is-still.is-live .ld__shot--before { opacity: 0; transform: translateY(-7%); }
/* wipe: a whole new page comes in from the right */
.ld--t-wipe .ld__shot--after { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ld-io); }
.ld--t-wipe.is-still.is-live .ld__shot--after { clip-path: inset(0); }
.ld--t-wipe .ld__shot--before { transition: none; }
@media (max-width: 1240px) { .ld { --ld-ph: 480px; } }
@media (max-width: 640px) {
  .ld { --ld-ph: 450px; }
  .ld--t-slide .ld__shot--after, .ld--t-wipe .ld__shot--after { width: 100%; }
  .ld__photo { grid-template-columns: 64px 1fr; } .ld__photo img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .ld .ld__shot--after { opacity: 1; transform: none; clip-path: none; } .ld .ld__shot--before { opacity: 0; } }
.ld { --ld-ph: 540px; }
@media (max-width: 1240px) { .ld { --ld-ph: 500px; } }
@media (max-width: 640px) {
  .ld { --ld-ph: 470px; }
  .ld__livetag { white-space: nowrap; font-size: 8.5px; padding: 3px 6px; gap: 5px; }
  .ld__url { flex: 1; min-width: 0; }
}
/* the phone sits a little lower, so the site's URL bar and its own nav stay readable above it */
.ld { --ld-ph: 520px; padding-bottom: 64px; }
@media (max-width: 1240px) { .ld { --ld-ph: 490px; } }
@media (max-width: 900px) { .ld { padding-bottom: 120px; } }
@media (max-width: 640px) { .ld { --ld-ph: 470px; padding-bottom: 0; } }


/* ---------- phones: one composition, not a stack. The chip, then the site at full width (the whole still, 16:10),
   with the owner's phone over the site's lower-left, so the change on the site and the tap that made it share one screen. ---------- */
@media (max-width: 640px) {
  .ld { --ld-pw: 57%; --ld-ph: 340px; display: flex; flex-direction: column; position: relative; padding: 0 0 292px; } /* the phone starts low enough that the site's new photo stays visible above it */
  .ld__you { order: -1; position: relative; left: 0; top: 0; margin: 0 0 10px; max-width: 100%; white-space: normal; }
  .ld__site { position: relative; width: 100%; margin: 0; z-index: 0; }
  .ld__site .ld__shots { aspect-ratio: 1800 / 1125; }
  .ld__shot, .ld__video, .ld--t-slide .ld__shot--after, .ld--t-wipe .ld__shot--after { width: 100%; }
  .ld__phone { position: absolute; left: 4px; right: auto; top: auto; bottom: 0; width: var(--ld-pw); margin: 0; padding: 6px; border-radius: 34px; z-index: 3; translate: none; }
  .ld__screen { height: var(--ld-ph); border-radius: 29px; }
  .ld__compose { display: none; }
  .ld__status { height: 32px; padding: 4px 16px 0; font-size: 10.5px; }
  .ld__status::before { top: 7px; width: 54px; height: 18px; margin-left: -27px; }
  .ld__status i { width: 16px; height: 8px; }
  .ld__head { gap: 7px; padding: 3px 9px 7px; }
  .ld__av { width: 24px; height: 24px; font-size: 12px; } .ld__av::before { width: 10px; height: 12px; }
  .ld__head b { font-size: 12px; } .ld__head small { font-size: 9px; max-width: 110px; }
  .ld__thread { padding: 0 7px 9px; }
  .ld__b { font-size: 11.5px; padding: 6px 9px; border-radius: 13px 13px 13px 4px; } .ld__row--me .ld__b { border-radius: 13px 13px 4px 13px; }
  .ld__photo { grid-template-columns: 44px 1fr; gap: 7px; padding: 4px; } .ld__photo img { width: 44px; height: 44px; border-radius: 8px; } .ld__photo span { font-size: 11px; }
  .ld__chg { padding: 7px 9px 8px; } .ld__chgw { font-size: 10px; } .ld__chgv { font-size: 12.5px; } .ld__chgm { font-size: 9px; }
  .ld__adds { gap: 2px; margin-top: 6px; padding-top: 6px; } .ld__adds li { font-size: 10px; } .ld__adds svg { width: 11px; height: 11px; }
  .ld__boards { padding: 6px 7px 7px; } .ld__boards p { font-size: 9.5px; } .ld__board { font-size: 9.5px; padding: 3px 5px 3px 4px; }
  .ld__acts { margin-top: 6px; } .ld__go, .ld__alt { height: 30px; font-size: 11.5px; border-radius: 8px; }
  .ld__stamp span { font-size: 8.5px; }
  .ld__sys { font-size: 8.5px; } .ld__sys--e { font-size: 9.5px; }
  .ld__notis { top: 34px; left: 5px; right: 5px; }
  .ld__noti { padding: 6px 8px 6px 6px; gap: 7px; } .ld__noti b { font-size: 11px; } .ld__noti small { font-size: 9px; } .ld__nico { width: 24px; height: 24px; } .ld__nico svg { width: 13px; height: 13px; }
  .ld__rv { padding: 7px 9px; } .ld__rv p { font-size: 11px; }
  .ld__reel { grid-template-columns: 54px 1fr; gap: 8px; padding: 7px; } .ld__reel-t { font-size: 12.5px; } .ld__reel-s, .ld__reel-w { font-size: 9.5px; }
  .ld__dayc { padding: 9px; } .ld__day-rows li { font-size: 11px; } .ld__day-time b { font-size: 24px; } .ld__day-f { font-size: 10px; }
  .ld__livetag { margin-left: auto; }
}
@media (max-width: 374px) { .ld { padding-bottom: 300px; } }

/* ---------- wide screens: the change gets the front of the stage (2026-10-27, founder: "the phone sits right on top of the
   web page so you don't actually see any changes"). On "Make it live" the site steps in front of the phone and the changed
   spot is ringed; the phone steps back, dimmed, then takes the front again just before its payoff (live-demo.js FOCUS). ---------- */
@media (min-width: 641px) {
  .ld.is-js .ld__site { transform-origin: 100% 50%; transition: transform .8s var(--ld-ease), scale .7s var(--ld-ease), box-shadow .7s var(--ld-ease); }
  .ld.is-js .ld__phone { transform-origin: 0 100%; transition: transform .8s var(--ld-ease), scale .7s var(--ld-ease), translate .7s var(--ld-ease), filter .6s var(--ld-ease), opacity .6s var(--ld-ease); }
  .ld.is-focus .ld__site { z-index: 5; scale: 1.015; box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 70px 120px -40px #000, -30px 0 80px -20px rgb(0 0 0 / .9), 0 0 0 10px rgb(255 255 255 / .03); }
  .ld.is-focus .ld__phone { scale: .94; translate: 0 10px; filter: brightness(.4) saturate(.4); opacity: .55; }
  .ld.is-focus .ld__mark { animation-duration: 3.4s; }
}
@media (min-width: 641px) and (prefers-reduced-motion: reduce) { .ld.is-js .ld__site, .ld.is-js .ld__phone { transition: none; } }

/* ---------- landing modes (mountLiveDemo mode: glide | split | turn). The change spreads from where it came from (a
   circle reveal from the tap, or from where the beam lands), its edge drawn in volt, then the camera eases in on it. ---------- */
.ld { --rmax: 1400px; }
.ld--t-ripple .ld__shot--after { opacity: 1; clip-path: circle(0px at var(--rx, 20%) var(--ry, 80%)); transition: none; }
.ld--t-ripple.is-still.is-live .ld__shot--after { clip-path: circle(var(--rmax) at var(--rx, 20%) var(--ry, 80%)); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.ld--t-ripple .ld__shot--before { transition: none; }
.ld--t-ripple.is-live .ld__shots::after { content: ""; position: absolute; z-index: 2; left: var(--rx, 20%); top: var(--ry, 80%); width: 0; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none;
  box-shadow: 0 0 0 2px var(--ld-volt), 0 0 26px 2px rgb(198 255 61 / .55), inset 0 0 30px rgb(198 255 61 / .25); animation: ld-ring 1.1s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes ld-ring { 0% { width: 0; opacity: 1; } 85% { opacity: 1; } 100% { width: calc(var(--rmax) * 2); opacity: 0; } }
.ld--t-ripple .ld__shots { transform-origin: var(--mx, 50%) var(--my, 40%); transition: scale .9s var(--ld-ease); }
.ld--t-ripple.is-live .ld__shots { scale: 1.07; transition: scale 6s cubic-bezier(.2, .6, .3, 1) .9s; }
.ld__bar { position: relative; z-index: 2; }
.ld--m-split.ld--t-ripple.is-still.is-live .ld__shot--after { transition-delay: .42s; }
.ld--m-split.ld--t-ripple.is-live .ld__shots::after { animation-delay: .42s; }

@media (min-width: 641px) {
  /* glide: the phone slides to whichever side keeps the change clear, and stays there until the next change needs it to move */
  .ld--m-glide.is-js .ld__phone { translate: var(--glide, 0px) 0; transition: transform .8s var(--ld-ease), translate 1.05s cubic-bezier(.65, 0, .25, 1); }

  /* split: phone and site side by side (the site tucks just under the phone's edge); a volt beam carries the tap to the change */
  .ld--m-split { display: grid; grid-template-columns: var(--ld-pw) minmax(0, 1fr); align-items: center; padding-bottom: 56px; }
  .ld--m-split .ld__phone { position: relative; left: auto; bottom: auto; grid-column: 1; grid-row: 1; }
  .ld--m-split .ld__site { grid-column: 2; grid-row: 1; width: calc(100% + 44px); margin-left: -44px; }
  .ld__beam { position: absolute; z-index: 4; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .ld__beam path { fill: none; stroke-linecap: round; }
  .ld__beam-t { stroke: rgb(198 255 61 / .35); stroke-width: 1.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
  .ld__beam-h { stroke: var(--ld-volt); stroke-width: 3; stroke-dasharray: 90 1100; stroke-dashoffset: 90; filter: drop-shadow(0 0 6px rgb(198 255 61 / .9)); opacity: 0; }
  .ld__beam circle { fill: var(--ld-volt); opacity: 0; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 10px rgb(198 255 61 / .9)); }
  .ld__beam.is-on .ld__beam-t { animation: ld-trail 1.9s cubic-bezier(.6, 0, .3, 1) forwards; }
  .ld__beam.is-on .ld__beam-h { animation: ld-head .5s cubic-bezier(.6, 0, .3, 1) forwards; }
  .ld__beam.is-on circle { animation: ld-hit .9s cubic-bezier(.2, .8, .2, 1) .4s both; }
  @keyframes ld-trail { 0% { stroke-dashoffset: 1000; opacity: 1; } 26% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes ld-head { 0% { stroke-dashoffset: 90; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
  @keyframes ld-hit { 0% { opacity: 1; scale: .4; } 100% { opacity: 0; scale: 5; } }

  /* turn: the phone swings edge-on (like setting it down) to show the site, and turns back to you for the payoff */
  .ld--m-turn { perspective: 1500px; perspective-origin: 10% 60%; }
  .ld--m-turn.is-js .ld__phone { transform-origin: 0 60%; transition: transform .8s var(--ld-ease), rotate .95s cubic-bezier(.65, 0, .25, 1), translate .95s cubic-bezier(.65, 0, .25, 1), filter .95s var(--ld-ease); }
  .ld--m-turn.is-turn .ld__phone { rotate: y 66deg; translate: -18px 0; filter: brightness(.7); }
}
@media (prefers-reduced-motion: reduce) { .ld__beam { display: none; } .ld--t-ripple .ld__shot--after { clip-path: none; } .ld .ld__shots { scale: none; } }
