/* sentarivr.com/build/demo: the guided demo. Uses the site's tokens from /css/style.css. */
.bd-hero { padding-top: 128px; padding-bottom: 20px; }
.bd-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin: 8px 0 16px; max-width: 900px; }
.bd-sub { font-size: 18px; color: var(--dim); line-height: 1.6; font-weight: 300; max-width: 720px; margin: 0; }
.bd-hero-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.bd-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.bd-role { border-top: 2px solid var(--accent); padding-top: 16px; }
.bd-role h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.bd-role p { font-size: 15px; color: var(--dim); line-height: 1.7; font-weight: 300; margin: 0; }
.bd-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
.bd-points li { font-size: 17px; color: var(--dim); line-height: 1.6; font-weight: 300; padding-left: 22px; position: relative; }
.bd-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.bd-points strong { color: var(--text); font-weight: 600; }
.bd-h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.bd-p { font-size: 15px; color: var(--dim); line-height: 1.7; font-weight: 300; margin: 0; }

.bd-demo { padding-top: 24px; }
.bd-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.bd-tabs > button, .bd-subtabs button { font: 500 14px var(--font-body); color: var(--dim); background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.bd-tabs > button:hover, .bd-subtabs button:hover { color: var(--text); border-color: var(--border-h); }
.bd-tabs > button[aria-selected="true"] { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.bd-subtabs { display: none; gap: 4px; margin-left: auto; }
.bd-subtabs.on { display: flex; }
.bd-subtabs button { padding: 6px 12px; font-size: 13px; }
.bd-subtabs button.on { color: var(--text); border-color: var(--accent); }

.bd-stage { position: relative; aspect-ratio: 16 / 10; background: var(--bg-el); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; outline: none; }
.bd-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--transition), visibility 0s linear .45s; }
.bd-panel.on { opacity: 1; visibility: visible; transition: opacity .45s var(--transition), visibility 0s; }

.bd-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 14px;
  background: radial-gradient(ellipse at 50% 30%, rgba(61,180,255,0.14), transparent 60%), var(--bg-el); }
.bd-cover h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.bd-cover p { color: var(--dim); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0; font-weight: 300; }
.bd-cover-logo { width: min(280px, 60%); height: auto; margin-bottom: 6px; }
.bd-cover-acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.bd-cover .btn-primary, .bd-ghost { cursor: pointer; font-size: 15px; }
.bd-ghost { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--border-h); color: var(--text); background: transparent; font: 500 15px var(--font-body); text-decoration: none; transition: background .2s; }
.bd-ghost:hover { background: var(--accent-glow); }
.bd-link { background: none; border: 0; color: var(--accent); font: 500 14px var(--font-body); cursor: pointer; padding: 6px; }
.bd-link:hover { text-decoration: underline; }
.bd-fine { font-size: 12px !important; color: var(--muted) !important; margin-top: 10px !important; }

.bd-shot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; container-type: size; padding: 2.6% 3% 3.4%;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(61,180,255,0.16), transparent 70%), linear-gradient(180deg, #0b121b, #070b11); }
/* the picture's own 16:10 box, as big as fits: hotspots are % of it, at any stage shape */
.bd-shot-in { --ar: 1.6; position: relative; width: min(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar); transition: opacity .26s ease;
  border-radius: 12px; overflow: hidden; background: #0d1117;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 70px -18px rgba(0,0,0,0.8), 0 0 90px -30px rgba(61,180,255,0.35); }
.bd-shot-in.swap { opacity: 0; }
/* the camera: tour.js moves these with translate + scale from the top-left corner */
.bd-cam { transform-origin: 50% 50%; will-change: transform; }
.bd-fill { position: absolute; inset: 0; }
.bd-panel[data-panel="editor"] .bd-shot { overflow: hidden; }
.bd-shot img { width: 100%; height: 100%; display: block; }
.bd-spots { position: absolute; inset: 0; pointer-events: none; }
.bd-spot { position: absolute; border: 2px solid var(--accent); border-radius: 10px; box-shadow: 0 0 0 9999px rgba(6,10,16,0.5), 0 0 28px rgba(61,180,255,0.6);
  animation: bd-spot-in .7s var(--transition) both, bd-spot-pulse 2.4s ease-out .5s 1; }
.bd-spot + .bd-spot { box-shadow: 0 0 28px rgba(61,180,255,0.6); }
@keyframes bd-spot-pulse { 0% { outline: 0 solid rgba(61,180,255,0.5); outline-offset: 0; } 100% { outline: 10px solid rgba(61,180,255,0); outline-offset: 6px; } }
.bd-spot span { position: absolute; left: 0; bottom: calc(100% + 7px); white-space: nowrap; font: 600 13px var(--font-display); letter-spacing: -0.01em; color: #04111d; background: var(--accent); padding: 6px 11px; border-radius: 7px; box-shadow: 0 6px 18px -6px rgba(0,0,0,0.6); }
.bd-spot.below span { bottom: auto; top: calc(100% + 7px); }
.bd-spot.right span { left: auto; right: 0; }
@keyframes bd-spot-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.bd-panel iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.bd-panel video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.bd-badge { position: absolute; right: 16px; top: 16px; font: 600 12px var(--font-display); color: var(--text); background: rgba(6,10,16,0.7); border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; }

.bd-chapter { flex-shrink: 0; min-width: 132px; padding: 0 6px 0 10px; font: 600 11px var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap; opacity: 0; transition: opacity .3s ease; }
.bd-chapter.on { opacity: 1; }
.bd-caption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(820px, calc(100% - 32px)); text-align: center; font-size: 16px; line-height: 1.55; color: #fff; background: rgba(6,10,16,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 11px 18px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.bd-caption.on { opacity: 1; }
.bd-paused { position: absolute; right: 14px; top: 14px; display: flex; align-items: center; gap: 10px; background: rgba(6,10,16,0.88); border: 1px solid var(--border-h); border-radius: 10px; padding: 8px 8px 8px 14px; font-size: 13px; color: var(--dim); }
.bd-paused[hidden] { display: none; }
.bd-paused button { background: var(--accent); color: var(--bg); border: 0; border-radius: 7px; padding: 7px 12px; font: 600 13px var(--font-body); cursor: pointer; }

.bd-player { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.bd-player[hidden] { display: none; }
.bd-ctl { flex-shrink: 0; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; color: var(--text); cursor: pointer; }
.bd-ctl:hover { border-color: var(--border-h); }
.bd-ctl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bd-pp .i-play { fill: currentColor; }
.bd-txt { width: auto; padding: 0 12px; font: 600 12px var(--font-display); letter-spacing: .04em; }
.bd-ctl[aria-pressed="true"].bd-txt { color: var(--accent); border-color: var(--border-h); }
.bd-pp .i-play, .bd-player.paused .bd-pp .i-pause { display: none; }
.bd-player.paused .bd-pp .i-play { display: block; }
.bd-ctl .i-off, .bd-ctl[aria-pressed="false"] .i-on { display: none; }
.bd-ctl[aria-pressed="false"] .i-off { display: block; }
.bd-segs { flex: 1; display: flex; gap: 3px; height: 38px; align-items: center; min-width: 0; }
.bd-seg { flex: var(--w, 1) 1 0; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; cursor: pointer; border: 0; padding: 0; }
.bd-seg:hover { background: rgba(255,255,255,0.2); }
.bd-seg i { position: absolute; inset: 0; width: var(--p, 0%); background: var(--accent); }
.bd-time { font: 500 12px var(--font-display); color: var(--dim); font-variant-numeric: tabular-nums; min-width: 82px; text-align: right; }
.bd-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }

.bd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.bd-step { display: flex; gap: 14px; }
.bd-step > span { font: 700 13px var(--font-display); letter-spacing: .08em; color: var(--accent); padding-top: 3px; }
.bd-step h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.bd-step p { font-size: 15px; color: var(--dim); line-height: 1.7; font-weight: 300; margin: 0; }

@media (max-width: 900px) {
  .bd-shot { padding: 3% 3% 16%; }
  .bd-chapter { display: none; }
  .bd-stage { aspect-ratio: auto; height: min(78vh, 680px); }
  .bd-subtabs { margin-left: 0; width: 100%; }
  .bd-steps, .bd-roles { grid-template-columns: 1fr; }
  .bd-caption { font-size: 14px; bottom: 10px; }
  .bd-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-panel, .bd-spot { transition: none; animation: none; }
}
