/* demo.lumotext.com player. Brand v2: paper and ultramarine, yellow only for the word being read. */
@font-face { font-family: "Inter"; src: url("Inter-Variable.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #F6F4EE; --surface: #FFFFFF; --surface-2: #F1EFE8; --ink: #0E0F12; --ink-2: #4A4F57; --ink-3: #63676F;
  --line: #E7E4DB; --brand: #2B3BF2; --brand-hover: #1F2BC9; --on-brand: #FFFFFF; --hl: #FFE45C;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0D1226; --surface: #161D38; --surface-2: #1F2747; --ink: #EEF0F7; --ink-2: #CDD2E1; --ink-3: #A3AAC2; --line: #273055; --brand: #A3ACFF; --brand-hover: #B8BFFF; --on-brand: #0D1226; }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.lt-wrap { min-height: 100%; display: flex; flex-direction: column; }
.lt-head { display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 32px); }
.lt-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--sans); letter-spacing: -.02em; }
.lt-brand img { width: 34px; height: 20px; }
.lt-title { color: var(--ink-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lt-spacer { flex: 1; }
.lt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--brand); color: var(--on-brand); font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.lt-btn:hover { background: var(--brand-hover); }
.lt-btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.lt-btn.ghost:hover { background: var(--surface-2); }
.lt-btn:focus-visible, .lt-stage:focus-visible, .lt-spot:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.lt-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px clamp(12px, 3vw, 32px) 20px; gap: 14px; }
.lt-stage { position: relative; width: min(100%, calc((100vh - 170px) * var(--ar)), 1280px); aspect-ratio: var(--ar); border-radius: 18px; overflow: hidden;
  background: #000; box-shadow: 0 1px 2px rgba(14,15,18,.08), 0 30px 70px -30px rgba(14,15,18,.45); cursor: default; }
.lt-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.lt-veil { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,12,24,.38); }
.lt-veil[hidden] { display: none; }
.lt-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px 28px; width: min(92%, 440px); text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.lt-card h1 { margin: 0 0 6px; font: 700 clamp(20px, 2.6vw, 26px)/1.2 var(--sans); letter-spacing: -.02em; }
.lt-card p { margin: 0 0 18px; color: var(--ink-2); }
.lt-card .lt-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lt-card .lt-small { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.lt-play { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.lt-play svg { width: 30px; height: 30px; margin-left: 4px; }
/* the hotspot: a ring where the click goes, pulsing like the extension's own focus point */
.lt-spot { position: absolute; width: 0; height: 0; z-index: 3; border: 0; padding: 0; background: none; cursor: pointer; }
.lt-spot[hidden] { display: none; }
.lt-spot::before, .lt-spot::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.lt-spot::before { width: 18px; height: 18px; background: #2B3BF2; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(16,19,23,.35); }
.lt-spot::after { width: 18px; height: 18px; box-shadow: 0 0 0 2px rgba(43,59,242,.55); animation: lt-pulse 1.6s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes lt-pulse { 0% { width: 18px; height: 18px; opacity: 1; } 100% { width: 74px; height: 74px; opacity: 0; } }
.lt-tip { position: absolute; z-index: 4; max-width: min(320px, 70%); padding: 10px 14px; border-radius: 12px; background: #0E0F12; color: #fff; font: 600 14px/1.35 var(--sans);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); pointer-events: none; transform: translate(-50%, 0); }
.lt-tip[hidden] { display: none; }
.lt-tip small { display: block; margin-top: 2px; font-weight: 500; color: #C9CDD6; }
.lt-continue { position: absolute; z-index: 4; left: 50%; bottom: 7%; transform: translateX(-50%); }
.lt-continue[hidden] { display: none; }
.lt-bar { display: flex; align-items: center; gap: 14px; width: min(100%, 1280px); flex-wrap: wrap; }
.lt-dots { display: flex; gap: 6px; flex: 1; min-width: 120px; }
.lt-dots i { height: 4px; flex: 1; border-radius: 2px; background: var(--line); transition: background .2s; }
.lt-dots i.on { background: var(--brand); }
.lt-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lt-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 13px/1 var(--sans); cursor: pointer; }
.lt-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lt-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.lt-foot { text-align: center; padding: 0 16px 18px; color: var(--ink-3); font-size: 13px; }
.lt-foot a { color: var(--ink-2); }
.lt-toast { position: absolute; z-index: 5; left: 50%; top: 4%; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(14,15,18,.86); color: #fff; font: 600 13px/1 var(--sans); }
.lt-toast[hidden] { display: none; }
/* embedded in an iframe: just the stage and a small badge */
body.embed .lt-head, body.embed .lt-foot { display: none; }
body.embed .lt-main { padding: 0; gap: 8px; }
body.embed .lt-stage { width: 100%; border-radius: 12px; box-shadow: none; }
.lt-badge { position: absolute; z-index: 4; right: 10px; bottom: 10px; display: none; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #0E0F12; font: 700 12px/1 var(--sans); text-decoration: none; }
body.embed .lt-badge { display: inline-flex; }
/* the demo list */
.lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; width: min(100%, 1180px); }
.lt-tile { display: block; text-decoration: none; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.lt-tile img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.lt-tile b { display: block; padding: 14px 16px 4px; font-size: 16px; }
.lt-tile span { display: block; padding: 0 16px 16px; color: var(--ink-3); font-size: 14px; }
.lt-hero { width: min(100%, 1180px); padding: 18px 0 6px; }
.lt-hero h1 { margin: 0 0 6px; font: 700 clamp(28px, 4vw, 44px)/1.1 var(--sans); letter-spacing: -.03em; }
.lt-hero p { margin: 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 640px) { .lt-title { display: none; } .lt-head .lt-btn { height: 36px; padding: 0 14px; } .lt-stage { border-radius: 12px; } }
@media (prefers-reduced-motion: reduce) { .lt-spot::after { animation: none; opacity: .6; width: 40px; height: 40px; } }
