/* The screenshot stays untouched. This 540 × 1143 stage reveals its actual pixels,
   so the demo ends on exactly the original screen rather than a recreated UI. */
.hero-chat{width:100%;max-width:330px;margin:0 auto}
.hero-chat-viewport{position:relative;isolation:isolate}
.hero-chat-stage{position:absolute;top:0;left:0;width:540px;height:1143px;transform-origin:0 0;overflow:hidden;pointer-events:none;color:#e6e6e6;font-family:Roboto,Arial,sans-serif;line-height:1.4}
.hero-chat-stage[hidden]{display:none}
.hero-chat-stage *{box-sizing:border-box}
.hero-chat-mask{position:absolute;left:0;top:100px;width:540px;height:827px;background:#111}
.hero-chat-pixels{position:absolute;inset:0;background-size:540px 1143px;background-repeat:no-repeat}
.hero-chat-answer-card{position:absolute;left:19px;top:211px;width:502px;background:#1e1e1e;border-radius:16px}
.hero-chat-draft{position:absolute;left:31px;top:942px;width:408px;height:58px;background:#1e1e1e;color:#e6e6e6;border-radius:8px;display:flex;align-items:center;padding:0 3px;font-size:20px;line-height:26px;letter-spacing:.15px}
.hero-chat-caret{display:inline-block;vertical-align:-3px;width:2px;height:22px;margin-left:2px;background:#74c69d}
.hero-chat-send{position:absolute;left:474px;top:947px;width:43px;height:48px;display:grid;place-items:center;color:#74c69d}
.hero-chat-send svg{width:32px;height:32px}
.hero-chat-thinking{position:absolute;left:34px;top:230px;display:flex;align-items:center;gap:12px;height:72px}
.hero-chat-thinking svg{width:126px;height:72px;flex:none;overflow:visible}
.hero-chat-thinking-label{font-size:20px;color:#a0a0a0;white-space:nowrap}
.hero-chat-controls{display:flex;justify-content:center;gap:8px;min-height:40px;margin-top:22px;visibility:hidden}
.hero-chat[data-ready="true"] .hero-chat-controls{visibility:visible}
.hero-chat-controls button{font:inherit;font-size:12px;line-height:1.4;color:var(--ink-2);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:8px 12px;cursor:pointer;min-height:36px}
.hero-chat-controls button:hover{color:var(--ink);border-color:var(--accent)}
.hero-chat-controls button:disabled{opacity:.45;cursor:default}
.hero-chat-caption{font-size:11px!important;color:var(--ink-2);text-align:center;margin:9px 0 0;line-height:1.5}
@media(prefers-reduced-motion:reduce){.hero-chat-stage{display:none}.hero-chat-controls{visibility:hidden!important}}
:root[data-motion="off"] .hero-chat-stage{display:none}
:root[data-motion="off"] .hero-chat-controls{visibility:hidden!important}

.hero-chat-stage [hidden]{display:none}

.hero-chat-follow{position:absolute;left:0;top:100px;width:540px;height:827px;overflow:hidden;background:#111}
.hero-chat-track{position:absolute;inset:0;will-change:transform}
.hero-chat-original{height:526px;background-size:540px 1143px;background-position:0 -100px;background-repeat:no-repeat}
.hero-chat-bubble{position:absolute;left:94px;width:426px;min-height:92px;padding:17px 20px;border-radius:16px;background:#2d6a4f;color:#b7e4c7;font-size:20px;line-height:29px;letter-spacing:.3px}
.hero-chat-reply{position:absolute;left:19px;width:502px;min-height:190px;padding:22px 20px;border-radius:16px;background:#1e1e1e;font-size:20px;line-height:29px;letter-spacing:.2px}
.hero-chat-reply-text{min-height:90px}
.hero-chat-reply-source{font-size:16px;color:#74c69d;border-top:1px solid #444;padding-top:12px;margin-top:12px}

.hero-chat-research{position:absolute;inset:0;background:#1e1e1e;overflow:hidden}
.hero-chat-research-shot{position:absolute!important;inset:0;width:540px!important;height:1143px!important;object-fit:contain;max-width:none!important}
.hero-chat-research-shot.hero-chat-landscape-shot{width:1143px!important;height:540px!important;left:-301.5px;top:301.5px;transform:rotate(90deg)}
.hero-chat-research-mask{position:absolute;left:0;top:150px;width:540px;height:675px;background:#111}
.hero-chat-research-question{top:170px}
.hero-chat-curtain{position:absolute;inset:0;background:#111;opacity:0}

/* Home hero (data-hero-tabs). The still in the page is the finished document answer, a capture with no status bar.
   With motion off the research tab swaps in the research answer, cropped so its own status bar is hidden (59 of 540,
   as on the Check phone); the research screens inside the stage are placed the same way, so the still and the
   animation line up to the pixel. */
.hero-crop{aspect-ratio:540/1143;overflow:hidden}
.hero-crop.is-research>img{margin-top:-10.926%}
.hero-chat-frame{position:absolute!important;inset:0;width:540px!important;height:1143px!important;max-width:none!important}
.hero-chat-stage.is-intro>:not(.hero-chat-curtain){display:none}
[data-hero-tabs] .hero-chat-research-shot:not(.hero-chat-landscape-shot){inset:-59px auto auto 0;height:auto!important;object-fit:fill}
[data-hero-tabs] .hero-chat-research-mask{top:99px;height:707px}
[data-hero-tabs] .hero-chat-research-question{top:118px}

/* The document part built from captures (data-hero-captures). Everything here sits where the captures in
   assets/private-demo have it, in their 540 x 1143 frame: the chat area between the header and the input bar, the
   title in the header, the answer card, the inside of the focused input, its cursor, and the searching mascot
   at the size the capture shows it and clipped to its box, as in the capture, where the pepper coming in from the
   right is cut off (its label comes from the capture). */
.hero-chat-wipe{position:absolute;left:0;top:101px;width:540px;height:826px;background:#121212}
.hero-chat-title-blank{position:absolute;left:0;top:42px;width:480px;height:40px;background:#1e1e1e;opacity:0}
.hero-chat-capture-card{position:absolute;left:19.5px;top:181.5px;width:501px;background:#1e1e1e;border-radius:16px}
.hero-chat-input{position:absolute;inset:0}
.hero-chat-blank{position:absolute;left:30px;top:955px;width:284px;height:34px;background:#1e1e1e}
.hero-chat-cursor{position:absolute;top:962px;width:2px;height:20px;background:#83d5ac}
.hero-chat-thinking.is-inline{left:27px;height:48px}
.hero-chat-thinking.is-inline svg{width:84px;height:48px;overflow:hidden}
.hero-chat-thinking.is-inline .hero-chat-thinking-label{display:none}
