/* Teksi Ride – mobile-only simplify. Desktop unchanged above 768px. */
/* Brand: --y yellow #F5C518, black #0c0c0c */
/* 1027q: phone – full-width hero text + anti-squash; headline + CTAs below */

.m-cta{display:none}
.m-more>summary{display:none;list-style:none}
.m-more>summary::-webkit-details-marker{display:none}
.m-desk-only{}
.m-phone-only{display:none!important}

@media (max-width:768px){
  html,body{overflow-x:hidden;max-width:100vw}
  img,video,iframe,table{max-width:100%}
  img,video,iframe,svg{max-width:100%;height:auto}

  .m-phone-only{display:block!important}
  .m-desk-only{display:none!important}

  section{padding:28px 0!important}
  .wrap{
    padding-left:20px!important;padding-right:20px!important;
    max-width:100%!important;width:100%!important;box-sizing:border-box!important;
    margin-left:0!important;margin-right:0!important;
  }
  .topbar{display:none!important}
  .herovid{display:none!important}
  .fab{display:none!important}

  /* ===== HOME HERO: clean image, then short headline + CTAs below ===== */
  .hero{
    min-height:0!important;padding:0!important;position:relative;
    display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
    overflow:hidden;background:#0c0c0c;
  }
  .hero:before{display:none!important} /* remove dark gradient overlay */
  .hero-bg{
    position:relative!important;inset:auto!important;display:block!important;
    width:100%;height:auto;max-height:52vh;overflow:hidden;z-index:0;flex:0 0 auto;
  }
  .hero-bg img,.hero-bg picture,.hero-bg source{
    display:block;width:100%;
  }
  .hero-bg img{
    position:relative!important;inset:auto!important;
    width:100%!important;height:auto!important;min-height:260px;max-height:52vh;
    object-fit:cover!important;object-position:42% 22%!important;
    animation:none!important;transform:none!important;
  }
  /* Kill desktop grid leftovers that squash hero copy to the right */
  .hero-in{
    position:relative!important;z-index:2!important;inset:auto!important;
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:flex-start!important;
    justify-items:stretch!important;grid-template-columns:1fr!important;
    gap:10px!important;flex:none!important;float:none!important;
    padding:18px 20px 8px!important;margin:0!important;
    background:#0c0c0c;width:100%!important;max-width:none!important;
    box-sizing:border-box!important;
  }
  .hero-copy{
    display:block!important;width:100%!important;max-width:none!important;
    margin:0!important;padding:0!important;float:none!important;
    position:relative!important;inset:auto!important;align-self:stretch!important;
    text-align:left!important;box-sizing:border-box!important;
  }
  .hero-copy .tag,.hero-copy .lead,.hero .pills,.hero form.book{display:none!important}
  .hero h1{
    display:block!important;width:100%!important;max-width:none!important;
    font-size:clamp(28px,8vw,36px)!important;line-height:1.15!important;
    margin:0!important;padding:0!important;color:#fff;
    text-align:left!important;float:none!important;position:relative!important;
  }
  .hero h1 .ml{display:block;font-size:.62em!important;opacity:.95;margin-top:6px;text-align:left!important}
  .hero h1 .ml span{display:block}

  /* Big clear action buttons – full-width 2×2 under hero */
  .m-cta{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    padding:10px 20px 20px!important;
    margin:0!important;
    position:relative!important;z-index:5;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;max-width:none!important;box-sizing:border-box!important;
    background:#0c0c0c;float:none!important;
  }
  .m-cta a{
    display:flex!important;align-items:center;justify-content:center;text-align:center;
    width:100%!important;min-width:0!important;box-sizing:border-box!important;
    min-height:52px;padding:12px 10px;border-radius:14px;
    font-weight:800;font-size:14px;line-height:1.2;text-decoration:none;
    -webkit-tap-highlight-color:transparent;
  }
  .m-cta a.y{background:#F5C518;color:#111}
  .m-cta a.k{background:#1a1a1a;color:#fff;border:1.5px solid #F5C518}
  .m-cta a.o{background:transparent;color:#fff;border:1.5px solid #ffffff55}

  /* Page-wide: no squashed/narrow text columns from desktop grids */
  .split,.lgrid,.dl,.nfeat{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;grid-template-columns:1fr!important;
    gap:16px!important;width:100%!important;
  }
  .split>*,.lgrid>*,.dl>*{width:100%!important;max-width:none!important;float:none!important}
  .head-row{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;
  }
  .head-row .btn{width:100%!important;justify-content:center}
  .lcopy, .intro .reveal, #app .reveal:not(.phone-art), #drive .reveal, #business .reveal, #kiosk .reveal{
    width:100%!important;max-width:none!important;float:none!important;text-align:left!important;
  }
  h1,h2,h3,.lead,.sub,.punch{max-width:none!important;text-align:left!important}
  #launch h2,.intro h2,#why h2,#services h2,#app h2,#safety h2,#download h2,.band h2,#drive h2,#business h2,#kiosk h2,#news h2,#media h2,#contact h2,#live h2{
    width:100%!important;max-width:none!important;
  }

  /* Nav: larger tap */
  .nav{height:auto}
  .nav .wrap{min-height:56px}
  .burger{width:44px;height:44px;display:flex!important;align-items:center;justify-content:center}
  .nav nav a{min-height:44px;display:flex;align-items:center;padding:12px 14px!important;font-size:16px!important}

  .btn,.b{min-height:48px;padding:14px 18px!important;font-size:15px!important;border-radius:14px!important}
  .btn.sm{min-height:44px;padding:10px 14px!important}
  a,button{touch-action:manipulation}

  /* Read more blocks */
  .m-more{
    display:block;margin:10px 0 0;border:1px solid #2a2a2a;border-radius:14px;
    background:#141414;padding:0;
  }
  .m-more>summary{
    display:flex!important;align-items:center;justify-content:space-between;gap:10px;
    list-style:none;cursor:pointer;font-weight:800;font-size:15px;color:#111;
    background:#F5C518;border-radius:14px;padding:14px 16px;min-height:48px;
  }
  .m-more>summary:after{content:"+";font-size:20px;font-weight:900;line-height:1}
  .m-more[open]>summary{border-radius:14px 14px 0 0}
  .m-more[open]>summary:after{content:"–"}
  .m-more>.m-more-body{padding:14px 16px 16px}
  .light .m-more,.grey .m-more{background:#f3f3f3;border-color:#ddd}
  .ybg .m-more{background:#111;border-color:#333}

  #launch .lmosaic{display:none!important}
  #launch .lcopy p:not(.eyebrow){display:none}
  #launch .lcopy .cta{display:none!important}
  #launch{padding-bottom:8px!important}
  #launch h2{font-size:22px!important;margin:8px 0!important}

  .intro .split>div:last-child{display:none!important}
  .intro h2{font-size:24px!important;margin:8px 0!important}
  .intro .punch{font-size:16px!important;margin-top:10px}

  #why .sub{display:none}
  #why .feat p,#why .fgrid p,.feat p{font-size:13px!important}

  /* Services cards: image clean on top, title/chip below (no text on photo) */
  #services .svc{grid-template-columns:1fr!important;gap:12px!important;grid-auto-rows:auto!important}
  #services .scard,#services .scard.big,#services .scard.wide{
    display:flex!important;flex-direction:column!important;
    min-height:0!important;padding:0!important;grid-column:auto!important;grid-row:auto!important;
    background:#111;border-radius:14px;overflow:hidden;color:#fff;
  }
  #services .scard img{
    position:relative!important;inset:auto!important;z-index:0!important;
    width:100%!important;height:170px!important;object-fit:cover!important;
    display:block;transform:none!important;
  }
  #services .scard:after{display:none!important}
  #services .scard>div{
    position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
    padding:12px 14px 14px!important;background:#111;max-width:none!important;
  }
  #services .scard h3{font-size:18px!important;margin:6px 0 4px!important;color:#fff}
  #services .scard p{display:none!important}

  /* Mid-page banner: image clean, headline+CTA below */
  .banner{
    min-height:0!important;display:flex!important;flex-direction:column!important;
    align-items:stretch!important;text-align:left!important;position:relative;overflow:hidden;
  }
  .banner img{
    position:relative!important;inset:auto!important;
    width:100%!important;height:180px!important;object-fit:cover!important;display:block;
  }
  .banner:before{display:none!important}
  .banner .wrap{
    position:relative!important;z-index:2;width:100%;box-sizing:border-box;
    background:#0c0c0c;padding:18px 20px!important;text-align:left!important;max-width:none!important;
  }
  .banner h2{
    font-size:20px!important;margin:0 0 12px!important;text-shadow:none!important;color:#fff;
  }

  #app .split{gap:16px!important;align-items:stretch!important}
  #app .phone-art{
    width:100%!important;max-width:260px!important;margin:0 auto 8px!important;
    position:relative!important;display:block!important;
  }
  #app .phone-art .photo{
    width:100%!important;height:auto!important;max-width:100%!important;display:block!important;
  }
  #app .phone-art .floaty{width:100px!important;right:-4px!important}
  #app ol,#app .steps{max-width:100%!important;margin:0!important}

  #safety .safe-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  #safety .safe-grid p{font-size:12px!important;margin:4px 0 0!important}
  #safety .safe-grid h3{font-size:14px!important;margin:6px 0 0!important}

  #live .bmap,#coverage iframe,.covimg img{max-height:200px!important}

  #kiosk .kside,#kiosk .kvids{display:none!important}
  #business .cta{flex-direction:column}
  #hire{display:none!important}

  #download.dlband{padding:32px 0!important}
  #download .dl{display:flex;flex-direction:column;gap:12px}
  #download .dlphone{max-width:180px;margin:8px auto 0}
  #download .cta{display:flex;flex-direction:column;gap:10px}
  #download .cta .btn{width:100%;justify-content:center}

  .invband .band{flex-direction:column;align-items:stretch;gap:12px}
  .invband .btn{width:100%;text-align:center;justify-content:center}

  #news .ngrid{display:none!important}
  #news .nnote,#news .center{display:none!important}
  #news .nfeat{display:flex;flex-direction:column;gap:12px}
  #news .nvid .nbody p:not(.nmeta),#news .nforbes .nbody p:not(.nmeta),#news .nforbes blockquote,#news .nvid blockquote{display:none}
  #news .nforbes .cta{flex-direction:column}

  #media .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  #media .tabs button{flex:0 0 auto;min-height:44px;padding:10px 14px!important;font-size:13px!important}
  #media .gal{grid-template-columns:1fr 1fr!important;gap:8px!important}
  #media .gal figure{aspect-ratio:1!important}

  #contact iframe{min-height:180px;border:0;border-radius:14px}
  #contact .contact li{padding:10px 0;font-size:15px}

  footer .fgrid{grid-template-columns:1fr!important;gap:18px!important}
  footer .fgrid>div:nth-child(n+2) h4{margin-top:4px}
  footer a,footer span{min-height:40px;display:inline-flex;align-items:center}

  h2{letter-spacing:-.3px}
  p,li{line-height:1.45}

  /* ===== INVESTORS HERO: clean image, copy + CTAs below ===== */
  .hero .bg{
    position:relative!important;inset:auto!important;
    display:block!important;grid-template-columns:1fr!important;
    width:100%;height:auto;max-height:48vh;overflow:hidden;flex:0 0 auto;
  }
  .hero .bg img{
    width:100%!important;height:36vh!important;max-height:300px;min-height:200px;
    object-fit:cover!important;object-position:50% 18%!important;display:block;
  }
  .hero .bg img:nth-child(n+2){display:none}
  .hero:after{display:none!important} /* remove gradient overlay */
  body:has(#partner) .hero{
    min-height:0!important;align-items:stretch!important;
    display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  }
  .hero .w{
    position:relative!important;z-index:2;inset:auto!important;float:none!important;
    padding:16px 20px 4px!important;background:#0c0c0c;width:100%!important;max-width:none!important;box-sizing:border-box!important;
    text-align:left!important;align-self:stretch!important;
  }
  body:has(#partner) .hero h1{font-size:clamp(24px,7vw,34px)!important;line-height:1.15!important;margin:0 0 6px!important}
  body:has(#partner) .hero > .w > .lead{display:block!important;font-size:15px!important;margin:0 0 6px!important;font-weight:700;color:#fff}
  body:has(#partner) .hero details.m-more{margin-top:8px}
  .hero .btns{display:none!important}
  body:has(#partner) .hero .m-cta{padding:6px 0 10px;background:transparent;gap:8px}

  #track .grid,#activity .grid{gap:10px}
  #track .card,#activity .card{padding:14px!important}
  #why .car{gap:10px}
  #why .car .it{flex-basis:min(280px,88vw)}
  #team .tmgrid>.tm{flex-basis:100%!important;max-width:100%!important}
  #market .grid,#partners .grid,#funds .grid{gap:10px}
  #calc .calc{grid-template-columns:1fr!important}
  #partner .split{grid-template-columns:1fr!important}
  #partner .form{grid-template-columns:1fr!important}
  #partner input,#partner select,#partner textarea{min-height:48px;font-size:16px!important}
  #partner button.b,#partner .b.y{width:100%;min-height:52px}
  #map{height:280px!important}
  .m-inv-hide{display:none!important}
}

@media (max-width:768px){
  #why.m-inv-pillars .car{display:none}
  #why.m-inv-pillars:after{content:none}
  #projection{display:none!important}
  #partners .avenues{font-size:14px}
  section{padding:36px 0!important}
  nav .cta{min-height:44px;display:inline-flex;align-items:center}
}

/* Desktop: no mobile chrome; read-more wrappers are transparent */
@media (min-width:769px){
  .m-cta{display:none!important}
  .m-phone-only{display:none!important}
  details.m-more{
    display:contents;
    border:none!important;background:transparent!important;margin:0!important;padding:0!important;
  }
  details.m-more>summary{display:none!important}
  details.m-more>.m-more-body{display:contents;padding:0!important;margin:0!important}
}
