@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:light;--navy:#081e3c;--yellow:#ffcf33;--blue:#118eea;--cream:#faf9f5;--bg:var(--cream);--panel:#fff;--surface:#edf4fb;--line:#d6e1ec;--text:var(--navy);--muted:#5b6879;--link:#075c9e;--solid:var(--yellow);font-family:"DM Sans",sans-serif;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--link)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--link);outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:"Space Grotesk",sans-serif}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100svh}.side{border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;gap:35px;background:#fff}.brand{display:flex;align-items:center;gap:11px;color:var(--text);font-weight:700;font-size:19px;text-decoration:none;letter-spacing:-.5px}.mark{width:34px;height:34px;border:1px solid var(--navy);border-radius:10px;display:grid;place-items:center;background:var(--blue);color:var(--navy);font-size:22px}.nav{display:grid;gap:8px}.nav-label,.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700}.nav-label{padding:0 10px 8px}.nav a{padding:12px;color:var(--muted);border-radius:9px;text-decoration:none;font-size:14px}.nav a[aria-current]{background:#deeffb;color:var(--navy)}.side-foot{margin-top:auto;color:var(--muted);font-size:13px;line-height:1.55;border-top:1px solid var(--line);padding-top:18px}.workspace{min-width:0}.bar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;color:var(--muted);font-size:14px}.bar strong{color:var(--text)}main{max-width:1300px;margin:auto;padding:35px 36px 56px}.hero{min-height:315px;display:flex;align-items:center;position:relative;overflow:hidden;border:1px solid var(--navy);border-radius:17px;background:var(--navy);color:#fff}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081e3c 8%,#081e3c 33%,#081e3cc4 63%,#081e3c1a),url(demo/orbit.jpg) 83% 50%/cover;opacity:.95}.hero-content{position:relative;padding:34px 38px;max-width:540px}.eyebrow{color:var(--yellow);margin-bottom:13px}.hero h1{font-size:clamp(34px,5vw,57px);line-height:1;letter-spacing:-.055em;margin-bottom:15px}.hero p,.intro,.muted{color:var(--muted);line-height:1.55}.hero p{max-width:370px;margin-bottom:23px;color:#dbe9f4}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:10px 15px;font-weight:700;text-decoration:none;font-size:14px;min-height:42px}.btn:hover{filter:brightness(1.18)}.primary{background:var(--solid);border-color:var(--solid);color:var(--navy)}.quiet{background:transparent}.hero .quiet{color:#fff;border-color:#ffffff70;background:#081e3c99}.hero .quiet:focus-visible{outline-color:var(--yellow)}.heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:34px 0 17px}.heading h2{font-size:26px;letter-spacing:-.035em}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:17px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;overflow:hidden}.card-art{width:100%;height:158px;object-fit:cover;display:block;background:radial-gradient(ellipse at 70% 30%,#118eea,#081e3c 68%)}.card-body,.panel{padding:19px}.card h3{font-size:20px;margin:8px 0 6px}.card p{font-size:14px;color:var(--muted);margin-bottom:16px}.tag{display:inline-block;border:1px solid #bdd9ee;background:#e7f4ff;color:#084b7e;border-radius:5px;font-size:12px;padding:3px 7px}.page-title{font-size:clamp(31px,5vw,47px);letter-spacing:-.05em;margin:13px 0 7px}.editor{margin-top:24px;display:grid;grid-template-columns:1.1fr .9fr;gap:17px;align-items:start}.panel h2{margin-bottom:11px}.panel p{margin:10px 0}.field{display:grid;gap:8px;margin:0 0 18px;font-size:14px;font-weight:700}.field input,.copy{min-width:0;width:100%;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:11px}.field input::file-selector-button{background:#deeffb;color:var(--navy);border:0;border-radius:5px;padding:6px;margin-right:9px}.thumb{width:100%;max-height:260px;object-fit:contain;background:var(--surface);border-radius:8px;display:block}.note{color:var(--muted);font-size:14px;line-height:1.5}.status{min-height:22px;color:var(--navy);margin:13px 0;font-size:14px}.steps{padding-left:22px;color:var(--muted);line-height:1.65}.steps li{margin:10px 0}.copy{font-family:monospace}.viewer{max-width:760px;margin:auto;padding:22px}.viewer h1{font-size:clamp(23px,5vw,38px);margin:10px 0}.stage{height:min(58svh,540px);min-height:235px;position:relative;isolation:isolate;overflow:hidden;background:#08080e;border:1px solid var(--line);border-radius:14px;display:grid;place-items:center}.stage .cover{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.64}.stage .start{position:relative;z-index:2}.viewer-actions{margin:13px 0}.result{margin-top:15px}.result img,.result video{max-width:100%;max-height:320px;display:block;margin-bottom:10px}.rec{color:#ff9ca9}.target-link{display:inline-block;margin-top:9px}.stage:fullscreen{width:100%;height:100%;border:0}.toast{position:fixed;right:20px;bottom:20px}.flash{position:fixed;bottom:18px;right:18px;z-index:10;background:#fff3bf;border:1px solid #e0b229;border-radius:10px;padding:13px;max-width:90vw}canvas[hidden],[hidden]{display:none!important}
@media(max-width:790px){.shell{grid-template-columns:1fr}.side{padding:14px 18px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.nav{display:flex;gap:5px}.nav-label,.side-foot,.bar{display:none}.nav a{padding:8px 10px}main{padding:19px 17px 36px}.hero-content{padding:28px 23px}.hero:before{background-position:70% 50%}.editor{grid-template-columns:1fr}.heading{align-items:center}.viewer{padding:12px}}
.release-status{margin-top:18px}.release-step{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.release-step h3{font-size:18px}.release-qr{display:block;width:144px;height:144px;border-radius:6px;background:#fff;image-rendering:pixelated;margin:14px 0}.print-check{display:flex;align-items:center;gap:9px;margin:14px 0;font-size:14px}.print-check input{accent-color:var(--solid);width:17px;height:17px}.embed-field{margin-top:15px}.embed-field textarea{min-height:5rem}.viewer>.tag{margin-bottom:4px}
.publishing-dialog{color:var(--text);width:min(420px,calc(100% - 32px))}.publishing-dialog::backdrop{background:#080810bb}.publishing-dialog h3{margin:0 0 14px}.release-message{color:#874000}

/* Camera and capture controls */
.camera-frame{position:relative}
.camera-top{position:absolute;top:12px;left:12px;right:12px;justify-content:space-between;z-index:3;pointer-events:none;margin:0}
.camera-top .btn{pointer-events:auto;background:#081e3ceb;color:#fff;border-color:#ffffff66}
.camera-top .sound{margin-left:auto}
.camera-bottom .status{margin:12px 0}
.capture-controls{display:grid;grid-template-columns:minmax(64px,1fr) 76px minmax(64px,1fr);align-items:center;gap:12px;margin:auto;max-width:350px}
.capture-controls .photo{justify-self:end}
.capture-controls .record{display:grid;place-items:center;width:66px;height:66px;margin:auto;border:3px solid #fff;border-radius:50%;background:var(--navy);color:white}
.capture-controls .record span{display:block;width:48px;height:48px;border-radius:50%;background:#f14d5d}
.capture-controls .record.rec span{width:22px;height:22px;border-radius:5px}
.capture-controls .record:disabled{opacity:.45;cursor:default}
.capture-timer{justify-self:start;font-variant-numeric:tabular-nums;font-size:13px;color:#fff}
.camera-full{position:fixed;inset:0;z-index:10;max-width:none;padding:0;background:#08080e}
.camera-full>.viewer-title,.camera-full>.viewer-preview,.camera-full>.viewer-links{display:none}
.camera-full .camera-frame,.camera-full .stage{width:100%;height:100%;min-height:0}
.camera-full .stage{border:0;border-radius:0}
.camera-full .camera-top{top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right))}
.camera-live .camera-bottom{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:8px 14px 16px;background:linear-gradient(transparent,#08080eea);text-align:center;pointer-events:none}
.camera-live .camera-bottom .status{color:#fff;text-shadow:0 1px 3px #000;min-height:0}
.camera-live .capture-controls button{pointer-events:auto}
.camera-full .camera-bottom{padding-bottom:max(18px,env(safe-area-inset-bottom))}
.viewer dialog.result{margin:auto;color:var(--text);box-sizing:border-box;width:min(460px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto}
.viewer dialog.result::backdrop{background:#08080edb}
.viewer dialog.result img,.viewer dialog.result video{width:100%;max-height:56dvh;object-fit:contain;background:#08080e;border-radius:8px}
