/* newEVA 5 / Navy, red and white. Original demo artwork, not an official brand kit. */
:root {
  color-scheme:light;
  --navy:#102449;--navy-deep:#081a36;--navy-soft:#264771;--red:#e52b45;--red-dark:#c91c36;
  --ink:#172b49;--muted:#627087;--line:#dfe6ef;--soft:#f3f6fa;--white:#fff;
  --blue-tint:#eef4fb;--red-tint:#fff0f2;--shadow:0 12px 40px #10244909;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-synthesis:none;text-rendering:optimizeLegibility;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:#fbfcfe;color:var(--ink);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.modal-open{overflow:hidden}
button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}
button{color:inherit}a{color:var(--navy)}button:disabled{opacity:.5;cursor:not-allowed}
[hidden]{display:none!important}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #3979b9;outline-offset:4px}
button svg,a svg{flex-shrink:0}img{max-width:100%}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{line-height:1.25;letter-spacing:-.025em}
.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}
.skip-link{position:fixed;top:-70px;left:20px;z-index:999;background:white;padding:12px}.skip-link:focus{top:10px}
.topbar{position:sticky;top:0;z-index:25;background:#ffffffed;border-bottom:1px solid #e6ebf2;backdrop-filter:blur(16px)}
.topbar-inner{max-width:1160px;height:92px;padding:0 32px;margin:auto;display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand>span{display:flex;flex-direction:column;gap:0}
.brand strong{font-size:29px;letter-spacing:-1.3px;line-height:1.1;font-weight:500;color:var(--navy)}
.brand strong span{font-weight:800}.brand strong i{display:inline-block;margin-left:3px;width:6px;height:6px;background:var(--red);border-radius:50%}
.brand small{font-size:10.5px;letter-spacing:.025em;color:var(--muted);margin-top:6px}
.experiment-label{font-size:10px;letter-spacing:.17em;color:var(--muted);display:flex;align-items:center;gap:8px}
.experiment-label>span{width:6px;height:6px;background:var(--red);border-radius:50%}.experiment-label b{font-weight:500;color:#8793a5;border-left:1px solid var(--line);padding-left:9px}
.workspace{max-width:1040px;margin:auto;padding:44px 28px 210px}
.welcome{animation:fade-in .5s ease both}.welcome-top{display:flex;align-items:center;position:relative;gap:20px;margin-bottom:34px}
.welcome-copy{flex:1;max-width:680px}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:700;display:flex;align-items:center;gap:10px;color:var(--muted);margin-bottom:20px}
.red-line{height:2px;width:24px;background:var(--red)}.welcome h1{font-size:clamp(32px,4.25vw,51px);font-weight:750;line-height:1.13;margin:0 0 19px;letter-spacing:-1.9px}
.welcome h1 em{font-style:normal;color:var(--red)}.intro{font-size:15px;max-width:600px;color:var(--muted);margin:0;line-height:1.8}.intro strong{color:var(--navy)}
.companion-art{overflow:hidden;position:relative;width:228px;height:224px;flex-shrink:0}
.art-disc{position:absolute;inset:35px;border-radius:44px;transform:rotate(-12deg);background:linear-gradient(145deg,#344d75,#091b39 70%);box-shadow:16px 18px 35px #10244920,inset 1px 2px 2px #ffffff44;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0}
.art-spark{font-size:70px;color:white;line-height:1;transform:rotate(12deg)}.art-name{font-size:14px;font-weight:700;letter-spacing:.5px;color:#ffffffc9;transform:rotate(12deg)}
.orbit{position:absolute;inset:0;border:1px solid #d6e0ed;border-radius:50%;transform:rotate(-20deg)}.orbit-two{inset:15px;transform:rotate(30deg);border-style:dashed}
.art-float{position:absolute;border-radius:17px;display:grid;place-items:center;width:49px;height:49px;box-shadow:0 10px 24px #10244916;background:white;color:var(--red);border:1px solid #f0f1f5;transform:rotate(12deg)}
.art-float svg{width:24px;height:24px}.float-one{top:13px;right:0}.float-two{bottom:7px;left:0;color:var(--navy)}.art-dot{position:absolute;right:22px;bottom:25px;width:16px;height:16px;border-radius:50%;background:var(--red);box-shadow:0 0 0 7px #e52b4510}
.journey-label{display:flex;gap:20px;align-items:center;margin:0 0 16px;font-size:10px;letter-spacing:.13em;font-weight:700;color:var(--muted)}
.journey-label i{height:1px;background:var(--line);flex:1}
.journeys{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.journey-card{position:relative;text-align:left;border:1px solid #dfe5ed;border-radius:22px;min-height:194px;padding:24px 26px;overflow:hidden;display:flex;align-items:center;background:#fff;transition:transform .2s,box-shadow .2s,border-color .2s}
.journey-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #1024490c;border-color:#b8c9dd}
.journey-client{background:linear-gradient(110deg,#102449,#203d64);color:white;border-color:#102449}
.journey-deposits{background:linear-gradient(120deg,#f1f6fd,#fff)}
.journey-lending{background:linear-gradient(125deg,#fff,#f1f4f9)}
.journey-wealth{background:linear-gradient(120deg,#fff5f4,#fff)}
.journey-copy{display:flex;flex-direction:column;position:relative;z-index:1;max-width:68%}
.journey-copy small{font-size:9px;letter-spacing:.14em;font-weight:700;opacity:.65;margin-bottom:11px}
.journey-copy strong{font-size:24px;line-height:1.19;letter-spacing:-.6px;margin-bottom:9px;font-weight:720}
.journey-copy>span{font-size:11.5px;opacity:.75}
.journey-copy>i{margin-top:13px;line-height:1;display:inline-flex;font-style:normal}
.journey-card>img{position:absolute;right:15px;bottom:14px;width:142px;height:139px;object-fit:contain;transition:transform .3s}
.journey-card:hover>img{transform:translateY(-3px) rotate(-2deg)}
.journey-client>img{filter:drop-shadow(0 8px 10px #0002)}.journey-client .journey-copy>i{color:#ffb0b9}
.quick-start{display:flex;align-items:center;gap:10px;margin:23px 0 0;color:var(--muted);font-size:11.5px;flex-wrap:wrap}
.quick-start button{border:1px solid var(--line);background:white;border-radius:20px;padding:7px 13px;font-size:11.5px;min-height:36px}
.quick-start button:hover{border-color:var(--navy);color:var(--navy)}.quick-start button span{color:var(--red);margin-left:7px}
.thread:empty{display:none}.thread{max-width:900px;margin:auto}
.turn{margin:0 0 38px;overflow-anchor:none}.turn:last-child{min-height:calc(100dvh - 245px)}
.user-row{display:flex;justify-content:flex-end;margin:0 0 28px}.user-bubble{max-width:80%;background:var(--navy);color:white;border-radius:22px 22px 5px 22px;padding:14px 21px;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 6px 18px #10244909}
.assistant-answer{scroll-margin-top:116px;outline:none;overflow-anchor:none}
.assistant-label{display:flex;align-items:center;gap:10px;margin-bottom:17px}
.assistant-label>img{height:30px;width:30px;border-radius:10px}.assistant-label strong{font-size:15px;font-weight:750;letter-spacing:-.4px}.assistant-label>span{font-size:9px;letter-spacing:.1em;color:var(--muted);border:1px solid var(--line);padding:2px 7px;border-radius:7px}
.response-skeleton{padding:22px 25px;border:1px solid var(--line);border-radius:22px;background:white;min-height:330px}
.thinking{display:flex;gap:12px;align-items:center;margin-bottom:25px;font-size:14px;color:var(--muted)}
.thinking-dots{display:flex;gap:4px}.thinking-dots i{width:5px;height:5px;border-radius:50%;background:var(--red);animation:pulse 1.4s ease infinite}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}
.skeleton-line{height:12px;border-radius:8px;background:linear-gradient(90deg,#edf1f6,#fafbfd,#edf1f6);background-size:200% 100%;animation:shimmer 1.8s ease infinite;margin-bottom:12px}
.skeleton-line.short{width:62%}.skeleton-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:27px}.skeleton-card{height:140px;background:#f4f6fa;border-radius:16px}
.response-error{padding:23px;border-radius:20px;background:var(--red-tint);border:1px solid #f4c3cb}.response-error p{margin-bottom:10px}.response-error small{display:block;color:var(--muted);font-size:11px}
.response-error button{background:var(--navy);color:white;border:0;padding:10px 16px;border-radius:11px;margin-top:15px}
.answer-tools{display:flex;gap:8px;margin-top:16px}.answer-tools button{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font-size:11px;padding:8px;border-radius:8px}.answer-tools button:hover{background:var(--blue-tint)}
.composer-dock{position:fixed;bottom:0;left:0;right:0;z-index:22;background:linear-gradient(0deg,#fbfcfe 84%,#fbfcfe00);padding:18px 24px max(10px,env(safe-area-inset-bottom))}
.composer-shell{max-width:984px;margin:auto;border:1px solid #d9e1eb;background:white;border-radius:21px;box-shadow:0 10px 40px #10244910;overflow:hidden}
.composer{display:flex;align-items:flex-end;padding:14px 15px 5px 20px;gap:12px}
.composer textarea{flex:1;min-width:0;resize:none;max-height:132px;border:0;outline:none!important;background:transparent;line-height:1.5;padding:7px 0;font-size:15px;color:var(--ink)}
.composer textarea::placeholder{color:#8b96a7}
.send-button{width:41px;height:41px;background:var(--red);color:white;border:0;border-radius:13px;display:grid;place-items:center;flex-shrink:0;transition:background .2s,transform .2s}.send-button:hover{background:var(--red-dark);transform:translateY(-1px)}.stop-button{background:var(--navy)}
.composer-tools{display:flex;align-items:center;justify-content:space-between;padding:3px 14px 10px;gap:8px}
.composer-tools>div{display:flex;gap:6px}.composer-tools button{border:0;background:transparent;display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;padding:7px;border-radius:8px;min-height:32px}.composer-tools button svg{width:15px;height:15px}
.composer-tools button:hover{background:var(--soft);color:var(--navy)}
.privacy-hint{font-size:9px;color:#8993a2;display:flex;align-items:center;gap:5px}.privacy-hint svg{width:12px;height:12px}
.experiment-disclaimer{font-size:9px;line-height:1.5;color:#7a879a;text-align:center;max-width:1000px;margin:9px auto 0}
.experiment-disclaimer strong{font-weight:600;color:#5e708a}.experiment-disclaimer>span{white-space:normal}
.scenario-strip{font-size:11px;background:var(--blue-tint);padding:8px 18px;display:flex;justify-content:space-between;align-items:center;gap:8px}.scenario-strip button{border:0;background:transparent}
.modal{border:1px solid var(--line);border-radius:24px;padding:0;width:min(680px,calc(100vw - 32px));max-height:min(86dvh,850px);color:var(--ink);box-shadow:0 32px 100px #081a3640;overflow:auto;background:white}
.modal::backdrop{background:#081a3678;backdrop-filter:blur(5px)}
.modal[open]{animation:modal-in .22s ease-out}
.modal-header{display:flex;align-items:center;gap:15px;background:var(--navy);color:white;padding:26px;position:sticky;top:0;z-index:2}
.modal-header h2{font-size:23px;margin:0}.modal-header p{font-size:9px;letter-spacing:.16em;color:#b6c6df;margin-bottom:7px}
.modal-emblem{width:45px;height:45px;border-radius:15px;background:#ffffff12;display:grid;place-items:center;flex-shrink:0;color:#ff98a7}
.modal-close{width:40px;height:40px;margin-left:auto;background:#ffffff12;color:white;border:1px solid #ffffff24;border-radius:50%;flex-shrink:0;display:grid;place-items:center}
.modal-close:hover{background:#ffffff25}
.learning-content{padding:26px 30px;font-size:15px;line-height:1.9;min-height:270px}
.learning-content h3{font-size:17px;color:var(--navy);margin:24px 0 10px}.learning-content p{margin:0 0 17px}
.learning-content .cited-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}
.citation-link{display:inline;font-size:11px;font-weight:650;color:var(--navy);text-decoration:underline;text-underline-offset:3px;margin:0 3px}
.learning-footnote{font-size:10px;color:var(--muted);margin-top:15px;border-top:1px solid var(--line);padding-top:12px}
.modal-footer{border-top:1px solid var(--line);background:var(--soft);padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.modal-footer>span{font-size:10px;color:var(--muted)}
.primary-button{border:0;background:var(--red);color:white;border-radius:12px;min-height:43px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:650}
.primary-button:hover{background:var(--red-dark)}.wide{width:100%}
.calculator-body{padding:24px}.muted{color:var(--muted);font-size:13px}.calculator-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.calculator-inputs label{font-size:11px;color:var(--muted);display:flex;flex-direction:column;justify-content:flex-end;gap:7px}
.calculator-inputs input{width:100%;border:1px solid var(--line);padding:11px 10px;border-radius:10px;color:var(--navy);font-weight:650;font-size:16px}
.loan-total{background:linear-gradient(135deg,var(--navy),#2c4c76);border-radius:17px;color:white;padding:22px;margin:20px 0}
.loan-total small{color:#c3d1e5;font-size:11px}.loan-total>strong{display:block;font-size:36px;letter-spacing:-1.4px}
.loan-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.loan-breakdown strong{display:block;font-size:15px}.loan-chart{width:100%;height:100px}
.calc-note{display:block;color:var(--muted);font-size:10px;line-height:1.65;margin-top:13px}
.toast{position:fixed;bottom:185px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;padding:10px 18px;border-radius:20px;z-index:60;font-size:12px;box-shadow:var(--shadow)}
@keyframes fade-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes modal-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes shimmer{to{background-position:-200% 0}}@keyframes pulse{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media(min-width:1500px){.workspace{padding-top:64px}.welcome-top{margin-bottom:40px}}
@media(max-width:700px){
 .topbar-inner{height:77px;padding:0 18px}.brand{gap:9px}.brand>img{width:36px;height:36px}.brand strong{font-size:25px}.brand small{font-size:8px;letter-spacing:0}
 .experiment-label{font-size:8px;letter-spacing:.08em;gap:5px}.experiment-label b{display:none}
 .workspace{padding:28px 17px 210px}.welcome-top{margin-bottom:25px}.welcome-copy{max-width:100%}.companion-art{display:none}
 .eyebrow{font-size:8px;letter-spacing:.11em;margin-bottom:15px}.welcome h1{font-size:34px;letter-spacing:-1.2px;margin-bottom:15px}
 .intro{font-size:12.5px;line-height:1.85;max-width:560px}.journey-label{font-size:8px;letter-spacing:.075em;gap:10px;margin-bottom:12px}
 .journeys{gap:10px}.journey-card{min-height:178px;padding:17px 16px;align-items:flex-start;border-radius:18px}
 .journey-copy{max-width:100%}.journey-copy small{font-size:6.7px;letter-spacing:.065em;line-height:1.5;margin-bottom:10px}
 .journey-copy strong{font-size:18px;letter-spacing:-.45px;margin-bottom:7px}.journey-copy>span{font-size:9px;max-width:127px;line-height:1.5}
 .journey-copy>i{margin-top:18px}.journey-card>img{width:77px;height:75px;right:5px;bottom:3px;opacity:.95}
 .quick-start{font-size:10px;gap:7px;margin-top:19px}.quick-start>span{width:100%}.quick-start button{font-size:10px;padding:7px 11px}
 .composer-dock{padding:14px 10px max(7px,env(safe-area-inset-bottom));}.composer-shell{border-radius:17px}
 .composer{padding:10px 10px 2px 13px;gap:6px}.composer textarea{font-size:16px;padding:8px 0}
 .send-button{width:44px;height:44px;border-radius:12px}.composer-tools{padding:2px 8px 6px}.composer-tools button{font-size:9px;min-height:32px}
 .privacy-hint{font-size:8px;max-width:127px;line-height:1.4;gap:3px}.privacy-hint svg{display:none}
 .experiment-disclaimer{font-size:9px;line-height:1.45;margin-top:7px;max-width:390px;padding:0 8px}
 .experiment-disclaimer>span{display:block}
 .user-bubble{max-width:91%;font-size:13px;padding:12px 16px}.user-row{margin-bottom:23px}
 .assistant-answer{scroll-margin-top:95px}.assistant-label{margin-bottom:15px}.assistant-label strong{font-size:14px}.assistant-label>img{height:27px;width:27px}
 .response-skeleton{padding:20px;min-height:330px}.thinking{font-size:12px}.skeleton-card{height:130px}
 .modal{width:calc(100vw - 16px);max-height:91dvh;border-radius:21px;margin:auto}
 .modal-header{padding:18px 17px;gap:10px}.modal-header h2{font-size:18px}.modal-header p{font-size:8px}
 .modal-emblem{width:35px;height:35px;border-radius:12px}.modal-close{width:44px;height:44px}
 .learning-content{padding:22px 20px;font-size:14px}.modal-footer{padding:14px 17px;flex-direction:column;align-items:stretch}.modal-footer>span{text-align:center}
 .primary-button{min-height:44px}.calculator-body{padding:19px}.calculator-inputs{grid-template-columns:1fr 1fr}.calculator-inputs label:first-child{grid-column:span 2}
 .loan-total>strong{font-size:32px}.toast{bottom:175px}
}
@media(max-width:360px){.welcome h1{font-size:29px}.brand small{font-size:7px}.journey-copy strong{font-size:16px}.journey-card{padding:14px 11px}.journey-copy small{font-size:6px}.privacy-hint{display:none}.experiment-label{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html{scroll-behavior:auto}}

body[data-keyboard="true"] .experiment-disclaimer{display:none}
body[data-keyboard="true"] .privacy-hint{display:none}
