:root{color-scheme:dark;--bg:#0a0a0a;--panel:#18181b;--surface:#26262b;--text:#fff;--muted:#b3b3b3;--line:#333a44;--teal:#68d8d0;--blue:#4da6ff;--warning:#ffb84d}
*{box-sizing:border-box}body.revguard-page{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 Outfit,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,summary:focus-visible{outline:2px solid #8cc3ff;outline-offset:4px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}
.site-header{background:#18181b;border-bottom:1px solid #28282d;padding:18px 24px;text-align:center;color:var(--blue);font-size:clamp(16px,2vw,22px);font-weight:700;letter-spacing:.3px}.intro{text-align:center;margin-bottom:22px}.intro h1{font-size:clamp(32px,4vw,46px);letter-spacing:-1.2px;line-height:1.15;margin:0 0 10px}.intro p{margin:0;color:var(--muted);font-size:clamp(16px,2vw,19px)}.tabs{display:flex;justify-content:center;gap:8px;margin-bottom:18px}.tabs button,.controls button,.panel button{border:1px solid #4a5160;border-radius:8px;padding:10px 16px;background:var(--surface);color:var(--text)}.tabs button:hover:not(:disabled),.controls button:hover:not(:disabled){border-color:#659edc}.tabs button[aria-selected=true],button.primary{background:#244972;border-color:#659edc}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-heading{padding:25px 32px 22px}.panel .eyebrow,.results-block .eyebrow{color:var(--teal);font-size:11px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase}.panel h2{font-size:clamp(22px,2.5vw,30px);font-weight:600;letter-spacing:-.6px;line-height:1.25;margin:8px 0 0;max-width:880px}.panel-heading p{color:var(--muted);margin:12px 0 0;font-size:15px}
.journey{background:#fff;margin:0 24px;border-radius:8px;overflow:hidden;padding:18px 3% 12px;container-type:inline-size}.scope{display:block;width:100%;height:18cqw;object-fit:cover;object-position:center}.track{position:relative;height:16cqw;margin-top:6px}.case-token{position:absolute;left:8%;width:13%;top:0;transform:translateX(-50%);transition:left 1.1s cubic-bezier(.35,.08,.3,1);z-index:2}.doc-sprite{width:100%;aspect-ratio:560/540;background-image:url('assets/correction.png');background-size:502.857% auto;background-position:19.5% 26.7%;border-radius:6px}.case-token.good .doc-sprite{background-position:82% 26.7%}.case-token span{display:block;color:#0b2d4d;text-align:center;font-weight:600;font-size:clamp(10px,1.2cqw,14px);white-space:nowrap;position:relative;left:-35%;width:170%}.attachment{position:absolute;left:70%;top:12%;width:16%;padding:1cqw;border:1px solid #94c6c5;border-radius:5px;background:#f0fbfa;color:#007b82;z-index:3;transition:left .85s ease,transform .8s;font-size:clamp(10px,1.15cqw,14px);line-height:1.3}.attachment b{display:block;margin-bottom:.5cqw;font-size:clamp(11px,1.4cqw,17px)}.attachment.attached{transform:translateY(1cqw) rotate(5deg)}.search{position:absolute;left:23%;top:40%;width:45%;height:3px;background:linear-gradient(90deg,transparent,#00a4aa,transparent);animation:search 1.4s ease-in-out infinite}@keyframes search{50%{transform:scaleX(.4);opacity:.4}}
.story{padding:22px 32px 12px;min-height:142px}.step-label{font-size:11px;color:var(--teal);letter-spacing:1px;margin:0 0 7px}.story h3{font-size:clamp(19px,2.1vw,25px);line-height:1.3;letter-spacing:-.3px;margin:0 0 6px;color:var(--teal)}.story h3.warning{color:var(--warning)}.story>p:last-child{font-size:14px;color:var(--muted);margin:0}.controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 32px 24px}.controls button{font-size:13px}.primary{min-width:108px}.progress{margin-left:auto;font:12px ui-monospace,monospace;color:var(--muted)}
.system{margin:0 24px;border:1px solid #315b5c;border-radius:8px;overflow:hidden;background:#102126}.system-heading{display:flex;justify-content:space-between;gap:15px;padding:12px 20px;font-size:12px;color:var(--teal)}.system-heading span:first-child{font-weight:700}.correction-art{position:relative;background:#f3f9fa}.correction-art img{display:block;width:100%;height:auto}.assessments{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px 20px 22px;text-align:center}.assessments span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.assessments strong{display:block;font-size:clamp(17px,2vw,23px);font-weight:600;color:var(--warning);line-height:1.3}.assessments>div:last-child strong{color:var(--teal)}#reveal-mask{position:absolute;inset:0 0 0 52%;background:#f3f9fa}.concealed{visibility:hidden}.confirmation{text-align:right;color:var(--teal);padding:0 36px;font-size:15px;margin:14px 0 0}.automation{text-align:center;margin:20px 24px 6px;font-size:17px}.case-note{border-top:1px solid var(--line);margin:0 32px;padding:14px 0 18px;color:var(--muted);font-size:12px}.case-note summary{cursor:pointer;width:fit-content}.case-note p{max-width:800px;margin:10px 0 0}.noscript{color:var(--muted)}
@media(max-width:600px){main{padding:24px 12px 30px}.site-header{padding:14px 12px}.intro{margin-bottom:20px}.panel-heading{padding:20px}.journey{margin:0 12px;padding:12px 2%}.scope{height:21cqw}.track{height:28cqw;margin-top:12px}.case-token{width:18%}.attachment{width:26%;top:8%;padding:5px}.attachment b{font-size:10px}.attachment span{font-size:9px}.case-token span{font-size:9px}.story{padding:20px 20px 12px;min-height:165px}.controls{padding:8px 20px 20px;gap:6px}.controls button{padding:9px 12px}.system{margin:0 12px}.system-heading{padding:10px 12px}.assessments{gap:12px;padding:14px 10px 18px}.assessments strong{font-size:16px}.confirmation{padding:0 20px;text-align:center;font-size:14px}.automation{font-size:15px}.case-note{margin:0 20px}.progress{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.case-token span{left:0;width:auto;text-align:left}}

/* Playback feedback stays visible above the illustration. */
.playback-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 26px 10px;font-size:12px;color:var(--muted)}
.playback-state{display:flex;align-items:center;gap:8px;white-space:nowrap}.playback-state::before{content:"";width:7px;height:7px;border-radius:50%;background:#727680}
.is-playing .playback-state{color:var(--teal)}.is-playing .playback-state::before{background:var(--teal);animation:playing 1.2s ease-in-out infinite}
@keyframes playing{50%{box-shadow:0 0 0 4px #68d8d020}}
.timeline{height:3px;margin:0 24px 14px;border-radius:4px;background:#333a44;overflow:hidden}.timeline span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:var(--teal)}
.journey{position:relative}.station-marker{position:absolute;top:10px;height:19cqw;width:23%;left:12%;transform:translateX(-50%);border:2px solid #4a90e2;border-radius:8px;pointer-events:none;transition:left .65s ease;background:#4a90e207}
.playback-stage{text-align:right}.results-block{padding:26px 32px 30px;border-bottom:1px solid var(--line)}
.results-block h2{margin-bottom:12px}.results-intro{color:var(--muted);font-size:15px;margin:0 0 24px;max-width:760px}.results-note{color:var(--muted);font-size:12px;margin:20px 0 0}
.result-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.result-card{padding:24px;background:#102126;border:1px solid #315b5c;border-radius:10px}.result-card h3{font-size:14px;font-weight:500;color:var(--muted);margin:0 0 18px}.result-headline{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0;color:var(--teal);line-height:1.15}.result-headline strong{font-size:clamp(40px,5vw,60px);font-weight:600;letter-spacing:-1.5px}.result-headline span{font-size:21px;font-weight:500}.result-detail{font-size:17px;font-weight:500;margin:20px 0 6px}.result-scope{font-size:12px;color:var(--muted);margin:0}.result-meter{height:6px;background:#333a44;border-radius:4px;margin-top:20px;overflow:hidden}.result-meter span{display:block;height:100%;background:var(--teal)}
@media(max-width:600px){.playback-header{margin:0 20px 10px;font-size:11px}.timeline{margin-left:12px;margin-right:12px}.station-marker{top:6px;height:24cqw}.results-block{padding:20px}.result-cards{grid-template-columns:1fr;gap:14px}.result-card{padding:20px}.result-card h3{margin-bottom:12px}.result-headline span{font-size:20px}}

.case-opening p{max-width:850px;font-size:16px;line-height:1.65}.case-opening .case-question{color:#fff;font-weight:500;margin-top:10px}
.case-outcome{margin:22px 32px 0;padding:20px 24px;border-left:3px solid var(--teal);background:#102126;border-radius:0 8px 8px 0}
.case-outcome h3{font-size:21px;line-height:1.3;font-weight:600;margin:8px 0 10px;color:var(--text)}.case-outcome p{max-width:850px;color:var(--muted);font-size:15px;line-height:1.65;margin:0}.case-outcome .case-match{margin-top:12px;color:var(--teal)}
@media(max-width:600px){.case-opening p{font-size:15px}.case-outcome{margin:18px 20px 0;padding:16px}.case-outcome h3{font-size:19px}.case-outcome p{font-size:14px}}

/* The host page already supplies the product heading and introduction. */
.embedded .site-header,.embedded .intro,.embedded .site-nav,.embedded .site-footer,.embedded .page-hero{display:none}
.embedded body{background:var(--panel)}
.embedded main,.embedded .page-shell{padding:0 0 24px;min-height:0}
