* { box-sizing: border-box; }
body { margin: 0; background: #f4f7f1; color: #203c32; font: 15px/1.5 system-ui, sans-serif; }
main { max-width: 1150px; margin: auto; padding: 24px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(22px, 3vw, 32px); line-height: 1.2; letter-spacing: -.03em; }
h2 { font-size: 18px; }
p { color: #617669; }
button { border: 1px solid #28664e; background: #28664e; color: white; font: inherit; font-weight: 700; border-radius: 9px; padding: 10px 15px; cursor: pointer; }
button:focus-visible { outline: 3px solid #ae8029; outline-offset: 3px; }
.quiet { color: #285e4f; background: transparent; border-color: #becfc2; }
.eyebrow { color: #347b63; font-size: 11px; letter-spacing: .1em; font-weight: 700; margin-bottom: 8px; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.demo-heading p:last-child { margin-top: 8px; }
#countdown { color: #28664e; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-views { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: 16px; }
.demo-guide, .demo-camera { background: #fff; border: 1px solid #dbe6dc; border-radius: 16px; overflow: hidden; }
.guide-frame { aspect-ratio: 1.35; background: #e9eee8; }
.guide-frame img, .guide-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.guide-frame [hidden], #camera-preview[hidden] { display: none; }
#demo-cue { padding: 14px 18px; color: #245947; background: #e6f0e5; font-weight: 700; }
.demo-camera { padding: 20px; }
.demo-camera h2 span { color: #759487; font-size: 12px; font-weight: 400; }
.demo-camera p { font-size: 13px; margin: 10px 0; }
#camera-preview { border-radius: 12px; overflow: hidden; background: #e0e9e1; margin: 12px 0; }
#camera-preview video { width: 100%; max-height: 220px; object-fit: contain; display: block; transform: scaleX(-1); }
#camera-status { color: #285e4f; font-weight: 600; }
.demo-camera button { margin: 5px 6px 5px 0; }
.demo-camera .note { font-size: 12px; line-height: 1.55; }
#demo-message { margin-top: 12px; color: #285e4f; }
#demo-complete { margin-top: 14px; padding: 18px; border-radius: 14px; background: #e6f0e5; }
#demo-complete[hidden] { display: none; }
#demo-complete > p:first-child { color: #203c32; font-weight: 700; }
#demo-complete div { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
#demo-complete a { color: #245947; font-weight: 700; }
#demo-complete .completion-note { margin-top: 10px; font-size: 12px; }
@media (max-width: 700px) { main { padding: 16px; } .demo-views { grid-template-columns: 1fr; } .guide-frame { aspect-ratio: 1.55; } .demo-camera { padding: 16px; } }
