/* NexillusAI landing — Uber design language: pure black & white, 8px controls, grey #f3f3f3 surfaces */
:root{
  --black:#000;--white:#fff;--gray100:#f3f3f3;--gray200:#e2e2e2;--gray300:#cbcbcb;
  --gray600:#5e5e5e;--gray800:#333;--rc:8px;--rs:12px;--rl:16px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--white);color:var(--black);font:400 16px/1.5 'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,h4{font-family:'Montserrat','Inter',sans-serif;font-weight:700;margin:0;letter-spacing:-.01em}
p{margin:0}
svg.i{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{width:min(1280px,100% - 32px);margin:0 auto}
@media (min-width:760px){.wrap{width:min(1280px,100% - 128px)}}
:focus-visible{outline:2px solid var(--black);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip{position:absolute;left:16px;top:-60px;background:#fff;padding:10px 14px;border-radius:var(--rc);z-index:99}
.skip:focus{top:12px}

/* logo (NexillusAI) */
.logo{font-family:'Montserrat',sans-serif;font-weight:700;font-size:20px;letter-spacing:.01em;display:inline-flex;align-items:center;gap:6px;line-height:1}
.logo b{background:#fff;color:#000;border-radius:5px;padding:3px 5px 2px;font-size:.9em}

/* header — black bar */
.nav{background:var(--black);color:var(--white);position:sticky;top:0;z-index:50}
.nav .wrap{height:64px;display:flex;align-items:center;gap:32px}
.nav nav{display:flex;gap:2px}
.nav nav a,.nlink{font-size:14px;font-weight:500;padding:8px 12px;border-radius:999px}
.nav nav a:hover,.nlink:hover{background:var(--gray800)}
.nav-r{margin-left:auto;display:flex;gap:4px;align-items:center}
.npill{background:var(--white);color:var(--black);font-size:14px;font-weight:500;padding:8px 14px;border-radius:999px}
.npill:hover{background:var(--gray200)}
.nav :focus-visible{outline-color:#fff}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:var(--rc);background:var(--black);color:var(--white);font:500 16px/1.25 'Inter',sans-serif;border:0;cursor:pointer}
.btn:hover{background:var(--gray800)}
.btn.sm{min-height:36px;padding:8px 14px;font-size:14px}
.btn.ghost{background:var(--gray100);color:var(--black)}
.btn.ghost:hover{background:var(--gray200)}
.ulink{font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--gray300)}
.ulink:hover{text-decoration-color:currentColor}
.ulink.inv{color:#fff;text-decoration-color:#666}

/* hero */
.hero{padding:56px 0 72px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:72px;align-items:center}
.hero h1{font-size:clamp(36px,4.2vw,52px);line-height:1.1;letter-spacing:-.02em}
.chips{display:flex;gap:8px;margin:32px 0 16px}
.chip{border:0;border-radius:999px;background:var(--gray100);color:var(--black);font:500 14px 'Inter',sans-serif;padding:8px 16px;cursor:pointer}
.chip:hover{background:var(--gray200)}
.chip.on{background:var(--black);color:var(--white)}
.fields{position:relative;display:grid;gap:8px}
.field{position:relative;display:flex;align-items:center;gap:14px;height:56px;padding:0 16px;background:var(--gray100);border-radius:var(--rc);border:2px solid transparent;cursor:text}
.field:focus-within{border-color:var(--black);background:var(--white)}
.field select,.field input{appearance:none;-webkit-appearance:none;border:0;outline:0;background:transparent;width:100%;height:100%;font:500 16px 'Inter',sans-serif;color:var(--black);cursor:pointer}
.field input{cursor:text}
.field input::placeholder{color:var(--gray600);font-weight:400}
.field:has(select)::after{content:"";position:absolute;right:20px;top:21px;width:7px;height:7px;border-right:2px solid #000;border-bottom:2px solid #000;transform:rotate(45deg);pointer-events:none}
.mk{flex:none;display:grid;place-items:center;width:16px}
.mk.dot::before{content:"";width:8px;height:8px;border-radius:50%;background:#000}
.mk.sq::before{content:"";width:8px;height:8px;background:#000}
.mk.ic svg{width:16px;height:16px}
.rail{position:absolute;left:25px;top:33px;height:56px;border-left:1px solid #000;z-index:1;pointer-events:none}
.hero-act{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:24px}
.hint{font-size:13px;color:var(--gray600);margin-top:16px}

/* browser frame + live preview */
.stage{background:var(--gray100);border-radius:var(--rl);padding:40px 0 0 40px;overflow:hidden}
.browser{background:#fff;border-radius:var(--rs) 0 0 0;overflow:hidden;box-shadow:0 0 0 1px var(--gray200)}
.bar{height:36px;display:flex;align-items:center;gap:6px;padding:0 14px;background:#fff;border-bottom:1px solid var(--gray200)}
.bar i{width:10px;height:10px;border-radius:50%;background:var(--gray200);flex:none}
.bar span{margin-left:14px;font-size:12px;color:var(--gray600);background:var(--gray100);padding:3px 12px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.frame-host{position:relative;overflow:hidden;display:block}
.frame-host iframe{position:absolute;top:0;left:0;width:1280px;height:2000px;border:0;transform-origin:0 0;pointer-events:none;background:#fff}
.stage .view{height:480px}
#live{transition:opacity .25s}
#live.loading{opacity:.35}

/* sections */
.sec{padding:48px 0}
.sec h2{font-size:clamp(28px,2.8vw,36px);line-height:1.2;margin-bottom:24px}
.sec-top{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:24px}
.sec-top h2{margin:0}

/* categories — Uber "Suggestions" */
.suggs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sugg{background:var(--gray100);border-radius:var(--rs);padding:16px 16px 16px 20px;min-height:128px;display:flex;justify-content:space-between;gap:12px}
.sugg h3{font-size:16px;line-height:1.3}
.sugg p{font-size:12px;color:var(--gray600);margin:4px 0 14px}
.mini{display:inline-block;background:#fff;border-radius:999px;font-size:14px;font-weight:500;padding:6px 12px}
.sugg-ic{align-self:center;flex:none}
.sugg-ic svg{width:56px;height:56px;stroke-width:1.2}
a.sugg:hover{background:var(--gray200)}
.sugg.off{color:var(--gray600)}
.sugg.off h3{color:var(--gray800)}
.sugg.off .mini{background:transparent;padding-left:0;color:var(--gray600)}
.sugg.off .sugg-ic{opacity:.45}

/* tabs — underline */
.tabs{display:flex;gap:24px;border-bottom:1px solid var(--gray200)}
.tabs button{border:0;background:none;font:500 16px 'Inter',sans-serif;color:var(--gray600);padding:10px 0;cursor:pointer}
.tabs button.on{color:var(--black);box-shadow:inset 0 -2px 0 var(--black)}

/* template cards */
.tgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
.tcard h3{font-size:18px;margin-top:16px}
.tcard p{font-size:14px;color:var(--gray600);margin-top:4px}
.thumb{aspect-ratio:4/5;border-radius:var(--rs);background:var(--gray100);box-shadow:0 0 0 1px var(--gray200)}
.trow{display:flex;align-items:center;gap:12px;margin-top:14px;min-width:0}
.path{font-size:12px;color:var(--gray600);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* split feature */
.split .wrap{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:72px;align-items:center}
.duo{position:relative;background:var(--gray100);border-radius:var(--rl);aspect-ratio:1.35;overflow:hidden}
.duo .browser.sm{position:absolute;width:62%;border-radius:var(--rs)}
.duo .browser.sm .view{aspect-ratio:1.1}
.duo .browser.sm:first-child{left:6%;top:8%}
.duo .browser.sm.b2{right:6%;top:24%;box-shadow:0 0 0 1px var(--gray200),0 24px 48px -24px #0004}
.split-t p{color:var(--gray600);font-size:16px;max-width:480px}
.split-t h2{margin-bottom:16px}

/* steps — a real sequence, so numbered */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.steps li{border-top:1px solid var(--black);padding-top:20px}
.steps .n{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#000;color:#fff;font-weight:600;font-size:14px}
.steps h3{font-size:20px;margin:20px 0 8px}
.steps p{color:var(--gray600);font-size:15px;max-width:340px}

/* closer */
.closer{background:var(--gray100);border-radius:var(--rl);padding:48px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.closer h2{margin-bottom:8px}
.closer p{color:var(--gray600)}
.closer .hero-act{margin:0}

/* footer — black */
.foot{background:#000;color:#fff;margin-top:48px;padding:64px 0 40px}
.f1{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.fcols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:48px 0}
.fcols h4{font-size:18px;margin-bottom:20px}
.fcols a{display:block;font-size:14px;color:#d6d6d6;margin-bottom:14px}
.fcols a:hover{color:#fff}
.f3{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;color:#afafaf}
.foot :focus-visible{outline-color:#fff}

@media (max-width:1100px){
  .suggs,.tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .nav nav{display:none}
  .hero{padding:32px 0 48px}
  .hero .wrap,.split .wrap{grid-template-columns:1fr;gap:40px}
  .stage{padding:24px 0 0 24px}
  .stage .view{height:360px}
  .steps{grid-template-columns:1fr}
  .fcols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .closer{padding:32px 24px}
}
@media (max-width:560px){
  .nlink{display:none}
  .suggs,.tgrid{grid-template-columns:1fr}
  .stage .view{height:300px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}#live{transition:none}}

/* ===== Uber colourful — Uber Base accent palette ===== */
:root{
  --blue:#276EF1;--blue-t:#EEF3FE;--green:#06C167;--green-t:#E6F8EE;--yellow:#FFC043;--yellow-t:#FFF6E0;
  --purple:#7356BF;--purple-t:#F1EEF9;--orange:#FF6937;--orange-t:#FFF0EA;--brown:#99644C;--brown-t:#F6F0EA
}
:focus-visible{outline-color:var(--blue)}
.ulink:hover{color:var(--blue)}

/* hero: blue panel behind the live preview, small yellow + green shapes like Uber illustrations */
.stage{background:var(--blue);position:relative}
.stage::before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:var(--yellow);right:-36px;top:-36px}
.stage::after{content:"";position:absolute;width:64px;height:64px;background:var(--green);left:12px;bottom:28px;border-radius:12px;transform:rotate(12deg)}
.stage .browser{position:relative;z-index:1}
.chip.on{background:var(--black)}
.field:focus-within{border-color:var(--blue)}
.mk.ic{color:var(--blue)}

/* categories: pastel cards, coloured icons */
.sugg{--c:var(--blue);--t:var(--blue-t);background:var(--t)}
.sugg:nth-child(8n+2){--c:var(--orange);--t:var(--orange-t)}
.sugg:nth-child(8n+3){--c:var(--blue);--t:var(--blue-t)}
.sugg:nth-child(8n+4){--c:var(--brown);--t:var(--brown-t)}
.sugg:nth-child(8n+5){--c:var(--yellow);--t:var(--yellow-t)}
.sugg:nth-child(8n+6){--c:var(--purple);--t:var(--purple-t)}
.sugg:nth-child(8n+7){--c:var(--green);--t:var(--green-t)}
.sugg:nth-child(8n+8){--c:var(--orange);--t:var(--orange-t)}
.sugg-ic svg{color:var(--c);stroke-width:1.6}
.sugg.off{color:var(--gray600)}
.sugg.off .sugg-ic{opacity:.7}
a.sugg:first-child{background:var(--green);color:#000}
a.sugg:first-child p{color:#063d22}
a.sugg:first-child .sugg-ic svg{color:#000}
a.sugg:first-child:hover{background:#05ad5c}

/* template cards: each preview on its own colour block */
.thumb{padding:16px 16px 0;box-shadow:none;border-radius:var(--rl)}
.thumb iframe{border-radius:8px 8px 0 0}
.thumb.frame-host iframe{top:16px;left:16px}
.tcard:nth-child(4n+1) .thumb{background:var(--green-t)}
.tcard:nth-child(4n+2) .thumb{background:var(--purple-t)}
.tcard:nth-child(4n+3) .thumb{background:var(--orange-t)}
.tcard:nth-child(4n+4) .thumb{background:var(--blue-t)}
.tabs button.on{box-shadow:inset 0 -2px 0 var(--black)}

/* split: yellow stage */
.duo{background:var(--yellow)}

/* steps: coloured numbers */
.steps li:nth-child(1) .n{background:var(--blue)}
.steps li:nth-child(2) .n{background:var(--green);color:#000}
.steps li:nth-child(3) .n{background:var(--yellow);color:#000}
.steps li{border-top-width:2px}

/* closer: Uber blue banner */
.closer{background:var(--blue);color:#fff}
.closer p{color:#dbe6fd}
.closer .btn{background:#fff;color:#000}
.closer .btn:hover{background:var(--gray200)}
.closer .btn.ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px #ffffff80}
.closer .btn.ghost:hover{background:#ffffff1a}
.closer :focus-visible{outline-color:#fff}

.field select{padding-right:32px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
