/* Corvana Agent: one continuous, camera-led interface sequence in clear liquid glass. */
#main.agent-pearl .agent-motion-hero{padding:132px 32px 24px;background:linear-gradient(180deg,#f8f8fa,#f3f1f7 68%,#f7f8fa);overflow:hidden}
.agent-motion-intro{max-width:1232px;margin:0 auto;display:grid;grid-template-columns:1.1fr 1fr;column-gap:100px;align-items:end;text-align:left}
.agent-motion-intro .studio-eyebrow{margin:0 0 19px;font-size:12px;color:#796884}
.agent-motion-intro .studio-dot{background:#9271ac;box-shadow:0 0 0 4px #9271ac12}
#main.agent-studio .agent-motion-intro h1{font-size:clamp(38px,4.5vw,65px);line-height:1.07;letter-spacing:-.045em;font-weight:450;margin:0}
.agent-motion-intro .studio-hero-description{margin:0 0 20px;max-width:470px;font-size:16px;line-height:1.55;letter-spacing:-.012em;color:#71717a}
.agent-motion-intro .studio-button{font-size:14px;min-height:43px}
.agent-hero-film{position:relative;width:min(1280px,100%);margin:18px auto 0;overflow:hidden;isolation:isolate;aspect-ratio:2/1;text-align:left;border-radius:22px;contain:layout paint}
/* Broad reflected light sits behind the glass; it never crosses the text layer. */
.agent-hero-film::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 52% 56% at 28% 55%,#c4addd45,transparent 78%),radial-gradient(ellipse 43% 45% at 82% 36%,#bdd0e342,transparent 75%),radial-gradient(ellipse 60% 30% at 52% 62%,#fff9,transparent 90%);mask-image:linear-gradient(transparent,#000 16% 74%,transparent)}
.agent-hero-film::after{content:"";position:absolute;z-index:0;pointer-events:none;width:112%;height:48%;left:-6%;top:24%;border-radius:50%;transform:rotate(-12deg);background:linear-gradient(174deg,#fff0 28%,#ffffff32 45%,#ffffffa6 49%,#9f8eb41a 50%,#ffffff00 59%);box-shadow:inset 0 1px 0 #ffffff91,inset 0 -1px 0 #b5a5c217;mask-image:linear-gradient(90deg,transparent,#000 16% 85%,transparent)}
.ah-film-plane{position:absolute;z-index:1;width:1200px;height:600px;top:0;left:50%;transform:translateX(-50%) scale(var(--film-scale,1));transform-origin:50% 0;perspective:1800px;perspective-origin:50% 40%;font-family:Arial,Helvetica,sans-serif;color:#272930}
.ah-film-plane *{box-sizing:border-box}
.ah-composer{position:absolute;left:0;top:0;width:760px;height:105px;padding:23px 26px 15px;transform:translate(220px,286px);border:1px solid #ffffffd9;border-right-color:#ffffff91;border-bottom-color:#b8abc447;border-radius:19px;background:linear-gradient(135deg,#ffffffb8,#ffffff5e 48%,#ebe5f2a3);box-shadow:inset 0 2px 2px #fffffff2,inset 2px 0 3px #ffffff94,inset 0 -2px 5px #67527312,0 0 0 1px #66577417,0 18px 38px -16px #51436930;will-change:transform,opacity;backdrop-filter:blur(22px) saturate(125%);-webkit-backdrop-filter:blur(22px) saturate(125%);z-index:10;overflow:hidden}
.ah-question{height:33px;display:flex;align-items:flex-start;white-space:nowrap;font-size:18px;line-height:1.3;font-weight:500;letter-spacing:-.3px;margin:0;padding:0}
.ah-typing-cursor{display:inline-block;width:1.2px;height:19px;background:#89828e;margin:1px 0 0 2px}
.ah-composer-bottom{display:flex;align-items:center;gap:11px;color:#706877;font-size:11px}
.ah-add{font-size:18px;color:#a3a0a9;font-weight:300}
.ah-project{display:flex;align-items:center;gap:5px;background:linear-gradient(145deg,#ffffff8c,#e6deee59);box-shadow:inset 0 1px 0 #ffffffd9,0 0 0 1px #66577412;border-radius:5px;padding:4px 7px;letter-spacing:-.15px}
.ah-project img{width:14px;height:14px;object-fit:cover;border-radius:2px;mix-blend-mode:multiply}
.ah-working{margin-left:auto;color:#6e6977;font-size:11px;display:flex;align-items:center;gap:9px}
.ah-send{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:radial-gradient(ellipse at 35% 0,#ebd1ff9c,transparent 62%),linear-gradient(145deg,#a750c3,#79269d);color:#fff;box-shadow:inset 0 1px 2px #ffffffc4,inset 0 -1px 1px #420b6159,0 2px 5px #71229226;font-size:18px;line-height:1}
.ah-send svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.ah-send[data-working=true]{background:linear-gradient(145deg,#62596b,#302735)}
.ah-send[data-working=true] svg{display:none}.ah-send[data-working=true]::after{content:'';width:7px;height:7px;border-radius:1px;background:#fff}
.ah-source-card{position:absolute;left:0;top:0;width:520px;height:300px;overflow:hidden;border:1px solid #ffffffd9;border-right-color:#ffffff9e;border-bottom-color:#b8abc45c;border-radius:14px;background:linear-gradient(135deg,#ffffffb8,#ffffff75 48%,#ece5f3a8);box-shadow:inset 0 2px 2px #fffffff2,inset 2px 0 3px #ffffffa1,inset 0 -2px 5px #67527312,0 0 0 1px #6657741c,0 18px 38px -16px #51436930,0 3px 8px #382b4709;transform-origin:0 0;will-change:transform,opacity;backdrop-filter:blur(24px) saturate(120%);-webkit-backdrop-filter:blur(24px) saturate(120%);opacity:0}
.ah-card-title{height:48px;padding:0 15px;display:flex;align-items:center;gap:10px;white-space:nowrap;line-height:1;font-size:15px;font-weight:550;letter-spacing:-.15px;position:relative;z-index:2;background:linear-gradient(180deg,#ffffff66,#ffffff26);box-shadow:0 1px 0 #ffffff85}
.ah-app-icon{width:25px;height:25px;flex:none;display:grid;place-items:center;border-radius:7px;background:linear-gradient(145deg,#ffffffcf,#ffffff4d);box-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #7d6a8c1a,0 0 0 1px #ffffffb3,0 2px 4px #4b345e0d}
.ah-app-icon img{width:22px;height:22px;object-fit:contain}
.ah-app-icon--sap img{width:26px;height:21px}
.ah-app-icon--p6{padding:5px}.ah-app-icon--p6::before{content:'';display:block;border:2.8px solid #ce7567;border-radius:8px;width:21px;height:12px;flex:none}
.ah-app-icon svg{width:17px;height:17px;fill:none;stroke:#3f4149;stroke-width:1.5}
.ah-task-status{margin-left:auto;width:16px;height:16px;flex:none;border:2px solid #e4dced;border-top-color:#9673af;border-right-color:#9673af;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px}
.ah-task-status[data-done=true]{border:0;background:linear-gradient(145deg,#b77ccb,#86509e);transform:none!important;box-shadow:inset 0 1px 2px #ffffffad,0 1px 2px #61397829}
.ah-task-status[data-done=true]::after{content:'✓'}
.ah-browser-chrome{height:32px;display:flex;align-items:center;gap:12px;padding:0 16px;color:#bdc0c6;font-size:13px}
.ah-browser-dots{font-size:20px;line-height:.5;letter-spacing:1px;color:#dadbe0}
.ah-browser-arrow{letter-spacing:6px;font-size:14px;color:#b3b5bf;white-space:nowrap}
.ah-address{flex:1;display:flex;align-items:center;gap:6px;border-radius:6px;height:27px;padding:0 10px;background:linear-gradient(145deg,#e9e5ed78,#ffffff59);box-shadow:inset 0 1px 2px #60566d0a,0 1px 0 #ffffffba;color:#77717e;font-size:13px;overflow:hidden;white-space:nowrap}
.ah-address svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
.ah-card-body{padding:17px 17px 18px;font-size:15px;line-height:1.45;color:#303039;font-weight:400}
.ah-card-body p{margin:0 0 9px;font-size:inherit;line-height:inherit;letter-spacing:-.12px}
.ah-card-body strong{font-weight:550;color:#303039}
.ah-email-from{color:#706a77}.ah-email-from span{font-size:12px}.ah-mail-subject{font-size:15px!important;line-height:1.35!important}
.ah-evidence-highlight{position:relative;border-radius:5px;padding:7px 8px!important;margin:9px -2px 10px!important;background:#f1edf600;color:#343039;box-shadow:0 0 0 transparent;transition:none}
.ah-evidence-highlight::before{position:absolute;content:'';width:3px;left:0;top:4px;bottom:4px;border-radius:3px;background:#9166b500;transition:none}
.ah-source-card[data-highlight=true] .ah-evidence-highlight{background:linear-gradient(120deg,#d8b7ef66,#ebddf573);box-shadow:inset 0 1px 0 #ffffffa6,inset 0 -1px 0 #c1a5d326,0 7px 12px -9px #7760934d}
.ah-source-card[data-highlight=true] .ah-evidence-highlight::before{background:#9b75bb}
.ah-evidence-highlight b{color:#7d439c;font-weight:600}
.ah-body-muted{color:#706a78;font-size:14px!important}
.ah-data-table{width:100%;border-collapse:collapse;margin-top:11px;font-size:15px;line-height:1.35;text-align:left;font-weight:400}
.ah-data-table td{border-bottom:1px solid #8c769e1c;padding:7px 4px}
.ah-data-table td:first-child{color:#706a78;width:46%;font-size:14px}
.ah-data-table tr:last-child td{border-bottom:0}
.ah-data-table .ah-evidence-highlight td{border:0}.ah-data-table .ah-evidence-highlight::before{left:0}
.ah-mono{font-family:'SFMono-Regular',Consolas,monospace;letter-spacing:-.4px;white-space:nowrap}
.ah-order-reference{font-size:13px!important;color:#716a79;margin-bottom:0!important}
.ah-portal .ah-data-table{margin-top:15px}.ah-portal .ah-data-table td:first-child{width:36%}
.ah-portal .ah-data-table td{font-size:13px}.ah-portal .ah-data-table .ah-mono{font-size:16px}
.ah-portal-stamp{display:flex;gap:7px;align-items:center;margin-top:13px;font-size:10px;letter-spacing:.01em;color:#99929f}
.ah-portal-stamp img{width:16px;height:16px;object-fit:contain;mix-blend-mode:multiply}
.ah-rail{position:absolute;left:68px;right:68px;top:505px;height:65px;color:#777080;font-size:12px;z-index:12}
.ah-rail-track{position:absolute;left:0;right:0;top:20px;height:2px;border-radius:2px;background:#95a7bf}
.ah-rail-delay{position:absolute;left:36.4%;width:40.2%;height:3px;top:-.5px;background:#8f3d57;transform-origin:left}
.ah-rail-months{position:absolute;left:0;right:0;top:29px;display:flex;justify-content:space-around;font-size:13px}
.ah-rail-months span{position:relative;flex:1;text-align:center}
.ah-rail-months span::before{content:'';position:absolute;left:0;top:-2px;width:1px;height:6px;background:#a5b1c3}
.ah-rail-milestone{position:absolute;top:20px;left:36.4%;width:14px;height:14px;border-radius:50%;transform:translate(-50%,-50%);border:2px solid #9266b1;background:linear-gradient(145deg,#fff,#e4d9ed);box-shadow:inset 0 1px 1px #fff,0 0 0 2px #ffffff8c}
.ah-rail-milestone>span{position:absolute;white-space:nowrap;bottom:22px;left:50%;transform:translateX(-50%);font-family:'SFMono-Regular',Consolas,monospace;font-size:12px;color:#726879}
.ah-rail-milestone--revised{left:76.6%;background:#8f3d57;border-color:#8f3d57}.ah-rail-milestone--revised>span{color:#51454d}
.ah-film-footer{position:absolute;left:18px;right:18px;bottom:4px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:15;color:#797180;font-size:10px}
.ah-film-footer p{margin:0;font-size:inherit;line-height:1.4}
.ah-playback{display:flex;gap:3px;align-items:center}
.ah-playback button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:34px;min-height:34px;padding:8px;border:0;background:transparent;border-radius:50px;color:#797382;box-shadow:none;font-family:inherit;font-size:10px;cursor:pointer}
.ah-playback button:hover{background:#e7e3ec;color:#403546}.ah-playback button:focus-visible{outline:2px solid #9b76b5;outline-offset:2px}
.ah-playback svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5}
.ah-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}
.agent-hero-film:not(.is-ready) .ah-composer{display:none}
.agent-hero-film:not(.is-ready) .ah-source-card:last-of-type{opacity:1;transform:translate(340px,90px)}
@media(min-width:1700px){#main.agent-pearl .agent-motion-hero{padding-top:155px}.agent-hero-film{margin-top:30px}}
@media(max-width:1000px){.agent-motion-intro{column-gap:40px}.agent-motion-intro .studio-hero-description{font-size:14px}#main.agent-studio .agent-motion-intro h1{font-size:44px}.ah-film-footer{left:6px;right:6px}}
@media(max-width:700px){
 #main.agent-pearl .agent-motion-hero{padding:120px 20px 10px}
 .agent-motion-intro{display:block;text-align:center}.agent-motion-intro .studio-eyebrow{margin-bottom:18px}
 #main.agent-studio .agent-motion-intro h1{font-size:42px}.agent-motion-intro .studio-hero-description{font-size:15px;max-width:440px;margin:22px auto 20px;line-height:1.5}
 .agent-motion-intro .studio-button{min-height:44px;font-size:13px}
 .agent-hero-film{width:calc(100% + 40px);margin:10px -20px 0;aspect-ratio:auto;height:370px;border-radius:0}
 .ah-film-plane{top:6px}
 .ah-film-footer{left:20px;right:12px;bottom:0;font-size:9px}.ah-film-footer p{max-width:215px}
 .ah-playback button{min-width:38px;min-height:40px;padding:8px}.ah-playback button span{display:none}
 .ah-question{font-size:20px;white-space:normal;height:51px;line-height:1.25}
 .ah-composer{padding:18px 20px 14px;height:113px;border-radius:16px}
 .ah-composer-bottom{font-size:13px}.ah-project{max-width:350px}.ah-project img{width:18px;height:18px}
 .ah-send{width:31px;height:31px}.ah-send svg{width:18px;height:18px}
 .ah-card-title{font-size:17px;height:48px}.ah-card-body{font-size:17px;padding-top:15px}
 .ah-body-muted{font-size:16px!important}.ah-mail-subject{font-size:17px!important}.ah-email-from span{font-size:14px}
 .ah-data-table{font-size:17px}.ah-data-table td:first-child{font-size:16px}.ah-portal .ah-data-table td{font-size:15px}.ah-portal .ah-data-table .ah-mono{font-size:18px}
 .ah-portal-stamp{font-size:12px}.ah-browser-chrome{font-size:15px}
 .ah-task-status{width:18px;height:18px}.ah-rail-months{font-size:17px}.ah-rail-milestone>span{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.agent-hero-film *{animation:none!important;scroll-behavior:auto!important}}
/* Table highlights stay in the table grid; a row pseudo-element would create an extra cell. */
.ah-film-plane .ah-data-table td{text-align:left;vertical-align:middle}
.ah-film-plane .ah-data-table .ah-evidence-highlight{padding:0!important;margin:0!important}
.ah-film-plane .ah-data-table .ah-evidence-highlight::before{display:none}
.ah-film-plane .ah-data-table .ah-evidence-highlight td:first-child{border-left:3px solid transparent;padding-left:8px}
.ah-film-plane .ah-source-card[data-highlight=true] .ah-data-table .ah-evidence-highlight td:first-child{border-left-color:#9b75bb}
.ah-film-plane .ah-card-title{font-size:16px}
.agent-motion-intro .studio-eyebrow{justify-content:flex-start}
@media(max-width:700px){.agent-motion-intro .studio-eyebrow{justify-content:center}.ah-film-plane .ah-card-title{font-size:17px}}
@media(max-width:700px){
 .ah-portal .ah-card-body>p:not(.ah-order-reference){font-size:19px}
 .ah-portal .ah-order-reference{font-size:16px!important}
 .ah-portal .ah-data-table td{font-size:18px;line-height:1.4}
 .ah-portal .ah-data-table .ah-mono{font-size:20px}
 .agent-hero-film:not(.is-ready) .ah-film-plane{width:100%;left:0;transform:none}
 .agent-hero-film:not(.is-ready) .ah-source-card:last-of-type{left:5%;width:90%;height:auto;min-height:285px;transform:translateY(16px)}
 .agent-hero-film:not(.is-ready) .ah-rail{left:5%;right:5%;top:320px}
 .agent-hero-film:not(.is-ready) .ah-card-title{font-size:12px;gap:7px}
 .agent-hero-film:not(.is-ready) .ah-card-body{font-size:13px}
 .agent-hero-film:not(.is-ready) .ah-data-table td{font-size:12px}
 .agent-hero-film:not(.is-ready) .ah-portal .ah-data-table .ah-mono{font-size:14px}
}

/* Reflections travel with each moving surface, while the reading plane stays crisp. */
.ah-composer::before,.ah-source-card::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;background:linear-gradient(117deg,#ffffff00 22%,#ffffff42 42%,#ffffff08 48%,#ffffff00 65%),radial-gradient(ellipse 85% 24% at 35% 0%,#ffffff70,transparent 85%)}
.ah-composer::after,.ah-source-card::after{content:"";position:absolute;inset:2px;z-index:3;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff42,inset 0 -1px 2px #7c628b0d}
.ah-question,.ah-composer-bottom,.ah-content{position:relative;z-index:1}
/* Soft backing protects source text when the cards converge into the final stack. */
.ah-source-card .ah-content{background:linear-gradient(180deg,#ffffff10,#ffffff4d 45%,#ffffff6b);min-height:calc(100% - 48px)}
.ah-portal{background:linear-gradient(135deg,#ffffffc4,#ffffff99 48%,#eee8f5ba)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.ah-composer,.ah-source-card{background:#f8f6fbed}}
@media(prefers-reduced-transparency:reduce){.ah-composer,.ah-source-card{background:#f8f6fb;backdrop-filter:none;-webkit-backdrop-filter:none}.ah-composer::before,.ah-source-card::before,.agent-hero-film::after{display:none}}
@media(forced-colors:active){.ah-composer,.ah-source-card,.ah-card-title,.ah-address,.ah-source-card .ah-content{background:Canvas;color:CanvasText;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.ah-composer,.ah-source-card{border:1px solid CanvasText}.ah-composer::before,.ah-composer::after,.ah-source-card::before,.ah-source-card::after,.agent-hero-film::before,.agent-hero-film::after{display:none}}
