/* NileAgent v2 — quiet luxury, intentionally mobile first. */
:root{--navy:#131b39;--ink:#1b2442;--muted:#737e97;--violet:#5e50dc;--purple:#7a60ec;--lav:#f2efff;--bg:#f7f8fd;--line:#e6eaf3;--shadow:0 22px 65px rgba(24,34,83,.075);--radius:24px}
html{scroll-padding-top:32px}body{background:var(--bg);overflow-x:hidden}button,select,input,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(92,80,220,.5);outline-offset:3px}a,button{touch-action:manipulation}
.logo{gap:10px;font-size:22px;letter-spacing:-.062em}.logo-mark{background:transparent;box-shadow:none;width:41px;height:41px;border-radius:13px}.logo-mark img{display:block;width:100%;height:100%;border-radius:12px}.logo-type>span{color:#5d52d6}.onboard-side .logo,.sidebar .logo{color:#18213f}.onboard-side .logo-type>span{color:#b5adff}.onboard-side .logo{color:#fff}
.site-nav{height:88px}.nav-links{gap:31px}.nav-links a{font-size:13px}.nav-links a:hover{text-decoration:underline;text-underline-offset:6px}.nav-actions{gap:8px}.nav-actions .install-nav{background:#eeeafd;color:#6051be;padding:11px 15px;font-size:12px}
.btn{border-radius:13px}.btn.primary{background:linear-gradient(135deg,#6856e6 0%,#5144c8 100%);box-shadow:0 10px 22px rgba(87,70,205,.2)}.btn.primary:hover{background:linear-gradient(135deg,#5948ce,#4234b2)}.btn.dark{background:#1d2546}.btn.white{box-shadow:0 5px 14px rgba(37,38,66,.025)}.btn.light{background:#f1edff;color:#5e50cd}.btn.big{min-height:52px}
.hero{padding:72px 0 100px;background:radial-gradient(ellipse 52% 68% at 86% 32%,rgba(219,213,255,.45),transparent 73%),radial-gradient(ellipse 27% 50% at 13% 85%,rgba(229,241,255,.7),transparent 90%),#fafbff}.hero:before{width:420px;height:420px;right:0;top:20px;background:radial-gradient(circle,rgba(221,218,255,.38),transparent 70%)}.hero-grid{grid-template-columns:49% 51%;gap:0}.hero .eyebrow{background:#f0eeff;border-color:#e5e0ff;color:#5445bf}.hero h1{color:#1d2546;font-size:clamp(46px,5.6vw,78px);line-height:1.09;margin:24px 0 19px;font-weight:800}.hero h1 .accent{background:linear-gradient(110deg,#654de3,#735fd2 65%,#4b68bd);color:transparent;background-clip:text;-webkit-background-clip:text}.hero-text{font-size:16px;line-height:1.85;max-width:505px}.hero-notes{gap:13px 20px}.hero-notes span{white-space:nowrap}
.hero-app-note{display:flex;align-items:center;gap:11px;max-width:500px;margin-top:38px;padding:13px 13px;background:rgba(255,255,255,.76);border:1px solid #e7e8f3;box-shadow:0 10px 25px rgba(24,34,75,.035);border-radius:17px}.hero-app-note .hero-app-icon{width:39px;height:39px;flex:0 0 39px}.hero-app-icon img{width:100%;height:100%}.hero-app-note>span:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.hero-app-note strong{font-size:12px;color:#232b50}.hero-app-note small{font-size:11px;color:#8990a6}.hero-app-note .btn{flex:0 0 auto}
.hero-art:before,.hero-art:after{border-color:#e4dff9}.chat-mock{box-shadow:0 39px 105px rgba(28,32,91,.13);border:1px solid rgba(227,228,241,.9);transform:rotate(-2deg)}.mock-head{background:white}.float-card{box-shadow:0 18px 55px rgba(44,36,106,.1);border:1px solid #ecedf4}.float-card.one{top:98px}.float-card.two{bottom:71px}.bubble.us{background:#efedff;color:#3e396a}.bubble.them{background:#f5f6f9;color:#525977}.hero .mock-body{background:#fdfdff}
.section{padding:95px 0}.section-head h2{color:#1d2443}.feature-card{box-shadow:0 8px 22px rgba(25,35,78,.025);transition:transform .2s,box-shadow .2s,border-color .2s}.feature-card:hover{border-color:#d7d1fb;box-shadow:0 22px 50px rgba(55,49,118,.075)}.feature-icon{background:#f0ecff}.benefit-banner{background:radial-gradient(ellipse 60% 200% at 83% 110%,#403388,transparent 75%),#192044;border:1px solid #313963}.pricing-card.featured{border-width:1px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(145deg,#8f79fc,#5446d0) border-box;border:1px solid transparent;box-shadow:0 24px 55px rgba(84,71,173,.13)}
/* Dashboard native-app rhythm */
.workspace{background:#f7f8fd}.sidebar{border-right:1px solid #e8eaf1;box-shadow:7px 0 36px rgba(26,30,77,.018)}.sidebar .logo{margin-bottom:37px}.side-link{min-height:44px;border-radius:12px}.side-link.active{color:#594bc7;background:#f0edff}.main-area{background:radial-gradient(ellipse 65% 42% at 100% 0%,#f0edff 0%,transparent 75%),#f8f9fd}.dashboard-header{background:rgba(255,255,255,.93);backdrop-filter:blur(18px)}.dash-content{padding-top:30px}.dash-title h1{font-size:clamp(27px,2.6vw,34px)}.metric-card,.panel{border:1px solid #e9eaf2;box-shadow:0 10px 32px rgba(27,37,79,.035)}.metric-card{border-radius:20px}.metric-value{font-size:32px}.metric-label{color:#838ca2}.panel{border-radius:21px}.panel-head h3{letter-spacing:-.025em}
.dash-welcome-banner{min-height:210px;margin-bottom:21px;padding:27px 32px;border-radius:23px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;background:radial-gradient(ellipse 66% 145% at 92% 89%,rgba(157,127,245,.43),transparent 67%),linear-gradient(105deg,#1c2350,#272560 75%,#413396);color:white;position:relative;box-shadow:0 18px 35px rgba(35,29,94,.12)}.dash-welcome-banner>div:first-child{position:relative;z-index:1;max-width:590px}.dash-welcome-banner h2{font-size:clamp(21px,2.6vw,30px);line-height:1.24;margin:10px 0}.dash-welcome-banner p{font-size:12px;color:#d0cdea;max-width:470px;line-height:1.8}.dash-banner-badge{font-size:10px;letter-spacing:.045em;display:inline-flex;align-items:center;gap:6px;font-weight:750;color:#d3cdf9}.dash-banner-badge .icon{color:#c2bbff}.dash-banner-actions{display:flex;gap:8px;margin-top:18px}.dash-banner-actions .btn{padding:10px 13px;font-size:12px}.banner-action{background:white;color:#4f3db6}.banner-outline{background:rgba(255,255,255,.12);color:white;border:1px solid rgba(255,255,255,.2)}.dash-banner-art{width:170px;height:170px;border-radius:40px;transform:rotate(-13deg) translate(3px,20px);opacity:.88;filter:drop-shadow(0 14px 25px #16124455)}.dash-banner-art img{width:100%;height:100%}
.faq-manager{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.faq-manager .panel-head{margin-bottom:11px}.faq-item{border:1px solid var(--line);border-radius:13px;padding:11px;margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:9px}.faq-item strong,.faq-item small{display:block}.faq-item strong{font-size:12px;color:var(--navy)}.faq-item small{font-size:11px;color:var(--muted);margin-top:3px}.faq-item>div{min-width:0;flex:1}.settings-utilities{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-heading h2{margin:0}.install-dialog{max-width:410px}.install-preview{margin:11px 0 20px;border-radius:18px;background:linear-gradient(125deg,#fafaff,#f0eeff);border:1px solid #e8e5fb;padding:27px 15px;display:flex;flex-direction:column;align-items:center;gap:4px}.install-preview img{border-radius:19px;box-shadow:0 12px 25px #6f60ad33;margin-bottom:8px}.install-preview strong{font:800 17px Manrope,sans-serif;color:#222b50}.install-preview span{font-size:12px;color:#8086a2}
/* Customer chat is a separate full app on phones */
.public-chat-shell{background:radial-gradient(ellipse 60% 60% at 25% 15%,#e6e3ff,transparent 80%),#f3f4fb}.public-chat{border-radius:28px;max-width:560px;box-shadow:0 36px 110px #2b236525}.public-chat-header{min-height:82px;background:white}.public-chat-header strong{font-size:14px}.public-chat-header .avatar{height:45px;width:45px;border-radius:15px}.public-chat-body{background:linear-gradient(180deg,#fcfcff,#fff 35%)}.public-chat-body .welcome h2{font-size:22px}.public-bubble{font-size:13px}.public-bubble.agent{background:#f0f1f8;color:#35405b}.public-chat-input{background:#fff}.public-chat-input input{font-size:16px}.public-chat-input .send{border-radius:13px}.suggestions button{font-size:12px;padding:11px 14px}.secure-demo-dot{display:inline-block;height:5px;width:5px;background:#b9a8ff;border-radius:100%;vertical-align:middle;margin-right:4px}
.side-scrim,.mobile-bottom-nav{display:none}
@media(max-width:1050px){.nav-actions .install-nav{display:none}.hero .hero-grid{gap:18px}.dash-banner-art{width:135px;height:135px}}
@media(max-width:770px){
  .site-nav{height:74px}.hero{padding:48px 0 69px}.hero-grid{gap:32px}.hero h1{font-size:clamp(44px,8.5vw,63px)}.hero-text{line-height:1.8}.hero-art{min-height:480px}.chat-mock{transform:rotate(-1deg)}.float-card.two{right:2px}.nav-actions>.btn.dark{font-size:11px;border-radius:11px;padding:11px 12px}.hero-app-note{max-width:570px}
  .sidebar{width:min(84vw,300px);box-shadow:24px 0 65px #141b3b30;z-index:52;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.mobile-side-close{display:flex}.side-scrim{display:block;position:fixed;inset:0;background:#131b3973;z-index:49;visibility:hidden;opacity:0;transition:opacity .2s,visibility .2s}.workspace:has(.sidebar.open) .side-scrim{visibility:visible;opacity:1}
  .main-area{min-height:100dvh}.mobile-top{height:69px;position:sticky;top:0;z-index:24;justify-content:space-between;padding:10px max(18px,env(safe-area-inset-right));box-shadow:0 6px 20px #29305409;background:rgba(255,255,255,.93);backdrop-filter:blur(18px)}.mobile-top .logo{font-size:19px}.mobile-top .logo-mark{width:35px;height:35px}.mobile-top-actions{display:flex;align-items:center;gap:8px}.mobile-preview-indicator{font-size:10px;letter-spacing:.03em;color:#6f5bd5;background:#f1eeff;border-radius:20px;padding:6px 9px;font-weight:800}.mobile-top button{width:37px;height:37px;display:grid;place-items:center}.dash-content{padding:24px 16px calc(110px + env(safe-area-inset-bottom))}.dash-title{margin-bottom:22px}.dash-title h1{font-size:27px}.dash-title p{font-size:12px;line-height:1.7}.dash-buttons{display:flex;width:100%}.dash-buttons .btn{flex:1}.dash-welcome-banner{padding:23px 23px 25px;min-height:206px;border-radius:21px}.dash-banner-art{position:absolute;right:-13px;top:-19px;width:110px;height:110px;opacity:.3}.dash-welcome-banner h2{max-width:330px;font-size:23px;margin-top:11px}.dash-welcome-banner p{max-width:300px}.dash-banner-actions{gap:8px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.metric-card{min-height:133px;padding:17px}.metric-value{font-size:27px;margin-top:13px}.metric-label{font-size:11px}.metric-label svg{width:17px}.metric-trend{font-size:10px;line-height:1.5}.panel{padding:19px}.dash-grid,.two-col{gap:13px}
  .mobile-bottom-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:35;background:rgba(255,255,255,.95);border-top:1px solid #e7e9f3;box-shadow:0 -12px 38px #1b245012;backdrop-filter:blur(20px);padding:7px 6px calc(8px + env(safe-area-inset-bottom));align-items:stretch;justify-content:space-around;gap:0}.mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:#8991a7;padding:7px 5px;border-radius:14px;min-height:48px;flex:1;font-weight:800;font-size:9.5px}.mobile-nav-item svg{height:21px;width:21px}.mobile-nav-item.active{background:#f1eeff;color:#6250d4}.sidebar .side-link{font-size:14px;min-height:49px}.inbox-layout .inbox-left{display:block;max-height:160px;overflow-y:auto;border-right:0;border-bottom:1px solid var(--line)}.inbox-list-item{padding:11px 14px}.chat-window{min-height:390px}.chat-window .chat-messages{padding:15px}.onboard-main{min-height:100dvh;justify-content:flex-start;padding:32px 20px 40px}.onboard-form{max-width:600px}.onboard-form h1{font-size:31px}.onboard-buttons{position:sticky;bottom:0;background:linear-gradient(180deg,#fafbffcc,#fafbff 30%);padding:17px 0 max(13px,env(safe-area-inset-bottom));margin-top:14px}.onboard-buttons .btn{min-height:46px}.public-chat-shell{background:#fff;align-items:stretch}.public-chat{min-height:100dvh;height:100dvh;border:0;border-radius:0}.public-chat-header{min-height:76px;padding:13px 17px;padding-top:calc(13px + env(safe-area-inset-top));box-shadow:0 6px 20px #2027530a;z-index:2}.public-chat-body{padding:26px 17px;gap:12px;overscroll-behavior:contain}.public-chat-input{padding:11px 12px 8px}.powered{padding-bottom:calc(9px + env(safe-area-inset-bottom));font-size:10px}.public-chat-input input{border-radius:18px}.public-chat-body .welcome{margin-top:5px}.modal{max-height:90dvh;overflow-y:auto}
  #toast{bottom:calc(92px + env(safe-area-inset-bottom));right:15px;left:15px;max-width:none;text-align:center;border-radius:15px;font-size:12px}.public-chat-shell~#toast{bottom:15px}
}
@media(max-width:460px){.site-nav .nav-actions .btn{padding:11px 12px}.logo{font-size:20px}.hero h1{font-size:clamp(42px,11vw,55px);margin:19px 0 17px}.hero-app-note{padding:11px}.hero-app-note small{font-size:10px}.hero-app-note .btn{padding:9px}.hero-app-icon{width:35px;height:35px}.hero-art{min-height:418px;padding:0 7px}.float-card{padding:9px 10px}.float-card.one{top:32px}.float-card.two{bottom:11px}.float-card strong{font-size:10px}.chat-mock{width:min(87vw,350px)}.mock-body{min-height:300px}.feature-card{padding:24px}.dash-banner-art{right:-34px;top:-15px}.dash-welcome-banner h2{max-width:280px;font-size:22px}.dash-title .btn{font-size:11px}.metrics-grid{gap:9px}.metric-card{padding:14px}.metric-label{font-size:10px}.metric-value{font-size:26px}.list-card{align-items:flex-start}.list-card small{line-height:1.5}.onboard-form h1{font-size:29px}.onboard-main{padding:27px 16px 35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
