/* LensPreview — dark dev-tool chrome; the stage simulates the world+lens. */
:root {
  --bg: #101318;
  --panel: #181d24;
  --line: #2a323d;
  --text: #d9e0e8;
  --dim: #8492a3;
  --accent: #59c2a2;
  --lens-size: min(72vw, 480px);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 -apple-system, "Segoe UI", sans-serif;
}
header { padding: 28px 24px 8px; max-width: 980px; margin: 0 auto; }
header h1 { margin: 0; font-size: 26px; letter-spacing: .5px; }
.tag { color: var(--dim); margin: 6px 0 0; max-width: 640px; }
main { max-width: 980px; margin: 0 auto; padding: 12px 24px 48px; }

.controls { background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
#loadForm { display: flex; gap: 8px; flex-wrap: wrap; }
#loadForm input[type=url] { flex: 1 1 280px; background: #0c0f13;
  border: 1px solid var(--line); border-radius: 6px; color: var(--text);
  padding: 9px 12px; font-size: 14px; }
button { background: var(--accent); color: #08110e; border: 0;
  border-radius: 6px; padding: 9px 16px; font-weight: 600; cursor: pointer; }
button.ghost { background: transparent; color: var(--accent);
  border: 1px solid var(--accent); }
.knobs { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px;
  color: var(--dim); font-size: 13px; align-items: center; }
.knobs label { display: flex; align-items: center; gap: 8px; }
.knobs select, .knobs input[type=range] { accent-color: var(--accent);
  background: #0c0f13; color: var(--text); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 6px; }
.check .hint { color: #5c6878; }

/* ---- stage: world backdrop + lens ---- */
.stage { position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); min-height: 420px;
  display: flex; align-items: center; justify-content: center; padding: 32px; }
.world { position: absolute; inset: 0; }
.stage[data-scene="desk"] .world { background:
  radial-gradient(circle at 22% 30%, #6b5b45 0 12%, transparent 13%),
  radial-gradient(circle at 78% 68%, #3c4c5c 0 18%, transparent 19%),
  linear-gradient(180deg, #4a4238 0%, #362f28 55%, #241f1a 100%); }
.stage[data-scene="street"] .world { background:
  linear-gradient(180deg, #9db8d2 0%, #c4d3e0 45%, #6f7d8a 46%, #4d5761 75%, #3a4149 100%); }
.stage[data-scene="night"] .world { background:
  radial-gradient(circle at 70% 20%, #f4edda 0 2%, transparent 3%),
  radial-gradient(circle at 30% 80%, #d99a3d33 0 22%, transparent 23%),
  linear-gradient(180deg, #0b1020 0%, #131a2c 60%, #090d16 100%); }

/* binocular full view: lens shifts low-right and shrinks (monocular reality) */
.lensWrap { position: relative; transition: transform .3s ease; }
.stage.fullView .lensWrap { transform: translate(18%, 14%) scale(.62); }
.stage.fullView::after { content: ""; position: absolute; inset: 0;
  pointer-events: none; box-shadow: inset 0 0 140px 60px rgba(0,0,0,.55);
  border-radius: 50% / 38%; }

.lens { width: var(--lens-size); height: var(--lens-size);
  border-radius: 14px; overflow: hidden; position: relative;
  outline: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 42px rgba(120,200,255,.12); }
.lens iframe { width: 600px; height: 600px; border: 0; background: #000;
  transform-origin: top left; }
/* additive waveguide: the display ADDS light — black becomes the world */
.stage.additive .lens { outline-color: rgba(255,255,255,.10); }
.stage.additive .lens iframe { mix-blend-mode: screen; }

.lensLabel { text-align: center; color: var(--dim); font-size: 12px;
  margin-top: 10px; text-shadow: 0 1px 2px #000; }

.framingNote { color: var(--dim); font-size: 13px; margin: 10px 4px; }
.framingNote code { color: var(--accent); }

.specs, .waitlist { background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 20px; margin: 18px 0; }
.specs h2, .waitlist h2 { margin: 0 0 8px; font-size: 17px; }
.specs li { margin: 6px 0; color: var(--dim); }
.specs li strong { color: var(--text); }
.v1 { color: var(--dim); font-size: 13px; }

.waitlist form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.waitlist input { flex: 1 1 200px; background: #0c0f13;
  border: 1px solid var(--line); border-radius: 6px; color: var(--text);
  padding: 9px 12px; }
#wlMsg { color: var(--accent); font-size: 13px; min-height: 1em; }

footer { max-width: 980px; margin: 0 auto; padding: 0 24px 40px;
  color: #5c6878; font-size: 12px; }
