:root{--bg:#fdfdfd;--ink:#101114;--muted:#747880;--line:#e9e9ec;--panel:#f6f6f8;--radius:22px;--max:1160px}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #679afc;outline-offset:3px}
.container{max-width:var(--max);margin:auto;padding-left:36px;padding-right:36px}
.skip-link{position:absolute;top:-80px;left:14px;background:#111;color:white;padding:12px;z-index:9999}
.skip-link:focus{top:12px}
.site-header{position:sticky;top:0;z-index:30;background:rgba(253,253,253,.88);border-bottom:1px solid rgba(0,0,0,.045);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{text-decoration:none;display:inline-flex;align-items:center;gap:11px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:18px;font-weight:700;letter-spacing:-.055em;white-space:nowrap}
.brand-name b{font-weight:500}
.brand-separator{color:#b7b8bf;font-weight:400}
.brand-symbol{width:34px;height:34px;display:grid;place-items:center}
.nav-desktop{display:flex;align-items:center;gap:32px;margin-left:auto}
.nav-desktop a{font-size:13px;text-decoration:none;color:#64666c;transition:color .2s}
.nav-desktop a:hover{color:#111}
.button{border:1px solid transparent;border-radius:999px;padding:13px 21px;display:inline-flex;align-items:center;justify-content:center;gap:21px;text-decoration:none;font-weight:650;font-size:13px;transition:transform .2s,box-shadow .2s,background .2s;white-space:nowrap}
.button:hover{transform:translateY(-2px)}
.button-dark{background:#17181c;color:white;box-shadow:0 7px 18px rgba(0,0,0,.09)}
.button-dark:hover{background:#303137;box-shadow:0 9px 26px rgba(0,0,0,.15)}
.button-large{padding:17px 25px;font-size:14px}
.button-ghost{color:#2c2d31;border-color:#dedfe4;background:#fff}
.button-ghost:hover{background:#f6f6f6}

.hero{min-height:760px;padding-top:100px;padding-bottom:80px;display:grid;grid-template-columns:1.14fr 1fr;gap:42px;align-items:center;position:relative}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:.19em;text-transform:uppercase;font-weight:800;color:#666a73}
.eyebrow{display:flex;align-items:center;gap:9px}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:#9f9fed;box-shadow:0 0 0 5px #f0eeff}
.hero h1,h2,h3{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.hero h1{font-size:clamp(52px,6.2vw,94px);font-weight:700;letter-spacing:-.073em;line-height:1.10;margin:32px 0 25px}
.hero h1 span,.statement h2 span,.section-heading h2 span,.principles-layout h2 span,.white-label-copy h2 span,.faq-layout h2 span{color:#a1a3a9}
.hero-sub{font-size:18px;color:#70747c;max-width:550px;line-height:1.8;margin:0}
.hero-sub strong{color:#282a2d;font-weight:650}
.hero-buttons{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.hero-note{display:flex;align-items:center;gap:9px;color:#96979e;font-size:11px;margin-top:26px}
.live-pulse,.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#76d8a5;box-shadow:0 0 0 3px rgba(118,216,165,.14)}
.hero-visual{position:relative;height:495px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 48%,#eff1ff 0,#f9f9ff 38%,transparent 73%);overflow:hidden}
.orbit{position:absolute;border-radius:50%;border:1px solid rgba(150,155,207,.14)}
.orbit-outer{height:485px;width:485px}
.orbit-mid{height:408px;width:408px;transform:rotate(-18deg) scaleY(.84);border-color:rgba(135,134,204,.18)}
.hero-caption{position:absolute;bottom:6px;color:#8a8c95;font-size:12px;letter-spacing:.01em}
.caption-wave{color:#a097cb;padding-right:8px}
.scroll-hint{position:absolute;bottom:15px;left:36px;color:#b5b6bc;font-size:9px;font-weight:700;letter-spacing:.16em}
.scroll-hint span{margin-left:18px;font-size:16px}
.statement{background:#fafafb;border-top:1px solid #f1f1f3;border-bottom:1px solid #f0f0f2}
.statement-inner{padding-top:115px;padding-bottom:120px}
.statement h2,.section-heading h2,.principles h2,.white-label h2,.faq-layout h2{font-size:clamp(36px,4.4vw,62px);line-height:1.17;letter-spacing:-.065em;font-weight:680;margin:25px 0}
.statement-inner>p:not(.section-kicker){color:#757880;font-size:18px;line-height:1.75;max-width:730px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:56px}
.feature-card{min-height:260px;background:#fff;border:1px solid #e9e9ed;border-radius:20px;padding:26px;position:relative;transition:box-shadow .25s,transform .25s}
.feature-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(20,20,30,.05)}
.feature-index{position:absolute;right:27px;top:25px;color:#c9cad1;font-size:11px}
.feature-icon{font-size:34px;font-weight:400;color:#8484ae;margin-bottom:29px}
.feature-card h3{font-size:21px;letter-spacing:-.04em;margin:0 0 8px}
.feature-card p{font-size:14px;line-height:1.7;color:#83858c;margin:0}
.experience-section{padding-top:118px;padding-bottom:130px}
.section-heading{text-align:center;max-width:820px;margin:auto}
.section-heading p:last-child{max-width:650px;margin:0 auto;color:#7e8189;line-height:1.8;font-size:16px}
.experience-demo{max-width:836px;border:1px solid #292a31;background:#191a20;border-radius:25px;color:#fff;margin:54px auto 0;box-shadow:0 40px 100px rgba(30,29,52,.17);overflow:hidden}
.demo-top{height:55px;border-bottom:1px solid #35363d;display:flex;align-items:center;justify-content:space-between;padding:0 26px;color:#82848f;font-size:11px}
.demo-top>span:first-child{display:flex;gap:6px}
.demo-top i{display:block;width:7px;height:7px;border-radius:50%;background:#555660}
.demo-top>span:last-child{font-weight:700;color:#babbc5}
.demo-inner{padding:58px 20px 56px;text-align:center;background:radial-gradient(ellipse at 50% 20%,#353145 0,#191a20 60%)}
.demo-orb-wrap{margin:auto;width:102px}
.demo-overline{color:#b9aace;font-size:10px;letter-spacing:.2em;margin-top:24px}
.demo-inner h3{font-size:clamp(24px,4vw,36px);font-weight:550;letter-spacing:-.05em;margin:13px 0 8px}
.demo-inner>p:last-of-type{color:#8c8d97;font-size:14px}
.demo-prompts{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:31px}
.demo-prompts button{border:1px solid #55545f;border-radius:30px;background:rgba(255,255,255,.04);color:#e2e2eb;padding:11px 16px;font-size:12px;transition:background .2s,border .2s}
.demo-prompts button:hover{background:#3c3b49;border-color:#807d9d}
.demo-bottom{display:flex;justify-content:space-between;padding:17px 26px;border-top:1px solid #35363d;color:#858591;font-size:9px;letter-spacing:.13em}
.demo-bottom>span:first-child{display:flex;align-items:center;gap:9px}
.principles{background:#f8f8fa;padding:115px 0 118px}
.principles-layout{display:grid;grid-template-columns:1fr .72fr;gap:80px;align-items:end}
.principles-layout p{color:#797b84;line-height:1.8;font-size:16px;padding-bottom:8px}
.principles-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:48px}
.principles-grid article{background:#fff;border:1px solid #e8e8ed;border-radius:16px;padding:28px 22px;min-height:215px}
.principle-icon{font-size:31px;color:#a6a0c7}
.principles-grid h3{font-size:17px;letter-spacing:-.035em;margin:20px 0 9px}
.principles-grid p{font-size:13px;line-height:1.7;color:#85858f;margin:0}
.white-label{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center;padding-top:134px;padding-bottom:138px}
.white-label-visual{border-radius:24px;background:#111218;min-height:412px;color:#fff;padding:28px;position:relative;overflow:hidden}
.white-label-visual:before{content:'';position:absolute;width:360px;height:360px;background:radial-gradient(circle,#7c6ba955,transparent 67%);right:-120px;bottom:-170px}
.mini-brand{color:#f2f2ff;font-size:17px;font-weight:800;letter-spacing:-.055em}
.mini-brand span{font-size:9px;letter-spacing:.08em;color:#898994}
.sample-site{background:#f7f7f8;color:#202129;border-radius:16px;max-width:390px;margin:52px auto 24px;min-height:198px;padding:24px;box-shadow:0 24px 50px #0005}
.sample-logo{font-weight:800;font-size:17px;letter-spacing:-.05em}
.sample-row{margin-top:18px}
.sample-line{width:80%;height:8px;border-radius:9px;background:#dddde3;margin-top:8px}
.sample-line.short{width:54%}
.sample-highlight{margin-top:23px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 3px 14px rgba(15,15,20,.04);font-size:12px;font-weight:600}
.white-label-foot{position:relative;color:#9695a0;font-size:10px;letter-spacing:.08em;display:flex;justify-content:space-between;margin:0 14px}
.white-label-foot span{color:#dabee8}
.white-label-copy p:not(.section-kicker){font-size:16px;color:#7c7e87;line-height:1.8}
.white-label-copy ul{padding:0;list-style:none;margin:26px 0 29px}
.white-label-copy li{margin:13px 0;color:#3f424a;font-size:14px}
.white-label-copy li:before{content:'✓';color:#8d8eab;margin-right:12px}
.faq-section{background:#fafafb;border-block:1px solid #eeeeef;padding:104px 0}
.faq-layout{display:grid;grid-template-columns:.8fr 1fr;gap:80px}
.faq-layout>div:first-child>p:last-child{max-width:300px;font-size:15px;color:#898a92;line-height:1.7}
.faq-list details{border-bottom:1px solid #e1e1e5}
.faq-list summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:23px 0;font-size:15px;font-weight:600}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary span{font-size:21px;font-weight:300;color:#aaa}
.faq-list details[open] summary span{transform:rotate(45deg)}
.faq-list p{font-size:14px;color:#7e808a;line-height:1.85;padding:0 20px 20px 0;margin:0}
.final-cta{padding-top:125px;padding-bottom:125px;text-align:center}
.final-orb{margin-bottom:24px}
.final-cta h2{font-size:clamp(42px,5.7vw,77px);font-weight:680;letter-spacing:-.075em;line-height:1.13;margin:16px auto 20px}
.final-cta>p:not(.section-kicker){font-size:16px;color:#85868e;margin-bottom:30px}
.site-footer{border-top:1px solid var(--line)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;min-height:116px}
.footer-inner strong{font-size:16px;letter-spacing:-.05em}
.footer-inner strong span{color:#909098;font-weight:500}
.footer-inner small{display:block;color:#a0a0a7;margin-top:8px;font-size:11px}
.footer-links{display:flex;gap:22px;flex-wrap:wrap}
.footer-links a{color:#777982;font-size:12px;text-decoration:none}
.footer-links a:hover{color:#111}
.footer-year{font-size:11px;color:#b3b4ba}

.chat-launcher{position:fixed;z-index:49;right:27px;bottom:25px;display:flex;align-items:center;gap:11px;background:#18191f;border:1px solid rgba(255,255,255,.15);color:white;padding:10px 18px 10px 10px;border-radius:999px;box-shadow:0 14px 40px rgba(0,0,0,.19);font-size:13px;font-weight:700;transition:transform .22s,box-shadow .22s}
.chat-launcher:hover{transform:translateY(-3px);box-shadow:0 20px 45px rgba(0,0,0,.25)}
.launcher-arrow{font-size:16px;color:#aaaab6;margin-left:4px}

.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}
.modal-open{overflow:hidden}

@media(max-width:1050px){.nav-desktop{gap:18px}
.hero{gap:15px}
.orb-hero{width:250px;height:250px}
.orbit-outer{width:390px;height:390px}
.orbit-mid{width:340px;height:340px}
.hero-visual{height:430px}
.principles-grid{grid-template-columns:repeat(2,1fr)}
.white-label{gap:48px}
}

@media(max-width:740px){.container{padding-left:22px;padding-right:22px}
.header-inner{height:71px}
.nav-desktop{display:none}
.brand{font-size:16px}
.header-cta{padding:11px 14px;font-size:11px}
.hero{padding-top:60px;min-height:0;display:flex;flex-direction:column;align-items:stretch;padding-bottom:68px;gap:0}
.hero h1{font-size:clamp(52px,11.5vw,76px)}
.hero-sub{font-size:16px}
.hero-visual{height:340px;margin:30px -10px 0}
.orb-hero{width:215px;height:215px}
.orbit-outer{width:335px;height:335px}
.orbit-mid{width:300px;height:300px}
.hero-caption{bottom:0}
.scroll-hint{display:none}
.statement-inner,.experience-section,.principles,.faq-section{padding-top:80px;padding-bottom:85px}
.feature-grid{grid-template-columns:1fr}
.feature-card{min-height:190px}
.feature-icon{margin-bottom:14px}
.principles-layout,.faq-layout,.white-label{grid-template-columns:1fr;gap:35px}
.principles-layout p{margin-top:0}
.white-label{padding-top:85px;padding-bottom:85px}
.white-label-visual{min-height:390px}
.principles-grid{gap:11px}
.principles-grid article{min-height:205px}
.faq-layout{gap:15px}
.faq-list{margin-top:0}
.footer-inner{flex-wrap:wrap;padding-top:34px;padding-bottom:31px;gap:24px}
.footer-year{margin-left:auto}
.final-cta{padding-top:90px;padding-bottom:98px}
.chat-launcher{right:17px;bottom:16px}
.demo-top>span:last-child{display:none}
}

@media(max-width:420px){.hero-buttons{gap:8px}
.button-large{padding:14px 19px;font-size:12px}
.hero-visual{height:295px}
.orb-hero{width:190px;height:190px}
.principles-grid{grid-template-columns:1fr}
.demo-inner{padding:50px 15px}
.demo-top{padding:0 17px}
.demo-bottom{padding:15px}
.demo-bottom>span:last-child{display:none}
.white-label-visual{padding:20px}
}

/* FX · fluid light inside an explicitly clipped glass sphere.
   The inner mask stays still while its light moves. Do not put blend modes or
   filters on this clipping surface: GPU layers can escape rounded overflow. */
.fx-orb {
  --orb-speed: 1;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  vertical-align: middle;
  isolation: isolate;
  background: transparent;
  box-shadow: 0 5px 16px -8px #6353bd55;
}
.orb-surface {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  /* Explicit silhouette for accelerated animation, including Safari/WebKit. */
  clip-path: circle(49.9% at 50% 50%);
  -webkit-mask-image: radial-gradient(circle, #000 69.8%, transparent 70.7%);
  mask-image: radial-gradient(circle, #000 69.8%, transparent 70.7%);
  isolation: isolate;
  background: radial-gradient(ellipse at 29% 17%, #c3fdf1 0, #8deae366 23%, transparent 49%),
    radial-gradient(ellipse at 80% 67%, #6558e9 8%, transparent 62%),
    linear-gradient(145deg, #51d0e6 3%, #7b87f0 43%, #a978e9 76%, #6b59d5);
}
.orb-surface::before, .orb-surface::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; }
.orb-surface::before {
  inset: 1.2%; z-index: 8;
  border: 1px solid #eeffff85;
  box-shadow: inset 0 0 8px #d6edff70;
}
.orb-surface::after {
  inset: 0; z-index: 7;
  background: radial-gradient(ellipse at 29% 12%, #ffffffa6 0, #ffffff26 19%, transparent 43%),
    radial-gradient(ellipse at 70% 95%, #3c23994d 0, transparent 53%);
  box-shadow: inset -3px -4px 9px #39249626, inset 2px 2px 7px #ffffff4d;
}
.orb-surface > span { position: absolute; display: block; pointer-events: none; }
.orb-core {
  inset: -14%; border-radius: 44% 56% 61% 39%; opacity: .72;
  background: conic-gradient(from 35deg, #4ee8e0, #5898ed, #7359e6, #d978df, #f8abbd, #4ee8e0);
  filter: blur(8px); animation: orb-current calc(22s / var(--orb-speed)) linear infinite;
}
.orb-flow { width: 91%; height: 84%; border-radius: 50%; filter: blur(5px); }
.flow-a {
  top: -22%; left: -22%; opacity: .95;
  background: radial-gradient(ellipse, #d2fff4 0, #9cf7ebcc 20%, #41dce780 39%, #41dce700 68%);
  animation: orb-drift-a calc(9s / var(--orb-speed)) ease-in-out infinite alternate;
}
.flow-b {
  bottom: -30%; left: -13%; opacity: .9;
  background: radial-gradient(ellipse, #f3b6e7 0, #e67edae6 24%, #b273ee80 43%, #b273ee00 70%);
  animation: orb-drift-b calc(11s / var(--orb-speed)) ease-in-out infinite alternate;
}
.flow-c {
  top: 10%; right: -32%; opacity: .95;
  background: radial-gradient(ellipse, #a5f5ff 0, #50d9efcc 26%, #697de980 42%, #697de900 69%);
  animation: orb-drift-c calc(8s / var(--orb-speed)) ease-in-out infinite alternate;
}
.flow-d {
  width: 66%; height: 64%; top: 24%; left: -28%; opacity: .65;
  background: radial-gradient(ellipse, #fff2cb 0, #ffd4b59c 26%, #ffb5cb00 67%);
  animation: orb-drift-d calc(12s / var(--orb-speed)) ease-in-out infinite alternate;
}
.orb-wave {
  inset: 20% -17%; border-radius: 44% 56% 62% 38% / 38% 43% 57% 62%;
  border: 1px solid #e4fffc33; border-top: 2px solid #e4fffcbf;
  background: linear-gradient(180deg, #b9fff424, #c6faff05 24%, transparent 46%);
  box-shadow: 0 -2px 7px #bafff447, inset 0 2px 5px #d1ffff40;
  transform: rotate(-28deg) scaleY(.62);
  animation: orb-wave-a calc(8s / var(--orb-speed)) ease-in-out infinite alternate;
}
.wave-b {
  inset: 16% -20%; border-color: #f7d7ff26; border-top-color: #ffe8ffa6;
  background: linear-gradient(180deg, #fbd9ff26, #d3c4ff05 27%, transparent 50%);
  box-shadow: 0 -2px 8px #e7b6ff33, inset 0 2px 5px #fff0ff26;
  transform: rotate(145deg) scaleY(.5);
  animation: orb-wave-b calc(11s / var(--orb-speed)) ease-in-out infinite alternate;
}
.wave-c {
  inset: 8% 18%; border-color: #ffffff17; border-top-color: #d6f4ff99;
  background: none; box-shadow: 0 -1px 5px #daefff33;
  transform: rotate(28deg) scaleX(.78);
  animation: orb-wave-c calc(10s / var(--orb-speed)) ease-in-out infinite alternate;
}
.orb-shine {
  inset: 4%; z-index: 9; border-radius: 50%;
  border-top: 1.5px solid #ffffff80; border-left: 1px solid #d4fffa26;
  transform: rotate(-30deg); opacity: .8;
}
.orb-hero { width: 304px; height: 304px; box-shadow: 0 20px 45px -22px #7870c859; animation: orb-float 8s ease-in-out infinite; }
.orb-hero .orb-core { filter: blur(16px); }
.orb-hero .orb-flow { filter: blur(12px); }
.orb-hero .orb-wave { border-top-width: 2px; }
.orb-medium { width: 98px; height: 98px; }
.orb-small { width: 28px; height: 28px; }
.orb-launcher { width: 39px; height: 39px; }
.orb-head { width: 30px; height: 30px; }
.orb-welcome { width: 104px; height: 104px; }
/* Small symbols keep their silhouette and color; fine ribbon detail is quieter. */
:is(.orb-small, .orb-head, .orb-launcher, .bubble-avatar .fx-orb) .orb-flow,
:is(.orb-small, .orb-head, .orb-launcher, .bubble-avatar .fx-orb) .orb-core { filter: blur(2px); }
:is(.orb-small, .orb-head, .orb-launcher, .bubble-avatar .fx-orb) .orb-wave { border-top-width: 1px; box-shadow: none; }
:is(.orb-small, .orb-head, .bubble-avatar .fx-orb) .wave-c { display: none; }
:is(.orb-small, .orb-head, .orb-launcher, .bubble-avatar .fx-orb) .orb-surface::after { box-shadow: inset -1px -2px 4px #39249626; }
@keyframes orb-current { to { transform: rotate(360deg); } }
@keyframes orb-drift-a { from { transform: translate(0, 5%) scale(1.05); } to { transform: translate(49%, 61%) scale(.85) rotate(45deg); } }
@keyframes orb-drift-b { from { transform: translate(0, -5%) scale(1.1); } to { transform: translate(28%, -58%) scale(.82) rotate(-25deg); } }
@keyframes orb-drift-c { from { transform: translate(-5%, 24%) scale(.94); } to { transform: translate(-65%, -23%) scale(1.1); } }
@keyframes orb-drift-d { from { transform: translate(0, 20%); } to { transform: translate(67%, -40%) scale(.8); } }
@keyframes orb-wave-a {
  from { transform: translateY(-7%) rotate(-28deg) scaleY(.62); border-radius: 44% 56% 62% 38% / 38% 43% 57% 62%; }
  to { transform: translateY(11%) rotate(24deg) scaleY(.86); border-radius: 61% 39% 40% 60% / 52% 65% 35% 48%; }
}
@keyframes orb-wave-b {
  from { transform: translateY(5%) rotate(145deg) scaleY(.5); border-radius: 35% 65% 56% 44% / 58% 38% 62% 42%; }
  to { transform: translateY(-13%) rotate(205deg) scaleY(.74); border-radius: 62% 38% 38% 62% / 42% 59% 41% 58%; }
}
@keyframes orb-wave-c { from { transform: rotate(28deg) scaleX(.78); } to { transform: rotate(-38deg) scaleX(.48) scaleY(.94); } }
@keyframes orb-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.demo-orb-wrap { display: block; padding: 0; border: 0; border-radius: 50%; background: none; transition: transform .3s; }
.demo-orb-wrap:hover { transform: scale(1.08); }
.hero-visual .orbit-mid { animation: orbit-breathe 12s ease-in-out infinite alternate; }
@keyframes orbit-breathe { to { transform: rotate(18deg) scaleY(.9); } }

/* The page keeps its light. The assistant sits above a frosted backdrop. */
[hidden] { display: none !important; }
.chat-overlay { display: none; position: fixed; inset: 0; z-index: 80; align-items: center; justify-content: center; padding: 32px; background: #fafafb38; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.chat-overlay.open { display: flex; animation: overlay-fade .22s ease-out; }
@keyframes overlay-fade { from { opacity: 0; } to { opacity: 1; } }
.chat-dialog { width: min(100%, 836px); height: min(700px, calc(100dvh - 64px)); min-height: 0; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #191a20; color: #f8f8fb; border: 1px solid #ffffff21; box-shadow: 0 36px 100px #23223733, 0 4px 16px #23223714; position: relative; animation: dialog-rise .32s cubic-bezier(.16,1,.3,1); }
.chat-dialog.is-welcome { height: min(620px, calc(100dvh - 64px)); }
.chat-dialog:focus { outline: none; }
@keyframes dialog-rise { from { transform: translateY(16px) scale(.98); opacity: .3; } to { transform: translateY(0) scale(1); opacity: 1; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 26px; border-bottom: 1px solid #ffffff14; min-height: 68px; flex-shrink: 0; }
.chat-head-brand { display: flex; align-items: center; gap: 12px; }
.chat-head-brand h2 { font-size: 13px; letter-spacing: -.02em; margin: 0; font-weight: 600; }
.chat-head-brand p { font-size: 10px; color: #9899a6; margin: 4px 0 0; }
.chat-head-actions { display: flex; gap: 6px; }
.icon-btn { display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: 50%; width: 36px; height: 36px; color: #b7b7c3; font-size: 22px; line-height: 1; transition: background .2s, color .2s; }
.icon-btn:hover { background: #ffffff0f; color: white; border-color: #ffffff17; }
.close-chat { font-size: 26px; }
.chat-welcome { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 30px 30px; text-align: center; background: radial-gradient(ellipse at 50% 16%, #373047 0, #24222e80 35%, transparent 72%); }
.welcome-orb { position: relative; margin-bottom: 5px; flex-shrink: 0; }
.welcome-orb::before { content: ''; position: absolute; inset: -28px; border-radius: 50%; background: radial-gradient(circle, #a08bff22, transparent 65%); }
.chat-welcome .demo-overline { font-size: 9px; letter-spacing: .23em; margin: 19px 0 15px; color: #c2b4d7; }
.chat-welcome h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.055em; font-weight: 550; margin: 0 0 12px; }
.welcome-description { color: #aaa7b5; font-size: 13px; line-height: 1.6; margin: 0; }
.welcome-prompts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.welcome-prompts button { border: 1px solid #ffffff27; border-radius: 24px; color: #dedce6; font-size: 11px; background: #ffffff04; padding: 11px 14px; display: flex; align-items: center; gap: 10px; transition: background .2s, border-color .2s; }
.welcome-prompts button span { color: #b7b0cd; }
.welcome-prompts button:hover { background: #ffffff0b; border-color: #b2a2e58c; }
.chat-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 25px 32px; display: flex; flex-direction: column; gap: 18px; scrollbar-width: thin; scrollbar-color: #53515f transparent; }
.bubble-row { display: flex; align-items: flex-end; gap: 10px; max-width: 100%; }
.bubble-row.user { justify-content: flex-end; }
.bubble-row.assistant { justify-content: flex-start; }
.bubble-avatar { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; }
.bubble-avatar .fx-orb { width: 23px; height: 23px; }
.chat-bubble { max-width: 85%; font-size: 14px; line-height: 1.75; padding: 15px 18px; border-radius: 18px; overflow-wrap: anywhere; }
.bubble-row.assistant .chat-bubble { background: #25262f; color: #e5e4ed; border: 1px solid #ffffff06; border-bottom-left-radius: 5px; }
.bubble-row.user .chat-bubble { background: #e5e0fa; color: #2c263b; border-bottom-right-radius: 5px; }
.bubble-text { white-space: pre-wrap; }
.bubble-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 13px; }
.bubble-links a { color: #c9bdf5; text-decoration: none; font-size: 12px; border-bottom: 1px solid #a593d43b; padding-bottom: 2px; }
.bubble-links a:hover { color: white; }
.chat-memory { padding: 9px 24px; font-size: 11px; color: #b7afc8; background: #a693e40b; border-bottom: 1px solid #ffffff09; }
.chat-suggestions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 32px 18px; flex-shrink: 0; }
.chat-suggestions:empty { display: none; }
.chat-suggestions button { border: 1px solid #ffffff22; border-radius: 24px; background: #ffffff04; color: #cfcbde; padding: 10px 13px; font-size: 11px; line-height: 1.4; transition: background .2s; }
.chat-suggestions button:hover { background: #b39fea1c; }
.chat-composer { flex-shrink: 0; display: flex; align-items: center; gap: 10px; border: 1px solid #ffffff25; background: #ffffff05; border-radius: 17px; margin: 0 26px; padding: 7px 8px 7px 17px; transition: border-color .2s, box-shadow .2s; }
.chat-composer:focus-within { border-color: #a995d794; box-shadow: 0 0 0 3px #a995d70c; }
.chat-composer input { flex: 1; min-width: 0; color: #f3f0fb; font-size: 14px; border: 0; background: none; padding: 8px 0; outline: none; }
.chat-composer input::placeholder { color: #9691a5; }
.chat-composer button { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border: 0; border-radius: 11px; background: #ebe6fa; color: #292334; transition: background .2s, transform .2s; }
.chat-composer button:hover { background: #fff; transform: translateY(-1px); }
.chat-composer button:disabled { opacity: .5; cursor: wait; }
.chat-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 51px; padding: 13px 27px; flex-shrink: 0; color: #aaa5b7; font-size: 10px; }
.chat-availability { display: flex; align-items: center; gap: 8px; }
.chat-bottom button { border: 0; background: none; color: #c4b9de; font-size: 11px; padding: 8px 0 8px 8px; }
.chat-bottom button:hover { color: #fff; }
.chat-dialog.is-thinking .fx-orb { --orb-speed: 2.5; }
.chat-dialog.is-speaking .fx-orb { --orb-speed: 1.6; }
.chat-dialog.is-thinking .status-dot { animation: status-breathe .8s ease-in-out infinite alternate; }
@keyframes status-breathe { to { opacity: .4; box-shadow: 0 0 0 5px #76d8a51a; } }
.chat-dialog:has(.chat-composer input:focus) .orb-welcome { --orb-speed: 1.4; }
.no-script-contact { padding: 20px; text-align: center; background: #eeeaf6; font-size: 14px; }
@supports not (backdrop-filter: blur(1px)) { .chat-overlay { background: #fafafbd9; } }
@media (max-width: 1050px) { .orb-hero { width: 250px; height: 250px; } }
@media (max-width: 740px) {
  .orb-hero { width: 215px; height: 215px; }
  .chat-overlay { padding: 12px; align-items: center; }
  .chat-dialog, .chat-dialog.is-welcome { height: min(740px, calc(var(--chat-viewport-height, 100dvh) - 24px)); width: 100%; max-height: calc(var(--chat-viewport-height, 100dvh) - 24px); border-radius: 22px; }
  .chat-head { padding: 14px 17px; min-height: 70px; }
  .chat-head-brand p { font-size: 9px; }
  .icon-btn { width: 38px; height: 38px; }
  .chat-welcome { padding: 28px 18px; }
  .orb-welcome { width: 96px; height: 96px; }
  .chat-welcome h3 { font-size: 29px; }
  .welcome-description { max-width: 250px; font-size: 13px; }
  .welcome-prompts { flex-direction: column; width: 100%; max-width: 286px; gap: 9px; margin-top: 26px; }
  .welcome-prompts button { justify-content: space-between; text-align: left; padding: 12px 15px; font-size: 12px; min-height: 44px; }
  .chat-body { padding: 20px 16px; gap: 16px; }
  .chat-bubble { max-width: 88%; font-size: 13px; padding: 13px 14px; }
  .bubble-avatar { display: none; }
  .chat-composer { margin: 0 14px; border-radius: 15px; padding-left: 13px; }
  .chat-composer input { font-size: 16px; }
  .chat-composer input::placeholder { font-size: 12px; }
  .chat-composer button { width: 40px; height: 40px; flex-basis: 40px; }
  .chat-bottom { padding: 10px 16px max(10px, env(safe-area-inset-bottom)); font-size: 9px; min-height: 54px; gap: 6px; }
  .chat-bottom button { font-size: 10px; min-height: 36px; }
  .chat-suggestions { padding: 0 16px 15px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .chat-suggestions button { flex: 0 0 auto; white-space: nowrap; min-height: 44px; }
  .chat-memory { padding: 8px 17px; font-size: 10px; }
}
@media (max-width: 420px) {
  .orb-hero { width: 190px; height: 190px; }
  .header-inner { gap: 10px; }
  .brand { gap: 7px; font-size: 14px; }
  .header-cta { padding: 11px 12px; gap: 8px; }
  .chat-head-brand { gap: 9px; }
  .chat-head-brand h2 { font-size: 12px; }
  .chat-head-actions { gap: 0; }
  .chat-bottom .status-dot { width: 5px; height: 5px; }
  .chat-availability { gap: 6px; }
}
@media (max-height: 640px) {
  .chat-welcome { justify-content: flex-start; padding-top: 22px; padding-bottom: 22px; }
  .orb-welcome { width: 66px; height: 66px; }
  .chat-welcome .demo-overline { margin: 14px 0 10px; }
  .welcome-prompts { margin-top: 17px; }
  .chat-welcome h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .wave-a { transform: rotate(-28deg) scaleY(.62); }
  .wave-b { transform: rotate(145deg) scaleY(.5); }
  .wave-c { transform: rotate(28deg) scaleX(.78); }
}

/* Keep movement on the active surface, and fit the on-screen keyboard. */
body.modal-open > :not(.chat-overlay) .fx-orb,
body.modal-open > :not(.chat-overlay) .fx-orb *,
body.modal-open > :not(.chat-overlay) .orbit { animation-play-state: paused; }
@media (max-width: 740px) {
  .chat-overlay { top: var(--chat-viewport-top, 0px); bottom: auto; height: var(--chat-viewport-height, 100dvh); }
}

/* Local history: a second column on desktop, an overlay drawer on smaller screens. */
.chat-dialog { flex-direction: row; transition: width .22s ease; }
.chat-pane { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.chat-head { gap: 10px; }
.chat-head-brand { flex: 1; min-width: 0; }
.chat-head-actions, .history-toggle { flex-shrink: 0; }
.chat-history { flex: 0 0 260px; width: 260px; min-height: 0; display: flex; flex-direction: column; background: #17171e; border-right: 1px solid #ffffff12; }
.history-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 14px 20px; gap: 8px; }
.history-head h3 { font-size: 14px; font-weight: 550; margin: 0; letter-spacing: -.02em; }
.history-head p { font-size: 10px; color: #94909f; margin: 5px 0 0; }
.history-new { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 12px; border: 1px solid #b4a5da40; background: #b4a5da0c; border-radius: 12px; color: #e5def5; font-size: 12px; }
.history-new:hover { background: #b4a5da1c; }
.history-list { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 12px; scrollbar-width: thin; scrollbar-color: #53515f transparent; }
.history-group { color: #8e8a9b; font-size: 10px; font-weight: 500; padding: 12px 10px 6px; margin: 0; }
.history-item { display: flex; align-items: center; border: 1px solid transparent; border-radius: 11px; margin: 3px 0; }
.history-item.is-active { background: #b4a5da13; border-color: #b4a5da29; }
.history-item:hover { background: #ffffff06; }
.history-select { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 12px 10px; color: #d8d4e3; }
.history-title, .history-preview { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-title { font-size: 12px; line-height: 1.5; }
.history-preview { font-size: 10px; color: #8f8a9d; margin-top: 4px; }
.history-remove { flex: 0 0 36px; width: 36px; height: 40px; border: 0; border-radius: 9px; background: none; color: #9992ab; display: grid; place-items: center; margin-right: 4px; }
.history-remove:hover { background: #eaa6b616; color: #efb9c5; }
.history-note, .history-empty { color: #9690a5; font-size: 11px; line-height: 1.65; padding: 16px 20px; margin: 0; }
.history-note { border-top: 1px solid #ffffff0c; font-size: 10px; }
.history-delete-confirm { padding: 14px 16px; border-top: 1px solid #ffffff14; background: #25212d; }
.history-delete-confirm p { margin: 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.history-delete-confirm .history-delete-note { color: #b1a6be; font-size: 10px; margin-top: 6px; }
.history-delete-confirm > div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.history-delete-confirm button { border: 1px solid #ffffff25; background: none; color: #e2dbea; padding: 9px 12px; border-radius: 9px; font-size: 11px; }
#history-delete-accept { background: #efd4de; color: #452b38; border-color: transparent; }
.chat-storage-notice { color: #edd3b5; background: #b8935814; font-size: 11px; line-height: 1.5; padding: 10px 20px; }
.chat-load-older { flex-shrink: 0; border: 0; background: #ffffff04; color: #c1b4db; font-size: 11px; padding: 10px; }
.chat-dialog button:focus-visible { outline: 2px solid #c4b4ed; outline-offset: -2px; }
@media (min-width: 1100px) {
  .chat-dialog.history-open { width: min(100%, 1096px); }
  .history-scrim { display: none; }
}
@media (max-width: 1099px) {
  .chat-history { position: absolute; z-index: 3; inset: 0 auto 0 0; width: min(300px, calc(100% - 44px)); animation: history-enter .2s ease-out; box-shadow: 12px 0 36px #00000020; }
  .history-scrim { position: absolute; z-index: 2; inset: 0; border: 0; background: #191a2026; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
}
@keyframes history-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (max-width: 740px) {
  .chat-head { gap: 4px; padding-left: 10px; padding-right: 10px; }
  .chat-head-brand { gap: 8px; }
  .chat-head-brand p { max-width: 175px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .chat-head .icon-btn { width: 36px; height: 40px; }
}
@media (max-width: 370px) {
  .chat-head-brand .orb-head { display: none; }
  .chat-head-brand h2 { font-size: 11px; }
  .chat-head-brand p { max-width: 135px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-dialog { transition: none; }
  .chat-history { animation: none; }
}
