/* ARC marketing · REAL frames: how a piece of the real app sits on a marketing page. Everything inside the frame is styled by
   real/arc-real.css (the demo's own CSS). These rules only size the frame and let it grow with its content. */
.arc-real.rl{position:relative;display:block;border-radius:28px;overflow:hidden;background:var(--ground-wash);background-color:var(--background);background-attachment:scroll;box-shadow:0 40px 80px -50px rgb(0 0 0/.85);text-align:left;color:var(--body-ink);font:var(--fw-regular) var(--text-base)/var(--lh-normal) var(--font-body)}
.sec.light .arc-real.rl{box-shadow:0 1px 2px rgb(11 21 36/.05),0 30px 60px -36px rgb(11 21 36/.35)}
.arc-real.rl .arc-shell{height:auto;min-height:0}
.arc-real.rl:not(.rl-app) .arc-shell>:is(.chat,.pan){overflow:visible}
.arc-real.rl:not(.rl-app) .demo-thread{flex:none;overflow:visible;max-width:none;padding:var(--space-5) var(--space-5) var(--space-4)}
.arc-real.rl .demo-compwrap{max-width:none}
.arc-real.rl.rl-stack .arc-shell{flex-direction:column}
.arc-real.rl:not(.rl-app) .demo-scroll{flex:none;overflow:visible}
.arc-real.rl .rl-body{padding:var(--space-4) var(--space-5) var(--space-5)}
.arc-real.rl>.xb{z-index:5}
.arc-real.rl .demo-ph{padding-right:88px}
.arc-real.rl .arc-dec.row,.arc-real.rl .demo-ccard,.arc-real.rl .demo-pb,.arc-real.rl .arc-doc{max-width:100%}
.arc-real.rl.rl-app{height:640px}
.arc-real.rl.rl-app .arc-shell{height:100%}
/* the thread reads in, one message at a time */
.arc-real [data-rl-seq]>.rl-wait{display:none}
.arc-real .rl-in{animation:rl-in .45s cubic-bezier(.22,.7,.24,1) both}
@keyframes rl-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.arc-real .rl-dots{display:flex;gap:5px;margin:4px 0}
.arc-real .rl-dots i{width:7px;height:7px;border-radius:99px;background:var(--st-ai);opacity:.35;animation:rl-dot 1s infinite}
.arc-real .rl-dots i:nth-child(2){animation-delay:.15s}.arc-real .rl-dots i:nth-child(3){animation-delay:.3s}
@keyframes rl-dot{50%{opacity:1}}
.arc-real .rl-tx>p{margin:0 0 var(--space-2)}.arc-real .rl-tx>p:last-child{margin-bottom:0}
.arc-real .rl-replay{margin:0 var(--space-5) var(--space-4)}
@media (prefers-reduced-motion:reduce){.arc-real .rl-in,.arc-real .rl-dots i{animation:none}}
@media (max-width:700px){.arc-real.rl .arc-shell{flex-direction:column}.arc-real.rl.rl-app{height:auto}.arc-real.rl.rl-app .arc-shell>:is(.chat,.pan){min-height:520px}}
/* the hero: the real shell at app height, two columns (Chat · Navigator) */
.rl-hero{margin-top:48px;height:660px}
.rl-hero .arc-shell>.pan .demo-scroll.map{flex:1;min-height:0;display:flex}
.rl-hero .arc-plane{flex:1;overflow:hidden}
.rl-hero .arc-plane-in{transition:opacity .26s}
.rl-hero [data-ob-add].on{box-shadow:0 0 0 4px color-mix(in oklab,var(--primary) 35%,transparent)}
.rl-hero .arc-shell>.chat .demo-thread{padding-top:var(--space-5)}
@media (max-width:700px){.rl-hero{height:auto}.rl-hero .arc-shell>:is(.chat,.pan){min-height:520px}}
.arc-real.rl.rl-stack .arc-shell>*{flex:none}
.arc-real.rl .demo-ph .t{min-width:0;flex:1}
.rl-hero .demo-ph{padding-right:var(--space-3)}
.rl-hero .demo-ph .t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rl-hero>.xb{left:50%;right:auto;transform:translateX(-50%)}
.rl-hero .arc-plane-in{transform-origin:0 0}
.arc-real .arc-dec.row:not(.open) .det{display:none}
.arc-real.rl:not(.rl-app) .arc-shell>.chat:first-child .demo-thread{padding-top:48px}
.rl-hero .demo-ph{flex-wrap:wrap;row-gap:var(--space-2)}
/* the marketing site shares a few bare class names (.top .foot .ask .facts .ct); inside the real app they mean the app's own parts */
:where(.arc-real) .top{position:static;top:auto;z-index:auto;margin:0;background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
:where(.arc-real) .foot{margin:0;padding:0;border:0;background:none;color:inherit;font-size:inherit}
:where(.arc-real) .ask{display:block;gap:0;padding:0;border-radius:0;border:0;background:none}
:where(.arc-real) .facts{display:block;grid-template-columns:none;gap:0;margin-top:0}
:where(.arc-real) .ct{justify-self:auto;font:inherit;color:inherit}
.arc-real.rl-hero .demo-ph .t{flex:1 1 9rem;min-width:9rem}
@media (max-width:980px){.arc-real.rl-hero .arc-shell{flex-direction:column;height:auto}.arc-real.rl-hero{height:auto}.arc-real.rl-hero .arc-shell>:is(.chat,.pan){flex:none;height:560px}}
@media (max-width:980px){.arc-real.rl.rl-app.rl-hero{height:auto}.arc-real.rl.rl-app.rl-hero .arc-shell{height:auto}}
.arc-real [hidden]{display:none!important}
/* node glyphs at the demo's size: the disc carries the icon, it doesn't fill it */
.arc-real .arc-node .dot>svg{width:20px;height:20px}
.arc-real .arc-node.hub .dot>svg{width:26px;height:26px}
/* person initials: 5px clear all round, the disc grows to fit two letters (matches the demo) */
.arc-real .demo-av:not(.arc){width:auto;height:auto;min-width:30px;min-height:30px;aspect-ratio:1;padding:5px;letter-spacing:.02em}

/* STARFIELD-ALWAYS + LIGHT-DRIFT (Nov 1, from demo/demo.css 12ar): every app frame sits on the turning starfield, and the Chat
   panel is transparent over it. Document and Navigator keep their glass. Light frames get ink motes and two drifting blooms. */
.arc-real.rl{isolation:isolate}
.arc-real.rl::before,.arc-real.rl::after{content:"";position:absolute;left:50%;top:50%;width:1800px;height:1800px;margin:-900px 0 0 -900px;border-radius:50%;z-index:-1;pointer-events:none;background-image:radial-gradient(1px 1px at 12% 18%,rgb(255 255 255/.7),transparent 60%),radial-gradient(1px 1px at 27% 64%,rgb(255 255 255/.5),transparent 60%),radial-gradient(1.5px 1.5px at 41% 33%,rgb(191 219 254/.7),transparent 60%),radial-gradient(1px 1px at 58% 82%,rgb(255 255 255/.45),transparent 60%),radial-gradient(1px 1px at 66% 22%,rgb(255 255 255/.6),transparent 60%),radial-gradient(1.5px 1.5px at 79% 57%,rgb(191 219 254/.6),transparent 60%),radial-gradient(1px 1px at 88% 12%,rgb(255 255 255/.5),transparent 60%),radial-gradient(1px 1px at 93% 76%,rgb(255 255 255/.4),transparent 60%),radial-gradient(1px 1px at 6% 88%,rgb(255 255 255/.5),transparent 60%),radial-gradient(1px 1px at 35% 6%,rgb(255 255 255/.45),transparent 60%);background-size:220px 220px;animation:rl-spin 240s linear infinite;opacity:.8}
.arc-real.rl::after{background-size:370px 370px;animation-duration:420s;animation-direction:reverse;opacity:.55}
@keyframes rl-spin{to{transform:rotate(360deg)}}
.arc-real.rl .arc-shell>.chat,.arc-real.rl .arc-shell>.chat>*{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;border-color:transparent!important}
.arc-real.rl .arc-shell>.chat::before,.arc-real.rl .arc-shell>.chat::after{display:none!important}
.arc-real.rl:not(.dark)::before{opacity:.9;filter:invert(1) hue-rotate(180deg) brightness(.35) contrast(1.4)}
.arc-real.rl:not(.dark)::after{opacity:.6;filter:invert(1) hue-rotate(180deg) brightness(.35) contrast(1.4)}
.arc-real.rl:not(.dark){background-image:radial-gradient(40% 50% at 15% 10%,color-mix(in oklab,var(--primary) 30%,transparent),transparent 70%),radial-gradient(45% 55% at 90% 95%,rgb(167 139 250/.3),transparent 70%),var(--ground-wash);background-size:200% 200%;animation:rl-drift 40s ease-in-out infinite alternate}
@keyframes rl-drift{0%{background-position:0% 0%}50%{background-position:60% 30%}100%{background-position:30% 70%}}
@media (prefers-reduced-motion:reduce){.arc-real.rl::before,.arc-real.rl::after,.arc-real.rl:not(.dark){animation:none}}
