/* Illustrative message bubbles and a separate narrative carousel; original motion stays intact. */
.attention-section [hidden],.conversation-context [hidden] { display:none!important; }
.attention-section .benefit-layout { align-items:center; }
.attention-section .benefit-copy > p { font-size:18px; line-height:1.7; color:#b3c0b8; max-width:440px; margin-top:24px; }
.attention-story { margin:0; min-width:0; width:100%; max-width:560px; justify-self:center; }
.attention-stage { position:relative; overflow:hidden; padding:24px; border:1px solid #344b3e; border-radius:26px; background:linear-gradient(135deg,#ffffff03,transparent 55%),#0c1510f5; box-shadow:0 24px 64px #00000040,inset 0 1px #ffffff06; }
.attention-stage-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:20px; margin-bottom:26px; border-bottom:1px solid #2a3c31; }
.attention-stage-identity { display:flex; align-items:center; gap:11px; min-width:0; }
.attention-channel { display:grid; place-items:center; width:35px; height:35px; border:1px solid #345443; border-radius:11px; background:#15271c; color:#8bdeb0; }
.attention-channel svg { width:18px; height:18px; }
.attention-stage-identity p { color:#e2efe6; font-size:14px; font-weight:600; line-height:1.4; letter-spacing:-.02em; }
.attention-stage-identity > div > span { color:#819e8c; font-size:11px; line-height:1.5; }
.attention-status { display:flex; align-items:center; gap:6px; color:#a2c3ae; font-size:10px; line-height:1.4; white-space:nowrap; }
.attention-status-dot { width:5px; height:5px; border-radius:50%; background:#79dba0; box-shadow:0 0 0 3px #79dba010; }
.attention-status-writing { display:none; }
[data-scene-ready="true"][data-response-phase="question"] .attention-status-writing { display:inline; }
[data-scene-ready="true"][data-response-phase="question"] .attention-status-ready { display:none; }
.attention-exchanges { min-height:290px; }
.attention-message-row { display:grid; gap:10px; min-width:0; align-items:end; }
.attention-row-client { grid-template-columns:minmax(0,1fr) 28px; padding-left:26px; }
.attention-row-aiuda { grid-template-columns:28px minmax(0,1fr); padding-right:14px; margin-top:22px; }
.attention-avatar { display:flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%; }
.attention-avatar-client { color:#9bb2a3; border:1px solid #344d3e; background:#1a2a20; }
.attention-avatar-client svg { width:15px; height:15px; stroke-width:1.4; }
.attention-avatar-aiuda { background:#203c2b; border:1px solid #467256; color:#edf8f0; font-size:23px; font-weight:700; letter-spacing:-.11em; padding-right:4px; line-height:1; }
.attention-avatar-aiuda > span { color:#42e59a; }
.attention-reply { position:relative; min-width:0; }
.attention-message { position:relative; width:fit-content; max-width:100%; padding:16px 19px 18px; border-radius:18px; box-shadow:0 10px 28px #0000001a; }
.attention-message::after { content:''; position:absolute; top:18px; width:10px; height:14px; }
.attention-message-client { margin-left:auto; color:#e6eee8; background:#1c2721; border:1px solid #405448; border-top-right-radius:6px; }
.attention-message-client::after { right:-9px; background:#1c2721; clip-path:polygon(0 0,100% 0,0 100%); }
.attention-speaker { font-size:11px; line-height:1.5; font-weight:550; color:#a0b5a8; margin-bottom:8px; }
.attention-question { font-size:clamp(17px,1.45vw,20px); line-height:1.45; letter-spacing:-.02em; text-wrap:pretty; }
.attention-answer { margin-right:auto; background:#c1efd0; color:#173c26; border-top-left-radius:6px; transition:opacity .65s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.16,1,.3,1),filter .5s; }
.attention-answer::after { left:-9px; background:#c1efd0; clip-path:polygon(0 0,100% 0,100% 100%); }
.attention-answer .attention-speaker-aiuda { color:#39704b; margin-bottom:8px; }
.attention-answer > p:last-child { font-size:clamp(17px,1.45vw,20px); line-height:1.45; letter-spacing:-.02em; text-wrap:pretty; }
.attention-writing { display:none; position:absolute; top:0; left:0; align-items:center; gap:5px; padding:17px 20px; background:#c1efd0; border-radius:6px 18px 18px; }
.attention-writing > span { width:5px; height:5px; border-radius:50%; background:#396b49; animation:2.8s ease-in-out infinite m-breathe; }
.attention-writing > span:nth-child(2) { animation-delay:-.3s; }
.attention-writing > span:nth-child(3) { animation-delay:-.6s; }
[data-scene-ready="true"][data-response-phase="question"] .attention-writing { display:flex; }
[data-scene-ready="true"][data-response-phase="question"] .attention-answer { opacity:0; transform:translateY(10px); filter:blur(2px); transition:none; }
.attention-stage-note { display:flex; align-items:center; justify-content:center; gap:8px; border-top:1px solid #253a2c; padding-top:17px; margin-top:18px; color:#8cae97; font-size:11px; line-height:1.5; }
.attention-stage-note svg { width:14px; height:14px; color:#739d81; }
.attention-story figcaption { color:#839b8b; font-size:10px; text-align:center; line-height:1.6; margin-top:14px; }
.conversation-context .context-inner { align-items:center; }
.summary-conversations { min-height:270px; }
.transcript-line { display:grid; grid-template-columns:44px minmax(0,1fr); gap:10px; font-size:16px; line-height:1.55; color:#47614f; margin-top:14px; }
.transcript-line:first-child { margin-top:0; }
.transcript-line > span:first-child { font-size:10px; font-weight:550; color:#748a79; padding-top:4px; }
.transcript-line.transcript-aiuda { color:#265137; }
.transcript-line.transcript-aiuda > span:first-child { color:#3d7e56; }
.summary-journey { min-width:0; }
.summary-rail { height:68px; position:relative; margin:20px 0 16px; }
.summary-rail-track { position:absolute; inset:33px 31px auto; height:1px; background:#a7bfac; }
.summary-rail-fill { display:block; width:100%; height:1px; background:#42835b; transform:scaleX(0); transform-origin:left; transition:transform .75s cubic-bezier(.22,1,.36,1); }
.summary-traveler { display:block; position:absolute; top:50%; left:0; width:62px; height:62px; transform:translate(-50%,-50%); transition:left .75s cubic-bezier(.22,1,.36,1); }
.summary-traveler .guide { display:block; width:62px; height:62px; }
.narrative-slider .summary-result-label { font-size:10px; margin-bottom:12px; letter-spacing:.09em; }
.narrative-slider .summary-results { min-height:150px; }
.narrative-result > p { color:#3c5745; font-size:18px; line-height:1.75; letter-spacing:-.015em; text-wrap:pretty; }
.narrative-result strong { color:#183f29; font-weight:590; }
.narrative-slider > figcaption { margin-top:22px; font-size:11px; }
[data-scene-ready="true"] .conversation-panel:not([hidden]) { animation:conversation-enter .8s cubic-bezier(.2,.7,.2,1) both; }
[data-scene-ready="true"] [data-turn], [data-scene-ready="true"] .summary-results { transition:opacity .65s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.16,1,.3,1),filter .5s; }
[data-conversation-step="0"] [data-turn="1"],[data-conversation-step="0"] [data-turn="2"],[data-conversation-step="0"] [data-turn="3"],[data-conversation-step="1"] [data-turn="2"],[data-conversation-step="1"] [data-turn="3"],[data-conversation-step="2"] [data-turn="3"],.conversation-context:not([data-conversation-step="4"]) .summary-results { opacity:0; transform:translateY(10px); filter:blur(2px); }
[data-conversation-step="0"] [data-turn], [data-conversation-step="0"] .summary-results { transition:none; }
.offscreen .conversation-panel,body.page-hidden .conversation-panel { animation-play-state:paused!important; }
@keyframes conversation-enter { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.hero-first-line { display:block; }
@font-face { font-family:'Space Grotesk'; font-style:normal; font-weight:600; font-display:swap; src:url('assets/SpaceGrotesk-Semibold.woff2') format('woff2'); }
.welcome-hero .hero-welcome { position:relative; flex-direction:column; align-items:center; gap:0; width:108px; max-width:100%; padding-top:64px; }
.welcome-hero .welcome-greeting { position:absolute; left:50%; top:auto; bottom:calc(100% - 48px); width:204px; max-width:min(270px,calc(100vw - 28px)); box-sizing:border-box; margin:0; padding:8px 13px; border:0; border-radius:16px; background:#fff; color:#0b1020; box-shadow:0 10px 30px rgba(0,0,0,.45); font:600 13.5px/1.35 'Space Grotesk',system-ui,sans-serif; letter-spacing:normal; text-align:left; text-wrap:balance; transform-origin:50% 100%; translate:-50%; animation:none; transition:none; transform:none; opacity:1; pointer-events:none; }
.welcome-greeting::before { content:''; position:absolute; top:auto; bottom:-5px; left:calc(50% - 6px); width:12px; height:12px; border:0; border-radius:2px; background:#fff; transform:rotate(45deg); }
.hero-welcome[data-original-motion] .welcome-greeting[data-original-text] { transform-origin:50% 100%; }
.welcome-hero .welcome-greeting { text-align:center; }
.hero-welcome[data-original-motion]:not(.say) .welcome-greeting[data-original-text] { opacity:0; transform:scale(.5); transition:none; }
@media(min-width:900px) {
  .welcome-hero .hero-welcome { padding-top:0; }
  .welcome-hero .welcome-greeting { left:calc(50% + 72px); top:12%; bottom:auto; width:260px; max-width:260px; padding:11px 15px; font-size:16px; transform-origin:0% 30%; translate:none; }
  .hero-welcome[data-original-motion] .welcome-greeting[data-original-text] { transform-origin:0% 30%; }
  .welcome-greeting::before { top:17px; bottom:auto; left:-5px; }
}
@media(min-width:761px) { .welcome-hero h1 { font-size:clamp(45px,5vw,70px); } }
@media(max-width:760px) {
  .welcome-hero h1 { font-size:clamp(35px,8.7vw,50px); line-height:1.1; text-wrap:balance; }
  .hero-first-line { display:inline; }
  .welcome-greeting { font-size:12px; }
  .attention-section { padding-block:48px; }
  .attention-section .benefit-layout { gap:30px; }
  .attention-section .benefit-copy h2 { font-size:32px; }
  .attention-section .benefit-copy > p { font-size:16px; margin-top:18px; }
  .attention-stage { padding:18px 15px; border-radius:23px; }
  .attention-stage-header { gap:8px; padding-bottom:16px; margin-bottom:22px; }
  .attention-stage-identity { gap:8px; }
  .attention-channel { width:29px; height:29px; border-radius:9px; }
  .attention-channel svg { width:15px; height:15px; }
  .attention-stage-identity p { font-size:13px; }
  .attention-stage-identity > div > span { font-size:10px; }
  .attention-status { font-size:9px; gap:5px; }
  .attention-exchanges { min-height:310px; }
  .attention-message-row { gap:8px; }
  .attention-row-client { grid-template-columns:minmax(0,1fr) 24px; padding-left:12px; }
  .attention-row-aiuda { grid-template-columns:24px minmax(0,1fr); padding-right:0; margin-top:18px; }
  .attention-avatar { width:24px; height:24px; }
  .attention-avatar-aiuda { font-size:20px; }
  .attention-message { padding:14px 15px 16px; border-radius:16px; }
  .attention-message-client { border-top-right-radius:5px; }
  .attention-question { font-size:17px; }
  .attention-answer { border-top-left-radius:5px; }
  .attention-answer > p:last-child { font-size:17px; }
  .attention-stage-note { font-size:10px; gap:6px; padding-top:14px; margin-top:16px; }
  .summary-conversations { min-height:330px; }
  .transcript-line { grid-template-columns:36px minmax(0,1fr); gap:9px; font-size:15px; line-height:1.6; margin-top:13px; }
  .transcript-line > span:first-child { font-size:9px; }
  .summary-rail { margin-top:15px; }
  .narrative-result > p { font-size:17px; line-height:1.75; }
  .narrative-slider .summary-results { min-height:205px; }
}
body[data-motion="paused"] .conversation-panel { animation:none!important; }
body[data-motion="paused"] .summary-traveler,body[data-motion="paused"] .summary-rail-fill,body[data-motion="paused"] [data-turn],body[data-motion="paused"] .summary-results,body[data-motion="paused"] .attention-story * { transition:none!important; }
@media(prefers-reduced-motion:reduce) { .conversation-panel { animation:none!important; } .summary-traveler,.summary-rail-fill,[data-turn],.summary-results,.attention-story * { transition:none!important; } }
