/* Ask Hexagen uses the site's paper, forest and serif type. No scroll hijacking. */
#assistant-footer { width:100%; max-width:1260px; margin:0 auto 58px; }
.ask-teaser { position:relative; overflow:hidden; border-radius:28px; background:radial-gradient(ellipse at 10% 0%, #416351 0%, #1b352c 52%, #10251f 100%); color:var(--paper); }
.ask-teaser-body { display:grid; grid-template-columns:1fr 1.15fr; align-items:center; gap:48px; padding:70px 64px 46px; }
.ask-teaser-copy h2 { font:normal clamp(32px,3.5vw,50px)/1.08 Georgia,'Times New Roman',serif; letter-spacing:-1.5px; margin:22px 0; }
.ask-teaser-copy > p { font-size:14px; line-height:1.9; max-width:490px; color:#d7e0d6; }
.ask-badge { display:inline-flex; align-items:center; border:1px solid #ffffff30; border-radius:100px; padding:7px 12px; font:11px/1.3 Arial,sans-serif; letter-spacing:.06em; }
.ask-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:30px; }
.ask-teaser .primary { background:var(--accent); color:var(--ink); font-size:13px; }
.ask-secondary { display:inline-flex; min-height:46px; align-items:center; gap:18px; padding:10px 20px; border:1px solid #ffffff70; border-radius:100px; text-decoration:none; font-size:13px; }
.ask-library-label { display:block; color:#c0ccba; font-size:10px; margin-top:26px; line-height:1.7; }
.ask-preview { position:relative; max-width:390px; padding:20px 8px; }
.ask-preview-typing { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.ask-preview-measure,.ask-preview-line { grid-area:1 / 1; }
.ask-preview-measure { visibility:hidden; pointer-events:none; }
.ask-preview .ask-typewriter-cursor { width:1.5px; visibility:hidden; }
.ask-preview[data-preview-phase="blank"] .ask-preview-question .ask-preview-line .ask-typewriter-cursor,
.ask-preview[data-preview-phase="question"] .ask-preview-question .ask-preview-line .ask-typewriter-cursor,
.ask-preview[data-preview-phase="erasing-question"] .ask-preview-question .ask-preview-line .ask-typewriter-cursor,
.ask-preview[data-preview-phase="waiting-answer"] .ask-preview-answer .ask-preview-line .ask-typewriter-cursor,
.ask-preview[data-preview-phase="answer"] .ask-preview-answer .ask-preview-line .ask-typewriter-cursor,
.ask-preview[data-preview-phase="hold"] .ask-preview-answer .ask-preview-line .ask-typewriter-cursor,
.ask-preview[data-preview-phase="erasing-answer"] .ask-preview-answer .ask-preview-line .ask-typewriter-cursor { visibility:visible; }
.ask-preview[data-running="true"] .ask-preview-line .ask-typewriter-cursor { animation-play-state:running; }
@media(prefers-reduced-motion:reduce) { .ask-preview[data-preview-phase] .ask-preview-typing .ask-preview-line .ask-typewriter-cursor { visibility:hidden; } }
.ask-preview-question { border-radius:18px 18px 3px 18px; padding:20px 22px; background:#d1e4ac; color:var(--ink); width:85%; margin:0 0 24px auto; font-size:15px; display:flex; justify-content:space-between; gap:15px; }
.ask-preview-answer { background:#f6f7f2; color:var(--ink); border:1px solid #fff; border-radius:22px; padding:25px; margin-right:20px; transform:rotate(-3deg); box-shadow:0 18px 50px #081a1a40; }
.ask-preview-label { display:flex; align-items:center; gap:10px; font-size:11px; }
.ask-preview-answer p { font:normal 25px/1.35 Georgia,'Times New Roman',serif; letter-spacing:-.5px; margin:22px 0; }
.ask-preview-source { border-top:1px solid var(--line); padding-top:14px; font-size:10px; display:flex; gap:8px; align-items:center; }
.ask-preview-source span:last-child { margin-left:auto; color:var(--muted); }
.ask-preview-tools { display:flex; gap:16px; align-items:center; background:#e6ecdc; color:var(--ink); border-radius:16px; padding:20px; margin:20px -8px 0 40px; transform:rotate(4deg); }
.ask-preview-tools > span:first-child { font:normal 28px/1 Georgia,serif; }
.ask-preview-tools > div { font-size:11px; line-height:1.8; }.ask-preview-tools small { color:var(--muted); font-size:10px; }.ask-preview-tools > span:last-child { margin-left:auto; }
.ask-stream { overflow:hidden; padding:20px 0 46px; mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.ask-stream-row { display:flex; width:max-content; gap:12px; margin-top:12px; animation:ask-drift 44s linear infinite; animation-play-state:paused; }
.ask-stream-group { display:flex; flex-shrink:0; gap:12px; }
.ask-stream a { display:flex; gap:28px; align-items:center; padding:13px 22px; min-height:44px; color:#e0e7db; background:#ffffff08; border:1px solid #ffffff20; border-radius:100px; font-size:12px; white-space:nowrap; text-decoration:none; }
.ask-stream a > span { color:var(--accent); }.ask-stream-row:nth-child(2) { animation-direction:reverse; animation-duration:50s; }
[data-ask-motion][data-running="true"] .ask-stream-row { animation-play-state:running; }
.ask-stream:hover .ask-stream-row,.ask-stream:focus-within .ask-stream-row { animation-play-state:paused; }
.ask-pause { position:absolute; bottom:8px; right:16px; display:grid; place-items:center; width:44px; height:44px; border:0; background:transparent; color:inherit; font-size:19px; border-radius:50%; }
.ask-page h1,.ask-page h2 { font-family:Georgia,'Times New Roman',serif; font-weight:normal; }
.ask-hero { position:relative; padding:40px 0 45px; overflow:hidden; text-align:center; }
.ask-hero > .text-link { display:block; text-align:left; margin-bottom:40px; font-size:12px; }
.ask-hero .ask-badge { border-color:var(--line); }
.ask-hero h1 { font-size:clamp(40px,5.5vw,76px); line-height:1.04; letter-spacing:-2.5px; margin:25px 0; }
.ask-hero > p { font-size:15px; line-height:1.8; max-width:530px; margin:0 auto; color:var(--muted); }
.ask-hero .ask-stream { margin-top:34px; }
.ask-hero .ask-stream a { color:var(--ink); background:#e9eddf; border-color:var(--line); }.ask-hero .ask-stream a > span { color:var(--green); }
.ask-story { display:grid; grid-template-columns:.85fr 1.15fr; gap:9%; padding-top:50px; border-top:1px solid var(--line); scroll-margin-top:30px; }
.ask-story-side { align-self:start; position:sticky; top:40px; padding:20px 0 60px; }
.ask-story-side h2 { font-size:clamp(32px,3.4vw,46px); line-height:1.15; letter-spacing:-1px; margin:20px 0; }.ask-story-side > p { font-size:14px; line-height:1.9; color:var(--muted); max-width:310px; }
.ask-story-side ol { list-style:none; padding:0; margin-top:34px; }.ask-story-side li { border-left:2px solid var(--line); }.ask-story-side li.active { border-color:var(--green); }.ask-story-side li a { display:flex; gap:20px; padding:16px 22px; color:var(--muted); text-decoration:none; font-size:13px; }.ask-story-side li.active a { color:var(--ink); }.ask-story-side li span { font-size:10px; align-self:center; }
.ask-chapter { position:relative; padding:30px 0 80px; scroll-margin-top:30px; }.ask-step-number { color:var(--muted); font-size:11px; }.ask-chapter h2 { font-size:34px; line-height:1.15; letter-spacing:-.6px; margin:16px 0; }.ask-chapter > p { font-size:14px; line-height:1.9; max-width:420px; color:var(--muted); }
.ask-step-art { border-radius:24px; margin-top:35px; min-height:280px; padding:40px; display:flex; align-content:center; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; overflow:hidden; background:#e9eddf; }.ask-step-art-1 { background:var(--green); }.ask-step-art-2 { background:#ece7dd; }
.ask-story-question { display:flex; justify-content:space-between; gap:30px; background:var(--paper); padding:25px; border:1px solid var(--line); border-radius:18px; font:normal 23px/1.4 Georgia,serif; width:100%; }.ask-story-arrow { font:20px/1.5 Arial,sans-serif; }
.ask-story-typing { flex:1; min-width:0; }
.ask-step-art.ask-step-art-0 { position:relative; padding-bottom:52px; }
.ask-source-chip { display:inline-flex; gap:12px; font-size:11px; padding:10px 15px; border:1px solid #264d4125; border-radius:100px; background:var(--paper); text-decoration:none; }
.ask-source-card { background:var(--paper); border-radius:20px; padding:25px; width:100%; transform:rotate(-3deg); }.ask-source-card p { font:normal 28px/1.3 Georgia,serif; }.ask-source-card > span { border-top:1px solid var(--line); padding-top:16px; display:block; font-size:11px; }
.ask-formula { display:flex; flex-direction:column; align-items:center; gap:18px; font:normal clamp(25px,2.5vw,34px)/1.3 Georgia,serif; text-align:center; width:100%; }.ask-formula span { font:11px/1.5 Arial,sans-serif; color:var(--muted); }
.ask-chat-section { border-top:1px solid var(--line); padding:64px 0 48px; scroll-margin-top:32px; }
.ask-chat-tools { display:flex; justify-content:flex-end; margin-bottom:20px; }
.ask-chat-tools[hidden] { display:none; }
.ask-chat-tools button { border:0; background:none; min-height:44px; font-size:12px; }
.ask-hero .ask-typewriter { line-height:1.12; color:var(--green); }
.ask-typewriter-frame { display:grid; grid-template-columns:minmax(0,1fr); max-width:900px; margin:auto; }
.ask-typewriter-measure,.ask-typewriter-line { grid-area:1 / 1; overflow-wrap:anywhere; }
.ask-typewriter-measure { visibility:hidden; padding-inline:.08em; pointer-events:none; }
.ask-typewriter-line { align-self:center; }
.ask-typewriter-cursor { display:inline-block; width:2px; height:.85em; margin-left:.08em; vertical-align:-.06em; background:currentColor; animation:ask-cursor 1s step-end infinite; animation-play-state:paused; }
[data-ask-typewriter][data-running="true"] .ask-typewriter-line .ask-typewriter-cursor { animation-play-state:running; }
@keyframes ask-cursor { 50% { opacity:0; } }
@media(prefers-reduced-motion:reduce) { .ask-typewriter-cursor { animation:none; visibility:hidden; } }
@media(hover:hover) and (pointer:fine) { .ask-step-art-0 .ask-pause:hover { background:#264d410a; } }

.ask-suggestions { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:48px; }.ask-suggestions button { min-height:52px; padding:14px 22px; background:#e9eddf; border:1px solid var(--line); border-radius:100px; font-size:13px; display:flex; align-items:center; gap:20px; text-align:left; }
.ask-messages { display:flex; flex-direction:column; align-items:stretch; gap:20px; }.ask-user-message { align-self:flex-end; max-width:85%; overflow-wrap:anywhere; padding:16px 22px; background:#e2ead6; border-radius:18px 18px 3px 18px; font-size:14px; margin:8px 0 0; }
.ask-answer-message { padding:24px; background:#fff; border:1px solid var(--line); border-radius:20px; }.ask-answer-label { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:12px; }.ask-answer-label > span { margin-left:auto; font-size:10px; color:var(--muted); }.ask-answer-message > p { font-size:14px; line-height:1.9; overflow-wrap:anywhere; white-space:pre-line; }.ask-inline-source { display:inline-flex; min-height:30px; min-width:30px; justify-content:center; align-items:center; margin-left:7px; border-radius:50%; background:#e9eddf; text-decoration:none; font-size:12px; }
.ask-answer-sources { display:flex; align-items:center; flex-wrap:wrap; gap:8px; border-top:1px solid var(--line); padding-top:16px; }.ask-answer-sources > span { font-size:10px; color:var(--muted); margin-right:5px; }.ask-answer-sources a { display:inline-flex; align-items:center; min-height:36px; gap:12px; border:1px solid var(--line); padding:6px 12px; border-radius:100px; font-size:11px; text-decoration:none; }
.ask-composer { display:flex; align-items:end; gap:12px; margin-top:30px; padding:12px; border:1px solid #bccab6; background:#fff; border-radius:22px; }.ask-composer:focus-within { outline:2px solid var(--green); outline-offset:3px; }.ask-composer textarea { width:100%; resize:vertical; border:0; background:transparent; outline:0; padding:12px; min-height:70px; max-height:180px; font:14px/1.7 Arial,sans-serif; color:var(--ink); }.ask-composer button { padding:0; min-width:46px; height:46px; justify-content:center; flex-shrink:0; }.ask-chat-status { font-size:12px; min-height:20px; color:var(--muted); }.ask-chat-scope { font-size:13px; font-weight:400; font-style:italic; line-height:1.8; color:var(--muted); text-align:center; }
@keyframes ask-drift { to { transform:translateX(calc(-50% - 6px)); } }
@media(prefers-reduced-motion:no-preference) { .ask-chapter.ask-seen .ask-step-art { animation:ask-reveal 650ms cubic-bezier(.23,1,.32,1) both; } }
@keyframes ask-reveal { from { opacity:.3; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@media(hover:hover) and (pointer:fine) { .ask-secondary:hover,.ask-pause:hover { background:#ffffff12; }.ask-stream a:hover { border-color:#90a47f; }.ask-suggestions button:hover { background:#dce7ce; } }
@media(prefers-reduced-motion:reduce) { .ask-stream-row { animation:none; }.ask-stream-group[inert] { display:none; }.ask-stream-row { width:auto; flex-wrap:wrap; }.ask-stream-group { flex-wrap:wrap; justify-content:center; }.ask-pause { display:none; }.ask-stream { mask-image:none; }.ask-stream a { white-space:normal; } }
@media(max-width:1000px) { .ask-teaser-body { padding:50px 36px 30px; gap:30px; }.ask-teaser-copy h2 { font-size:38px; }.ask-preview-answer p { font-size:23px; }.ask-story { gap:6%; }.ask-step-art { padding:28px; } }
@media(max-width:700px) { #assistant-footer { margin-bottom:80px; }.ask-teaser-body { grid-template-columns:1fr; padding:36px 28px 20px; gap:32px; }.ask-teaser-copy { grid-row:1; }.ask-teaser-copy h2 { font-size:37px; }.ask-teaser-copy > p { font-size:13px; }.ask-preview { width:100%; max-width:340px; margin:auto; }.ask-stream a { font-size:11px; padding:12px 17px; }.ask-story { grid-template-columns:1fr; row-gap:32px; padding-top:30px; }.ask-story-side { position:static; padding-bottom:12px; }.ask-story-side ol { display:flex; justify-content:space-between; gap:8px; }.ask-story-side li { flex:1; border-left:0; border-bottom:2px solid var(--line); }.ask-story-side li a { padding:12px 0; gap:10px; }.ask-chapter { padding-bottom:40px; }.ask-hero h1 { font-size:44px; letter-spacing:-1.6px; }.ask-hero > p { font-size:13px; }.ask-chapter h2 { font-size:31px; }.ask-chat-section { padding:40px 0 30px; scroll-margin-top:20px; }.ask-suggestions { margin-bottom:32px; }.ask-suggestions button { font-size:12px; padding:12px 18px; }.ask-answer-message { padding:20px; }.ask-answer-label > span { margin-left:0; width:100%; padding-left:34px; }.ask-suggestions { justify-content:flex-start; }.ask-composer textarea { font-size:16px; }.ask-preview-question { font-size:13px; } }
@media(max-width:380px) { .ask-teaser-body { padding:30px 22px 16px; }.ask-teaser-copy h2 { font-size:32px; }.ask-actions { gap:8px; }.ask-secondary { padding:10px 16px; }.ask-step-art { padding:22px; }.ask-preview-tools { margin-left:15px; }.ask-formula { font-size:25px; } }
@media(max-width:700px) {
  .home-assistant { margin-bottom:80px; }
  .ask-teaser-body { row-gap:24px; padding-bottom:32px; }
  .ask-teaser-copy { display:contents; }
  .ask-teaser-copy h2 { grid-row:1; margin:22px 0 0; }
  .ask-teaser-body > .ask-preview { grid-row:2; }
  .ask-teaser-copy > p { grid-row:3; margin:0; }
  .ask-teaser .ask-actions { grid-row:4; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:stretch; margin-top:0; }
  .ask-teaser .ask-actions > a { display:flex; width:100%; min-height:48px; align-items:center; justify-content:space-between; padding:12px; gap:8px; font-size:12px; }
  .ask-teaser .ask-actions svg { width:14px; height:14px; flex-shrink:0; }
  .ask-teaser > .ask-stream { display:none; }
  .ask-teaser > .ask-pause { top:8px; bottom:auto; }
}
@media(max-width:380px) { .ask-teaser .ask-actions { grid-template-columns:1fr; } }
