/* Second-screen guidance, inspired by Humble. The existing native flow owns playback. */
.phone-hero-stage{overflow:clip}
.flow-toast{pointer-events:none}
.flow-body,.flow-zoom{overscroll-behavior:contain}
#heroWorkbench{top:50%;left:max(calc((100% - 1240px)/2),5.5%);width:clamp(360px,39vw,560px);margin-top:-335px}
#heroWorkbench>.hero-eyebrow{font-size:13px;line-height:1.6;letter-spacing:.05em}
#heroWorkbench h2{font-size:clamp(28px,2.4vw,36px);font-weight:650;line-height:1.35;letter-spacing:-.035em;margin:12px 0;color:#203755}
#heroWorkbench>p{font-size:15px;line-height:1.8;color:#70829d}
.hero-prompt{margin-top:22px}
.hero-prompt-label{font-size:12px;line-height:1.6;color:#6f839e;margin:0 0 8px 3px}
.hero-prompt-input{display:flex;align-items:center;gap:12px;min-height:78px;padding:14px 14px 14px 17px;background:#ffffffed;border:1px solid #cfdef5;border-radius:21px;box-shadow:0 0 0 4px #ffffff66,0 14px 32px -16px #2d69b333}
.hero-prompt-input>img{width:40px;height:40px;object-fit:contain;flex:none}
#heroPromptText{flex:1;min-width:0;font-size:18px;line-height:1.6;font-weight:600;color:#233c60;overflow-wrap:anywhere}
.hero-prompt-input>button{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--site-action);color:white;transition:transform .2s,box-shadow .2s}
.hero-prompt-input .ri{width:23px;height:23px;fill:currentColor;color:#fff}
#heroPromptSend svg{fill:currentColor;color:#fff}
#heroWorkbench .hero-task-list{display:flex;flex-wrap:wrap;gap:0 9px;margin-top:16px}
#heroWorkbench .hero-task-list button{position:relative;flex:none;font-size:14px;line-height:1.5;min-height:42px;padding:10px 12px;border:0;border-bottom:1px solid #d6e0ef;border-radius:0;background:none;color:#647995;box-shadow:none;transition:color .2s}
#heroWorkbench .hero-task-list button::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:linear-gradient(90deg,#3c8be4,#9385d2);transform:scaleX(.35);opacity:0;transition:transform .2s,opacity .2s}
#heroWorkbench .hero-task-list button.active{color:#1768bf;background:none;border-color:#d6e0ef;box-shadow:none;font-weight:600}
#heroWorkbench .hero-task-list button.active::after{opacity:1;transform:scaleX(1)}
.hero-guide-steps{display:flex;list-style:none;gap:10px;margin:22px 0 0;padding:0}
.hero-guide-steps li{display:flex;align-items:center;gap:7px;flex:1;min-width:0;font-size:13px;line-height:1.5;color:#8493a9;position:relative}
.hero-guide-steps i{width:25px;height:25px;display:grid;place-items:center;flex:none;font:11px Arial,sans-serif;font-style:normal;background:#e8eef7;border-radius:50%;color:#879ab5}
.hero-guide-steps li.active{color:#236dc5;font-weight:600}.hero-guide-steps li.active i{background:#2c7de1;color:#fff;box-shadow:0 0 0 4px #dfeafd}
.hero-guide-steps li.past{color:#50769f}.hero-guide-steps li.past i{background:#e1ecfc;color:#2d7de0}
.hero-guide-status{position:relative;min-height:132px;border:1px solid #d7e3f5;border-radius:19px;background:linear-gradient(120deg,#ffffffc9,#eff5ffe6);margin-top:19px;padding:18px 22px;overflow:hidden;transition:opacity .2s ease}
.hero-guide-status[data-state=idle]{opacity:0;visibility:hidden;pointer-events:none}
#heroGuideTask{display:table;width:max-content;max-width:100%;padding:3px 9px;margin:0 0 8px;border-radius:7px;background:#e5effe;color:#1768bf;font-size:12px;font-weight:600;line-height:20px}
.hero-guide-summary{display:grid;grid-template-columns:1fr;align-items:center}
.hero-guide-working-line{display:inline-flex;align-items:center;gap:8px;justify-self:start}
#heroGuidePhase,.hero-guide-phase{font-size:18px;font-weight:600;line-height:1.7;color:#31557e}
.hero-guide-dots{display:inline-flex;align-items:center;gap:4px}
.hero-guide-dots i{width:4px;height:4px;border-radius:50%;background:#6b99dd;animation:guide-pulse 1.2s ease-in-out infinite}.hero-guide-dots i:nth-child(2){animation-delay:.15s}.hero-guide-dots i:nth-child(3){animation-delay:.3s}
/* Shared label/value rows keep the arrow aligned even when the old result wraps. */
.hero-guide-benefit{display:none;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);grid-template-rows:auto minmax(44px,auto);align-items:center;justify-items:center;column-gap:24px;row-gap:5px;padding:2px 0 1px;text-align:center}
.hero-guide-benefit>div{display:contents}
.hero-guide-benefit>div:first-child>*{grid-column:1}.hero-guide-benefit>div:last-child>*{grid-column:3}
.hero-guide-benefit small{grid-row:1;display:block;margin:0;font-size:14px;line-height:22px;color:#72839a}
.hero-guide-benefit s{grid-row:2;display:block;max-width:100%;min-width:0;font-size:20px;line-height:1.5;font-weight:500;color:#4e627d;text-decoration:none;overflow-wrap:anywhere;text-wrap:balance}
.hero-guide-benefit .ri{grid-column:2;grid-row:2;width:34px;height:34px;padding:7px;border-radius:50%;background:#e6effc;fill:currentColor;color:#6b92c1}
.hero-guide-benefit strong{grid-row:2;display:block;max-width:100%;font-size:34px;line-height:1.3;letter-spacing:-.035em;font-weight:650;color:#216dcd;white-space:nowrap}
.hero-guide-benefit>div:last-child small{color:#4f7eaf}
.hero-guide-status[data-state=done]{background:linear-gradient(110deg,#fff 25%,#f0f6ff);border-color:#cddff5;box-shadow:0 8px 20px -16px #396d9f38}
.hero-guide-status[data-state=done] .hero-guide-summary{display:none}.hero-guide-status[data-state=done] .hero-guide-benefit{display:grid}
.hero-guide-footer{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:17px}
#heroWorkbench .hero-auto{margin:0;font-size:12px;gap:8px;min-height:30px;color:#6281a7;white-space:nowrap}
.hero-guide-footer>small{font-size:11px;line-height:1.7;color:#8193ac;text-align:right}
#heroFlow>.flow-side{display:none}
@media(min-width:1050px){
 #heroFlow>.flow-controls,#heroFlow>.flow-disclosure{left:calc(50% + min(320px,24vw));width:400px}
}
@media(min-width:1700px){#heroWorkbench{left:calc((100% - 1320px)/2)}}
@media(min-width:1050px) and (max-width:1250px){#heroWorkbench{left:4%;width:39vw}.hero-prompt-input{gap:9px;padding-inline:13px}#heroPromptText{font-size:16px}#heroWorkbench .hero-task-list button{padding-inline:12px}}
@media(min-width:1050px) and (max-height:850px){
 #heroWorkbench{margin-top:-290px}#heroWorkbench h2{font-size:29px;line-height:1.3;margin:10px 0 12px}#heroWorkbench>p{display:none}
 .hero-prompt{margin-top:18px}.hero-prompt-input{min-height:68px;padding-block:11px}#heroPromptText{font-size:16px}.hero-prompt-label{margin-bottom:6px}
 #heroWorkbench .hero-task-list{margin-top:13px;gap:0 7px}#heroWorkbench .hero-task-list button{min-height:38px;padding-block:8px}
 .hero-guide-steps{margin-top:18px}.hero-guide-status{margin-top:16px;min-height:128px;padding:15px 19px}.hero-guide-footer{margin-top:12px}
}
@media(max-width:1049px){
 #heroWorkbench{position:relative;left:auto;top:auto;width:min(620px,100%);margin:48px auto 0;opacity:1}
 #heroWorkbench>.hero-eyebrow,#heroWorkbench h2,#heroWorkbench>p{display:block}
 #heroWorkbench h2{font-size:32px}#heroWorkbench .hero-task-list{justify-content:flex-start}
 #heroFlow{margin-top:35px;display:block;width:100%;max-width:650px}
 #heroFlow>.flow-controls{width:auto}#heroFlow>.flow-side{display:none}
 .hero-guide-footer>small{font-size:11px}
}
@media(max-width:650px){
 #heroWorkbench{margin-top:40px}#heroWorkbench h2{font-size:28px;line-height:1.4}#heroWorkbench>p{font-size:14px}
 .hero-prompt{margin-top:20px}.hero-prompt-input{min-height:80px;gap:9px;padding:12px;border-radius:18px}.hero-prompt-input>img{width:32px;height:32px}#heroPromptText{font-size:15px}
 .hero-prompt-input>button{width:36px;height:36px;border-radius:11px}.hero-prompt-input .ri{width:20px;height:20px}
 #heroWorkbench .hero-task-list{gap:0 7px;margin-top:14px}#heroWorkbench .hero-task-list button{font-size:13px;padding:9px 12px;min-height:40px}
 .hero-guide-steps{gap:6px;margin-top:23px}.hero-guide-steps li{gap:6px;font-size:12px}.hero-guide-steps i{width:23px;height:23px;font-size:10px}
 .hero-guide-status{padding:16px;min-height:136px;border-radius:16px}#heroGuidePhase,.hero-guide-phase{font-size:17px}
 .hero-guide-benefit{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);column-gap:12px;row-gap:5px}.hero-guide-benefit s{font-size:16px}.hero-guide-benefit strong{font-size:27px}.hero-guide-benefit .ri{width:28px;height:28px;padding:5px}.hero-guide-benefit small{font-size:13px}
 .hero-guide-footer{gap:10px}.hero-guide-footer>small{max-width:160px;font-size:10px}
 #heroFlow{margin-top:28px}
}
@media(hover:hover){.hero-prompt-input>button:hover{transform:translateY(-2px);box-shadow:0 7px 16px #2d75cb33}#heroWorkbench .hero-task-list button:not(.active):hover{background:none;border-color:#d6e0ef;color:#216bc3}}
.hero-prompt-input>button:focus-visible,#heroWorkbench button:focus-visible{outline:3px solid #9dc3f6;outline-offset:3px}
@keyframes guide-pulse{50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.hero-guide-dots i{animation:none}.hero-prompt-input>button{transition:none}}

/* Mobile task introduction needs separation from the opening proof figures. */
@media(max-width:767px){#heroWorkbench{margin-top:76px}}
